diff options
author | Jesusaves <jesusalva@themanaworld.org> | 2020-06-11 20:18:48 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 23:18:48 +0000 |
commit | 5dd25e8dae4deafcb62574a4d2ea70b4b72d5f66 (patch) | |
tree | 49b779b9741ef45450f27c35513d80ddd38d2fcb /world/map/npc/099-8 | |
parent | 64530680fbf1fb93279db182a36ae602b60f168a (diff) | |
download | serverdata-5dd25e8dae4deafcb62574a4d2ea70b4b72d5f66.tar.gz serverdata-5dd25e8dae4deafcb62574a4d2ea70b4b72d5f66.tar.bz2 serverdata-5dd25e8dae4deafcb62574a4d2ea70b4b72d5f66.tar.xz serverdata-5dd25e8dae4deafcb62574a4d2ea70b4b72d5f66.zip |
Extra patch (#558)
* Welcom to Keshlam, YOUR WORST NIGHTMARE
Act 5, Part 1: Interlude (Keshlam Maze)
Diffstat (limited to 'world/map/npc/099-8')
-rw-r--r-- | world/map/npc/099-8/_import.txt | 8 | ||||
-rw-r--r-- | world/map/npc/099-8/_mobs.txt | 3 | ||||
-rw-r--r-- | world/map/npc/099-8/_nodes.txt | 4 | ||||
-rw-r--r-- | world/map/npc/099-8/_warps.txt | 3 | ||||
-rw-r--r-- | world/map/npc/099-8/expchest.txt | 2201 | ||||
-rw-r--r-- | world/map/npc/099-8/mobs.txt | 233 |
6 files changed, 2452 insertions, 0 deletions
diff --git a/world/map/npc/099-8/_import.txt b/world/map/npc/099-8/_import.txt new file mode 100644 index 00000000..931f223e --- /dev/null +++ b/world/map/npc/099-8/_import.txt @@ -0,0 +1,8 @@ +// Map 099-8: Keshlam's Maze +// This file is generated automatically. All manually added changes will be removed when running the Converter. +map: 099-8 +npc: npc/099-8/_mobs.txt +npc: npc/099-8/_nodes.txt +npc: npc/099-8/_warps.txt +npc: npc/099-8/expchest.txt +npc: npc/099-8/mobs.txt diff --git a/world/map/npc/099-8/_mobs.txt b/world/map/npc/099-8/_mobs.txt new file mode 100644 index 00000000..572bf03c --- /dev/null +++ b/world/map/npc/099-8/_mobs.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Keshlam's Maze mobs + diff --git a/world/map/npc/099-8/_nodes.txt b/world/map/npc/099-8/_nodes.txt new file mode 100644 index 00000000..c3253bb1 --- /dev/null +++ b/world/map/npc/099-8/_nodes.txt @@ -0,0 +1,4 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Keshlam's Maze nodes + +// (no nodes) diff --git a/world/map/npc/099-8/_warps.txt b/world/map/npc/099-8/_warps.txt new file mode 100644 index 00000000..e6916e13 --- /dev/null +++ b/world/map/npc/099-8/_warps.txt @@ -0,0 +1,3 @@ +// This file is generated automatically. All manually added changes will be removed when running the Converter. +// Keshlam's Maze warps + diff --git a/world/map/npc/099-8/expchest.txt b/world/map/npc/099-8/expchest.txt new file mode 100644 index 00000000..2a2da1d9 --- /dev/null +++ b/world/map/npc/099-8/expchest.txt @@ -0,0 +1,2201 @@ +// This file is generated automatically. +099-8,373,128,0|script|EXP Chest#00|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[0] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[0], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[0]+" got here first!"; + close; +} +099-8,280,208,0|script|EXP Chest#01|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[1] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[1], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[1]+" got here first!"; + close; +} +099-8,151,104,0|script|EXP Chest#02|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[2] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[2], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[2]+" got here first!"; + close; +} +099-8,233,374,0|script|EXP Chest#03|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[3] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[3], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[3]+" got here first!"; + close; +} +099-8,87,258,0|script|EXP Chest#04|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[4] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[4], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[4]+" got here first!"; + close; +} +099-8,67,226,0|script|EXP Chest#05|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[5] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[5], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[5]+" got here first!"; + close; +} +099-8,142,48,0|script|EXP Chest#06|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[6] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[6], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[6]+" got here first!"; + close; +} +099-8,27,93,0|script|EXP Chest#07|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[7] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[7], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[7]+" got here first!"; + close; +} +099-8,342,382,0|script|EXP Chest#08|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[8] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[8], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[8]+" got here first!"; + close; +} +099-8,163,222,0|script|EXP Chest#09|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[9] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[9], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[9]+" got here first!"; + close; +} +099-8,326,140,0|script|EXP Chest#10|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[10] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[10], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[10]+" got here first!"; + close; +} +099-8,250,273,0|script|EXP Chest#11|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[11] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[11], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[11]+" got here first!"; + close; +} +099-8,365,144,0|script|EXP Chest#12|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[12] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[12], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[12]+" got here first!"; + close; +} +099-8,108,214,0|script|EXP Chest#13|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[13] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[13], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[13]+" got here first!"; + close; +} +099-8,215,150,0|script|EXP Chest#14|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[14] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[14], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[14]+" got here first!"; + close; +} +099-8,180,374,0|script|EXP Chest#15|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[15] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[15], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[15]+" got here first!"; + close; +} +099-8,246,94,0|script|EXP Chest#16|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[16] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[16], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[16]+" got here first!"; + close; +} +099-8,244,215,0|script|EXP Chest#17|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[17] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[17], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[17]+" got here first!"; + close; +} +099-8,243,323,0|script|EXP Chest#18|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[18] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[18], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[18]+" got here first!"; + close; +} +099-8,231,279,0|script|EXP Chest#19|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[19] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[19], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[19]+" got here first!"; + close; +} +099-8,225,64,0|script|EXP Chest#20|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[20] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[20], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[20]+" got here first!"; + close; +} +099-8,310,336,0|script|EXP Chest#21|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[21] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[21], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[21]+" got here first!"; + close; +} +099-8,227,314,0|script|EXP Chest#22|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[22] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[22], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[22]+" got here first!"; + close; +} +099-8,336,312,0|script|EXP Chest#23|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[23] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[23], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[23]+" got here first!"; + close; +} +099-8,52,300,0|script|EXP Chest#24|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[24] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[24], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[24]+" got here first!"; + close; +} +099-8,38,327,0|script|EXP Chest#25|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[25] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[25], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[25]+" got here first!"; + close; +} +099-8,176,241,0|script|EXP Chest#26|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[26] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[26], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[26]+" got here first!"; + close; +} +099-8,312,276,0|script|EXP Chest#27|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[27] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[27], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[27]+" got here first!"; + close; +} +099-8,144,368,0|script|EXP Chest#28|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[28] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[28], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[28]+" got here first!"; + close; +} +099-8,59,174,0|script|EXP Chest#29|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[29] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[29], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[29]+" got here first!"; + close; +} +099-8,32,170,0|script|EXP Chest#30|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[30] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[30], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[30]+" got here first!"; + close; +} +099-8,248,48,0|script|EXP Chest#31|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[31] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[31], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[31]+" got here first!"; + close; +} +099-8,37,311,0|script|EXP Chest#32|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[32] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[32], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[32]+" got here first!"; + close; +} +099-8,206,336,0|script|EXP Chest#33|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[33] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[33], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[33]+" got here first!"; + close; +} +099-8,193,161,0|script|EXP Chest#34|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[34] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[34], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[34]+" got here first!"; + close; +} +099-8,337,296,0|script|EXP Chest#35|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[35] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[35], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[35]+" got here first!"; + close; +} +099-8,235,130,0|script|EXP Chest#36|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[36] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[36], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[36]+" got here first!"; + close; +} +099-8,67,162,0|script|EXP Chest#37|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[37] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[37], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[37]+" got here first!"; + close; +} +099-8,97,110,0|script|EXP Chest#38|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[38] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[38], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[38]+" got here first!"; + close; +} +099-8,380,222,0|script|EXP Chest#39|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[39] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[39], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[39]+" got here first!"; + close; +} +099-8,180,28,0|script|EXP Chest#40|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[40] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[40], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[40]+" got here first!"; + close; +} +099-8,179,146,0|script|EXP Chest#41|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[41] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[41], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[41]+" got here first!"; + close; +} +099-8,124,358,0|script|EXP Chest#42|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[42] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[42], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[42]+" got here first!"; + close; +} +099-8,239,49,0|script|EXP Chest#43|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[43] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[43], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[43]+" got here first!"; + close; +} +099-8,195,201,0|script|EXP Chest#44|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[44] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[44], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[44]+" got here first!"; + close; +} +099-8,168,265,0|script|EXP Chest#45|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[45] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[45], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[45]+" got here first!"; + close; +} +099-8,121,232,0|script|EXP Chest#46|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[46] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[46], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[46]+" got here first!"; + close; +} +099-8,370,284,0|script|EXP Chest#47|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[47] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[47], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[47]+" got here first!"; + close; +} +099-8,243,273,0|script|EXP Chest#48|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[48] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[48], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[48]+" got here first!"; + close; +} +099-8,204,203,0|script|EXP Chest#49|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[49] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[49], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[49]+" got here first!"; + close; +} +099-8,190,366,0|script|EXP Chest#50|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[50] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[50], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[50]+" got here first!"; + close; +} +099-8,25,106,0|script|EXP Chest#51|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[51] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[51], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[51]+" got here first!"; + close; +} +099-8,315,206,0|script|EXP Chest#52|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[52] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[52], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[52]+" got here first!"; + close; +} +099-8,65,293,0|script|EXP Chest#53|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[53] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[53], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[53]+" got here first!"; + close; +} +099-8,382,57,0|script|EXP Chest#54|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[54] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[54], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[54]+" got here first!"; + close; +} +099-8,117,288,0|script|EXP Chest#55|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[55] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[55], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[55]+" got here first!"; + close; +} +099-8,86,63,0|script|EXP Chest#56|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[56] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[56], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[56]+" got here first!"; + close; +} +099-8,257,212,0|script|EXP Chest#57|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[57] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[57], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[57]+" got here first!"; + close; +} +099-8,290,210,0|script|EXP Chest#58|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[58] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[58], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[58]+" got here first!"; + close; +} +099-8,118,320,0|script|EXP Chest#59|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[59] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[59], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[59]+" got here first!"; + close; +} +099-8,332,96,0|script|EXP Chest#60|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[60] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[60], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[60]+" got here first!"; + close; +} +099-8,147,33,0|script|EXP Chest#61|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[61] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[61], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[61]+" got here first!"; + close; +} +099-8,109,271,0|script|EXP Chest#62|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[62] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[62], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[62]+" got here first!"; + close; +} +099-8,217,216,0|script|EXP Chest#63|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[63] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[63], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[63]+" got here first!"; + close; +} +099-8,65,136,0|script|EXP Chest#64|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[64] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[64], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[64]+" got here first!"; + close; +} +099-8,116,45,0|script|EXP Chest#65|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[65] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[65], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[65]+" got here first!"; + close; +} +099-8,279,111,0|script|EXP Chest#66|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[66] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[66], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[66]+" got here first!"; + close; +} +099-8,98,100,0|script|EXP Chest#67|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[67] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[67], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[67]+" got here first!"; + close; +} +099-8,168,53,0|script|EXP Chest#68|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[68] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[68], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[68]+" got here first!"; + close; +} +099-8,235,353,0|script|EXP Chest#69|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[69] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[69], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[69]+" got here first!"; + close; +} +099-8,263,109,0|script|EXP Chest#70|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[70] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[70], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[70]+" got here first!"; + close; +} +099-8,226,26,0|script|EXP Chest#71|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[71] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[71], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[71]+" got here first!"; + close; +} +099-8,352,118,0|script|EXP Chest#72|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[72] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[72], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[72]+" got here first!"; + close; +} +099-8,154,270,0|script|EXP Chest#73|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[73] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[73], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[73]+" got here first!"; + close; +} +099-8,41,199,0|script|EXP Chest#74|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[74] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[74], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[74]+" got here first!"; + close; +} +099-8,208,306,0|script|EXP Chest#75|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[75] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[75], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[75]+" got here first!"; + close; +} +099-8,47,55,0|script|EXP Chest#76|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[76] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[76], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[76]+" got here first!"; + close; +} +099-8,21,142,0|script|EXP Chest#77|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[77] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[77], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[77]+" got here first!"; + close; +} +099-8,94,293,0|script|EXP Chest#78|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[78] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[78], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[78]+" got here first!"; + close; +} +099-8,232,214,0|script|EXP Chest#79|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[79] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[79], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[79]+" got here first!"; + close; +} +099-8,30,152,0|script|EXP Chest#80|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[80] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[80], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[80]+" got here first!"; + close; +} +099-8,374,319,0|script|EXP Chest#81|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[81] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[81], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[81]+" got here first!"; + close; +} +099-8,252,289,0|script|EXP Chest#82|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[82] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[82], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[82]+" got here first!"; + close; +} +099-8,218,324,0|script|EXP Chest#83|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[83] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[83], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[83]+" got here first!"; + close; +} +099-8,24,187,0|script|EXP Chest#84|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[84] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[84], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[84]+" got here first!"; + close; +} +099-8,137,65,0|script|EXP Chest#85|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[85] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[85], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[85]+" got here first!"; + close; +} +099-8,285,167,0|script|EXP Chest#86|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[86] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[86], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[86]+" got here first!"; + close; +} +099-8,154,83,0|script|EXP Chest#87|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[87] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[87], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[87]+" got here first!"; + close; +} +099-8,63,239,0|script|EXP Chest#88|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[88] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[88], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[88]+" got here first!"; + close; +} +099-8,88,156,0|script|EXP Chest#89|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[89] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[89], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[89]+" got here first!"; + close; +} +099-8,320,34,0|script|EXP Chest#90|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[90] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[90], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[90]+" got here first!"; + close; +} +099-8,99,334,0|script|EXP Chest#91|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[91] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[91], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[91]+" got here first!"; + close; +} +099-8,248,303,0|script|EXP Chest#92|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[92] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[92], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[92]+" got here first!"; + close; +} +099-8,71,59,0|script|EXP Chest#93|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[93] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[93], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[93]+" got here first!"; + close; +} +099-8,321,254,0|script|EXP Chest#94|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[94] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[94], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[94]+" got here first!"; + close; +} +099-8,165,321,0|script|EXP Chest#95|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[95] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[95], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[95]+" got here first!"; + close; +} +099-8,94,350,0|script|EXP Chest#96|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[96] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[96], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[96]+" got here first!"; + close; +} +099-8,193,265,0|script|EXP Chest#97|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[97] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[97], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[97]+" got here first!"; + close; +} +099-8,206,73,0|script|EXP Chest#98|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[98] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[98], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[98]+" got here first!"; + close; +} +099-8,62,273,0|script|EXP Chest#99|111 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + if ($DD5A_EXPCHEST$[99] != "") goto L_Claimed; + if (#DD5A_EXPCHEST > 10) goto L_Greedy; + mes "(You are the first player to open this chest! THE POWER IS NOW YOURS.)"; + set $DD5A_EXPCHEST$[99], strcharinfo(0); + set #DD5A_EXPCHEST, #DD5A_EXPCHEST+1; + getexp 200000, 10000; + close; + +L_Greedy: + mes "Don't be greedy, let someone else open them, too!"; + close; + +L_Claimed: + mes "Sorry, but "+$DD5A_EXPCHEST$[99]+" got here first!"; + close; +} diff --git a/world/map/npc/099-8/mobs.txt b/world/map/npc/099-8/mobs.txt new file mode 100644 index 00000000..db971236 --- /dev/null +++ b/world/map/npc/099-8/mobs.txt @@ -0,0 +1,233 @@ +// This script controls the Keshlam Abandoned Maze +// Part of Doomsday Event : Act 5 + +// Monster Script Control +-|script|Keshlam Maze|32767 +{ + close; + +OnInit: + goto L_Main; + +// They'll respawn at midday. +OnClock1200: + goto L_Main; + +L_Main: + // 1 MONSTER PER 30 TILES, TOTAL 4320 MONSTERS + // 1440 monsters of each kind + // 360 monsters per quadrand; Center is the pillar in (201, 201) + + // TYPE 1141, SASQUATCH + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath1")+1; + if ($@KeshlamMc < 360) + areamonster "099-8", 20, 20, 201, 201, "", 1141, 360-$@KeshlamMc, "Keshlam Maze::OnDeath1"; + + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath2")+1; + if ($@KeshlamMc < 360) + areamonster "099-8", 201, 20, 402, 201, "", 1141, 360-$@KeshlamMc, "Keshlam Maze::OnDeath2"; + + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath3")+1; + if ($@KeshlamMc < 360) + areamonster "099-8", 20, 201, 201, 402, "", 1141, 360-$@KeshlamMc, "Keshlam Maze::OnDeath3"; + + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath4")+1; + if ($@KeshlamMc < 360) + areamonster "099-8", 201, 201, 402, 402, "", 1141, 360-$@KeshlamMc, "Keshlam Maze::OnDeath4"; + + + // TYPE 1140, TENGU + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath5")+1; + if ($@KeshlamMc < 360) + areamonster "099-8", 20, 20, 201, 201, "", 1140, 360-$@KeshlamMc, "Keshlam Maze::OnDeath5"; + + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath6")+1; + if ($@KeshlamMc < 360) + areamonster "099-8", 201, 20, 402, 201, "", 1140, 360-$@KeshlamMc, "Keshlam Maze::OnDeath6"; + + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath7")+1; + if ($@KeshlamMc < 360) + areamonster "099-8", 20, 201, 201, 402, "", 1140, 360-$@KeshlamMc, "Keshlam Maze::OnDeath7"; + + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath8")+1; + if ($@KeshlamMc < 360) + areamonster "099-8", 201, 201, 402, 402, "", 1140, 360-$@KeshlamMc, "Keshlam Maze::OnDeath8"; + + + /* + // TYPE 1141, more SASQUATCH + // Used to be 1143 Mana Slayer + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath9")+1; + if ($@KeshlamMc < 300) + areamonster "099-8", 20, 20, 201, 201, "", 1141, 300-$@KeshlamMc, "Keshlam Maze::OnDeath9"; + + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath10")+1; + if ($@KeshlamMc < 300) + areamonster "099-8", 201, 20, 402, 201, "", 1141, 300-$@KeshlamMc, "Keshlam Maze::OnDeath10"; + + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath11")+1; + if ($@KeshlamMc < 300) + areamonster "099-8", 20, 201, 201, 402, "", 1141, 300-$@KeshlamMc, "Keshlam Maze::OnDeath11"; + + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath12")+1; + if ($@KeshlamMc < 300) + areamonster "099-8", 201, 201, 402, 402, "", 1141, 300-$@KeshlamMc, "Keshlam Maze::OnDeath12"; + */ + + + // Maintain a minimal MANA SLAYER guarnition + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnDeath13")+1; + if ($@KeshlamMc < 200) + areamonster "099-8", 20, 20, 402, 402, "", 1143, 200-$@KeshlamMc, "Keshlam Maze::OnDeath13"; + + + // Extra Layer: The bonus layer + // Density: 50 monsters or 0.04% of the maze + set $@KeshlamMc, mobcount("099-8", "Keshlam Maze::OnBoss")+1; + if ($@KeshlamMc < 40) + areamonster "099-8", 20, 20, 360, 360, "", 1147, 40-$@KeshlamMc, "Keshlam Maze::OnBoss"; // Koyntety + + // Done + set $@KeshlamMc, 0; + stopnpctimer; + end; + +// Labels +OnDeath1: + end; +OnDeath2: + end; +OnDeath3: + end; +OnDeath4: + end; +OnDeath5: + end; +OnDeath6: + end; +OnDeath7: + end; +OnDeath8: + end; +OnDeath9: + end; +OnDeath10: + end; +OnDeath11: + end; +OnDeath12: + end; +OnDeath13: + end; + +OnBoss: + // If a player is attached, give them a reward + getitem "TreasureKey", 1; + getexp 50000, 0; + end; +} + + +// Oddities +099-8,201,201,0|script|Central Pillar#DD5|400 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + mes ".:: KESHLAM MAZE ::."; + mes "WE KEPT POWERFUL EARTH MONSTERS HERE."; + mes "IT WOULD BE TERRIBLE IF THE SASQUATCH ESCAPED."; + mes ""; + mes "WHATEVER HAPPENS: DO NOT OPEN THE GATE!"; + close; +} + +099-8,375,27,0|script|Northeast Pillar#DD5|400 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + mes ".:: KESHLAM MAZE ::."; + mes ".:: :: CONTROL PANEL :: ::."; + mes ""; + mes "Security Level: ##1CRITICAL - WORLD'S EXISTENCE THREATENED##0"; + mes "Defensive Measures Level 1: ##1DEFEATED##0"; + mes "Defensive Measures Level 2: ##1DEFEATED##0"; + mes "Defensive Measures Level 3: ##2STAND BY##0"; + next; + mes "##9The controls seems to have been destroyed!"; + mes "##9The panel says the situtation is critical."; + mes "##9Why the final defensive measures didn't engage?"; + next; + mes "What's happening?"; + close; +} + +099-8,87,261,0|script|Southwest Pillar#DD5|400 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + mes ".:: KESHLAM MAZE ::."; + mes ".:: :: CONTROL PANEL :: ::."; + mes ""; + mes "West gate: ##1OPEN##0"; + mes "East gate: ##1OPEN##0"; + mes "North gate: ##1OPEN##0"; + mes "South gate: ##1OPEN##0"; + mes ""; + mes "Security Level: ##1CRITICAL - WORLD'S EXISTENCE THREATENED##0"; + next; + mes "##9The controls seems to have been destroyed!"; + next; + mes "Where are these gates? I don't recall seeing anything like that."; + mes "What's happening, after all?"; + close; +} + + +099-8,285,237,0|script|Southeast Pillar#DD5|400 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + mes ".:: KESHLAM MAZE ::."; + mes ".:: :: CONTROL PANEL :: ::."; + mes ""; + mes "Laboratory: ##1CONTACT LOST##0"; + mes "The Archives: ##1CONTACT LOST##0"; + mes "Crystal Room: ##1CONTACT LOST##0"; + mes ""; + mes "Security Level: ##1CRITICAL - WORLD'S EXISTENCE THREATENED##0"; + next; + mes "##9The controls seems to have been destroyed!"; + mes "##9I wonder where these three rooms are."; + mes "##9What sort of research was being conducted?"; + mes "##9What is a Crystal Room? I don't saw any passage."; + next; + mes "What's happening?"; + close; +} + +099-8,75,105,0|script|Northwest Pillar#DD5|400 +{ + // Default distance is 4 tiles - all we need + callfunc "PCtoNPCRange"; + if(@npc_check) end; + + mes ".:: KESHLAM MAZE ::."; + mes ".:: :: STATUS REPORT PANEL :: ::."; + mes ""; + mes "Earth Crystal: ##1NOT FOUND##0"; + mes "Security Level: ##1CRITICAL - WORLD'S EXISTENCE THREATENED##0"; + next; + mes "##9Earth Crystal? I never heard anything about it."; + next; + mes "What's happening?"; + close; +} + |