diff options
Diffstat (limited to 'npc/merchants/buying_shops.txt')
-rw-r--r-- | npc/merchants/buying_shops.txt | 118 |
1 files changed, 12 insertions, 106 deletions
diff --git a/npc/merchants/buying_shops.txt b/npc/merchants/buying_shops.txt index 4532921bd..05b3f4cc7 100644 --- a/npc/merchants/buying_shops.txt +++ b/npc/merchants/buying_shops.txt @@ -1,19 +1,20 @@ //===== Hercules Script ====================================== //= Buying Shop Scripts //===== By: ================================================== -//= Kisuka, skyiing, Scriptor +//= Kisuka //===== Current Version: ===================================== -//= 1.1 +//= 1.1a //===== Description: ========================================= -//= Buying Shop licenses and catalogs. +//= Buying Shop licenses. //===== Additional Comments: ================================= //= 1.0 First version. [Kisuka] //= 1.1 Added Catalog Magician. [Euphy] -//============================================================ +//= 1.1a Moved Catalog Magician to Renewal path. [Euphy] +//============================================================ // Black Marketeer (Buy Licenses - Non-Merchant Classes) -//============================================================ -que_job01,68,84,1 script Black Marketeer#Buying 881,{ +//============================================================ +que_job01,68,84,1 script Black Marketeer#Buying 4_M_SITDOWN,{ if (getskilllv("ALL_BUYING_STORE") == 1) { mes "[Mr. Jass]"; mes "Hey, you already made a contract with Hugh."; @@ -61,7 +62,7 @@ que_job01,68,84,1 script Black Marketeer#Buying 881,{ mes "Mr. Hugh, I'll take over your license business. You'll see!"; mes "*Giggle Giggle*"; getitem 12548,.@input; //Shabby_Purchase_Street - set Zeny,Zeny-(.@input*500); + Zeny -= (.@input*500); } close; } @@ -90,8 +91,8 @@ que_job01,68,84,1 script Black Marketeer#Buying 881,{ } // Purchasing Team (Learn Skill - Merchant Classes) -//============================================================ -alberta_in,58,52,4 script Purchasing Team#Buying 59,{ +//============================================================ +alberta_in,58,52,4 script Purchasing Team#Buying 1_M_ORIENT01,{ mes "[Mr. Hugh]"; if (BaseClass == Job_Merchant && getskilllv("MC_VENDING") >= 1) { if (getskilllv("ALL_BUYING_STORE") == 1) { @@ -125,7 +126,7 @@ alberta_in,58,52,4 script Purchasing Team#Buying 59,{ } else { mes "Thank you for your patronage."; getitem 6377,.@input; //Buy_Stall_Permit - set Zeny,Zeny-(.@input*200); + Zeny -= (.@input*200); } close; } @@ -209,7 +210,7 @@ alberta_in,58,52,4 script Purchasing Team#Buying 59,{ mes .@name$+"...."; mes "I like your handwriting."; mes "Okay, you're now approved to open the Bulk Buyer Shop."; - set Zeny,Zeny-10000; + Zeny -= 10000; getitem 6377,5; //Buy_Stall_Permit skill "ALL_BUYING_STORE",1,3; next; @@ -236,98 +237,3 @@ alberta_in,58,52,4 script Purchasing Team#Buying 59,{ mes "My time is solely dedicated to our customers in the Merchant industry."; close; } - -// Catalog Magician -//============================================================ -moc_para01,22,16,5 script Catalog Magician#catal01 704,{ - if (!checkweight(1201,2)) { - mes "- You have too many items. Please make space. -"; - close; - } - set .@ticket_cost, 200; - mes "[Catalog Magician]"; - mes "Look... the Magic Academy"; - mes "in Geffen is now directly"; - mes "selling the brand new"; - mes "^007777Universal Catalog Silver^000000!"; - next; - mes "He is looking at the words"; - mes "written on his hand."; - mes "Seems like he's too busy"; - mes "to look at you."; - next; - mes "[Catalog Magician]"; - mes "A brand new catalog"; - mes "has just come out!"; - mes "You can check what"; - mes "items can be traded"; - mes "and what items are on"; - mes "sale from the vendor."; - next; - mes "[Catalog Magician]"; - mes "^007777Universal Catalog Silver^000000~"; - mes "It costs only 200z each!"; - mes "You can buy it up to 50"; - mes "pieces at once!"; - next; - switch(select("Buy ^007777Universal Catalog Silver^000000:I don't need it!:You don't look like a vendor...")) { - case 1: - mes "[Catalog Magician]"; - mes "You... want all 50 pieces?"; - mes "Or how many do you need?"; - next; - while (1) { - input .@input; - mes "[Catalog Magician]"; - if (.@input == 0) { - mes "Trade has been stopped!"; - mes "I don't know what to do next..."; - mes "What should I do?"; - emotion e_swt2,1; - close; - } else if (.@input < 1 || .@input > 50) { - mes "It should be less than 50 pieces."; - next; - } else break; - } - set .@sell, .@ticket_cost * .@input; - mes "Total number of catalog(s) that"; - mes "you're trying to purchase is"; - mes .@input + " pieces and it costs " + .@sell + " z."; - if (Zeny < .@sell) { - mes "It seems you don't have enough money."; - mes "You can sell your equips"; - mes "to make more money... if you want."; - close; - } - mes "Okie, here you go."; - set Zeny, Zeny - .@sell; - getitem 12580,.@input; //Vending_Search_Scroll - close; - case 2: - mes "[Catalog Magician]"; - mes "Argh... you really need this"; - mes "item... Do you want me to"; - mes "explain again? I don't know"; - mes "what to do next..."; - mes "What should I do?"; - emotion e_swt2,1; - close; - case 3: - mes "[Catalog Magician]"; - mes "My real job is a magician."; - mes "I was going to ask the merchant"; - mes "guild to sell them, but they were"; - mes "trying use them as an appendix"; - mes "into broom sales. That's why"; - mes "I'm selling these by myself."; - next; - mes "[Catalog Magician]"; - mes "There are many adventurers"; - mes "here coming and going. I'm"; - mes "pretty sure that I can sell them"; - mes "all soon. Don't you think so?"; - mes "So... let's start!! Buy more of them, please! PLEASE...!"; - close; - } -} |