summaryrefslogtreecommitdiff
path: root/npc/001-3/ctrl.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-3/ctrl.txt')
-rw-r--r--npc/001-3/ctrl.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/npc/001-3/ctrl.txt b/npc/001-3/ctrl.txt
index cbe473276..99c6d1ff8 100644
--- a/npc/001-3/ctrl.txt
+++ b/npc/001-3/ctrl.txt
@@ -11,3 +11,13 @@ OnTouch:
end;
}
+001-3,103,69,0 script Copper Chest#Saulc NPC_CHEST,{
+ // Like common chest but up to +3% bonus
+ TreasureBox(rand2(150, 300), CopperKey);
+ specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing
+ close;
+OnInit:
+ .distance=2;
+ end;
+}
+