summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-11-10 18:38:07 -0300
committerJesusaves <cpntb1@ymail.com>2020-11-11 18:41:54 -0300
commit061a482771c08796c7a2ad67cb6e154b27c7e3a8 (patch)
treeedb184ce6d435abbcb0bcd2288f10031e0e5d158
parent153a033e66e60b689a61567802d3793d43688922 (diff)
downloadserverdata-061a482771c08796c7a2ad67cb6e154b27c7e3a8.tar.gz
serverdata-061a482771c08796c7a2ad67cb6e154b27c7e3a8.tar.bz2
serverdata-061a482771c08796c7a2ad67cb6e154b27c7e3a8.tar.xz
serverdata-061a482771c08796c7a2ad67cb6e154b27c7e3a8.zip
Add Yumi, Joaquim's wife.
I'm running out of time, code polishing can be done later
-rw-r--r--db/quest_db.conf4
-rw-r--r--npc/020-2-15/_import.txt1
-rw-r--r--npc/020-2-15/yumi.txt55
3 files changed, 60 insertions, 0 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf
index a5026411..24d27d46 100644
--- a/db/quest_db.conf
+++ b/db/quest_db.conf
@@ -267,6 +267,10 @@ quest_db: (
Id: 157
Name: "TonoriQuest_Hocus"
},
+{
+ Id: 158
+ Name: "TonoriQuest_Joaquim"
+},
// Test Quests, Debug Quests, etc. (1000+)
{
diff --git a/npc/020-2-15/_import.txt b/npc/020-2-15/_import.txt
index 7d0d5bf3..c46214c1 100644
--- a/npc/020-2-15/_import.txt
+++ b/npc/020-2-15/_import.txt
@@ -1,3 +1,4 @@
// Map 020-2-15: Tulimshar Clinic
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/020-2-15/_warps.txt",
+"npc/020-2-15/yumi.txt",
diff --git a/npc/020-2-15/yumi.txt b/npc/020-2-15/yumi.txt
new file mode 100644
index 00000000..8ab5a612
--- /dev/null
+++ b/npc/020-2-15/yumi.txt
@@ -0,0 +1,55 @@
+// TMW2 Script
+// Author: Jesusalva
+// Description:
+// Joaquim's wife.
+// TODO sprite on the bed
+
+020-2-15,33,26,0 script Yumi NPC_EOMIE,{
+ .@q=getq(TonoriQuest_Joaquim);
+ 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 Snakes, they're highly poisonous!");
+ close;
+
+L_PreAid:
+ mesn;
+ mesq l("Please... Speak low... I am dying........");
+ next;
+ mesn;
+ mesq l("The nurse... Eleanore 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 Eleanore 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;
+ quest_xp(.maxLevel, 1000);
+ setq TonoriQuest_Joaquim, 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:
+ .minLevel = 36;
+ .maxLevel = 66;
+
+ .bodytype = BODYTYPE_2;
+ .distance = 5;
+ end;
+}