summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-06-25 09:53:00 +0200
committerHaru <haru@dotalux.com>2015-06-25 16:57:13 +0200
commit9f45c5993dd0ce7d3c8ab4bc500bc4e1085d5959 (patch)
treee5cab9389f6f8c405bd8a2225d9991fea07e4370 /npc/merchants
parent25e4b0c665fb23d5fbff83e1cd43497af894a174 (diff)
downloadhercules-9f45c5993dd0ce7d3c8ab4bc500bc4e1085d5959.tar.gz
hercules-9f45c5993dd0ce7d3c8ab4bc500bc4e1085d5959.tar.bz2
hercules-9f45c5993dd0ce7d3c8ab4bc500bc4e1085d5959.tar.xz
hercules-9f45c5993dd0ce7d3c8ab4bc500bc4e1085d5959.zip
Updated Buying Shops script
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/merchants')
-rw-r--r--npc/merchants/buying_shops.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/npc/merchants/buying_shops.txt b/npc/merchants/buying_shops.txt
index 05b3f4cc7..dcd7dde9b 100644
--- a/npc/merchants/buying_shops.txt
+++ b/npc/merchants/buying_shops.txt
@@ -15,6 +15,12 @@
// Black Marketeer (Buy Licenses - Non-Merchant Classes)
//============================================================
que_job01,68,84,1 script Black Marketeer#Buying 4_M_SITDOWN,{
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2400) {
+ mes "[Mr. Jass]";
+ mes "You're too greedy, even compared to someone like me!";
+ mes "Why don't you go lighten your bag first?";
+ close;
+ }
if (getskilllv("ALL_BUYING_STORE") == 1) {
mes "[Mr. Jass]";
mes "Hey, you already made a contract with Hugh.";
@@ -61,7 +67,7 @@ que_job01,68,84,1 script Black Marketeer#Buying 4_M_SITDOWN,{
mes "Ha... Ha ha ha!";
mes "Mr. Hugh, I'll take over your license business. You'll see!";
mes "*Giggle Giggle*";
- getitem 12548,.@input; //Shabby_Purchase_Street
+ getitem Buy_Market_Permit2,.@input;
Zeny -= (.@input*500);
}
close;
@@ -93,6 +99,10 @@ que_job01,68,84,1 script Black Marketeer#Buying 4_M_SITDOWN,{
// Purchasing Team (Learn Skill - Merchant Classes)
//============================================================
alberta_in,58,52,4 script Purchasing Team#Buying 1_M_ORIENT01,{
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2400) {
+ mes "- You cannot converse or perform the quest because you are carrying too many items. -";
+ close;
+ }
mes "[Mr. Hugh]";
if (BaseClass == Job_Merchant && getskilllv("MC_VENDING") >= 1) {
if (getskilllv("ALL_BUYING_STORE") == 1) {