Package games.stendhal.server.entity.npc

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


      "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.");
    james.addReply(Arrays.asList("dwarf", "dwarves", "dwarven", "dwarven kingdom"),
      "They are strong enemies! We're in their #kingdom.");
    james.addReply(Arrays.asList("peter", "tom", "charles"),
      "He was a good soldier and fought bravely.");
View Full Code Here


      "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.");
    james.addReply(Arrays.asList("dwarf", "dwarves", "dwarven", "dwarven kingdom"),
      "They are strong enemies! We're in their #kingdom.");
    james.addReply(Arrays.asList("peter", "tom", "charles"),
      "He was a good soldier and fought bravely.");
    james.addReply(Arrays.asList("kingdom", "kanmararn"),
      "Kanmararn, the legendary kingdom of the #dwarves.");
View Full Code Here

      "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.");
    james.addReply(Arrays.asList("dwarf", "dwarves", "dwarven", "dwarven kingdom"),
      "They are strong enemies! We're in their #kingdom.");
    james.addReply(Arrays.asList("peter", "tom", "charles"),
      "He was a good soldier and fought bravely.");
    james.addReply(Arrays.asList("kingdom", "kanmararn"),
      "Kanmararn, the legendary kingdom of the #dwarves.");

    final List<ChatAction> actions = new LinkedList<ChatAction>();
View Full Code Here

      "A big treasure is rumored to be somewhere in this dungeon.");
    james.addReply(Arrays.asList("dwarf", "dwarves", "dwarven", "dwarven kingdom"),
      "They are strong enemies! We're in their #kingdom.");
    james.addReply(Arrays.asList("peter", "tom", "charles"),
      "He was a good soldier and fought bravely.");
    james.addReply(Arrays.asList("kingdom", "kanmararn"),
      "Kanmararn, the legendary kingdom of the #dwarves.");

    final List<ChatAction> actions = new LinkedList<ChatAction>();
    actions.add(new IncreaseXPAction(5000));
    actions.add(new DropInfostringItemAction("map","Henry"));
View Full Code Here

        ConversationStates.INFORMATION_1,
        "I asked you a 'yes or no' question: I can offer a few tips on socializing, would you like to hear them?",
        null);

    // he puts 'like this' into blue and so many people try that first
    npc.addReply(
        "like this",
        "That's right, like that! Now, I can show you a #map or direct you to the #bank, the #library, the #tavern, the #temple, the #blacksmith, the #bakery, or the old #village.");
   
    npc.addReply(
      "buildings",
View Full Code Here

    // he puts 'like this' into blue and so many people try that first
    npc.addReply(
        "like this",
        "That's right, like that! Now, I can show you a #map or direct you to the #bank, the #library, the #tavern, the #temple, the #blacksmith, the #bakery, or the old #village.");
   
    npc.addReply(
      "buildings",
      "I can show you a #map or direct you to the #bank, the #library, the #tavern, the #temple, the #blacksmith, the #bakery, or the old #village.");

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

          + "A Semos Village,   B Northern Plains and Mine, \n"
          + "C Very long path to Ados, \n"
          + "D Southern Plains and Nalwor Forest",
          new ExamineChatAction("map-semos-city.png", "Semos City", "Map of Semos City"));

    npc.addReply(
      "bank",
      "See this big building in front of me, with the giant fake treasure chest? That's it right there. Kinda obvious once you think about it.");

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

    npc.addReply(
      "bank",
      "See this big building in front of me, with the giant fake treasure chest? That's it right there. Kinda obvious once you think about it.");

    npc.addReply(
      "library",
      "Follow the path from here to the west; you'll see a building with two doors, and the emblem of a book and quill pen on display.");

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

    npc.addReply(
      "library",
      "Follow the path from here to the west; you'll see a building with two doors, and the emblem of a book and quill pen on display.");

    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",
View Full Code Here

    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

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.