diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-12-10 15:32:14 +0530 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-18 05:13:35 +0100 |
commit | 3aa8abd848f1570d514148b311b25871378d2e2d (patch) | |
tree | f144ddd14143b3a92909196f8fe4dd7060ba4ad3 | |
parent | a1d160ead032b63a0f696a34961df9e099154402 (diff) | |
download | hercules-3aa8abd848f1570d514148b311b25871378d2e2d.tar.gz hercules-3aa8abd848f1570d514148b311b25871378d2e2d.tar.bz2 hercules-3aa8abd848f1570d514148b311b25871378d2e2d.tar.xz hercules-3aa8abd848f1570d514148b311b25871378d2e2d.zip |
ItemID to Constant: kafras/merchants Folder
-rw-r--r-- | npc/merchants/alchemist.txt | 4 | ||||
-rw-r--r-- | npc/merchants/ammo_dealer.txt | 2 | ||||
-rw-r--r-- | npc/merchants/buying_shops.txt | 4 | ||||
-rw-r--r-- | npc/merchants/cash_hair.txt | 10 | ||||
-rw-r--r-- | npc/merchants/coin_exchange.txt | 2 | ||||
-rw-r--r-- | npc/merchants/dye_maker.txt | 2 | ||||
-rw-r--r-- | npc/merchants/gemstone.txt | 2 | ||||
-rw-r--r-- | npc/merchants/hair_dyer.txt | 48 | ||||
-rw-r--r-- | npc/merchants/hair_style.txt | 32 | ||||
-rw-r--r-- | npc/merchants/icecream.txt | 4 | ||||
-rw-r--r-- | npc/merchants/milk_trader.txt | 10 | ||||
-rw-r--r-- | npc/merchants/novice_exchange.txt | 12 | ||||
-rw-r--r-- | npc/merchants/old_pharmacist.txt | 48 | ||||
-rw-r--r-- | npc/merchants/quivers.txt | 2 | ||||
-rw-r--r-- | npc/merchants/refine.txt | 72 | ||||
-rw-r--r-- | npc/merchants/socket_enchant.txt | 2 | ||||
-rw-r--r-- | npc/merchants/socket_enchant2.txt | 14 | ||||
-rw-r--r-- | npc/merchants/wander_pet_food.txt | 8 |
18 files changed, 139 insertions, 139 deletions
diff --git a/npc/merchants/alchemist.txt b/npc/merchants/alchemist.txt index c563eb747..ee5663232 100644 --- a/npc/merchants/alchemist.txt +++ b/npc/merchants/alchemist.txt @@ -40,7 +40,7 @@ //========================================================================= alde_alche,24,188,3 script Guild Dealer 2_M_ALCHE,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute! -"; mes "- Currently you are carrying -"; mes "- too many items with you. -"; @@ -100,7 +100,7 @@ alde_alche,24,188,3 script Guild Dealer 2_M_ALCHE,{ close; } Zeny -= .@sell; - getitem 7134,.@input; //Medicine_Bowl + getitem Medicine_Bowl,.@input; mes "[Gever Al Sharp]"; mes "Thank you."; mes "Come again."; diff --git a/npc/merchants/ammo_dealer.txt b/npc/merchants/ammo_dealer.txt index 227bd6218..0c85a19bb 100644 --- a/npc/merchants/ammo_dealer.txt +++ b/npc/merchants/ammo_dealer.txt @@ -108,7 +108,7 @@ function script Bullet_Trade { mes "items for some bullets."; close; } - if (countitem(1010) >= .@amount && countitem(1011) >= .@amount && countitem(getarg(0)) >= (.@amount*getarg(1))) { + if (countitem(Phracon) >= .@amount && countitem(Emveretarcon) >= .@amount && countitem(getarg(0)) >= (.@amount*getarg(1))) { if (checkweight(getarg(2),.@amount * 30) == 0) { mes "[Tony]"; mes "Eh? Your Inventory doesn't"; diff --git a/npc/merchants/buying_shops.txt b/npc/merchants/buying_shops.txt index b19f13f6e..ca32bb287 100644 --- a/npc/merchants/buying_shops.txt +++ b/npc/merchants/buying_shops.txt @@ -154,7 +154,7 @@ alberta_in,58,52,4 script Purchasing Team#Buying 1_M_ORIENT01,{ mes "but you don't seem to have enough money."; } else { mes "Thank you for your patronage."; - getitem 6377,.@input; //Buy_Stall_Permit + getitem Buy_Market_Permit,.@input; //Buy_Stall_Permit Zeny -= (.@input*200); } close; @@ -240,7 +240,7 @@ alberta_in,58,52,4 script Purchasing Team#Buying 1_M_ORIENT01,{ mes "I like your handwriting."; mes "Okay, you're now approved to open the Bulk Buyer Shop."; Zeny -= 10000; - getitem 6377,5; //Buy_Stall_Permit + getitem Buy_Market_Permit,5; //Buy_Stall_Permit skill "ALL_BUYING_STORE",1,3; next; mes "[Mr. Hugh]"; diff --git a/npc/merchants/cash_hair.txt b/npc/merchants/cash_hair.txt index a57d6aa84..4f92a4135 100644 --- a/npc/merchants/cash_hair.txt +++ b/npc/merchants/cash_hair.txt @@ -94,7 +94,7 @@ itemmall,19,74,5 script Stylist#cash 4_F_02,{ mes "change your hairstyle?"; next; if(select("Change Hairstyle:Don't Change") == 1) { - if (countitem(7622) > 0) { + if (countitem(New_Style_Coupon) > 0) { mes "[Kaniki]"; mes "Great, you brought"; mes "a New Style Coupon!"; @@ -103,18 +103,18 @@ itemmall,19,74,5 script Stylist#cash 4_F_02,{ next; if (Sex == 1) { if(select("Emergency Heal Perm:Aura Blade Cut") == 1) { - delitem 7622,1; // New_Style_Coupon + delitem New_Style_Coupon,1; // New_Style_Coupon setlook 1,24; }else{ - delitem 7622,1; // New_Style_Coupon + delitem New_Style_Coupon,1; // New_Style_Coupon setlook 1,25; } }else{ if(select("Assumptio Perm:Soul Changer Cut") == 1) { - delitem 7622,1; // New_Style_Coupon + delitem New_Style_Coupon,1; // New_Style_Coupon setlook 1,24; }else{ - delitem 7622,1; // New_Style_Coupon + delitem New_Style_Coupon,1; // New_Style_Coupon setlook 1,25; } } diff --git a/npc/merchants/coin_exchange.txt b/npc/merchants/coin_exchange.txt index 84aeb71bd..57b0c4afb 100644 --- a/npc/merchants/coin_exchange.txt +++ b/npc/merchants/coin_exchange.txt @@ -40,7 +40,7 @@ .@n$ = "["+strnpcinfo(1)+"]"; mes .@n$; if (isequipped(2782) && ep13_2_rhea == 100) { - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "It looks like you're carrying too many things."; mes "Why not put some of your items in storage and come back?"; close; diff --git a/npc/merchants/dye_maker.txt b/npc/merchants/dye_maker.txt index d387485a1..a99fbd9e0 100644 --- a/npc/merchants/dye_maker.txt +++ b/npc/merchants/dye_maker.txt @@ -38,7 +38,7 @@ //========================================================================= morocc_in,146,99,3 script Java Dullihan 1_M_MERCHANT,{ - if ((MaxWeight-Weight) < 200 || checkweight(1201,1) == 0) { + if ((MaxWeight-Weight) < 200 || checkweight(Knife,1) == 0) { mes "- Wait a moment! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; diff --git a/npc/merchants/gemstone.txt b/npc/merchants/gemstone.txt index 229161c30..b114344a1 100644 --- a/npc/merchants/gemstone.txt +++ b/npc/merchants/gemstone.txt @@ -34,7 +34,7 @@ //========================================================================= payon,173,238,5 script Jade#pay 4_M_SAGE_A,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "^3355FFWait a second! Right now, you're carrying too many items with you. Please come back after putting some of your things into Kafra Storage.^000000"; close; } diff --git a/npc/merchants/hair_dyer.txt b/npc/merchants/hair_dyer.txt index f1b72a2b7..db261c215 100644 --- a/npc/merchants/hair_dyer.txt +++ b/npc/merchants/hair_dyer.txt @@ -120,14 +120,14 @@ prt_in,243,168,4 script Jovovich 4_F_02,{ } switch(.@headpalette) { - case 1: delitem 976,1; break; //Lemon_Dyestuffs - case 2: delitem 978,1; break; //Violet_Dyestuffs - case 3: delitem 980,1; break; //Orange_Dyestuffs - case 4: delitem 979,1; break; //Darkgreen_Dyestuffs - case 5: delitem 981,1; break; //Cobaltblue_Dyestuffs - case 6: delitem 982,1; break; //White_Dyestuffs - case 7: delitem 983,1; break; //Black_Dyestuffs - case 8: delitem 975,1; break; //Scarlet_Dyestuffs + case 1: delitem Lemon_Dyestuffs,1; break; + case 2: delitem Cobaltblue_Dyestuffs,1; break; //Violet_Dyestuffs + case 3: delitem Orange_Dyestuffs,1; break; + case 4: delitem Darkgreen_Dyestuffs,1; break; + case 5: delitem Violet_Dyestuffs,1; break; //Cobaltblue_Dyestuffs + case 6: delitem White_Dyestuffs,1; break; + case 7: delitem Black_Dyestuffs,1; break; + case 8: delitem Scarlet_Dyestuffs,1; break; } Zeny -= 1000; setlook VAR_HEADPALETTE,.@headpalette; @@ -285,7 +285,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ next; } else { - if ((.@headpalette == 8) && (countitem(975) == 0)) { + if ((.@headpalette == 8) && (countitem(Scarlet_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -295,7 +295,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 1) && (countitem(976) == 0)) { + else if ((.@headpalette == 1) && (countitem(Lemon_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -305,7 +305,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 2) && (countitem(981) == 0)) { + else if ((.@headpalette == 2) && (countitem(Violet_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -315,7 +315,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 3) && (countitem(980) == 0)) { + else if ((.@headpalette == 3) && (countitem(Orange_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -325,7 +325,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 4) && (countitem(979) == 0)) { + else if ((.@headpalette == 4) && (countitem(Darkgreen_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -337,7 +337,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 5) && (countitem(978) == 0)) { + else if ((.@headpalette == 5) && (countitem(Cobaltblue_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -349,7 +349,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 6) && (countitem(982) == 0)) { + else if ((.@headpalette == 6) && (countitem(White_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -359,7 +359,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - else if ((.@headpalette == 7) && (countitem(983) == 0)) { + else if ((.@headpalette == 7) && (countitem(Black_Dyestuffs) == 0)) { mes "[Rossa]"; mes "Oh, I'm sorry dear,"; mes "but I can't dye your"; @@ -379,14 +379,14 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ .@choose_success = 2; break; } - if (.@headpalette == 8) delitem 975,1; //Scarlet_Dyestuffs - else if (.@headpalette == 1) delitem 976,1; //Lemon_Dyestuffs - else if (.@headpalette == 2) delitem 981,1; //Violet_Dyestuffs - else if (.@headpalette == 3) delitem 980,1; //Orange_Dyestuffs - else if (.@headpalette == 4) delitem 979,1; //Darkgreen_Dyestuffs - else if (.@headpalette == 5) delitem 978,1; //Cobaltblue_Dyestuffs - else if (.@headpalette == 6) delitem 982,1; //White_Dyestuffs - else if (.@headpalette == 7) delitem 983,1; //Black_Dyestuffs + if (.@headpalette == 8) delitem Scarlet_Dyestuffs,1; + else if (.@headpalette == 1) delitem Lemon_Dyestuffs,1; + else if (.@headpalette == 2) delitem Violet_Dyestuffs,1; + else if (.@headpalette == 3) delitem Orange_Dyestuffs,1; + else if (.@headpalette == 4) delitem Darkgreen_Dyestuffs,1; + else if (.@headpalette == 5) delitem Cobaltblue_Dyestuffs,1; + else if (.@headpalette == 6) delitem White_Dyestuffs,1; + else if (.@headpalette == 7) delitem Black_Dyestuffs,1; Zeny -= 1000; setlook VAR_HEADPALETTE,.@headpalette; .@choose_success = 1; diff --git a/npc/merchants/hair_style.txt b/npc/merchants/hair_style.txt index ea074efaa..7bfefadf4 100644 --- a/npc/merchants/hair_style.txt +++ b/npc/merchants/hair_style.txt @@ -383,7 +383,7 @@ alberta_in,55,142,7 script Hair Dresser 4_F_02,{ mes "your current hairstyle. Why don't you"; mes "try a new hair accessory rather than changing your look?"; close; - } else if((countitem(973) < 3) || (countitem(974) < 3) || (countitem(901) <100) || (countitem(1094) <100) || (countitem(1020) <100) || (countitem(1060) <100) || (countitem(7152) <100) || (Zeny < 99800)) { + } else if((countitem(Counteragent) < 3) || (countitem(Mixture) < 3) || (countitem(Danggie) <100) || (countitem(Short_Daenggie) <100) || (countitem(Long_Hair) <100) || (countitem(Golden_Hair) <100) || (countitem(Glossy_Hair) <100) || (Zeny < 99800)) { mes "[Veronica]"; mes "If you wish to change your"; mes "hairstyle, you should meet some"; @@ -494,13 +494,13 @@ alberta_in,55,142,7 script Hair Dresser 4_F_02,{ mes "- *bzzzzzzz bzzzzzzz bzzzzzzz bzzzzzzz* -"; next; Zeny -= 99800; - delitem 973,3; // Counteragent - delitem 974,3; // Mixture - delitem 901,100; // Danggie - delitem 1094,100; // Short_Daenggie - delitem 1020,100; // Long_Hair - delitem 1060,100; // Golden_Hair - delitem 7152,100; // Glossy_Hair + delitem Counteragent,3; // Counteragent + delitem Mixture,3; // Mixture + delitem Danggie,100; // Danggie + delitem Short_Daenggie,100; // Short_Daenggie + delitem Long_Hair,100; // Long_Hair + delitem Golden_Hair,100; // Golden_Hair + delitem Glossy_Hair,100; // Glossy_Hair setlook 1,.@style; setlook 6,.@pallete; cutin "",255; @@ -924,7 +924,7 @@ lhz_in02,100,143,3 script Hair Dresser#li 2_M_DYEINGER,{ mes "come back once you do, okay?"; close; } - else if ((countitem(973) < 3) || (countitem(974) < 3) || (countitem(901) < 100) || (countitem(1094) < 100) || (countitem(1020) < 100) || (countitem(1060) < 100) || (countitem(7152) < 100) || (Zeny < 99800)) { + else if ((countitem(Counteragent) < 3) || (countitem(Mixture) < 3) || (countitem(Danggie) < 100) || (countitem(Short_Daenggie) < 100) || (countitem(Long_Hair) < 100) || (countitem(Golden_Hair) < 100) || (countitem(Glossy_Hair) < 100) || (Zeny < 99800)) { mes "[Prince Shammi]"; mes "If you've already decided"; mes "what hairstyle you'd like,"; @@ -1065,13 +1065,13 @@ lhz_in02,100,143,3 script Hair Dresser#li 2_M_DYEINGER,{ mes "*Bzzzzzzzzzzzzzzzzzzzz*^000000"; next; Zeny -= 99800; - delitem 973,3; //Counteragent - delitem 974,3; //Mixture - delitem 901,100; //Danggie - delitem 1094,100; //Short_Daenggie - delitem 1020,100; //Long_Hair - delitem 1060,100; //Golden_Hair - delitem 7152,100; //Glossy_Hair + delitem Counteragent,3; + delitem Mixture,3; + delitem Danggie,100; + delitem Short_Daenggie,100; + delitem Long_Hair,100; + delitem Golden_Hair,100; + delitem Glossy_Hair,100; setlook VAR_HEAD,.@input; setlook VAR_HEADPALETTE,.@headpalette; mes "[Prince Shammi]"; diff --git a/npc/merchants/icecream.txt b/npc/merchants/icecream.txt index a8df94753..ba05d4f94 100644 --- a/npc/merchants/icecream.txt +++ b/npc/merchants/icecream.txt @@ -82,7 +82,7 @@ mes "Price is ^3355FF100 Zeny^000000 per ice cream."; close; } - if(checkweight(536,.@input) == 0) { + if(checkweight(Ice_Cream,.@input) == 0) { mes "[Ice Cream Maker]"; mes "Dear customer,you look like you're carrying a lot."; mes "Ice Cream is fine,"; @@ -91,7 +91,7 @@ close; } Zeny -= 100*.@input; - getitem 536,.@input; // Ice_Cream + getitem Ice_Cream,.@input; // Ice_Cream close; } 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; diff --git a/npc/merchants/novice_exchange.txt b/npc/merchants/novice_exchange.txt index d35f1db48..d23961554 100644 --- a/npc/merchants/novice_exchange.txt +++ b/npc/merchants/novice_exchange.txt @@ -37,7 +37,7 @@ //========================================================================= prontera,123,102,5 script Merchant#pron 4_M_03,{ - if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 6301 || checkweight(Knife,1) == 0) { mes "[Merchant]"; mes "Haha!"; mes "What are you, superhuman?"; @@ -93,7 +93,7 @@ prontera,123,102,5 script Merchant#pron 4_M_03,{ } morocc,180,259,3 script Merchant#morroc 4_M_03,{ - if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 6301 || checkweight(Knife,1) == 0) { mes "[Merchant]"; mes "Haha!"; mes "What are you, superhuman?"; @@ -150,7 +150,7 @@ morocc,180,259,3 script Merchant#morroc 4_M_03,{ } payon,200,134,5 script Merchant#pay 4_M_03,{ - if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 6301 || checkweight(Knife,1) == 0) { mes "[Merchant]"; mes "Haha!"; mes "What are you, superhuman?"; @@ -204,7 +204,7 @@ payon,200,134,5 script Merchant#pay 4_M_03,{ } aldebaran,152,63,5 script Merchant#alde 4_M_03,{ - if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 6301 || checkweight(Knife,1) == 0) { mes "[Merchant]"; mes "Haha!"; mes "What are you, superhuman?"; @@ -261,7 +261,7 @@ aldebaran,152,63,5 script Merchant#alde 4_M_03,{ } geffen,173,88,5 script Merchant#geff 4_M_03,{ - if (MaxWeight - Weight < 6301 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 6301 || checkweight(Knife,1) == 0) { mes "[Merchant]"; mes "Haha!"; mes "What are you, superhuman?"; @@ -387,7 +387,7 @@ function script F_PotExchange { mes "Check how many Red Potions"; mes "I've given you, it should be good. Thanks, that was a good deal~"; delitem getarg(0),.@put_out_item; //Shell - getitem 501,.@input; //Red_Potion + getitem Red_Potion,.@input; close; } mes "[Merchant]"; diff --git a/npc/merchants/old_pharmacist.txt b/npc/merchants/old_pharmacist.txt index 6380eb390..37069f166 100644 --- a/npc/merchants/old_pharmacist.txt +++ b/npc/merchants/old_pharmacist.txt @@ -36,7 +36,7 @@ //========================================================================= alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a moment! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -68,16 +68,16 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{ case 2: next; mes "[Old Pharmacist]"; - if (countitem(507) < countitem(713)) { - .@max = countitem(507); + if (countitem(Red_Herb) < countitem(Empty_Bottle)) { + .@max = countitem(Red_Herb); } - else if (countitem(508) < countitem(713)) { - .@max = countitem(508); + else if (countitem(Yellow_Herb) < countitem(Empty_Bottle)) { + .@max = countitem(Yellow_Herb); } else { - .@max = countitem(713); + .@max = countitem(Empty_Bottle); } - if ((countitem(507) < 1) || (countitem(508) < 1) || (countitem(713) == 0)) { + if ((countitem(Red_Herb) < 1) || (countitem(Yellow_Herb) < 1) || (countitem(Empty_Bottle) == 0)) { mes "You rascal! What did you expect?! Coming here with nothing. Tsk!"; mes "Get lost!"; close; @@ -91,16 +91,16 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{ switch(select("Make as many as I can.:I want to choose an amount.:Actually, I don't want anything.")) { case 1: next; - if ((countitem(507) < .@max) || (countitem(508) < .@max) || (countitem(713) < .@max) || (Zeny < .@max*3)) { + if ((countitem(Red_Herb) < .@max) || (countitem(Yellow_Herb) < .@max) || (countitem(Empty_Bottle) < .@max) || (Zeny < .@max*3)) { mes "[Old Pharmacist]"; mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; close; } Zeny -= (.@max*5); - delitem 507,.@max; //Red_Herb - delitem 508,.@max; //Yellow_Herb - delitem 713,.@max; //Empty_Bottle - getitem 502,.@max; //Orange_Potion + delitem Red_Herb,.@max; + delitem Yellow_Herb,.@max; + delitem Empty_Bottle,.@max; + getitem Orange_Potion,.@max; break; case 2: next; @@ -119,7 +119,7 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{ mes "Are you deaf? I said less than 100!"; close; } - if ((countitem(507) < .@amount) || (countitem(508) < .@amount) || (countitem(713) < .@amount) || (Zeny < .@amount*3)) { + if ((countitem(Red_Herb) < .@amount) || (countitem(Yellow_Herb) < .@amount) || (countitem(Empty_Bottle) < .@amount) || (Zeny < .@amount*3)) { next; mes "[Old Pharmacist]"; mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; @@ -127,10 +127,10 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{ } next; Zeny -= (.@amount*5); - delitem 507,.@amount; //Red_Herb - delitem 508,.@amount; //Yellow_Herb - delitem 713,.@amount; //Empty_Bottle - getitem 502,.@amount; //Orange_Potion + delitem Red_Herb,.@amount; + delitem Yellow_Herb,.@amount; + delitem Empty_Bottle,.@amount; + getitem Orange_Potion,.@amount; break; case 3: next; @@ -202,12 +202,12 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{ L_Making: next; mes "[Old Pharmacist]"; - if ((countitem(getarg(0))/2) < countitem(713)) { + if ((countitem(getarg(0))/2) < countitem(Empty_Bottle)) { .@max = countitem(getarg(0))/2; } else { - .@max = countitem(713); + .@max = countitem(Empty_Bottle); } - if ((countitem(getarg(0)) < 2) || (countitem(713) == 0)) { + if ((countitem(getarg(0)) < 2) || (countitem(Empty_Bottle) == 0)) { mes "You rascal! What did you expect?! Coming here with nothing. Tsk!"; mes "Get lost!"; close; @@ -221,14 +221,14 @@ L_Making: switch(select("Make as many as I can.:I want to choose an amount.:Actually, I don't want anything.")) { case 1: next; - if ((countitem(getarg(0)) < .@max*2) || (countitem(713) < .@max) || (Zeny < .@max*getarg(1))) { + if ((countitem(getarg(0)) < .@max*2) || (countitem(Empty_Bottle) < .@max) || (Zeny < .@max*getarg(1))) { mes "[Old Pharmacist]"; mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; close; } Zeny -= (.@max*getarg(1)); delitem getarg(0),.@max*2; - delitem 713,.@max; //Empty_Bottle + delitem Empty_Bottle,.@max; getitem getarg(2),.@max; break; case 2: @@ -247,14 +247,14 @@ L_Making: mes "Are you deaf? I said less than 100!"; close; } - if ((countitem(getarg(0)) < .@amount*2) || (countitem(713) < .@amount) || (Zeny < .@amount*getarg(1))) { + if ((countitem(getarg(0)) < .@amount*2) || (countitem(Empty_Bottle) < .@amount) || (Zeny < .@amount*getarg(1))) { mes "[Old Pharmacist]"; mes "You rascal! You don't even have all the materials and you want me to make you potions?!"; close; } Zeny -= (.@amount*getarg(1)); delitem getarg(0),.@amount*2; - delitem 713,.@amount; //Empty_Bottle + delitem Empty_Bottle,.@amount; getitem getarg(2),.@amount; break; case 3: diff --git a/npc/merchants/quivers.txt b/npc/merchants/quivers.txt index 3dca21c37..98b35b08f 100644 --- a/npc/merchants/quivers.txt +++ b/npc/merchants/quivers.txt @@ -36,7 +36,7 @@ //========================================================================= payon_in01,5,134,5 script Inventor Jaax 4_M_ORIENT02,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) { mes "[Inventor Jaax]"; mes "Hey, you're carrying"; mes "way too much stuff. Why don't you stash it away in Kafra Storage? We can talk after you do that, right?"; diff --git a/npc/merchants/refine.txt b/npc/merchants/refine.txt index 3de8bf28d..36574b2b5 100644 --- a/npc/merchants/refine.txt +++ b/npc/merchants/refine.txt @@ -71,7 +71,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye."; close; } - getitem 986,1; // Anvil + getitem Anvil,1; // Anvil Zeny -= 30000; mes "[Christopher Guillenrow]"; mes "This is the cheapest one, but efficient enough to forge most items. Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; @@ -82,7 +82,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye."; close; } - getitem 987,1; // Oridecon_Anvil + getitem Oridecon_Anvil,1; // Oridecon_Anvil Zeny -= 120000; mes "[Christopher Guillenrow]"; mes "Aye, friend ye have an eye for the anvil. This must be the proper anvil for a Blacksmith, eh? Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; @@ -93,7 +93,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye."; close; } - getitem 988,1; // Golden_Anvil + getitem Golden_Anvil,1; // Golden_Anvil Zeny -= 300000; mes "[Christopher Guillenrow]"; mes "This one is the best among all me stuffs in me workshop! With this, ye can rule the Blacksmith world! Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; @@ -141,12 +141,12 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye."; close; } - if (checkweight(612,.@input) == 0) { + if (checkweight(Portable_Furnace,.@input) == 0) { mes "[Christopher Guillenrow]"; mes "Ye look like you don't got enough room in yer inventory. Put some stuff into your Kafra Storage, why don't ye?"; close; } - getitem 612,.@input; // Portable_Furnace + getitem Portable_Furnace,.@input; // Portable_Furnace Zeny -= .@sell; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; @@ -157,7 +157,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye."; close; } - getitem 613,1; // Iron_Hammer + getitem Iron_Hammer,1; // Iron_Hammer Zeny -= 1000; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; @@ -168,7 +168,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye."; close; } - getitem 614,1; // Golden_Hammer + getitem Golden_Hammer,1; // Golden_Hammer Zeny -= 3000; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; @@ -179,7 +179,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye."; close; } - getitem 615,1; // Oridecon_Hammer + getitem Oridecon_Hammer,1; // Oridecon_Hammer Zeny -= 5000; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; @@ -222,12 +222,12 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "Ye don't have enough money. Ye know I can't sell this at a lower price... You know how the wifey nags about Zeny."; close; } - if (checkweight(1010,.@input) == 0) { + if (checkweight(Phracon,.@input) == 0) { mes "[Christopher Guillenrow]"; mes "Ye look like you don't have the room to carry anythin' new. Why don't ye put some things into Kafra Storage n' come back."; close; } - getitem 1010,.@input; // Phracon + getitem Phracon,.@input; // Phracon Zeny -= .@sell; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need."; @@ -260,12 +260,12 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "I don't think I can let ye have this with the zeny ye have. I can't lose me money because of ye."; close; } - if (checkweight(1011,.@input) == 0) { + if (checkweight(Emveretarcon,.@input) == 0) { mes "[Christopher Guillenrow]"; mes "Me friend... Seems to me ye don't have Inventory space. Why doncha put some things into Kafra Storage first?"; close; } - getitem 1011,.@input; // Emveretarcon + getitem Emveretarcon,.@input; // Emveretarcon Zeny -= .@sell; mes "[Christopher Guillenrow]"; mes "Thank ye fer shopping at me workshop. Feel free to come anytime, whenever ye need, whenever ye want."; @@ -281,27 +281,27 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ next; switch(select("Make Oridecon:Make Elunium:Cancel.")) { case 1: - if (countitem(756) < 5) { + if (countitem(Oridecon_Stone) < 5) { mes "[Christopher Guillenrow]"; mes "I told ye, I need 5 o'the rough Oridecons fer one Oridecon."; close; } else { - delitem 756,5; //Oridecon_Stone - getitem 984,1; // Oridecon + delitem Oridecon_Stone,5; + getitem Oridecon,1; // Oridecon mes "[Christopher Guillenrow]"; mes "Here's an Oridecon fer ye. Ye will be always welcome here, I'll be waitin' for ye."; close; } case 2: - if (countitem(757) < 5) { + if (countitem(Elunium_Stone) < 5) { mes "[Christopher Guillenrow]"; mes "I told ye, I need 5 rough Eluniums fer one Elunium."; close; } else { - delitem 757,5; //Elunium_Stone - getitem 985,1; // Elunium + delitem Elunium_Stone,5; + getitem Elunium,1; // Elunium mes "[Christopher Guillenrow]"; mes "Arrr, here's yer Elunium. Yer business is always welcome here, so feel free to come again."; close; @@ -320,7 +320,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ //== Paul Spanner: Einbroch Blacksmith Supplier ============ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -346,7 +346,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{ mes "With that much of money, you cannot even buy a toy anvil!"; close; } - getitem 986,1; //Anvil + getitem Anvil,1; Zeny -= 30000; mes "[Paul Spanner]"; mes "It is the cheapest anvil which has the most basic ability."; @@ -358,7 +358,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{ mes "With that much of money, you cannot even buy a toy anvil!"; close; } - getitem 987,1; //Oridecon_Anvil + getitem Oridecon_Anvil,1; Zeny -= 120000; mes "[Paul Spanner]"; mes "Ah, you have an eye for anvil. A Blacksmith needs an anvil at least as good as this."; @@ -370,7 +370,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{ mes "With that much of money, you cannot even buy a toy anvil!"; close; } - getitem 988,1; //Golden_Anvil + getitem Golden_Anvil,1; Zeny -= 300000; mes "[Paul Spanner]"; mes "I can tell your ambition to become a good Blacksmith just by looking at you to choose this Golden Anvil!"; @@ -516,27 +516,27 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{ mes "So, which one do you want to process?"; switch(select("Oridecon:Elunium:Quit.")) { case 1: - if (countitem(756) < 5) { + if (countitem(Oridecon_Stone) < 5) { mes "[Paul Spanner]"; mes "You need 5 ores to process them into one pure Oridecon."; close; } else { - delitem 756,5; //Oridecon_Stone - getitem 984,1; //Oridecon + delitem Oridecon_Stone,5; + getitem Oridecon,1; mes "[Paul Spanner]"; mes "There you go. Thank you for using my service."; close; } case 2: - if (countitem(757) < 5) { + if (countitem(Elunium_Stone) < 5) { mes "[Paul Spanner]"; mes "You need 5 ores to process them into one pure Elunium."; close; } else { - delitem 757,5; //Elunium_Stone - getitem 985,1; //Elunium + delitem Elunium_Stone,5; + getitem Elunium,1; mes "[Paul Spanner]"; mes "There you go. Thank you for using my service."; close; @@ -913,7 +913,7 @@ lhz_in02,278,24,3 script Krugg 4_M_04,{ //== Material Salesmen Functions =========================== function script phramain { - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -1024,7 +1024,7 @@ lhz_in02,281,24,5 script Fruel 4_M_02,{ //== Ori/Elu Functions ===================================== function script orimain { - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -1041,9 +1041,9 @@ function script orimain { next; switch(select("Make Oridecon:Make Elunium:Ask about Enchanted Stones")) { case 1: - if (countitem(756) > 4) { - delitem 756,5; //Oridecon_Stone - getitem 984,1; // Oridecon + if (countitem(Oridecon_Stone) > 4) { + delitem Oridecon_Stone,5; + getitem Oridecon,1; // Oridecon mes "[" + getarg(0) + "]"; mes "Here's your Oridecon."; mes "You're welcome to come"; @@ -1057,9 +1057,9 @@ function script orimain { close; } case 2: - if (countitem(757) > 4) { - delitem 757,5; //Elunium_Stone - getitem 985,1; // Elunium + if (countitem(Elunium_Stone) > 4) { + delitem Elunium_Stone,5; + getitem Elunium,1; // Elunium mes "[" + getarg(0) + "]"; mes "Here's your Elunium."; mes "You're welcome to come"; diff --git a/npc/merchants/socket_enchant.txt b/npc/merchants/socket_enchant.txt index 1396ace0d..aa43e2a9b 100644 --- a/npc/merchants/socket_enchant.txt +++ b/npc/merchants/socket_enchant.txt @@ -44,7 +44,7 @@ //========================================================================= - script Seiyablem#dummy::SocketEnchant -1,{ - if (checkweight(1201,1) == 0) + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; diff --git a/npc/merchants/socket_enchant2.txt b/npc/merchants/socket_enchant2.txt index 9f109115f..42f910477 100644 --- a/npc/merchants/socket_enchant2.txt +++ b/npc/merchants/socket_enchant2.txt @@ -35,7 +35,7 @@ //========================================================================= - script Leablem#dummy::SocketEnchant2 -1,{ - if (checkweight(1201,1) == 0) + if (checkweight(Knife,1) == 0) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; @@ -292,7 +292,7 @@ mes "We don't have time to waste,"; mes "so let's get down to business right away."; next; - if ((Zeny > 199999999) && (countitem(969) > 1) && (countitem(5022) > 0)) + if ((Zeny > 199999999) && (countitem(Gold) > 1) && (countitem(Helm_Of_Sun) > 0)) { mes "[Leablem]"; mes "Shall we start now?"; @@ -306,10 +306,10 @@ mes "Excellent! Wow, I guess the 90% success chance is true!"; mes "Look, the slot was added in the perfect place."; mes "Congratulations."; - delitem 5022,1; //Helm_Of_Sun - delitem 969,2; //Gold + delitem Helm_Of_Sun,1; + delitem Gold,2; Zeny -= 200000000; - getitem 5353,1; //Helm_Of_Sun_ + getitem Helm_Of_Sun_,1; next; mes "[Leablem]"; mes "This is the first and last time I will do this for you."; @@ -325,8 +325,8 @@ mes "My god, I guess we had the worst kind of luck..."; mes "What should we do? ...This is why"; mes "I didn't want to do in the first place!"; - delitem 5022,1; //Helm_Of_Sun - delitem 969,2; //Gold + delitem Helm_Of_Sun,1; + delitem Gold,2; Zeny -= 200000000; next; mes "[Leablem]"; diff --git a/npc/merchants/wander_pet_food.txt b/npc/merchants/wander_pet_food.txt index 51143c57e..7db9f285a 100644 --- a/npc/merchants/wander_pet_food.txt +++ b/npc/merchants/wander_pet_food.txt @@ -51,7 +51,7 @@ prontera,218,218,3 script Pet Enthusiast 4W_KID,{ next; switch(select("Yes:No")) { case 1: - if ((countitem(7158) > 19) && (countitem(970) > 0)) { + if ((countitem(Broken_Wine_Vessel) > 19) && (countitem(Alchol) > 0)) { mes "[Pet Enthusiast Jenny]"; mes "Oh, you have ^ff000020 Broken Liquor Jar^000000s and ^ff00001 Alcohol^000000!"; mes "Do you want to exchange them for"; @@ -63,9 +63,9 @@ prontera,218,218,3 script Pet Enthusiast 4W_KID,{ mes "Ok here you go then."; mes "I hope it keeps your"; mes "cute pet happy."; - delitem 7158,20; //Broken_Wine_Vessel - delitem 970,1; //Alchol - getitem 7824,20; //Spirit_Liquor + delitem Broken_Wine_Vessel,20; + delitem Alchol,1; + getitem Spirit_Liquor,20; close; case 2: mes "[Pet Enthusiast Jenny]"; |