summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-22 09:00:08 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-22 09:00:08 -0300
commitcff2d107f0976dd4212d529aecdaa30a29399062 (patch)
tree701949b57201cbd77cbf8dde4e09f36e5aef19f3 /npc
parent4d33051660f1dda176ea9a9fff61b4371fefbe1a (diff)
downloadserverdata-cff2d107f0976dd4212d529aecdaa30a29399062.tar.gz
serverdata-cff2d107f0976dd4212d529aecdaa30a29399062.tar.bz2
serverdata-cff2d107f0976dd4212d529aecdaa30a29399062.tar.xz
serverdata-cff2d107f0976dd4212d529aecdaa30a29399062.zip
Script warp to Mahoud's Basement, required.
Diffstat (limited to 'npc')
-rw-r--r--npc/003-4-1/_import.txt1
-rw-r--r--npc/003-4-1/warp.txt13
-rw-r--r--npc/003-4/_warps.txt1
3 files changed, 14 insertions, 1 deletions
diff --git a/npc/003-4-1/_import.txt b/npc/003-4-1/_import.txt
index de17f1c1b..f9baab1c1 100644
--- a/npc/003-4-1/_import.txt
+++ b/npc/003-4-1/_import.txt
@@ -2,3 +2,4 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/003-4-1/_mobs.txt",
"npc/003-4-1/_warps.txt",
+"npc/003-4-1/warp.txt",
diff --git a/npc/003-4-1/warp.txt b/npc/003-4-1/warp.txt
new file mode 100644
index 000000000..35f49165a
--- /dev/null
+++ b/npc/003-4-1/warp.txt
@@ -0,0 +1,13 @@
+// TMW2 Scripts.
+
+003-4,38,31,0 script Mahoud Basement NPC_HIDDEN,0,0,{
+
+OnTouch:
+ if (isinstance(getq2(TulimsharQuest_Hasan)))
+ warp "hasn@"+str(getcharid(0)), 34, 27;
+ else if (getq(TulimsharQuest_Hasan) > 3)
+ warp "003-4-1", 34, 27;
+ else
+ dispbottom l("This door is locked.");
+ end;
+}
diff --git a/npc/003-4/_warps.txt b/npc/003-4/_warps.txt
index 46934c5d2..2334fc919 100644
--- a/npc/003-4/_warps.txt
+++ b/npc/003-4/_warps.txt
@@ -1,4 +1,3 @@
// This file is generated automatically. All manually added changes will be removed when running the Converter.
// Map 003-4: Forgotten Shop warps
003-4,39,39,0 warp #003-4_39_39 0,0,003-1,54,138
-003-4,38,31,0 warp #003-4_38_31 0,0,003-4-1,34,27