From 206c3720a29b0db6c73ea534bd3f34bacaef17de Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Tue, 15 Nov 2011 21:06:07 +0100 Subject: Made Constants case-sensitive --- world/map/npc/009-2/nicholas.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'world/map/npc/009-2/nicholas.txt') diff --git a/world/map/npc/009-2/nicholas.txt b/world/map/npc/009-2/nicholas.txt index fbffd3e8..08fe98c2 100644 --- a/world/map/npc/009-2/nicholas.txt +++ b/world/map/npc/009-2/nicholas.txt @@ -180,40 +180,40 @@ L_NoMoney: close; L_YesKnight: - if (zeny < 10000) + if (Zeny < 10000) goto L_NoMoney; if ( (countitem("IronIngot")<3) || (countitem("Coal") < 6) ) goto L_NoItem; getinventorylist; if (@inventorylist_count == 100) goto L_TooMany; - set zeny, zeny - 10000; + set Zeny, Zeny - 10000; delitem "IronIngot", 3; delitem "Coal", 6; getitem "KnightsHelmet", 1; goto L_Done; L_YesCrusade: - if (zeny < 10000) goto L_NoMoney; + if (Zeny < 10000) goto L_NoMoney; if ( (countitem("IronIngot")<6) || (countitem("Coal") < 12) ) goto L_NoItem; getinventorylist; if (@inventorylist_count == 100) goto L_TooMany; - set zeny, zeny-10000; + set Zeny, Zeny-10000; delitem "IronIngot", 6; delitem "Coal", 12; getitem "CrusadeHelmet", 1; goto L_Done; L_YesWarlord: - if (zeny < 10000) goto L_NoMoney; + if (Zeny < 10000) goto L_NoMoney; if ( (countitem("IronIngot")<9) || (countitem("Coal") < 18) ) goto L_NoItem; getinventorylist; if (@inventorylist_count == 100) goto L_TooMany; - set zeny, zeny-10000; + set Zeny, Zeny-10000; delitem "IronIngot", 9; delitem "Coal", 18; getitem "WarlordHelmet", 1; @@ -243,7 +243,7 @@ L_YesShield: "Here you are!", -, "Where can I get a Leather Patch?", L_WhereLeather, "No way.", L_Pass; - if (zeny < 20000) + if (Zeny < 20000) goto L_ShieldNoZeny; if (countitem("InfantryHelmet") < 2) goto L_ShieldNoInfantry; @@ -264,7 +264,7 @@ L_YesShield: delitem "LeatherPatch", 1; delitem "IronIngot", 6; delitem "Coal", 12; - set zeny, zeny - 20000; + set Zeny, Zeny - 20000; if (@Q_SHIELD_status < @SHIELD_COMPLETED) getexp @SHIELD_XP, 0; @@ -332,7 +332,7 @@ L_SetzerQuest: "Here you are.", -, "Monster oil? What's that?", L_ExplainMonsterOil, "HOW much? Nevermind then!", L_Pass; - if (zeny < 50000) + if (Zeny < 50000) goto L_SetzerNoZeny; if ( (countitem("IronIngot") < 3) || (countitem("Coal") < 6) ) goto L_SetzerNoIngot; @@ -344,7 +344,7 @@ L_SetzerQuest: mes "[Nicholas]"; mes "Nicholas takes the items, heats up your sword and pounds it with a heavy hammer. As you watch, it turns thinner and flatter. Finally he pours the monster oil over it, heats the metal up again and douses it in water."; - set zeny, zeny - 50000; + set Zeny, Zeny - 50000; delitem "IronIngot", 3; delitem "Coal", 6; delitem "MonsterOilPotion", 1; -- cgit v1.2.3-70-g09d2