summaryrefslogtreecommitdiff
path: root/npc/re/merchants/enchan_mora.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/merchants/enchan_mora.txt')
-rw-r--r--npc/re/merchants/enchan_mora.txt88
1 files changed, 44 insertions, 44 deletions
diff --git a/npc/re/merchants/enchan_mora.txt b/npc/re/merchants/enchan_mora.txt
index 6ffdb2ca5..e27446594 100644
--- a/npc/re/merchants/enchan_mora.txt
+++ b/npc/re/merchants/enchan_mora.txt
@@ -36,7 +36,7 @@
//== Arch Bishop Enchants :: coin_arc ======================
mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -45,7 +45,7 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
close;
}
disable_items;
- if (countitem(6380) < 10) {
+ if (countitem(Mora_Coin) < 10) {
mes "[Artifice]";
mes "Relics for Archbishops are meant for defense and support!";
next;
@@ -86,7 +86,7 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
mes "Go with the light.";
close;
case 2:
- if (countitem(2864) || countitem(2865) || countitem(2866)) {
+ if (countitem(Light_Of_Cure) || countitem(Seal_Of_Cathedral) || countitem(Ring_Of_Archbishop)) {
mes "[Artifice]";
mes "You are already allowed access to our relics by your possession of a Ring!";
close;
@@ -116,7 +116,7 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
break;
}
.@item = .@items[rand(getarraysize(.@items))];
- delitem 6380,10; //Mora_Coin
+ delitem Mora_Coin,10;
getitem .@item,1;
mes "[Artifice]";
mes "You have obtained ^aa00aa"+getitemname(.@item)+"^000000. May the Blessing of the Light be with you.";
@@ -130,9 +130,9 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
mes "It seems that you have power to control the ring so I cannot exchange it into coins.";
close;
}
- if (countitem(2864)) .@item = 2864; //Light_Of_Cure
- else if (countitem(2865)) .@item = 2865; //Seal_Of_Cathedral
- else if (countitem(2866)) .@item = 2866; //Ring_Of_Archbishop
+ if (countitem(Light_Of_Cure)) .@item = 2864; //Light_Of_Cure
+ else if (countitem(Seal_Of_Cathedral)) .@item = 2865; //Seal_Of_Cathedral
+ else if (countitem(Ring_Of_Archbishop)) .@item = 2866; //Ring_Of_Archbishop
else {
mes "[Artifice]";
mes "Did you change something?";
@@ -148,7 +148,7 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
close;
case 2:
delitem .@item,1;
- getitem 6380,10; //Mora_Coin
+ getitem Mora_Coin,10;
mes "[Artifice]";
mes "I think that was an even trade.";
close;
@@ -157,7 +157,7 @@ mora,88,89,5 script Keeper of Secrets#pa082 4_M_MERCAT1,{
}
mora,96,74,5 script Master of Relics#pa0829 4_M_MERCAT1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -225,13 +225,13 @@ mora,96,74,5 script Master of Relics#pa0829 4_M_MERCAT1,{
.@enchant_type = 4;
break;
}
- if (countitem(6380) < 2 || countitem(.@item) == 0) {
+ if (countitem(Mora_Coin) < 2 || countitem(.@item) == 0) {
mes "[Relice]";
mes "For 2 Mora Coins I can strengthen the relic you have in many ways!";
close;
}
specialeffect2 EF_REPAIRWEAPON;
- delitem 6380,2; //Mora_Coin
+ delitem Mora_Coin,2;
delitem .@item,1;
switch(.@enchant_type) {
case 1:
@@ -335,7 +335,7 @@ mora,96,74,5 script Master of Relics#pa0829 4_M_MERCAT1,{
//== Warlock Enchants :: coin_warrock ======================
mora,104,76,4 script Guardian of Artifacts#p 4_M_MERCAT1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -343,7 +343,7 @@ mora,104,76,4 script Guardian of Artifacts#p 4_M_MERCAT1,{
mes "You are carrying too much weight to do that. Reduce the weight and try again.";
close;
}
- if (countitem(6380) < 10) {
+ if (countitem(Mora_Coin) < 10) {
mes "[Guardian of Artifacts]";
mes "My job is to guard the Warlock's ancient artifacts.";
next;
@@ -394,13 +394,13 @@ mora,104,76,4 script Guardian of Artifacts#p 4_M_MERCAT1,{
setarray .@items[0],2007,2008,2009,2010; //Golden_Rod_Staff,Aqua_Staff,Crimson_Staff,Forest_Staff
break;
}
- if (countitem(6380) < 10) {
+ if (countitem(Mora_Coin) < 10) {
mes "[Guardian of Artifacts]";
mes "Would you please come back when you have enough Coins?";
close;
}
.@item = .@items[rand(getarraysize(.@items))];
- delitem 6380,10; //Mora_Coin
+ delitem Mora_Coin,10;
getitem .@item,1;
mes "[Guardian of Artifacts]";
mes "I have ^aa00aa"+getitemname(.@item)+"^000000 available today. I hope "+((.@plural)?"they":"it")+" will come in handy...";
@@ -408,7 +408,7 @@ mora,104,76,4 script Guardian of Artifacts#p 4_M_MERCAT1,{
}
mora,99,93,5 script Artifact Crafter#pa0829 4_M_MERCAT1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -473,13 +473,13 @@ mora,99,93,5 script Artifact Crafter#pa0829 4_M_MERCAT1,{
break;
}
.@item = .@items[(.@select-2)%4];
- if (countitem(6380) < 2 || countitem(.@item) == 0) {
+ if (countitem(Mora_Coin) < 2 || countitem(.@item) == 0) {
mes "[Artifact Crafter]";
mes "You have to have 2 Mora Coins and an item to be reinforced before I can do my work.";
close;
}
specialeffect2 EF_REPAIRWEAPON;
- delitem 6380,2; //Mora_Coin
+ delitem Mora_Coin,2;
delitem .@item,1;
switch(.@enchant_type) {
case 1:
@@ -539,7 +539,7 @@ mora,99,93,5 script Artifact Crafter#pa0829 4_M_MERCAT1,{
//== Rune Knight, Guillotine Cross, & Ranger Enchants :: new_artifact =
mora,152,97,5 script Guardian of Power#pa082 4_F_DOGTRAVELER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Reduce the amount of items that you have in your inventory before continuing.";
close;
}
@@ -547,7 +547,7 @@ mora,152,97,5 script Guardian of Power#pa082 4_F_DOGTRAVELER,{
mes "You are carrying too much in your inventory.";
close;
}
- if (countitem(6380) < 10) {
+ if (countitem(Mora_Coin) < 10) {
mes "[Guardian of Power]";
mes "I give Rune Knights, Guillotine Crosses, and Rangers ancient artifacts to help them carry out their missions.";
next;
@@ -597,12 +597,12 @@ mora,152,97,5 script Guardian of Power#pa082 4_F_DOGTRAVELER,{
mes "Talk to me later then.";
close;
}
- if (countitem(6380) < 10) {
+ if (countitem(Mora_Coin) < 10) {
mes "[Guardian of Power]";
mes "Didn't I tell you to bring the correct amount of Mora Coins?";
close;
}
- delitem 6380,10; //Mora_Coin
+ delitem Mora_Coin,10;
getitem .@items[.@i],1;
mes "[Guardian of Power]";
mes "Thank you for the 10 Mora Coins. Here is your artifact for the "+.@jobs$[.@job]+" job. Come back whenever you get more Mora Coins.";
@@ -610,7 +610,7 @@ mora,152,97,5 script Guardian of Power#pa082 4_F_DOGTRAVELER,{
}
mora,148,98,3 script Artifact Researcher#new 4_F_MORAFINE2,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Reduce the amount of items that you have in your inventory before continuing.";
close;
}
@@ -647,7 +647,7 @@ mora,148,98,3 script Artifact Researcher#new 4_F_MORAFINE2,{
@mora_enchant_select = 2;
break;
}
- if (Zeny < 100000 || countitem(6380) == 0) {
+ if (Zeny < 100000 || countitem(Mora_Coin) == 0) {
mes "[Artifact Researcher]";
mes "I'm not giving these services out for free pal. 100,000 zeny and 1 Mora Coin. Is that too much to ask?";
close;
@@ -1110,12 +1110,12 @@ L_Socket:
mes "I think there was an enhancing limit to the artifacts.";
close;
}
- if (Zeny < 100000 || countitem(6380) == 0) {
+ if (Zeny < 100000 || countitem(Mora_Coin) == 0) {
mes "[Artifact Researcher]";
mes "I'm not going to do the work unless you pay the fee.";
close;
}
- delitem 6380,1; //Mora_Coin
+ delitem Mora_Coin,1;
Zeny -= 100000;
delequip .@part;
if (.@enchant == 9) {
@@ -1142,7 +1142,7 @@ L_Socket:
close;
} else if (.@select == 2) {
- if (Zeny < 100000 || countitem(6380) == 0) {
+ if (Zeny < 100000 || countitem(Mora_Coin) == 0) {
mes "[Artifact Researcher]";
mes "You've got to pay if you want the services.";
close;
@@ -1150,7 +1150,7 @@ L_Socket:
specialeffect2 EF_REPAIRWEAPON;
mes "[Artifact Researcher]";
mes "The ability to enhance remains.";
- delitem 6380,1; //Mora_Coin
+ delitem Mora_Coin,1;
Zeny -= 100000;
delequip .@part;
@@ -1167,7 +1167,7 @@ L_Socket:
//== Arch Bishop & Warlock Empowering :: relic_change ======
mora,124,82,4 script Artifact Collector#blan 4_M_RAFLE_OR,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Reduce the amount of items that you have in your inventory before continuing.";
close;
}
@@ -1489,7 +1489,7 @@ L_ShowInfo:
function script F_Mora_Enchant {
specialeffect2 EF_REPAIRWEAPON;
progressbar "ffff00",3;
- delitem 6380,5; //Mora_Coin
+ delitem Mora_Coin,5;
delitem getarg(0),1;
.@i = rand(1,4568);
if (.@i <= 3168) {
@@ -1519,7 +1519,7 @@ function script F_Mora_Enchant {
return 1;
}
mora,105,176,4 script Master Tailor#pa0829 4_ELEPHANT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -1527,13 +1527,13 @@ mora,105,176,4 script Master Tailor#pa0829 4_ELEPHANT,{
mes "You are carrying too much weight to do that. Reduce the weight and try again.";
close;
}
- if (countitem(6380) < 5 || countitem(15024) < 1) {
+ if (countitem(Mora_Coin) < 5 || countitem(Army_Padding) < 1) {
mes "[Master Tailor]";
mes "With my touch, I can turn a typical army padding into a piece of art. I'm Kay the Master Tailor, creating art with army paddings.";
next;
mes "[Master Tailor]";
mes "Well, what's in a name? I can turn your army padding into a piece of art if you bring ^ff00005 Mora Coins and an Army Padding^000000.";
- if (countitem(6380)) {
+ if (countitem(Mora_Coin)) {
next;
mes "[Master Tailor]";
mes "I happen to have a few army paddings in stock. Would you like to buy one? The price is 1 Mora Coin. So cheap.";
@@ -1545,8 +1545,8 @@ mora,105,176,4 script Master Tailor#pa0829 4_ELEPHANT,{
mes "Come back for one if you change your mind.";
close;
case 2:
- delitem 6380,1; //Mora_Coin
- getitem 15024,1; //Army_Padding
+ delitem Mora_Coin,1;
+ getitem Army_Padding,1;
mes "[Master Tailor]";
mes "Here it is.";
mes "It's very nice and fluffy. Please come back.";
@@ -1586,7 +1586,7 @@ mora,105,176,4 script Master Tailor#pa0829 4_ELEPHANT,{
mes "The villagers keep me busy enough.";
close;
case 2:
- if (countitem(6380) < 5 || countitem(15024) == 0) {
+ if (countitem(Mora_Coin) < 5 || countitem(Army_Padding) == 0) {
mes "[Master Tailor]";
mes "It looks like you don't have everything you need.";
next;
@@ -1611,7 +1611,7 @@ mora,105,176,4 script Master Tailor#pa0829 4_ELEPHANT,{
}
mora,123,177,6 script Pendant Crafter#pa0829 4_ELEPHANT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -1619,7 +1619,7 @@ mora,123,177,6 script Pendant Crafter#pa0829 4_ELEPHANT,{
mes "You are carrying too much weight to do that. Reduce the weight and try again.";
close;
}
- if (countitem(6380) < 5 || countitem(2858) == 0) {
+ if (countitem(Mora_Coin) < 5 || countitem(Pendant_Of_Guardian) == 0) {
mes "[Pendant Crafter]";
mes "My job is to polish the stone in a Guardian's Pendant, and then carve a symbol with special power on it.";
next;
@@ -1658,7 +1658,7 @@ mora,123,177,6 script Pendant Crafter#pa0829 4_ELEPHANT,{
mes "Come back when you're not in a hurry. I always have a lot of time on my hands.";
close;
case 2:
- if (countitem(6380) < 5 || countitem(2858) == 0) {
+ if (countitem(Mora_Coin) < 5 || countitem(Pendant_Of_Guardian) == 0) {
mes "[Pendant Crafter]";
mes "It looks like you don't have everything you need.";
next;
@@ -1667,7 +1667,7 @@ mora,123,177,6 script Pendant Crafter#pa0829 4_ELEPHANT,{
close;
}
if (callfunc("F_Mora_Enchant",2858) == 0) {
- getitem 2858,1; //Pendant_Of_Guardian
+ getitem Pendant_Of_Guardian,1;
mes "[Pendant Crafter]";
mes "What~!!";
mes "What on earth is wrong with it!!";
@@ -1681,7 +1681,7 @@ mora,123,177,6 script Pendant Crafter#pa0829 4_ELEPHANT,{
}
mora,134,166,4 script Bulberry Westhood#pa0829 4_ELEPHANT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of things with you to do that. Throw out some of them and try again.";
close;
}
@@ -1689,7 +1689,7 @@ mora,134,166,4 script Bulberry Westhood#pa0829 4_ELEPHANT,{
mes "You are carrying too much weight to do that. Reduce the weight and try again.";
close;
}
- if (countitem(6380) < 5 || countitem(2568) == 0) {
+ if (countitem(Mora_Coin) < 5 || countitem(Muffler_Of_Roki) == 0) {
mes "[Bulberry Westhood]";
mes "I'm Bulberry Westhood, keeping the tradition of quality hoods alive.";
next;
@@ -1739,7 +1739,7 @@ mora,134,166,4 script Bulberry Westhood#pa0829 4_ELEPHANT,{
mes "You say 'later' when you can have the best quality item right away? Well, have it your own way.";
close;
case 2:
- if (countitem(6380) < 5 || countitem(2568) == 0) {
+ if (countitem(Mora_Coin) < 5 || countitem(Muffler_Of_Roki) == 0) {
mes "[Bulberry Westhood]";
mes "It looks like you don't everything you need.";
next;
@@ -1748,7 +1748,7 @@ mora,134,166,4 script Bulberry Westhood#pa0829 4_ELEPHANT,{
close;
}
if (callfunc("F_Mora_Enchant",2568) == 0) {
- getitem 2568,1; //Muffler_Of_Roki
+ getitem Muffler_Of_Roki,1;
mes "[Bulberry Westhood]";
mes "Aaarrgghh, this is impossible!";
mes "My! My Loki's Scarf!....";