Package games.stendhal.server.entity.npc.condition

Examples of games.stendhal.server.entity.npc.condition.TriggerIsProducedItemOfClassCondition


        addGreeting("Gis' a kiss!");
        addReply("drinks", null, new ListProducedItemsOfClassAction("drink","I like [#items]. *hic*"));
        add(
          ConversationStates.ATTENDING,
          "",
          new TriggerIsProducedItemOfClassCondition("drink"),
          ConversationStates.ATTENDING,
          null,
          new ListProducedItemDetailAction()       
        );
        addReply("kiss", "ew sloppy");
View Full Code Here


        addQuest("You could try all the #food available from cooks and chefs across the island. I can tell you what I've sampled on my travels.");
        addReply("food", null, new ListProducedItemsOfClassAction("food","I think I've tasted everything, [#items]. I can tell you more about each foodstuff, if you like."));
        add(
            ConversationStates.ATTENDING,
            "",
            new TriggerIsProducedItemOfClassCondition("food"),
            ConversationStates.ATTENDING,
            null,
            new ListProducedItemDetailAction()       
          );
        addJob("Aaaah, I am on holiday here, only walking around.");
View Full Code Here

TOP

Related Classes of games.stendhal.server.entity.npc.condition.TriggerIsProducedItemOfClassCondition

Copyright © 2018 www.massapicom. 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.