Examples of SetQuestAndModifyKarmaAction


Examples of games.stendhal.server.entity.npc.action.SetQuestAndModifyKarmaAction

      ConversationStates.QUEST_OFFERED,
      ConversationPhrases.YES_MESSAGES,
      null,
      ConversationStates.ATTENDING,
      "Once I had a nice #'leather cuirass', but it was destroyed during the last robbery. If you find a new one, I'll give you a reward.",
      new SetQuestAndModifyKarmaAction(QUEST_SLOT, "start", 5.0));

    // player is not willing to help
    npc.add(
      ConversationStates.QUEST_OFFERED,
      ConversationPhrases.NO_MESSAGES, null,
      ConversationStates.ATTENDING,
      "Well, then I guess I'll just duck and cover.",
      new SetQuestAndModifyKarmaAction(QUEST_SLOT, "rejected", -5.0));

    // player wants to know what a leather cuirass is
    npc.add(
      ConversationStates.ATTENDING,
      Arrays.asList("leather cuirass", "leather", "cuirass"),
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.