Package games.stendhal.server.entity.npc

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


  }

  private void makeThreadStep() {
      final SpeakerNPC npc = npcs.get("Vincento Price");

    npc.addReply("silk", "Keep this quiet, ok? I'll spin silk thread from the silk glands of a giant spider. Just ask me to #make it.");
    npc.addReply("silk gland", "Like I said, they come from giant spiders.");
       
    final Map<String, Integer> requiredResources = new TreeMap<String, Integer>();
    requiredResources.put("silk gland", Integer.valueOf(1));
   
View Full Code Here


  private void makeThreadStep() {
      final SpeakerNPC npc = npcs.get("Vincento Price");

    npc.addReply("silk", "Keep this quiet, ok? I'll spin silk thread from the silk glands of a giant spider. Just ask me to #make it.");
    npc.addReply("silk gland", "Like I said, they come from giant spiders.");
       
    final Map<String, Integer> requiredResources = new TreeMap<String, Integer>();
    requiredResources.put("silk gland", Integer.valueOf(1));
   
View Full Code Here

  }

  private void makeMithrilThreadStep() {
    final SpeakerNPC npc = npcs.get("Kampusch");
   
    npc.addReply("balloon", "Ah! They are dropped by the charming little baby angels who dwell in Kikareukin Islands. I want one for my daughter.");
    npc.addReply("silk thread", "That is from the silk glands of giant spiders. You need 40 spools of silk thread to make something as large as a cloak, say.");
    npc.addReply("silk", "That is from the silk glands of giant spiders.");
    npc.addReply("mithril nuggets", "You can find them for yourself.");
    npc.addReply("Whiggins", "Find the wizard Whiggins inside his house in the magic city.");
    npc.addReply("scientists", "I hear of experiments deep in Kalavan Castle. The scientists are a crazy bunch, but look for the lead researcher, Vincento Price, he may be sane enough to help you.");
View Full Code Here

  private void makeMithrilThreadStep() {
    final SpeakerNPC npc = npcs.get("Kampusch");
   
    npc.addReply("balloon", "Ah! They are dropped by the charming little baby angels who dwell in Kikareukin Islands. I want one for my daughter.");
    npc.addReply("silk thread", "That is from the silk glands of giant spiders. You need 40 spools of silk thread to make something as large as a cloak, say.");
    npc.addReply("silk", "That is from the silk glands of giant spiders.");
    npc.addReply("mithril nuggets", "You can find them for yourself.");
    npc.addReply("Whiggins", "Find the wizard Whiggins inside his house in the magic city.");
    npc.addReply("scientists", "I hear of experiments deep in Kalavan Castle. The scientists are a crazy bunch, but look for the lead researcher, Vincento Price, he may be sane enough to help you.");
View Full Code Here

  private void makeMithrilThreadStep() {
    final SpeakerNPC npc = npcs.get("Kampusch");
   
    npc.addReply("balloon", "Ah! They are dropped by the charming little baby angels who dwell in Kikareukin Islands. I want one for my daughter.");
    npc.addReply("silk thread", "That is from the silk glands of giant spiders. You need 40 spools of silk thread to make something as large as a cloak, say.");
    npc.addReply("silk", "That is from the silk glands of giant spiders.");
    npc.addReply("mithril nuggets", "You can find them for yourself.");
    npc.addReply("Whiggins", "Find the wizard Whiggins inside his house in the magic city.");
    npc.addReply("scientists", "I hear of experiments deep in Kalavan Castle. The scientists are a crazy bunch, but look for the lead researcher, Vincento Price, he may be sane enough to help you.");

View Full Code Here

    final SpeakerNPC npc = npcs.get("Kampusch");
   
    npc.addReply("balloon", "Ah! They are dropped by the charming little baby angels who dwell in Kikareukin Islands. I want one for my daughter.");
    npc.addReply("silk thread", "That is from the silk glands of giant spiders. You need 40 spools of silk thread to make something as large as a cloak, say.");
    npc.addReply("silk", "That is from the silk glands of giant spiders.");
    npc.addReply("mithril nuggets", "You can find them for yourself.");
    npc.addReply("Whiggins", "Find the wizard Whiggins inside his house in the magic city.");
    npc.addReply("scientists", "I hear of experiments deep in Kalavan Castle. The scientists are a crazy bunch, but look for the lead researcher, Vincento Price, he may be sane enough to help you.");


    // player says yes they brought the items needed
View Full Code Here

   
    npc.addReply("balloon", "Ah! They are dropped by the charming little baby angels who dwell in Kikareukin Islands. I want one for my daughter.");
    npc.addReply("silk thread", "That is from the silk glands of giant spiders. You need 40 spools of silk thread to make something as large as a cloak, say.");
    npc.addReply("silk", "That is from the silk glands of giant spiders.");
    npc.addReply("mithril nuggets", "You can find them for yourself.");
    npc.addReply("Whiggins", "Find the wizard Whiggins inside his house in the magic city.");
    npc.addReply("scientists", "I hear of experiments deep in Kalavan Castle. The scientists are a crazy bunch, but look for the lead researcher, Vincento Price, he may be sane enough to help you.");


    // player says yes they brought the items needed
    // we can't use the nice ChatActions here because we have to timestamp the quest slot
View Full Code Here

    npc.addReply("balloon", "Ah! They are dropped by the charming little baby angels who dwell in Kikareukin Islands. I want one for my daughter.");
    npc.addReply("silk thread", "That is from the silk glands of giant spiders. You need 40 spools of silk thread to make something as large as a cloak, say.");
    npc.addReply("silk", "That is from the silk glands of giant spiders.");
    npc.addReply("mithril nuggets", "You can find them for yourself.");
    npc.addReply("Whiggins", "Find the wizard Whiggins inside his house in the magic city.");
    npc.addReply("scientists", "I hear of experiments deep in Kalavan Castle. The scientists are a crazy bunch, but look for the lead researcher, Vincento Price, he may be sane enough to help you.");


    // player says yes they brought the items needed
    // we can't use the nice ChatActions here because we have to timestamp the quest slot
    npc.add(
View Full Code Here

        ConversationStates.ATTENDING,
        "I'm still waiting for the " + mithrilcloak.getFabricName()
        + " so I can start work on your mithril cloak. You should ask #Kampusch about anything textile related.",       
        null);

    npc.addReply("Hogart", "He's that grumpy old dwarf in the Or'ril mines. I already sent him a message saying I wanted some new scissors but he didn't respond. Well, what he lacks in people skills he makes up for in his metal work.");
  }

  public void addToWorld() {
    makeThreadStep();
    fetchThreadStep();
View Full Code Here

        ConversationStates.ATTENDING,
        "Aw, Josephine is so sweet. I'm glad she liked her blue striped cloak. Now, YOUR cloak is nearly ready, it just needs a clasp to fasten it! My friend #Pedinghaus will make it for you, if you go and ask him.",
        new SetQuestAndModifyKarmaAction(mithrilcloak.getQuestSlot(), "need_clasp", 10.0)
        );

    npc.addReply("Josephine", "Surely you know Josephine? That flirty flighty girl from Fado, bless her heart.");
    npc.addReply("Pedinghaus", "I mean the wizard who works with Joshua in the Ados smithy.");
  }
 
  public void addToWorld() {
    takeStripedCloakStep();
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.