summaryrefslogtreecommitdiff
path: root/world/map/npc/010-2
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2011-11-15 21:06:07 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2011-11-16 19:44:03 +0100
commit206c3720a29b0db6c73ea534bd3f34bacaef17de (patch)
tree2d0e6a65117ad6ea1185dda7112a6f8679c781a1 /world/map/npc/010-2
parent0f44cd07642a74953e5b03a10a1593c5d839c7a2 (diff)
downloadserverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.gz
serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.bz2
serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.tar.xz
serverdata-206c3720a29b0db6c73ea534bd3f34bacaef17de.zip
Made Constants case-sensitive
Diffstat (limited to 'world/map/npc/010-2')
-rw-r--r--world/map/npc/010-2/chef.txt8
-rw-r--r--world/map/npc/010-2/doug.txt2
-rw-r--r--world/map/npc/010-2/loratay.txt36
3 files changed, 23 insertions, 23 deletions
diff --git a/world/map/npc/010-2/chef.txt b/world/map/npc/010-2/chef.txt
index 9bc7e468..f5a6e8d5 100644
--- a/world/map/npc/010-2/chef.txt
+++ b/world/map/npc/010-2/chef.txt
@@ -68,10 +68,10 @@ L_lace_cupcake:
goto L_no_orange;
if (countitem ("MopoxCurePotion") < 1)
goto L_no_potion;
- if (zeny < 500)
- goto L_no_zeny;
+ if (Zeny < 500)
+ goto L_no_Zeny;
- set zeny, zeny - 500;
+ set Zeny, Zeny - 500;
delitem "GingerBreadMan", 3;
delitem "Orange", 1;
delitem "MopoxCurePotion", 1;
@@ -106,7 +106,7 @@ L_no_orange:
mes "\"Please bring me an orange for these cupcakes.\"";
close;
-L_no_zeny:
+L_no_Zeny:
mes "[Chef]";
mes "";
mes "\"No. I need extra ingredients worth 500 GP, and I expect you to pay for those.\"";
diff --git a/world/map/npc/010-2/doug.txt b/world/map/npc/010-2/doug.txt
index 5bcd8fef..233490fa 100644
--- a/world/map/npc/010-2/doug.txt
+++ b/world/map/npc/010-2/doug.txt
@@ -97,7 +97,7 @@ L_Have:
if(countitem("CaveSnakeLamp") < 20)
goto L_State2;
delitem "CaveSnakeLamp", 20;
- set zeny, zeny + 5000;
+ set Zeny, Zeny + 5000;
getexp 5000, 0;
set CaveSnakeLamp, 2;
diff --git a/world/map/npc/010-2/loratay.txt b/world/map/npc/010-2/loratay.txt
index fd268230..c1d758f3 100644
--- a/world/map/npc/010-2/loratay.txt
+++ b/world/map/npc/010-2/loratay.txt
@@ -239,11 +239,11 @@ L_desert_hat:
goto L_desert_hat_noheadband;
if (countitem("CottonCloth") < 3)
goto L_desert_hat_nocotton;
- if (zeny < 300)
+ if (Zeny < 300)
goto L_desert_hat_nogp;
delitem @item, 1;
delitem "CottonCloth", 3;
- set zeny, zeny - 300;
+ set Zeny, Zeny - 300;
getitem @genitem, 1;
mes "[Lora Tay the Seamstress]";
mes "\"Now then, this should only take a minute.\"";
@@ -307,14 +307,14 @@ L_trim:
set @genitem, @item - 70;
if (@genitem == 0)
goto L_trim_impossible;
- if (zeny < 100)
+ if (Zeny < 100)
goto L_trim_nozeny;
if (countitem(@delitem) < 1)
goto L_main_menu;
delitem @delitem, 1;
getitem @genitem, 1;
- set zeny, zeny - 100;
+ set Zeny, Zeny - 100;
mes "[Lora Tay the Seamstress]";
mes "";
mes "\"There you are, dear.\"";
@@ -368,7 +368,7 @@ L_lengthen:
set @genitem, @item + 70;
if (@genitem == 0)
goto L_lengthen_impossible;
- if (zeny < 500)
+ if (Zeny < 500)
goto L_lengthen_nozeny;
if (countitem ("CottonCloth") < 1)
goto L_lengthen_nocotton;
@@ -378,7 +378,7 @@ L_lengthen:
delitem @delitem, 1;
delitem "CottonCloth", 1;
getitem @genitem, 1;
- set zeny, zeny - 500;
+ set Zeny, Zeny - 500;
mes "[Lora Tay the Seamstress]";
mes "The seamstress cuts your piece of cotton cloth into stripes and sews them on. Using some odd liquid, she flattens the seams and borders.";
if (@delitem > 2000) // dyed
@@ -427,12 +427,12 @@ L_tanktop_menu:
L_tanktop_short:
if (countitem ("CottonCloth") < 5)
goto L_tanktop_insufficient_cloth;
- if (zeny < 1000)
- goto L_tanktop_insufficient_zeny;
+ if (Zeny < 1000)
+ goto L_tanktop_insufficient_Zeny;
getinventorylist;
if (@inventorylist_count == 100 && countitem("CottonCloth") > 5)
goto L_TooMany;
- set zeny, zeny - 1000;
+ set Zeny, Zeny - 1000;
delitem "CottonCloth", 5;
getitem "ShortTankTop", 1;
mes "[Lora Tay the Seamstress]";
@@ -446,12 +446,12 @@ L_tanktop_short:
L_tanktop_long:
if (countitem ("CottonCloth") < 6)
goto L_tanktop_insufficient_cloth;
- if (zeny < 1000)
- goto L_tanktop_insufficient_zeny;
+ if (Zeny < 1000)
+ goto L_tanktop_insufficient_Zeny;
getinventorylist;
if (@inventorylist_count == 100 && countitem("CottonCloth") > 6)
goto L_TooMany;
- set zeny, zeny - 1000;
+ set Zeny, Zeny - 1000;
delitem "CottonCloth", 6;
getitem "TankTop", 1;
mes "[Lora Tay the Seamstress]";
@@ -466,7 +466,7 @@ L_tanktop_insufficient_cloth:
next;
goto L_tanktop_menu;
-L_tanktop_insufficient_zeny:
+L_tanktop_insufficient_Zeny:
mes "[Lora Tay the Seamstress]";
mes "As you note that you don't have enough GP on you, Lora rolls her eyes.";
mes "\"I don't work for free, you know. I already gave you a discounted peasant price.\"";
@@ -517,12 +517,12 @@ L_robe_menu:
"Very well then, here you are.", -;
if (countitem("SilkCocoon") < @ROBE_COCOONS_NR)
goto L_robe_missing_cocoons;
- if (zeny < @ROBE_ZENY)
- goto L_robe_missing_zeny;
+ if (Zeny < @ROBE_ZENY)
+ goto L_robe_missing_Zeny;
getinventorylist;
if (@inventorylist_count == 100 && countitem("SilkCocoon") > @ROBE_COCOONS_NR)
goto L_TooMany;
- set zeny, zeny - @ROBE_ZENY;
+ set Zeny, Zeny - @ROBE_ZENY;
delitem "SilkCocoon", @ROBE_COCOONS_NR;
getitem "SilkRobe", 1;
mes "[Lora Tay the Seamstress]";
@@ -548,9 +548,9 @@ L_robe_missing_cocoons:
next;
goto L_main_menu;
-L_robe_missing_zeny:
+L_robe_missing_Zeny:
mes "[Lora Tay the Seamstress]";
- mes "\"No, no no. The way this works is that you give me the GP first and I give you the robe afterwards. You're " + (@ROBE_ZENY - zeny) + " GP short, so come back when you can afford the robe!\"";
+ mes "\"No, no no. The way this works is that you give me the GP first and I give you the robe afterwards. You're " + (@ROBE_ZENY - Zeny) + " GP short, so come back when you can afford the robe!\"";
next;
goto L_main_menu;