summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/001-2-32/_import.txt1
-rw-r--r--npc/001-2-32/doors.txt23
2 files changed, 24 insertions, 0 deletions
diff --git a/npc/001-2-32/_import.txt b/npc/001-2-32/_import.txt
index 0b109f9f..efea6ea6 100644
--- a/npc/001-2-32/_import.txt
+++ b/npc/001-2-32/_import.txt
@@ -1,3 +1,4 @@
// Map 001-2-32
npc: npc/001-2-32/_warps.txt
+npc: npc/001-2-32/doors.txt
npc: npc/001-2-32/mapflags.txt
diff --git a/npc/001-2-32/doors.txt b/npc/001-2-32/doors.txt
new file mode 100644
index 00000000..45d7415a
--- /dev/null
+++ b/npc/001-2-32/doors.txt
@@ -0,0 +1,23 @@
+// Evol scripts.
+// Author:
+// Reid
+// Description:
+// Doors NPCs.
+
+001-2-32,33,29,0 script ToFightRoom#001-2-32 NPC_HIDDEN,0,0,{
+
+OnTouch:
+ if (mobcount("001-2-35.gat","all") > 0)
+ {
+ narrator
+ l("You hear some sound behind the door."),
+ l("Somebody is probably training, better wait for him to finish.");
+ }
+ else
+ {
+ warp "001-2-35", 24, 29;
+ }
+
+ closedialog;
+ close;
+}