diff options
Diffstat (limited to 'world/map/npc/001-1/trader.txt')
-rw-r--r-- | world/map/npc/001-1/trader.txt | 18 |
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?\""; |