summaryrefslogtreecommitdiff
path: root/npc/021-3/doors.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-18 14:54:19 -0300
committerJesusaves <cpntb1@ymail.com>2018-10-18 14:54:19 -0300
commitbba99335e0784b49e8eadd336b8de72d5ae69b13 (patch)
treee68e9737cee0fef75e2506a15ce419c7da3fdf21 /npc/021-3/doors.txt
parentdba5a581c8b797d66de6709ca9ca9b1d21145465 (diff)
downloadserverdata-bba99335e0784b49e8eadd336b8de72d5ae69b13.tar.gz
serverdata-bba99335e0784b49e8eadd336b8de72d5ae69b13.tar.bz2
serverdata-bba99335e0784b49e8eadd336b8de72d5ae69b13.tar.xz
serverdata-bba99335e0784b49e8eadd336b8de72d5ae69b13.zip
Missing logic for 021-3 (map 021-4 requires changes)
Diffstat (limited to 'npc/021-3/doors.txt')
-rw-r--r--npc/021-3/doors.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/npc/021-3/doors.txt b/npc/021-3/doors.txt
new file mode 100644
index 000000000..012b95104
--- /dev/null
+++ b/npc/021-3/doors.txt
@@ -0,0 +1,21 @@
+// TMW2 scripts.
+// Authors:
+// The Mana World Team
+// Jesusalva
+// Description:
+// Cave logic
+
+021-3,24,123,0 script #0213_Logic NPC_NO_SPRITE,1,0,{
+ if ($@CINDY_STATE > gettimetick(2) || $@CINDY_STATE == 0) goto L_Safe;
+ if ($@CINDY_STATE % 2 == 0) goto L_Blocked;
+ warp "021-4", 0, 0;
+ end;
+
+L_Blocked:
+ dispbottom l("This place is reeking blood. We better come again later.");
+ end;
+
+L_Safe:
+ dispbottom l("Are you crazy - the Yeti King could be there!");
+ end;
+}