From 5dd25e8dae4deafcb62574a4d2ea70b4b72d5f66 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 11 Jun 2020 20:18:48 -0300 Subject: Extra patch (#558) * Welcom to Keshlam, YOUR WORST NIGHTMARE Act 5, Part 1: Interlude (Keshlam Maze) --- world/map/npc/099-8/expchest.txt | 2201 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 2201 insertions(+) create mode 100644 world/map/npc/099-8/expchest.txt (limited to 'world/map/npc/099-8/expchest.txt') 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; +} -- cgit v1.2.3-70-g09d2