diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2011-11-15 21:06:07 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-11-16 19:44:03 +0100 |
commit | 206c3720a29b0db6c73ea534bd3f34bacaef17de (patch) | |
tree | 2d0e6a65117ad6ea1185dda7112a6f8679c781a1 /world/map/npc/011-1 | |
parent | 0f44cd07642a74953e5b03a10a1593c5d839c7a2 (diff) | |
download | serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.gz serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.bz2 serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.xz serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.zip |
Made Constants case-sensitive
Diffstat (limited to 'world/map/npc/011-1')
-rw-r--r-- | world/map/npc/011-1/alchemist.txt | 34 | ||||
-rw-r--r-- | world/map/npc/011-1/auldsbel.txt | 24 |
2 files changed, 29 insertions, 29 deletions
diff --git a/world/map/npc/011-1/alchemist.txt b/world/map/npc/011-1/alchemist.txt index 3b76578f..35609063 100644 --- a/world/map/npc/011-1/alchemist.txt +++ b/world/map/npc/011-1/alchemist.txt @@ -143,7 +143,7 @@ L_iron_powder: "Here you are!", -; if (countitem("IronOre") < 1) goto L_iron_powder_noore; - if (zeny < 100) + if (Zeny < 100) goto L_iron_powder_nozeny; getinventorylist; if (@inventorylist_count == 100 @@ -151,7 +151,7 @@ L_iron_powder: && countitem("IronPowder") < 1) goto L_iron_powder_full; delitem "IronOre", 1; - set zeny, zeny - 100; + set Zeny, Zeny - 100; getitem "IronPowder", 4; mes "[Rauk the Alchemist]"; mes "Rauk places your chunk of ore in a strange glass container, then pours a steaming yellow liquid over it. Before your eyes, the ore dissolves."; @@ -541,11 +541,11 @@ L_green: && countitem("CobaltHerb") > 20 && countitem("GambogeHerb") > 20) goto L_TooMany; - if (zeny < 1000) + if (Zeny < 1000) goto L_green_fail; delitem "CobaltHerb", 20; delitem "GambogeHerb", 20; - set zeny, zeny - 1000; + set Zeny, Zeny - 1000; getitem "GreenDye", 1; goto L_ok; @@ -583,12 +583,12 @@ L_orange: && countitem("GambogeHerb") > 10 && countitem("IronOre") > 2) goto L_TooMany; - if (zeny < 1000) + if (Zeny < 1000) goto L_orange_fail; delitem "AlizarinHerb", 10; delitem "GambogeHerb", 10; delitem "IronOre", 2; - set zeny, zeny - 1000; + set Zeny, Zeny - 1000; getitem "OrangeDye", 1; goto L_ok; @@ -610,7 +610,7 @@ L_pink: goto L_pink_fail; if (countitem("PinkPetal") < 6) goto L_pink_fail; - if (zeny < 1000) + if (Zeny < 1000) goto L_pink_fail; getinventorylist; if (@inventorylist_count == 100 @@ -619,7 +619,7 @@ L_pink: goto L_TooMany; delitem "AlizarinHerb", 10; delitem "PinkPetal", 6; - set zeny, zeny - 1000; + set Zeny, Zeny - 1000; getitem "PinkDye", 1; goto L_ok; @@ -643,7 +643,7 @@ L_dark_blue: goto L_dark_blue_fail; if (countitem("Pearl") < 1) goto L_dark_blue_fail; - if (zeny < 10000) + if (Zeny < 10000) goto L_dark_blue_fail; getinventorylist; if (@inventorylist_count == 100 @@ -654,7 +654,7 @@ L_dark_blue: delitem "CobaltHerb", 100; delitem "MauveHerb", 50; delitem "Pearl", 1; - set zeny, zeny - 10000; + set Zeny, Zeny - 10000; getitem "DarkBlueDye", 1; goto L_ok; @@ -688,13 +688,13 @@ L_purple: && countitem("MauveHerb") > 20 && countitem("Pearl") > 1) goto L_TooMany; - if (zeny < 40000) + if (Zeny < 40000) goto L_purple_fail; delitem "CobaltHerb", 100; delitem "AlizarinHerb", 100; delitem "MauveHerb", 20; delitem "Pearl", 1; - set zeny, zeny - 40000; + set Zeny, Zeny - 40000; getitem "PurpleDye", 1; goto L_ok; @@ -731,13 +731,13 @@ L_black: && countitem("GambogeHerb") > 40 && countitem("MauveHerb") > 40) goto L_TooMany; - if (zeny < 20000) + if (Zeny < 20000) goto L_black_fail; delitem "CobaltHerb", 40; delitem "AlizarinHerb", 40; delitem "GambogeHerb", 40; delitem "MauveHerb", 40; - set zeny, zeny - 20000; + set Zeny, Zeny - 20000; getitem "BlackDye", 1; goto L_ok; @@ -758,7 +758,7 @@ L_d_black: goto L_intermediate; L_dark_green: - if (baselevel < 30) + if (BaseLevel < 30) goto L_d_no_green; if (QUEST_clothdyer_knowsdye != @QUEST_HAS_SOLVED_DYE_PUZZLE) goto L_d_dark_green; @@ -770,7 +770,7 @@ L_dark_green: goto L_dark_green_fail; if (countitem("MaggotSlime") < 1) goto L_dark_green_fail; - if (zeny < 1000) + if (Zeny < 1000) goto L_dark_green_fail; getinventorylist; if (@inventorylist_count == 100 @@ -783,7 +783,7 @@ L_dark_green: delitem "MauveHerb", 10; delitem "GambogeHerb", 10; delitem "MaggotSlime", 1; - set zeny, zeny - 1000; + set Zeny, Zeny - 1000; getitem "DarkGreenDye", 1; goto L_ok; diff --git a/world/map/npc/011-1/auldsbel.txt b/world/map/npc/011-1/auldsbel.txt index d7666ea9..c6816eec 100644 --- a/world/map/npc/011-1/auldsbel.txt +++ b/world/map/npc/011-1/auldsbel.txt @@ -214,7 +214,7 @@ L_sulphur: close; L_sulphur_buy: - if (zeny < @cost) + if (Zeny < @cost) goto L_sulphur_nozeny; if (countitem("PileOfAsh") < 1) goto L_sulphur_noash; @@ -224,7 +224,7 @@ L_sulphur_buy: && countitem("PileOfAsh") == 0) goto L_sulphur_noroom; - set zeny, zeny - @cost; + set Zeny, Zeny - @cost; delitem "PileOfAsh", 1; getitem "SulphurPowder", 5; mes "[Auldsbel the Wizard]"; @@ -548,9 +548,9 @@ L_Q_astralsoul_L: goto L_main_menu; L_Q_astralsoul_L1: - if (zeny < 11300) + if (Zeny < 11300) goto L_Q_astralsoul_nz; - set zeny, zeny - 11300; + set Zeny, Zeny - 11300; mes "[Auldsbel the Wizard]"; mes "\"Okay, listen:\""; next; @@ -671,7 +671,7 @@ L_make_mana_potion: "Here you are.", -, "I will look for those items.", L_main_menu, "I'm not interested.", L_Q_manaseed_touched_short; - if (zeny < 10000) + if (Zeny < 10000) goto L_make_mana_potion_missing; if (countitem("GambogeHerb") < 10) goto L_make_mana_potion_missing; @@ -689,7 +689,7 @@ L_make_mana_potion: && countitem("BottleOfWater") > 1 && countitem("ManaPotion") < 1) goto L_mana_potion_toomuch; - set zeny, zeny - 10000; + set Zeny, Zeny - 10000; delitem "GambogeHerb", 10; delitem "MauveHerb", 20; delitem "Pearl", 1; @@ -777,7 +777,7 @@ L_component_quest_0: if (countitem ("MauveHerb") < 20) goto L_component_quest_missing; delitem "MauveHerb", 20; - set zeny, zeny + 2500; + set Zeny, Zeny + 2500; mes "[Auldsbel the Wizard]"; mes "\"Well done, my young friend! Here are 2,500 GP to compensate you for your efforts.\""; mes "[You gain 250 experience points]"; @@ -810,7 +810,7 @@ L_component_quest_1: delitem "MediumHealingPotion", 3; delitem "IronPotion", 1; delitem "ConcentrationPotion", 1; - set zeny, zeny + 2500; + set Zeny, Zeny + 2500; mes "[Auldsbel the Wizard]"; mes "\"Ah, excellent, excellent! These are precisely what I needed. Here are another 2,500 GP to compensate you for your efforts.\""; mes "[You gain 500 experience points]"; @@ -833,7 +833,7 @@ L_component_quest_2: if (countitem ("SilkCocoon") < 100) goto L_component_quest_missing; delitem "SilkCocoon", 100; - set zeny, zeny + 5000; + set Zeny, Zeny + 5000; mes "[Auldsbel the Wizard]"; mes "\"Splendid, splendid! Here are 5,000 GP for you.\""; mes "Auldsbel attempts to cram the cocoons into his pockets, with little success. Finally he gives up and takes them into his hut."; @@ -860,7 +860,7 @@ L_component_quest_3: goto L_component_quest_missing; delitem "RedScorpionStinger", 25; delitem "MaggotSlime", 25; - set zeny, zeny + 5000; + set Zeny, Zeny + 5000; mes "[Auldsbel the Wizard]"; mes "\"Good " + @address$ + "! Another 5,000 GP for you.\""; mes "\"I believe that I have figured out one possible way to integrate the tincture into the spell... I will let you know how that goes.\""; @@ -896,7 +896,7 @@ L_component_quest_4: delitem "SnakeTongue", 20; delitem "CaveSnakeTongue", 20; delitem "MountainSnakeTongue", 20; - set zeny, zeny + 8000; + set Zeny, Zeny + 8000; mes "[Auldsbel the Wizard]"; mes "\"8,000 GP should cover your efforts, I think.\""; mes "\"Now let's see if this works...\""; @@ -929,7 +929,7 @@ L_component_quest_5: if (countitem ("GrassSnakeTongue") < 50) goto L_component_quest_missing; delitem "GrassSnakeTongue", 50; - set zeny, zeny + 10000; + set Zeny, Zeny + 10000; mes "[Auldsbel the Wizard]"; mes "\"Excellent! Here are 10,000 GP for you, and now let's see how this goes.\""; mes "[You gain 100,000 experience points]"; |