summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/water_bottle.txt
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/functions/water_bottle.txt
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/functions/water_bottle.txt')
-rw-r--r--world/map/npc/functions/water_bottle.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/functions/water_bottle.txt b/world/map/npc/functions/water_bottle.txt
index 02dc35b2..e88c5965 100644
--- a/world/map/npc/functions/water_bottle.txt
+++ b/world/map/npc/functions/water_bottle.txt
@@ -13,7 +13,7 @@ function|script|WaterBottle|{
if (@empty < @count)
goto L_NotEnoughBottles;
- if (zeny < @cost)
+ if (Zeny < @cost)
goto L_NotEnoughMoney;
getinventorylist;
if (@inventorylist_count == 100
@@ -21,7 +21,7 @@ function|script|WaterBottle|{
&& @empty > @count)
goto L_NotEnoughSlots;
- set zeny, zeny - @cost;
+ set Zeny, Zeny - @cost;
delitem "EmptyBottle", @count;
getitem "BottleOfWater", @count;
close;