summaryrefslogtreecommitdiff
path: root/npc/023-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-16 23:16:23 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-16 23:16:23 -0300
commitea406ac0a4dbe92e02fd75ff24c242e656f35ba8 (patch)
treeff961709ecce937303c631dd77ad13387c36b7a9 /npc/023-3
parent2c4ba7583d096e0345fea9222b03d740719b97b7 (diff)
downloadserverdata-ea406ac0a4dbe92e02fd75ff24c242e656f35ba8.tar.gz
serverdata-ea406ac0a4dbe92e02fd75ff24c242e656f35ba8.tar.bz2
serverdata-ea406ac0a4dbe92e02fd75ff24c242e656f35ba8.tar.xz
serverdata-ea406ac0a4dbe92e02fd75ff24c242e656f35ba8.zip
Add a treasure chest on 023-3, make notes
Diffstat (limited to 'npc/023-3')
-rw-r--r--npc/023-3/logic.txt13
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;
+}
+