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/009-4 | |
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/009-4')
-rw-r--r-- | npc/009-4/_import.txt | 5 | ||||
-rw-r--r-- | npc/009-4/_warps.txt | 3 | ||||
-rw-r--r-- | npc/009-4/nurse.txt | 23 | ||||
-rw-r--r-- | npc/009-4/yumi.txt | 60 |
4 files changed, 91 insertions, 0 deletions
diff --git a/npc/009-4/_import.txt b/npc/009-4/_import.txt new file mode 100644 index 0000000..25d6ae1 --- /dev/null +++ b/npc/009-4/_import.txt @@ -0,0 +1,5 @@ +// Map 009-4: Halinarzo Hospital +// This file is generated automatically. All manually added changes will be removed when running the Converter. +"npc/009-4/_warps.txt", +"npc/009-4/nurse.txt", +"npc/009-4/yumi.txt", diff --git a/npc/009-4/_warps.txt b/npc/009-4/_warps.txt new file mode 100644 index 0000000..247d1db --- /dev/null +++ b/npc/009-4/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Map 009-4: Halinarzo Hospital warps +009-4,48,54,0 warp #009-4_48_54 0,0,009-1,33,63 diff --git a/npc/009-4/nurse.txt b/npc/009-4/nurse.txt new file mode 100644 index 0000000..3f6e1eb --- /dev/null +++ b/npc/009-4/nurse.txt @@ -0,0 +1,23 @@ +// TMW-2 Script +// Author: +// Jesusalva + +009-4,39,46,0 script Halinarzo's Nurse NPC_FEMALE,{ + Nurse(.name$, 10, 5); + close; + +OnInit: + .@npcId = getnpcid(.name$); + // I am too lazy to dress every NPC I add >.< + setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); + setunitdata(.@npcId, UDT_HEADMIDDLE, MiniSkirt); + setunitdata(.@npcId, UDT_HEADBOTTOM, ShortTankTop); + setunitdata(.@npcId, UDT_HAIRSTYLE, 12); + setunitdata(.@npcId, UDT_HAIRCOLOR, 9); + + .sex = G_FEMALE; + .distance = 5; + end; + +} + diff --git a/npc/009-4/yumi.txt b/npc/009-4/yumi.txt new file mode 100644 index 0000000..151e26c --- /dev/null +++ b/npc/009-4/yumi.txt @@ -0,0 +1,60 @@ +// TMW2 Script +// Author: Jesusalva +// Description: +// Joaquim's wife. +// TODO sprite on the bed + +009-4,36,33,0 script Yumi NPC_FEMALE,{ + .@q=getq(HalinarzoQuest_SickWife); + if (.@q > 3) goto L_PostAid; + if (.@q == 3) goto L_DoIt; + if (BaseLevel > 36) goto L_PreAid; + + mesn; + mesq l("Hello. Take care with the Mountain Snakes, they're highly poisonous!"); + close; + +L_PreAid: + mesn; + mesq l("Please... Speak low... I am dying........"); + next; + mesn; + mesq l("The nurse... The nurse is... Doing all she can... To help me, though."); + close; + +L_PostAid: + mesn; + mesq l("Ah, I am lively again. I wish I could just raise from this bed and do some exercise, but the Nurse refuses to let me go."); + // There could be another quest stage her + close; + +L_DoIt: + if (countitem(ElixirOfLife) < 1) + goto L_PreAid; + + inventoryplace ElixirOfLife, 1; + delitem ElixirOfLife, 1; + getexp 1000, 0; + setq HalinarzoQuest_SickWife, 4; + mesc l("*gulp* *gulp* *gulp*"); + next; + mesn; + mesq l("AAAAAAAHHHHH, Thanks, I am lively again!"); + next; + mesn; + mesq l("In fact, I am cured! Hooray!!"); + close; + +OnInit: + .@npcId = getnpcid(.name$); + setunitdata(.@npcId, UDT_HEADTOP, NPCEyes); + setunitdata(.@npcId, UDT_HEADMIDDLE, VneckJumper); + setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers); + setunitdata(.@npcId, UDT_WEAPON, CottonGloves); // Do not use boots when lying on the bed + setunitdata(.@npcId, UDT_HAIRSTYLE, 10); + setunitdata(.@npcId, UDT_HAIRCOLOR, 15); + + .sex = G_FEMALE; + .distance = 5; + end; +} |