/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/ |
H A D | Soup.java | 128 npc.add( in step_1() 139 npc.add( in step_1() 151 npc.add(ConversationStates.IDLE, in step_1() 162 npc.add(ConversationStates.INFORMATION_1, in step_1() 190 npc.say("I need " in step_1() 213 npc.add( in step_1() 228 npc.add( in step_1() 245 npc.add( in step_3() 263 npc.say("I still need " in step_3() 272 npc.add(ConversationStates.QUESTION_1, in step_3() [all …]
|
H A D | LookBookforCeryl.java | 79 npc.add(ConversationStates.ATTENDING, in step1LearnAboutQuest() 95 npc.add( in step1LearnAboutQuest() 102 npc.add( in step1LearnAboutQuest() 110 npc.add( in step1LearnAboutQuest() 118 npc.add( in step1LearnAboutQuest() 132 npc.add( in step1LearnAboutQuest() 148 npc.add( in step2getBook() 158 npc.add( in step2getBook() 172 npc.add( in step2getBook() 192 npc.add( in step3returnBook() [all …]
|
H A D | IcecreamForAnnie.java | 99 npc.add(ConversationStates.IDLE, in icecreamStep() 109 npc.add(ConversationStates.IDLE, in icecreamStep() 119 npc.add(ConversationStates.IDLE, in icecreamStep() 129 npc.add(ConversationStates.IDLE, in icecreamStep() 139 npc.add(ConversationStates.IDLE, in icecreamStep() 149 npc.add(ConversationStates.IDLE, in icecreamStep() 160 npc.add(ConversationStates.IDLE, in icecreamStep() 169 npc.add(ConversationStates.ATTENDING, in icecreamStep() 177 npc.add(ConversationStates.ATTENDING, in icecreamStep() 185 npc.add(ConversationStates.ATTENDING, in icecreamStep() [all …]
|
H A D | ZooFood.java | 23 import games.stendhal.server.entity.npc.ChatAction; 24 import games.stendhal.server.entity.npc.ConversationPhrases; 25 import games.stendhal.server.entity.npc.ConversationStates; 26 import games.stendhal.server.entity.npc.SpeakerNPC; 32 import games.stendhal.server.entity.npc.action.SetQuestAction; 122 final SpeakerNPC npc = npcs.get("Katinka"); in step_1() local 203 npc.add(ConversationStates.ATTENDING, in step_1() 216 final SpeakerNPC npc = npcs.get("Katinka"); in step_3() local 242 npc.add(ConversationStates.QUEST_ITEM_BROUGHT, in step_3() 248 npc.add(ConversationStates.QUEST_ITEM_BROUGHT, in step_3() [all …]
|
H A D | FruitsForCoralia.java | 8 import games.stendhal.server.entity.npc.ChatAction; 153 SpeakerNPC npc = npcs.get("Coralia"); in prepareQuestStep() local 158 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 168 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 176 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 187 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 200 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 228 npc.add(ConversationStates.IDLE, in prepareQuestStep() 295 npc.add(ConversationStates.ATTENDING, in prepareBringingStep() 303 npc.add(ConversationStates.QUESTION_2, in prepareBringingStep() [all …]
|
H A D | CrownForTheWannaBeKing.java | 117 npc.addOffer("I don't sell anything!"); in step_1() 118 npc.addGoodbye(); in step_1() 122 npc.add(ConversationStates.IDLE, in step_1() 132 npc.addReply("plan", in step_1() 136 npc.add(ConversationStates.ATTENDING, in step_1() 144 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 153 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 167 npc.add(ConversationStates.IDLE, in step_2() 183 npc.add(ConversationStates.QUESTION_1, in step_2() 220 npc.add(ConversationStates.ATTENDING, in step_2() [all …]
|
H A D | ChocolateForElisabeth.java | 104 npc.add(ConversationStates.IDLE, in chocolateStep() 117 npc.add(ConversationStates.IDLE, in chocolateStep() 126 npc.add(ConversationStates.IDLE, in chocolateStep() 135 npc.add(ConversationStates.IDLE, in chocolateStep() 144 npc.add(ConversationStates.IDLE, in chocolateStep() 153 npc.add(ConversationStates.IDLE, in chocolateStep() 162 npc.add(ConversationStates.IDLE, in chocolateStep() 171 npc.add(ConversationStates.ATTENDING, in chocolateStep() 179 npc.add(ConversationStates.ATTENDING, in chocolateStep() 187 npc.add(ConversationStates.ATTENDING, in chocolateStep() [all …]
|
H A D | JailedBarbarian.java | 87 npc.add(ConversationStates.ATTENDING, in step1() 94 npc.add(ConversationStates.ATTENDING, in step1() 131 npc.add( in step2() 138 npc.add(ConversationStates.ATTENDING, in step2() 171 npc.add(ConversationStates.ATTENDING, in step4() 178 npc.add(ConversationStates.ATTENDING, in step4() 202 npc.add( in step5() 209 npc.add(ConversationStates.ATTENDING, in step5() 221 npc.add(ConversationStates.ATTENDING, in step5() 254 npc.add(ConversationStates.ATTENDING, in step7() [all …]
|
H A D | MedicineForTad.java | 162 npc.add(ConversationStates.ATTENDING, in step_1() 169 npc.add(ConversationStates.ATTENDING, in step_1() 177 npc.add(ConversationStates.ATTENDING, in step_1() 214 npc.add(ConversationStates.ATTENDING, in step_1() 294 npc.add(ConversationStates.IDLE, in step_4() 320 npc.add( in step_4() 331 npc.add( in step_4() 339 npc.add( in step_4() 380 SpeakerNPC npc = npcs.get("Tad"); in step_6() local 394 npc.add(ConversationStates.IDLE, in step_6() [all …]
|
H A D | HerbsForCarmen.java | 105 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 114 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 120 npc.add( in prepareRequestingStep() 128 npc.add( in prepareRequestingStep() 136 npc.add( in prepareRequestingStep() 144 npc.add( in prepareRequestingStep() 153 npc.add( in prepareRequestingStep() 161 npc.add( in prepareRequestingStep() 169 npc.add( in prepareRequestingStep() 177 npc.add( in prepareRequestingStep() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/semos/bakery/ |
H A D | ChefNPCTest.java | 70 getReply(npc)); in testHiAndBye() 88 getReply(npc)); in testHiAndMakeNoStuff() 93 getReply(npc)); in testHiAndMakeNoStuff() 111 getReply(npc)); in testHiAndMakeWithStuffSingle() 131 getReply(npc)); in testHiAndMakeWithStuffSingle() 141 getReply(npc)); in testHiAndMakeWithStuffSingle() 152 getReply(npc)); in testHiAndMakeWithStuffSingle() 168 getReply(npc)); in testHiAndMakeWithStuffMultiple() 189 getReply(npc)); in testHiAndMakeWithStuffMultiple() 199 getReply(npc)); in testHiAndMakeWithStuffMultiple() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/quests/ |
H A D | ImperialPrincessTest.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 ImperialPrincessTest 76 en = npc.getEngine(); in testQuest() 82 en = npc.getEngine(); in testQuest() 87 assertEquals("How do you do?", getReply(npc)); in testQuest() 103 assertEquals("How do you do?", getReply(npc)); in testQuest() 110 assertEquals("How do you do?", getReply(npc)); in testQuest() 144 assertEquals("How do you do?", getReply(npc)); in testQuest() 170 en = npc.getEngine(); in testQuest() [all …]
|
H A D | TakeGoldforGrafindleTest.java | 30 import games.stendhal.server.entity.npc.SpeakerNPC; 31 import games.stendhal.server.entity.npc.fsm.Engine; 45 private SpeakerNPC npc = null; field in TakeGoldforGrafindleTest 75 en = npc.getEngine(); in testStartQuest() 92 assertEquals("Goodbye, young human.", getReply(npc)); in testStartQuest() 114 assertEquals("Goodbye, young human.", getReply(npc)); in testStartQuest() 126 en = npc.getEngine(); in testGetGold() 152 en = npc.getEngine(); in testTakeGold() 161 assertEquals("Goodbye, young human.", getReply(npc)); in testTakeGold() 196 en = npc.getEngine(); in testSpeaToLorithienAfterQuestCompleted() [all …]
|
H A D | AmazonPrincessTest.java | 28 import games.stendhal.server.entity.npc.ConversationStates; 29 import games.stendhal.server.entity.npc.SpeakerNPC; 30 import games.stendhal.server.entity.npc.fsm.Engine; 41 private SpeakerNPC npc = null; field in AmazonPrincessTest 54 npc = SingletonRepository.getNPCList().get("Princess Esclara"); in setUp() 55 en = npc.getEngine(); in setUp() 97 assertEquals("Huh, what are you doing here?", getReply(npc)); in testQuest() 110 assertEquals("Huh, what are you doing here?", getReply(npc)); in testQuest() 132 assertEquals("Huh, what are you doing here?", getReply(npc)); in testQuest() 148 assertEquals("Huh, what are you doing here?", getReply(npc)); in testQuest() [all …]
|
H A D | GuessKillsTest.java | 25 import games.stendhal.server.entity.npc.SpeakerNPC; 26 import games.stendhal.server.entity.npc.fsm.Engine; 37 private SpeakerNPC npc = null; field in GuessKillsTest 73 en = npc.getEngine(); in testQuest() 77 assertEquals("Greetings", getReply(npc)); in testQuest() 89 assertEquals("Goodbye deary.", getReply(npc)); in testQuest() 96 assertEquals("Greetings", getReply(npc)); in testQuest() 111 assertEquals("Greetings", getReply(npc)); in testQuest() 135 String reply = getReply(npc); in testQuest() 158 reply = getReply(npc); in testQuest() [all …]
|
H A D | CleanStorageSpaceTest.java | 66 assertTrue(npc.isTalking()); in testHiAndbye() 69 assertTrue(npc.isTalking()); in testHiAndbye() 72 assertTrue(npc.isTalking()); in testHiAndbye() 74 getReply(npc)); in testHiAndbye() 87 assertTrue(npc.isTalking()); in doQuest() 90 assertTrue(npc.isTalking()); in doQuest() 93 getReply(npc)); in doQuest() 95 assertTrue(npc.isTalking()); in doQuest() 98 getReply(npc)); in doQuest() 102 getReply(npc)); in doQuest() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/ados/felinashouse/ |
H A D | CatSellerNPCTest.java | 23 import games.stendhal.server.entity.npc.SpeakerNPC; 24 import games.stendhal.server.entity.npc.fsm.Engine; 56 final SpeakerNPC npc = getNPC("Felina"); in testHiAndBye() local 57 final Engine en = npc.getEngine(); in testHiAndBye() 63 assertEquals("Bye.", getReply(npc)); in testHiAndBye() 71 final SpeakerNPC npc = getNPC("Felina"); in testBuyCat() local 72 final Engine en = npc.getEngine(); in testBuyCat() 92 assertEquals("Sorry, I don't sell dogs.", getReply(npc)); in testBuyCat() 137 assertEquals("Bye.", getReply(npc)); in testBuyCat() 145 final SpeakerNPC npc = getNPC("Felina"); in testSellCat() local [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/semos/village/ |
H A D | SheepSellerNPCTest.java | 23 import games.stendhal.server.entity.npc.SpeakerNPC; 24 import games.stendhal.server.entity.npc.fsm.Engine; 55 final SpeakerNPC npc = getNPC("Nishiya"); in testHiAndBye() local 56 final Engine en = npc.getEngine(); in testHiAndBye() 62 assertEquals("Bye.", getReply(npc)); in testHiAndBye() 70 final SpeakerNPC npc = getNPC("Nishiya"); in testBuySheep() local 71 final Engine en = npc.getEngine(); in testBuySheep() 77 assertEquals("I work as a sheep seller.", getReply(npc)); in testBuySheep() 80 assertEquals("I sell sheep.", getReply(npc)); in testBuySheep() 133 final SpeakerNPC npc = getNPC("Nishiya"); in testSellSheep() local [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/entity/npc/ |
H A D | NPCTest.java | 57 final Engine en = npc.getEngine(); in testHiAndBye() 63 assertEquals("Bye.", getReply(npc)); in testHiAndBye() 72 final Engine en = npc.getEngine(); in testLogic() 74 npc.listenTo(player, "hi"); in testLogic() 80 assertNotNull(npc.getAttending()); in testLogic() 81 npc.preLogic(); in testLogic() 94 npc.setIdea("walk"); in testIdea() 97 npc.setIdea(null); in testIdea() 98 assertEquals(null, npc.getIdea()); in testIdea() 100 npc.setIdea("awaiting"); in testIdea() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/core/engine/db/ |
H A D | StendhalNPCDAO.java | 40 stmt.setString(1, npc.getName()); in dumpNPC() 41 stmt.setString(2, npc.getTitle()); in dumpNPC() 45 stmt.setInt(6, npc.getHP()); in dumpNPC() 46 stmt.setInt(7, npc.getBaseHP()); in dumpNPC() 48 stmt.setInt(9, npc.getX()); in dumpNPC() 49 stmt.setInt(10, npc.getY()); in dumpNPC() 50 stmt.setInt(11, npc.getLevel()); in dumpNPC() 52 stmt.setString(13, npc.getJob()); in dumpNPC() 65 if (npc.getOutfit() != null) { in getOutfit() 79 if (npc.getOutfit() != null) { in getOutfitLayer() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/semos/tavern/ |
H A D | TradeMangerNPCTest.java | 68 final SpeakerNPC npc = getNPC("Harold"); in wipeMarket() local 69 if (npc instanceof MarketManagerNPC) { in wipeMarket() 79 final SpeakerNPC npc = getNPC("Harold"); in testCreateInvalidOffer() local 80 final Engine en = npc.getEngine(); in testCreateInvalidOffer() 106 final SpeakerNPC npc = getNPC("Harold"); in testSuccessfullOfferPlacement() local 107 final Engine en = npc.getEngine(); in testSuccessfullOfferPlacement() 140 final Engine en = npc.getEngine(); in testCreateOfferForFree() 168 final Engine en = npc.getEngine(); in testSellPlural() 193 final Engine en = npc.getEngine(); in testSellPluralNonStackable() 215 final Engine en = npc.getEngine(); in testSellContainer() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/mithrilcloak/ |
H A D | CloakForJosephine.java | 19 import games.stendhal.server.entity.npc.ChatAction; 20 import games.stendhal.server.entity.npc.ConversationStates; 21 import games.stendhal.server.entity.npc.EventRaiser; 22 import games.stendhal.server.entity.npc.NPCList; 23 import games.stendhal.server.entity.npc.SpeakerNPC; 57 final SpeakerNPC npc = npcs.get("Josephine"); in takeStripedCloakStep() local 68 npc.setCurrentState(ConversationStates.ATTENDING); in takeStripedCloakStep() 83 npc.setCurrentState(ConversationStates.ATTENDING); in takeStripedCloakStep() 91 npc.add(ConversationStates.ATTENDING, in takeStripedCloakStep() 106 final SpeakerNPC npc = npcs.get("Ida"); in askforClaspStep() local [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/marriage/ |
H A D | MakeRings.java | 25 import games.stendhal.server.entity.npc.NPCList; 52 final SpeakerNPC npc = npcs.get("Ognir"); in makeRingsStep() local 54 npc.add(ConversationStates.ATTENDING, in makeRingsStep() 69 npc.say("I need " in makeRingsStep() 79 npc.add(ConversationStates.ATTENDING, in makeRingsStep() 87 npc.add(ConversationStates.ATTENDING, in makeRingsStep() 95 npc.add(ConversationStates.ATTENDING, in makeRingsStep() 106 npc.add(ConversationStates.ATTENDING, in makeRingsStep() 115 npc.add(ConversationStates.ATTENDING, in makeRingsStep() 173 npc.say("Good, come back in " in makeRingsStep() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/quests/logic/ |
H A D | BringListOfItemsQuestLogicTest.java | 128 quest.setNpc(npc); in testWelcomeNewPlayer() 146 quest.setNpc(npc); in testShouldNotWelcomePlayerAfterQuest() 169 quest.setNpc(npc); in testShouldWelcomePlayerAfterQuest() 186 quest.setNpc(npc); in doQuest() 222 npc.remove("text"); in doQuest() 253 quest.setNpc(npc); in testAcceptQuest() 280 quest.setNpc(npc); in testRejectQuest() 305 this.npc = npc; in setNpc() 335 return npc; in getNPC() 474 return npc; in getNPC() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/script/ |
H A D | Maria.java | 17 import games.stendhal.server.entity.npc.ShopList; 72 npc.setEntityClass("tavernbarmaidnpc"); in load() 97 npc.setPosition(x, y); in load() 98 sandbox.add(npc); in load() 102 npc.behave( in load() 105 npc.behave("tavern", in load() 108 npc.behave("help", in load() 110 npc.behave("bye", "Bye bye!"); in load() 121 npc.addInitChatMessage( in load() 142 npc.add(ConversationStates.IDLE, in load() [all …]
|