Examples of addReply()


Examples of games.stendhal.server.entity.npc.SpeakerNPC.addReply()

    npc.addReply(
      "tavern",
      "Just head southeast along the path, and you can't miss it. It has a large sign that reads INN.");

    npc.addReply(
      "temple",
      "The temple is southeast from here, beside the #tavern. It has a cross on the roof, very distinctive.");

    npc.addReply(
      "bakery",
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC.addReply()

    npc.addReply(
      "temple",
      "The temple is southeast from here, beside the #tavern. It has a cross on the roof, very distinctive.");

    npc.addReply(
      "bakery",
      "Our local bakery is just east of this square; they have a sign up with a picture of a loaf of bread on it.");

    npc.addReply(
      "blacksmith",
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC.addReply()

    npc.addReply(
      "bakery",
      "Our local bakery is just east of this square; they have a sign up with a picture of a loaf of bread on it.");

    npc.addReply(
      "blacksmith",
      "Head southwest to reach the smithy. There's a picture of an anvil hanging above the door, you should be able to spot it.");

    npc.addReply(
      "village",
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC.addReply()

    npc.addReply(
      "blacksmith",
      "Head southwest to reach the smithy. There's a picture of an anvil hanging above the door, you should be able to spot it.");

    npc.addReply(
      "village",
      "Just keep heading southwest, past the #blacksmith, and you will shortly come to the old Semos village. Nishiya still sells sheep there.");


    /** Give the reward to the polite newcomer user */
 
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC.addReply()

        new QuestInStateCondition(mithrilcloak.getQuestSlot(), "twilight_zone"),
        ConversationStates.ATTENDING,   
        "What's happening to me? I'm feverish .. I see twilight .. you can't understand unless you visit me here ... you must ask #Pdiddi how to get to the #twilight.",       
        null);

    npc.addReply("Pdiddi", "Oh, I'm too confused... I can't tell you anything about him...");


    // player gave elixir and returned
    npc.add(ConversationStates.ATTENDING,
        Arrays.asList("magical", "mithril", "cloak", "mithril cloak", "task", "quest", "twilight", "elixir"),
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC.addReply()

      null,
      ConversationStates.IDLE,
      "Oh, well forget it then. You must have a better sword than I can forge, huh? Bye.",
      new SetQuestAndModifyKarmaAction(QUEST_SLOT, "rejected", -5.0));

    npc.addReply("catacombs", "The Catacombs of north Semos of the ancient #stories.");

    npc.addReply("goblet", "Go fill it with the blood of the enemies you meet in the #Catacombs.");
  }

  private void prepareGobletFillingStep() {
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC.addReply()

      "Oh, well forget it then. You must have a better sword than I can forge, huh? Bye.",
      new SetQuestAndModifyKarmaAction(QUEST_SLOT, "rejected", -5.0));

    npc.addReply("catacombs", "The Catacombs of north Semos of the ancient #stories.");

    npc.addReply("goblet", "Go fill it with the blood of the enemies you meet in the #Catacombs.");
  }

  private void prepareGobletFillingStep() {

    final SpeakerNPC npc = npcs.get("Markovich");
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC.addReply()

  private void prepareGobletFillingStep() {

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

    npc.addGoodbye("*cough* ... farewell ... *cough*");
    npc.addReply(
      Arrays.asList("blood", "vampirette entrails", "bat entrails"),
      "I need blood. I can take it from the entrails of the alive and undead. I will mix the bloods together for you and #fill your #goblet, if you let me drink some too. But I'm afraid of the powerful #lord.");

    npc.addReply(Arrays.asList("lord", "vampire", "skull ring"),
      "The Vampire Lord rules these Catacombs! And I'm afraid of him. I can only help you if you kill him and bring me his skull ring with the #goblet.");
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC.addReply()

    npc.addGoodbye("*cough* ... farewell ... *cough*");
    npc.addReply(
      Arrays.asList("blood", "vampirette entrails", "bat entrails"),
      "I need blood. I can take it from the entrails of the alive and undead. I will mix the bloods together for you and #fill your #goblet, if you let me drink some too. But I'm afraid of the powerful #lord.");

    npc.addReply(Arrays.asList("lord", "vampire", "skull ring"),
      "The Vampire Lord rules these Catacombs! And I'm afraid of him. I can only help you if you kill him and bring me his skull ring with the #goblet.");

    npc.addReply(
      Arrays.asList("empty goblet", "goblet"),
      "Only a powerful talisman like this cauldron or a special goblet should contain blood.");
View Full Code Here

Examples of games.stendhal.server.entity.npc.SpeakerNPC.addReply()

      "I need blood. I can take it from the entrails of the alive and undead. I will mix the bloods together for you and #fill your #goblet, if you let me drink some too. But I'm afraid of the powerful #lord.");

    npc.addReply(Arrays.asList("lord", "vampire", "skull ring"),
      "The Vampire Lord rules these Catacombs! And I'm afraid of him. I can only help you if you kill him and bring me his skull ring with the #goblet.");

    npc.addReply(
      Arrays.asList("empty goblet", "goblet"),
      "Only a powerful talisman like this cauldron or a special goblet should contain blood.");

    // The sick vampire is only a producer. He doesn't care if your quest slot is active, or anything.
    // So to ensure that the vampire lord must have been killed, we made the skull ring a required item
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.