summaryrefslogtreecommitdiff
path: root/npc/003-4-1/warp.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-4-1/warp.txt')
-rw-r--r--npc/003-4-1/warp.txt13
1 files changed, 13 insertions, 0 deletions
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;
+}