/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/ |
H A D | BeerForHayunn.java | 19 import games.stendhal.server.entity.npc.ChatAction; 22 import games.stendhal.server.entity.npc.SpeakerNPC; 100 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 110 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 117 npc.add( in prepareRequestingStep() 125 npc.add( in prepareRequestingStep() 133 npc.add( in prepareRequestingStep() 141 npc.add( in prepareRequestingStep() 149 npc.add( in prepareRequestingStep() 182 npc.add( in prepareBringingStep() [all …]
|
H A D | ArmorForDagobert.java | 20 import games.stendhal.server.entity.npc.ChatAction; 100 final SpeakerNPC npc = npcs.get("Dagobert"); in prepareRequestingStep() local 102 npc.add( in prepareRequestingStep() 110 npc.add( in prepareRequestingStep() 119 npc.add( in prepareRequestingStep() 128 npc.add( in prepareRequestingStep() 136 npc.add( in prepareRequestingStep() 146 final SpeakerNPC npc = npcs.get("Dagobert"); in prepareBringingStep() local 178 npc.add( in prepareBringingStep() 189 npc.add( in prepareBringingStep() [all …]
|
H A D | CloaksForBario.java | 87 final SpeakerNPC npc = npcs.get("Bario"); in step_1() local 90 npc.add( in step_1() 100 npc.add(ConversationStates.ATTENDING, in step_1() 108 npc.add(ConversationStates.ATTENDING, in step_1() 116 npc.add(ConversationStates.ATTENDING, in step_1() 123 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 130 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 142 final SpeakerNPC npc = npcs.get("Bario"); in step_3() local 174 npc.add(ConversationStates.QUESTION_1, in step_3() 203 npc.add(ConversationStates.QUESTION_1, in step_3() [all …]
|
H A D | AmazonPrincess.java | 83 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 89 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 96 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 103 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 110 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 117 npc.add(ConversationStates.QUEST_OFFERED, in offerQuestStep() 137 npc.add( in bringCocktailStep() 148 final EventRaiser npc) { in bringCocktailStep() 151 npc.say("Thank you!! Take " + in bringCocktailStep() 162 npc.add( in bringCocktailStep() [all …]
|
H A D | KillDarkElves.java | 86 npc.add(ConversationStates.ATTENDING, in step_1() 94 npc.add(ConversationStates.ATTENDING, in step_1() 101 npc.add(ConversationStates.ATTENDING, in step_1() 113 npc.add( in step_1() 121 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 128 npc.add( in step_1() 157 npc.add(ConversationStates.IDLE, in step_3() 167 npc.add(ConversationStates.IDLE, in step_3() 207 npc.add(ConversationStates.IDLE, in step_3() 217 npc.add(ConversationStates.IDLE, in step_3() [all …]
|
H A D | LearnAboutKarma.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; 83 final SpeakerNPC npc = npcs.get("Sarzina"); in step1() local 85 npc.add(ConversationStates.ATTENDING, in step1() 91 npc.add(ConversationStates.ATTENDING, in step1() 100 npc.add(ConversationStates.QUEST_OFFERED, in step1() 110 npc.add(ConversationStates.QUEST_OFFERED, in step1() 120 npc.add( in step1() 132 npc.add(ConversationStates.ATTENDING, in step1() [all …]
|
H A D | BowsForOuchit.java | 77 SpeakerNPC npc = npcs.get("Ouchit"); in prepareQuestStep() local 82 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 92 npc.add(ConversationStates.QUESTION_1, in prepareQuestStep() 103 npc.add(ConversationStates.QUESTION_1, in prepareQuestStep() 147 SpeakerNPC npc = npcs.get("Ouchit"); in bringWoodStep() local 152 npc.add(ConversationStates.ATTENDING, in bringWoodStep() 162 npc.add(ConversationStates.ATTENDING, in bringWoodStep() 176 npc.add(ConversationStates.ATTENDING, in bringWoodStep() 197 SpeakerNPC npc = npcs.get("Karl"); in getHairStep() local 199 npc.add(ConversationStates.ATTENDING, in getHairStep() [all …]
|
H A D | UltimateCollector.java | 135 npc.add( in checkCollectingQuests() 145 npc.add(ConversationStates.ATTENDING, in checkCollectingQuests() 156 npc.add(ConversationStates.ATTENDING, in checkCollectingQuests() 166 npc.add(ConversationStates.ATTENDING, in checkCollectingQuests() 176 npc.add(ConversationStates.ATTENDING, in checkCollectingQuests() 186 npc.add(ConversationStates.ATTENDING, in checkCollectingQuests() 195 npc.add(ConversationStates.ATTENDING, in checkCollectingQuests() 224 npc.add(ConversationStates.ATTENDING, in requestItem() 249 npc.add(ConversationStates.IDLE, in collectItem() 288 npc.add( in offerSteps() [all …]
|
H A D | ImperialPrincess.java | 119 npc.add(ConversationStates.ATTENDING, in step_1() 127 npc.add(ConversationStates.ATTENDING, in step_1() 135 npc.add(ConversationStates.ATTENDING, in step_1() 144 npc.add(ConversationStates.ATTENDING, in step_1() 173 npc.add( in step_1() 190 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 197 npc.addReply( in step_1() 201 npc.addReply( in step_1() 205 npc.addReply( in step_1() 273 npc.add(ConversationStates.ATTENDING, in step_2() [all …]
|
H A D | KoboldishTorcibud.java | 29 import games.stendhal.server.entity.npc.ChatAction; 262 npc.add(ConversationStates.IDLE, in phase_1() 271 npc.add(ConversationStates.ATTENDING, in phase_1() 280 npc.add(ConversationStates.ATTENDING, in phase_1() 290 npc.add(ConversationStates.ATTENDING, in phase_1() 372 npc.add(ConversationStates.IDLE, in phase_2() 381 npc.add(ConversationStates.ATTENDING, in phase_2() 391 npc.add(ConversationStates.ATTENDING, in phase_2() 400 npc.add(ConversationStates.ATTENDING, in phase_2() 408 npc.add(ConversationStates.ATTENDING, in phase_2() [all …]
|
H A D | CodedMessageFromFinnFarmer.java | 9 import games.stendhal.server.entity.npc.ChatAction; 153 npc.add(ConversationStates.ATTENDING, in step1() 161 npc.add(ConversationStates.ATTENDING, in step1() 171 npc.add(ConversationStates.ATTENDING, in step1() 180 npc.add(ConversationStates.QUEST_OFFERED, in step1() 212 npc.add(ConversationStates.IDLE, in step2() 219 npc.add(ConversationStates.IDLE, in step2() 226 npc.add(ConversationStates.ATTENDING, in step2() 239 npc.add(ConversationStates.ATTENDING, in step2() 257 npc.add(ConversationStates.IDLE, in step3() [all …]
|
H A D | FindJefsMom.java | 99 final SpeakerNPC npc = npcs.get("Jef"); in offerQuestStep() local 101 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 109 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 117 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 141 npc.add(ConversationStates.ATTENDING, in offerQuestStep() 148 npc.add( in offerQuestStep() 156 npc.add( in offerQuestStep() 164 npc.add( in offerQuestStep() 172 npc.add( in offerQuestStep() 231 final SpeakerNPC npc = npcs.get("Jef"); in bringFlowerToJefStep() local [all …]
|
H A D | GoodiesForRudolph.java | 20 import games.stendhal.server.entity.npc.ChatAction; 113 final SpeakerNPC npc = npcs.get("Rudolph"); in prepareRequestingStep() local 115 npc.add( in prepareRequestingStep() 123 npc.add( in prepareRequestingStep() 131 npc.add( in prepareRequestingStep() 140 npc.add( in prepareRequestingStep() 149 npc.add( in prepareRequestingStep() 157 npc.add( in prepareRequestingStep() 167 final SpeakerNPC npc = npcs.get("Rudolph"); in prepareBringingStep() local 205 npc.add( in prepareBringingStep() [all …]
|
H A D | RainbowBeans.java | 24 import games.stendhal.server.entity.npc.ChatAction; 94 final SpeakerNPC npc = npcs.get("Pdiddi"); in step_1() local 105 npc.add( in step_1() 116 npc.add( in step_1() 127 npc.add(ConversationStates.INFORMATION_1, in step_1() 139 npc.add(ConversationStates.INFORMATION_1, in step_1() 149 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 157 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 192 npc.add( in step_1() 203 npc.add(ConversationStates.ATTENDING, in step_1() [all …]
|
H A D | BalloonForBobby.java | 97 SpeakerNPC npc = npcs.get(NPCName); in prepareRequestQuestStep() local 109 npc.add(ConversationStates.ANY, in prepareRequestQuestStep() 135 npc.add(ConversationStates.ANY, in prepareRequestQuestStep() 148 SpeakerNPC npc = npcs.get(NPCName); in prepareGreetWithBalloonStep() local 151 npc.add( in prepareGreetWithBalloonStep() 173 SpeakerNPC npc = npcs.get(NPCName); in prepareAttendingWithBalloonStep() local 175 npc.add( in prepareAttendingWithBalloonStep() 191 npc.add( in prepareAttendingWithBalloonStep() 208 npc.add( in prepareAttendingWithBalloonStep() 225 npc.add( in prepareQuestItemQuestionStep() [all …]
|
H A D | FindRatChildren.java | 116 final SpeakerNPC npc = npcs.get("Agnus"); in askingStep() local 118 npc.add(ConversationStates.ATTENDING, in askingStep() 125 npc.add( in askingStep() 135 npc.add(ConversationStates.ATTENDING, in askingStep() 142 npc.add(ConversationStates.ATTENDING, in askingStep() 156 npc.add( in askingStep() 164 npc.add( in askingStep() 239 npc.say(reply); in retrievingStep() 244 npc.say(reply); in retrievingStep() 260 npc.add( in retrievingStep() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/quests/ |
H A D | LearnAboutOrbsTest.java | 24 import games.stendhal.server.entity.npc.SpeakerNPC; 25 import games.stendhal.server.entity.npc.fsm.Engine; 34 private SpeakerNPC npc = null; field in LearnAboutOrbsTest 58 npc = SingletonRepository.getNPCList().get("Ilisa"); in testQuestAppropriateLevel() 59 en = npc.getEngine(); in testQuestAppropriateLevel() 72 assertEquals("Bye.", getReply(npc)); in testQuestAppropriateLevel() 82 assertEquals("Bye.", getReply(npc)); in testQuestAppropriateLevel() 90 assertEquals("Bye.", getReply(npc)); in testQuestAppropriateLevel() 99 npc = SingletonRepository.getNPCList().get("Ilisa"); in testQuestTooLowLevel() 100 en = npc.getEngine(); in testQuestTooLowLevel() [all …]
|
H A D | FruitsForCoraliaTest.java | 27 import games.stendhal.server.entity.npc.SpeakerNPC; 28 import games.stendhal.server.entity.npc.fsm.Engine; 38 private SpeakerNPC npc = null; field in FruitsForCoraliaTest 70 npc = SingletonRepository.getNPCList().get("Coralia"); in testQuest() 71 en = npc.getEngine(); in testQuest() 113 assertEquals("Bye.", getReply(npc)); in testQuest() 156 assertEquals("Bye.", getReply(npc)); in testQuest() 184 assertEquals("Wonderful! Did you bring anything else with you?", getReply(npc)); in testQuest() 200 assertEquals("Bye.", getReply(npc)); in testQuest() 269 assertEquals("Bye.", getReply(npc)); in testQuest() [all …]
|
H A D | CampfireTest.java | 52 private SpeakerNPC npc; field in CampfireTest 100 getReply(npc)); in testCanStartQuestNow() 107 getReply(npc)); in testCanStartQuestNow() 126 assertTrue(npc.isTalking()); in testHiAndbye() 142 assertTrue(npc.isTalking()); in testDoQuest() 148 getReply(npc)); in testDoQuest() 152 getReply(npc)); in testDoQuest() 163 getReply(npc)); in testDoQuest() 221 getReply(npc)); in testJobAndOffer() 227 getReply(npc)); in testJobAndOffer() [all …]
|
H A D | RingMakerTest.java | 34 import games.stendhal.server.entity.npc.SpeakerNPC; 35 import games.stendhal.server.entity.npc.fsm.Engine; 47 private static SpeakerNPC npc; field in RingMakerTest 63 en = npc.getEngine(); in setUpBeforeClass() 70 npc = null; in tearDownAftereClass() 88 assertEquals("Bye, my friend.", getReply(npc)); in testHiandBye() 101 en = npc.getEngine(); in testOrderEmeraldRingWithoutEnoughmoney() 139 en = npc.getEngine(); in testOrderEmeraldRingDeny() 154 assertEquals("Bye, my friend.", getReply(npc)); in testOrderEmeraldRingDeny() 226 assertEquals("Bye, my friend.", getReply(npc)); in testFetchOrderedEmeraldRing() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/npc/behaviour/adder/ |
H A D | ProducerAdder.java | 13 package games.stendhal.server.entity.npc.behaviour.adder; 20 import games.stendhal.server.entity.npc.ChatAction; 22 import games.stendhal.server.entity.npc.ConversationStates; 23 import games.stendhal.server.entity.npc.EventRaiser; 24 import games.stendhal.server.entity.npc.SpeakerNPC; 36 import games.stendhal.server.entity.npc.fsm.Engine; 61 final Engine engine = npc.getEngine(); in addProducer() 70 final String npcName = npc.getName(); in addProducer() 149 final EventRaiser npc) { in addProducer() 174 final EventRaiser npc) { in addProducer() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/mithrilcloak/ |
H A D | MakingClasp.java | 21 import games.stendhal.server.entity.npc.ChatAction; 25 import games.stendhal.server.entity.npc.NPCList; 63 final SpeakerNPC npc = npcs.get("Pedinghaus"); in getClaspStep() local 66 npc.add(ConversationStates.ATTENDING, in getClaspStep() 74 npc.add( in getClaspStep() 96 npc.add( in getClaspStep() 104 npc.add(ConversationStates.ATTENDING, in getClaspStep() 120 npc.say("Here, your clasp is ready!"); in getClaspStep() 137 final SpeakerNPC npc = npcs.get("Ida"); in giveClaspStep() local 140 npc.add(ConversationStates.ATTENDING, in giveClaspStep() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/athor/ship/ |
H A D | CoastConveyerNPC.java | 23 import games.stendhal.server.entity.npc.ChatAction; 26 import games.stendhal.server.entity.npc.EventRaiser; 27 import games.stendhal.server.entity.npc.SpeakerNPC; 57 final SpeakerNPC npc = new SpeakerNPC("Jackie") { in buildNPC() local 79 npc.say(ferryState.toString()); in buildNPC() 102 npc.say(ferryState.toString() in buildNPC() 120 npc.setCurrentState(ConversationStates.IDLE); in buildNPC() 163 npc.setPosition(29, 34); in buildNPC() 164 npc.setEntityClass("pirate_sailor2npc"); in buildNPC() 166 npc.setDirection(Direction.LEFT); in buildNPC() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/deniran/cityinterior/potionsshop/ |
H A D | PotionsDealerNPC.java | 27 import games.stendhal.server.entity.npc.ChatAction; 30 import games.stendhal.server.entity.npc.EventRaiser; 31 import games.stendhal.server.entity.npc.ShopList; 32 import games.stendhal.server.entity.npc.SpeakerNPC; 52 final SpeakerNPC npc = new SpeakerNPC("Wanda"); in buildNPC() local 72 npc.add(ConversationStates.ANY, in buildNPC() 112 npc.add(ConversationStates.ANY, in buildNPC() 123 npc.add(ConversationStates.IDLE, in buildNPC() 134 npc.setPath(new FixedPath(nodes, true)); in buildNPC() 135 npc.setCollisionAction(CollisionAction.STOP); in buildNPC() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/semos/tavern/market/ |
H A D | ProlongOfferHandler.java | 23 import games.stendhal.server.entity.npc.ChatAction; 26 import games.stendhal.server.entity.npc.EventRaiser; 27 import games.stendhal.server.entity.npc.SpeakerNPC; 35 public void add(SpeakerNPC npc) { in add() argument 55 npc.say("Sorry, I did not understand you. " in fire() 58 handleSentence(player, sentence, npc); in fire() 69 npc.say("Please check your offers first."); in handleSentence() 101 npc.say(message.toString()); in handleSentence() 111 if (!handleProlongAll(player, sentence, npc)) { in handleSentence() 112 npc.say("Sorry, please say #prolong #number"); in handleSentence() [all …]
|