diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-10-23 21:44:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-10-23 21:44:22 -0300 |
commit | a7c45a192268da2601cef47a4cdba987ae2327ca (patch) | |
tree | c5fb5b97db109fe7106496dd96498c475881046b /npc/024-8 | |
download | serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.gz serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.bz2 serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.xz serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.zip |
Initial commit (Moubootaur Legends fork)
Diffstat (limited to 'npc/024-8')
-rw-r--r-- | npc/024-8/_import.txt | 5 | ||||
-rw-r--r-- | npc/024-8/_warps.txt | 33 | ||||
-rw-r--r-- | npc/024-8/jeremy.txt | 116 | ||||
-rw-r--r-- | npc/024-8/nurse.txt | 23 |
4 files changed, 177 insertions, 0 deletions
diff --git a/npc/024-8/_import.txt b/npc/024-8/_import.txt new file mode 100644 index 0000000..7fcab78 --- /dev/null +++ b/npc/024-8/_import.txt @@ -0,0 +1,5 @@ +// Map 024-8: Frostia Indoors +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/024-8/_warps.txt", +"npc/024-8/jeremy.txt", +"npc/024-8/nurse.txt", diff --git a/npc/024-8/_warps.txt b/npc/024-8/_warps.txt new file mode 100644 index 0000000..9fee9a5 --- /dev/null +++ b/npc/024-8/_warps.txt @@ -0,0 +1,33 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 024-8: Frostia Indoors warps +024-8,71,32,0 warp #024-8_71_32 0,0,024-1,136,29 +024-8,69,24,0 script #024-8_69_24 NPC_HIDDEN,0,0,{ + end; +OnTouch: + slide 37,32; end; +} +024-8,67,24,0 script #024-8_67_24 NPC_HIDDEN,0,0,{ + end; +OnTouch: + slide 30,32; end; +} +024-8,65,24,0 script #024-8_65_24 NPC_HIDDEN,0,0,{ + end; +OnTouch: + slide 23,32; end; +} +024-8,37,33,0 script #024-8_37_33 NPC_HIDDEN,0,0,{ + end; +OnTouch: + slide 69,25; end; +} +024-8,30,33,0 script #024-8_30_33 NPC_HIDDEN,0,0,{ + end; +OnTouch: + slide 67,25; end; +} +024-8,23,33,0 script #024-8_23_33 NPC_HIDDEN,0,0,{ + end; +OnTouch: + slide 65,25; end; +} diff --git a/npc/024-8/jeremy.txt b/npc/024-8/jeremy.txt new file mode 100644 index 0000000..79638bd --- /dev/null +++ b/npc/024-8/jeremy.txt @@ -0,0 +1,116 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// Description: +// Questmaker Handbook 14.0 (F = Favorable) + +024-8,22,27,0 script Jeremy NPC_ELF,{ + .@q = getq(FrostiaQuest_Jeremy); + if (BaseLevel < 50) { + mesc l("The old man seems busy. He ignores you."); + close; + } + if (.@q == 0) { + if (frally()) goto L_Start_F; + else goto L_Start_U; + } + else if (.@q == 1) { + if (frally()) goto L_Submit_F; + else goto L_Submit_U; + } + else if (.@q == 2) { + if (frally()) goto L_Done_F; + else goto L_Done_U; + } + Exception("Invalid quest state - "+str(.@q)); + end; + +L_Start_F: + mesn; + mesq lg("Hey gal, could you do me a little favor?", "Hey pal, could you do me a little favor?"); + next; + mesn; + mesq l("Bring me %d %s, the white slimes keep stealing them and I am a bit too old to go running around, hunting slimes!", 3, getitemlink(SilverMirror)); + setq FrostiaQuest_Jeremy, 1; + close; + +L_Submit_F: + mesn; + mesq l("Did you got the %d %s I've asked?", 3, getitemlink(SilverMirror)); + next; + if (askyesno() == ASK_YES) { + if (countitem(SilverMirror) < 3) { + mesn; + mesq l("You've been spending too much time with humans. You are picking up bad habits from them like lying. Be careful."); + close; + } + delitem SilverMirror, 3; + getexp 24000, 0; + setq FrostiaQuest_Jeremy, 2; + mesn; + mesq lg("Thanks, my friend."); + } + close; + +L_Done_F: + mesn; + mesq l("Thanks for the help earlier."); + next; + mesn; + mesq l("Did you knew that %s was the wizard whom sealed the path to Aethyr, the sacred elf land? I wonder what happened afterwards.", b("Tametomo")); + close; +///////////////////////////////////////////////////////////////////////////////// +L_Start_U: + mesn; + mesq l("What is a %s doing here? Eugh, you stink! You should keep away from our children!", get_race()); + next; + mesn; + mesq l("I hate asking this of a lesser being like you, but if you plan in staying in our town, you should at very least make yourself useful."); + next; + mesn; + mesq l("Bring me %d %s, we elves are infinitely beautiful and the white slimes, just like your kin, seems to envy us. So please recover the stolen mirrors.", 3, getitemlink(SilverMirror)); + setq FrostiaQuest_Jeremy, 1; + close; + +L_Submit_U: + mesn; + mesq l("Did you got the %d %s I've asked?", 3, getitemlink(SilverMirror)); + next; + if (askyesno() == ASK_YES) { + if (countitem(SilverMirror) < 3) { + mesn; + mesq l("You liar, I'll teach you a lesson you won't forget!"); + mesc l("%s slaps you!", .name$); + percentheal -30, 0; + close; + } + delitem SilverMirror, 3; + getexp 24000, 0; + setq FrostiaQuest_Jeremy, 2; + mesn; + mesq l("Hmpf, for a %s, you're a bit resourceful.", get_race()); + } + close; + +L_Done_U: + mesn; + mesq l("What are you still doing here? Begone!"); + next; + mesn; + mesq l("Hmpf, if %s was still around... He sealed the path to Aethyr, the sacred elf land. I'm sure he could protect Frostia from the likes of you as well!", b("Tametomo")); + close; + +OnInit: + .@npcId = getnpcid(.name$); + setunitdata(.@npcId, UDT_HEADBOTTOM, CottonTrousers); + setunitdata(.@npcId, UDT_HEADMIDDLE, LeatherShirt); + setunitdata(.@npcId, UDT_HEADTOP, Beard); + setunitdata(.@npcId, UDT_HAIRSTYLE, 26); + setunitdata(.@npcId, UDT_HAIRCOLOR, 3); + npcsit; + + .sex = G_MALE; + .distance = 5; + end; +} + diff --git a/npc/024-8/nurse.txt b/npc/024-8/nurse.txt new file mode 100644 index 0000000..c50d8e5 --- /dev/null +++ b/npc/024-8/nurse.txt @@ -0,0 +1,23 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// Description: +// Nurse. + +024-8,73,26,0 script Frostia's Nurse NPC_ELF_F,{ + Nurse(.name$, 10, 5); + close; + +OnInit: + .@npcId = getnpcid(.name$); + setunitdata(.@npcId, UDT_HEADBOTTOM, CottonSkirt); + setunitdata(.@npcId, UDT_HEADMIDDLE, TneckSweater); + setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); + setunitdata(.@npcId, UDT_HAIRSTYLE, 12); + setunitdata(.@npcId, UDT_HAIRCOLOR, 14); + + .sex = G_FEMALE; + .distance = 5; + end; +} + |