Examples of QuestCompletedBuyerBehaviour


Examples of games.stendhal.server.entity.npc.behaviour.impl.QuestCompletedBuyerBehaviour

        addGreeting("Greetings, friend.");
        addHelp("There is a swamp east of this mountain where you might get some rare weapons.");
        addJob("I'm much too old for hard work. I'm just living here as a hermit.");
        addGoodbye("It was nice to meet you.");
        // will buy black items once the Ultimate Collector quest is completed
        new BuyerAdder().add(this, new QuestCompletedBuyerBehaviour("ultimate_collector", "I'll buy black items from you when you have completed each #challenge I set you.", shops.get("buyblack")), false);
      }
      /* remaining behaviour is defined in:
       * maps.quests.WeaponsCollector,
       * maps.quests.WeaponsCollector2 and
       * maps.quests.UltimateCollector. */
 
View Full Code Here

Examples of games.stendhal.server.entity.npc.behaviour.impl.QuestCompletedBuyerBehaviour

      @Override
      protected void createDialog() {
          //addGreeting("Welcome to this forest, south of Or'ril river.");
              addJob("I'm a craftsman. One day I hope to craft such items as the green elves can make.");
        addHelp("My friend Orchiwald is a great story teller, he would speak with you about the albino elves and how we come to be here.");
        new BuyerAdder().add(this, new QuestCompletedBuyerBehaviour("elvish_armor", "I'm not able to buy anything from you right now.", shops.get("buyelvish")), false);
         addGoodbye("Bye.");
      }
    };

    npc.setDescription("You see Lupos, an albino elf.");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.