/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/quests/ |
H A D | LearnAboutKarmaTest.java | 24 import games.stendhal.server.entity.npc.SpeakerNPC; 35 private SpeakerNPC npc = null; field in LearnAboutKarmaTest 51 en = npc.getEngine(); in setUp() 73 assertEquals(KARMA_ANSWER, getReply(npc)); in testQuest() 77 assertEquals("Bye.", getReply(npc)); in testQuest() 86 assertEquals(KARMA_ANSWER, getReply(npc)); in testQuest() 90 assertEquals("Bye.", getReply(npc)); in testQuest() 105 assertEquals(KARMA_ANSWER, getReply(npc)); in testQuest() 111 assertEquals(KARMA_ANSWER, getReply(npc)); in testQuest() 117 assertEquals(KARMA_ANSWER, getReply(npc)); in testQuest() [all …]
|
H A D | SnowballsTest.java | 19 import games.stendhal.server.entity.npc.SpeakerNPC; 29 private SpeakerNPC npc = null; field in SnowballsTest 57 en = npc.getEngine(); in testQuest() 69 assertEquals("Bye.", getReply(npc)); in testQuest() 80 assertEquals("Bye.", getReply(npc)); in testQuest() 89 assertEquals("Bye.", getReply(npc)); in testQuest() 101 assertEquals("Bye.", getReply(npc)); in testQuest() 112 assertEquals("Bye.", getReply(npc)); in testQuest() 124 assertEquals("Bye.", getReply(npc)); in testQuest() 138 assertEquals("Bye.", getReply(npc)); in testQuest() [all …]
|
H A D | HungryJoshuaTest.java | 30 import games.stendhal.server.entity.npc.SpeakerNPC; 31 import games.stendhal.server.entity.npc.fsm.Engine; 46 private SpeakerNPC npc = null; field in HungryJoshuaTest 75 npc = SingletonRepository.getNPCList().get("Xoderos"); in testQuest() 76 en = npc.getEngine(); in testQuest() 94 assertEquals("Bye.", getReply(npc)); in testQuest() 105 assertEquals("Bye.", getReply(npc)); in testQuest() 115 en = npc.getEngine(); in testQuest() 132 assertEquals("Bye.", getReply(npc)); in testQuest() 136 en = npc.getEngine(); in testQuest() [all …]
|
H A D | KillDhohrNuggetcutterTest.java | 24 import games.stendhal.server.entity.npc.SpeakerNPC; 25 import games.stendhal.server.entity.npc.fsm.Engine; 36 private SpeakerNPC npc = null; field in KillDhohrNuggetcutterTest 67 npc = SingletonRepository.getNPCList().get("Zogfang"); in testQuest() 68 en = npc.getEngine(); in testQuest() 78 assertEquals("I wish you well on your journeys.", getReply(npc)); in testQuest() 90 assertEquals("I wish you well on your journeys.", getReply(npc)); in testQuest() 99 assertEquals("I wish you well on your journeys.", getReply(npc)); in testQuest() 109 assertEquals("I wish you well on your journeys.", getReply(npc)); in testQuest() 118 assertEquals("I wish you well on your journeys.", getReply(npc)); in testQuest() [all …]
|
H A D | SoupTest.java | 24 import games.stendhal.server.entity.npc.SpeakerNPC; 25 import games.stendhal.server.entity.npc.fsm.Engine; 36 private SpeakerNPC npc = null; field in SoupTest 61 npc = SingletonRepository.getNPCList().get("Old Mother Helena"); in testQuest() 62 en = npc.getEngine(); in testQuest() 71 assertEquals("Oh, never mind. It's your loss.", getReply(npc)); in testQuest() 73 assertEquals("Goodbye, all you customers do work me hard ...", getReply(npc)); in testQuest() 83 assertEquals("What did you bring?", getReply(npc)); in testQuest() 89 assertEquals("Bye.", getReply(npc)); in testQuest() 105 assertEquals("Bye.", getReply(npc)); in testQuest() [all …]
|
H A D | RainbowBeansTest.java | 33 import games.stendhal.server.entity.npc.SpeakerNPC; 34 import games.stendhal.server.entity.npc.fsm.Engine; 43 private SpeakerNPC npc; field in RainbowBeansTest 76 en = npc.getEngine(); in testQuest() 87 assertEquals("Bye.", getReply(npc)); in testQuest() 109 assertEquals("Bye.", getReply(npc)); in testQuest() 122 assertEquals("Bye.", getReply(npc)); in testQuest() 133 assertEquals("Bye.", getReply(npc)); in testQuest() 143 assertEquals("Bye.", getReply(npc)); in testQuest() 153 assertEquals("Bye.", getReply(npc)); in testQuest() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/ |
H A D | SheepGrowing.java | 157 npc.add( in preparePlayerGetsSheepStep() 172 npc.add( in preparePlayerGetsSheepStep() 182 npc.add( in preparePlayerGetsSheepStep() 201 StendhalRPAction.placeat(npc.getZone(), sheep, npc.getX(), npc.getY() + 1); in preparePlayerGetsSheepStep() 204 npc.add( in preparePlayerGetsSheepStep() 256 npc.add( in preparePlayerHandsOverSheepStep() 266 npc.add( in preparePlayerHandsOverSheepStep() 277 npc.add( in preparePlayerHandsOverSheepStep() 290 npc.add( in preparePlayerHandsOverSheepStep() 301 npc.add( in preparePlayerHandsOverSheepStep() [all …]
|
H A D | MeetKetteh.java | 18 import games.stendhal.server.entity.npc.ChatAction; 21 import games.stendhal.server.entity.npc.EventRaiser; 22 import games.stendhal.server.entity.npc.SpeakerNPC; 66 npc.addInitChatMessage( in step1() 87 npc.add(ConversationStates.IDLE, in step1() 100 npc.add(ConversationStates.IDLE, in step1() 116 npc.add(ConversationStates.IDLE, in step1() 128 npc.add(ConversationStates.IDLE, in step1() 141 npc.add(ConversationStates.IDLE, in step1() 151 npc.add(ConversationStates.IDLE, in step1() [all …]
|
H A D | MeetMarieHenri.java | 13 import games.stendhal.server.entity.npc.ChatAction; 17 import games.stendhal.server.entity.npc.SpeakerNPC; 111 SpeakerNPC npc = npcs.get("Marie-Henri"); in createSteps() local 115 npc.add(ConversationStates.ATTENDING, in createSteps() 137 npc.add(ConversationStates.QUEST_OFFERED, in createSteps() 145 npc.add(ConversationStates.QUEST_OFFERED, in createSteps() 153 npc.add(ConversationStates.QUEST_OFFERED, in createSteps() 161 npc.add(ConversationStates.ATTENDING, in createSteps() 168 npc.add(ConversationStates.QUESTION_1, in createSteps() 173 npc.add(ConversationStates.QUESTION_1, in createSteps() [all …]
|
H A D | HungryJoshua.java | 114 final SpeakerNPC npc = npcs.get("Xoderos"); in step_1() local 117 npc.add(ConversationStates.ATTENDING, in step_1() 135 npc.add( in step_1() 143 npc.add( in step_1() 151 npc.add( in step_1() 159 npc.add( in step_1() 179 npc.add( in step_1() 188 final SpeakerNPC npc = npcs.get("Joshua"); in step_2() local 191 npc.add( in step_2() 229 npc.add( in step_3() [all …]
|
H A D | SuppliesForPhalk.java | 91 final SpeakerNPC npc = npcs.get("Phalk"); in askForFood() local 93 npc.add(ConversationStates.ATTENDING, in askForFood() 100 npc.add(ConversationStates.ATTENDING, in askForFood() 108 npc.add(ConversationStates.QUEST_OFFERED, in askForFood() 115 npc.add(ConversationStates.QUEST_OFFERED, in askForFood() 126 final SpeakerNPC npc = npcs.get("Phalk"); in receiveFood() local 173 npc.add(ConversationStates.ATTENDING, in receiveFood() 195 final SpeakerNPC npc = npcs.get("Wrvil"); in getCloak() local 298 final SpeakerNPC npc = npcs.get("Mrotho"); in getArmor() local 407 final SpeakerNPC npc = npcs.get("Phalk"); in receiveClothes() local [all …]
|
H A D | TrapsForKlaas.java | 113 final SpeakerNPC npc = npcs.get("Klaas"); in prepareRequestingStep() local 116 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 135 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 143 npc.add( in prepareRequestingStep() 152 npc.add( in prepareRequestingStep() 162 npc.add( in prepareRequestingStep() 221 npc.add(ConversationStates.IDLE, in prepareBringingStep() 231 npc.add(ConversationStates.IDLE, in prepareBringingStep() 272 npc.add( in prepareBringingStep() 281 npc.add(ConversationStates.IDLE, in prepareBringingStep() [all …]
|
H A D | Campfire.java | 127 final SpeakerNPC npc = npcs.get("Sally"); in prepareRequestingStep() local 130 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 139 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 148 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 156 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 166 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 174 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 182 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 190 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 198 npc.add(ConversationStates.QUEST_OFFERED, in prepareRequestingStep() [all …]
|
H A D | Snowballs.java | 118 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 127 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 137 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 147 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 158 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 170 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 178 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 186 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 194 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 202 npc.add(ConversationStates.QUEST_OFFERED, in prepareRequestingStep() [all …]
|
H A D | TheMissingBooks.java | 28 import games.stendhal.server.entity.npc.ChatAction; 31 import games.stendhal.server.entity.npc.EventRaiser; 32 import games.stendhal.server.entity.npc.SpeakerNPC; 110 final SpeakerNPC npc = npcs.get("Cameron"); in createRecipe() local 112 npc.add(ConversationStates.IDLE, in createRecipe() 126 npc.say("Hello again!"); in createRecipe() 131 npc.add(ConversationStates.ATTENDING, in createRecipe() 150 npc.add(ConversationStates.QUEST_OFFERED, in createRecipe() 155 npc.add(ConversationStates.QUEST_OFFERED, in createRecipe() 167 npc.add(ConversationStates.QUESTION_1, in createRecipe() [all …]
|
H A D | FishSoupForHughie.java | 129 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 138 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 147 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 155 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 165 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 173 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 181 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 189 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 197 npc.add(ConversationStates.QUEST_OFFERED, in prepareRequestingStep() 205 npc.add(ConversationStates.QUEST_OFFERED, in prepareRequestingStep() [all …]
|
H A D | HelpMrsYeti.java | 101 npc.add(ConversationStates.ATTENDING, in startQuest() 108 npc.add(ConversationStates.ATTENDING, in startQuest() 116 npc.add(ConversationStates.QUEST_OFFERED, in startQuest() 145 npc.add( in makePotion() 240 npc.add( in bringPotion() 247 npc.add(ConversationStates.ATTENDING, in bringPotion() 266 npc.add( in bringDragon() 276 npc.add( in bringDragon() 285 final EventRaiser npc) { in bringDragon() 317 npc.add( in getReward() [all …]
|
H A D | CoalForHaunchy.java | 87 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 94 npc.add( in offerQuestStep() 103 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 111 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 119 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 127 npc.add(ConversationStates.QUEST_OFFERED, in offerQuestStep() 134 npc.add(ConversationStates.QUEST_OFFERED, in offerQuestStep() 154 npc.add( in bringCoalStep() 167 final EventRaiser npc) { in bringCoalStep() 178 npc.add( in bringCoalStep() [all …]
|
H A D | TakeGoldforGrafindle.java | 102 final SpeakerNPC npc = npcs.get("Grafindle"); in step_1() local 104 npc.add(ConversationStates.ATTENDING, in step_1() 110 npc.add(ConversationStates.ATTENDING, in step_1() 124 npc.add( in step_1() 132 npc.add( in step_1() 140 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 146 npc.add( in step_1() 155 npc.add( in step_1() 179 npc.add( in step_2() 189 npc.add( in step_2() [all …]
|
H A D | EasterGiftsForChildren.java | 102 npc.add( in prepareRequestingStep() 110 npc.add( in prepareRequestingStep() 119 npc.add( in prepareRequestingStep() 128 npc.add( in prepareRequestingStep() 137 npc.add( in prepareRequestingStep() 145 npc.add( in prepareRequestingStep() 153 npc.add( in prepareRequestingStep() 160 npc.add( in prepareRequestingStep() 167 npc.add( in prepareRequestingStep() 174 npc.add( in prepareRequestingStep() [all …]
|
H A D | EggsForMarianne.java | 134 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 146 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 159 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 168 npc.add(ConversationStates.IDLE, in prepareRequestingStep() 178 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 186 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 198 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 211 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 224 npc.add(ConversationStates.QUEST_OFFERED, in prepareRequestingStep() 234 npc.add(ConversationStates.QUEST_OFFERED, in prepareRequestingStep() [all …]
|
H A D | AdMemoriaInPortfolio.java | 144 npc.add( in admemoriainportfolio_step_0() 172 npc.add( in admemoriainportfolio_step_1() 181 npc.add( in admemoriainportfolio_step_1() 190 npc.add( in admemoriainportfolio_step_1() 204 npc.add( in admemoriainportfolio_step_1() 231 npc.add( in admemoriainportfolio_step_1() 243 npc.add( in admemoriainportfolio_step_1() 259 npc.add( in admemoriainportfolio_step_2() 282 npc.say( in admemoriainportfolio_step_2() 289 npc.say( in admemoriainportfolio_step_2() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/semos/tavern/market/ |
H A D | RemoveOfferHandler.java | 19 import games.stendhal.server.entity.npc.ChatAction; 22 import games.stendhal.server.entity.npc.EventRaiser; 23 import games.stendhal.server.entity.npc.SpeakerNPC; 30 public void add(SpeakerNPC npc) { in add() argument 43 npc.say("Sorry, I did not understand you. " in fire() 46 handleSentence(player, sentence, npc); in fire() 56 npc.say("Please check your offers first."); in handleSentence() 72 removeOffer(player, npc); in handleSentence() 83 npc.say("Sorry, please say #remove #number"); in handleSentence() 91 removeOffer(player, npc); in fire() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/kirdneh/city/ |
H A D | FlowerSellerNPCTest.java | 23 import games.stendhal.server.entity.npc.SpeakerNPC; 24 import games.stendhal.server.entity.npc.fsm.Engine; 53 final SpeakerNPC npc = getNPC("Fleur"); in testHiAndBye() local 54 final Engine en = npc.getEngine(); in testHiAndBye() 57 assertEquals("Hi! Are you here to #trade?", getReply(npc)); in testHiAndBye() 60 assertEquals("Come back soon!", getReply(npc)); in testHiAndBye() 68 final SpeakerNPC npc = getNPC("Fleur"); in testBuyFlower() local 69 final Engine en = npc.getEngine(); in testBuyFlower() 72 assertEquals("Hi! Are you here to #trade?", getReply(npc)); in testBuyFlower() 78 assertEquals("I sell rose.", getReply(npc)); in testBuyFlower() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/allotment/ |
H A D | AllotmentLessorNPC.java | 13 import games.stendhal.server.entity.npc.ChatAction; 14 import games.stendhal.server.entity.npc.ChatCondition; 15 import games.stendhal.server.entity.npc.ConversationPhrases; 16 import games.stendhal.server.entity.npc.ConversationStates; 17 import games.stendhal.server.entity.npc.EventRaiser; 18 import games.stendhal.server.entity.npc.SpeakerNPC; 76 final SpeakerNPC npc = new SpeakerNPC("Jef's_twin") { in buildNPC() local 258 npc.setEntityClass("kid6npc"); in buildNPC() 259 npc.setPosition(85, 11); in buildNPC() 260 npc.initHP(100); in buildNPC() [all …]
|