Examples of ExamineChatAction


Examples of games.stendhal.server.entity.npc.action.ExamineChatAction

      + "5 Storage,   6 Blacksmith, Carmen,   7 Inn, Margaret \n"
          + "8 Temple, ilisa,   9 Dangerous Dungeon \n"
          + "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.");
View Full Code Here

Examples of games.stendhal.server.entity.npc.action.ExamineChatAction

    final List<ChatAction> actions = new LinkedList<ChatAction>();
    //actions.add(new StartRecordingKillsAction("dark elf archer", "dark elf captain", "thing"));
    actions.add(new IncreaseKarmaAction(5.0));
    actions.add(new SetQuestAction(QUEST_SLOT, "started"));
    actions.add(new ExamineChatAction("dark-elves-wanted.png", "Wanted!", ""));

    npc.add(
      ConversationStates.QUEST_OFFERED,
      ConversationPhrases.YES_MESSAGES,
      null,
View Full Code Here

Examples of games.stendhal.server.entity.npc.action.ExamineChatAction

        "Don't you remember promising to sort out my dark elf problem?"+
        " Kill every dark elf in the #secret room below - especially"+
        " the ones who command, do magic or are archers." +
        "  Don't forget the evil matronmother too."+
        " And bring me the amulet from the mutant thing.",
        new ExamineChatAction("dark-elves-wanted.png", "Wanted!", ""));
   
    npc.add(ConversationStates.IDLE,
        ConversationPhrases.GREETING_MESSAGES,
        new AndCondition(new GreetingMatchesNameCondition(npc.getName()),
            new QuestInStateCondition(QUEST_SLOT, completedQuestState),
View Full Code Here

Examples of games.stendhal.server.entity.npc.action.ExamineChatAction

      ConversationStates.ATTENDING,
      "arandula",
      null,
      ConversationStates.ATTENDING,
      "North of Semos, near the tree grove, grows a herb called arandula. Here is a picture so you know what to look for.",
      new ExamineChatAction("arandula.png", "Carmen's drawing", "Arandula"));

  }
View Full Code Here

Examples of games.stendhal.server.entity.npc.action.ExamineChatAction

        ConversationStates.ATTENDING,
        Arrays.asList("herb", "arandula", "yes", "ok"),
//        new AndCondition(new QuestInStateCondition(QUEST_SLOT, "corpse&herbs"), new NotCondition(new PlayerHasItemWithHimCondition("arandula"))),
        ConversationStates.ATTENDING,
        "North of Semos, near the tree grove, grows a herb called arandula. Here is a picture I drew so you know what to look for.",
        new ExamineChatAction("arandula.png", "Ilisa's drawing", "Arandula"));

    npc.add(
        ConversationStates.ATTENDING,
        "tad",
        null,
View Full Code Here

Examples of games.stendhal.server.entity.npc.action.ExamineChatAction

    final List<ChatAction> reward = new LinkedList<ChatAction>();
    reward.add(new EquipItemAction("money", 5));
    reward.add(new IncreaseXPAction(10));
    reward.add(new SetQuestAction(QUEST_SLOT, "taught"));
    reward.add(new ExamineChatAction("monogenes.png", "Monogenes", "North part of Semos city."));

    npc.add(
      ConversationStates.INFORMATION_1,
      ConversationPhrases.YES_MESSAGES,
      null,
View Full Code Here

Examples of games.stendhal.server.entity.npc.action.ExamineChatAction

          ConversationStates.ATTENDING,
          ConversationPhrases.OFFER_MESSAGES,
          null,
          ConversationStates.ATTENDING,
          "Please tell me which outfit you would like, ask to #hire #glasses, #hire a #goblin #face, #hire a #thing #face, #hire a #purple #slime outfit, #hire a #green #slime, #hire a #red #slime, #hire a #blue #slime, or #hire a #gingerbread #man outfit.",
          new ExamineChatAction("outfits2.png", "Outfits", "Price varies"));
        addJob("I work with magic in a fun way! Ask about the #offer.");
        addHelp("I can cast a spell to dress you in a magical outfit. They wear off after some time. I hope I can #offer you something you like. If not Liliana also rents out from a different range.");
        addGoodbye("Bye!");
        final OutfitChangerBehaviour behaviour = new SpecialOutfitChangerBehaviour(priceList, endurance, "Your magical outfit has worn off.");
        new OutfitChangerAdder().addOutfitChanger(this, behaviour, "hire", false, false);
View Full Code Here

Examples of games.stendhal.server.entity.npc.action.ExamineChatAction

          ConversationStates.ATTENDING,
          ConversationPhrases.OFFER_MESSAGES,
          null,
          ConversationStates.ATTENDING,
          "Just tell me if you want to #hire a #gown, #hire a #green #dress, #hire #glasses, #hire #other #glasses, #hire a #hat, #hire an #alien suit, #hire a #horse outfit, #hire a #girl #horse outfit, #hire a #jumpsuit, #hire #dungarees, #hire a #bunny #suit or #hire an #orange outfit.",
          new ExamineChatAction("outfits.png", "Outfits", "Price varies"));
        addJob("I work in this clothes boutique. It's no ordinary shop, we use magic to put our clients into fantastic outfits. Ask about the #offer.");
        // addJob("I normally work in a clothes boutique, we use magic to put our clients into fantastic outfits. I'm here for Semos Mine Town Revival Weeks, where we #offer our outfits at greatly reduced prices, but they last for less time!");
        addHelp("Our hired outfits wear off after some time, but you can always come back for more!");
        addGoodbye("Bye!");
        final OutfitChangerBehaviour behaviour = new SpecialOutfitChangerBehaviour(priceList, endurance, "Your magical outfit has worn off.");
View Full Code Here

Examples of games.stendhal.server.entity.npc.action.ExamineChatAction

        addReply("map", "Caption\n"
          + "1 Bank,   2 Goldsmith,   3 Bakery,   4 Haunted House,\n"
          + "5 Castle,   6 Felina's House,   7 Barracks \n"
          + "8 Bar,   9 Sewing Rooms, ida \n"
          + "10 Meat and Fish Huts,   11 Town Hall",
          new ExamineChatAction("map-ados-city.png", "Ados City", "Map of Ados City"));
        addJob("I guard Ados against attacks, and #help visitors.");
        addHelp("If you need a #map to guide you around Ados, just ask.");
        addGoodbye("I hope you will enjoy your visit to Ados.");
      }
    };
View Full Code Here

Examples of games.stendhal.server.entity.npc.action.ExamineChatAction

                offerings.put("pick", 450);
                new SellerAdder().addSeller(this, new SellerBehaviour(offerings), false);
        addQuest("Sorry but as you can see, I'm covered with dust and still didn't finish my work up yet. I can't think about any quests for you, but you can help me to gain some coal.");
        addJob("I am a miner. Working in a mine is quite hard work. If you get deep and deeper into the earth it gets very warm and even more dusty. And you can hardly see anything in this low light...");
        addReply("map","This is a map of the Semos Mine which I have drawn by myself some time ago. It may help you to find the way. But take care, not everything is exactly right!",
            new ExamineChatAction("map-semos-mine.png", "Semos Mine", "Rough map of Semos Mine"));
        addGoodbye("Nice to meet you. Good luck!");
       
      }
    };
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.