summaryrefslogtreecommitdiff
path: root/world/map/npc/001-1/trader.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/001-1/trader.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/001-1/trader.txt')
-rw-r--r--world/map/npc/001-1/trader.txt18
1 files changed, 9 insertions, 9 deletions
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?\"";