summaryrefslogtreecommitdiff
path: root/npc/042-4/ctrl.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-4/ctrl.txt')
-rw-r--r--npc/042-4/ctrl.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/npc/042-4/ctrl.txt b/npc/042-4/ctrl.txt
new file mode 100644
index 000000000..a2b22dd78
--- /dev/null
+++ b/npc/042-4/ctrl.txt
@@ -0,0 +1,23 @@
+// TMW 2 Script
+// Author:
+// Jesusalva
+// Micksha
+// Description:
+// Controls sewers.
+// This one is simple, it just sends a message about path splitting
+// And spawn several monsters when instance is initialized D:
+// Also handles their respawn.
+
+// A simple random treasure chest - to be sure players were introduced to this
+// awesome system. Same rules as any treasure box still applies.
+042-4,94,47,0 script #chest_0424 NPC_CHEST,{
+
+ TreasureBox();
+ specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing
+ close;
+
+OnInit:
+ .distance = 2;
+ end;
+}
+