From 9b5cadb49152a2e56841e52a864374870c243b7a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 23 May 2018 18:49:39 -0300 Subject: Testing --- npc/003-4/_import.txt | 1 + npc/003-4/warp.txt | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 npc/003-4/warp.txt (limited to 'npc/003-4') diff --git a/npc/003-4/_import.txt b/npc/003-4/_import.txt index e6e197d01..b7ae42d87 100644 --- a/npc/003-4/_import.txt +++ b/npc/003-4/_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/_warps.txt", "npc/003-4/sorfina.txt", +"npc/003-4/warp.txt", diff --git a/npc/003-4/warp.txt b/npc/003-4/warp.txt new file mode 100644 index 000000000..399cddc24 --- /dev/null +++ b/npc/003-4/warp.txt @@ -0,0 +1,16 @@ +// TMW2 Scripts. + +003-4,38,31,0 script Mahoud Basement NPC_HIDDEN,0,0,{ + +OnTouch: + dispbottom(isinstance(getq2(TulimsharQuest_Hasan))); + dispbottom(getq2(TulimsharQuest_Hasan)); + end; + 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; +} -- cgit v1.2.3-60-g2f50