diff options
Diffstat (limited to 'npc/merchants/milk_trader.txt')
-rw-r--r-- | npc/merchants/milk_trader.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/merchants/milk_trader.txt b/npc/merchants/milk_trader.txt index 15fe3c497..1d65418a0 100644 --- a/npc/merchants/milk_trader.txt +++ b/npc/merchants/milk_trader.txt @@ -5,7 +5,7 @@ //===== Current Version: ===================================== //= 1.5 //===== Description: ========================================= -//= [Aegis Conversion] +//= [Official Conversion] //= Trades bottles for milk //===== Additional Comments: ================================= //= Fully working @@ -49,7 +49,7 @@ prontera,73,140,0 script Milk Vendor 86,{ set .@bottles,countitem(713); set .@total_weight,.@bottles * 50; set .@total_cost,.@bottles * 15; - if (zeny < .@Total_cost) { + if (Zeny < .@Total_cost) { mes "[Milk Vendor]"; mes "Oh, whoa~!"; mes "You don't have enough"; @@ -59,7 +59,7 @@ prontera,73,140,0 script Milk Vendor 86,{ mes "at least " + .@total_cost + " zeny."; close; } - if ((maxweight-weight) < .@total_weight) { + if (MaxWeight - Weight < .@total_weight) { mes "[Milk Vendor]"; mes "Hmm..."; mes "Would you make"; @@ -69,7 +69,7 @@ prontera,73,140,0 script Milk Vendor 86,{ mes "all of this milk?"; close; } - set zeny,zeny-.@total_cost; + set Zeny, Zeny-.@total_cost; delitem 713,.@bottles; //Empty Bottles getitem 519,.@bottles; //Milk close; |