From ea406ac0a4dbe92e02fd75ff24c242e656f35ba8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 16 Jun 2019 23:16:23 -0300 Subject: Add a treasure chest on 023-3, make notes --- npc/023-3/logic.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'npc/023-3') 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; +} + -- cgit v1.2.3-60-g2f50