diff options
Diffstat (limited to 'npc/merchants/milk_trader.txt')
-rw-r--r-- | npc/merchants/milk_trader.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/merchants/milk_trader.txt b/npc/merchants/milk_trader.txt index 396cdef08..d4f48fe4d 100644 --- a/npc/merchants/milk_trader.txt +++ b/npc/merchants/milk_trader.txt @@ -35,7 +35,7 @@ //========================================================================= prontera,73,140,0 script Milk Vendor 4_M_04,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "^3355FFJust a minute!"; mes "I can't offer any of my"; mes "services to you because"; @@ -53,7 +53,7 @@ prontera,73,140,0 script Milk Vendor 4_M_04,{ mes "does that sound?"; next; if (select("Exchange all empty bottles.:Cancel") == 1) { - if (countitem(713) <= 0) { + if (countitem(Empty_Bottle) <= 0) { mes "[Milk Vendor]"; mes "Hey..."; mes "You don't have"; @@ -63,7 +63,7 @@ prontera,73,140,0 script Milk Vendor 4_M_04,{ mes "way, you know..."; close; } - .@bottles = countitem(713); + .@bottles = countitem(Empty_Bottle); .@total_weight = .@bottles * 50; .@total_cost = .@bottles * 15; if (Zeny < .@total_cost) { @@ -87,8 +87,8 @@ prontera,73,140,0 script Milk Vendor 4_M_04,{ close; } Zeny -= .@total_cost; - delitem 713,.@bottles; //Empty Bottles - getitem 519,.@bottles; //Milk + delitem Empty_Bottle,.@bottles; //Empty Bottles + getitem Milk,.@bottles; close; } close; |