Home
last modified time | relevance | path

Searched refs:npc (Results 26 – 50 of 2009) sorted by relevance

12345678910>>...81

/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/
H A DSadScientist.java218 npc.add(ConversationStates.IDLE, in playerReturnsToFetchReward()
232 npc.add(ConversationStates.IDLE, in playerReturnsToFetchReward()
266 SpeakerNPC npc) { in playerReturnsWithoutKillingTheImperialScientistOrWithoutGoblet() argument
511 npc.add(ConversationStates.IDLE, in startOfQuest()
519 npc.add(ConversationStates.ATTENDING, in startOfQuest()
526 npc.add(ConversationStates.QUEST_OFFERED, in startOfQuest()
535 npc.add(ConversationStates.QUEST_STARTED, in startOfQuest()
544 npc.add(ConversationStates.QUEST_STARTED, in startOfQuest()
553 npc.add(ConversationStates.QUEST_STARTED, in startOfQuest()
560 npc.add(ConversationStates.QUEST_STARTED, in startOfQuest()
[all …]
H A DZekielsPracticalTestQuest.java87 npc.add(ConversationStates.ATTENDING, in prepareQuestOfferingStep()
96 npc.add(ConversationStates.ATTENDING, in prepareQuestOfferingStep()
105 npc.add(ConversationStates.ATTENDING, in prepareQuestOfferingStep()
113 npc.add(ConversationStates.ATTENDING, in prepareQuestOfferingStep()
122 npc.add(ConversationStates.ATTENDING, in prepareQuestOfferingStep()
130 npc.add(ConversationStates.ATTENDING, in prepareQuestOfferingStep()
138 npc.add(ConversationStates.ATTENDING, in prepareQuestOfferingStep()
211 npc.add(ConversationStates.IDLE, in practicalTestStep()
220 npc.add(ConversationStates.ATTENDING, in practicalTestStep()
229 npc.add(ConversationStates.ATTENDING, in practicalTestStep()
[all …]
H A DMeetZynn.java46 npc in step_1()
51 npc in step_1()
56 npc in step_1()
61 npc in step_1()
66 npc in step_1()
71 npc in step_1()
76 npc in step_1()
81 npc in step_1()
86 npc in step_1()
91 npc in step_1()
[all …]
H A DMeetMonogenes.java75 npc.add( in addToWorld()
83 npc.add( in addToWorld()
95 npc.add( in addToWorld()
107 npc.add( in addToWorld()
116 npc.addReply( in addToWorld()
120 npc.addReply( in addToWorld()
124 npc.add( in addToWorld()
138 npc.addReply( in addToWorld()
142 npc.addReply( in addToWorld()
146 npc.addReply( in addToWorld()
[all …]
H A DFishSoup.java128 npc.add( in step_1()
139 npc.add( in step_1()
151 npc.add(ConversationStates.IDLE, in step_1()
187 npc.say("I need " in step_1()
210 npc.add( in step_1()
220 npc.add( in step_1()
229 npc.add( in step_1()
246 npc.add( in step_3()
264 npc.say("I still need " in step_3()
273 npc.add(ConversationStates.QUESTION_1, in step_3()
[all …]
/dports/games/stendhal/stendhal-1.35/data/script/region/semos/city/
H A DTestServerHelper.lua17 local npc = nil
60 npc:setPosition(17, 42)
64 npc:addGoodbye("See ya!");
68 npc:addHelp(helpReply)
69 npc:addOffer(helpReply)
136 npc:say(response)
239 summoner = npc:getName(),
281 npc:say(sb:toString())
343 npc:say(sb:toString())
487 if npc ~= nil then
[all …]
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/kalavan/citygardens/
H A DIceCreamSellerNPCTest.java24 import games.stendhal.server.entity.npc.SpeakerNPC;
25 import games.stendhal.server.entity.npc.fsm.Engine;
56 final SpeakerNPC npc = getNPC("Sam"); in testHiAndBye() local
57 assertNotNull(npc); in testHiAndBye()
58 final Engine en = npc.getEngine(); in testHiAndBye()
64 assertEquals("Bye, enjoy your day!", getReply(npc)); in testHiAndBye()
72 final SpeakerNPC npc = getNPC("Sam"); in testBuyIceCream() local
73 final Engine en = npc.getEngine(); in testBuyIceCream()
82 assertEquals("I sell ice cream.", getReply(npc)); in testBuyIceCream()
165 final SpeakerNPC npc = getNPC("Sam"); in testSellIceCream() local
[all …]
/dports/games/exult/exult-snapshot-v1.7.0.20211128/
H A Dnpcnear.cc50 Npc_actor *npc, in add() argument
68 Npc_actor *npc in remove() argument
70 npc->clear_nearby(); in remove()
80 Actor *npc in Bg_dont_wake() argument
102 Tile_coord t = npc->get_tile(); in handle_event()
107 npc->clear_nearby(); in handle_event()
113 if (npc->get_schedule() && in handle_event()
123 if (npc->is_goblin()) in handle_event()
124 npc->say(goblin_awakened); in handle_event()
125 else if (npc->can_speak()) in handle_event()
[all …]
H A Dnpctime.cc307 Actor *npc = list->npc; in handle_event() local
360 Actor *npc = list->npc; in handle_event() local
386 Actor *npc = list->npc; in handle_event() local
388 if (npc->is_in_party() || gmap->is_chunk_read(npc->get_cx(), npc->get_cy())) { in handle_event()
406 npc->clear_sleep(); in handle_event()
414 npc->change_frame( in handle_event()
454 Actor *npc = list->npc; in handle_event() local
463 if (!npc->is_dead()) in handle_event()
481 Actor *npc = list->npc; in handle_event() local
490 if (!npc->is_dead()) in handle_event()
[all …]
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/quests/
H A DFishSoupForHughieTest.java30 private SpeakerNPC npc = null; field in FishSoupForHughieTest
72 en = npc.getEngine(); in testMeetPhilomenaToGetHint()
93 en = npc.getEngine(); in testQuest()
111 assertEquals("Goodbye.", getReply(npc)); in testQuest()
120 assertEquals("Goodbye.", getReply(npc)); in testQuest()
129 assertEquals("Goodbye.", getReply(npc)); in testQuest()
141 assertEquals("Goodbye.", getReply(npc)); in testQuest()
155 assertNull(getReply(npc)); in testQuest()
161 assertEquals("Goodbye.", getReply(npc)); in testQuest()
169 en = npc.getEngine(); in testRepeatingQuest()
[all …]
H A DUltimateCollectorTest.java30 import games.stendhal.server.entity.npc.SpeakerNPC;
31 import games.stendhal.server.entity.npc.fsm.Engine;
40 private SpeakerNPC npc = null; field in UltimateCollectorTest
70 npc = SingletonRepository.getNPCList().get("Balduin"); in testQuest()
71 en = npc.getEngine(); in testQuest()
94 assertEquals("It was nice to meet you.", getReply(npc)); in testQuest()
111 assertEquals("It was nice to meet you.", getReply(npc)); in testQuest()
127 assertEquals("It was nice to meet you.", getReply(npc)); in testQuest()
145 assertEquals("It was nice to meet you.", getReply(npc)); in testQuest()
160 assertEquals("It was nice to meet you.", getReply(npc)); in testQuest()
[all …]
H A DIcecreamForAnnieTest.java48 private SpeakerNPC npc = null; field in IcecreamForAnnieTest
78 en = npc.getEngine(); in testQuest()
94 assertEquals("Ta ta.", getReply(npc)); in testQuest()
101 assertEquals("Ta ta.", getReply(npc)); in testQuest()
104 en = npc.getEngine(); in testQuest()
128 en = npc.getEngine(); in testQuest()
134 en = npc.getEngine(); in testQuest()
145 en = npc.getEngine(); in testQuest()
160 assertEquals("Ta ta.", getReply(npc)); in testQuest()
163 assertEquals("Hello.", getReply(npc)); in testQuest()
[all …]
H A DBalloonForBobbyTest.java24 private SpeakerNPC npc = null; field in BalloonForBobbyTest
81 en = npc.getEngine(); in runQuestDialogue()
94 assertEquals("Hm?", getReply(npc)); in runQuestDialogue()
112 assertEquals("Good bye.", getReply(npc)); in runQuestDialogue()
133 assertEquals("Good bye.", getReply(npc)); in runQuestDialogue()
143 assertEquals("!me pouts.", getReply(npc)); in runQuestDialogue()
161 assertEquals("Good bye.", getReply(npc)); in runQuestDialogue()
169 en = npc.getEngine(); in runMinetownQuestDialogue()
180 assertEquals("Hm?", getReply(npc)); in runMinetownQuestDialogue()
196 assertEquals("Good bye.", getReply(npc)); in runMinetownQuestDialogue()
[all …]
H A DSellingTest.java57 final SpeakerNPC npc = getNPC("Siandra"); in testHiAndBye() local
58 final Engine en = npc.getEngine(); in testHiAndBye()
61 assertEquals("Hi!", getReply(npc)); in testHiAndBye()
64 assertEquals("Bye bye!", getReply(npc)); in testHiAndBye()
72 final SpeakerNPC npc = getNPC("Siandra"); in testSelling() local
73 final Engine en = npc.getEngine(); in testSelling()
76 assertEquals("Hi!", getReply(npc)); in testSelling()
135 final SpeakerNPC npc = getNPC("Siandra"); in testSellPorcini() local
136 final Engine en = npc.getEngine(); in testSellPorcini()
139 assertEquals("Hi!", getReply(npc)); in testSellPorcini()
[all …]
H A DObsidianKnifeTest.java46 private SpeakerNPC npc = null; field in ObsidianKnifeTest
76 en = npc.getEngine(); in testQuest()
87 assertEquals("Bye.", getReply(npc)); in testQuest()
123 assertEquals("Bye.", getReply(npc)); in testQuest()
129 assertEquals("Bye.", getReply(npc)); in testQuest()
132 en = npc.getEngine(); in testQuest()
145 assertEquals("Bye.", getReply(npc)); in testQuest()
149 en = npc.getEngine(); in testQuest()
171 assertEquals("Bye.", getReply(npc)); in testQuest()
183 assertEquals("Bye.", getReply(npc)); in testQuest()
[all …]
H A DSevenCherubsTest.java24 import games.stendhal.server.entity.npc.SpeakerNPC;
25 import games.stendhal.server.entity.npc.fsm.Engine;
36 private SpeakerNPC npc; field in SevenCherubsTest
73 en = npc.getEngine(); in testQuest()
81 en = npc.getEngine(); in testQuest()
89 en = npc.getEngine(); in testQuest()
100 en = npc.getEngine(); in testQuest()
108 en = npc.getEngine(); in testQuest()
119 en = npc.getEngine(); in testQuest()
130 en = npc.getEngine(); in testQuest()
[all …]
H A DCloaksForBarioTest.java26 import games.stendhal.server.entity.npc.SpeakerNPC;
27 import games.stendhal.server.entity.npc.fsm.Engine;
37 private SpeakerNPC npc = null; field in CloaksForBarioTest
49 npc = SingletonRepository.getNPCList().get("Bario"); in setUp()
53 en = npc.getEngine(); in setUp()
75 assertEquals("Bye.", getReply(npc)); in testQuest()
91 assertEquals("Too bad.", getReply(npc)); in testQuest()
93 assertEquals("Bye.", getReply(npc)); in testQuest()
101 assertEquals("Bye.", getReply(npc)); in testQuest()
124 assertEquals("Bye.", getReply(npc)); in testQuest()
[all …]
H A DFishSoupTest.java24 import games.stendhal.server.entity.npc.SpeakerNPC;
25 import games.stendhal.server.entity.npc.fsm.Engine;
38 private SpeakerNPC npc = null; field in FishSoupTest
63 npc = SingletonRepository.getNPCList().get("Florence Boullabaisse"); in testQuest()
64 en = npc.getEngine(); in testQuest()
75 assertEquals("Have a nice stay and day on Ados market!", getReply(npc)); in testQuest()
85 assertEquals("What did you bring?", getReply(npc)); in testQuest()
91 assertEquals("Bye.", getReply(npc)); in testQuest()
106 assertEquals("Bye.", getReply(npc)); in testQuest()
132 assertEquals("What did you bring?", getReply(npc)); in testQuest()
[all …]
H A DSadScientistTest.java44 private SpeakerNPC npc = null; field in SadScientistTest
70 en = npc.getEngine(); in testQuest()
81 assertEquals("Go away!", getReply(npc)); in testQuest()
87 assertEquals("Go away!", getReply(npc)); in testQuest()
92 assertEquals("Go away!", getReply(npc)); in testQuest()
100 assertEquals("Go away!", getReply(npc)); in testQuest()
105 assertEquals("Go away!", getReply(npc)); in testQuest()
194 en = npc.getEngine(); in testQuest()
207 en = npc.getEngine(); in testQuest()
221 assertEquals("Do it!", getReply(npc)); in testQuest()
[all …]
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/mithrilcloak/
H A DGettingTools.java75 npc.add(ConversationStates.ATTENDING, in getScissorsStep()
91 npc.add(ConversationStates.ATTENDING, in getScissorsStep()
98 npc.add( in getScissorsStep()
108 npc.add( in getScissorsStep()
138 npc.add( in getScissorsStep()
147 npc.add(ConversationStates.ATTENDING, in getScissorsStep()
184 npc.add(ConversationStates.ATTENDING, in getEggshellsStep()
226 npc.add(ConversationStates.ATTENDING, in giveScissorsStep()
239 npc.add(ConversationStates.ATTENDING, in giveScissorsStep()
337 npc.say("Ok, bye then."); in getNeedleStep()
[all …]
H A DInitialSteps.java59 final SpeakerNPC npc = npcs.get("Ida"); in offerQuestStep() local
63 npc.add(ConversationStates.ATTENDING, in offerQuestStep()
76 npc.add(ConversationStates.QUEST_OFFERED, in offerQuestStep()
84 npc.add( in offerQuestStep()
94 npc.add(ConversationStates.ATTENDING, in offerQuestStep()
103 npc.add(ConversationStates.ATTENDING, in offerQuestStep()
116 npc.add(ConversationStates.ATTENDING, in offerQuestStep()
136 final SpeakerNPC npc = npcs.get("Ida"); in fixMachineStep() local
139 npc.add(ConversationStates.ATTENDING, in fixMachineStep()
228 npc.add(ConversationStates.ATTENDING, in fixMachineStep()
[all …]
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/semos/tavern/
H A DBarMaidNPCTest.java25 import games.stendhal.server.entity.npc.SpeakerNPC;
26 import games.stendhal.server.entity.npc.fsm.Engine;
57 final SpeakerNPC npc = getNPC("Margaret"); in testHiAndBye() local
58 final Engine en = npc.getEngine(); in testHiAndBye()
64 assertEquals("Bye.", getReply(npc)); in testHiAndBye()
72 final SpeakerNPC npc = getNPC("Margaret"); in testBuyHam() local
73 final Engine en = npc.getEngine(); in testBuyHam()
92 assertEquals("Sorry, I don't sell dogs.", getReply(npc)); in testBuyHam()
95 assertEquals("Sorry, I don't sell houses.", getReply(npc)); in testBuyHam()
162 assertNotNull(npc); in testSellHam()
[all …]
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/kalavan/cottage/
H A DHouseKeeperNPCTest.java59 assertNotNull(npc); in testHiAndBye()
60 final Engine en = npc.getEngine(); in testHiAndBye()
66 assertEquals("Bye now.", getReply(npc)); in testHiAndBye()
75 final Engine en = npc.getEngine(); in testMakeTea()
126 assertEquals("Bye now.", getReply(npc)); in testMakeTea()
135 assertEquals("Bye now.", getReply(npc)); in testMakeTea()
146 assertEquals("Bye now.", getReply(npc)); in testMakeTea()
155 final Engine en = npc.getEngine(); in testBuy()
164 assertEquals("Bye now.", getReply(npc)); in testBuy()
173 final Engine en = npc.getEngine(); in testSell()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/net/npf/
H A Dnpf_inet.c311 npf_recache(npc); in npf_fetch_tcpopts()
348 npc->npc_ip.v4 = ip; in npf_cache_ip()
366 npc->npc_hlen = hlen; in npf_cache_ip()
403 npc->npc_hlen += hlen; in npf_cache_ip()
421 npc->npc_ip.v6 = ip6; in npf_cache_ip()
461 hlen = npc->npc_hlen; in npf_cache_all()
501 npc->npc_info |= flags; in npf_cache_all()
513 npc->npc_info = 0; in npf_recache()
529 memcpy(npc->npc_ips[which], addr, npc->npc_alen); in npf_rwrip()
542 KASSERT(npf_iscached(npc, NPC_TCP) || npf_iscached(npc, NPC_UDP)); in npf_rwrport()
[all …]
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/semos/plains/
H A DMillerNPCTest.java57 final SpeakerNPC npc = getNPC("Jenny"); in testHiAndBye() local
58 final Engine en = npc.getEngine(); in testHiAndBye()
64 assertEquals("Bye.", getReply(npc)); in testHiAndBye()
72 final SpeakerNPC npc = getNPC("Jenny"); in testQuest() local
73 final Engine en = npc.getEngine(); in testQuest()
110 assertEquals("Bye.", getReply(npc)); in testQuest()
121 assertEquals("Bye.", getReply(npc)); in testQuest()
132 assertEquals("Bye.", getReply(npc)); in testQuest()
140 final SpeakerNPC npc = getNPC("Jenny"); in testSellingPansySeed() local
141 final Engine en = npc.getEngine(); in testSellingPansySeed()
[all …]

12345678910>>...81