Examples of addReply()


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

        "Congratulations, you completed the quest for the mithril shield! Now, I have another quest for you, do you want to hear it?",
        null);

    npc.addReply(Arrays.asList("oil", "can of oil", "can"), "The only oil I have ever had is very fishy smelling. I expect a fisherman made it.");
    npc.addReply("bobbin", "Only dwarf smiths make bobbins, no-one else has nimble enough fingers. Try #Alrak.");
    npc.addReply("Alrak", "I thought you kids all knew Alrak, the only dwarf that kobolds have ever liked. Or maybe he's the only dwarf to ever like kobolds, I've never been sure which ...");
    npc.addReply(Arrays.asList("leather armor", "suit of leather armor", "suit"), "Yes, well, it needs a piece of leather for the mechanism, so I can cut a piece from that.");
  }

 
  private void fixMachineStep() {
View Full Code Here

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

        null);

    npc.addReply(Arrays.asList("oil", "can of oil", "can"), "The only oil I have ever had is very fishy smelling. I expect a fisherman made it.");
    npc.addReply("bobbin", "Only dwarf smiths make bobbins, no-one else has nimble enough fingers. Try #Alrak.");
    npc.addReply("Alrak", "I thought you kids all knew Alrak, the only dwarf that kobolds have ever liked. Or maybe he's the only dwarf to ever like kobolds, I've never been sure which ...");
    npc.addReply(Arrays.asList("leather armor", "suit of leather armor", "suit"), "Yes, well, it needs a piece of leather for the mechanism, so I can cut a piece from that.");
  }

 
  private void fixMachineStep() {
View Full Code Here

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

          ConversationStates.ATTENDING,
          "Ok then obviously you don't need any mithril items! Forgive me for offering to help...!",
          null);

      // where to find wizard
      npc.addReply("Kampusch", "He is obsessed with antiques so look for him in an antiques shop or a museum.");
 
  }

  public void addToWorld() {
    offerQuestStep();
View Full Code Here

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

                ),
        ConversationStates.ATTENDING,
        "Ask #Hogart about #scissors, I'm sure he will remember the messages I've sent him!",       
        null);

    npc.addReply("Ritati", "He's somewhere in the abandoned keep in the mountains north east from here.");
  }



  private void getNeedleStep() {
View Full Code Here

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

      null,
      ConversationStates.IDLE,
      "I can't believe you are going to pass up this opportunity! You must be daft!!!",
      new SetQuestAndModifyKarmaAction(QUEST_SLOT, "rejected", -10.0));

    npc.addReply("exact",
      "As I have listed them here, you must provide them in that order.");
  }

  private void step_2() {
    /* Get the stuff. */
 
View Full Code Here

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

        new MultipleActions(new SetQuestAndModifyKarmaAction(QUEST_SLOT, "hair", 2.0), new DropItemAction("wood", 10)));

    /*
     * For simplicity, respond to 'Karl' at any time.
     */
    npc.addReply("Karl", "Karl is a farmer, east of Semos. He has many pets on his farm.");
  }

  public void getHairStep() {

    /*
 
View Full Code Here

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

      null,
      ConversationStates.QUEST_OFFERED,
      "The lifeguards are called Pam and David. I think they are in the dressing rooms. So, will you ask them for me?",
      null);

    zara.addReply(
      Arrays.asList("suntan cream", "suntan", "cream"),
      "The #lifeguards make a great cream to protect from the sun and to heal sunburns at the same time.");

    zara.addReply(
      "lifeguard",
View Full Code Here

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

    zara.addReply(
      Arrays.asList("suntan cream", "suntan", "cream"),
      "The #lifeguards make a great cream to protect from the sun and to heal sunburns at the same time.");

    zara.addReply(
      "lifeguard",
      "The lifeguards are called Pam and David. I think they are in the dressing rooms.");

  }
View Full Code Here

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

    final SpeakerNPC james = npcs.get("Sergeant James");

    // quest related stuff
    james.addHelp("Think I need a little help myself. My #group got killed and #one of my men ran away. Too bad he had the #map.");
    james.addQuest("Find my fugitive soldier and bring him to me ... or at least the #map he's carrying.");
    james.addReply("group",
      "We were five, three of us died. You probably passed their corpses.");
    james.addReply(Arrays.asList("one", "henry"),
      "Yes, my youngest soldier. He ran away.");
    james.addReply("map",
      "The #treasure map that leads into the heart of the #dwarven #kingdom.");
View Full Code Here

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

    // quest related stuff
    james.addHelp("Think I need a little help myself. My #group got killed and #one of my men ran away. Too bad he had the #map.");
    james.addQuest("Find my fugitive soldier and bring him to me ... or at least the #map he's carrying.");
    james.addReply("group",
      "We were five, three of us died. You probably passed their corpses.");
    james.addReply(Arrays.asList("one", "henry"),
      "Yes, my youngest soldier. He ran away.");
    james.addReply("map",
      "The #treasure map that leads into the heart of the #dwarven #kingdom.");
    james.addReply("treasure",
      "A big treasure is rumored to be somewhere in this dungeon.");
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.