/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/ |
H A D | CloakCollector2.java | 114 npc.add(ConversationStates.IDLE, in step_1() 128 npc.add(ConversationStates.QUEST_2_OFFERED, in step_1() 150 npc.add(ConversationStates.QUEST_2_OFFERED, in step_1() 244 npc.add( in step_3() 252 npc.add(ConversationStates.QUESTION_2, in step_3() 274 npc.add(ConversationStates.QUESTION_2, in step_3() 282 npc.add(ConversationStates.QUESTION_2, in step_3() 330 npc.add(ConversationStates.ATTENDING, in step_3() 343 npc.add(ConversationStates.QUESTION_2, in step_3() 354 npc.add(ConversationStates.IDLE, in step_3() [all …]
|
H A D | KillDhohrNuggetcutter.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; 31 import games.stendhal.server.entity.npc.action.SetQuestAction; 82 final SpeakerNPC npc = npcs.get("Zogfang"); in step_1() local 84 npc.add(ConversationStates.ATTENDING, in step_1() 126 npc.add(ConversationStates.QUEST_OFFERED, in step_1() 133 npc.add(ConversationStates.QUEST_OFFERED, in step_1() [all …]
|
H A D | MeetHackim.java | 20 import games.stendhal.server.entity.npc.ChatAction; 21 import games.stendhal.server.entity.npc.ConversationPhrases; 22 import games.stendhal.server.entity.npc.ConversationStates; 23 import games.stendhal.server.entity.npc.SpeakerNPC; 70 final SpeakerNPC npc = npcs.get("Hackim Easso"); in prepareHackim() local 72 npc.add( in prepareHackim() 80 npc.add( in prepareHackim() 88 npc.add( in prepareHackim() 103 npc.add(ConversationStates.INFORMATION_3, in prepareHackim() 110 npc.add(ConversationStates.INFORMATION_3, in prepareHackim() [all …]
|
H A D | FishermansLicenseQuiz.java | 27 import games.stendhal.server.entity.npc.ChatAction; 28 import games.stendhal.server.entity.npc.ConversationPhrases; 29 import games.stendhal.server.entity.npc.ConversationStates; 30 import games.stendhal.server.entity.npc.EventRaiser; 31 import games.stendhal.server.entity.npc.SpeakerNPC; 32 import games.stendhal.server.entity.npc.condition.NotCondition; 183 npc.setCurrentState(ConversationStates.QUEST_2_OFFERED); in createQuizStep() 192 npc.setCurrentState(ConversationStates.QUEST_OFFERED); in createQuizStep() 235 npc.say("Correct! So, what kind of fish is this?"); in createQuizStep() 237 npc.setCurrentState(ConversationStates.QUESTION_1); in createQuizStep() [all …]
|
H A D | WeaponsCollector2.java | 122 final SpeakerNPC npc = getNPC(); in step_1() local 125 npc.add(ConversationStates.IDLE, in step_1() 134 npc.add(ConversationStates.ATTENDING, in step_1() 153 npc.add(ConversationStates.QUEST_2_OFFERED, in step_1() 176 npc.add(ConversationStates.ATTENDING, in step_1() 196 npc.add(ConversationStates.QUESTION_2, in step_1() 212 npc.add(ConversationStates.QUESTION_2, in step_1() 220 npc.add(ConversationStates.QUESTION_2, in step_1() 275 final SpeakerNPC npc = getNPC(); in step_3() local 278 playerReturnsWhileQuestIsActive(npc); in step_3() [all …]
|
H A D | MeetBunny.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.NPCList; 25 import games.stendhal.server.entity.npc.SpeakerNPC; 26 import games.stendhal.server.entity.npc.action.EquipItemAction; 27 import games.stendhal.server.entity.npc.action.MultipleActions; 28 import games.stendhal.server.entity.npc.action.SetQuestAction; 148 SpeakerNPC npc = NPCList.get().get(name); in removeNPC() local 149 if (npc == null) { in removeNPC() [all …]
|
H A D | WizardBank.java | 26 import games.stendhal.server.entity.npc.ChatAction; 29 import games.stendhal.server.entity.npc.EventRaiser; 30 import games.stendhal.server.entity.npc.SpeakerNPC; 78 private SpeakerNPC npc; field in WizardBank 160 npc.say(playerTemp.getTitle() + ", you have " in onTurnReached() 166 npc.say("Sorry, " + playerTemp.getTitle() in onTurnReached() 182 npc = new SpeakerNPC("Javier X") { in createNPC() 342 npc.setEntityClass("brownwizardnpc"); in createNPC() 343 npc.setPosition(15, 10); in createNPC() 344 npc.initHP(100); in createNPC() [all …]
|
H A D | MeetSanta.java | 26 import games.stendhal.server.entity.npc.ChatAction; 27 import games.stendhal.server.entity.npc.ConversationPhrases; 28 import games.stendhal.server.entity.npc.ConversationStates; 29 import games.stendhal.server.entity.npc.EventRaiser; 30 import games.stendhal.server.entity.npc.NPCList; 31 import games.stendhal.server.entity.npc.SpeakerNPC; 32 import games.stendhal.server.entity.npc.action.EquipItemAction; 34 import games.stendhal.server.entity.npc.action.SetQuestAction; 210 SpeakerNPC npc = NPCList.get().get(name); in removeNPC() local 211 if (npc == null) { in removeNPC() [all …]
|
H A D | DailyItemQuest.java | 23 import games.stendhal.server.entity.npc.ChatAction; 26 import games.stendhal.server.entity.npc.SpeakerNPC; 333 final SpeakerNPC npc = npcs.get("Mayor Chalmers"); in getQuest() local 370 final SpeakerNPC npc = npcs.get("Mayor Chalmers"); in completeQuest() local 372 npc.add(ConversationStates.ATTENDING, in completeQuest() 379 npc.add(ConversationStates.ATTENDING, in completeQuest() 394 npc.add(ConversationStates.ATTENDING, in completeQuest() 402 npc.add(ConversationStates.ATTENDING, in completeQuest() 416 npc.add(ConversationStates.ATTENDING, in abortQuest() 425 npc.add(ConversationStates.ATTENDING, in abortQuest() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/magic/house1/ |
H A D | ChallengerNPC.java | 27 import games.stendhal.server.entity.npc.ChatAction; 28 import games.stendhal.server.entity.npc.ChatCondition; 31 import games.stendhal.server.entity.npc.EventRaiser; 32 import games.stendhal.server.entity.npc.SpeakerNPC; 71 npc.setCurrentState(ConversationStates.ATTENDING); in fire() 246 npc.setPosition(14, 4); in buildNPC() 247 npc.setEntityClass("chaos_sorcerornpc"); in buildNPC() 248 npc.setDirection(Direction.DOWN); in buildNPC() 250 npc.setLevel(600); in buildNPC() 251 npc.initHP(75); in buildNPC() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/maps/quests/ |
H A D | VampireSwordTest.java | 34 import games.stendhal.server.entity.npc.SpeakerNPC; 35 import games.stendhal.server.entity.npc.fsm.Engine; 95 final SpeakerNPC npc = vs.npcs.get(DWARF_NPC); in requestQuest() local 111 final SpeakerNPC npc = vs.npcs.get(DWARF_NPC); in requestAgainAfterDone() local 126 final SpeakerNPC npc = vs.npcs.get(DWARF_NPC); in requestWhileQuestActive() local 146 final SpeakerNPC npc = vs.npcs.get(DWARF_NPC); in rejectQuest() local 183 final SpeakerNPC npc = vs.npcs.get(DWARF_NPC); in testDwarfsExplanations() local 258 final SpeakerNPC npc = vs.npcs.get(DWARF_NPC); in refuseAnotherGoblet() local 372 String answer = getReply(npc); in askForFillingWithoutNeededItems() 394 String answer = getReply(npc); in askForFillingWithIncompleteItems() [all …]
|
H A D | PlinksToyTest.java | 29 import games.stendhal.server.entity.npc.SpeakerNPC; 30 import games.stendhal.server.entity.npc.fsm.Engine; 41 private SpeakerNPC npc = null; field in PlinksToyTest 68 npc = SingletonRepository.getNPCList().get("Plink"); in testQuest() 69 en = npc.getEngine(); in testQuest() 76 assertEquals("*sniff* Thanks a lot! *smile*", getReply(npc)); in testQuest() 85 assertEquals("*sniff* But... but... PLEASE! *cries*", getReply(npc)); in testQuest() 90 assertEquals("*sniff* Thanks a lot! *smile*", getReply(npc)); in testQuest() 110 assertEquals("Be careful out east, there are wolves about!", getReply(npc)); in testQuest() 112 assertEquals("I play all day.", getReply(npc)); in testQuest() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/script/ |
H A D | Herald.java | 185 npc.say(text); in workWithCounters() 246 npc.say(sb.toString()); in getHerald() 279 npc.say(sb.toString()); in getHerald() 317 npc.say(FeelBad); in getHerald() 321 npc.say(DontUnderstand); in getHerald() 343 npc.say(BadJoke); in getHerald() 365 npc.say(DontUnderstand); in getHerald() 443 zone.assignRPObjectID(npc); in getHerald() 445 npc.setPosition(x, y); in getHerald() 446 npc.initHP(100); in getHerald() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/kalavan/citygardens/ |
H A D | GardenerNPC.java | 32 import games.stendhal.server.entity.npc.ConversationPhrases; 33 import games.stendhal.server.entity.npc.EventRaiser; 34 import games.stendhal.server.entity.npc.SpeakerNPC; 36 import games.stendhal.server.entity.npc.behaviour.adder.SellerAdder; 71 final SpeakerNPC npc = new SpeakerNPC("Sue") { in buildNPC() local 127 npc.say("Then I'll want " in buildNPC() 151 npc.say("Thanks! Come back in " in buildNPC() 224 npc.setEntityClass("gardenernpc"); in buildNPC() 225 npc.setPosition(100, 123); in buildNPC() 226 npc.initHP(100); in buildNPC() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/semos/plains/ |
H A D | MillerNPC.java | 22 import games.stendhal.server.entity.npc.SpeakerNPC; 23 import games.stendhal.server.entity.npc.behaviour.adder.ProducerAdder; 24 import games.stendhal.server.entity.npc.behaviour.adder.SellerAdder; 25 import games.stendhal.server.entity.npc.behaviour.impl.ProducerBehaviour; 41 SpeakerNPC npc = new SpeakerNPC("Jenny") { in buildNPC() local 69 new SellerAdder().addSeller(npc, new SeedSellerBehaviour()); in buildNPC() 71 npc.setPosition(19, 39); in buildNPC() 72 npc.setDescription("You see Jenny. She is the local miller."); in buildNPC() 73 npc.setDirection(Direction.DOWN); in buildNPC() 74 npc.setEntityClass("woman_003_npc"); in buildNPC() [all …]
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | mission_companion.h | 20 class npc; variable 24 using npc_ptr = shared_ptr_fast<npc>; 72 void companion_mission( npc &p ); 100 void field_build_1( npc &p ); 101 void field_build_2( npc &p ); 104 bool scavenging_patrol_return( npc &p ); 105 bool scavenging_raid_return( npc &p ); 106 bool labor_return( npc &p ); 107 bool carpenter_return( npc &p ); 108 bool forage_return( npc &p ); [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/npc/behaviour/adder/ |
H A D | BuyerAdder.java | 13 package games.stendhal.server.entity.npc.behaviour.adder; 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.EventRaiser; 27 import games.stendhal.server.entity.npc.SpeakerNPC; 28 import games.stendhal.server.entity.npc.action.BehaviourAction; 35 import games.stendhal.server.entity.npc.fsm.Engine; 51 addBuyer(npc, buyerBehaviour, true); in addBuyer() 55 final Engine engine = npc.getEngine(); in addBuyer() [all …]
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | mission_companion.h | 20 class npc; variable 24 using npc_ptr = shared_ptr_fast<npc>; 72 void companion_mission( npc &p ); 100 void field_build_1( npc &p ); 101 void field_build_2( npc &p ); 104 bool scavenging_patrol_return( npc &p ); 105 bool scavenging_raid_return( npc &p ); 106 bool labor_return( npc &p ); 107 bool carpenter_return( npc &p ); 108 bool forage_return( npc &p ); [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/semos/house/ |
H A D | AdminHelpNPC.java | 21 import games.stendhal.server.entity.npc.ConversationStates; 22 import games.stendhal.server.entity.npc.SpeakerNPC; 25 import games.stendhal.server.entity.npc.action.TeleportAction; 26 import games.stendhal.server.entity.npc.behaviour.adder.HealerAdder; 27 import games.stendhal.server.entity.npc.condition.AdminCondition; 39 SpeakerNPC npc = new SpeakerNPC("Skye") { in configureZone() local 105 new HealerAdder().addHealer(npc, 0); in configureZone() 106 npc.setPosition(16, 7); in configureZone() 108 npc.setDirection(Direction.DOWN); in configureZone() 109 npc.setEntityClass("beautifulgirlnpc"); in configureZone() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/net/npf/ |
H A D | npf_bpf.c | 83 const struct mbuf *mbuf = nbuf_head_mbuf(npc->npc_nbuf); in npf_bpf_prepare() 91 args->arg = npc; in npf_bpf_prepare() 101 const u_int alen = npc->npc_alen; in npf_bpf_prepare() 111 M[BPF_MW_L4OFF] = npc->npc_hlen; in npf_bpf_prepare() 112 M[BPF_MW_L4PROTO] = npc->npc_proto; in npf_bpf_prepare() 147 const uint32_t ver = (npc->npc_alen & 4) | ((npc->npc_alen >> 4) * 6); in npf_cop_l3() 151 M[BPF_MW_L4OFF] = npc->npc_hlen; in npf_cop_l3() 152 M[BPF_MW_L4PROTO] = npc->npc_proto; in npf_cop_l3() 172 KASSERT(npf_iscached(npc, NPC_IP46)); in npf_cop_table() 177 addr = npc->npc_ips[(A & SRC_FLAG_BIT) ? NPF_SRC : NPF_DST]; in npf_cop_table() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/wofol/blacksmith/ |
H A D | BlacksmithNPC.java | 33 import games.stendhal.server.entity.npc.ChatAction; 34 import games.stendhal.server.entity.npc.ConversationPhrases; 35 import games.stendhal.server.entity.npc.ConversationStates; 36 import games.stendhal.server.entity.npc.EventRaiser; 37 import games.stendhal.server.entity.npc.SpeakerNPC; 142 npc.say("OK, I will " in buildBlacksmith() 172 npc.say("I'm still working on your request to " in buildBlacksmith() 186 npc.say("I'm done! Here you have " in buildBlacksmith() 219 + npc.getName() + " saying " + sentence); in buildBlacksmith() 236 final EventRaiser npc) { in buildBlacksmith() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/ados/fishermans_hut/ |
H A D | FishermanNPC.java | 34 import games.stendhal.server.entity.npc.ChatAction; 35 import games.stendhal.server.entity.npc.ConversationPhrases; 36 import games.stendhal.server.entity.npc.ConversationStates; 37 import games.stendhal.server.entity.npc.EventRaiser; 38 import games.stendhal.server.entity.npc.SpeakerNPC; 143 npc.say("OK, I will " in buildFisherman() 173 npc.say("I'm still working on your request to " in buildFisherman() 188 npc.say("I'm done! Here you have " in buildFisherman() 221 + npc.getName() + " saying " + sentence); in buildFisherman() 255 final EventRaiser npc) { in buildFisherman() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/deniran/cityoutside/ |
H A D | DeniranOldWitchHealerNPC.java | 18 import games.stendhal.server.entity.npc.SpeakerNPC; 19 import games.stendhal.server.entity.npc.behaviour.adder.HealerAdder; 20 import games.stendhal.server.entity.npc.behaviour.impl.MonologueBehaviour; 41 final SpeakerNPC npc = new SpeakerNPC("Ermenegilda") { in buildNPC() local 53 npc.setEntityClass("oldwitchnpc"); in buildNPC() 54 npc.setDescription("You see Ermenegilda... Maybe she can heal you!"); in buildNPC() 55 npc.setPosition(18, 105); in buildNPC() 57 new HealerAdder().addHealer(npc, -1); in buildNPC() 58 npc.initHP(100); in buildNPC() 59 zone.add(npc); in buildNPC() [all …]
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/semos/city/ |
H A D | HealerNPC.java | 26 import games.stendhal.server.entity.npc.SpeakerNPC; 27 import games.stendhal.server.entity.npc.behaviour.adder.HealerAdder; 28 import games.stendhal.server.entity.npc.behaviour.adder.SellerAdder; 29 import games.stendhal.server.entity.npc.behaviour.impl.SellerBehaviour; 43 final SpeakerNPC npc = new SpeakerNPC("Carmen") { in buildNPC() local 62 new HealerAdder().addHealer(npc, 0); in buildNPC() 63 npc.setPosition(5, 46); in buildNPC() 64 npc.setCollisionAction(CollisionAction.STOP); in buildNPC() 66 npc.setEntityClass("welcomernpc"); in buildNPC() 67 npc.setSounds(Arrays.asList("giggle-female-01", "giggle-female-02")); in buildNPC() [all …]
|
/dports/games/omega/omega/ |
H A D | mon.c | 530 pmt npc; in make_hiscore_npc() 536 npc->aux2 = npcid; 627 pmt npc; in determine_npc_behavior() 637 if (npc->level < 2*difficulty()) npc->status += HOSTILE; 638 npc->xpv = npc->level*20; 644 npc->speed = 3; 651 npc->speed = 4; 658 npc->speed = 6; 665 npc->speed = 3; 672 npc->speed = 3; [all …]
|