|
@@ -3,8 +3,8 @@
|
|
|
//===== By: ==================================================
|
|
|
//= rAthena Dev Team
|
|
|
//===== Current Version: =====================================
|
|
|
-//= 1.2
|
|
|
-//===== Compatible With: =====================================
|
|
|
+//= 1.3
|
|
|
+//===== Compatible With: =====================================
|
|
|
//= rAthena Project
|
|
|
//===== Description: =========================================
|
|
|
//= [Official Conversion]
|
|
@@ -13,9 +13,10 @@
|
|
|
//= 1.0 First version. [Euphy/Lemongrass]
|
|
|
//= 1.1 Added remaining Malangdo traders. [Euphy/Lemongrass]
|
|
|
//= 1.2 Added Eclage traders (not fully complete). [Euphy]
|
|
|
+//= 1.3 Completed Eclage Traders. [Dastgir]
|
|
|
//============================================================
|
|
|
|
|
|
-// Malangdo Item Machines :: mal_yong
|
|
|
+// Malangdo
|
|
|
//============================================================
|
|
|
malangdo,220,167,5 script Coin Exchanger CX-1 564,{
|
|
|
if (checkweight(1201,1) == 0) {
|
|
@@ -36,22 +37,22 @@ malangdo,220,167,5 script Coin Exchanger CX-1 564,{
|
|
|
6420, //Cgrade_Coin
|
|
|
6421, //Dgrade_Coin
|
|
|
6422; //Egrade_Coin
|
|
|
- set .@menu$,"Stop:";
|
|
|
- for(set .@i,1; .@i<=6; set .@i,.@i+1) {
|
|
|
+ .@menu$ = "Stop:";
|
|
|
+ for(.@i = 1; .@i<=6; .@i++) {
|
|
|
if (countitem(.@coins[.@i]))
|
|
|
- set .@menu$, .@menu$+getitemname(.@coins[.@i])+":";
|
|
|
+ .@menu$ += getitemname(.@coins[.@i])+":";
|
|
|
else
|
|
|
- set .@menu$, .@menu$+"^aaaaaa"+getitemname(.@coins[.@i])+" (None)^000000:";
|
|
|
+ .@menu$ += "^aaaaaa"+getitemname(.@coins[.@i])+" (None)^000000:";
|
|
|
}
|
|
|
- set .@i, select(.@menu$);
|
|
|
+ .@i = select(.@menu$);
|
|
|
switch(.@i) {
|
|
|
case 1:
|
|
|
mes "[Coin Exchanger CX-1]";
|
|
|
mes "Thank you for coming.";
|
|
|
close;
|
|
|
default:
|
|
|
- set .@coin, .@coins[.@i-1];
|
|
|
- set .@coin_select, .@i-1;
|
|
|
+ .@coin = .@coins[.@i-1];
|
|
|
+ .@coin_select = .@i-1;
|
|
|
break;
|
|
|
}
|
|
|
if (countitem(.@coin) == 0) {
|
|
@@ -71,17 +72,17 @@ malangdo,220,167,5 script Coin Exchanger CX-1 564,{
|
|
|
setarray .@exchange_rate[0],30,10;
|
|
|
setarray .@exchange_loss[0],rand(1,4),rand(1,2); // Amount deducted per exchange.
|
|
|
setarray .@exchange_id[0],.@coins[.@coin_select-1],.@coins[.@coin_select+1];
|
|
|
- if (.@exchange_id[0] == .@coins[1]) set .@exchange_id[0],0; // Cannot exchange for Silvervine.
|
|
|
- set .@menu$,"Stop:";
|
|
|
- for(set .@i,0; .@i<2; set .@i,.@i+1) {
|
|
|
+ if (.@exchange_id[0] == .@coins[1]) .@exchange_id[0] = 0; // Cannot exchange for Silvervine.
|
|
|
+ .@menu$ = "Stop:";
|
|
|
+ for(.@i = 0; .@i<2; .@i++) {
|
|
|
if (.@exchange_id[.@i] == 0)
|
|
|
- set .@menu$, .@menu$+"^ff3333Unavailable exchange to "+.@exchange_name$[.@i]+" coin^000000:";
|
|
|
+ .@menu$ += "^ff3333Unavailable exchange to "+.@exchange_name$[.@i]+" coin^000000:";
|
|
|
else if (countitem(.@coin) < .@exchange_rate[.@i])
|
|
|
- set .@menu$, .@menu$+"^aaaaaaExchange to "+.@exchange_name$[.@i]+" coin (null)^000000:";
|
|
|
+ .@menu$ += "^aaaaaaExchange to "+.@exchange_name$[.@i]+" coin (null)^000000:";
|
|
|
else
|
|
|
- set .@menu$, .@menu$+"Exchange to "+.@exchange_name$[.@i]+" coin - "+getitemname(.@coin)+" ("+.@exchange_rate[.@i]+" needed):";
|
|
|
+ .@menu$ += "Exchange to "+.@exchange_name$[.@i]+" coin - "+getitemname(.@coin)+" ("+.@exchange_rate[.@i]+" needed):";
|
|
|
}
|
|
|
- set .@i, select(.@menu$)-2;
|
|
|
+ .@i = select(.@menu$)-2;
|
|
|
if (.@i == -1) {
|
|
|
mes "[Coin Exchanger CX-1]";
|
|
|
mes "Thank you for coming.";
|
|
@@ -99,7 +100,7 @@ malangdo,220,167,5 script Coin Exchanger CX-1 564,{
|
|
|
mes "Thank you for coming.";
|
|
|
close;
|
|
|
}
|
|
|
- set .@exchange_total, .@exchange_rate[(!.@i)] - .@exchange_loss[(!.@i)];
|
|
|
+ .@exchange_total = .@exchange_rate[(!.@i)] - .@exchange_loss[(!.@i)];
|
|
|
delitem .@coin, .@exchange_rate[.@i];
|
|
|
getitem .@exchange_id[.@i], .@exchange_total;
|
|
|
mes "[Coin Exchanger CX-1]";
|
|
@@ -131,10 +132,10 @@ malangdo,218,165,5 script Special Vending Machine 562,{
|
|
|
"Ordinary Lubricant",6440,36,
|
|
|
"Sillit Pong",6443,192;
|
|
|
L_AddItem:
|
|
|
- set .@menu$,"Explanation:";
|
|
|
- for(set .@i,0; .@i<getargcount(); set .@i,.@i+3)
|
|
|
- set .@menu$, .@menu$+getarg(.@i)+":";
|
|
|
- set .@i, select(.@menu$)-2;
|
|
|
+ .@menu$ = "Explanation:";
|
|
|
+ for(.@i = 0; .@i<getargcount(); .@i += 3)
|
|
|
+ .@menu$ += getarg(.@i)+":";
|
|
|
+ .@i = select(.@menu$)-2;
|
|
|
if (.@i == -1) {
|
|
|
mes "[Special Vending Machine]";
|
|
|
mes "Seagod's Protection is an item used for entering the Culvert memorial dungeon during a certain period.";
|
|
@@ -149,14 +150,14 @@ L_AddItem:
|
|
|
mes "Sillit Pong is special item that separates sockets with MVP cards. Unable to separate MVP card by Premium and Ordinary Lubricant.";
|
|
|
close;
|
|
|
}
|
|
|
- set .@cost, getarg(.@i*3+2);
|
|
|
+ .@cost = getarg(.@i*3+2);
|
|
|
mes "[Special Vending Machine]";
|
|
|
mes "You choose ^005500"+getarg(.@i*3)+"^000000. For purchasing, you need ^005500"+.@cost+"^000000 unit(s) of Silvervine Fruit.";
|
|
|
next;
|
|
|
if (countitem(6417) < .@cost)
|
|
|
- set .@ven_menu$, "^999999Silvervine Fruit (missing "+(.@cost - countitem(6417))+")^000000";
|
|
|
+ .@ven_menu$ = "^999999Silvervine Fruit (missing "+(.@cost - countitem(6417))+")^000000";
|
|
|
else
|
|
|
- set .@ven_menu$, "Purchase - Silvervine Fruit (have "+countitem(6417)+")";
|
|
|
+ .@ven_menu$ = "Purchase - Silvervine Fruit (have "+countitem(6417)+")";
|
|
|
switch(select("Stop:"+.@ven_menu$)) {
|
|
|
case 1:
|
|
|
mes "[Special Vending Machine]";
|
|
@@ -178,8 +179,6 @@ L_AddItem:
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// Malangdo Coin Exchange :: mal_mo_coin
|
|
|
-//============================================================
|
|
|
malangdo,236,179,5 script Dark Merchant K 554,{
|
|
|
if (checkweight(1201,1) == 0) {
|
|
|
mes "It seems you have too much in your inventory. Let's try again after getting rid of some of your belongings.";
|
|
@@ -195,14 +194,14 @@ malangdo,236,179,5 script Dark Merchant K 554,{
|
|
|
next;
|
|
|
setarray .@coin_amount[0],10,100,500,1000;
|
|
|
while(1) {
|
|
|
- set .@menu$,"";
|
|
|
- for(set .@i,0; .@i<getarraysize(.@coin_amount); set .@i,.@i+1) {
|
|
|
+ .@menu$ = "";
|
|
|
+ for(.@i = 0; .@i<getarraysize(.@coin_amount); .@i++) {
|
|
|
if (countitem(6420) >= .@coin_amount[.@i])
|
|
|
- set .@menu$, .@menu$+"Exchange "+(.@coin_amount[.@i]/10)+" Mora Coin:";
|
|
|
+ .@menu$ += "Exchange "+(.@coin_amount[.@i]/10)+" Mora Coin:";
|
|
|
else
|
|
|
- set .@menu$, .@menu$+"^aaaaaaExchange "+(.@coin_amount[.@i]/10)+" Mora Coin (Not Enough)^000000:";
|
|
|
+ .@menu$ += "^aaaaaaExchange "+(.@coin_amount[.@i]/10)+" Mora Coin (Not Enough)^000000:";
|
|
|
}
|
|
|
- set .@i, select(.@menu$+"Quit")-1;
|
|
|
+ .@i = select(.@menu$+"Quit")-1;
|
|
|
if (.@i == getarraysize(.@coin_amount)) {
|
|
|
mes "[Merchant K]";
|
|
|
mes "Let's exchange some other time.";
|
|
@@ -247,23 +246,23 @@ malangdo,233,180,3 script Dark MachineTX100 564,{
|
|
|
6420, //Cgrade_Coin
|
|
|
6421, //Dgrade_Coin
|
|
|
6422; //Egrade_Coin
|
|
|
- set .@menu$,"Quit:";
|
|
|
- for(set .@i,1; .@i<=6; set .@i,.@i+1) {
|
|
|
+ .@menu$ = "Quit:";
|
|
|
+ for(.@i = 1; .@i<=6; .@i++) {
|
|
|
if (countitem(.@coins[.@i]))
|
|
|
- set .@menu$, .@menu$+getitemname(.@coins[.@i])+" (have "+countitem(.@coins[.@i])+"):";
|
|
|
+ .@menu$ += getitemname(.@coins[.@i])+" (have "+countitem(.@coins[.@i])+"):";
|
|
|
else
|
|
|
- set .@menu$, .@menu$+"^aaaaaa"+getitemname(.@coins[.@i])+" (None)^000000:";
|
|
|
+ .@menu$ += "^aaaaaa"+getitemname(.@coins[.@i])+" (None)^000000:";
|
|
|
}
|
|
|
- set .@i, select(.@menu$)-1;
|
|
|
+ .@i = select(.@menu$)-1;
|
|
|
if (.@i == 0) {
|
|
|
mes "[Dark Machine TX100]";
|
|
|
mes "Thank you for coming.";
|
|
|
close;
|
|
|
}
|
|
|
- set .@coin, .@coins[.@i];
|
|
|
+ .@coin = .@coins[.@i];
|
|
|
setarray .@exchange_name$[0],"higher","lower";
|
|
|
setarray .@exchange_id[0],.@coins[.@i-1],.@coins[.@i+1];
|
|
|
- if (.@exchange_id[0] == .@coins[1]) set .@exchange_id[0],0; // Cannot exchange for Silvervine.
|
|
|
+ if (.@exchange_id[0] == .@coins[1]) .@exchange_id[0] = 0; // Cannot exchange for Silvervine.
|
|
|
if (.@i > getarraysize(.@coins)) {
|
|
|
mes "[Dark Machine TX100]";
|
|
|
mes "You've chosen abnormal menu.";
|
|
@@ -283,26 +282,26 @@ malangdo,233,180,3 script Dark MachineTX100 564,{
|
|
|
mes "---------------------";
|
|
|
mes "^ff3333We take a small vendor fee from your exchanged coins.^000000";
|
|
|
next;
|
|
|
- set .@menu$, "Quit:";
|
|
|
+ .@menu$ = "Quit:";
|
|
|
if (.@exchange_id[0] == 0)
|
|
|
- set .@menu$, .@menu$+"^ff3333Cannot exchange to higher level coin^000000:";
|
|
|
+ .@menu$ += "^ff3333Cannot exchange to higher level coin^000000:";
|
|
|
else {
|
|
|
if (countitem(.@coin) >= 99)
|
|
|
- set .@menu$, .@menu$+"Exchange 99 "+getitemname(.@coin)+" into higher level coin:";
|
|
|
+ .@menu$ += "Exchange 99 "+getitemname(.@coin)+" into higher level coin:";
|
|
|
else
|
|
|
- set .@menu$, .@menu$+"^aaaaaaExchange to higher level coin (Not enough)^000000:";
|
|
|
+ .@menu$ += "^aaaaaaExchange to higher level coin (Not enough)^000000:";
|
|
|
}
|
|
|
if (.@exchange_id[1] == 0)
|
|
|
- set .@menu$, .@menu$+"^ff3333Cannot exchange to lower level coin^000000:";
|
|
|
+ .@menu$ += "^ff3333Cannot exchange to lower level coin^000000:";
|
|
|
else {
|
|
|
if (countitem(.@coin) > 500)
|
|
|
- set .@menu$, .@menu$+"Exchange 500 "+getitemname(.@coin)+" into lower level coin:";
|
|
|
+ .@menu$ += "Exchange 500 "+getitemname(.@coin)+" into lower level coin:";
|
|
|
else if (countitem(.@coin))
|
|
|
- set .@menu$, .@menu$+"Exchange "+countitem(.@coin)+" "+getitemname(.@coin)+" into lower level coin:";
|
|
|
+ .@menu$ += "Exchange "+countitem(.@coin)+" "+getitemname(.@coin)+" into lower level coin:";
|
|
|
else
|
|
|
- set .@menu$, .@menu$+"^aaaaaaExchange to lower level coin (Not enough)^000000:";
|
|
|
+ .@menu$ += "^aaaaaaExchange to lower level coin (Not enough)^000000:";
|
|
|
}
|
|
|
- set .@i, select(.@menu$)-2;
|
|
|
+ .@i = select(.@menu$)-2;
|
|
|
if (.@i == -1) {
|
|
|
mes "[Dark Machine TX100]";
|
|
|
mes "Thank you for coming.";
|
|
@@ -327,17 +326,17 @@ malangdo,233,180,3 script Dark MachineTX100 564,{
|
|
|
}
|
|
|
switch(.@i) {
|
|
|
case 0:
|
|
|
- set .@payment_amount,99;
|
|
|
- set .@reward_amount, .@payment_amount/3;
|
|
|
- set .@coin_text$,"High";
|
|
|
+ .@payment_amount = 99;
|
|
|
+ .@reward_amount = .@payment_amount/3;
|
|
|
+ .@coin_text$ = "High";
|
|
|
break;
|
|
|
case 1:
|
|
|
- set .@payment_amount,(((countitem(.@coin) > 500))?500:countitem(.@coin));
|
|
|
- set .@reward_amount, .@payment_amount*3;
|
|
|
- set .@coin_text$,"Low";
|
|
|
+ .@payment_amount = (((countitem(.@coin) > 500))?500:countitem(.@coin));
|
|
|
+ .@reward_amount = .@payment_amount*3;
|
|
|
+ .@coin_text$ = "Low";
|
|
|
break;
|
|
|
}
|
|
|
- set .@fee, rand(1,3);
|
|
|
+ .@fee = rand(1,3);
|
|
|
delitem .@coin, .@payment_amount;
|
|
|
getitem .@exchange_id[.@i], .@reward_amount - .@fee;
|
|
|
mes "[Dark Machine TX100]";
|
|
@@ -346,8 +345,6 @@ malangdo,233,180,3 script Dark MachineTX100 564,{
|
|
|
close;
|
|
|
}
|
|
|
|
|
|
-// Malangdo Can Exchange :: mal_can_rep
|
|
|
-//============================================================
|
|
|
malangdo,175,145,4 script Can Agency Guard 549,{
|
|
|
if (checkweight(1201,1) == 0) {
|
|
|
mes "You seem to have too many items. Give it a try after sorting out the item kinds.";
|
|
@@ -395,20 +392,20 @@ malangdo,175,145,4 script Can Agency Guard 549,{
|
|
|
mes "Umm, I'm not here forever, so come to me if you'd like to exchange while I still am.";
|
|
|
close;
|
|
|
case 2:
|
|
|
- set .@check,1;
|
|
|
- set .@count,1;
|
|
|
+ .@check = 1;
|
|
|
+ .@count = 1;
|
|
|
break;
|
|
|
case 3:
|
|
|
- set .@check,10;
|
|
|
- set .@count,10;
|
|
|
+ .@check = 10;
|
|
|
+ .@count = 10;
|
|
|
break;
|
|
|
case 4:
|
|
|
- set .@check,100;
|
|
|
- set .@count,100;
|
|
|
+ .@check = 100;
|
|
|
+ .@count = 100;
|
|
|
break;
|
|
|
case 5:
|
|
|
- set .@check,1;
|
|
|
- set .@count,countitem(12633);
|
|
|
+ .@check = 1;
|
|
|
+ .@count = countitem(12633);
|
|
|
break;
|
|
|
}
|
|
|
if (countitem(12633) < .@check) {
|
|
@@ -429,8 +426,6 @@ malangdo,175,145,4 script Can Agency Guard 549,{
|
|
|
close;
|
|
|
}
|
|
|
|
|
|
-// Malangdo Traders :: malang_trader
|
|
|
-//============================================================
|
|
|
function script F_mal_coin {
|
|
|
|
|
|
// Initial dialogue and checks:
|
|
@@ -509,16 +504,16 @@ function script F_mal_coin {
|
|
|
mes "The price of ^0000FF["+getarg(2)+"]^000000 is";
|
|
|
if (getarg(4) && getarg(5)) { // Type 1: Egrade_Coin or Malang_Sp_Can
|
|
|
mes getarg(4)+" E Grade Coin or "+getarg(5)+" Malangdo Canned Specialties.";
|
|
|
- set .@type,1;
|
|
|
- set .@menu$,"Yes.:No, I'll purchase with cans.:I don't want to purchase any.";
|
|
|
+ .@type = 1;
|
|
|
+ .@menu$ = "Yes.:No, I'll purchase with cans.:I don't want to purchase any.";
|
|
|
} else if (getarg(5)) { // Type 2: Malang_Sp_Can only
|
|
|
mes getarg(5)+" Malangdo Canned Specialties.";
|
|
|
- set .@type,2;
|
|
|
- set .@menu$,"Yes.::No.";
|
|
|
+ .@type = 2;
|
|
|
+ .@menu$ = "Yes.::No.";
|
|
|
} else { // Type 3: Silvervine only
|
|
|
mes getarg(6)+" Silvervine Fruit.";
|
|
|
- set .@type,3;
|
|
|
- set .@menu$,"Yes.::I don't want to purchase any.";
|
|
|
+ .@type = 3;
|
|
|
+ .@menu$ = "Yes.::I don't want to purchase any.";
|
|
|
}
|
|
|
next;
|
|
|
mes getarg(1);
|
|
@@ -532,23 +527,23 @@ function script F_mal_coin {
|
|
|
next;
|
|
|
switch(select(.@menu$)) {
|
|
|
case 2:
|
|
|
- set .@type,2;
|
|
|
+ .@type = 2;
|
|
|
case 1:
|
|
|
switch(.@type) {
|
|
|
case 1:
|
|
|
- set .@item,6422; //Egrade_Coin
|
|
|
- set .@amount,getarg(4);
|
|
|
- set .@str$,"coins";
|
|
|
+ .@item = 6422; //Egrade_Coin
|
|
|
+ .@amount = getarg(4);
|
|
|
+ .@str$ = "coins";
|
|
|
break;
|
|
|
case 2:
|
|
|
- set .@item,12636; //Malang_Sp_Can
|
|
|
- set .@amount,getarg(5);
|
|
|
- set .@str$,"cans";
|
|
|
+ .@item = 12636; //Malang_Sp_Can
|
|
|
+ .@amount = getarg(5);
|
|
|
+ .@str$ = "cans";
|
|
|
break;
|
|
|
case 3:
|
|
|
- set .@item,6417; //Silvervine
|
|
|
- set .@amount,getarg(6);
|
|
|
- set .@str$,"Silvervine Fruit";
|
|
|
+ .@item = 6417; //Silvervine
|
|
|
+ .@amount = getarg(6);
|
|
|
+ .@str$ = "Silvervine Fruit";
|
|
|
break;
|
|
|
}
|
|
|
if (countitem(.@item) < .@amount) {
|
|
@@ -584,7 +579,7 @@ malangdo,162,146,5 script Wandering Merchant#mal 495,{
|
|
|
"Spearfish","Tuna","Hairtail","Saurel","Malang Snow Crab","Brindle Eel",
|
|
|
"Hairtail (7Days)","Spearfish (7Days)","Saurel (7Days)","Tuna (7Days)","Brindle Eel (7Days)","Malang Snow Crab (7Days)";
|
|
|
while(1) {
|
|
|
- set .@i, select(
|
|
|
+ .@i = select(
|
|
|
"[Spearfish(1hr)] 8 E-Coins/50 Cans",
|
|
|
"[Tuna(1hr)] 8 E-Coins/50 Cans",
|
|
|
"[Hairtail(1hr)] 8 E-Coins/50 Cans",
|
|
@@ -711,7 +706,7 @@ malangdo,173,145,4 script Stinky Merchant 496,{
|
|
|
setarray .@items[1],2873,16015;
|
|
|
setarray .@names$[1],"Cat Hand Glove","Cat Club";
|
|
|
while(1) {
|
|
|
- set .@i, select(
|
|
|
+ .@i = select(
|
|
|
"[Cat Hand Glove] 32 E-Coins/200 Cans",
|
|
|
"[Cat Club] 32 E-Coins/200 Cans",
|
|
|
"End purchasing."
|
|
@@ -762,7 +757,7 @@ malangdo,150,135,5 script Roving Merchant 495,{
|
|
|
setarray .@items[1],12639,12637,12638,12640;
|
|
|
setarray .@names$[1],"Flying Fish","Sow Bug","Dried Squid","Starfish";
|
|
|
while(1) {
|
|
|
- set .@i, select(
|
|
|
+ .@i = select(
|
|
|
"[Flying Fish] 200 Cans",
|
|
|
"[Sow Bug] 200 Cans",
|
|
|
"[Dried Squid] 200 Cans",
|
|
@@ -835,55 +830,57 @@ malangdo,150,135,5 script Roving Merchant 495,{
|
|
|
|
|
|
// Eclage
|
|
|
//============================================================
|
|
|
-ecl_in01,66,95,2 script Armor Merchant Naphara 436,{
|
|
|
+ecl_in01,66,95,3 script Armor Merchant Naphara#e 436,{
|
|
|
+ if (!checkweight(1301,3)) {
|
|
|
+ mes "- Stop Here!! -";
|
|
|
+ mes "- You have too many items. -";
|
|
|
+ mes "- You cannot carry any more items. -";
|
|
|
+ mes "- Lighten your load and -";
|
|
|
+ mes "- try again. -";
|
|
|
+ close;
|
|
|
+ }
|
|
|
mes "[Armor Merchant]";
|
|
|
mes "Hello, this is Naphara's store, a place of high class goods.";
|
|
|
mes "What would you need?";
|
|
|
next;
|
|
|
- set .@i, select("Str Glove:Int Glove:Agi Glove:Vit Glove:Dex Glove:Luk Glove");
|
|
|
+ .@choice = select("Str Glove:Int Glove:Agi Glove:Vit Glove:Dex Glove:Luk Glove") -1;
|
|
|
mes "[Armor Merchant]";
|
|
|
- switch(.@i) {
|
|
|
- case 1: // Str Glove
|
|
|
+ switch(.@choice) {
|
|
|
+ case 0: // Str Glove
|
|
|
mes "^3131FFStr Glove^000000";
|
|
|
mes "^3131FFMHP + 100, MSP + 20^000000";
|
|
|
mes "^3131FFATK+1 increases for every STR+10^000000";
|
|
|
mes "^3131FFATK +1% added above STR 110^000000";
|
|
|
- set .@item,2917; //Str_Glove
|
|
|
break;
|
|
|
- case 2:
|
|
|
+ case 1:
|
|
|
mes "^3131FFInt Glove^000000";
|
|
|
mes "^3131FFMHP + 100, MSP + 20^000000";
|
|
|
mes "^3131FFMATK+1 increases for every INT+10^000000";
|
|
|
mes "^3131FFMATK +1% added above INT 110^000000";
|
|
|
- set .@item,2918; //Int_Glove
|
|
|
break;
|
|
|
- case 3:
|
|
|
+ case 2:
|
|
|
mes "^3131FFAgi Glove^000000";
|
|
|
mes "^3131FFMHP + 100, MSP + 20^000000";
|
|
|
mes "^3131FFFLEE+1 increases for every AGI+10^000000";
|
|
|
mes "^3131FFComplete Flee +1 added above AGI 110^000000";
|
|
|
- set .@item,2919; //Agi_Glove
|
|
|
break;
|
|
|
- case 4:
|
|
|
+ case 3:
|
|
|
mes "^3131FFVit Glove^000000";
|
|
|
mes "^3131FFMHP + 100, MSP + 20^000000";
|
|
|
mes "^3131FFMHP+50 for every VIT+10^000000";
|
|
|
mes "^3131FFMHP+1% added above VIT 110^000000";
|
|
|
- set .@item,2920; //Vit_Glove
|
|
|
break;
|
|
|
- case 5:
|
|
|
+ case 4:
|
|
|
mes "^3131FFDex Glove^000000";
|
|
|
mes "^3131FFMHP + 100, MSP + 20^000000";
|
|
|
mes "^3131FFHIT+1 increases for every DEX+10^000000";
|
|
|
mes "^3131FFRanged attack power +1% added above DEX 110^000000";
|
|
|
- set .@item,2921; //Dex_Glove
|
|
|
break;
|
|
|
- case 6:
|
|
|
+ case 5:
|
|
|
mes "^3131FFLuk Glove^000000";
|
|
|
mes "^3131FFMHP + 100, MSP + 20^000000";
|
|
|
mes "^3131FFCRI+1 increases for every LUK+10^000000";
|
|
|
mes "^3131FFCritical damage +1% added above LUK 110^000000";
|
|
|
- set .@item,2922; //Luk_Glove
|
|
|
break;
|
|
|
}
|
|
|
mes "^3131FFRequired Level: 100^000000";
|
|
@@ -895,81 +892,156 @@ ecl_in01,66,95,2 script Armor Merchant Naphara 436,{
|
|
|
mes "It costs 10 Splendide Coins.";
|
|
|
mes "Would you like to buy it?";
|
|
|
next;
|
|
|
- if(select("Buy it.:Don't buy it.") == 2)
|
|
|
- close;
|
|
|
- if (countitem(6081) < 10) {
|
|
|
+ if (select("Buy it.:Don't buy it.")==1) {
|
|
|
+ if (countitem(6081) < 10) {
|
|
|
+ mes "[Armor Merchant]";
|
|
|
+ mes "It seems like you don't have enough coins.";
|
|
|
+ close;
|
|
|
+ }
|
|
|
+ delitem 6081,10; //Splendide_Coin
|
|
|
+ getitem (.@choice+2917),1;
|
|
|
mes "[Armor Merchant]";
|
|
|
- mes "It seems like you don't have enough coins.";
|
|
|
- close;
|
|
|
+ mes "Great, it's yours. Thank you.";
|
|
|
}
|
|
|
- mes "[Armor Merchant]";
|
|
|
- mes "Here you go!"; //custom
|
|
|
- delitem 6081,10; //Splendide_Coin
|
|
|
- getitem .@item,1;
|
|
|
close;
|
|
|
}
|
|
|
|
|
|
-ecl_in01,64,97,4 script Slot Expert Nattuer#ecl 436,{
|
|
|
+ecl_in01,64,97,5 script Slot Expert Nattuer#ecl 436,{
|
|
|
+ disable_items;
|
|
|
mes "[Slot Expert]";
|
|
|
mes "I am Slot Expert Nattuer.";
|
|
|
mes "If you bring me an item from my little brother Naphara along with 5 Splendide Coins, I will open up one Slot for you.";
|
|
|
next;
|
|
|
- if(select("Activate a Slot.:Forget it.") == 2)
|
|
|
+ if (select("Activate a Slot.:Forget it.") == 2){
|
|
|
close;
|
|
|
+ }
|
|
|
mes "[Slot Expert]";
|
|
|
mes "Slot activation is an extremely difficult procedure that can fail even with heightened care and the use of a magnifying lens.";
|
|
|
next;
|
|
|
mes "[Slot Expert]";
|
|
|
mes "Of course, if your heart were as big as that flower-filled land, you wouldn't mind. Right? Should I go for it?";
|
|
|
next;
|
|
|
- if(select("Continue.:Forget it.") == 2)
|
|
|
+ if (select("Continue.:Forget it.") == 2) {
|
|
|
close;
|
|
|
+ }
|
|
|
mes "[Slot Expert]";
|
|
|
mes "Which item would you like to activate with a Slot?";
|
|
|
next;
|
|
|
- setarray .@noslots[0],2917,2918,2919,2920,2921,2922;
|
|
|
- setarray .@slotted[0],2923,2924,2925,2926,2927,2928;
|
|
|
- set .@i, select("Str Glove:Int Glove:Ag Glove:Vit Glove:Dex Glove:Luk Glove")-1;
|
|
|
- set .@item, .@noslots[.@i];
|
|
|
- set .@new_item, .@slotted[.@i];
|
|
|
+ .@choice = select("Str Glove:Int Glove:Ag Glove:Vit Glove:Dex Glove:Luk Glove");
|
|
|
+ .@choice += 2916;
|
|
|
mes "[Slot Expert]";
|
|
|
- mes "Let's confirm for the last time. Is the one you want "+getitemname(.@item)+"?";
|
|
|
+ mes "Let's confirm for the last time. Is the one you want " + getitemname(.@choice) + "?";
|
|
|
next;
|
|
|
- if(select("Yes:No") == 2) {
|
|
|
+ if (select("Yes:No")==2) {
|
|
|
mes "[Slot Expert]";
|
|
|
mes "Why don't you talk to me when you know for sure.";
|
|
|
close;
|
|
|
}
|
|
|
- if (countitem(.@item) == 0) {
|
|
|
+ if (countitem(.@choice) < 1) {
|
|
|
mes "[Slot Expert]";
|
|
|
mes "You don't have that item. Why don't you talk to me when you know for sure.";
|
|
|
close;
|
|
|
}
|
|
|
if (countitem(6081) < 5) {
|
|
|
mes "[Slot Expert]";
|
|
|
- mes "You don't have enough coins. Why don't you talk to me when you know for sure."; //custom
|
|
|
+ mes "You don't have enough coins. Why don't you talk to me when you know for sure.";
|
|
|
close;
|
|
|
}
|
|
|
+ progressbar "0xFFFF00",3;
|
|
|
+ mes "[Slot Expert]";
|
|
|
delitem 6081,5; //Splendide_Coin
|
|
|
- delitem .@item,1;
|
|
|
- //custom to the end
|
|
|
- if (rand(100) < 5) {
|
|
|
- mes "[Slot Expert]";
|
|
|
- mes "Oh no, it failed! I'm sorry, but I warned you this could happen. Better luck next time.";
|
|
|
+ .@luckyday = rand(1,99);
|
|
|
+ if (.@luckyday % 20){
|
|
|
+ emotion e_dots;
|
|
|
+ delitem .@choice,1;
|
|
|
+ mes "Shoot, I'm sorry. It failed.";
|
|
|
+ mes "But I'm sure it will work next time. I have a feeling.";
|
|
|
close;
|
|
|
}
|
|
|
- mes "[Slot Expert]";
|
|
|
- mes "Success! I've activated the slot.";
|
|
|
- getitem .@new_item,1;
|
|
|
+ emotion e_no1;
|
|
|
+ delitem .@choice,1;
|
|
|
+ getitem (.@choice+6),1;
|
|
|
+ mes "My eyes feel like they're gonna pop out.";
|
|
|
+ mes "Nonetheless, congratulations. Slot activation was successful.";
|
|
|
+ close;
|
|
|
+}
|
|
|
+
|
|
|
+ecl_in01,33,98,5 script Armor Merchant Naphara#a 443,{ // Armor Merchant Naphara#ec - Too long changed.
|
|
|
+ if (checkweight(1301,1)==0) {
|
|
|
+ mes "- Stop Here!! -";
|
|
|
+ mes "- You have too many items. -";
|
|
|
+ mes "- You cannot carry any more items. -";
|
|
|
+ mes "- Lighten your load and -";
|
|
|
+ mes "- try again. -";
|
|
|
+ close;
|
|
|
+ }
|
|
|
+ mes "[Herb Merchant]";
|
|
|
+ mes "Welcome, this is Plafina's Herb Store where only the freshest herbs are provided~!";
|
|
|
+ next;
|
|
|
+ .@item = select("Snow Flip:Peony Mommy:Slapping Herb:Yggdrasil Dust:End conversation")-1;
|
|
|
+ if (.@item == 4){
|
|
|
+ mes "[Herb Merchant]";
|
|
|
+ mes "Come back anytime.";
|
|
|
+ close;
|
|
|
+ }
|
|
|
+ mes "[Herb Merchant]";
|
|
|
+ switch (.@item){
|
|
|
+ case 0:
|
|
|
+ mes "Snow Flip has special effects on ^3131FFBurning, Bleeding, Deep Sleep, Sleep^000000.";
|
|
|
+ break;
|
|
|
+ case 1:
|
|
|
+ mes "Peony Mamy has special effects on ^3131FFFrost, Frozen, Freezing^000000";
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ mes "Slapping Herb has special effects on ^3131FFStun, Fear, Chaos, Hallucination^000000";
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ mes "Yggdrasil Dust has special effects on ^3131FFBlind, Curse, Decrease Agility, Reverse Orcish^000000.";
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ mes "Requires 5 seconds between uses.";
|
|
|
+ mes "It costs "+ .cost[.@item] +" Splendide Coins for each.";
|
|
|
+ next;
|
|
|
+ .@buy = select("Buy 1.:Buy 10.:Don't buy.");
|
|
|
+ if (.@buy == 3){
|
|
|
+ close;
|
|
|
+ }
|
|
|
+ if (.@buy == 2){
|
|
|
+ .@buy = 10;
|
|
|
+ }
|
|
|
+ mes "[Herb Merchant]";
|
|
|
+ mes "Would you like to buy "+ .@buy +" "+ getitemname(.items[.@item]) +"?";
|
|
|
+ next;
|
|
|
+ if (select("Buy.:Don't buy.") == 2){
|
|
|
+ close;
|
|
|
+ }
|
|
|
+ if (countitem(6081) < (.cost[.@item]*.@buy) ) {
|
|
|
+ mes "[Herb Merchant]";
|
|
|
+ mes "You don't have enough coins.";
|
|
|
+ close;
|
|
|
+ }
|
|
|
+ mes "[Herb Merchant]";
|
|
|
+ mes "Thank you for your business.";
|
|
|
+ delitem 6081,.cost[.@item]*.@buy; //Splendide_Coin
|
|
|
+ getitem .items[.@item],.@buy;
|
|
|
close;
|
|
|
+
|
|
|
+OnInit:
|
|
|
+ setarray .items[0],12812,12813,12814,12815;
|
|
|
+ setarray .cost[0],5,5,1,1; //Splendide Coins
|
|
|
+ end;
|
|
|
}
|
|
|
|
|
|
-ecl_in01,67,39,4 script Replication Expert Palt 445,{
|
|
|
+ecl_in01,67,39,4 script Replication Expert Paltu 445,{
|
|
|
+ if (checkweight(1301,3) == 0) {
|
|
|
+ mes "You have too many items to continue.";
|
|
|
+ close;
|
|
|
+ }
|
|
|
emotion e_lv;
|
|
|
mes "[Paltu]";
|
|
|
mes "Woohoo- Greetings. What are you looking for? Lots of goods here.";
|
|
|
next;
|
|
|
- switch(select("No thanks.:Replication?:I know you got lots up your sleeve!")) {
|
|
|
+ switch (select("No thanks.:Replication?:I know you got lots up your sleeve!")) {
|
|
|
case 1:
|
|
|
emotion e_an;
|
|
|
mes "[Paltu]";
|
|
@@ -1028,16 +1100,16 @@ ecl_in01,67,39,4 script Replication Expert Palt 445,{
|
|
|
mes "[Paltu]";
|
|
|
mes "What do you think? I'll make it happen as long as I have the ingredients and the compensation.";
|
|
|
next;
|
|
|
- if(select("I'll do it later.:Show me what you got!") == 1) {
|
|
|
+ if (select("I'll do it later.:Show me what you got!") == 1) {
|
|
|
emotion e_dots;
|
|
|
mes "[Paltu]";
|
|
|
mes "What? Are you kidding me? Please tell me you are!";
|
|
|
close;
|
|
|
}
|
|
|
break;
|
|
|
- case 3:
|
|
|
- break;
|
|
|
}
|
|
|
+ disable_items;
|
|
|
+ emotion e_lv2;
|
|
|
mes "[Paltu]";
|
|
|
mes "Oh wow.";
|
|
|
mes "You made the right call. I thought I was going to starve to death because the Laphines have no interest in pretty hats.";
|
|
@@ -1048,59 +1120,84 @@ ecl_in01,67,39,4 script Replication Expert Palt 445,{
|
|
|
mes "[Paltu]";
|
|
|
mes "Is there something you had in mind? Why don't you take a look?";
|
|
|
next;
|
|
|
- setarray .@items[0],
|
|
|
- 5447, //Frog_Cap
|
|
|
- 2269, //Centimental_Flower
|
|
|
- 2256, //Magestic_Goat
|
|
|
- 5040, //Blush
|
|
|
- 5171, //Valkyrie_Helm
|
|
|
- 5038, //Deviruchi_Cap
|
|
|
- 5096, //Assassin_Mask_
|
|
|
- 2286, //Elven_Ears
|
|
|
- 5176, //Hahoe_Mask
|
|
|
- 5016; //Boy's_Cap
|
|
|
- setarray .@costumes[0],
|
|
|
- 19548, //C_Frog_Cap
|
|
|
- 19552, //C_Centimental_Flower
|
|
|
- 19549, //C_Magestic_Goat
|
|
|
- 19550, //C_Blush
|
|
|
- 19546, //C_Valkyrie_Helm
|
|
|
- 19547, //C_Deviruchi_Cap
|
|
|
- 19553, //C_Assassin_Mask_
|
|
|
- 19551, //C_Elven_Ears
|
|
|
- 19554, //C_Hahoe_Mask
|
|
|
- 19545; //C_Boys_Cap
|
|
|
- if (countitem(6081) >= 50 && countitem(747) >= 4 && countitem(6395) >= 1 && countitem(721) >= 10 && countitem(723) >= 10 && countitem(726) >= 10 && countitem(728) >= 10 && countitem(729) >= 10)
|
|
|
- set .@item_check,1;
|
|
|
- for(set .@i,0; .@i<getarraysize(.@items); set .@i,.@i+1) {
|
|
|
+ setarray .@items[0], 5447, 2269, 2256, 5040, 5171, 5038, 5096, 2286, 5176, 5016;
|
|
|
+ setarray .@costumes[0], 19548, 19552, 19549, 19550, 19546, 19547, 19553, 19551, 19554, 19545;
|
|
|
+ if ((countitem(6081) >= 50) && (countitem(747) >= 4) && countitem(6395) && (countitem(721) >= 10) && (countitem(723) >= 10) && (countitem(726) >= 10) && (countitem(728) >= 10) && (countitem(729) >= 10))
|
|
|
+ .@item_check =1;
|
|
|
+ for(.@i = 0; .@i<getarraysize(.@items); .@i++) {
|
|
|
if (.@item_check && countitem(.@items[.@i]))
|
|
|
- set .@menu$, .@menu$+getitemname(.@items[.@i])+":"; //custom
|
|
|
+ .@menu$ = .@menu$+getitemname(.@items[.@i])+" (^2502FDAble to Replicate^000000):";
|
|
|
else
|
|
|
- set .@menu$, .@menu$+getitemname(.@items[.@i])+" (^777777Insufficient ingredients^000000):";
|
|
|
+ .@menu$ = .@menu$+getitemname(.@items[.@i])+" (^777777Insufficient ingredients^000000):";
|
|
|
}
|
|
|
- set .@i, select(.@menu$)-1;
|
|
|
- set .@item, .@items[.@i];
|
|
|
- set .@new_item, .@costumes[.@i];
|
|
|
+ .@i = select(.@menu$)-1;
|
|
|
mes "[Paltu]";
|
|
|
- mes "Is ^0571B0"+getitemname(.@item)+"^000000 what you wanted?";
|
|
|
+ mes "Is ^0571B0"+getitemname(.@items[.@i])+"^000000 what you wanted?";
|
|
|
next;
|
|
|
- if (.@item_check == 0 || countitem(.@item) == 0) {
|
|
|
+ if (.@item_check == 0 || countitem(.@items[.@i]) == 0) {
|
|
|
emotion e_sob;
|
|
|
mes "[Paltu]";
|
|
|
mes "Ay... Credit purchases are difficult for me.";
|
|
|
next;
|
|
|
mes "[Paltu]";
|
|
|
- mes "^0571B0"+getitemname(.@item)+"^000000 and";
|
|
|
+ mes "^0571B0"+getitemname(.@items[.@i])+"^000000 and";
|
|
|
mes "^E1281E50 Splendide Coins, 4 Crystal Mirrors, 1 Fairy Magic Powder, 10 of each Emerald, Ruby, Sapphire, Topaz, and Zircon^000000 are necessary.";
|
|
|
next;
|
|
|
mes "[Paltu]";
|
|
|
mes "I'm in a tight spot myself. Please consider my situation also.";
|
|
|
close;
|
|
|
}
|
|
|
- //custom to the end
|
|
|
- if(select("Continue.:Forget it.") == 2)
|
|
|
+ emotion e_what;
|
|
|
+ mes "[Paltu]";
|
|
|
+ mes "Yes, this is more than enough. Should I make it now?";
|
|
|
+ next;
|
|
|
+ if (select("Please make it now.:Oops, I have to take care of something...") == 2) {
|
|
|
+ emotion e_omg;
|
|
|
+ mes "[Paltu]";
|
|
|
+ mes "Hey.. Hey! Hey! Where you going?";
|
|
|
close;
|
|
|
- delitem .@item,1;
|
|
|
+ }
|
|
|
+ emotion e_omg;
|
|
|
+ mes "[Paltu]";
|
|
|
+ mes "I got it. Oh right! Almost forgot again.";
|
|
|
+ next;
|
|
|
+ mes "[Paltu]";
|
|
|
+ mes "^FF0000In the process of replication, magic intervention phenomenon causes the hat to lose all of its refinements, cards, and hidden enchantments.^000000";
|
|
|
+ next;
|
|
|
+ mes "[Paltu]";
|
|
|
+ mes "^FF0000And if you possess multiple hats of the same type, the one you don't want can undergo the replication process, so please check to make sure.^000000";
|
|
|
+ next;
|
|
|
+ mes "[Paltu]";
|
|
|
+ mes "So any problems with that?";
|
|
|
+ next;
|
|
|
+ if (select("Let me go check.:Start the replication process.") == 1) {
|
|
|
+ mes "[Paltu]";
|
|
|
+ mes "Yeah, please make sure!";
|
|
|
+ close;
|
|
|
+ }
|
|
|
+ emotion e_gg;
|
|
|
+ mes "[Paltu]";
|
|
|
+ mes "Woohoo- Got it.";
|
|
|
+ mes "It's finally time for me to use my skills again.";
|
|
|
+ next;
|
|
|
+ emotion e_swt2;
|
|
|
+ mes "[Paltu]";
|
|
|
+ mes "Do this thing here, and do that thing there, and then do this thing here again...";
|
|
|
+ next;
|
|
|
+ emotion e_dots;
|
|
|
+ emotion e_swt2;
|
|
|
+ mes "[Paltu]";
|
|
|
+ mes "... .. ...";
|
|
|
+ specialeffect EF_BEGINSPELL;
|
|
|
+ progressbar "0xFFFF00",1;
|
|
|
+ specialeffect EF_BEGINSPELL2;
|
|
|
+ progressbar "0xFFFF00",1;
|
|
|
+ specialeffect EF_BEGINSPELL3;
|
|
|
+ progressbar "0xFFFF00",1;
|
|
|
+ specialeffect EF_BEGINSPELL4;
|
|
|
+ progressbar "0xFFFF00",1;
|
|
|
+ specialeffect EF_MVP;
|
|
|
+ next;
|
|
|
delitem 6081,50; //Splendide_Coin
|
|
|
delitem 747,4; //Crystal_Mirror
|
|
|
delitem 6395,1; //Angel_Magic_Power
|
|
@@ -1109,73 +1206,10 @@ ecl_in01,67,39,4 script Replication Expert Palt 445,{
|
|
|
delitem 726,10; //Blue_Jewel
|
|
|
delitem 728,10; //Golden_Jewel
|
|
|
delitem 729,10; //Bluish_Green_Jewel
|
|
|
- getitem .@new_item,1;
|
|
|
+ delitem .@items[.@i],1;
|
|
|
+ getitem .@costumes[.@i],1;
|
|
|
mes "[Paltu]";
|
|
|
- mes "Thank you so much! As promised, here is your costume.";
|
|
|
+ mes "Good. This is a satisfying result.";
|
|
|
+ mes "I'll do even a better job next time. Please tell others about my work. Have a good day~";
|
|
|
close;
|
|
|
}
|
|
|
-
|
|
|
-ecl_in01,33,98,4 script Herb Merchant Plafina#e 443,{
|
|
|
- mes "[Herb Merchant]";
|
|
|
- mes "Welcome, this is Plafina's Herb Store where only the freshest herbs are provided~!";
|
|
|
- next;
|
|
|
- switch(select("Snow Flip:Peony Mommy:Slapping Herb:Yggdrasil Dust:End conversation")) {
|
|
|
- case 1:
|
|
|
- mes "[Herb Merchant]";
|
|
|
- mes "Snow Flip has special effects on ^3131FFBurning, Bleeding, Deep Sleep, Sleep^000000.";
|
|
|
- set .@item,12812; //Snow_Flip
|
|
|
- set .@cost,5;
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- mes "[Herb Merchant]";
|
|
|
- mes "Peony Mamy has special effects on ^3131FFFrost, Frozen, Freezing^000000.";
|
|
|
- set .@item,12813; //Peony_Mommy
|
|
|
- set .@cost,5;
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- mes "[Herb Merchant]";
|
|
|
- mes "Slapping Herb has special effects on ^3131FFStun, Fear, Chaos, Hallucination^000000.";
|
|
|
- set .@item,12814; //Slapping_Herb
|
|
|
- set .@cost,1;
|
|
|
- break;
|
|
|
- case 4:
|
|
|
- mes "[Herb Merchant]";
|
|
|
- mes "Yggdrasil Dust has special effects on ^3131FFBlind, Curse, Decrease Agility, Reverse Orcish^000000.";
|
|
|
- set .@item,12815; //Yggdrasil_Dust
|
|
|
- set .@cost,1;
|
|
|
- break;
|
|
|
- case 5:
|
|
|
- mes "[Herb Merchant]";
|
|
|
- mes "Come back anytime.";
|
|
|
- close;
|
|
|
- }
|
|
|
- mes "Requires 5 seconds between uses.";
|
|
|
- mes "It costs "+.@cost+" Splendide Coin"+((.@cost == 1)?"":"s")+" for each.";
|
|
|
- next;
|
|
|
- switch(select("Buy 1.:Buy 10.:Don't buy.")) {
|
|
|
- case 1:
|
|
|
- set .@amount,1;
|
|
|
- break;
|
|
|
- case 2:
|
|
|
- set .@amount,10;
|
|
|
- break;
|
|
|
- case 3:
|
|
|
- close;
|
|
|
- }
|
|
|
- set .@price,.@amount*.@cost;
|
|
|
- mes "[Herb Merchant]";
|
|
|
- mes "Would you like to buy "+.@amount+" "+getitemname(.@item)+"?";
|
|
|
- next;
|
|
|
- if(select("Buy.:Don't buy.") == 2)
|
|
|
- close;
|
|
|
- if (countitem(6081) < .@price) {
|
|
|
- mes "[Herb Merchant]";
|
|
|
- mes "You don't have enough coins.";
|
|
|
- close;
|
|
|
- }
|
|
|
- mes "[Herb Merchant]";
|
|
|
- mes "Here are your herbs."; //custom
|
|
|
- delitem 6081,.@price; //Splendide_Coin
|
|
|
- getitem .@item,.@amount;
|
|
|
- end;
|
|
|
-}
|