diff options
Diffstat (limited to 'npc/023-3/logic.txt')
-rw-r--r-- | npc/023-3/logic.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/023-3/logic.txt b/npc/023-3/logic.txt index 623b573b0..dc9e439ee 100644 --- a/npc/023-3/logic.txt +++ b/npc/023-3/logic.txt @@ -67,3 +67,16 @@ OnTouch: end; } +// A simple random treasure chest - to be sure players were introduced to this +// awesome system. Same rules as any treasure box still applies. +023-3,94,212,0 script #chest_02330 NPC_CHEST,{ + + TreasureBox(); + specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing + close; + +OnInit: + .distance = 2; + end; +} + |