From 3aa8abd848f1570d514148b311b25871378d2e2d Mon Sep 17 00:00:00 2001 From: Dastgir Date: Thu, 10 Dec 2015 15:32:14 +0530 Subject: ItemID to Constant: kafras/merchants Folder --- npc/merchants/milk_trader.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/merchants/milk_trader.txt') 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; -- cgit v1.2.3-60-g2f50