/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/ |
H A D | PlinksToy.java | 23 import games.stendhal.server.entity.npc.ChatAction; 25 import games.stendhal.server.entity.npc.ConversationStates; 26 import games.stendhal.server.entity.npc.SpeakerNPC; 91 final SpeakerNPC npc = npcs.get("Plink"); in step_1() local 93 npc.add( in step_1() 103 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 112 npc.add( in step_1() 120 npc.add( in step_1() 145 final SpeakerNPC npc = npcs.get("Plink"); in step_3() local 163 npc.add( in step_3() [all …]
|
H A D | MeetHayunn.java | 107 npc.add( in prepareHayunn() 116 npc.add( in prepareHayunn() 125 npc.add(ConversationStates.IDLE, in prepareHayunn() 139 npc.add( in prepareHayunn() 158 npc.add( in prepareHayunn() 168 npc.add(ConversationStates.IDLE, in prepareHayunn() 177 npc.add(ConversationStates.IDLE, in prepareHayunn() 185 npc.add( in prepareHayunn() 193 npc.add( in prepareHayunn() 204 npc.add(ConversationStates.ATTENDING, in prepareHayunn() [all …]
|
H A D | HerbsForJynath.java | 7 import games.stendhal.server.entity.npc.ChatAction; 10 import games.stendhal.server.entity.npc.SpeakerNPC; 91 SpeakerNPC npc = npcs.get("Jynath"); in prepareQuestStep() local 98 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 109 npc.add(ConversationStates.QUEST_OFFERED, in prepareQuestStep() 134 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 143 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 151 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 162 SpeakerNPC npc = npcs.get("Jynath"); in prepareBringingStep() local 179 npc.add(ConversationStates.IDLE, in prepareBringingStep() [all …]
|
H A D | FindGhosts.java | 112 npc.add(ConversationStates.ATTENDING, in askingStep() 119 npc.add(ConversationStates.ATTENDING, in askingStep() 126 npc.add(ConversationStates.ATTENDING, in askingStep() 133 npc.add(ConversationStates.QUEST_OFFERED, in askingStep() 140 npc.add( in askingStep() 148 npc.add( in askingStep() 228 npc.say(reply); in tellingStep() 235 npc.say(reply); in tellingStep() 251 npc.add( in tellingStep() 259 npc.add( in tellingStep() [all …]
|
H A D | HelpWithTheHarvest.java | 125 npc.add(ConversationStates.ATTENDING, in configureNPC() 135 npc.add(ConversationStates.QUEST_OFFERED, in configureNPC() 160 npc.add(ConversationStates.ATTENDING, in configureNPC() 170 npc.add(ConversationStates.ATTENDING, in configureNPC() 180 npc.add(ConversationStates.ATTENDING, in configureNPC() 189 npc.add(ConversationStates.ATTENDING, in configureNPC() 196 npc.add(ConversationStates.ATTENDING, in configureNPC() 203 npc.add(ConversationStates.ATTENDING, in configureNPC() 210 npc.add(ConversationStates.ATTENDING, in configureNPC() 217 npc.add(ConversationStates.ATTENDING, in configureNPC() [all …]
|
H A D | WaterForXhiphin.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; 108 npc.add(ConversationStates.ATTENDING, in requestStep() 116 npc.add(ConversationStates.ATTENDING, in requestStep() 124 npc.add(ConversationStates.ATTENDING, in requestStep() 134 npc.add(ConversationStates.QUEST_OFFERED, in requestStep() 144 npc.add(ConversationStates.QUEST_OFFERED, in requestStep() 209 npc.add(ConversationStates.ATTENDING, in finishStep() 219 npc.add(ConversationStates.ATTENDING, in finishStep() [all …]
|
H A D | RestockFlowerShop.java | 97 String npcName = npc.getName(); in getHistory() 133 npc.add(ConversationStates.ANY, in setupBasicResponses() 145 npc.add(ConversationStates.ATTENDING, in setupActiveQuestResponses() 189 npc.add(ConversationStates.ANY, in setupActiveQuestResponses() 201 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 211 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 219 npc.add(ConversationStates.ATTENDING, in prepareRequestingStep() 278 npc.add(ConversationStates.IDLE, in prepareBringingStep() 286 npc.add(ConversationStates.QUESTION_1, in prepareBringingStep() 294 npc.add(ConversationStates.QUESTION_1, in prepareBringingStep() [all …]
|
H A D | GuessKills.java | 244 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 282 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 291 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 299 npc.add(ConversationStates.ATTENDING, in prepareQuestStep() 339 npc.add(ConversationStates.QUESTION_1, in prepareQuestStep() 346 npc.add(ConversationStates.QUESTION_2, in prepareQuestStep() 353 npc.add(ConversationStates.QUESTION_3, in prepareQuestStep() 361 npc.add(tries, in prepareQuestStep() 369 npc.add(tries, in prepareQuestStep() 380 npc.add(tries, in prepareQuestStep() [all …]
|
H A D | CleanStorageSpace.java | 21 import games.stendhal.server.entity.npc.ChatAction; 22 import games.stendhal.server.entity.npc.ConversationPhrases; 23 import games.stendhal.server.entity.npc.ConversationStates; 24 import games.stendhal.server.entity.npc.SpeakerNPC; 90 final SpeakerNPC npc = npcs.get("Eonna"); in step_1() local 92 npc.add(ConversationStates.ATTENDING, in step_1() 99 npc.add(ConversationStates.ATTENDING, in step_1() 117 npc.add( in step_1() 130 npc.add( in step_1() 145 final SpeakerNPC npc = npcs.get("Eonna"); in step_3() local [all …]
|
H A D | ClubOfThorns.java | 19 import games.stendhal.server.entity.npc.ChatAction; 22 import games.stendhal.server.entity.npc.SpeakerNPC; 76 final SpeakerNPC npc = npcs.get("Orc Saman"); in step_1() local 78 npc.add(ConversationStates.ATTENDING, in step_1() 85 npc.add(ConversationStates.ATTENDING, in step_1() 92 npc.add(ConversationStates.ATTENDING, in step_1() 107 npc.add( in step_1() 115 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 128 final SpeakerNPC npc = npcs.get("Orc Saman"); in step_3() local 138 npc.add(ConversationStates.ATTENDING, "kill", in step_3() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/quests/ |
H A D | FindGhostsTest.java | 94 getReply(npc)); in testRejectQuest() 98 getReply(npc)); in testRejectQuest() 102 getReply(npc)); in testRejectQuest() 110 getReply(npc)); in testRejectQuest() 125 getReply(npc)); in testAcceptQuest() 144 getReply(npc)); in testRejectthenAcceptQuest() 148 getReply(npc)); in testRejectthenAcceptQuest() 152 getReply(npc)); in testRejectthenAcceptQuest() 156 getReply(npc)); in testRejectthenAcceptQuest() 165 getReply(npc)); in testRejectthenAcceptQuest() [all …]
|
H A D | ElfPrincessTest.java | 27 import games.stendhal.server.entity.npc.SpeakerNPC; 28 import games.stendhal.server.entity.npc.fsm.Engine; 39 private SpeakerNPC npc = null; field in ElfPrincessTest 54 en = npc.getEngine(); in setUp() 65 en = npc.getEngine(); in setUp() 76 assertEquals("Hail to thee, human.", getReply(npc)); in testQuest() 87 assertEquals("Hail to thee, human.", getReply(npc)); in testQuest() 97 assertEquals("Goodbye, strange one.", getReply(npc)); in testQuest() 113 assertEquals("Hail to thee, human.", getReply(npc)); in testQuest() 133 assertEquals("Hail to thee, human.", getReply(npc)); in testQuest() [all …]
|
H A D | DragonLairTest.java | 28 import games.stendhal.server.entity.npc.SpeakerNPC; 29 import games.stendhal.server.entity.npc.fsm.Engine; 42 private SpeakerNPC npc = null; field in DragonLairTest 72 npc = SingletonRepository.getNPCList().get("Wishman"); in testQuest() 73 en = npc.getEngine(); in testQuest() 77 assertEquals("Greetings, my fellow traveler. What may I do for you?", getReply(npc)); in testQuest() 79 assertEquals("Would you like to visit our dragon lair?", getReply(npc)); in testQuest() 86 assertEquals("Greetings, my fellow traveler. What may I do for you?", getReply(npc)); in testQuest() 88 assertEquals("Would you like to visit our dragon lair?", getReply(npc)); in testQuest() 105 assertEquals("Greetings, my fellow traveler. What may I do for you?", getReply(npc)); in testQuest() [all …]
|
H A D | KillSpidersTest.java | 54 private SpeakerNPC npc = null; field in KillSpidersTest 77 en = npc.getEngine(); in setUp() 122 assertEquals("Bye.", getReply(npc)); in testQuest() 135 assertEquals("Bye.", getReply(npc)); in testQuest() 140 assertEquals("Bye.", getReply(npc)); in testQuest() 169 assertEquals("Bye.", getReply(npc)); in testQuest() 176 assertEquals("Bye.", getReply(npc)); in testQuest() 191 assertEquals("Bye.", getReply(npc)); in testQuest() 200 assertEquals("Bye.", getReply(npc)); in testQuest() 216 assertEquals("Bye.", getReply(npc)); in testOldQuest() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/npc/behaviour/adder/ |
H A D | MultiProducerAdder.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; 35 import games.stendhal.server.entity.npc.fsm.Engine; 57 final SpeakerNPC npc, in addMultiProducer() argument 62 final Engine engine = npc.getEngine(); in addMultiProducer() 71 final String npcName = npc.getName(); in addMultiProducer() 151 final EventRaiser npc) { in addMultiProducer() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/mithrilcloak/ |
H A D | TwilightZone.java | 22 import games.stendhal.server.entity.npc.ChatAction; 24 import games.stendhal.server.entity.npc.ConversationStates; 25 import games.stendhal.server.entity.npc.EventRaiser; 26 import games.stendhal.server.entity.npc.NPCList; 27 import games.stendhal.server.entity.npc.SpeakerNPC; 63 final SpeakerNPC npc = npcs.get("Pdiddi"); in getMossStep() local 66 npc.add(ConversationStates.ANY, in getMossStep() 95 npc.add(ConversationStates.QUEST_ITEM_QUESTION, in getMossStep() 105 final SpeakerNPC npc = npcs.get("Ida"); in twilightZoneStep() local 107 npc.add(ConversationStates.ATTENDING, in twilightZoneStep() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/glk/adrift/ |
H A D | scnpcs.cpp | 42 npc, room, gs_npc_location(game, npc)); in npc_in_room() 55 sc_int count, npc; in npc_count_in_room() local 61 for (npc = 0; npc < gs_npc_count(game); npc++) { in npc_count_in_room() 81 vt_key[1].integer = npc; in npc_start_npc_walk() 237 vt_key[1].integer = npc; in npc_announce() 293 vt_key[1].integer = npc; in npc_announce() 313 npc, walk, gs_npc_walkstep(game, npc, walk)); in npc_tick_npc_walk() 322 vt_key[1].integer = npc; in npc_tick_npc_walk() 516 sc_int npc; in npc_tick_npcs() local 531 for (npc = 0; npc < gs_npc_count(game); npc++) { in npc_tick_npcs() [all …]
|
/dports/games/scare/scare-1.3.10/source/ |
H A D | scnpcs.c | 50 npc, room, gs_npc_location (game, npc)); in npc_in_room() 65 sc_int count, npc; in npc_count_in_room() local 71 for (npc = 0; npc < gs_npc_count (game); npc++) in npc_count_in_room() 94 vt_key[1].integer = npc; in npc_start_npc_walk() 267 vt_key[1].integer = npc; in npc_announce() 327 vt_key[1].integer = npc; in npc_announce() 350 npc, walk, gs_npc_walkstep (game, npc, walk)); in npc_tick_npc_walk() 359 vt_key[1].integer = npc; in npc_tick_npc_walk() 572 sc_int npc; in npc_tick_npcs() local 588 for (npc = 0; npc < gs_npc_count (game); npc++) in npc_tick_npcs() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/semos/plains/ |
H A D | ExperiencedWarriorNPCTest.java | 23 import games.stendhal.server.entity.npc.SpeakerNPC; 24 import games.stendhal.server.entity.npc.fsm.Engine; 54 final SpeakerNPC npc = getNPC("Starkad"); in testHiAndBye() local 55 final Engine en = npc.getEngine(); in testHiAndBye() 58 assertEquals("Greetings! How may I help you?", getReply(npc)); in testHiAndBye() 61 assertEquals("Farewell and godspeed!", getReply(npc)); in testHiAndBye() 69 final SpeakerNPC npc = getNPC("Starkad"); in testQuest() local 70 final Engine en = npc.getEngine(); in testQuest() 74 assertEquals("Greetings! How may I help you?", getReply(npc)); in testQuest() 115 assertTrue(getReply(npc).toLowerCase().contains("angel")); in testQuest() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/deniran/river/ |
H A D | DeniranArmy.java | 50 final SilentNPC npc = new SilentNPC(); in buildNPCs() local 54 npc.setPosition(17+i, 83+j); in buildNPCs() 55 npc.setDirection(Direction.DOWN); in buildNPCs() 56 npc.setName("Deniran soldier"); in buildNPCs() 57 zone.add(npc); in buildNPCs() 58 npclist.add(npc); in buildNPCs() 65 npc.setPosition(83+i, 83+j); in buildNPCs() 66 npc.setDirection(Direction.DOWN); in buildNPCs() 67 npc.setName("Deniran soldier"); in buildNPCs() 68 zone.add(npc); in buildNPCs() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/semos/tavern/market/ |
H A D | PrepareOfferHandler.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; 42 public void add(SpeakerNPC npc) { in add() argument 43 npc.add(ConversationStates.ATTENDING, "sell", in add() 47 npc.add(ConversationStates.ATTENDING, "sell", in add() 94 npc.setCurrentState(ConversationStates.ATTENDING); in fire() 96 handleSentence(player, sentence, npc); in fire() 104 npc.setCurrentState(ConversationStates.ATTENDING); in handleSentence() 119 npc.say("Sorry, but I don't think you have any " in handleSentence() [all …]
|
H A D | AcceptOfferHandler.java | 24 import games.stendhal.server.entity.npc.ChatAction; 25 import games.stendhal.server.entity.npc.ConversationPhrases; 26 import games.stendhal.server.entity.npc.ConversationStates; 27 import games.stendhal.server.entity.npc.EventRaiser; 28 import games.stendhal.server.entity.npc.SpeakerNPC; 40 public void add(SpeakerNPC npc) { in add() argument 53 npc.say("Sorry, I did not understand you. " in fire() 56 handleSentence(sentence, npc); in fire() 81 npc.say("Sorry, please say #accept #number"); in handleSentence() 102 npc.say("Thanks."); in fire() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/ados/animal_sanctuary/ |
H A D | ZoologistNPC.java | 21 import games.stendhal.server.entity.npc.ConversationPhrases; 22 import games.stendhal.server.entity.npc.ConversationStates; 23 import games.stendhal.server.entity.npc.SpeakerNPC; 25 import games.stendhal.server.entity.npc.action.NPCEmoteAction; 30 import games.stendhal.server.entity.npc.condition.OrCondition; 50 final SpeakerNPC npc = new SpeakerNPC("Zoey") { in configureZone() local 85 npc.setEntityClass("zoologistnpc"); in configureZone() 86 npc.setPosition(27, 3); in configureZone() 87 npc.setDirection(Direction.UP); in configureZone() 88 npc.setDescription("You see " + npc.getName() + ", a dedicated zoologist."); in configureZone() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/net/npf/ |
H A D | npf_sendpkt.c | 67 npf_return_tcp(npf_cache_t *npc) in npf_return_tcp() argument 81 oth = npc->npc_l4.tcp; in npf_return_tcp() 88 if (npf_iscached(npc, NPC_IP4)) { in npf_return_tcp() 104 if (npf_iscached(npc, NPC_IP4)) { in npf_return_tcp() 105 struct ip *oip = npc->npc_ip.v4; in npf_return_tcp() 150 if (npf_iscached(npc, NPC_IP4)) { in npf_return_tcp() 168 if (npf_iscached(npc, NPC_IP4)) { in npf_return_tcp() 200 if (!npf_iscached(npc, NPC_IP46) || !npf_iscached(npc, NPC_LAYER4)) { in npf_return_block() 203 switch (npc->npc_proto) { in npf_return_block() 206 (void)npf_return_tcp(npc); in npf_return_block() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/semos/kanmararn/ |
H A D | DwarfGuardNPCTest.java | 24 import games.stendhal.server.entity.npc.SpeakerNPC; 25 import games.stendhal.server.entity.npc.fsm.Engine; 65 final SpeakerNPC npc = getNPC("Hunel"); in testHiAndBye() local 66 final Engine en = npc.getEngine(); in testHiAndBye() 80 assertEquals("Bye .. be careful ..", getReply(npc)); in testHiAndBye() 88 final SpeakerNPC npc = getNPC("Hunel"); in testQuest() local 89 final Engine en = npc.getEngine(); in testQuest() 106 assertEquals("Sorry, I don't buy chocolates.", getReply(npc)); in testQuest() 112 assertEquals("Ok, then how else may I help you?", getReply(npc)); in testQuest() 126 assertEquals("Thanks! Here is your money.", getReply(npc)); in testQuest() [all …]
|