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

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


      "I can remind you how to #use orbs.", null);

    // player interested in orb
    npc.add(ConversationStates.QUEST_OFFERED,
      "use",
      new LevelGreaterThanCondition(10),
      ConversationStates.QUESTION_1,
      "Just right click on the orb and select Use. Did you get any message?",
      null);

    // player interested in orb but level < 10
    npc.add(ConversationStates.QUEST_OFFERED,
      "use",
      new NotCondition(new LevelGreaterThanCondition(10)),
      ConversationStates.ATTENDING,
      "Oh oh, I just noticed you are still new here. Perhaps you better come back when you have more experience. Until then if you need any #help just ask!",
      null);

    // player wants reminder on Use
View Full Code Here


      ConversationStates.IDLE,
      "Bye. Hey, if you're going to hang around the library, don't forget to be quiet; people could be studying!",
      null);

    npc.add(ConversationStates.ATTENDING, "bye",
      new LevelGreaterThanCondition(14),
      ConversationStates.IDLE,
      "Bye. Hey, you should consider getting a library card, you know.",
      null);
  }
View Full Code Here

TOP

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

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.