summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2015-10-23 04:44:22 +0200
committerReid <reidyaro@gmail.com>2015-10-23 04:44:22 +0200
commit01cb2e3de648856901394329072b3d504ae25a60 (patch)
tree66f816c756d0eb74da15a393e21d3099e3ec3306
parent4881c19e084afd32ee0a9f40f0540fe94f16ef95 (diff)
downloadserverdata-01cb2e3de648856901394329072b3d504ae25a60.tar.gz
serverdata-01cb2e3de648856901394329072b3d504ae25a60.tar.bz2
serverdata-01cb2e3de648856901394329072b3d504ae25a60.tar.xz
serverdata-01cb2e3de648856901394329072b3d504ae25a60.zip
Add door script to warp from #32 to #35.
-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;
+}