diff options
-rw-r--r-- | npc/001-2-34/_import.txt | 1 | ||||
-rw-r--r-- | npc/001-2-34/doors.txt | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/npc/001-2-34/_import.txt b/npc/001-2-34/_import.txt index 19b289f4..c79a8034 100644 --- a/npc/001-2-34/_import.txt +++ b/npc/001-2-34/_import.txt @@ -1,3 +1,4 @@ // Map 001-2-34 npc: npc/001-2-34/_warps.txt +npc: npc/001-2-34/doors.txt npc: npc/001-2-34/mapflags.txt diff --git a/npc/001-2-34/doors.txt b/npc/001-2-34/doors.txt new file mode 100644 index 00000000..f2182414 --- /dev/null +++ b/npc/001-2-34/doors.txt @@ -0,0 +1,23 @@ +// Evol scripts. +// Author: +// Reid +// Description: +// Doors NPCs. + +001-2-34,23,29,0 script ToTrainingRoom#001-2-34 NPC_HIDDEN,0,0,{ + +OnTouch: + if (mobcount("001-2-36.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-36", 36, 29; + } + + closedialog; + close; +} |