diff options
Diffstat (limited to 'npc/008-2/_config.txt')
-rw-r--r-- | npc/008-2/_config.txt | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/npc/008-2/_config.txt b/npc/008-2/_config.txt index 1da640c7d..01efa1430 100644 --- a/npc/008-2/_config.txt +++ b/npc/008-2/_config.txt @@ -7,7 +7,7 @@ OnDisable: delcells "008-2_80_208"; end; OnEnable: OnInit: - setcells "008-2", 80, 208, 88, 208, 3, "008-2_80_208"; + setcells "008-2", 80, 208, 88, 208, 1, "008-2_80_208"; } 008-2,106,237,0 script #008-2_106_237 NPC_SWITCH_ONLINE,{ @@ -97,3 +97,31 @@ OnTouchNPC: OnTimer15000: stopnpctimer; setnpctimer 0; setnpcdisplay "#008-2_85_117", NPC_TRAP; end; } + +008-2,59,222,0 script #008-2_59_222 NPC_HIDDEN,{ + end; +OnDisable: + delcells "008-2_59_222"; end; +OnEnable: +OnInit: + setcells "008-2", 59, 222, 67, 222, 1, "008-2_59_222"; +} + +008-2,32,99,0 script #008-2_32_99 NPC_SWITCH_ONLINE,{ + if (getnpcclass() == NPC_SWITCH_OFFLINE) + end; + doevent "#008-2_59_222::OnDisable"; + setnpcdisplay "#008-2_32_99", NPC_SWITCH_OFFLINE; + end; +OnInit: + .distance=2; +} + +008-2,87,221,0 script #008-2_87_221 NPC_CHEST,{ + TreasureBox(); + specialeffect(.dir == 0 ? 24 : 25, AREA, getnpcid()); // closed ? opening : closing + close; +OnInit: + .distance=3; + end; +} |