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

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


        // hasn't got access to all banks yet
        add(ConversationStates.IDLE,
            ConversationPhrases.GREETING_MESSAGES,
            new AndCondition(new GreetingMatchesNameCondition(super.getName()),
              new OrCondition(
                  new QuestNotCompletedCondition(GRAFINDLE_QUEST_SLOT),
                  new QuestNotCompletedCondition(ZARA_QUEST_SLOT))),
            ConversationStates.IDLE,
            "You may not use this bank if you have not gained the right to use the chests at Nalwor, nor if you have not earned the trust of a certain young woman. Goodbye!",
            null);
       
        add(ConversationStates.ATTENDING,
View Full Code Here


    final SpeakerNPC npc = npcs.get("Dagobert");

    npc.add(
      ConversationStates.ATTENDING,
      ConversationPhrases.QUEST_MESSAGES,
      new QuestNotCompletedCondition(QUEST_SLOT),
      ConversationStates.QUEST_OFFERED,
      "I'm so afraid of being robbed. I don't have any protection. Do you think you can help me?",
      null);

    npc.add(
View Full Code Here

  private void step_1() {
    final SpeakerNPC npc = npcs.get("Hackim Easso");

    npc.add(ConversationStates.ATTENDING,
      ConversationPhrases.QUEST_MESSAGES,
      new QuestNotCompletedCondition(QUEST_SLOT),
      ConversationStates.QUEST_OFFERED,
      "Pssst! C'mere... do me a favour and tell #Xin #Blanca that the new supply of weapons is ready, will you?",
      null);

    npc.add(ConversationStates.ATTENDING,
View Full Code Here

  private void step1() {
    final SpeakerNPC npc = npcs.get("Ilisa");
   
    npc.add(ConversationStates.ATTENDING,
      ConversationPhrases.QUEST_MESSAGES,
      new QuestNotCompletedCondition(QUEST_SLOT),
      ConversationStates.QUEST_OFFERED,
      "Some orbs have special properties. I can teach you how to #use an orb, like the one on this table.", null);

    npc.add(ConversationStates.ATTENDING,
      ConversationPhrases.QUEST_MESSAGES,
View Full Code Here

        // Give unmet players a basket
        add(ConversationStates.IDLE,
          ConversationPhrases.GREETING_MESSAGES,
          new AndCondition(new GreetingMatchesNameCondition(super.getName()),
              new QuestNotCompletedCondition(QUEST_SLOT)),
          ConversationStates.IDLE,
          "Happy Easter! I have an easter basket for you. Bye!",
          new MultipleActions(reward));
      }
    };
View Full Code Here

TOP

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

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.