From 83e0ff876dcb56645a4b1c6d137745764e4df201 Mon Sep 17 00:00:00 2001 From: ali-g Date: Sat, 29 Oct 2011 08:25:29 +0200 Subject: Made the name of each item be the same everywhere. Changed some names in item_db.txt and the same one in corresponding scripts. --- world/map/npc/009-2/peter.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'world/map/npc/009-2/peter.txt') diff --git a/world/map/npc/009-2/peter.txt b/world/map/npc/009-2/peter.txt index 97fa219c..10186d3b 100644 --- a/world/map/npc/009-2/peter.txt +++ b/world/map/npc/009-2/peter.txt @@ -19,7 +19,7 @@ L_Peter_Chain_Mail: if (zeny < 20000) goto L_Peter_NotEnough_Zeny; - if (countitem("IngotIron") < 5) + if (countitem("IronIngot") < 5) goto L_Peter_NotEnough_Ingot; if (countitem("Coal") < 10) goto L_Peter_NotEnough_Coal; @@ -27,7 +27,7 @@ L_Peter_Chain_Mail: if (@inventorylist_count == 100) goto L_Peter_TooMany; set zeny, zeny - 20000; - delitem "IngotIron", 5; + delitem "IronIngot", 5; getitem "ChainmailShirt", 1; mes "[Peter]"; mes "\"Here you go!\""; @@ -36,7 +36,7 @@ L_Peter_Chain_Mail: L_Peter_Light_Plate: if (zeny < 50000) goto L_Peter_NotEnough_Zeny; - if (countitem("IngotIron") < 10) + if (countitem("IronIngot") < 10) goto L_Peter_NotEnough_Ingot; if (countitem("Coal") < 20) goto L_Peter_NotEnough_Coal; @@ -44,7 +44,7 @@ L_Peter_Light_Plate: if (@inventorylist_count == 100) goto L_Peter_TooMany; set zeny, zeny - 50000; - delitem "IngotIron", 10; + delitem "IronIngot", 10; delitem "Coal", 20; getitem "LightPlatemail", 1; mes "[Peter]"; @@ -54,7 +54,7 @@ L_Peter_Light_Plate: L_Peter_Warlord_Plate: if (zeny < 100000) goto L_Peter_NotEnough_Zeny; - if (countitem("IngotIron") < 15) + if (countitem("IronIngot") < 15) goto L_Peter_NotEnough_Ingot; if (countitem("Coal") < 30) goto L_Peter_NotEnough_Coal; @@ -62,7 +62,7 @@ L_Peter_Warlord_Plate: if (@inventorylist_count == 100) goto L_Peter_TooMany; set zeny, zeny - 100000; - delitem "IngotIron", 15; + delitem "IronIngot", 15; delitem "Coal", 30; getitem "WarlordPlate", 1; mes "[Peter]"; -- cgit v1.2.3-60-g2f50