summaryrefslogtreecommitdiff
path: root/world/map/npc/052-2/chest.txt
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2015-02-21 08:24:14 -0500
committermekolat <mekolat@gmail.com>2015-02-21 08:24:14 -0500
commit613c825d85ca83ebfcd0f32d29aaaac3ca4fe07e (patch)
treeae7972d16d9b952cb69724c016f7ac91f950fb08 /world/map/npc/052-2/chest.txt
parent06ab0d4331daaa4c620cf405fdb6d3b3e53d8737 (diff)
downloadserverdata-613c825d85ca83ebfcd0f32d29aaaac3ca4fe07e.tar.gz
serverdata-613c825d85ca83ebfcd0f32d29aaaac3ca4fe07e.tar.bz2
serverdata-613c825d85ca83ebfcd0f32d29aaaac3ca4fe07e.tar.xz
serverdata-613c825d85ca83ebfcd0f32d29aaaac3ca4fe07e.zip
make illia chest use aegis names
Diffstat (limited to 'world/map/npc/052-2/chest.txt')
-rw-r--r--world/map/npc/052-2/chest.txt26
1 files changed, 14 insertions, 12 deletions
diff --git a/world/map/npc/052-2/chest.txt b/world/map/npc/052-2/chest.txt
index 7ba0d2df..1551d171 100644
--- a/world/map/npc/052-2/chest.txt
+++ b/world/map/npc/052-2/chest.txt
@@ -30,8 +30,10 @@ L_ShouldNotBeHere:
end;
OnInit:
- setarray $@illia_item_common_rewards, 601, 636, 637, 638, 639, 625, 626, 658, 571, 579, 876, 782, 545, 758, 4028, 602, 536, 720, 532, 570, 642;
- setarray $@illia_item_unique_rewards, 877, 878, 879, 880;
+ setarray $@illia_common_rewards$, "SteelShield", "WarlordHelmet", "KnightsHelmet", "InfantryHelmet", "CrusadeHelmet", "ChainmailShirt", "LightPlatemail", "WarlordPlate", "Setzer", "RockKnife", "WarlordBoots", "ForestArmor", "ForestBow", "WoodenStaff", "WizardHat", "WoodenShield", "ShortSword", "SilkRobe", "LeatherGloves", "BoneKnife", "JeansChaps";
+ setarray $@illia_common_rewards_n$, "Steel Shield", "Warlord Helmet", "Knights Helmet", "Infantry Helmet", "Crusade Helmet", "Chainmail Shirt", "Light Platemail", "Warlord Plate", "Setzer", "Rock Knife", "Warlord Boots", "Forest Armor", "Forest Bow", "Wooden Staff", "Wizard Hat", "Wooden Shield", "Short Sword", "Silk Robe", "Leather Gloves", "Bone Knife", "Jeans Chaps";
+ setarray $@illia_unique_rewards$, "BullHelmet", "BansheeBow", "HeartOfIsis", "LazuriteRobe";
+ setarray $@illia_unique_rewards_n$, "Bull Helmet", "Banshee Bow", "Heart of Isis", "Lazurite Robe";
end;
L_ResumePick:
@@ -58,13 +60,13 @@ L_GetCommonReward:
if (@illia_current_num_rewards == $@illia_num_common_reward_items)
goto L_RewardDone;
getinventorylist;
- set @reward, $@illia_item_common_rewards[rand(getarraysize($@illia_item_common_rewards))];
- if ((checkweight(@reward, 1) == 0) || (@inventorylist_count == 100))
+ set @reward$, $@illia_common_rewards$[rand(getarraysize($@illia_common_rewards$))];
+ if ((checkweight(@reward$, 1) == 0) || (@inventorylist_count == 100))
goto L_InventoryNoSpace;
set @illia_current_num_rewards, @illia_current_num_rewards + 1;
- getitem @reward, 1;
- mes "You found a " + getitemname(@reward) + "!";
- set @reward, 0;
+ getitem @reward$, 1;
+ mes "You found a " + $@illia_common_rewards_n$ + "!";
+ set @reward$, "";
goto L_GetCommonReward;
L_GetUniqueReward:
@@ -73,17 +75,17 @@ L_GetUniqueReward:
if (Illia_Uniques_Count >= 2)
goto L_GetUniqueReward2;
getinventorylist;
- set @reward, $@illia_item_unique_rewards[rand(getarraysize($@illia_item_unique_rewards))];
- if ((checkweight(@reward, 1) == 0) || (@inventorylist_count == 100))
+ set @reward$, $@illia_unique_rewards$[rand(getarraysize($@illia_unique_rewards$))];
+ if ((checkweight(@reward$, 1) == 0) || (@inventorylist_count == 100))
goto L_InventoryNoSpace;
next;
mes "You notice an interesting shape hidden under a cover...";
next;
set @illia_current_num_rewards, @illia_current_num_rewards + 1;
- getitem @reward, 1;
- mes "You found a " + getitemname(@reward) + "!";
+ getitem @reward$, 1;
+ mes "You found a " + $@illia_unique_rewards_n$ + "!";
set Illia_Uniques_Count, Illia_Uniques_Count + 1;
- set @reward, 0;
+ set @reward$, "";
goto L_GetUniqueReward;
L_GetUniqueReward2: