summaryrefslogtreecommitdiff
path: root/npc/merchants/milk_trader.txt
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-10 15:32:14 +0530
committerHaru <haru@dotalux.com>2015-12-18 05:13:35 +0100
commit3aa8abd848f1570d514148b311b25871378d2e2d (patch)
treef144ddd14143b3a92909196f8fe4dd7060ba4ad3 /npc/merchants/milk_trader.txt
parenta1d160ead032b63a0f696a34961df9e099154402 (diff)
downloadhercules-3aa8abd848f1570d514148b311b25871378d2e2d.tar.gz
hercules-3aa8abd848f1570d514148b311b25871378d2e2d.tar.bz2
hercules-3aa8abd848f1570d514148b311b25871378d2e2d.tar.xz
hercules-3aa8abd848f1570d514148b311b25871378d2e2d.zip
ItemID to Constant: kafras/merchants Folder
Diffstat (limited to 'npc/merchants/milk_trader.txt')
-rw-r--r--npc/merchants/milk_trader.txt10
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;