Examples of QuestCompletedSellerBehaviour


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

      protected void createDialog() {

        final Map<String, Integer> items = new HashMap<String, Integer>();
        items.put("roach", BUYING_PRICE);

        new SellerAdder().addSeller(this, new QuestCompletedSellerBehaviour(QUEST_SLOT, "I have a #task for you before I will sell you anything.", items));
        // for quest see games.stendhal.server.maps.quest.HelpMrsYeti
        addGreeting("Greetings, strange foreigner!");
        addJob("I go out to hunt for food while Mr Yeti makes his snow sculptures.");
        addHelp("Be careful of the creatures lurking in these caves!");       
        addGoodbye();
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.