summaryrefslogtreecommitdiff
path: root/world/map/npc/001-1
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/001-1
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/001-1')
-rw-r--r--world/map/npc/001-1/bleacher.txt6
-rw-r--r--world/map/npc/001-1/elanore.txt2
-rw-r--r--world/map/npc/001-1/trader.txt18
-rw-r--r--world/map/npc/001-1/vincent.txt2
4 files changed, 14 insertions, 14 deletions
diff --git a/world/map/npc/001-1/bleacher.txt b/world/map/npc/001-1/bleacher.txt
index f8158e4b..a63105d5 100644
--- a/world/map/npc/001-1/bleacher.txt
+++ b/world/map/npc/001-1/bleacher.txt
@@ -8,7 +8,7 @@
if (countitem("PileOfAsh") < 3) goto L_no_ash;
- if (zeny < 5000) goto L_no_money;
+ if (Zeny < 5000) goto L_no_money;
menu
"I'd like to bleach something", -,
@@ -160,12 +160,12 @@ L_choose_color:
if (countitem("PileOfAsh") < 3) goto L_no_ash;
- if (zeny < 5000) goto L_no_money;
+ if (Zeny < 5000) goto L_no_money;
delitem @del, 1;
getitem @normal, 1;
delitem "PileOfAsh", 3;
- set zeny, zeny - 5000;
+ set Zeny, Zeny - 5000;
L_again:
mes "[Candide]";
diff --git a/world/map/npc/001-1/elanore.txt b/world/map/npc/001-1/elanore.txt
index 0c35568f..ca9e0239 100644
--- a/world/map/npc/001-1/elanore.txt
+++ b/world/map/npc/001-1/elanore.txt
@@ -45,7 +45,7 @@ function|script|ElanoreFix|{
set @Q_status, @STATUS_INITIAL;
callsub S_update_var;
if (sc_check(sc_poison)) goto L_CurePoison;
- if (baselevel > 10) goto L_NoHeal;
+ if (BaseLevel > 10) goto L_NoHeal;
set @TEMP,rand(4);
if(@TEMP == 0) goto Heal1;
if(@TEMP == 1) goto Heal2;
diff --git a/world/map/npc/001-1/trader.txt b/world/map/npc/001-1/trader.txt
index a90ca8a5..5976ffb9 100644
--- a/world/map/npc/001-1/trader.txt
+++ b/world/map/npc/001-1/trader.txt
@@ -8,7 +8,7 @@
set @Ironprice, 1000;
set @Sulphurprice, 1200;
set @Potionprice, 500;
- if ((getskilllv(@TRADE_SKILL) > 0) && baselevel >= 25) goto L_Trade;
+ if ((getskilllv(@TRADE_SKILL) > 0) && BaseLevel >= 25) goto L_Trade;
if (getskilllv(@TRADE_SKILL) > 0) goto L_Later;
mes "[Trader]";
@@ -38,8 +38,8 @@ L_Except:
goto L_Close;
L_Teach:
- if (zeny < 5) goto L_NotEnoughMoney;
- set zeny, zeny - 5;
+ if (Zeny < 5) goto L_NotEnoughMoney;
+ set Zeny, Zeny - 5;
setskill @TRADE_SKILL, 1;
mes "[Trader]";
mes "\"You can initiate trade with someone by right-clicking on them and choosing trade.";
@@ -96,11 +96,11 @@ L_Healpots:
L_Ipowder:
if (countitem("IronOre") < 1) goto L_Missing;
- if (zeny < @Ironprice) goto L_NotEnoughMoney;
+ if (Zeny < @Ironprice) goto L_NotEnoughMoney;
getinventorylist;
if (@inventorylist_count == 100 && countitem("IronOre") > 1 && countitem("IronPowder") < 1) goto L_Full;
delitem "IronOre", 1;
- set zeny, zeny - @Ironprice;
+ set Zeny, Zeny - @Ironprice;
getitem "IronPowder", 4;
mes "[Trader]";
mes "\"There you go. Would you like to trade anything else?\"";
@@ -111,11 +111,11 @@ L_Ipowder:
L_Spowder:
if (countitem("PileOfAsh") < 1) goto L_Missing;
- if (zeny < @Sulphurprice) goto L_NotEnoughMoney;
+ if (Zeny < @Sulphurprice) goto L_NotEnoughMoney;
getinventorylist;
if (@inventorylist_count == 100 && countitem("PileOfAsh") > 1 && countitem("SulphurPowder") < 1) goto L_Full;
delitem "PileOfAsh", 1;
- set zeny, zeny - @Sulphurprice;
+ set Zeny, Zeny - @Sulphurprice;
getitem "SulphurPowder", 5;
mes "[Trader]";
mes "\"There you go. Would you like to trade anything else?\"";
@@ -126,11 +126,11 @@ L_Spowder:
L_Pots:
if (countitem("SmallHealingPotion") < 3) goto L_Missing;
- if (zeny < @Potionprice) goto L_NotEnoughMoney;
+ if (Zeny < @Potionprice) goto L_NotEnoughMoney;
getinventorylist;
if (@inventorylist_count == 100 && countitem("SmallHealingPotion") > 3 && countitem("MediumHealingPotion") < 1) goto L_Full;
delitem "SmallHealingPotion", 3;
- set zeny, zeny - @Potionprice;
+ set Zeny, Zeny - @Potionprice;
getitem "MediumHealingPotion", 1;
mes "[Trader]";
mes "\"There you go. Would you like to trade anything else?\"";
diff --git a/world/map/npc/001-1/vincent.txt b/world/map/npc/001-1/vincent.txt
index c7d50302..e2a53a31 100644
--- a/world/map/npc/001-1/vincent.txt
+++ b/world/map/npc/001-1/vincent.txt
@@ -111,7 +111,7 @@ L_Have:
next;
if(countitem("BugLeg") < 10) goto L_Progress;
delitem "BugLeg", 10;
- set zeny, zeny + 1000;
+ set Zeny, Zeny + 1000;
set TMW_Quest, 10;
mes "[Vincent]";