summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-10 15:39:41 +0530
committerHaru <haru@dotalux.com>2015-12-18 05:13:37 +0100
commit7eea5d3e6051be189736b94e13be847159c87cd7 (patch)
treec046043a8e2a0fcb4702344f6a87883c9efb5b72
parentbd18b127755adaea4d958574b5b7f26c8d818b50 (diff)
downloadhercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.gz
hercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.bz2
hercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.xz
hercules-7eea5d3e6051be189736b94e13be847159c87cd7.zip
ItemID to Constant: re Folder
-rw-r--r--npc/re/cities/brasilis.txt4
-rw-r--r--npc/re/cities/dewata.txt16
-rw-r--r--npc/re/cities/malangdo.txt4
-rw-r--r--npc/re/instances/BakonawaLake.txt8
-rw-r--r--npc/re/instances/BangungotHospital.txt8
-rw-r--r--npc/re/instances/HazyForest.txt12
-rw-r--r--npc/re/instances/MalangdoCulvert.txt6
-rw-r--r--npc/re/instances/OctopusCave.txt4
-rw-r--r--npc/re/instances/OldGlastHeim.txt4
-rw-r--r--npc/re/instances/WolfchevLaboratory.txt16
-rw-r--r--npc/re/jobs/1-1/acolyte.txt2
-rw-r--r--npc/re/jobs/1-1/archer.txt8
-rw-r--r--npc/re/jobs/1-1/swordman.txt2
-rw-r--r--npc/re/jobs/1-1/thief.txt2
-rw-r--r--npc/re/jobs/3-1/archbishop.txt74
-rw-r--r--npc/re/jobs/3-1/guillotine_cross.txt34
-rw-r--r--npc/re/jobs/3-1/mechanic.txt8
-rw-r--r--npc/re/jobs/3-1/ranger.txt68
-rw-r--r--npc/re/jobs/3-1/rune_knight.txt26
-rw-r--r--npc/re/jobs/3-1/warlock.txt78
-rw-r--r--npc/re/jobs/3-2/genetic.txt22
-rw-r--r--npc/re/jobs/3-2/minstrel.txt14
-rw-r--r--npc/re/jobs/3-2/royal_guard.txt34
-rw-r--r--npc/re/jobs/3-2/shadow_chaser.txt66
-rw-r--r--npc/re/jobs/3-2/sorcerer.txt18
-rw-r--r--npc/re/jobs/3-2/sura.txt6
-rw-r--r--npc/re/jobs/3-2/wanderer.txt6
-rw-r--r--npc/re/jobs/novice/academy.txt306
-rw-r--r--npc/re/jobs/novice/novice.txt82
-rw-r--r--npc/re/jobs/novice/supernovice_ex.txt16
-rw-r--r--npc/re/jobs/repair.txt4
-rw-r--r--npc/re/merchants/3rd_trader.txt10
-rw-r--r--npc/re/merchants/alchemist.txt2
-rw-r--r--npc/re/merchants/card_separation.txt18
-rw-r--r--npc/re/merchants/catalog.txt4
-rw-r--r--npc/re/merchants/coin_exchange.txt34
-rw-r--r--npc/re/merchants/diamond.txt2
-rw-r--r--npc/re/merchants/enchan_mal.txt6
-rw-r--r--npc/re/merchants/enchan_mora.txt88
-rw-r--r--npc/re/merchants/enchan_upg.txt10
-rw-r--r--npc/re/merchants/flute.txt12
-rw-r--r--npc/re/merchants/ninja_craftsman.txt4
-rw-r--r--npc/re/merchants/quivers.txt2
-rw-r--r--npc/re/merchants/refine.txt2
-rw-r--r--npc/re/merchants/ticket_refiner.txt4
-rw-r--r--npc/re/quests/cupet.txt2
-rw-r--r--npc/re/quests/eden/11-25.txt2
-rw-r--r--npc/re/quests/eden/26-40.txt86
-rw-r--r--npc/re/quests/eden/41-55.txt4
-rw-r--r--npc/re/quests/eden/56-70.txt2
-rw-r--r--npc/re/quests/eden/71-85.txt10
-rw-r--r--npc/re/quests/eden/86-90.txt2
-rw-r--r--npc/re/quests/eden/91-99.txt2
-rw-r--r--npc/re/quests/eden/eden_common.txt10
-rw-r--r--npc/re/quests/eden/eden_iro.txt26
-rw-r--r--npc/re/quests/eden/eden_service.txt2
-rw-r--r--npc/re/quests/eden/eden_tutorial.txt28
-rw-r--r--npc/re/quests/homun_s.txt14
-rw-r--r--npc/re/quests/magic_books.txt34
-rw-r--r--npc/re/quests/pile_bunker.txt16
-rw-r--r--npc/re/quests/quests_brasilis.txt86
-rw-r--r--npc/re/quests/quests_dewata.txt162
-rw-r--r--npc/re/quests/quests_dicastes.txt136
-rw-r--r--npc/re/quests/quests_malangdo.txt390
-rw-r--r--npc/re/quests/quests_malaya.txt358
-rw-r--r--npc/re/quests/quests_mora.txt218
-rw-r--r--npc/re/woe-fe/invest_main.txt34
67 files changed, 1390 insertions, 1390 deletions
diff --git a/npc/re/cities/brasilis.txt b/npc/re/cities/brasilis.txt
index 9d2dfa109..77e2635e3 100644
--- a/npc/re/cities/brasilis.txt
+++ b/npc/re/cities/brasilis.txt
@@ -157,14 +157,14 @@ brasilis,137,77,5 script Ice-Cream Maker 4_M_03,{
mes "It's only ^3355FF100 Zeny^000000~ Seriously!";
close;
}
- if (!checkweight(536,.@input)) {
+ if (!checkweight(Ice_Cream,.@input)) {
mes "[Ice Cream Maker]";
mes "You seem to have too much stuff.";
mes "Lighten your pack before buying this.";
close;
}
Zeny -= .@icecream_hap;
- getitem 536,.@input; //Ice_Cream
+ getitem Ice_Cream,.@input;
close;
case 2:
mes "[Ice Cream Maker]";
diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt
index 8b9d184e5..04881fed7 100644
--- a/npc/re/cities/dewata.txt
+++ b/npc/re/cities/dewata.txt
@@ -186,12 +186,12 @@ dewata,221,237,5 script Young Man#dew-1 4_M_DEWMAN,{
}
dewata,114,243,6 script Lazy Young Man#dew 4_M_DEWMAN,1,1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) {
mes "[Lazy Young Man]";
mes "Why are you carrying so much? Isn't it heavy?";
close;
}
- if (countitem(11534)) {
+ if (countitem(Coco_Juice)) {
mes "[Lazy Young Man]";
mes "Wewt~!! Isn't that Palm Juice?";
mes "Can you give me that? I just woke";
@@ -201,7 +201,7 @@ dewata,114,243,6 script Lazy Young Man#dew 4_M_DEWMAN,1,1,{
case 1:
mes "[Lazy Young Man]";
mes "Really? For me?? I'll give you this in return... Thanks... Hehe~";
- delitem 11534,1; //Coco_Juice
+ delitem Coco_Juice,1;
getrandgroupitem(IG_GiftBox),1;
close;
case 2:
@@ -215,7 +215,7 @@ dewata,114,243,6 script Lazy Young Man#dew 4_M_DEWMAN,1,1,{
mes "juice for me?~";
close;
OnTouch:
- if (countitem(11534) == 0) {
+ if (countitem(Coco_Juice) == 0) {
mes "[Lazy Young Man]";
mes "Arrgg~ I'm thirsty~~ so thirsty~~";
mes "Give me Palm juice... Palm Juuiice~~";
@@ -247,7 +247,7 @@ dewata,159,81,4 script Tourist#dew-1 4_M_SITDOWN,{
}
dewata,146,109,5 script Restauranteur#dew 4_COOK,{
- if (checkweight(11532,1) == 0 || checkweight(11533,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Nasi_Goreng,1) == 0 || checkweight(Satay,1) == 0 || MaxWeight - Weight < 500) {
mes "[Restauranteur]";
mes "You came to taste my dish? It is always good to eat with an empty stomach.";
close;
@@ -1057,7 +1057,7 @@ dewata,280,236,4 script Settler#dew 4_F_JOB_BLACKSMITH,{
}
dewata,204,230,6 script Dieting Lady#dew 4_M_DEWWOMAN,{
- if (countitem(11533) == 0) {
+ if (countitem(Satay) == 0) {
mes "[Dieting Lady]";
mes "Ah~ I'm starving!!";
mes "I should be on a diet now.";
@@ -1075,14 +1075,14 @@ dewata,204,230,6 script Dieting Lady#dew 4_M_DEWWOMAN,{
next;
switch(select("Yes, want a taste?:No, it's for me!")) {
case 1:
- delitem 11533,1; //Satay
+ delitem Satay,1;
mes "[Dieting Lady]";
mes "Thanks so much!";
mes "I've been so hungry~!!";
mes "This smell of this ^006400Satay^000000";
mes "is so good~!";
next;
- getitem 11533,1; //Satay
+ getitem Satay,1;
mes "[Dieting Lady]";
mes "Ah... gotta come back to my senses,";
mes "too much of a good thing is bad...";
diff --git a/npc/re/cities/malangdo.txt b/npc/re/cities/malangdo.txt
index 43897e15f..98d0efd95 100644
--- a/npc/re/cities/malangdo.txt
+++ b/npc/re/cities/malangdo.txt
@@ -311,8 +311,8 @@ malangdo,147,117,3 script Innkeeper#malang 4_CAT_REST,{
next;
switch(select("Here you go.:Never mind.")) {
case 1:
- if (countitem(12636) > 4) {
- delitem 12636,5; //Malang_Sp_Can
+ if (countitem(Malang_Sp_Can) > 4) {
+ delitem Malang_Sp_Can,5;
percentheal 100,100;
specialeffect2 EF_HEALSP;
mes "[Innkeeper]";
diff --git a/npc/re/instances/BakonawaLake.txt b/npc/re/instances/BakonawaLake.txt
index 82a9d7782..e1937f572 100644
--- a/npc/re/instances/BakonawaLake.txt
+++ b/npc/re/instances/BakonawaLake.txt
@@ -37,7 +37,7 @@
ma_scene01,174,179,4 script Taho 4_M_DEWZATIMAN,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You are carrying too many items. Come back after taking off some of them.";
close;
}
@@ -481,7 +481,7 @@ OnMobSpawn:
1@ma_b,62,52,4 script Taho#Completed 4_M_DEWZATIMAN,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "It seems you are carrying too many different kinds of items. Please try again after reducing it.";
close;
}
@@ -494,9 +494,9 @@ OnMobSpawn:
mes "[Taho]";
mes "This was found from Bakonawa's corpse. It would be better if you take this.";
// if (IsPremiumPcCafe == 10)
- getitem 6499,7; //Ancient_Grudge
+ getitem Ancient_Grudge,7;
// else
-// getitem 6499,5; //Ancient_Grudge
+// getitem Ancient_Grudge,5;
getexp 0,100000;
next;
}
diff --git a/npc/re/instances/BangungotHospital.txt b/npc/re/instances/BangungotHospital.txt
index 1789106e8..5b9fba3dd 100644
--- a/npc/re/instances/BangungotHospital.txt
+++ b/npc/re/instances/BangungotHospital.txt
@@ -153,7 +153,7 @@ ma_dun01,147,10,5 script Nurse#ma_dun01 4_F_NURSE,{
end;
}
} else {
- if (checkweight(607,1) == 0) {
+ if (checkweight(Yggdrasilberry,1) == 0) {
mes "[Nurse Maenne]";
mes "You have too much stuff.";
mes "Please reduce your stuff and";
@@ -162,7 +162,7 @@ ma_dun01,147,10,5 script Nurse#ma_dun01 4_F_NURSE,{
cutin "",255;
end;
}
- if (checkweight(607,11) == 0) {
+ if (checkweight(Yggdrasilberry,11) == 0) {
mes "[Nurse Maenne]";
mes "It's too heavy.";
mes "Please reduce the weight and";
@@ -179,9 +179,9 @@ ma_dun01,147,10,5 script Nurse#ma_dun01 4_F_NURSE,{
setquest 9223;
getexp 500000,0;
// if (IsPremiumPcCafe == 10)
- getitem 6499,7; //Ancient_Grudge
+ getitem Ancient_Grudge,7;
// else
-// getitem 6499,5; //Ancient_Grudge
+// getitem Ancient_Grudge,5;
close2;
cutin "",255;
end;
diff --git a/npc/re/instances/HazyForest.txt b/npc/re/instances/HazyForest.txt
index d3c017a47..d92934dc5 100644
--- a/npc/re/instances/HazyForest.txt
+++ b/npc/re/instances/HazyForest.txt
@@ -462,7 +462,7 @@ OnMyMobDead:
1@mist,73,290,0 script Mysterious Flower#1 CLEAR_NPC,{
specialeffect EF_LEVEL99_4;
disablenpc instance_npcname(strnpcinfo(0));
- getitem 12561,1; //Mysterious_Seed
+ getitem Mysterious_Seed,1;
end;
}
1@mist,69,295,0 duplicate(Mysterious Flower#1) Mysterious Flower#2 CLEAR_NPC
@@ -816,7 +816,7 @@ mora,46,152,5 script Flower Smelling Lady 4_F_NYDHOG,{
}
mora,48,152,3 script Sharp Eyed Man 4_M_ROKI2,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- You have too many items to do this quest. -";
close;
}
@@ -919,8 +919,8 @@ mora,48,152,3 script Sharp Eyed Man 4_M_ROKI2,{
mes "May the blessing of Mother Yggdrasil be with you...";
ep14_1_mistwoods = 10;
completequest 7213;
- getitem 2568,1; //Muffler_Of_Roki
- getitem 2858,1; //Pendant_Of_Guardian
+ getitem Muffler_Of_Roki,1;
+ getitem Pendant_Of_Guardian,1;
getexp 400000,400000;
close;
} else {
@@ -1012,7 +1012,7 @@ OnInstanceInit:
//== Warp Portals ==========================================
bif_fild01,38,374,0 script Mysterious Flower#ep14_1 CLEAR_NPC,{
mes "It's a giant flower with mysterious energy.";
- if (countitem(12561)) {
+ if (countitem(Mysterious_Seed)) {
mes "It's reacting to the Mysterious Flower Seeds you have with you.";
next;
switch(select("Observe the reaction.:Stop the reaction.")) {
@@ -1020,7 +1020,7 @@ bif_fild01,38,374,0 script Mysterious Flower#ep14_1 CLEAR_NPC,{
mes "The flower started to shake violently";
mes "and swing forward as if trying to send the seeds as far away as possible!!!";
close2;
- delitem 12561,1; //Mysterious_Seed
+ delitem Mysterious_Seed,1;
warp "bif_fild02",160,230;
end;
case 2:
diff --git a/npc/re/instances/MalangdoCulvert.txt b/npc/re/instances/MalangdoCulvert.txt
index 6e4862b81..c67647615 100644
--- a/npc/re/instances/MalangdoCulvert.txt
+++ b/npc/re/instances/MalangdoCulvert.txt
@@ -40,7 +40,7 @@
//== Quest NPCs ============================================
mal_in01,172,28,2 script Albo#mal 4_CAT_SAILOR5,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Try to continue after reducing those objects.";
close;
}
@@ -164,7 +164,7 @@ L_GiveQuest:
}
mal_in01,172,26,2 script Madeca#mal 4_CAT_SAILOR1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Try to continue after reducing those objects.";
close;
}
@@ -394,7 +394,7 @@ mal_in01,160,34,4 script Missing, the Cleaner 4_CAT_SAILOR2,{
in_canal_n = 1;
close;
}
- if (countitem(6436) == 0) {
+ if (countitem(Ptotection_Seagod) == 0) {
mes "[Missing, the Cleaner]";
mes "You don't look like you have Seagod Protection. I can't open door at the moment!";
close;
diff --git a/npc/re/instances/OctopusCave.txt b/npc/re/instances/OctopusCave.txt
index 0d7e794a1..61f3e408d 100644
--- a/npc/re/instances/OctopusCave.txt
+++ b/npc/re/instances/OctopusCave.txt
@@ -103,7 +103,7 @@ mal_dun01,151,235,5 script Starfish 4_ASTER,{
close;
}
if (.@playtime == 2) erasequest 4197;
- if (countitem(6442)) {
+ if (countitem(Octopus_Hunt_Stick)) {
.@instance = instance_create(.@md_name$,.@party_id);
if (.@instance < 0) {
mes "[Starfish]";
@@ -147,7 +147,7 @@ mal_dun01,153,237,5 script Weird Entrance CLEAR_NPC,{
next;
switch(select("Go in.:Stop.")) {
case 1:
- if (countitem(6442)) {
+ if (countitem(Octopus_Hunt_Stick)) {
if (has_instance("1@cash") == "") {
if (questprogress(4197,PLAYTIME) == 1) {
mes "[Starfish]";
diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt
index 6620357c4..936053d36 100644
--- a/npc/re/instances/OldGlastHeim.txt
+++ b/npc/re/instances/OldGlastHeim.txt
@@ -1238,7 +1238,7 @@ OnTalk6:
mes "[Varmunt]";
mes "There's something unusual about this thing's aura. Maybe someday we will be able to understand what is behind all of this.";
cutin "gl_barmund1",2;
- getitem 6608,1; //Coagulated Spell
+ getitem Coagulated_Spell,1; //Coagulated Spell
setquest 12319;
close2;
cutin "gl_barmund1",255;
@@ -1942,7 +1942,7 @@ OnTimer80000:
mes "Well, you are pretty ridiculous. Beginners shouldn't get the loot Amdarias drops.";
erasequest 12318;
erasequest 12319;
- getitem 6608,1; //Coagulated Spell
+ getitem Coagulated_Spell,1; //Coagulated Spell
next;
mes "[Hugin]";
mes "Varmunt, I have arbitrarily stopped time. And soon, the time gap will be gone.";
diff --git a/npc/re/instances/WolfchevLaboratory.txt b/npc/re/instances/WolfchevLaboratory.txt
index 30cd74c7f..7adc07995 100644
--- a/npc/re/instances/WolfchevLaboratory.txt
+++ b/npc/re/instances/WolfchevLaboratory.txt
@@ -43,7 +43,7 @@
//== Giacomo Girolam =======================================
lighthalzen,303,303,6 script Giacomo Girolamo#kiup2 4_M_KHMAN,3,3,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
@@ -320,7 +320,7 @@ lighthalzen,303,303,6 script Giacomo Girolamo#kiup2 4_M_KHMAN,3,3,{
//== Weird Old Man (Rewards) ===============================
lighthalzen,342,291,4 script Weird old man#Bio4Reward 4_M_EINOLD,{
- if ((MaxWeight - Weight) < 2800 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 2800 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
@@ -695,7 +695,7 @@ lighthalzen,342,291,4 script Weird old man#Bio4Reward 4_M_EINOLD,{
//== Sorcerer (Rewards) ====================================
lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{
- if ((MaxWeight - Weight) < 1200 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1200 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
@@ -1458,7 +1458,7 @@ que_lhz,206,74,4 script Researcher#02 4_LGTSCIENCE,3,3,{
//== Wolfchev ==============================================
que_lhz,94,119,4 script Researcher#03 4_LGTSCIENCE,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
@@ -1499,7 +1499,7 @@ que_lhz,94,119,4 script Researcher#03 4_LGTSCIENCE,{
//== Wolfchev ==============================================
que_lhz,147,224,4 script Researcher#04 4_LGTSCIENCE,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
@@ -1699,7 +1699,7 @@ que_lhz,140,224,2 duplicate(Human Guinea pig#01) Human Guinea pig#08 CHEN
//== Wolfchev ==============================================
lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000You cannot continue the process due to possessing too many belongings.^000000";
close;
}
@@ -1916,7 +1916,7 @@ lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{
//==========================================================
lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000You cannot continue the process due to possessing too many belongings.^000000";
close;
}
@@ -3094,7 +3094,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{
//== Wolfchev - Final encounter ============================
1@lhz,137,156,7 script Wolfchev#last 4_LGTSCIENCE,{
- if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) {
+ if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) {
mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000";
close;
}
diff --git a/npc/re/jobs/1-1/acolyte.txt b/npc/re/jobs/1-1/acolyte.txt
index 89387e3a2..005da4c8f 100644
--- a/npc/re/jobs/1-1/acolyte.txt
+++ b/npc/re/jobs/1-1/acolyte.txt
@@ -109,7 +109,7 @@ prt_church,184,41,4 script Cleric#aco 1_M_PASTOR,{
mes "[Father Mareusis]";
mes "Always remember to be thankful to God, who takes care of us all the time. In chaos and times of difficulty, face your hardships with unwavering faith.";
callfunc "Job_Change",Job_Acolyte;
- getitem 1545,1; // N_Mace
+ getitem N_Mace,1; // N_Mace
next;
mes "[Father Mareusis]";
mes "Lastly, I want to sincerely congratulate you on persevering through your trial of penance.";
diff --git a/npc/re/jobs/1-1/archer.txt b/npc/re/jobs/1-1/archer.txt
index cc9954dba..32b53ed49 100644
--- a/npc/re/jobs/1-1/archer.txt
+++ b/npc/re/jobs/1-1/archer.txt
@@ -116,10 +116,10 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{
mes "Congratulations! You are now an Archer! Also, we hope that you actively participate in many programs for the revival of the Archer Guild.";
mes "Ah, items have arrived from the Production Department. Here, take these! These are all yours!";
callfunc "Job_Change",Job_Archer;
- getitem 1742,1; // N_Composite_Bow
- getitem 12004,1; // Arrow_Container
- getitem 12009,1; // Silver_Arrow_Container
- getitem 12008,1; // Fire_Arrow_Container
+ getitem N_Composite_Bow,1; // N_Composite_Bow
+ getitem Arrow_Container,1; // Arrow_Container
+ getitem Silver_Arrow_Container,1; // Silver_Arrow_Container
+ getitem Fire_Arrow_Container,1; // Fire_Arrow_Container
next;
mes "[Archer Guildsman]";
mes "Having a bow and arrows, now you became a real Archer.";
diff --git a/npc/re/jobs/1-1/swordman.txt b/npc/re/jobs/1-1/swordman.txt
index 2bda736a9..00f1086ef 100644
--- a/npc/re/jobs/1-1/swordman.txt
+++ b/npc/re/jobs/1-1/swordman.txt
@@ -141,7 +141,7 @@ izlude_in,74,172,4 script Swordman#swd 2_M_SWORDMASTER,{
mes "[Swordman Guildsman]";
mes "Congratulations again for being a Swordman and I hope that you participate in many activities for the revival of our guild.";
callfunc "Job_Change",Job_Swordman;
- getitem 13415,1; // N_Falchion
+ getitem N_Falchion,1; // N_Falchion
close;
}
case 3:
diff --git a/npc/re/jobs/1-1/thief.txt b/npc/re/jobs/1-1/thief.txt
index 43b721086..3d3345719 100644
--- a/npc/re/jobs/1-1/thief.txt
+++ b/npc/re/jobs/1-1/thief.txt
@@ -190,7 +190,7 @@ moc_prydb1,42,133,2 script Thief Guildsman#thief 2_M_THIEFMASTER,{
mes "'For those who are ready, the moonlight shall open the way. Now you are fully ready, I now officially allow you to become a member of the Thief Guild.'";
callfunc "Job_Change",Job_Thief;
q_job_thief = 0;
- getitem 13041,1; // N_Main_Gauche
+ getitem N_Main_Gauche,1; // N_Main_Gauche
next;
mes "[Commander of Thief Guild]";
mes "'Congratulations on becoming a Thief.'";
diff --git a/npc/re/jobs/3-1/archbishop.txt b/npc/re/jobs/3-1/archbishop.txt
index 05a21985a..2bb13bac5 100644
--- a/npc/re/jobs/3-1/archbishop.txt
+++ b/npc/re/jobs/3-1/archbishop.txt
@@ -517,7 +517,7 @@ OnTouch:
mes "^3131FF[Priest Dayan]^000000";
mes "^3131FFYou're drinking the Holy Water.^000000";
next;
- if (countitem(523) == 0) {
+ if (countitem(Holy_Water) == 0) {
mes "[" + strcharinfo(0) + "]";
mes "Oh no! I forgot to bring a Holy Water!";
close;
@@ -767,7 +767,7 @@ OnInit:
}
job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Wait a Sec !! -";
mes "- You are carrying too many items, -";
mes "- you won't be able to obtain any new items. -";
@@ -934,8 +934,8 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
$@archbs = 0;
close2;
nude;
- if (countitem(2798))
- delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
+ if (countitem(Will_Of_Exhausted_Angel))
+ delitem Will_Of_Exhausted_Angel,countitem(Will_Of_Exhausted_Angel);
donpcevent "start#arch::OnEnable";
job_arch = 7;
changequest 2190,2191;
@@ -947,8 +947,8 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
mes "I'm talking with another person now, so give me a second.";
close;
} else if (job_arch == 7) {
- if (countitem(12381)) delitem 12381,countitem(12381); //ValkyrieA_Scroll
- if (countitem(12382)) delitem 12382,countitem(12382); //ValkyrieB_Scroll
+ if (countitem(ValkyrieA_Scroll)) delitem ValkyrieA_Scroll,countitem(ValkyrieA_Scroll);
+ if (countitem(ValkyrieB_Scroll)) delitem ValkyrieB_Scroll,countitem(ValkyrieB_Scroll);
if ($@archbs == 0) {
$@archbs = 1;
mes "[Valkyrie Anguhilde]";
@@ -971,8 +971,8 @@ job3_arch01,29,34,3 script Valkyrie#arch 4_F_VALKYRIE2,{
mes "But you have to be careful if an impersonation falls down.";
close2;
nude;
- if (countitem(2798))
- delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
+ if (countitem(Will_Of_Exhausted_Angel))
+ delitem Will_Of_Exhausted_Angel,countitem(Will_Of_Exhausted_Angel);
donpcevent "start#arch::OnEnable";
job_arch = 7;
warp "job3_arch02",119,49;
@@ -994,8 +994,8 @@ OnBc:
job3_arch02,119,49,0 script #arch_1_start HIDDEN_WARP_NPC,6,6,{
OnTouch:
- if (countitem(12381) == 0)
- getitem 12381,1; //ValkyrieA_Scroll
+ if (countitem(ValkyrieA_Scroll) == 0)
+ getitem ValkyrieA_Scroll,1;
mapannounce "job3_arch02","Whispering of an impersonation: I feel heavy! Set me free!",bc_map,"0xFFCE00";
disablenpc "#arch_1_start";
end;
@@ -1003,8 +1003,8 @@ OnTouch:
- script #arch_1_01_0::archbjcq -1,{
OnTouch:
- if (countitem(12381)) {
- delitem 12381,1; //ValkyrieA_Scroll
+ if (countitem(ValkyrieA_Scroll)) {
+ delitem ValkyrieA_Scroll,1;
// fall through
} else if (getmercinfo(1) == 2037) {
if (strnpcinfo(0) == "#arch_1_10")
@@ -1035,8 +1035,8 @@ job3_arch02,245,289,0 duplicate(archbjcq) #arch_1_12 HIDDEN_WARP_NPC,5,5
job3_arch02,203,286,0 script #arch_1_boss HIDDEN_WARP_NPC,5,5,{
OnTouch:
- if (countitem(12381)) {
- delitem 12381,1; //ValkyrieA_Scroll
+ if (countitem(ValkyrieA_Scroll)) {
+ delitem ValkyrieA_Scroll,1;
// fall through
} else if (getmercinfo(1) == 2037) {
mapannounce "job3_arch02","Valkyrie's Nightmare: An incompetent illusion of Valkyrie came here with the assistance of humans. You wanna have that nightmare?",bc_map,"0xFF0000";
@@ -1140,7 +1140,7 @@ job3_arch02,113,327,5 script Valkyrie#arch_01 4_F_VALKYRIE2,{
mes "[Valkyrie Anguhilde]";
mes "Then I look forward a good news.";
close2;
- getitem 12382,1; //ValkyrieB_Scroll
+ getitem ValkyrieB_Scroll,1;
viewpoint 1,244,46,1,0xFFFF99;
hideonnpc "Valkyrie#arch_01";
donpcevent "#arch_2_start::OnEnable";
@@ -1151,11 +1151,11 @@ job3_arch02,244,46,5 script Valkyrie#arch_02 4_F_VALKYRIE2,{
mes "[Valkyrie Anguhilde]";
mes "Did you find the rest of the pieces?";
next;
- if (countitem(6154) < 2) {
+ if (countitem(Broken_Horn_Pipe) < 2) {
mes "[Valkyrie Anguhilde]";
mes "Hum?";
mes "I can see this one beside you.";
- getitem 6154,2; //Broken_Horn_Pipe
+ getitem Broken_Horn_Pipe,2;
next;
}
mes "[Valkyrie Anguhilde]";
@@ -1178,7 +1178,7 @@ job3_arch02,244,46,5 script Valkyrie#arch_02 4_F_VALKYRIE2,{
mes "Take care.";
mes "Please, hurry up!";
close2;
- getitem 2798,1; //Will_Of_Exhausted_Angel
+ getitem Will_Of_Exhausted_Angel,1;
hideonnpc "Valkyrie#arch_02";
donpcevent "#arch_3_start::OnEnable";
end;
@@ -1192,7 +1192,7 @@ OnTouch:
donpcevent "#arch_3_03::OnKill";
donpcevent "mob#arch_2::OnKill";
hideoffnpc "Valkyrie Anguhilde#end";
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Wait a Sec !! -";
mes "- You are carrying too many items, -";
mes "- you won't be able to obtain any new items. -";
@@ -1206,7 +1206,7 @@ OnTouch:
mes "Please unequip your riding pet and try again!";
close;
}
- if (countitem(6154) < 2) {
+ if (countitem(Broken_Horn_Pipe) < 2) {
mes "[Valkyrie Anguhilde]";
mes "Did you collect all of the pieces of my horn pipe?";
next;
@@ -1217,9 +1217,9 @@ OnTouch:
mes "It can be dangerous, so let's go back.";
close2;
nude;
- if (countitem(2798))
- delitem 2798,(2798); //Will_Of_Exhausted_Angel
- delitem 6154,countitem(6154); //Broken_Horn_Pipe
+ if (countitem(Will_Of_Exhausted_Angel))
+ delitem Will_Of_Exhausted_Angel,(2798);
+ delitem Broken_Horn_Pipe,countitem(Broken_Horn_Pipe);
mapwarp "job3_arch02","job3_arch01",29,29;
end;
}
@@ -1302,13 +1302,13 @@ OnTouch:
mes "Don't forget an altruistic minister's spirit like today forever.";
mes "I hope we see each other in Valhalla sometime.";
nude;
- if (countitem(2798))
- delitem 2798,countitem(2798); //Will_Of_Exhausted_Angel
- delitem 6154,countitem(6154); //Broken_Horn_Pipe
+ if (countitem(Will_Of_Exhausted_Angel))
+ delitem Will_Of_Exhausted_Angel,countitem(Will_Of_Exhausted_Angel);
+ delitem Broken_Horn_Pipe,countitem(Broken_Horn_Pipe);
job_arch = 100;
completequest 2191;
- getitem 5747,1; //Mitra
- getitem 2795,1; //Green_Apple_Ring
+ getitem Mitra,1;
+ getitem Green_Apple_Ring,1;
jobchange roclass(eaclass()|EAJL_THIRD);
close;
OnInit:
@@ -1345,15 +1345,15 @@ OnInit:
job3_arch02,132,323,0 script #arch_2_01 HIDDEN_WARP_NPC,5,5,{
end;
OnTouch:
- if (countitem(12382))
+ if (countitem(ValkyrieB_Scroll))
mapannounce "job3_arch02","Whispering of Valkyrie: I see a new ancient scroll!",bc_map;
end;
}
- script #arch_2_02_0::archbjcq2 -1,{
OnTouch:
- if (countitem(12382)) {
- delitem 12382,1; //ValkyrieB_Scroll
+ if (countitem(ValkyrieB_Scroll)) {
+ delitem ValkyrieB_Scroll,1;
// fall through
} else if (getmercinfo(1) == 2038) {
.@randht = rand(1,10);
@@ -1397,8 +1397,8 @@ OnTouch:
job3_arch02,206,113,0 script #arch_2_boss HIDDEN_WARP_NPC,5,5,{
OnTouch:
- if (countitem(12382)) {
- delitem 12382,1; //ValkyrieB_Scroll
+ if (countitem(ValkyrieB_Scroll)) {
+ delitem ValkyrieB_Scroll,1;
// fall through
} else if (getmercinfo(1) == 2038) {
mapannounce "job3_arch02","A shout of devil: You are so childish. I invite you a party of devil. I'll make you have a fun!",bc_map,"0xFF0000";
@@ -1647,10 +1647,10 @@ OnTouch:
/*
job_arch01,26,25,0 script #archremove HIDDEN_WARP_NPC,3,3,{
OnTouch:
- if (countitem(6154)) delitem 6154, countitem(6154); //Broken_Horn_Pipe
- if (countitem(12381)) delitem 12381, countitem(12381); //ValkyrieA_Scroll
- if (countitem(12382)) delitem 12382, countitem(12382); //ValkyrieB_Scroll
- if (countitem(2798)) delitem 2798, countitem(2798); //Will_Of_Exhausted_Angel
+ if (countitem(Broken_Horn_Pipe)) delitem Broken_Horn_Pipe, countitem(Broken_Horn_Pipe);
+ if (countitem(ValkyrieA_Scroll)) delitem ValkyrieA_Scroll, countitem(ValkyrieA_Scroll);
+ if (countitem(ValkyrieB_Scroll)) delitem ValkyrieB_Scroll, countitem(ValkyrieB_Scroll);
+ if (countitem(Will_Of_Exhausted_Angel)) delitem Will_Of_Exhausted_Angel, countitem(Will_Of_Exhausted_Angel);
end;
}
*/
diff --git a/npc/re/jobs/3-1/guillotine_cross.txt b/npc/re/jobs/3-1/guillotine_cross.txt
index 40903e32f..3d2996a28 100644
--- a/npc/re/jobs/3-1/guillotine_cross.txt
+++ b/npc/re/jobs/3-1/guillotine_cross.txt
@@ -275,7 +275,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 799) {
mes "Here you are, take it.";
Zeny -= 800;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
close;
}
mes "It's 800 zeny per glass of Tropical Sograt.";
@@ -285,7 +285,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 799) {
mes "Here you are, take it.";
Zeny -= 800;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
close;
}
mes "It's 800 zeny per glass of Vermilion on the Beach.";
@@ -730,7 +730,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
mes "Here you are. Milk.";
mes "Then take a rest.";
Zeny -= 500;
- getitem 519,1; //Milk
+ getitem Milk,1;
close;
}
mes "I told you, it's 500 zeny.";
@@ -770,7 +770,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 799) {
mes "Here you are, take it.";
Zeny -= 800;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
close;
}
mes "It's 800 zeny per 1 glass of Tropical Sograt.";
@@ -780,7 +780,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 799) {
mes "Here you are, take it.";
Zeny -= 800;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
close;
}
mes "[Daora]";
@@ -797,7 +797,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
mes "I feel sorry to take 500 zeny per bottle, but I have to.";
mes "It's very hard to get milk in Veins.";
Zeny -= 500;
- getitem 519,1; //Milk
+ getitem Milk,1;
close;
}
mes "Umm... I think I can't help you.";
@@ -832,7 +832,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 999) {
mes "Here you are, take it.";
Zeny -= 1000;
- getitem 12112,1; //Tropical_Sograt
+ getitem Tropical_Sograt,1;
close;
}
mes "It's 1000 zeny per glass of Tropical Sograt.";
@@ -842,7 +842,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
if (Zeny > 999) {
mes "Here you are, take it.";
Zeny -= 1000;
- getitem 12113,1; //Vermilion_The_Beach
+ getitem Vermilion_The_Beach,1;
close;
}
mes "It's 1000 zeny per glass of Vermilion on the Beach.";
@@ -858,7 +858,7 @@ job3_guil01,82,95,3 script Daora#3rdgc02 4_F_DESERT,{
}
job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
- if (!checkweight(1201,2)) {
+ if (!checkweight(Knife,2)) {
mes "- You can't continue this quest because you have too many items. -";
close;
}
@@ -945,7 +945,7 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
next;
select("Give a key to him.");
mes "[Mayshell]";
- if (countitem(6150) == 0) {
+ if (countitem(Key_Of_The_Mansion) == 0) {
mes "You didn't bring a key?";
mes "I'll be in lots of trouble.";
close;
@@ -967,7 +967,7 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
mes "[Mayshell]";
mes "This is the last step.";
mes "Don't make any mistakes.";
- delitem 6150,1; //Key_Of_The_Mansion
+ delitem Key_Of_The_Mansion,1;
job_3rd_gc = 15;
changequest 7108,7109;
close;
@@ -1067,7 +1067,7 @@ job3_guil01,16,20,4 script Mayshell#3rdgc03 4_F_KHELLISIA,{
mes "I reward you for your labor, and I'm going to give you a present.";
mes "I got this one from guild, I hope it's helpful to you.";
job_3rd_gc = 20;
- getitem 12106,1; //Accessory_Box
+ getitem Accessory_Box,1;
erasequest 7091;
erasequest 7092;
erasequest 7093;
@@ -2507,7 +2507,7 @@ OnTimer61000:
}
job3_guil02,49,43,5 script Dandelion#3rdgc12 4_M_DSTMANDEAD,{
- if (!checkweight(1201,2)) {
+ if (!checkweight(Knife,2)) {
mes "- You can't continue this quest because you have too many items. -";
close;
}
@@ -2529,7 +2529,7 @@ job3_guil02,49,43,5 script Dandelion#3rdgc12 4_M_DSTMANDEAD,{
mes "He passed away.";
mes "You find a key with a fancy decoration around his neck.";
job_3rd_gc = 13;
- getitem 6150,1; //Key_Of_The_Mansion
+ getitem Key_Of_The_Mansion,1;
changequest 7107,7108;
close;
} else {
@@ -3610,7 +3610,7 @@ OnDisable:
}
job3_guil01,148,53,3 script Bercasell#3rdgc16 4_M_GUILLOTINE,{
- if (!checkweight(1201,2)) {
+ if (!checkweight(Knife,2)) {
mes "- You can't continue this quest because you have too many items. -";
close;
}
@@ -3700,8 +3700,8 @@ job3_guil01,148,53,3 script Bercasell#3rdgc16 4_M_GUILLOTINE,{
job_3rd_gc = 28;
erasequest 7099;
}
- getitem 2795,1; //Green_Apple_Ring
- getitem 5755,1; //Silent_Executer
+ getitem Green_Apple_Ring,1;
+ getitem Silent_Executer,1;
next;
mes "[Bercasell]";
mes "And... these are presents to celebrate your becoming a Guillotine Cross.";
diff --git a/npc/re/jobs/3-1/mechanic.txt b/npc/re/jobs/3-1/mechanic.txt
index 84fb0cd08..4f74cb051 100644
--- a/npc/re/jobs/3-1/mechanic.txt
+++ b/npc/re/jobs/3-1/mechanic.txt
@@ -96,10 +96,10 @@ yuno,129,156,3 script Chainheart 4_M_DOCTOR,{
job__mechanic = 12;
completequest 10101;
if (Sex)
- getitem 5749,1; //Driver_Band
+ getitem Driver_Band,1;
else
- getitem 5760,1; //Driver_Band_
- getitem 2795,1; //Green_Apple_Ring
+ getitem Driver_Band_,1;
+ getitem Green_Apple_Ring,1;
jobchange roclass(eaclass()|EAJL_THIRD);
mes "[Chainheart]";
mes "This is a gift that I give to you.";
@@ -316,7 +316,7 @@ yuno,129,156,3 script Chainheart 4_M_DOCTOR,{
}
jupe_cave,37,55,5 script Scholar#Mechanic 4_M_ALCHE_D,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 300) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 300) {
mes "- Your pack is too heavy. -";
mes "- Lighten your body first -";
mes "- and please try again. -";
diff --git a/npc/re/jobs/3-1/ranger.txt b/npc/re/jobs/3-1/ranger.txt
index c9943f541..35a2683ed 100644
--- a/npc/re/jobs/3-1/ranger.txt
+++ b/npc/re/jobs/3-1/ranger.txt
@@ -209,9 +209,9 @@ tur_dun01,156,36,5 script Survival Instructor#jr01 1_M_ORIENT01,{
mes "Do your best.";
job_ranger01 = 3;
changequest 8255,8256;
- getitem 1703,1; //Bow__
- getitem 12323,10; //N_Fly_Wing
- getitem 1750,500; //Arrow
+ getitem Bow__,1;
+ getitem N_Fly_Wing,10;
+ getitem Arrow,500;
close;
}
mes "I knew it.";
@@ -399,7 +399,7 @@ tur_dun01,91,169,3 script Test Instructor#jr02 4_M_JOB_HUNTER,{
close;
} else if (job_ranger01 == 4) {
if (questprogress(8257,HUNTING) == 2) {
- if (countitem(7064) > 0) {
+ if (countitem(Dragon_Fly_Wing) > 0) {
mes "Oh! Oh! Woooooow!";
mes "You've brought it! Let me see...";
next;
@@ -413,7 +413,7 @@ tur_dun01,91,169,3 script Test Instructor#jr02 4_M_JOB_HUNTER,{
mes "[Test Instructor, Teardrop]";
mes "Well, before I explain, could you please give me that Dragonfly wing?";
mes "You've heard the saying, 'in any situation, eating comes first'?";
- delitem 7064,1; //Dragon_Fly_Wing
+ delitem Dragon_Fly_Wing,1;
job_ranger01 = 5;
changequest 8257,8258;
close;
@@ -558,11 +558,11 @@ tur_dun01,91,169,3 script Test Instructor#jr02 4_M_JOB_HUNTER,{
mes "You don't have as many guts as I thought.";
nude;
next;
- if (countitem(1703) > 0) {
+ if (countitem(Bow__) > 0) {
mes "[Test Instructor, Teardrop]";
mes "Okay. I'll respect your opinion.";
mes "I'll cancel the job change request from "+strcharinfo(0)+".";
- delitem 1703,1; //Bow__
+ delitem Bow__,1;
job_ranger01 = 0;
for(.@i = 8254; .@i <= 8262; ++.@i)
if (questprogress(.@i))
@@ -625,28 +625,28 @@ L_Start:
close;
}
if (getarg(0) == 1) {
- if (countitem(12380)) {
+ if (countitem(Desert_Wolf_Babe_Scroll)) {
mes "[Test Instructor, Teardrop]";
mes "What, what is this?";
mes "You shouldn't keep this around!";
- delitem 12380,countitem(12380); //Desert_Wolf_Babe_Scroll
+ delitem Desert_Wolf_Babe_Scroll,countitem(Desert_Wolf_Babe_Scroll);
next;
}
- if (countitem(12258)) {
+ if (countitem(Bombring_Box)) {
mes "[Test Instructor, Teardrop]";
mes "What, what is this, a Bombring Capsule.";
mes "You shouldn't keep such a dangerous thing!";
- delitem 12258,countitem(12258); //Bombring_Box
+ delitem Bombring_Box,countitem(Bombring_Box);
next;
}
- if (countitem(6156)) {
+ if (countitem(Approval_Report)) {
mes "[Test Instructor, Teardrop]";
mes "What, what are all these Documents?";
mes "I think I know. You were going to send this to Caution, right?";
next;
mes "[Test Instructor, Teardrop]";
mes "If you hold such thing it would disturb your practical test so I'll take this.";
- delitem 6156,countitem(6156); //Approval_Report
+ delitem Approval_Report,countitem(Approval_Report);
next;
}
}
@@ -665,7 +665,7 @@ L_Start:
mes "[Test Instructor, Teardrop]";
mes "See, for the last time, I warn you that cheating is strictly banned.";
next;
- if (countitem(1750) < 100) {
+ if (countitem(Arrow) < 100) {
mes "[Test Instructor, Teardrop]";
mes "Okay, once again I'll provide you with arrows, then I'll let you in.";
.@arrow = 1;
@@ -681,7 +681,7 @@ L_Start:
erasequest 8260;
erasequest 8261;
}
- if (.@arrow) getitem 1750,100; //Arrow
+ if (.@arrow) getitem Arrow,100;
close2;
warp "job3_rang01",30,36;
end;
@@ -720,11 +720,11 @@ job3_rang01,30,44,3 script Test Waiting Room#jr_03 4_M_ORIENT01,{
mes "You don't have as many guts as I thought.";
nude;
next;
- if (countitem(1703) > 0) {
+ if (countitem(Bow__) > 0) {
mes "[Staff DTS]";
mes "Okay. I'll respect your opinion.";
mes "I'll cancel the job change request from "+strcharinfo(0)+".";
- delitem 1703,1; //Bow__
+ delitem Bow__,1;
job_ranger01 = 0;
for(.@i = 8254; .@i <= 8262; ++.@i)
if (questprogress(.@i))
@@ -1184,14 +1184,14 @@ OnTimer223000:
job3_rang02,111,56,3 script Staff Rust#jr_09 4_M_ORIENT02,{
if (job_ranger01 == 6) {
- if (countitem(12258) < 1) {
+ if (countitem(Bombring_Box) < 1) {
percentheal 100,0;
specialeffect2 EF_ABSORBSPIRITS;
mes "[Staff Rust]";
mes "I'll give you the 'Bombring Capsules.";
mes "The 'Bombring Capsules' can be given again only for the one who used it all, so please keep that in mind.";
- if (countitem(6156)) {
- getitem 12258,5; //Bombring_Box
+ if (countitem(Approval_Report)) {
+ getitem Bombring_Box,5;
close;
}
next;
@@ -1199,9 +1199,9 @@ job3_rang02,111,56,3 script Staff Rust#jr_09 4_M_ORIENT02,{
mes "[Staff Rust]";
mes "And the mission is.... to deliver these documents to the supervisor, Caution. He won't take what I give...";
setquest 8260;
- getitem 6156, (MaxWeight-Weight-2000)/10; //Approval_Report
- getitem 12258,10; //Bombring_Box
- getitem 569,100; //Novice_Potion
+ getitem Approval_Report, (MaxWeight-Weight-2000)/10;
+ getitem Bombring_Box,10;
+ getitem Novice_Potion,100;
close;
}
mes "[Staff Rust]";
@@ -1292,7 +1292,7 @@ OnDisable:
end;
OnTouch:
if (job_ranger01 == 6) {
- if (countitem(12258)) {
+ if (countitem(Bombring_Box)) {
mes "[Test Supervisor, Caution]";
mes "No, no!";
mes "You need to use all the 'Bombring Capsules'?!";
@@ -1302,7 +1302,7 @@ OnTouch:
mes "Time is ticking so you'd better hurry.";
close;
}
- if (countitem(6156) > 0) {
+ if (countitem(Approval_Report) > 0) {
mes "[Test Supervisor, Caution]";
mes "You've arrived safely!!!";
donpcevent "Second Test Timer#jr_08::OnDisable";
@@ -1318,7 +1318,7 @@ OnTouch:
mes "[Test Supervisor, Caution]";
mes "Haaaaaaaah!!";
mes "I've been avoiding him so much!!";
- delitem 6156,countitem(6156); //Approval_Report
+ delitem Approval_Report,countitem(Approval_Report);
erasequest 8260;
next;
mes "[Test Supervisor, Caution]";
@@ -1487,7 +1487,7 @@ job3_rang02,251,49,3 script Test Supervisor#jr_13 4_M_JOB_HUNTER,{
next;
mes "[Test Supervisor, Freeze]";
mes "Well, then first get this Wolf' flutes and after summoning the wolf, talk to me!";
- getitem 12380,1; //Desert_Wolf_Babe_Scroll
+ getitem Desert_Wolf_Babe_Scroll,1;
setquest 8261;
close;
}
@@ -1506,7 +1506,7 @@ job3_rang02,251,49,3 script Test Supervisor#jr_13 4_M_JOB_HUNTER,{
donpcevent "Third Test Timer#jr_12::OnEnable";
end;
}
- if (countitem(12380) < 1) {
+ if (countitem(Desert_Wolf_Babe_Scroll) < 1) {
mes "Huh?! There's no wolf, no Test Flute, where did you get rid of them?!";
next;
mes "[Test Supervisor, Freeze]";
@@ -1514,7 +1514,7 @@ job3_rang02,251,49,3 script Test Supervisor#jr_13 4_M_JOB_HUNTER,{
next;
mes "[Test Supervisor, Freeze]";
mes "Summon the wolf quickly, and talk to me again!";
- getitem 12380,1; //Desert_Wolf_Babe_Scroll
+ getitem Desert_Wolf_Babe_Scroll,1;
close;
}
mes "Ha? What are you doing?";
@@ -1732,7 +1732,7 @@ job3_rang01,90,43,3 script Ranger Master#jr_29 4_M_REIDIN_KURS,{
mes "Your firm answer seems very trustworthy!";
next;
nude;
- if (countitem(1703) < 1) {
+ if (countitem(Bow__) < 1) {
mes "[Ranger Master, Neveragain]";
mes "Umm?";
mes "You need to return the borrowed stuff.";
@@ -1742,13 +1742,13 @@ job3_rang01,90,43,3 script Ranger Master#jr_29 4_M_REIDIN_KURS,{
mes "[Ranger Master, Neveragain]";
mes "From now on be active as a splendid Ranger!";
mes "I wish you luck in your future!";
- delitem 1703,1; //Bow__
+ delitem Bow__,1;
job_ranger01 = 8;
completequest 8262;
jobchange roclass(eaclass()|EAJL_THIRD);
- getitem 5748,1; //Sniper_Goggle
- getitem 2795,1; //Green_Apple_Ring
- getitem 6124,1; //Wolf's_Flute
+ getitem Sniper_Goggle,1;
+ getitem Green_Apple_Ring,1;
+ getitem Wolf's_Flute,1;
close;
}
mes "Hey, you look great.";
diff --git a/npc/re/jobs/3-1/rune_knight.txt b/npc/re/jobs/3-1/rune_knight.txt
index d88519385..288f5f340 100644
--- a/npc/re/jobs/3-1/rune_knight.txt
+++ b/npc/re/jobs/3-1/rune_knight.txt
@@ -315,7 +315,7 @@ gl_knt02,150,55,3 script Rune Knight Staff 4_M_01,2,2,{
}
job3_rune01,80,60,3 script Rune Knight Captain 4_M_KNIGHT_SILVER,2,2,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "You've got too many things. You cannot proceed anymore. Please try again after losing some weight.";
close;
}
@@ -547,8 +547,8 @@ job3_rune01,80,60,3 script Rune Knight Captain 4_M_KNIGHT_SILVER,2,2,{
mes "[Captain Tigris]";
mes "This Knight is going to walk the way of the Rune Knights with us, so please give your blessing.";
next;
- getitem 5746,1; //Rune_Circlet
- getitem 2795,1; //Green_Apple_Ring
+ getitem Rune_Circlet,1;
+ getitem Green_Apple_Ring,1;
job_rune_edq = 23;
completequest 3219;
jobchange roclass(eaclass()|EAJL_THIRD);
@@ -1487,7 +1487,7 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
changequest 3216,3217;
close;
} else if (job_rune_edq > 17 && job_rune_edq < 21) {
- if (countitem(12388)+countitem(12389)+countitem(12390) == 0) {
+ if (countitem(Runstone_Crush)+countitem(Runstone_Storm)+countitem(Runstone_Millennium) == 0) {
mes "[Rune Knight Velpino]";
mes "If all of your preparations are done, I'll send you to the final test field.";
job_rune_edq = 18;
@@ -1511,8 +1511,8 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
if (Weight < 4001) {
$@job_rune_test1 = 1;
sc_start SC_INCINT,300000,40;
- getitem 12389,30; //Runstone_Storm
- getitem 12390,30; //Runstone_Millennium
+ getitem Runstone_Storm,30;
+ getitem Runstone_Millennium,30;
if (questprogress(3220)) erasequest 3220;
setquest 3220;
warp "job3_rune02",38,40;
@@ -1535,9 +1535,9 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
}
mes "[Rune Knight Velpino]";
mes "Wait, I'll collect all the rune stones provided before. There's a certain limit on using the rune stones that's made for the test.";
- if (countitem(12388)) delitem 12388,countitem(12388); //Runstone_Crush
- if (countitem(12389)) delitem 12389,countitem(12389); //Runstone_Storm
- if (countitem(12390)) delitem 12390,countitem(12390); //Runstone_Millennium
+ if (countitem(Runstone_Crush)) delitem Runstone_Crush,countitem(Runstone_Crush);
+ if (countitem(Runstone_Storm)) delitem Runstone_Storm,countitem(Runstone_Storm);
+ if (countitem(Runstone_Millennium)) delitem Runstone_Millennium,countitem(Runstone_Millennium);
next;
mes "[Rune Knight Velpino]";
mes "I'll get new rune stones so if your preparation is all done, please talk to me again.";
@@ -1546,7 +1546,7 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
mes "[Rune Knight Velpino]";
mes "You've been very successful up to the last test.";
next;
- if (countitem(12388)+countitem(12389)+countitem(12390) == 0) {
+ if (countitem(Runstone_Crush)+countitem(Runstone_Storm)+countitem(Runstone_Millennium) == 0) {
mes "[Rune Knight Velpino]";
mes "Now all the tests you need to take are over. Go back to Captain Tigris and inform him of this test result, and then feel the deep emotion of being born again as a Rune Knight.";
next;
@@ -1559,9 +1559,9 @@ job3_rune01,114,50,3 script Rune Knight Velpino 4_M_KNIGHT_BLACK,{
}
mes "[Rune Knight Velpino]";
mes "Wait, I'll collect all the rune stones provided before. There's a certain limit on using the rune stones that's made for the test.";
- if (countitem(12388)) delitem 12388,countitem(12388); //Runstone_Crush
- if (countitem(12389)) delitem 12389,countitem(12389); //Runstone_Storm
- if (countitem(12390)) delitem 12390,countitem(12390); //Runstone_Millennium
+ if (countitem(Runstone_Crush)) delitem Runstone_Crush,countitem(Runstone_Crush);
+ if (countitem(Runstone_Storm)) delitem Runstone_Storm,countitem(Runstone_Storm);
+ if (countitem(Runstone_Millennium)) delitem Runstone_Millennium,countitem(Runstone_Millennium);
next;
mes "[Rune Knight Velpino]";
mes "I'll need to re-use these unused rune stones. Talk to me again once I have taken all the test rune stones.";
diff --git a/npc/re/jobs/3-1/warlock.txt b/npc/re/jobs/3-1/warlock.txt
index 5abb39f0d..981503f84 100644
--- a/npc/re/jobs/3-1/warlock.txt
+++ b/npc/re/jobs/3-1/warlock.txt
@@ -42,7 +42,7 @@ OnTouch:
mes " - There is a strange distortion here - ";
if (strnpcinfo(0) == "#distorted_space_1" && (Class == Job_Warlock || Class == Job_Warlock_T || Class == Job_Baby_Warlock)) {
close2;
- if (countitem(6153) > 0)
+ if (countitem(Special_Exchange_Coupon) > 0)
warp "spl_in02",79,102;
end;
}
@@ -282,7 +282,7 @@ spl_in02,77,107,5 script Assistant#Warlock1 4_M_FAIRYKID5,{
callsub L_Quest,1;
close;
} else if (job_wl == 4) {
- if (countitem(6152) == 0 || countitem(6151) == 0)
+ if (countitem(Glittering_Crystal) == 0 || countitem(Peice_Of_Great_Bradium) == 0)
callsub L_Quest,0;
else {
mes "[Yoop]";
@@ -320,8 +320,8 @@ L_Quest:
mes "[Yoop]";
mes "Show us how strong you are. And don't forget to wear this.";
job_wl = 4;
- getitem 2796,1; //Magical_Stone
- getitem 2797,1; //Magical_Stone_
+ getitem Magical_Stone,1;
+ getitem Magical_Stone_,1;
changequest 11106,11107;
next;
}
@@ -349,7 +349,7 @@ spl_in02,60,231,5 script Yoop#Warlock 4_M_FAIRYKID5,{
switch(select("I brought the materials.:I've lost the Magical Stones.:Nothing.")) {
case 1:
mes "[Yoop]";
- if (countitem(6152) == 0 || countitem(6151) == 0) {
+ if (countitem(Glittering_Crystal) == 0 || countitem(Peice_Of_Great_Bradium) == 0) {
mes "......";
mes "......Where?";
mes "Don't bother me!";
@@ -369,12 +369,12 @@ spl_in02,60,231,5 script Yoop#Warlock 4_M_FAIRYKID5,{
mes "Bring these stones with you or else you won't be able to return!";
mes "Be careful!";
close;
- } else if (countitem(6152) && countitem(6151)) {
+ } else if (countitem(Glittering_Crystal) && countitem(Peice_Of_Great_Bradium)) {
if (isequipped(2796) || isequipped(2797)) {
mes "Bring me back the magical stones.";
close;
}
- if (countitem(2796) == 0 || countitem(2797) == 0) {
+ if (countitem(Magical_Stone) == 0 || countitem(Magical_Stone_) == 0) {
mes "It seems that you don't have it?";
mes "You lost it?";
next;
@@ -385,10 +385,10 @@ spl_in02,60,231,5 script Yoop#Warlock 4_M_FAIRYKID5,{
mes "Alright! All the materials are ready!";
mes "While I am concentrating on working on this stone. Can you go back to my master?";
mes "I will follow up once it's done.";
- delitem 2796,countitem(2796); //Magical_Stone
- delitem 2797,countitem(2797); //Magical_Stone_
- delitem 6152,countitem(6152); //Glittering_Crystal
- delitem 6151,countitem(6151); //Peice_Of_Great_Bradium
+ delitem Magical_Stone,countitem(Magical_Stone);
+ delitem Magical_Stone_,countitem(Magical_Stone_);
+ delitem Glittering_Crystal,countitem(Glittering_Crystal);
+ delitem Peice_Of_Great_Bradium,countitem(Peice_Of_Great_Bradium);
job_wl = 5;
changequest 11107,11108;
close;
@@ -408,18 +408,18 @@ spl_in02,60,231,5 script Yoop#Warlock 4_M_FAIRYKID5,{
mes "It's not hard to tell if you have it or not!";
close;
case 2:
- if ((isequipped(2796) == 0 && countitem(2796) == 0) || (isequipped(2797) == 0 && countitem(2797) == 0)) {
- if (countitem(732) > 0) {
+ if ((isequipped(2796) == 0 && countitem(Magical_Stone) == 0) || (isequipped(2797) == 0 && countitem(Magical_Stone_) == 0)) {
+ if (countitem(Crystal_Jewel__) > 0) {
switch(select("Give 3 carat diamond.:Just quit it.")) {
case 1:
mes "[Yoop]";
mes "I will overlook your fault.";
mes "Please be careful with it.";
- delitem 732,1; //Crystal_Jewel__
- if (isequipped(2796) == 0 && countitem(2796) == 0)
- getitem 2796,1; //Magical_Stone
- if (isequipped(2797) == 0 && countitem(2797) == 0)
- getitem 2797,1; //Magical_Stone_
+ delitem Crystal_Jewel__,1;
+ if (isequipped(2796) == 0 && countitem(Magical_Stone) == 0)
+ getitem Magical_Stone,1;
+ if (isequipped(2797) == 0 && countitem(Magical_Stone_) == 0)
+ getitem Magical_Stone_,1;
close;
case 2:
mes "[Yoop]";
@@ -479,7 +479,7 @@ spl_in02,84,103,3 script Assistant#Warlock2 4_F_FAIRYKID4,{
mes "It's not me you are looking for currently.";
close;
} else if (job_wl == 6) {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "You're carring out too many items.";
mes "You'd better minimize your weight.";
close;
@@ -497,15 +497,15 @@ spl_in02,84,103,3 script Assistant#Warlock2 4_F_FAIRYKID4,{
mes "I will guide you into the magic room.";
job_wl = 7;
changequest 11109,11110;
- getitem 12384,5; //Rainbow_Ruby_Water
- getitem 12386,5; //Rainbow_Ruby_Wind
- getitem 12387,5; //Rainbow_Ruby_Earth
- getitem 12385,5; //Rainbow_Ruby_Fire
+ getitem Rainbow_Ruby_Water,5;
+ getitem Rainbow_Ruby_Wind,5;
+ getitem Rainbow_Ruby_Earth,5;
+ getitem Rainbow_Ruby_Fire,5;
close2;
warp "job3_war01",23,20;
end;
} else if (job_wl == 7) {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "You're carring out too many items.";
mes "You'd better minimize your weight.";
close;
@@ -514,14 +514,14 @@ spl_in02,84,103,3 script Assistant#Warlock2 4_F_FAIRYKID4,{
mes "Would you like to try it again?";
mes "Let me give you more rubies.";
next;
- if (countitem(12384)) delitem 12384,countitem(12384); //Rainbow_Ruby_Water
- if (countitem(12386)) delitem 12386,countitem(12386); //Rainbow_Ruby_Wind
- if (countitem(12387)) delitem 12387,countitem(12387); //Rainbow_Ruby_Earth
- if (countitem(12385)) delitem 12385,countitem(12385); //Rainbow_Ruby_Fire
- getitem 12384,5; //Rainbow_Ruby_Water
- getitem 12386,5; //Rainbow_Ruby_Wind
- getitem 12387,5; //Rainbow_Ruby_Earth
- getitem 12385,5; //Rainbow_Ruby_Fire
+ if (countitem(Rainbow_Ruby_Water)) delitem Rainbow_Ruby_Water,countitem(Rainbow_Ruby_Water);
+ if (countitem(Rainbow_Ruby_Wind)) delitem Rainbow_Ruby_Wind,countitem(Rainbow_Ruby_Wind);
+ if (countitem(Rainbow_Ruby_Earth)) delitem Rainbow_Ruby_Earth,countitem(Rainbow_Ruby_Earth);
+ if (countitem(Rainbow_Ruby_Fire)) delitem Rainbow_Ruby_Fire,countitem(Rainbow_Ruby_Fire);
+ getitem Rainbow_Ruby_Water,5;
+ getitem Rainbow_Ruby_Wind,5;
+ getitem Rainbow_Ruby_Earth,5;
+ getitem Rainbow_Ruby_Fire,5;
close2;
warp "job3_war01",23,20;
end;
@@ -529,10 +529,10 @@ spl_in02,84,103,3 script Assistant#Warlock2 4_F_FAIRYKID4,{
mes "[Yoop]";
mes "You have successfully crystallized the Hollow Stone.";
mes "I'm sorry that I've doubted you.";
- if (countitem(12384)) delitem 12384,countitem(12384); //Rainbow_Ruby_Water
- if (countitem(12386)) delitem 12386,countitem(12386); //Rainbow_Ruby_Wind
- if (countitem(12387)) delitem 12387,countitem(12387); //Rainbow_Ruby_Earth
- if (countitem(12385)) delitem 12385,countitem(12385); //Rainbow_Ruby_Fire
+ if (countitem(Rainbow_Ruby_Water)) delitem Rainbow_Ruby_Water,countitem(Rainbow_Ruby_Water);
+ if (countitem(Rainbow_Ruby_Wind)) delitem Rainbow_Ruby_Wind,countitem(Rainbow_Ruby_Wind);
+ if (countitem(Rainbow_Ruby_Earth)) delitem Rainbow_Ruby_Earth,countitem(Rainbow_Ruby_Earth);
+ if (countitem(Rainbow_Ruby_Fire)) delitem Rainbow_Ruby_Fire,countitem(Rainbow_Ruby_Fire);
next;
mes "[Yoop]";
mes "All of the tests are done. Now talk to Master Engoloria.";
@@ -678,7 +678,7 @@ spl_in02,80,108,5 script Guild Master#Warlock 4_F_FAIRY1,{
mes "How did you come this far...";
close;
}
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "You've got too many items.";
mes "Please come back after reducing the number of items you have.";
close;
@@ -715,8 +715,8 @@ spl_in02,80,108,5 script Guild Master#Warlock 4_F_FAIRY1,{
else job_wl = 10;
jobchange roclass(eaclass()|EAJL_THIRD);
completequest 11112;
- getitem 5753,1; //Magic_Stone_Hat
- getitem 2795,1; //Green_Apple_Ring
+ getitem Magic_Stone_Hat,1;
+ getitem Green_Apple_Ring,1;
close;
} else if (job_wl > 9) {
mes "[Master Egnoloria]";
diff --git a/npc/re/jobs/3-2/genetic.txt b/npc/re/jobs/3-2/genetic.txt
index a5fb81479..f74bcd31a 100644
--- a/npc/re/jobs/3-2/genetic.txt
+++ b/npc/re/jobs/3-2/genetic.txt
@@ -433,7 +433,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "Your study is done, Popo?";
mes "Give me those seeds.";
next;
- if (countitem(6273) == 0 && countitem(6272) == 0) {
+ if (countitem(Altered_Seed) == 0 && countitem(Experiment_Seed) == 0) {
mes "[Devries]";
mes "What happened?";
mes "How could you say the study is completed without any result?";
@@ -481,7 +481,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "She is a fellow Geneticist, specializing in mini cannons.";
mes "Go take a look at her experiment results.";
mes "Could you give this message to her? Tell her to conduct her experiments quietly.";
- delitem 6273,1; //Altered_Seed
+ delitem Altered_Seed,1;
job_gen = 62;
changequest 2215,2216;
} else {
@@ -491,7 +491,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "Uh oh! You failed, Popo.";
mes "It didn't grow at all, it's withered already.";
mes "Go and start over!";
- delitem 6272,1; //Experiment_Seed
+ delitem Experiment_Seed,1;
job_gen = 7;
}
}
@@ -519,7 +519,7 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "Popo!";
mes "I've got good news for you!";
next;
- if (checkweight(1201,2) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,2) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -578,8 +578,8 @@ job3_gen01,25,58,3 script Devries#gen 4_LGTSCIENCE,{
mes "You are a Geneticist from now on!!";
jobchange roclass(eaclass()|EAJL_THIRD);
job_gen = 77;
- getitem 5752,1; //Midas_Whisper
- getitem 2795,1; //Green_Apple_Ring
+ getitem Midas_Whisper,1;
+ getitem Green_Apple_Ring,1;
next;
mes "[Devries]";
mes "Just like the word from the Union, I'm also looking forward to your awesome activities.";
@@ -751,7 +751,7 @@ job3_gen01,7,50,3 script Testing Table#gen CLEAR_NPC,{
mes "Good. Now I can let Miss Devries take a look at this seed!";
if (!questprogress(2209) && !questprogress(2210) && !questprogress(2211)) {
job_gen = 61;
- getitem 6272,1; //Experiment_Seed
+ getitem Experiment_Seed,1;
close;
}
if (questprogress(2209) == 1) job_gen += 10;
@@ -760,18 +760,18 @@ job3_gen01,7,50,3 script Testing Table#gen CLEAR_NPC,{
.@score = job_gen + JobLevel - 20;
if (rand(1,100) < .@score) {
job_gen = 60;
- getitem 6273,1; //Altered_Seed
+ getitem Altered_Seed,1;
close;
} else {
job_gen = 61;
- getitem 6272,1; //Experiment_Seed
+ getitem Experiment_Seed,1;
close;
}
} else if (job_gen > 7 && job_gen < 60) {
mes "- It looks like the experiment has failed. I better start over. -";
job_gen = 7;
- if (countitem(6273)) delitem 6273,1; //Altered_Seed
- if (countitem(6272)) delitem 6272,1; //Experiment_Seed
+ if (countitem(Altered_Seed)) delitem Altered_Seed,1;
+ if (countitem(Experiment_Seed)) delitem Experiment_Seed,1;
if (questprogress(2209) == 1) erasequest 2209;
if (questprogress(2210) == 1) erasequest 2210;
if (questprogress(2211) == 1) erasequest 2211;
diff --git a/npc/re/jobs/3-2/minstrel.txt b/npc/re/jobs/3-2/minstrel.txt
index d0eafcec5..eb39e4d68 100644
--- a/npc/re/jobs/3-2/minstrel.txt
+++ b/npc/re/jobs/3-2/minstrel.txt
@@ -728,7 +728,7 @@ hu_in01,361,103,3 script Tone-deaf person 4_M_CASMAN1,{
tha_scene01,140,200,0 script #min_receipt HIDDEN_WARP_NPC,3,3,{
OnTouch:
- if (job_min == 10 || (job_min == 11 && countitem(6271) == 0)) {
+ if (job_min == 10 || (job_min == 11 && countitem(Mins_Receipt) == 0)) {
mes "-There is a piece of paper on the ground.-";
next;
mes "["+strcharinfo(0)+"]";
@@ -749,7 +749,7 @@ OnTouch:
mes "- Juno's store manager : Mr. Click.";
next;
mes "- Directions : Around Juno's plaza.";
- getitem 6271,1; //Mins_Receipt
+ getitem Mins_Receipt,1;
next;
mes "["+strcharinfo(0)+"]";
mes "Photo exchange receipt?";
@@ -948,7 +948,7 @@ yuno,143,170,6 script Mr. Click#job_min 4_M_ALCHE_A,{
mes "I'll get the 33 Teddy Bears.";
donpcevent "Karian#cmd2::OnDisable";
job_min = 12;
- getitem 6270,1; //Mins_Picture
+ getitem Mins_Picture,1;
changequest 11144,11145;
close;
} else if (job_min == 12) {
@@ -1804,7 +1804,7 @@ OnTouch:
mes "You should use them.";
close;
}
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
mes "right now, store some of";
@@ -1845,7 +1845,7 @@ OnTouch:
prt_in,94,172,4 script Karian#job_min3 4_M_MINSTREL1,{
if (job_min == 27) {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "While you are on a trip, you gain lots of stuff. Make yourself lighter.";
close;
}
@@ -1898,8 +1898,8 @@ prt_in,94,172,4 script Karian#job_min3 4_M_MINSTREL1,{
job_min = 100;
jobchange roclass(eaclass()|EAJL_THIRD);
completequest 11154;
- getitem 5751,1; //Minstrel_Song_Hat
- getitem 2795,1; //Green_Apple_Ring
+ getitem Minstrel_Song_Hat,1;
+ getitem Green_Apple_Ring,1;
close;
} else if (job_min > 99) {
switch(select("Talk.:Leave.")) {
diff --git a/npc/re/jobs/3-2/royal_guard.txt b/npc/re/jobs/3-2/royal_guard.txt
index c9cc13471..09618e2bb 100644
--- a/npc/re/jobs/3-2/royal_guard.txt
+++ b/npc/re/jobs/3-2/royal_guard.txt
@@ -35,7 +35,7 @@
//=========================================================================
prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- Your pack is too heavy. -";
mes "- Lighten your body first -";
mes "- and please try again. -";
@@ -212,7 +212,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
changequest 12090,12091;
close;
} else if (job_royal == 2) {
- if (countitem(7097) < 100) {
+ if (countitem(Burning_Heart) < 100) {
mes "Don't forget to bring 100 Burning Heart.";
close;
}
@@ -221,7 +221,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
next;
mes "[Heinrich]";
mes "Wait while I arrange the stuff that you brought.";
- delitem 7097,100; //Burning_Heart
+ delitem Burning_Heart,100;
job_royal = 3;
changequest 12091,12092;
close;
@@ -300,7 +300,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
changequest 12092,12093;
close;
} else if (job_royal == 4) {
- if (countitem(6274) == 0) {
+ if (countitem(Saint_Cloth_Piece) == 0) {
mes "Our staff has already left to find the last trace, so don't work too hard.";
close;
}
@@ -338,15 +338,15 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
mes "[Heinrich]";
mes "Ok~~ now.";
mes "I'll be deciphering the cloth for now so I will be very busy!";
- delitem 6274,1; //Saint_Cloth_Piece
- getitem 6275,1; //King_Shield
+ delitem Saint_Cloth_Piece,1;
+ getitem King_Shield,1;
job_royal = 5;
changequest 12093,12094;
close;
} else if (job_royal == 5) {
- if (countitem(6275) == 0) {
+ if (countitem(King_Shield) == 0) {
mes "What? Did you lose the shield? What is the one on your back?";
- getitem 6275,1; //King_Shield
+ getitem King_Shield,1;
close;
}
mes "Thanks to your help I can finish the excavation work. Thanks a lot.";
@@ -355,7 +355,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{
}
glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- Your pack is too heavy. -";
mes "- Lighten your body first -";
mes "- and please try again. -";
@@ -366,7 +366,7 @@ glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{
close;
}
if (BaseJob == Job_Crusader && job_royal == 5) {
- if (countitem(6275) == 0) {
+ if (countitem(King_Shield) == 0) {
mes "^000099You seem to have lost the shield. Go back to Heinrich and ask for help^000000.";
close;
}
@@ -445,24 +445,24 @@ glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{
specialeffect2 EF_MAPPILLAR;
progressbar "FFFF00",7;
specialeffect2 EF_LORD;
- delitem 6275,1; //King_Shield
+ delitem King_Shield,1;
erasequest 12094;
jobchange roclass(eaclass()|EAJL_THIRD);
- getitem 5757,1; //Schmidt_Helm
- getitem 2795,1; //Green_Apple_Ring
+ getitem Schmidt_Helm,1;
+ getitem Green_Apple_Ring,1;
end;
}
end;
}
gl_church,173,88,0 script Delicate trace#01 CLEAR_NPC,{
- if (job_royal == 4 && countitem(6274) == 0) {
+ if (job_royal == 4 && countitem(Saint_Cloth_Piece) == 0) {
progressbar "ffff00",5;
.@roy_ran = rand(1,70);
if (.@roy_ran < 6)
- getitem 6274,1; //Saint_Cloth_Piece
+ getitem Saint_Cloth_Piece,1;
else if (.@roy_ran > 5 && .@roy_ran < 66)
- getitem 7049,1; //Stone
+ getitem Stone,1;
else {
mes "While investigating, the topography breaks. It would be better to dig other places for a while.";
disablenpc strnpcinfo(0);
@@ -499,7 +499,7 @@ gl_church,105,115,0 duplicate(Delicate trace#01) Delicate trace#11 CLEAR_NPC
gl_church,158,100,0 script #Clue of traces HIDDEN_NPC,4,4,{
end;
OnTouch:
- if (job_royal == 4 && countitem(6274) == 0) {
+ if (job_royal == 4 && countitem(Saint_Cloth_Piece) == 0) {
specialeffect2 EF_FREEZE;
mes "I can feel strong power around here. It would be better to explore around here.";
viewpoint 1,173,88 ,1, 0xFFFF00;
diff --git a/npc/re/jobs/3-2/shadow_chaser.txt b/npc/re/jobs/3-2/shadow_chaser.txt
index 2466147f5..f9c856ddc 100644
--- a/npc/re/jobs/3-2/shadow_chaser.txt
+++ b/npc/re/jobs/3-2/shadow_chaser.txt
@@ -665,7 +665,7 @@ s_atelier,168,65,5 script Manager#sc08_ra 4_M_DOCTOR,{
mes "Graham?";
mes "Why?";
next;
- if (countitem(6266) == 0) {
+ if (countitem(Cheat_Key) == 0) {
mes "You don't seem to have brought it here.";
next;
mes "[Manager]";
@@ -1026,7 +1026,7 @@ s_atelier,167,129,3 script Manager#sc06_yuno 1_M_SIGNART,{
mes "Did you find something?";
next;
select("Show the key of pleasure.");
- if (countitem(6268)) {
+ if (countitem(Mirth_Key)) {
mes "[Haled]";
mes "Ha..........akkk.";
mes "Another key?";
@@ -1376,7 +1376,7 @@ s_atelier,70,66,4 script Dumk#sc13_lgh 4_M_SHADOWCHASER,{
mes "HuhuHuhu...";
close;
}
- if (checkweight(1201,4) == 0) {
+ if (checkweight(Knife,4) == 0) {
mes "- You can't continue on in this quest because you are overweight. -";
close;
}
@@ -1430,7 +1430,7 @@ s_atelier,70,66,4 script Dumk#sc13_lgh 4_M_SHADOWCHASER,{
mes "It's you? You are the one who found the brush?";
next;
select("Show the brush to him.");
- if (countitem(6269)) {
+ if (countitem(Master_Brush)) {
mes "[Dumk]";
mes "That's it.";
mes "Did you find it by yourself?";
@@ -1518,7 +1518,7 @@ s_atelier,70,66,4 script Dumk#sc13_lgh 4_M_SHADOWCHASER,{
mes "I need it again.";
mes "I'm so thirsty.";
mes "Wait a minute.";
- delitem 6269,1; //Master_Brush
+ delitem Master_Brush,1;
job_sha = 30;
close;
}
@@ -1614,11 +1614,11 @@ s_atelier,70,66,4 script Dumk#sc13_lgh 4_M_SHADOWCHASER,{
mes "Congratulations.";
mes "Welcome to your new life.";
jobchange roclass(eaclass()|EAJL_THIRD);
- getitem 6121,1; //Makeover_Brush
- getitem 6122,1; //Paint_Brush
+ getitem Makeover_Brush,1;
+ getitem Paint_Brush,1;
job_sha = 32;
- getitem 2795,1; //Green_Apple_Ring
- getitem 5750,1; //Shadow_Handicraft
+ getitem Green_Apple_Ring,1;
+ getitem Shadow_Handicraft,1;
next;
mes "[Dumk]";
mes "It's a fashionable uniform.";
@@ -1941,7 +1941,7 @@ niflheim,230,276,1 script Red Flame#sc_f03 4_NFWISP,{
//== Boxes =================================================
job3_sha01,22,78,0 script ????#keybox01 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You can't continue on in this quest because you are overweight. -";
close;
}
@@ -1994,7 +1994,7 @@ job3_sha01,22,78,0 script ????#keybox01 CLEAR_NPC,{
next;
mes "- You get the Key of Deception. -";
job_sha = 8;
- getitem 6266,1; //Cheat_Key
+ getitem Cheat_Key,1;
setquest 7165;
close;
}
@@ -2011,7 +2011,7 @@ job3_sha01,22,78,0 script ????#keybox01 CLEAR_NPC,{
}
job3_sha01,25,28,0 script ????#keybox02 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You can't continue on in this quest because you are overweight. -";
close;
}
@@ -2059,7 +2059,7 @@ job3_sha01,25,28,0 script ????#keybox02 CLEAR_NPC,{
mes "Key again...";
mes "How can I escape from here...?";
job_sha = 17;
- getitem 6267,1; //Virtual_Key
+ getitem Virtual_Key,1;
erasequest 7171;
changequest 7168+.@i,7172;
next;
@@ -2090,7 +2090,7 @@ job3_sha01,25,28,0 script ????#keybox02 CLEAR_NPC,{
}
job3_sha01,73,80,0 script ????#keybox03 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You can't continue on in this quest because you are overweight. -";
close;
}
@@ -2195,7 +2195,7 @@ job3_sha01,73,80,0 script ????#keybox03 CLEAR_NPC,{
mes "I better go back.";
job_sha = 25;
setquest 7176;
- getitem 6268,1; //Mirth_Key
+ getitem Mirth_Key,1;
close;
}
break;
@@ -2227,7 +2227,7 @@ job3_sha01,73,80,0 script ????#keybox03 CLEAR_NPC,{
}
job3_sha01,71,27,0 script ????#keybox04 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You can't continue on in this quest because you are overweight. -";
close;
}
@@ -2242,7 +2242,7 @@ job3_sha01,71,27,0 script ????#keybox04 CLEAR_NPC,{
mes "deception, illusion and pleasure.";
next;
select("Place the key in the holes.");
- if (countitem(6266) && countitem(6267) && countitem(6268)) {
+ if (countitem(Cheat_Key) && countitem(Virtual_Key) && countitem(Mirth_Key)) {
mes "["+strcharinfo(0)+"]";
mes "At first, Deception...";
mes "then Illusion...";
@@ -2253,11 +2253,11 @@ job3_sha01,71,27,0 script ????#keybox04 CLEAR_NPC,{
mes "something comes out.";
next;
mes "- You got a brush with a fabulous pattern on it. -";
- delitem 6266,1; //Cheat_Key
- delitem 6267,1; //Virtual_Key
- delitem 6268,1; //Mirth_Key
+ delitem Cheat_Key,1;
+ delitem Virtual_Key,1;
+ delitem Mirth_Key,1;
job_sha = 28;
- getitem 6269,1; //Master_Brush
+ getitem Master_Brush,1;
changequest 7178,7179;
next;
mes "["+strcharinfo(0)+"]";
@@ -2311,7 +2311,7 @@ s_atelier,29,119,3 script Max#sc05_prt 4W_M_01,{
mes "Visit later and use what you have!";
close;
}
- if (countitem(7150) >= .@i[2] && countitem(949) >= .@i[3] && Zeny >= .@i[4]) {
+ if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
mes "Oh you brought all the things required.";
mes "Hold on a bit.";
next;
@@ -2321,8 +2321,8 @@ s_atelier,29,119,3 script Max#sc05_prt 4W_M_01,{
mes "[Max]";
mes "Take it.";
mes "Good luck!";
- delitem 7150,.@i[2]; //Bamboo_Cut
- delitem 949,.@i[3]; //Feather
+ delitem Bamboo_Cut,.@i[2];
+ delitem Feather,.@i[3];
Zeny -= .@i[4];
getitem .@i[1],1; //Makeover_Brush,Paint_Brush
close;
@@ -2371,11 +2371,11 @@ s_atelier,136,70,3 script Titika#sc09_ra 4_F_CHILD,{
mes "I think it's enough...";
close;
}
- if (countitem(7150) >= .@i[2] && countitem(949) >= .@i[3] && Zeny >= .@i[4]) {
+ if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
mes "You brought all the materials.";
mes "I'll exchange it with the goods that I made.";
- delitem 7150,.@i[2]; //Bamboo_Cut
- delitem 949,.@i[3]; //Feather
+ delitem Bamboo_Cut,.@i[2];
+ delitem Feather,.@i[3];
Zeny -= .@i[4];
getitem .@i[1],1; //Makeover_Brush,Paint_Brush
close;
@@ -2421,11 +2421,11 @@ s_atelier,124,128,3 script RimiGX#sc07_yuno 4_F_LGTGIRL,{
mes "Visit here when you lost stuff.";
close;
}
- if (countitem(7150) >= .@i[2] && countitem(949) >= .@i[3] && Zeny >= .@i[4]) {
+ if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
mes "You brought stuff you need.";
mes "It will be fast when I exchange the stuff made?";
- delitem 7150,.@i[2]; //Bamboo_Cut
- delitem 949,.@i[3]; //Feather
+ delitem Bamboo_Cut,.@i[2];
+ delitem Feather,.@i[3];
Zeny -= .@i[4];
getitem .@i[1],1; //Makeover_Brush,Paint_Brush
close;
@@ -2471,11 +2471,11 @@ s_atelier,26,68,3 script Vito#sc11_lgt 4_M_KHMAN,{
mes "We can't offer extra blushes.";
close;
}
- if (countitem(7150) >= .@i[2] && countitem(949) >= .@i[3] && Zeny >= .@i[4]) {
+ if (countitem(Bamboo_Cut) >= .@i[2] && countitem(Feather) >= .@i[3] && Zeny >= .@i[4]) {
mes "You brought all what you need.";
mes "I'm going to exchange the blush I made before.";
- delitem 7150,.@i[2]; //Bamboo_Cut
- delitem 949,.@i[3]; //Feather
+ delitem Bamboo_Cut,.@i[2];
+ delitem Feather,.@i[3];
Zeny -= .@i[4];
getitem .@i[1],1; //Makeover_Brush,Paint_Brush
close;
diff --git a/npc/re/jobs/3-2/sorcerer.txt b/npc/re/jobs/3-2/sorcerer.txt
index e5bef2534..ba278fbd7 100644
--- a/npc/re/jobs/3-2/sorcerer.txt
+++ b/npc/re/jobs/3-2/sorcerer.txt
@@ -36,7 +36,7 @@
gef_tower,102,34,5 script Merito 2_M_SAGE_B,{
mes "[Merito]";
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "You packed so much in your bag. Try again after emptying your bag.";
close;
}
@@ -148,7 +148,7 @@ gef_tower,102,34,5 script Merito 2_M_SAGE_B,{
gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{
mes "[Karacas]";
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "Oh, it seems that you're too heavy. Empty your bag and then come again.";
close;
}
@@ -249,7 +249,7 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{
changequest 12096,12097;
close;
} else if (job_soc == 3) {
- if (countitem(992) > 2 && countitem(991) > 2 && countitem(990) > 2 && countitem(993) > 2) {
+ if (countitem(Wind_Of_Verdure) > 2 && countitem(Crystal_Blue) > 2 && countitem(Boody_Red) > 2 && countitem(Yellow_Live) > 2) {
mes "Oh, you have all the materials.";
next;
select("What should I do next?");
@@ -332,16 +332,16 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{
mes "When you bring these basic things, I'll guide you to the next step.";
close;
} else if (job_soc == 4) {
- if (countitem(6276) && countitem(6278) && countitem(6277)) {
+ if (countitem(Clear_Reagent) && countitem(Black_Reagent) && countitem(Red_Reagent)) {
mes "Wow~ your skill is good.";
mes "I thought you'd be overwhelmed by the spirits but you've managed to get the effective medicine!";
next;
select("Is this all I need to do?");
mes "[Karacas]";
mes "Well done. First, I will organize the miraculous medicine so please wait a moment.";
- delitem 6276,1; //Clear_Reagent
- delitem 6278,1; //Black_Reagent
- delitem 6277,1; //Red_Reagent
+ delitem Clear_Reagent,1;
+ delitem Black_Reagent,1;
+ delitem Red_Reagent,1;
job_soc = 5;
completequest 12098;
close;
@@ -382,8 +382,8 @@ gef_tower,113,161,5 script Karacas 4_M_SAGE_A,{
mes "[Karacas]";
mes "Congratulations, [" + strcharinfo(0) + "]";
jobchange roclass(eaclass()|EAJL_THIRD);
- getitem 5756,1; //Wind_Whisper
- getitem 2795,1; //Green_Apple_Ring
+ getitem Wind_Whisper,1;
+ getitem Green_Apple_Ring,1;
next;
mes "[Karacas]";
mes "I hope that you gain more communion with spirits from now on.";
diff --git a/npc/re/jobs/3-2/sura.txt b/npc/re/jobs/3-2/sura.txt
index f41d3584a..6a56f5665 100644
--- a/npc/re/jobs/3-2/sura.txt
+++ b/npc/re/jobs/3-2/sura.txt
@@ -774,7 +774,7 @@ sword_1-1,223,167,2 script Master#job_shu 4_M_SURA,{
mes "You can't become a Sura unless you use all your skill points.";
close;
}
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 3500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 3500) {
mes "You seem to be heavily burdened. Please remove some of it.";
close;
}
@@ -827,8 +827,8 @@ sword_1-1,223,167,2 script Master#job_shu 4_M_SURA,{
job_shu = 100;
jobchange roclass(eaclass()|EAJL_THIRD);
completequest 11158;
- getitem 5754,1; //Blazing_Soul
- getitem 2795,1; //Green_Apple_Ring
+ getitem Blazing_Soul,1;
+ getitem Green_Apple_Ring,1;
close;
} else if (job_shu > 5) {
mes "Once I was also an ordinary young man who traveled a lot and met many friends.";
diff --git a/npc/re/jobs/3-2/wanderer.txt b/npc/re/jobs/3-2/wanderer.txt
index b9a27f52c..24c06ed2e 100644
--- a/npc/re/jobs/3-2/wanderer.txt
+++ b/npc/re/jobs/3-2/wanderer.txt
@@ -915,7 +915,7 @@ xmas,147,135,5 script Dancer Kim#xmas 4_F_WANDERER,{
mes "- You can't continue the quest because you have remaining skill points. -";
close;
}
- if (checkweight(1201,2) == 0) {
+ if (checkweight(Knife,2) == 0) {
mes "- You need to empty your inventory if you want to continue the quest. -";
close;
}
@@ -1003,8 +1003,8 @@ xmas,147,135,5 script Dancer Kim#xmas 4_F_WANDERER,{
mes "This rising Wanderer star, " + strcharinfo(0) + "!";
jobchange roclass(eaclass()|EAJL_THIRD);
job_wan = 10;
- getitem 2795,1; //Green_Apple_Ring
- getitem 5758,1; //Dying_Swan
+ getitem Green_Apple_Ring,1;
+ getitem Dying_Swan,1;
completequest 2222;
next;
mes "[Dancer Kim]";
diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt
index f7b0b60a6..b33a9d1b6 100644
--- a/npc/re/jobs/novice/academy.txt
+++ b/npc/re/jobs/novice/academy.txt
@@ -624,7 +624,7 @@ izlude_d,198,213,3 duplicate(Captain Carocc#iz) Captain Carocc#iz_d 4_M_REINDEER
//== Criatura Academy Staff ================================
// - Teaches the player about the Inventory.
izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Quest cannot be continued due to the overfilled inventory.";
mes "Continue the quest after organizing the inventory.";
close;
@@ -642,7 +642,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
completequest 7472;
getexp 200, 0;
setquest 7473;
- getitem 531, 1; // Apple_Juice
+ getitem Apple_Juice, 1; // Apple_Juice
next;
mes "[Hun]";
mes "You can open the Item window by clicking on the 'item' icon on top left portion of the screen.";
@@ -690,7 +690,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
mes "It's joyous to see new adventurers starting out.";
mes "You want something to drink while you are resting?";
setquest 7473;
- getitem 531, 1; // Apple_Juice
+ getitem Apple_Juice, 1; // Apple_Juice
next;
mes "[Hun]";
mes "Right clicking on the item icon ^4d4dffon the basic item window at the upper left corner brings up the detailed info on the item";
@@ -719,7 +719,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
mes "Ok now ^4d4dffdrink the apple juice that I gave you^000000.";
close;
} else if (questprogress(7473) == 1) {
- if (countitem(531) > 0) {
+ if (countitem(Apple_Juice) > 0) {
mes "[Hun]";
mes "Consume the apple juice that I gave you in your inventory.";
mes "Then we'll talk.";
@@ -734,7 +734,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
mes "I want to give you more but that was the last of it";
mes "Anyways here's some potions. They'll come in handy when you start fighting.";
completequest 7473;
- getitem 569, 30; // Novice_Potion
+ getitem Novice_Potion, 30; // Novice_Potion
getexp 200, 0;
next;
mes "[Hun]";
@@ -753,7 +753,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{
mes "I want to give you more but that was the last of it";
mes "Anyways here's some potions. They'll come in handy when you start fighting.";
completequest 7473;
- getitem 569, 30; // Novice_Potion
+ getitem Novice_Potion, 30; // Novice_Potion
getexp 200, 0;
next;
mes "[Hun]";
@@ -944,7 +944,7 @@ izlude_d,122,207,3 duplicate(Criatura Academy Staff#0) Criatura Academy Staff#d
//== Information Staff =====================================
// - Teaches the player about the Mini-Map through a quick quest.
izlude,120,207,4 script Information Staff#0 8W_SOLDIER,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Quest cannot be continued due to the invenory being full.";
mes "Please try it again after re-organizing your items.";
close;
@@ -1243,9 +1243,9 @@ izlude,120,207,4 script Information Staff#0 8W_SOLDIER,{
erasequest 7476;
erasequest 7477;
getexp 300, 20;
- getitem 12323, 20; // N_Fly_Wing
- getitem 12324, 10; // N_Butterfly_Wing
- getitem 569, 20; // Novice_Potion
+ getitem N_Fly_Wing, 20; // N_Fly_Wing
+ getitem N_Butterfly_Wing, 10; // N_Butterfly_Wing
+ getitem Novice_Potion, 20; // Novice_Potion
next;
mes "[Information Staff]";
mes "Have a wonderful journey.";
@@ -1897,7 +1897,7 @@ izlude_d,45,94,3 duplicate(Bulletin Board#iz) Bulletin Board#iz_d 4_BULLETIN_BOA
//== Therapist (Red Herb Quest + First Aid) ================
// - Gives the player a basic quest and teaches them First Aid.
iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Quest cannot be continued due to the overfilled inventory.";
mes "Please try it again after organizing the items.";
close;
@@ -2013,7 +2013,7 @@ iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{
setquest 7478;
close;
} else if (questprogress(7478) == 1) {
- if (countitem(507) > 0) {
+ if (countitem(Red_Herb) > 0) {
mes "[Therapist]";
mes "You got it.";
mes "^4d4dffYou could eat this herb and get the benefit of it immediately but it will be more efficient if you make it into a potion.^000000.";
@@ -2038,11 +2038,11 @@ iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{
mes "You can make it easily by ^4d4dffusing the combination kit or cooking tool^000000.";
completequest 7478;
getexp 2000, 50;
- getitem 569, 30; // Novice_Potion
- getitem 11058, 1; // Novice_Combi_Book
- getitem 12849, 10; // Combination_Kit
- getitem 507, 1; // Red_Herb
- getitem 512, 1; // Apple
+ getitem Novice_Potion, 30; // Novice_Potion
+ getitem Novice_Combi_Book, 1; // Novice_Combi_Book
+ getitem Combination_Kit, 10; // Combination_Kit
+ getitem Red_Herb, 1; // Red_Herb
+ getitem Apple, 1; // Apple
next;
mes "[Therapist]";
mes "Not only potions but also other easily attainable things can be turned to various tools. Please make use of them.";
@@ -2132,7 +2132,7 @@ izlude_d,141,251,0 duplicate(Cultivated Red Plant#0) Cultivated Red Plant#d RED_
//- Academy Student (Red Herb Quest) -
izlude,140,249,7 script Academy Student#0 4_M_NOV_RUMIN,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Your inventory is too full so you can't continue this quest.";
mes "Please try it again after organizing the items.";
close;
@@ -2196,7 +2196,7 @@ izlude,140,249,7 script Academy Student#0 4_M_NOV_RUMIN,{
cutin "nov_lumin01.bmp", 2;
setquest 7479;
completequest 7479;
- getitem 507, 1; // Red_Herb
+ getitem Red_Herb, 1; // Red_Herb
next;
mes "[Lumin]";
mes "Ah... see it's growing back.";
@@ -2446,7 +2446,7 @@ iz_ac01,100,39,5 script Academy Receptionist#1 4_F_01,{
switch(select(.@menu$)) {
case 1:
if (Class == Job_Novice) {
- if (!checkweight(1301, 10)) {
+ if (!checkweight(Axe, 10)) {
mes "- As you are overloaded with too many items, quest can't be continued.-";
close;
}
@@ -2461,15 +2461,15 @@ iz_ac01,100,39,5 script Academy Receptionist#1 4_F_01,{
mes "Be careful with it as it won't be provided again.";
setquest 4269;
completequest 4269;
- getitem 2352, 1; // Novice_Plate
- getitem 2510, 1; // Novice_Hood
- getitem 2414, 1; // Novice_Boots
- getitem 5055, 1; // Novice_Egg_Cap
- getitem 1243, 1; // Novice_Knife
- getitem 2112, 1; // Novice_Guard
- getitem 18730, 1; // Criatura_Academy_Hat
- getitem 6593, 1; // Criatura_Hair_Coupon
- getitem 569, 300; // Novice_Potion
+ getitem Novice_Plate, 1; // Novice_Plate
+ getitem Novice_Hood, 1; // Novice_Hood
+ getitem Novice_Boots, 1; // Novice_Boots
+ getitem Novice_Egg_Cap, 1; // Novice_Egg_Cap
+ getitem Novice_Knife, 1; // Novice_Knife
+ getitem Novice_Guard, 1; // Novice_Guard
+ getitem Criatura_Academy_Hat, 1; // Criatura_Academy_Hat
+ getitem Criatura_Hair_Coupon, 1; // Criatura_Hair_Coupon
+ getitem Novice_Potion, 300; // Novice_Potion
next;
mes "[Receptionist]";
mes "It is your first step to be an adventurer that you have made a visit to us.";
@@ -2632,7 +2632,7 @@ iz_ac01,134,47,5 script Trainer Mainz#ac 4_M_KY_KNT,4,4,{
close;
}
if (questprogress(15000) == 1) {
- if (!checkweight(1201, 1) || (MaxWeight - Weight) < 40) {
+ if (!checkweight(Knife, 1) || (MaxWeight - Weight) < 40) {
mes "- Here, just moment!! -";
mes "- As you are overloaded with too many items in your inventory -";
mes "- You can't receive the items anymore -";
@@ -2784,7 +2784,7 @@ iz_ac01,134,47,5 script Trainer Mainz#ac 4_M_KY_KNT,4,4,{
mes "[Mainz]";
mes "Wish you have good luck in your adventures!";
completequest 15000;
- getitem 512, 10; // Apple
+ getitem Apple, 10; // Apple
getexp 180, 100;
close;
} else if (questprogress(4269) && !questprogress(15000)) {
@@ -3287,7 +3287,7 @@ iz_ac01_d,36,52,3 duplicate(Odd Novice#ac) Odd Novice#ac_d 4_M_SIT_NOVICE
//== Shop Helper ===========================================
// - Teaches the player about Shops and Currency.
izlude,115,181,5 script Shop Helper#iz 4_F_KHELLISIA,{
- if (!checkweight(1301, 3)) {
+ if (!checkweight(Axe, 3)) {
mes "- Quest cannot be continued due to your overfilled inventory. -";
close;
}
@@ -3314,14 +3314,14 @@ izlude,115,181,5 script Shop Helper#iz 4_F_KHELLISIA,{
mes "[Shop Helper Leonie]";
mes "Let's start.";
} else if(questprogress(1238) == 1) {
- if(countitem(501) > 0) {
+ if(countitem(Red_Potion) > 0) {
mes "[Shop Helper Leonie]";
mes "Ok 1 ^0000ffRed Potion^000000.";
mes "For now on you can use them at a field in a dungeon.";
mes "As a reward I'll give you a couple of ^ff0000Fly Wing^000000s.";
completequest 1238;
setquest 1239;
- getitem 12323, 50; // N_Fly_Wing
+ getitem N_Fly_Wing, 50; // N_Fly_Wing
getexp 1300, 100;
close;
}
@@ -3366,20 +3366,20 @@ izlude,115,181,5 script Shop Helper#iz 4_F_KHELLISIA,{
mes "Go sell one ^ff0000Poor Can^000000 that I gave you to the shop.";
completequest 1239;
setquest 1240;
- getitem 6426,1; // Bad_Can
+ getitem Bad_Can,1; // Bad_Can
close;
case 3:
mes "[Shop Helper Leonie]";
break;
}
} else if(questprogress(1240) == 1) {
- if(!countitem(6426)) {
+ if(!countitem(Bad_Can)) {
mes "[Shop Helper Leonie]";
mes "You went and sold the ^ff0000Poor Can^000000.";
mes "Good work, here's the reward for it.";
mes "The things I haven't told you, you will learn throughout your travels.";
completequest 1240;
- getitem 12324,10; // N_Butterfly_Wing
+ getitem N_Butterfly_Wing,10; // N_Butterfly_Wing
getexp 1000,50;
close;
}
@@ -3712,7 +3712,7 @@ iz_ac01_d,56,68,0,0 monster Lv 10 2408,1,5000,0,0
//== Dacquoise =============================================
// - Teaches the player about Cooking.
iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Why are you carrying so much stuff?";
mes "Put them down and come back.";
close;
@@ -3943,7 +3943,7 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
mes "[Dacquoise]";
mes "Can I have a look?";
next;
- if(questprogress(14154) == 1 && countitem(705) > 0 && countitem(511) > 0 && countitem(507) > 0) {
+ if(questprogress(14154) == 1 && countitem(Clover) > 0 && countitem(Green_Herb) > 0 && countitem(Red_Herb) > 0) {
mes "[Dacquoise]";
mes "You brough what I need! Okay, then I will cook for you as I promised.";
mes "Time to move like greased lightning!!!!";
@@ -3958,14 +3958,14 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
mes "Kya... Sir Orleans!!";
emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2);
close2;
- delitem 705, 1; // Clover
- delitem 511, 1; // Green_Herb
- delitem 507, 1; // Red_Herb
- getitem 11551, 1; // Savory_Herb_Salad
+ delitem Clover, 1; // Clover
+ delitem Green_Herb, 1; // Green_Herb
+ delitem Red_Herb, 1; // Red_Herb
+ getitem Savory_Herb_Salad, 1; // Savory_Herb_Salad
erasequest 14154;
end;
}
- if(questprogress(14155) == 1 && countitem(512) > 0 && countitem(515) > 1) {
+ if(questprogress(14155) == 1 && countitem(Apple) > 0 && countitem(Carrot) > 1) {
mes "[Dacquoise]";
mes "You brough what I need! Okay, then I will cook for you as I promised.";
mes "Time to move like greased lightning!!!!";
@@ -3979,13 +3979,13 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
mes "If you really want to cook, go and see ^0000ffSir. Charles Orleans at the basement of Prontera castle^000000!! You must be attracted by him!!";
emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2);
close2;
- delitem 512, 1; // Apple
- delitem 515, 2; // Carrot
- getitem 11552, 1; // Apple_Carrot_Salad
+ delitem Apple, 1; // Apple
+ delitem Carrot, 2; // Carrot
+ getitem Apple_Carrot_Salad, 1; // Apple_Carrot_Salad
erasequest 14155;
end;
}
- if(questprogress(14156) == 1 && countitem(909) > 0 && countitem(914) > 0 && countitem(949) > 0) {
+ if(questprogress(14156) == 1 && countitem(Jellopy) > 0 && countitem(Fluff) > 0 && countitem(Feather) > 0) {
mes "[Dacquoise]";
mes "You brough what I need! Okay, then I will cook for you as I promised.";
mes "Time to move like greased lightning!!!!";
@@ -3999,14 +3999,14 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
mes "If you are really curious about the cooking, go seek Sir. Charles Orleans at the basement of Prontera Castle.";
emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2);
close2;
- delitem 909, 1; // Jellopy
- delitem 914, 1; // Fluff
- delitem 949, 1; // Feather
- getitem 11553, 1; // Casual_Stew
+ delitem Jellopy, 1; // Jellopy
+ delitem Fluff, 1; // Fluff
+ delitem Feather, 1; // Feather
+ getitem Casual_Stew, 1; // Casual_Stew
erasequest 14156;
end;
}
- if(questprogress(14157) == 1 && countitem(512) > 0 && countitem(705) > 0) {
+ if(questprogress(14157) == 1 && countitem(Apple) > 0 && countitem(Clover) > 0) {
mes "[Dacquoise]";
mes "You brough what I need! Okay, then I will cook for you as I promised.";
mes "Time to move like greased lightning!!!!";
@@ -4022,9 +4022,9 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{
mes "You can learn real cooking from him!";
emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2);
close2;
- delitem 512, 1; // Apple
- delitem 705, 1; // Clover
- getitem 11554, 1; // Golden_Roasted_Apple
+ delitem Apple, 1; // Apple
+ delitem Clover, 1; // Clover
+ getitem Golden_Roasted_Apple, 1; // Golden_Roasted_Apple
erasequest 14157;
end;
}
@@ -4242,7 +4242,7 @@ iz_ac01_d,147,50,3 duplicate(Dacquoise#ac) Dacquoise#ac_d 4_COOK
//== General Store Owner ===================================
// - Sells the player the Novice Combination Book and Kit.
iz_ac01,68,49,3 script General Store Owner#ac 4_F_03,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Quest cannot be continued due to the overfilled inventory.";
mes "Please try it again after organizing the items.";
close;
@@ -4284,7 +4284,7 @@ iz_ac01,68,49,3 script General Store Owner#ac 4_F_03,{
mes "Here you are.";
mes "This book is for the beginners. But it will allow you combine the useful tools together, if you use it correctly.";
Zeny -= 1000;
- getitem 11058, 1; // Novice_Combi_Book
+ getitem Novice_Combi_Book, 1; // Novice_Combi_Book
} else {
mes "[Querrie]";
mes "The book price is 1000 zeny.";
@@ -4327,7 +4327,7 @@ iz_ac01,68,49,3 script General Store Owner#ac 4_F_03,{
}
mes "Thank you. Come back again.";
Zeny -= .@cost;
- getitem 12849, .@input; // Combination_Kit
+ getitem Combination_Kit, .@input; // Combination_Kit
close;
case 3:
close;
@@ -4342,7 +4342,7 @@ iz_ac01_d,68,49,3 duplicate(General Store Owner#ac) General Store Owner#ac_d 4_F
//== Battle Instructor =====================================
// - Gives the player monster hunting quests.
iz_ac01,59,83,3 script Battle Instructor#08 4_M_NOV_HUNT,{
- if(!checkweight(1201, 1) || (MaxWeight - Weight) < 2000) {
+ if(!checkweight(Knife, 1) || (MaxWeight - Weight) < 2000) {
mes "- You have too many items.";
mes "- Clear inventory and try again.";
close;
@@ -4372,7 +4372,7 @@ iz_ac01,59,83,3 script Battle Instructor#08 4_M_NOV_HUNT,{
if(countitem(.@material[.@i]) >= .@count[i]) {
delitem .@material[.@i],.@count[.@i];
getexp .@bexp[.@i],.@jexp[.@i];
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
}
}
}
@@ -4561,7 +4561,7 @@ iz_ac01,59,83,3 script Battle Instructor#08 4_M_NOV_HUNT,{
erasequest getarg(0);
delitem getarg(3), getarg(4);
getexp getarg(1), getarg(2);
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
close;
}
@@ -4916,7 +4916,7 @@ new_1-3,92,169,5 script Adept Adventurer#new_1-3 4_M_JOB_BLACKSMITH,{
//== Friendly Poring =======================================
new_1-3,99,169,3 script Friendly Poring#ac 4_PORING,{
- if (!checkweight(1301, 3)) {
+ if (!checkweight(Axe, 3)) {
mes "[Poring]";
mes "You have too many items to continue the quest.";
next;
@@ -5029,10 +5029,10 @@ new_1-3,99,169,3 script Friendly Poring#ac 4_PORING,{
cutin "", 255;
completequest 2295;
setquest 2296;
- getitem 12846, 5; // Little_Unripe_Apple
+ getitem Little_Unripe_Apple, 5; // Little_Unripe_Apple
close;
} else if (questprogress(2296) == 1) {
- if (countitem(9062) > 0) {
+ if (countitem(Novice_Poring_Egg) > 0) {
mes "[Poring]";
mes "Ello' mate. Were you successful? Where are the lil' bleeders?";
next;
@@ -5113,8 +5113,8 @@ new_1-3,99,169,3 script Friendly Poring#ac 4_PORING,{
completequest 2298;
if (Class == Job_Novice)
getexp 500, 50;
- getitem 531, 3; // Apple_Juice
- getitem 643, 1; // Pet_Incubator
+ getitem Apple_Juice, 3; // Apple_Juice
+ getitem Pet_Incubator, 1; // Pet_Incubator
close;
} else {
mes "[Poring]";
@@ -5202,9 +5202,9 @@ iz_ac01,95,46,5 script Kafra Guide Trainer#ac 4_F_KAFRA1,{
if (getskilllv("NV_BASIC") < 6) {
mes "[Kafra Guide Trainer]";
mes "To use the storage, you need to be raised the beginner level 6 and higher.";
- } else if (countitem(7059) || Zeny >= 500) {
- if (countitem(7059)) {
- delitem 7059, 1; // Cargo_Free_Ticket
+ } else if (countitem(Cargo_Free_Ticket) || Zeny >= 500) {
+ if (countitem(Cargo_Free_Ticket)) {
+ delitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
} else {
Zeny -= 500;
RESRVPTS += 5;
@@ -5932,7 +5932,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{
}
close;
case 2:
- if(!countitem(6593)) {
+ if(!countitem(Criatura_Hair_Coupon)) {
mes "[Otter Samssoon]";
mes "Come on.. Honey~";
mes "You should bring ^ff0000'Criatura Hair Coupon'^000000 for changing hair...";
@@ -6013,7 +6013,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{
mes "- Chikak, crack, crack.. -";
mes "- Snap, snap, snap.. Crack -";
next;
- delitem 6593, 1; // Criatura_Hair_Coupon
+ delitem Criatura_Hair_Coupon, 1; // Criatura_Hair_Coupon
cutin "", 255;
mes "[Otter Samssoon]";
mes "Oh my! Oh my! Oh my!";
@@ -7104,7 +7104,7 @@ iz_ac02_d,143,55,3 duplicate(Cream Puff#ac) Cream Puff#ac_d 4_M_KID1
//- Lusa -
// - Teaches the player about Gunslinger class.
iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- Quest can't be continued as your overloaded items. -";
close;
}
@@ -7222,7 +7222,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
if (.@has_manual == 1) {
mes "Hey! What kind of con is this?! You already had a manual!";
} else {
- getitem 2941, 1; // Gunslinger_Manual
+ getitem Gunslinger_Manual, 1; // Gunslinger_Manual
mes "Here take this manual, I ain't too good at that there book learnin' but I can answer your questions.";
}
next;
@@ -7491,7 +7491,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
next;
erasequest 5149;
getexp 700, 450;
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
mes "After looking over the report, you receive experience and a Kafra Storage Coupon.";
next;
.@gun_tok = 1;
@@ -7508,7 +7508,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
next;
erasequest 5150;
getexp 950, 590;
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
mes "After looking over the report, you receive experience and a Kafra Storage Coupon.";
next;
.@gun_tok = 1;
@@ -7525,7 +7525,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
next;
erasequest 5151;
getexp 850, 540;
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
mes "After looking over the report, you receive experience and a Kafra Storage Coupon.";
next;
.@gun_tok = 1;
@@ -7542,7 +7542,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
next;
erasequest 5152;
getexp 690, 470;
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
mes "After looking over the report, you receive experience and a Kafra Storage Coupon.";
next;
}
@@ -7721,7 +7721,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{
if (questprogress(5152))
erasequest 5152;
if (.@gun_quest_01 == 2 || .@gun_quest_02 == 2 || .@gun_quest_03 == 2 || .@gun_quest_04 == 2) {
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
mes "After looking over the report, you receive experience and a Kafra Storage Coupon.";
}
next;
@@ -8005,7 +8005,7 @@ iz_ac02_d,131,82,4 duplicate(Lusa's Desk#ac) Lusa's Desk#ac_d CLEAR_NPC
//- Staff sent by guild -
iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- You are carrying too many items. -";
close;
}
@@ -8098,7 +8098,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
end;
} else {
delequip EQI_HAND_R;
- getitem 13116, 1; // Novice_Revolver
+ getitem Novice_Revolver, 1; // Novice_Revolver
}
break;
case 2:
@@ -8110,7 +8110,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
end;
} else {
delequip EQI_HAND_R;
- getitem 13180, 1; // Novice_Rifle
+ getitem Novice_Rifle, 1; // Novice_Rifle
}
break;
case 3:
@@ -8122,7 +8122,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
end;
} else {
delequip EQI_HAND_R;
- getitem 13181, 1; // Novice_Shotgun
+ getitem Novice_Shotgun, 1; // Novice_Shotgun
}
break;
case 4:
@@ -8134,7 +8134,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
end;
} else {
delequip EQI_HAND_R;
- getitem 13182, 1; // Novice_Gatling
+ getitem Novice_Gatling, 1; // Novice_Gatling
}
break;
case 5:
@@ -8146,7 +8146,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{
end;
} else {
delequip EQI_HAND_R;
- getitem 13183, 1; // Novice_Grenade_Launcher
+ getitem Novice_Grenade_Launcher, 1; // Novice_Grenade_Launcher
}
break;
case 6:
@@ -8204,7 +8204,7 @@ iz_ac02,70,85,5 script Arang#ac 4_F_TAEKWON,{
mes "[Arang]";
mes "It is not an easy way. So I don't like to recommend it to you if you aren't fully prepared. But it is definitely a nice and great way to follow!!";
next;
- if (isequipped(2942) > 0 || countitem(2942) > 0) {
+ if (isequipped(2942) > 0 || countitem(Taekwon_Manual) > 0) {
mes "[Arang]";
mes "Introduction to the class may let you know about what Taekwon in more detail.";
next;
@@ -8217,7 +8217,7 @@ iz_ac02,70,85,5 script Arang#ac 4_F_TAEKWON,{
mes "Every adventurer may have their own job! Hope you can find what you want!";
next;
} else {
- getitem 2942, 1; // Taekwon_Manual
+ getitem Taekwon_Manual, 1; // Taekwon_Manual
mes "[Arang]";
mes "Go to the [Misc] tab on Skill Window after equipping the Manual and there you will see some skills.";
next;
@@ -8381,7 +8381,7 @@ iz_ac01_d,53,49,0 duplicate(#acKick) #acKick_d HIDDEN_NPC,5,5
//- Archer Teacher (Marlbron) -
iz_ac02,65,109,5 script Archer Teacher#ac 4_M_ARCHER,{
- if (!checkweight(1304, 3)) {
+ if (!checkweight(Orcish_Axe, 3)) {
mes "Why are you carrying so much with you? Unload it somewhere and come back.";
close;
}
@@ -8539,7 +8539,7 @@ iz_ac02,65,109,5 script Archer Teacher#ac 4_M_ARCHER,{
if (questprogress(14158) != 2) {
setquest 14158;
completequest 14158;
- getitem 2822, 1; // Archer_Manual
+ getitem Archer_Manual, 1; // Archer_Manual
}
cutin "", 255;
end;
@@ -8695,7 +8695,7 @@ iz_ac02_d,65,109,5 duplicate(Archer Teacher#ac) Archer Teacher#ac_d 4_M_ARCHER
//- Swordman Trainer (Adric) -
// - Teaches the player about the Swordsman class.
iz_ac02,60,51,5 script Swordman Trainer#ac 4_M_SWORDMAN,{
- if (!checkweight(1301, 3)) {
+ if (!checkweight(Axe, 3)) {
mes "- Quest cannot be continued due to your overfilled inventory. -";
close;
}
@@ -8740,7 +8740,7 @@ iz_ac02,60,51,5 script Swordman Trainer#ac 4_M_SWORDMAN,{
mes "Calm down, lets's start over.";
mes "First, I'll give you a ^FF0000Swordman Manual^000000";
mes "Read it carefuly before asking any questions.";
- getitem 2819, 1; // Swordman_Manual
+ getitem Swordman_Manual, 1; // Swordman_Manual
nov_3_swordman = 1;
setquest 1229;
cutin "", 255;
@@ -9215,7 +9215,7 @@ iz_ac02,148,110,3 script Mage Chuck#ac 4_M_JOB_WIZARD,{
mes "Anything else you want to know about Mages?";
break;
case 4:
- if (isequippedcnt(2824) > 0 || countitem(2824) > 0) {
+ if (isequippedcnt(2824) > 0 || countitem(Mage_Manual) > 0) {
mes "[Mage Chuck]";
mes "I think you already received a ^FF0000Mage Manual^000000~!";
mes "I can't offer you two of them.";
@@ -9228,7 +9228,7 @@ iz_ac02,148,110,3 script Mage Chuck#ac 4_M_JOB_WIZARD,{
mes "[Mage Chuck]";
mes "Anything else you want to know about Mages?";
} else {
- if (checkweight(607, 1)) {
+ if (checkweight(Yggdrasilberry, 1)) {
mes "[Mage Chuck]";
mes "Right, you must be set with your heart firm on becoming a Mage.";
next;
@@ -9244,7 +9244,7 @@ iz_ac02,148,110,3 script Mage Chuck#ac 4_M_JOB_WIZARD,{
mes "[Mage Chuck]";
mes "It's a valuable item so don't lose it.";
mes "If you want to become a genius ^0000FFMage^000000 like me, follow in my path.";
- getitem 2824, 1; // Mage_Manual
+ getitem Mage_Manual, 1; // Mage_Manual
break;
} else {
mes "[Mage Chuck]";
@@ -9457,7 +9457,7 @@ geffen,43,123,6 script Magician's Guild Guide#2 2_F_MAGICMASTER,{
//- Salim Hamid -
iz_ac02,50,169,3 script Salim Hamid#ac 1_M_MERCHANT,{
disable_items;
- if (!checkweight(714, 3) || (MaxWeight - Weight) < 10000) {
+ if (!checkweight(Emperium, 3) || (MaxWeight - Weight) < 10000) {
mes "- As you are overloaded with so many items, quest can't be proceeded. -";
close;
}
@@ -9632,7 +9632,7 @@ iz_ac02,50,169,3 script Salim Hamid#ac 1_M_MERCHANT,{
next;
mes "[Salim Hamid]";
mes "Now~ as we should go to the next course, equip the guide and see the skill, then speak to me again.";
- getitem 2823, 1; // Merchant_Manual
+ getitem Merchant_Manual, 1; // Merchant_Manual
completequest 12303;
close2;
cutin "", 255;
@@ -9869,7 +9869,7 @@ iz_ac02_d,50,169,3 duplicate(Salim Hamid#ac) Salim Hamid#ac_d 1_M_MERCHANT
//- Steward Aydin -
iz_ac02,53,171,3 script Steward Aydin#ac 4_M_MANAGER,{
disable_items;
- if (!checkweight(714, 3) || (MaxWeight - Weight) < 10000) {
+ if (!checkweight(Emperium, 3) || (MaxWeight - Weight) < 10000) {
mes "- As you are overloaded with so many items, quest can't be proceeded.";
close;
}
@@ -9914,7 +9914,7 @@ iz_ac02,53,171,3 script Steward Aydin#ac 4_M_MANAGER,{
mes "[Steward Aydin]";
mes "I anticipate to see you next time in a good shape.";
completequest 12304;
- getitem 12847, 1; // Old_Equipment_Box
+ getitem Old_Equipment_Box, 1; // Old_Equipment_Box
close;
}
mes "[Steward Aydin]";
@@ -9992,7 +9992,7 @@ iz_ac02_d,53,171,3 duplicate(Steward Aydin#ac) Steward Aydin#ac_d 4_M_MANAGER
//- Guest Lecturer Mayssel -
// - Teaches the player about the Thief class.
iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
- if (!checkweight(1301, 3)) {
+ if (!checkweight(Axe, 3)) {
mes "Quest cannot be continued due to the overfilled inventory.";
mes "Please try it again after organizing the items.";
close;
@@ -10122,8 +10122,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
setquest 7483;
completequest 7483;
getexp 800, 50;
- getitem 569, 30; // Novice_Potion
- getitem 12325, 20; // N_Magnifier
+ getitem Novice_Potion, 30; // Novice_Potion
+ getitem N_Magnifier, 20; // N_Magnifier
} else {
mes "[Mayssel]";
mes "I only play the role to inform you of there is this one that one...";
@@ -10139,7 +10139,7 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
erasequest 7481;
erasequest 7482;
setquest 7483;
- getitem 2820, 1; // Thief_Manual
+ getitem Thief_Manual, 1; // Thief_Manual
}
close2;
cutin "", 255;
@@ -10196,8 +10196,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
setquest 7483;
completequest 7483;
getexp 800, 50;
- getitem 569, 30; // Novice_Potion
- getitem 12325, 20; // N_Magnifier
+ getitem Novice_Potion, 30; // Novice_Potion
+ getitem N_Magnifier, 20; // N_Magnifier
} else {
mes "[Mayssel]";
mes "I only play the role to inform you of there is this one that one...";
@@ -10213,7 +10213,7 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
erasequest 7481;
erasequest 7482;
setquest 7483;
- getitem 2820, 1; // Thief_Manual
+ getitem Thief_Manual, 1; // Thief_Manual
}
close2;
cutin "", 255;
@@ -10244,8 +10244,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
mes "Thank you for you hard work.";
completequest 7483;
getexp 800, 50;
- getitem 569, 30; // Novice_Potion
- getitem 12325, 20; // N_Magnifier
+ getitem Novice_Potion, 30; // Novice_Potion
+ getitem N_Magnifier, 20; // N_Magnifier
close2;
cutin "", 255;
end;
@@ -10283,8 +10283,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{
mes "All the ongoing courses are cancelled.";
mes "These are not your aptitude.";
nude;
- if (countitem(2820) > 0)
- delitem 2820, countitem(2820); // Thief_Manual
+ if (countitem(Thief_Manual) > 0)
+ delitem Thief_Manual, countitem(Thief_Manual); // Thief_Manual
erasequest 7483;
erasequest 7484;
erasequest 7485;
@@ -10761,7 +10761,7 @@ iz_ac02,49,134,5 script Vicente#ac 4_M_HUMAN_02,{
mes "Important thing is not theory but actual fighting.";
mes "Do you agree?";
setquest 7481;
- getitem 569, 30; // Novice_Potion
+ getitem Novice_Potion, 30; // Novice_Potion
close2;
cutin "", 255;
end;
@@ -10902,7 +10902,7 @@ iz_ac02,49,134,5 script Vicente#ac 4_M_HUMAN_02,{
cutin "", 255;
end;
} else if (questprogress(7484) == 1) {
- if (countitem(7049) > 0) {
+ if (countitem(Stone) > 0) {
cutin "sc_vicente01.bmp", 2;
mes "[Vicente]";
mes "Oh, excellent!";
@@ -11002,7 +11002,7 @@ iz_ac02,49,134,5 script Vicente#ac 4_M_HUMAN_02,{
cutin "", 255;
end;
} else if (questprogress(7484) == 1) {
- if (countitem(7049) > 0) {
+ if (countitem(Stone) > 0) {
cutin "sc_vicente01.bmp", 2;
mes "[Vicente]";
mes "Oh, excellent!";
@@ -11615,7 +11615,7 @@ iz_ac02_d,55,134,3 duplicate(Verkhasel#ac) Verkhasel#ac_d 4_M_GUILLOTINE
//- Lumin -
iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{
- if (!checkweight(1301, 3)) {
+ if (!checkweight(Axe, 3)) {
mes "Quest cannot be continued due to the overfilled inventory.";
mes "Please try it again after organizing the items.";
close;
@@ -11699,10 +11699,10 @@ iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{
cutin "nov_lumin05.bmp", 2;
completequest 7487;
getexp 800, 50;
- getitem 512, 3; // Apple
- getitem 511, 2; // Green_Herb
- getitem 569, 22; // Novice_Potion
- getitem 622, 1; // Rainbow_Carrot
+ getitem Apple, 3; // Apple
+ getitem Green_Herb, 2; // Green_Herb
+ getitem Novice_Potion, 22; // Novice_Potion
+ getitem Rainbow_Carrot, 1; // Rainbow_Carrot
close2;
cutin "", 255;
end;
@@ -11718,7 +11718,7 @@ iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{
cutin "nov_lumin03.bmp", 2;
completequest 7487;
getexp 800, 50;
- getitem 512, 22; // Apple
+ getitem Apple, 22; // Apple
next;
select("Why are you treating me like this?", "Didn't I loose?");
mes "[Lumin]";
@@ -12082,7 +12082,7 @@ iz_ac02,152,165,5 script A Nun#2 4_F_SISTER,{
mes "It was not like this when I used to train in the past.";
close;
} else {
- if (!checkweight(1119, 3)) {
+ if (!checkweight(Tsurugi, 3)) {
mes "- You have too many items. Clear inventory and try again. -";
close;
}
@@ -12110,7 +12110,7 @@ iz_ac02,152,165,5 script A Nun#2 4_F_SISTER,{
mes "murmuring";
close;
}
- if (isequippedcnt(2821) > 0 || countitem(2821) > 0) {
+ if (isequippedcnt(2821) > 0 || countitem(Acolyte_Manual) > 0) {
mes "[A nun]";
mes "You already have one.";
mes "We do not give two.";
@@ -12119,7 +12119,7 @@ iz_ac02,152,165,5 script A Nun#2 4_F_SISTER,{
mes "[A nun]";
mes "Then, use it for good.";
mes "^ff0000Equip (double click or drag to equipment window)^000000 and open the ^ff0000skill window(Alt+S)^000000 to see the skills in manual.";
- getitem 2821, 1; // Acolyte_Manual
+ getitem Acolyte_Manual, 1; // Acolyte_Manual
close;
}
}
@@ -12248,7 +12248,7 @@ iz_ac02,140,139,5 script Ninja Guide#ac 4_M_NINJA_BLUE,{
next;
break;
case 3:
- if (countitem(2940) > 0) {
+ if (countitem(Ninja_Manual) > 0) {
mes "[Ninja Guide]";
mes "You can equip this manual to experience some skills.";
mes "Open up your skill window by pressing <Alt+S> and find the skills in the Misc TAB.";
@@ -12258,16 +12258,16 @@ iz_ac02,140,139,5 script Ninja Guide#ac 4_M_NINJA_BLUE,{
next;
mes "[Ninja Guide]";
mes "He will give you some quests to complete. Use the Manual to help you in battle.";
- if (countitem(13295) < 10)
- getitem 13295, 10; // Light_Shuriken
+ if (countitem(Light_Shuriken) < 10)
+ getitem Light_Shuriken, 10; // Light_Shuriken
next;
} else {
mes "[Ninja Guide]";
mes "Make every useful moment count.";
mes "You can equip this manual to experience some skills.";
mes "Open up your skill window by pressing <Alt+S> and find the skills in the Misc TAB.";
- getitem 2940, 1; // Ninja_Manual
- getitem 13295, 10; // Light_Shuriken
+ getitem Ninja_Manual, 1; // Ninja_Manual
+ getitem Light_Shuriken, 10; // Light_Shuriken
next;
mes "[Ninja Guide]";
mes "The Academy has a trainer downstairs who will give you battle field training. Meet him and train your skills.";
@@ -12366,7 +12366,7 @@ iz_ac02_d,140,139,5 duplicate(Ninja Guide#ac) Ninja Guide#ac_d 4_M_NINJA_BLUE
//- Refinery Owner Han -
izlude,153,126,1 script Refinery Owner Han#iz 4_M_02,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- Cannot progress with the dialogue because you have too many items. -";
close;
}
@@ -12560,7 +12560,7 @@ izlude,153,126,1 script Refinery Owner Han#iz 4_M_02,{
if (Class == Job_Novice)
getexp 1200, 500;
mes "Got a lesson about the refining and Kafra storage free coupon.";
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
close;
} else if (.@jerun_tutorial == 8) {
mes "[Refinery Owner Han]";
@@ -12807,7 +12807,7 @@ izlude_d,153,121,3 duplicate(izludeWagjak) Refining Machine Wagjak::iz_d 2_MONEM
//- Tadde -
izlude,145,122,7 script Tadde#iz 4_M_04,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- As you have too many items in your inventory, Quest can't be continued -";
close;
}
@@ -12933,7 +12933,7 @@ izlude,145,122,7 script Tadde#iz 4_M_04,{
close;
}
Zeny -= .@sell;
- getitem 1010, .@amount; // Phracon
+ getitem Phracon, .@amount; // Phracon
mes "[Tadde]";
mes "This is what you wanted. Thank you very much!";
close;
@@ -12968,7 +12968,7 @@ izlude,145,122,7 script Tadde#iz 4_M_04,{
mes "Er...please sorts your inventory before you take these...";
close;
}
- getitem 1011, .@amount; // Emveretarcon
+ getitem Emveretarcon, .@amount; // Emveretarcon
Zeny -= .@sell;
mes "[Tadde]";
mes "This is what you wanted. Thank you very much!";
@@ -13064,7 +13064,7 @@ izlude_d,145,122,7 duplicate(Tadde#iz) Tadde#iz_d 4_M_04
//- Locas -
izlude,155,132,3 script Locas#iz 4_M_02,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- As you have too many items in your inventory, Quest can't be continued. -";
close;
}
@@ -13225,9 +13225,9 @@ izlude,155,132,3 script Locas#iz 4_M_02,{
mes "Will you refine 5 Rough Oridecon to one Oridecon?";
next;
if(select("Exchange 5 for 1", "Exchange all.") == 1) {
- if (countitem(756) > 4) {
- delitem 756, 5; // Oridecon_Stone
- getitem 984, 1; // Oridecon
+ if (countitem(Oridecon_Stone) > 4) {
+ delitem Oridecon_Stone, 5; // Oridecon_Stone
+ getitem Oridecon, 1; // Oridecon
mes "[Locas]";
mes "Refined Rough Oridecon to Oridecon.";
close;
@@ -13238,11 +13238,11 @@ izlude,155,132,3 script Locas#iz 4_M_02,{
close;
}
} else {
- if (countitem(756) > 4) {
- .@ston_max = countitem(756) / 5;
+ if (countitem(Oridecon_Stone) > 4) {
+ .@ston_max = countitem(Oridecon_Stone) / 5;
.@ston_full = .@ston_max * 5;
- delitem 756, .@ston_full; // Oridecon_Stone
- getitem 984, .@ston_max; // Oridecon
+ delitem Oridecon_Stone, .@ston_full; // Oridecon_Stone
+ getitem Oridecon, .@ston_max; // Oridecon
mes "[Locas]";
mes "Refined "+.@ston_full+" Rough Oridecon into "+.@ston_max+" Oridecon. Thank you for your business.";
close;
@@ -13258,9 +13258,9 @@ izlude,155,132,3 script Locas#iz 4_M_02,{
mes "Will you refine 5 Rough Elunium to one Elunium?";
next;
if(select("Exchange 5 for 1", "Exchange all.") == 1) {
- if (countitem(757) > 4) {
- delitem 757, 5; // Elunium_Stone
- getitem 985, 1; // Elunium
+ if (countitem(Elunium_Stone) > 4) {
+ delitem Elunium_Stone, 5; // Elunium_Stone
+ getitem Elunium, 1; // Elunium
mes "[Locas]";
mes "Refined Rough Elunium to Elunium.";
close;
@@ -13271,11 +13271,11 @@ izlude,155,132,3 script Locas#iz 4_M_02,{
close;
}
} else {
- if (countitem(757) > 4) {
- .@ston_max = countitem(757) / 5;
+ if (countitem(Elunium_Stone) > 4) {
+ .@ston_max = countitem(Elunium_Stone) / 5;
.@ston_full = .@ston_max * 5;
- delitem 757, .@ston_full; // Elunium_Stone
- getitem 985, .@ston_max; // Elunium
+ delitem Elunium_Stone, .@ston_full; // Elunium_Stone
+ getitem Elunium, .@ston_max; // Elunium
mes "[Locas]";
mes "Refined "+.@ston_full+" Rough Elunium into "+.@ston_max+" Elunium. Thank you for your business.";
close;
@@ -13423,7 +13423,7 @@ izlude_d,155,132,3 duplicate(Locas#iz) Locas#iz_d 4_M_02
//- Enchanter Mounds -
// - Teaches the player about enchanting.
izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- As you have too many items in your inventory, Quest can't be continued -";
close;
}
@@ -13568,13 +13568,13 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{
close;
} else if (.@in_tutorial == 2) {
mes "[Mounds]";
- if (countitem(2302) > 0) {
+ if (countitem(Cotton_Shirt_) > 0) {
mes "Oh this is a socketed shirt already!";
next;
mes "[Mounds]";
mes "Bring us the normal shirt without holes.";
close;
- } else if (countitem(2301) > 0) {
+ } else if (countitem(Cotton_Shirt) > 0) {
mes "It must be a plain cotton shirt.";
next;
} else {
@@ -13598,8 +13598,8 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{
next;
specialeffect2 EF_SANCTUARY;
completequest 5158;
- delitem 2301, 1; // Cotton_Shirt
- getitem 2302, 1; // Cotton_Shirt_
+ delitem Cotton_Shirt, 1; // Cotton_Shirt
+ getitem Cotton_Shirt_, 1; // Cotton_Shirt_
mes "[Mounds]";
mes "You have suceeded in socket enchant.";
close;
@@ -13701,7 +13701,7 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{
} else {
mes "Received the explanation and Kafra free storage coupon.";
}
- getitem 7059, 1; // Cargo_Free_Ticket
+ getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket
next;
mes "[Mounds]";
mes "Then, I will see you later.";
@@ -13789,7 +13789,7 @@ izlude_d,96,125,7 duplicate(Enchanter Mounds#iz) Enchanter Mounds#iz_d 4_CAT_SAI
//- Enchanter Almond J -
// - Teaches the player about enchanting.
izlude,108,139,7 script Enchanter Almond J#iz 4_CAT_SAILOR3,{
- if (!checkweight(1301, 1)) {
+ if (!checkweight(Axe, 1)) {
mes "- As you have too many items in your inventory, Quest can't be continued -";
close;
}
diff --git a/npc/re/jobs/novice/novice.txt b/npc/re/jobs/novice/novice.txt
index 7ec6bc156..4d8ff77f4 100644
--- a/npc/re/jobs/novice/novice.txt
+++ b/npc/re/jobs/novice/novice.txt
@@ -316,13 +316,13 @@ new_5-2,100,29,4 duplicate(NvSprakkiB) Sprakki#nv5b 4_F_01
mes "Basic equipments and recovery potions.";
}
job_novice_q = 4;
- getitem 2352,1; //Novice_Plate
- getitem 2510,1; //Novice_Hood
- getitem 2414,1; //Novice_Boots
- getitem 5055,1; //Novice_Egg_Cap
- getitem 1243,1; //Novice_Knife
- getitem 2112,1; //Novice_Guard
- getitem 569,300; //Novice_Potion
+ getitem Novice_Plate,1;
+ getitem Novice_Hood,1;
+ getitem Novice_Boots,1;
+ getitem Novice_Egg_Cap,1;
+ getitem Novice_Knife,1;
+ getitem Novice_Guard,1;
+ getitem Novice_Potion,300;
setquest 7119;
next;
mes "[Instructor Brade]";
@@ -375,8 +375,8 @@ new_5-2,100,29,4 duplicate(NvSprakkiB) Sprakki#nv5b 4_F_01
mes "You are coming along just fine.";
job_novice_q = 5;
getexp 1200,15;
- getitem 12323,50; //N_Fly_Wing
- getitem 12324,20; //N_Butterfly_Wing
+ getitem N_Fly_Wing,50;
+ getitem N_Butterfly_Wing,20;
completequest 7119;
next;
mes "[Instructor Brade]";
@@ -445,7 +445,7 @@ new_5-2,100,29,4 duplicate(NvSprakkiB) Sprakki#nv5b 4_F_01
mes "You've come along fine this far.";
mes "This is not much, but take this as a reward.";
job_novice_q = 7;
- getitem 2393,1; //N_Adventurer's_Suit
+ getitem N_Adventurer's_Suit,1;
completequest 7120;
close;
} else if (job_novice_q == 7) {
@@ -730,8 +730,8 @@ new_5-2,115,120,3 duplicate(NvJinha) Jinha#nv5 1_M_ORIENT01
job_novice_q = 12;
completequest 7121;
getexp 1800,20;
- getitem 7059,20; //Cargo_Free_Ticket
- getitem 7060,30; //Warp_Free_Ticket
+ getitem Cargo_Free_Ticket,20;
+ getitem Warp_Free_Ticket,30;
next;
mes "[Chocolat]";
mes "You've completed all the quests I gave you.";
@@ -1183,7 +1183,7 @@ new_5-2,36,176,4 duplicate(NvGuide) Guide#nv5 8W_SOLDIER
mes "Please hunt 'Poring's on Level 1 of the training grounds.";
job_novice_q = 13;
setquest 7122;
- getitem 569,100; //Novice_Potion
+ getitem Novice_Potion,100;
savepoint strnpcinfo(4),96,21;
next;
mes "^4d4dff- You've received a quest from Instructor Brade.";
@@ -1196,7 +1196,7 @@ new_5-2,36,176,4 duplicate(NvGuide) Guide#nv5 8W_SOLDIER
mes "You can see it is not so hard, huh?";
mes "Nice job.";
job_novice_q = 14;
- getitem 13040,1; //N_Cutter
+ getitem N_Cutter,1;
getexp 3000,30;
completequest 7122;
next;
@@ -1368,7 +1368,7 @@ new_5-3,96,30,4 duplicate(NvBradeB) Brade#nv5b 4_M_JOB_KNIGHT1
mes "As a Swordman you can advance to a ^8E2323Knight^000000 or ^8E2323Crusader^000000 class as your 2nd class profession.";
mes "And just recently third professions have been discovered.";
next;
- if (isequipped(2819) || countitem(2819)) {
+ if (isequipped(2819) || countitem(Swordman_Manual)) {
mes "[Swordman Guildsman]";
mes "Try the Swordman skills listed in the manual.";
mes "Open your skill menu by pressing Alt + S";
@@ -1386,7 +1386,7 @@ new_5-3,96,30,4 duplicate(NvBradeB) Brade#nv5b 4_M_JOB_KNIGHT1
mes "I'll just take any manuals from any other classes you have.";
next;
callfunc "F_NvErase";
- getitem 2819,1; //Swordman_Manual
+ getitem Swordman_Manual,1;
next;
mes "[Swordman Guildsman]";
mes "After equipping the Manual, open your Skill menu by pressing ALT+S.";
@@ -1452,7 +1452,7 @@ new_5-3,96,30,4 duplicate(NvBradeB) Brade#nv5b 4_M_JOB_KNIGHT1
mes "I think that you're good enough to be a Swordman.";
mes "I'll give you some potions as a reward.";
completequest 7123;
- getitem 569,200; //Novice_Potion
+ getitem Novice_Potion,200;
getexp 5000,100;
close;
} else {
@@ -1509,7 +1509,7 @@ new_5-3,97,41,3 duplicate(NvSwordman) Swordman Guide#nv5 4_F_JOB_KNIGHT
mes "[Prontera Acolyte]";
mes "^8E2323As an Acolyte, you can upgrade your future job to Priest or Monk^8E2323.";
next;
- if (isequipped(2821) || countitem(2821)) {
+ if (isequipped(2821) || countitem(Acolyte_Manual)) {
mes "[Prontera Acolyte]";
mes "Try the Acolyte Skills with the manual you have. It will help you understand the job easier.";
mes "Open your Skill Tree by pressing ^4d4dffAlt + S^000000 and minimize the window by pressing the ^4d4dff'-'^000000 button on the top right corner of the window to see the available skills.";
@@ -1526,7 +1526,7 @@ new_5-3,97,41,3 duplicate(NvSwordman) Swordman Guide#nv5 4_F_JOB_KNIGHT
mes "I will take away those other job's manuals while you study this one.";
next;
callfunc "F_NvErase";
- getitem 2821,1; //Acolyte_Manual
+ getitem Acolyte_Manual,1;
next;
mes "[Prontera Acolyte]";
mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window.";
@@ -1604,7 +1604,7 @@ new_5-3,101,41,3 duplicate(NvAcolyte) Acolyte Guide#nv5 4_F_SISTER
mes "[Thief Guild Member]";
mes "Thieves can change their jobs to ^8E2323Assassins^000000 or ^8E2323Rogues^000000.";
next;
- if (isequipped(2820) || countitem(2820)) {
+ if (isequipped(2820) || countitem(Thief_Manual)) {
mes "[Thief Guild Member]";
mes "The class manual can help you understand what it is to be a Thief by using the skills that are essential to all Thieves.";
close;
@@ -1620,7 +1620,7 @@ new_5-3,101,41,3 duplicate(NvAcolyte) Acolyte Guide#nv5 4_F_SISTER
mes "I'll just take the other class manuals while I'm at it.";
next;
callfunc "F_NvErase";
- getitem 2820,1; //Thief_Manual
+ getitem Thief_Manual,1;
next;
mes "[Thief Guild Member]";
mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window.";
@@ -1681,7 +1681,7 @@ new_5-3,101,41,3 duplicate(NvAcolyte) Acolyte Guide#nv5 4_F_SISTER
mes "You are very strong.";
mes "These are not many but let me give you a reward for your effort.";
completequest 7127;
- getitem 12323,50; //N_Fly_Wing
+ getitem N_Fly_Wing,50;
getexp 5000,100;
close;
} else {
@@ -1743,7 +1743,7 @@ new_5-3,105,41,3 duplicate(NvThief) Thief Guide#nv5 2_M_THIEFMASTER
mes "^8E2323Merchants can transform to a Blacksmith";
mes "^8E2323or an Alchemist^000000 as their second job.";
next;
- if (isequipped(2823) || countitem(2823)) {
+ if (isequipped(2823) || countitem(Merchant_Manual)) {
mes "[Merchant Guildsman]";
mes "I think you should test Merchant skills before you decide what to do.";
close;
@@ -1758,7 +1758,7 @@ new_5-3,105,41,3 duplicate(NvThief) Thief Guide#nv5 2_M_THIEFMASTER
mes "I will take other job manuals from you while I'm at it.";
next;
callfunc "F_NvErase";
- getitem 2823,1; //Merchant_Manual
+ getitem Merchant_Manual,1;
next;
mes "[Merchant Guildsman]";
mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window.";
@@ -1829,7 +1829,7 @@ new_5-3,105,41,3 duplicate(NvThief) Thief Guide#nv5 2_M_THIEFMASTER
mes "Alright! What about Phracon?";
mes "Phracon is a metallic element which you can use for refining weapons.";
completequest 7126;
- getitem 1010,7; //Phracon
+ getitem Phracon,7;
getexp 5000,100;
close;
} else {
@@ -1900,7 +1900,7 @@ new_5-3,109,41,3 duplicate(NvMerchant) Merchant Guide#nv5 4W_M_01
mes "Besides Hunters, Archers can transform to a Bard, if they are male.";
mes "They can transform to a Dancer, if they are female^000000.";
next;
- if (isequipped(2822) || countitem(2822)) {
+ if (isequipped(2822) || countitem(Archer_Manual)) {
mes "[Archer Guildsman]";
mes "I think you should test Archer skills before you decide what to do.";
mes "I can provide you our test skill manual.";
@@ -1917,7 +1917,7 @@ new_5-3,109,41,3 duplicate(NvMerchant) Merchant Guide#nv5 4W_M_01
mes "I will take the other job manuals from you while you test the Archer manual out.";
next;
callfunc "F_NvErase";
- getitem 2822,1; //Archer_Manual
+ getitem Archer_Manual,1;
next;
mes "[Archer Guildsman]";
mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window.";
@@ -2003,7 +2003,7 @@ new_5-3,113,41,3 duplicate(NvArcher) Archer Guide#nv5 4_F_JOB_HUNTER
mes "^8E2323Mages can transform to Wizards";
mes "^8E2323or Sages as their second job^000000.";
next;
- if (isequipped(2824) || countitem(2824)) {
+ if (isequipped(2824) || countitem(Mage_Manual)) {
mes "[Mage Guild Member]";
mes "I think you should test Mage skills before you decide what to do.";
mes "I can provide you with our test skill registration form.";
@@ -2020,7 +2020,7 @@ new_5-3,113,41,3 duplicate(NvArcher) Archer Guide#nv5 4_F_JOB_HUNTER
mes "I will take the other job registration forms and manuals from you.";
next;
callfunc "F_NvErase";
- getitem 2824,1; //Mage_Manual
+ getitem Mage_Manual,1;
next;
mes "[Mage Guild Member]";
mes "After equipping the Manual, open your Skill menu by pressing ALT+S.";
@@ -2083,7 +2083,7 @@ new_5-3,113,41,3 duplicate(NvArcher) Archer Guide#nv5 4_F_JOB_HUNTER
mes "Alright. I will give something...";
mes "Here are Novice Butterfly Wings, please take them.";
completequest 7124;
- getitem 12324,30; //N_Butterfly_Wing
+ getitem N_Butterfly_Wing,30;
getexp 5000,100;
close;
} else {
@@ -2457,13 +2457,13 @@ function script F_NvErase {
if (questprogress(7127)) erasequest 7127;
}
nude;
- setarray .@manuals[0],countitem(2819),countitem(2820),countitem(2821),countitem(2822),countitem(2823),countitem(2824);
- if (.@manuals[0]) delitem 2819,.@manuals[0]; //Swordman_Manual
- if (.@manuals[1]) delitem 2820,.@manuals[1]; //Thief_Manual
- if (.@manuals[2]) delitem 2821,.@manuals[2]; //Acolyte_Manual
- if (.@manuals[3]) delitem 2822,.@manuals[3]; //Archer_Manual
- if (.@manuals[4]) delitem 2823,.@manuals[4]; //Merchant_Manual
- if (.@manuals[5]) delitem 2824,.@manuals[5]; //Mage_Manual
+ setarray .@manuals[0],countitem(Swordman_Manual),countitem(Thief_Manual),countitem(Acolyte_Manual),countitem(Archer_Manual),countitem(Merchant_Manual),countitem(Mage_Manual);
+ if (.@manuals[0]) delitem Swordman_Manual,.@manuals[0];
+ if (.@manuals[1]) delitem Thief_Manual,.@manuals[1];
+ if (.@manuals[2]) delitem Acolyte_Manual,.@manuals[2];
+ if (.@manuals[3]) delitem Archer_Manual,.@manuals[3];
+ if (.@manuals[4]) delitem Merchant_Manual,.@manuals[4];
+ if (.@manuals[5]) delitem Mage_Manual,.@manuals[5];
return;
}
@@ -2607,10 +2607,10 @@ L_Supplies:
mes "[Hanson]";
mes "Free tickets for Kafra storage and transportation can be used for Kafra storage and teleport services.";
nov_3_swordman = 40;
- getitem 7059,20; //Cargo_Free_Ticket
- getitem 7060,30; //Warp_Free_Ticket
- getitem 2393,1; //N_Adventurer's_Suit
- getitem 13040,1; //N_Cutter
+ getitem Cargo_Free_Ticket,20;
+ getitem Warp_Free_Ticket,30;
+ getitem N_Adventurer's_Suit,1;
+ getitem N_Cutter,1;
next;
mes "[Hanson]";
mes "You will now";
diff --git a/npc/re/jobs/novice/supernovice_ex.txt b/npc/re/jobs/novice/supernovice_ex.txt
index afb6eb8d4..132fd68ed 100644
--- a/npc/re/jobs/novice/supernovice_ex.txt
+++ b/npc/re/jobs/novice/supernovice_ex.txt
@@ -563,16 +563,16 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "[Nodor]";
mes "There are what I used to wear when I was younger,";
mes "but they are still good.";
- if (EXSUPNOV_Q_ == 3) getitem 2522,1; // Undershirt
+ if (EXSUPNOV_Q_ == 3) getitem Undershirt,1; // Undershirt
else if (EXSUPNOV_Q_ == 4) {
- getitem 2628,1; // Novice Armlet [1]
- getitem 2113,1; // Novice Shield [1]
- getitem 2416,1; // Novice Shoes [1]
- getitem 5119,1; // Super Novice Hat [1]
- getitem 2512,1; // Novice Manteau [1]
- getitem 2340,1; // Novice Breastplate [1]
+ getitem Novice_Armlet,1; // Novice Armlet [1]
+ getitem Novice_Shield,1; // Novice Shield [1]
+ getitem Novice_Shoes,1; // Novice Shoes [1]
+ getitem Super_Novice_Hat_,1; // Super Novice Hat [1]
+ getitem Novice_Manteau,1; // Novice Manteau [1]
+ getitem Novice_Breast,1; // Novice Breastplate [1]
}
- else getitem 2340,1; // Novice Breastplate [1]
+ else getitem Novice_Breast,1; // Novice Breastplate [1]
next;
select("Second-hand stuff, huh?");
mes "[Nodor]";
diff --git a/npc/re/jobs/repair.txt b/npc/re/jobs/repair.txt
index d264fa0c8..200fbf760 100644
--- a/npc/re/jobs/repair.txt
+++ b/npc/re/jobs/repair.txt
@@ -34,7 +34,7 @@
//=========================================================================
prt_in,38,104,4 script Valerie 4_F_VALKYRIE,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "I think you have too many items. Let's try it again after you take some out.";
close;
}
@@ -95,7 +95,7 @@ prt_in,38,104,4 script Valerie 4_F_VALKYRIE,{
mes "Please unequip the Magical Stone or Magical Stone Ring and try again.";
close;
}
- if (countitem(2796) || countitem(2797)) {
+ if (countitem(Magical_Stone) || countitem(Magical_Stone_)) {
if (isequipped(2796) || isequipped(2797)) {
mes "[Valerie]";
mes "Please talk to me after your replace all Magical Stones.";
diff --git a/npc/re/merchants/3rd_trader.txt b/npc/re/merchants/3rd_trader.txt
index c9737cdb5..83c73ad5b 100644
--- a/npc/re/merchants/3rd_trader.txt
+++ b/npc/re/merchants/3rd_trader.txt
@@ -37,7 +37,7 @@
//== Poison Herb Merchants (Guillotine Cross) ==============
- script ::phs -1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -102,7 +102,7 @@ lhz_in02,16,205,4 duplicate(phs) Poison Herb Merchant#lhz 4_F_YUNYANG
//== Rune Stone Merchants (Rune Knight) ====================
- script ::runesale -1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -169,7 +169,7 @@ prontera,168,228,3 duplicate(runesale) Rune Merchant#prt 4_M_YURI
//== Rare Herb Merchants (Guillotine Cross) ================
job3_guil01,91,93,3 script Rare Herb Collector 1_M_03,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -220,7 +220,7 @@ job3_guil01,91,93,3 script Rare Herb Collector 1_M_03,{
mes "Good. I've received the money and the special item.";
delitem .@item, .@amount;
Zeny -= .@total;
- getitem 709, .@amount; //Izidor
+ getitem Izidor, .@amount;
close;
}
}
@@ -231,7 +231,7 @@ job3_guil01,91,93,3 script Rare Herb Collector 1_M_03,{
//== Point Merchants (Sorcerer) ============================
- script ::pss -1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
diff --git a/npc/re/merchants/alchemist.txt b/npc/re/merchants/alchemist.txt
index 6dc267a78..fe67e6eb2 100644
--- a/npc/re/merchants/alchemist.txt
+++ b/npc/re/merchants/alchemist.txt
@@ -62,7 +62,7 @@ alde_alche,31,186,3 script Craft Book Merchant#alde 4_M_ALCHE_D,{
mes "Please be safe on your travels.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Craft Book Merchant]";
mes "I'm sorry, but your inventory is almost full.";
mes "Please empty your inventory first.";
diff --git a/npc/re/merchants/card_separation.txt b/npc/re/merchants/card_separation.txt
index 53430f7f2..ecd4f1fdd 100644
--- a/npc/re/merchants/card_separation.txt
+++ b/npc/re/merchants/card_separation.txt
@@ -35,7 +35,7 @@
- script ::CardSeparation_mal -1,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Let's try to continue after reducing those objects.";
close;
}
@@ -205,8 +205,8 @@
next;
.@menu$ = "Next time...:"+
((Zeny >= 1000000)?"Use 1,000,000z (Do not use special item):":"^999999Use 1,000,000z (Insufficient)^000000:")+
- ((countitem(6441))?"Use Premium Lubricant:":"^999999Premium Lubricant (Insufficient)^000000:")+
- ((countitem(6440))?"Use Ordinary Lubricant":"^999999Ordinary Lubricant (Insufficient)^000000");
+ ((countitem(High_RankLubricant))?"Use Premium Lubricant:":"^999999Premium Lubricant (Insufficient)^000000:")+
+ ((countitem(General_Lubricant))?"Use Ordinary Lubricant":"^999999Ordinary Lubricant (Insufficient)^000000");
switch(select(.@menu$)) {
case 1:
mes .@n$;
@@ -232,7 +232,7 @@
Zeny -= 1000000;
break;
case 3:
- if (countitem(6441) == 0) {
+ if (countitem(High_RankLubricant) == 0) {
mes .@n$;
mes "You don't have Premium Lubricant.";
close;
@@ -248,10 +248,10 @@
.@sf_c_num = 75;
.@sf_r_num = 75;
.@sf_w_num = 75;
- delitem 6441,1; //High_RankLubricant
+ delitem High_RankLubricant,1;
break;
case 4:
- if (countitem(6440) == 0) {
+ if (countitem(General_Lubricant) == 0) {
mes .@n$;
mes "You don't have Ordinary Lubricant.";
close;
@@ -267,7 +267,7 @@
.@sf_c_num = 75;
.@sf_r_num = 150;
.@sf_w_num = 150;
- delitem 6440,1; //General_Lubricant
+ delitem General_Lubricant,1;
break;
}
} else {
@@ -280,7 +280,7 @@
mes "Whenever you need the work, visit me here.";
close;
case 2:
- if (countitem(6443) == 0) {
+ if (countitem(Sillit_Pong_Bottle) == 0) {
mes .@n$;
mes "You don't have Sillit Pong.";
close;
@@ -305,7 +305,7 @@
.@sf_c_num = 60;
.@sf_r_num = 60;
.@sf_w_num = 60;
- delitem 6443,1; //Sillit_Pong_Bottle
+ delitem Sillit_Pong_Bottle,1;
break;
}
}
diff --git a/npc/re/merchants/catalog.txt b/npc/re/merchants/catalog.txt
index 8f3178531..5267a20b5 100644
--- a/npc/re/merchants/catalog.txt
+++ b/npc/re/merchants/catalog.txt
@@ -36,7 +36,7 @@
//=========================================================================
moc_para01,22,16,5 script Catalog Magician#catal01 4_M_BIBI,{
- if (!checkweight(1301,3)) {
+ if (!checkweight(Axe,3)) {
mes "- You have too many items. Please make space. -";
close;
}
@@ -97,7 +97,7 @@ moc_para01,22,16,5 script Catalog Magician#catal01 4_M_BIBI,{
}
mes "Ok, here you go.";
Zeny -= .@sell;
- getitem 12580,.@input; //Vending_Search_Scroll
+ getitem Vending_Search_Scroll,.@input;
close;
case 2:
mes "[Catalog Magician]";
diff --git a/npc/re/merchants/coin_exchange.txt b/npc/re/merchants/coin_exchange.txt
index acb879174..2e09a9a9d 100644
--- a/npc/re/merchants/coin_exchange.txt
+++ b/npc/re/merchants/coin_exchange.txt
@@ -37,7 +37,7 @@
//== Malangdo ==============================================
malangdo,220,167,5 script Coin Exchanger CX-1 2_VENDING_MACHINE1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Let's try to continue after reducing those objects.";
close;
}
@@ -128,7 +128,7 @@ malangdo,220,167,5 script Coin Exchanger CX-1 2_VENDING_MACHINE1,{
}
malangdo,218,165,5 script Special Vending Machine 2_DROP_MACHINE,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Let's try to continue after reducing those objects.";
close;
}
@@ -172,17 +172,17 @@ L_AddItem:
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)
- .@ven_menu$ = "^999999Silvervine Fruit (missing "+(.@cost - countitem(6417))+")^000000";
+ if (countitem(Silvervine) < .@cost)
+ .@ven_menu$ = "^999999Silvervine Fruit (missing "+(.@cost - countitem(Silvervine))+")^000000";
else
- .@ven_menu$ = "Purchase - Silvervine Fruit (have "+countitem(6417)+")";
+ .@ven_menu$ = "Purchase - Silvervine Fruit (have "+countitem(Silvervine)+")";
switch(select("Stop:"+.@ven_menu$)) {
case 1:
mes "[Special Vending Machine]";
mes "Thank you for coming.";
close;
case 2:
- if (countitem(6417) < .@cost) {
+ if (countitem(Silvervine) < .@cost) {
mes "[Special Vending Machine]";
mes "Not enough Silvervine Fruit.";
mes "Closing the transaction.";
@@ -191,14 +191,14 @@ L_AddItem:
}
mes "[Special Vending Machine]";
mes "The transaction is completed. Thank you for coming.";
- delitem 6417,.@cost; //Silvervine
+ delitem Silvervine,.@cost;
getitem getarg(.@i*3+1),1;
close;
}
}
malangdo,236,179,5 script Dark Merchant K 4_CAT_REST,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "It seems you have too much in your inventory. Let's try again after getting rid of some of your belongings.";
close;
}
@@ -214,7 +214,7 @@ malangdo,236,179,5 script Dark Merchant K 4_CAT_REST,{
while(1) {
.@menu$ = "";
for(.@i = 0; .@i<getarraysize(.@coin_amount); ++.@i) {
- if (countitem(6420) >= .@coin_amount[.@i])
+ if (countitem(Cgrade_Coin) >= .@coin_amount[.@i])
.@menu$ += "Exchange "+(.@coin_amount[.@i]/10)+" Mora Coin:";
else
.@menu$ += "^aaaaaaExchange "+(.@coin_amount[.@i]/10)+" Mora Coin (Not Enough)^000000:";
@@ -225,13 +225,13 @@ malangdo,236,179,5 script Dark Merchant K 4_CAT_REST,{
mes "Let's exchange some other time.";
close;
}
- if (countitem(6420) < .@coin_amount[.@i]) {
+ if (countitem(Cgrade_Coin) < .@coin_amount[.@i]) {
mes "[Merchant K]";
mes "You need ^ff0000"+.@coin_amount[.@i]+"^000000 C Grade Coin to perform the exchange. But you don't seem to have enough now.";
close;
}
- delitem 6420,.@coin_amount[.@i]; //Cgrade_Coin
- getitem 6380,.@coin_amount[.@i]/10; //Mora_Coin
+ delitem Cgrade_Coin,.@coin_amount[.@i];
+ getitem Mora_Coin,.@coin_amount[.@i]/10;
mes "[Merchant K]";
mes "C Grade Coin ^003399"+.@coin_amount[.@i]+"^000000 well received."; //FIXME: Dialogue.
mes "Exchanged to ^003399"+(.@coin_amount[.@i]/10)+"^000000 Mora Coin.";
@@ -243,7 +243,7 @@ malangdo,236,179,5 script Dark Merchant K 4_CAT_REST,{
}
malangdo,233,180,3 script Dark MachineTX100 2_VENDING_MACHINE1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "It seems you have too much in your inventory. Let's try again after getting rid of some of your belongings.";
close;
}
@@ -364,7 +364,7 @@ malangdo,233,180,3 script Dark MachineTX100 2_VENDING_MACHINE1,{
}
malangdo,175,145,4 script Can Agency Guard 4_CAT_MERMASTER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You seem to have too many items. Give it a try after sorting out the item kinds.";
close;
}
@@ -437,8 +437,8 @@ malangdo,175,145,4 script Can Agency Guard 4_CAT_MERMASTER,{
close;
}
}
- delitem 12633,.@count; //Malang_Cat_Can
- getitem 6422,.@count*3; //Egrade_Coin
+ delitem 12633,.@count;
+ getitem Egrade_Coin,.@count*3;
mes "[Can Agency Guard]";
mes "Exchanged "+.@count+" Malangdo Cat Can to "+(.@count*3)+" E Class Coin. Check it out.";
close;
@@ -491,7 +491,7 @@ function script F_mal_coin {
next;
switch(select("Yes:No")) {
case 1:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes getarg(1);
mes "It seems that there are too many items in your inventory.";
mes "Please make space and come back again~";
diff --git a/npc/re/merchants/diamond.txt b/npc/re/merchants/diamond.txt
index 0ea3b0488..95f8d7774 100644
--- a/npc/re/merchants/diamond.txt
+++ b/npc/re/merchants/diamond.txt
@@ -64,7 +64,7 @@
next;
.@menu$ = "^FF82FF'17 Carat Diamond'^000000?";
- if (countitem(6024))
+ if (countitem(17Carat_Dia))
.@menu$ += ":Exchange my 17 Carat Diamond for zeny...";
switch(select(.@menu$)) {
diff --git a/npc/re/merchants/enchan_mal.txt b/npc/re/merchants/enchan_mal.txt
index 272e4ed75..3007c9ee4 100644
--- a/npc/re/merchants/enchan_mal.txt
+++ b/npc/re/merchants/enchan_mal.txt
@@ -36,7 +36,7 @@
malangdo,213,167,4 script Mayomayo#mal 4_CAT_3COLOR,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of objects. Let's try to continue after reducing those objects.";
close;
}
@@ -627,7 +627,7 @@ L_Socket:
mes "If you change your mind, come back anytime.";
close;
}
- if (countitem(6417) == 0) {
+ if (countitem(Silvervine) == 0) {
mes "[Mayomayo]";
mes "I'm sorry. You don't have Silvervine Fruit. Please check your inventory again?";
close;
@@ -645,7 +645,7 @@ L_Socket:
specialeffect2 EF_REPAIRWEAPON;
mes "[Mayomayo]";
mes "Initialize the enchant effect from the equipment.";
- delitem 6417,1; //Silvervine
+ delitem Silvervine,1;
delequip EQI_HAND_R;
// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@equip_card[3]
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!....";
diff --git a/npc/re/merchants/enchan_upg.txt b/npc/re/merchants/enchan_upg.txt
index e8ba1c274..67ad2c773 100644
--- a/npc/re/merchants/enchan_upg.txt
+++ b/npc/re/merchants/enchan_upg.txt
@@ -35,7 +35,7 @@
prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You are carrying too many items, please reduce it and come back again!";
close;
}
@@ -65,7 +65,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{
mes "Else, I will not enchant for you....";
close;
case 2:
- if (!countitem(6484)) {
+ if (!countitem(Enchant_Book)) {
mes "[Devil Enchant Master]";
mes "Are you listening to me? I will only do for you if you bring the Enchant Book!";
close;
@@ -109,7 +109,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{
.@equip_refine = getequiprefinerycnt(.@part);
if (.@select == 1) {
- if (!countitem(6484)) {
+ if (!countitem(Enchant_Book)) {
mes "Are you listening to me? I will only do for you if you bring the Enchant Book!";
close;
}
@@ -231,7 +231,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{
mes "This item has been enchanted!";
close;
}
- if (!countitem(6484)) {
+ if (!countitem(Enchant_Book)) {
mes "Are you listening to me? I will only do for you if you bring the Enchant Book!";
close;
}
@@ -244,7 +244,7 @@ prt_in,28,73,3 script Devil Enchant Master#prq 1_M_SMITH,{
specialeffect EF_REPAIRWEAPON;
mes "The slot ^9900004^000000 has been enchanted!";
}
- delitem 6484,1; //Enchant_Book
+ delitem Enchant_Book,1;
delequip .@part;
// GetNonSlotItemSock2 .@equip_refine .@equip_id .@equip_card[0] .@equip_card[1] .@equip_card[2] .@enchant
diff --git a/npc/re/merchants/flute.txt b/npc/re/merchants/flute.txt
index 254c10bd9..9a2736fb1 100644
--- a/npc/re/merchants/flute.txt
+++ b/npc/re/merchants/flute.txt
@@ -74,7 +74,7 @@
close;
}
if (Zeny >= .@price) {
- if (countitem(12848) >= 1) {
+ if (countitem(Falcon_Flute) >= 1) {
mes "[Falcon Flute Trader]";
mes "As I can see you already have a Falcon Flute!";
mes "Don't worry, my young friend, once you've purchased the Falcon Flute you won't need to do so again";
@@ -85,7 +85,7 @@
mes "Here, take this flute.";
mes "With it you can whistle for your Falcon from anywhere.";
Zeny -= .@price;
- getitem 12848,1; //Falcon_Flute
+ getitem Falcon_Flute,1;
next;
mes "[Falcon Flute Trader]";
mes "Just a reminder.";
@@ -110,7 +110,7 @@ pay_arche,91,134,3 duplicate(fflute) Falcon Flute Trader#fft2 1_M_BARD
tur_dun01,89,170,5 script Expert Flute Crafter 1_M_ORIENT01,{
if (Class == Job_Ranger || Class == Job_Ranger_T || Class == Job_Baby_Ranger) {
- if (countitem(6124)) {
+ if (countitem(Wolf's_Flute)) {
mes "[Expert Flute Crafter]";
mes "The Wolf Flute you have is crafted by myself, with wood.";
mes "You can come back here and find me if you lose your Wolf flute!";
@@ -126,7 +126,7 @@ tur_dun01,89,170,5 script Expert Flute Crafter 1_M_ORIENT01,{
next;
switch(select("Please give me a new Wolf Flute.:No.")) {
case 1:
- if (countitem(7150) && Zeny >= 100000) {
+ if (countitem(Bamboo_Cut) && Zeny >= 100000) {
mes "[Expert Flute Crafter]";
mes "Have you brought all the materials?";
mes "Wow! All your materials are not bad!";
@@ -135,9 +135,9 @@ tur_dun01,89,170,5 script Expert Flute Crafter 1_M_ORIENT01,{
mes "[Expert Flute Crafter]";
mes "Here's the new Wolf Flute.";
mes "Hope you are ready to use it.";
- delitem 7150,1; //Bamboo_Cut
+ delitem Bamboo_Cut,1;
Zeny -= 100000;
- getitem 6124,1; //Wolf's_Flute
+ getitem Wolf's_Flute,1;
close;
}
mes "[Expert Flute Crafter]";
diff --git a/npc/re/merchants/ninja_craftsman.txt b/npc/re/merchants/ninja_craftsman.txt
index d49ea7256..79f4be69e 100644
--- a/npc/re/merchants/ninja_craftsman.txt
+++ b/npc/re/merchants/ninja_craftsman.txt
@@ -128,7 +128,7 @@ L_Menu:
mes "Looks like you need more time to decide.";
close;
}
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Hold on!! -";
mes "- You cannot receive items -";
mes "- because you carry too much. -";
@@ -298,7 +298,7 @@ L_Menu:
mes "Think carefully~~";
close;
}
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Hold on!! -";
mes "- You cannot receive items -";
mes "- because you carry too much. -";
diff --git a/npc/re/merchants/quivers.txt b/npc/re/merchants/quivers.txt
index 51bea1092..03957962b 100644
--- a/npc/re/merchants/quivers.txt
+++ b/npc/re/merchants/quivers.txt
@@ -35,7 +35,7 @@
//=========================================================================
mora,106,117,3 script Quiver Maker#mora 4_M_RAFLE_GR,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Quiver Maker]";
mes "You have too many things with you.";
mes "Make some space in your inventory and come back. I'll tell you something interesting.";
diff --git a/npc/re/merchants/refine.txt b/npc/re/merchants/refine.txt
index ce64063b7..db42f01cf 100644
--- a/npc/re/merchants/refine.txt
+++ b/npc/re/merchants/refine.txt
@@ -349,7 +349,7 @@ function script refinenew {
//== Ori/Elu to Carnium/Bradium Refiners ===================
- script Austri#ref -1,{
- 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. -";
diff --git a/npc/re/merchants/ticket_refiner.txt b/npc/re/merchants/ticket_refiner.txt
index 3242c0405..bfa983b98 100644
--- a/npc/re/merchants/ticket_refiner.txt
+++ b/npc/re/merchants/ticket_refiner.txt
@@ -37,9 +37,9 @@
prontera,184,177,6 script Refine Master 4_M_REPAIR,{
disable_items;
- if (countitem(6238) || countitem(6228) || countitem(6229) || countitem(6230) || countitem(6231) || countitem(6456))
+ if (countitem(Guarantee_Weapon_11Up) || countitem(Guarantee_Weapon_9Up) || countitem(Guarantee_Weapon_8Up) || countitem(Guarantee_Weapon_7Up) || countitem(Guarantee_Weapon_6Up) || countitem(Guarantee_Weapon_5Up))
.@bWeaponUp = 1;
- if (countitem(6239) || countitem(6232) || countitem(6233) || countitem(6234) || countitem(6235) || countitem(6457))
+ if (countitem(Guarantee_Armor_11Up) || countitem(Guarantee_Armor_9Up) || countitem(Guarantee_Armor_8Up) || countitem(Guarantee_Armor_7Up) || countitem(Guarantee_Armor_6Up) || countitem(Guarantee_Armor_5Up))
.@bArmorUp = 1;
if (!.@bWeaponUp && !.@bArmorUp) {
mes "[Refine Master]";
diff --git a/npc/re/quests/cupet.txt b/npc/re/quests/cupet.txt
index 8db51c110..04c9b7303 100644
--- a/npc/re/quests/cupet.txt
+++ b/npc/re/quests/cupet.txt
@@ -187,7 +187,7 @@ function script cute_pet_manager {
dispbottom "Hunt ID2: " + .@hunt_id2;
dispbottom "Hunt Amount2: " + .@hunt_amount2;
if (.@hunt_id2) { .@hunt2_count = countitem(.@hunt_id2); }
- if (countitem(.@hunt_id) >= .@hunt_amount && countitem(6083) > 0 && .@hunt2_count >= .@hunt_amount2) {
+ if (countitem(.@hunt_id) >= .@hunt_amount && countitem(Dolly_Capsule) > 0 && .@hunt2_count >= .@hunt_amount2) {
mes "[Cute Pet Manager]";
mes "Ah, you have gathered all items";
mes "with your friends. You can now";
diff --git a/npc/re/quests/eden/11-25.txt b/npc/re/quests/eden/11-25.txt
index 1dee3275b..a4d376650 100644
--- a/npc/re/quests/eden/11-25.txt
+++ b/npc/re/quests/eden/11-25.txt
@@ -35,7 +35,7 @@
//=========================================================================
moc_para01,36,38,3 script Mission [11 - 25]#Tuto 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "- You need to have an -";
mes "- ^4d4dff'Eden Group Mark'^000000 -";
mes "- to receive these missions. -";
diff --git a/npc/re/quests/eden/26-40.txt b/npc/re/quests/eden/26-40.txt
index ec32d91e0..f106eb059 100644
--- a/npc/re/quests/eden/26-40.txt
+++ b/npc/re/quests/eden/26-40.txt
@@ -35,7 +35,7 @@
//=========================================================================
moc_para01,38,38,3 script Mission [26 - 40] 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "You are not a qualified member. You can not use the bulletin board.";
close;
}
@@ -118,7 +118,7 @@ L_Quest:
}
geffen,103,42,5 script Sponiac 4W_M_03,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Sponiac]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -168,7 +168,7 @@ L_Quest:
next;
mes "[Sponiac]";
mes "Here it is. Thank you very much. God bless you!";
- getitem 569,getarg(4); //Novice_Potion
+ getitem Novice_Potion,getarg(4);
getexp getarg(2),getarg(3);
erasequest getarg(0);
close;
@@ -198,7 +198,7 @@ L_Quest:
}
moc_ruins,173,55,3 script Dieshin Man 4_M_ORIENT02,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Dieshin Man]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -240,7 +240,7 @@ L_Quest:
mes "Please check your Quest Window by pressing 'alt + u'.";
close;
}
- if (countitem(6218) > 0) {
+ if (countitem(Disin_Delivery_Box) > 0) {
mes "[Dieshin Man]";
mes "Wait, but you already have a delivery box.";
next;
@@ -277,12 +277,12 @@ L_Quest:
next;
mes "[Dieshin Man]";
mes "If you forgot where to make the delivery, then please check the Quest Window by pressing 'alt + u'.";
- getitem 6218,1; //Disin_Delivery_Box
+ getitem Disin_Delivery_Box,1;
close;
}
pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Zoologist]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -312,7 +312,7 @@ pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{
mes "I am waiting for a special delivery.";
close;
}
- if (countitem(6218) > 0) {
+ if (countitem(Disin_Delivery_Box) > 0) {
mes "[Zoologist]";
mes "Oh ho! Yes! That one!";
next;
@@ -328,9 +328,9 @@ pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{
next;
mes "[Zoologist]";
mes "Well done. Good Job! Thank you so much! Here is a little gift for you.";
- delitem 6218,1; //Disin_Delivery_Box
+ delitem Disin_Delivery_Box,1;
erasequest 8271;
- getitem 569,100; //Novice_Potion
+ getitem Novice_Potion,100;
getexp 1000,0;
close;
}
@@ -347,7 +347,7 @@ pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{
}
prt_fild03,30,254,3 script Entomologist 4_M_01,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Entomologist]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -377,7 +377,7 @@ prt_fild03,30,254,3 script Entomologist 4_M_01,{
mes "I am waiting for a special delivery.";
close;
}
- if (countitem(6218) > 0) {
+ if (countitem(Disin_Delivery_Box) > 0) {
mes "[Entomologist]";
mes "Oh ho! Yes! That one!";
next;
@@ -393,9 +393,9 @@ prt_fild03,30,254,3 script Entomologist 4_M_01,{
next;
mes "[Entomologist]";
mes "Well done. Good Job! Thank you so much! Here is a little gift for you.";
- delitem 6218,1; //Disin_Delivery_Box
+ delitem Disin_Delivery_Box,1;
erasequest 8272;
- getitem 569,100; //Novice_Potion
+ getitem Novice_Potion,100;
getexp 1000,0;
close;
}
@@ -412,7 +412,7 @@ prt_fild03,30,254,3 script Entomologist 4_M_01,{
}
xmas_fild01,92,57,3 script Biologist 4W_M_01,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Biologist]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -442,7 +442,7 @@ xmas_fild01,92,57,3 script Biologist 4W_M_01,{
mes "I am waiting for a special delivery.";
close;
}
- if (countitem(6218) > 0) {
+ if (countitem(Disin_Delivery_Box) > 0) {
mes "[Biologist]";
mes "Oh ho! Yes! That one!";
next;
@@ -458,9 +458,9 @@ xmas_fild01,92,57,3 script Biologist 4W_M_01,{
next;
mes "[Biologist]";
mes "Well done. Good Job! Thank you so much! Here is a little gift for you.";
- delitem 6218,1; //Disin_Delivery_Box
+ delitem Disin_Delivery_Box,1;
erasequest 8273;
- getitem 569,100; //Novice_Potion
+ getitem Novice_Potion,100;
getexp 1000,0;
close;
}
@@ -477,7 +477,7 @@ xmas_fild01,92,57,3 script Biologist 4W_M_01,{
}
payon,179,66,3 script Dashia 4_M_RACHMAN1,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) {
mes "[Dashia]";
mes "Why are you carrying so many items?";
mes "Are you in a training course or something?";
@@ -507,10 +507,10 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
switch(select("Gather Bones:Gather Animal Skin:Gather Peelings:Gather Tails:Gather Cookies:Gather Mustaches")) {
case 1:
callsub L_Quest,8274;
- if (countitem(932) > 9) {
+ if (countitem(Skel_Bone) > 9) {
callsub L_Reward;
- delitem 932,10; //Skel_Bone
- getitem 569,100; //Novice_Potion
+ delitem Skel_Bone,10;
+ getitem Novice_Potion,100;
getexp 1000,100;
erasequest 8274;
close;
@@ -530,11 +530,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
break;
case 2:
callsub L_Quest,8275;
- if ((countitem(948) > 9) && (countitem(919) > 4)) {
+ if ((countitem(Bear's_Foot) > 9) && (countitem(Animal's_Skin) > 4)) {
callsub L_Reward;
- getitem 569,100; //Novice_Potion
- delitem 948,10; //Bear's_Foot
- delitem 919,5; //Animal's_Skin
+ getitem Novice_Potion,100;
+ delitem Bear's_Foot,10;
+ delitem Animal's_Skin,5;
getexp 1000,100;
erasequest 8275;
close;
@@ -555,11 +555,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
break;
case 3:
callsub L_Quest,8276;
- if ((countitem(955) > 19) && (countitem(910) > 19)) {
+ if ((countitem(Worm_Peelings) > 19) && (countitem(Garlet) > 19)) {
callsub L_Reward;
- delitem 955,20; //Worm_Peelings
- delitem 910,20; //Garlet
- getitem 569,100; //Novice_Potion
+ delitem Worm_Peelings,20;
+ delitem Garlet,20;
+ getitem Novice_Potion,100;
getexp 1000,100;
erasequest 8276;
close;
@@ -582,12 +582,12 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
break;
case 4:
callsub L_Quest,8277;
- if ((countitem(942) > 9) && (countitem(1026) > 9) && (countitem(945) > 9)) {
+ if ((countitem(Yoyo_Tail) > 9) && (countitem(Acorn) > 9) && (countitem(Raccoon_Leaf) > 9)) {
callsub L_Reward;
- delitem 942,10; //Yoyo_Tail
- delitem 1026,10; //Acorn
- delitem 945,10; //Raccoon_Leaf
- getitem 569,150; //Novice_Potion
+ delitem Yoyo_Tail,10;
+ delitem Acorn,10;
+ delitem Raccoon_Leaf,10;
+ getitem Novice_Potion,150;
getexp 1000,200;
erasequest 8277;
close;
@@ -611,11 +611,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
break;
case 5:
callsub L_Quest,8278;
- if ((countitem(538) > 4) && (countitem(539) > 0)) {
+ if ((countitem(Well_Baked_Cookie) > 4) && (countitem(Piece_Of_Cake) > 0)) {
callsub L_Reward;
- delitem 538,5; //Well_Baked_Cookie
- delitem 539,1; //Piece_Of_Cake
- getitem 569,150; //Novice_Potion
+ delitem Well_Baked_Cookie,5;
+ delitem Piece_Of_Cake,1;
+ getitem Novice_Potion,150;
getexp 1000,200;
erasequest 8278;
close;
@@ -637,11 +637,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{
break;
case 6:
callsub L_Quest,8279;
- if ((countitem(1017) > 4) && (countitem(1018) > 2)) {
+ if ((countitem(Moustache_Of_Mole) > 4) && (countitem(Nail_Of_Mole) > 2)) {
callsub L_Reward;
- delitem 1017,5; //Moustache_Of_Mole
- delitem 1018,3; //Nail_Of_Mole
- getitem 569,150; //Novice_Potion
+ delitem Moustache_Of_Mole,5;
+ delitem Nail_Of_Mole,3;
+ getitem Novice_Potion,150;
getexp 1000,200;
erasequest 8279;
close;
diff --git a/npc/re/quests/eden/41-55.txt b/npc/re/quests/eden/41-55.txt
index 5eaf56a62..625189c7b 100644
--- a/npc/re/quests/eden/41-55.txt
+++ b/npc/re/quests/eden/41-55.txt
@@ -35,11 +35,11 @@
//=========================================================================
moc_para01,40,38,3 script Mission [41 - 55] 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "You are not an Eden group member. You are not qualified to access the bulletin board.";
close;
}
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 1000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 1000) {
mes "^008800Wait a sec!!";
mes "You cannot receive any more items because you're carrying too many items. Please try again after you lighten up.^000000";
close;
diff --git a/npc/re/quests/eden/56-70.txt b/npc/re/quests/eden/56-70.txt
index 4c77e1a25..01f28c8c1 100644
--- a/npc/re/quests/eden/56-70.txt
+++ b/npc/re/quests/eden/56-70.txt
@@ -36,7 +36,7 @@
//=========================================================================
moc_para01,42,38,3 script Mission [56 - 70] 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "To get these missions, I need to Join the Eden Group first. I must find Secretary Lime Evenor and become a member.";
close;
}
diff --git a/npc/re/quests/eden/71-85.txt b/npc/re/quests/eden/71-85.txt
index c4f75c122..36108afec 100644
--- a/npc/re/quests/eden/71-85.txt
+++ b/npc/re/quests/eden/71-85.txt
@@ -35,7 +35,7 @@
//=========================================================================
moc_para01,44,38,3 script Mission [71 - 85] 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "- Only members of the -";
mes "- Eden Group can read -";
mes "- this bulletin board. -";
@@ -74,7 +74,7 @@ moc_para01,44,38,3 script Mission [71 - 85] 4_BOARD3,{
if (questprogress(.@quests[.@i],HUNTING) == 2)
.@complete[getarraysize(.@complete)] = .@quests[.@i];
}
- if (questprogress(5057) && countitem(7187) >= 30)
+ if (questprogress(5057) && countitem(Festival_Mask) >= 30)
.@complete[getarraysize(.@complete)] = 5057;
if (getarraysize(.@complete)) {
mes "You have quests in progress.";
@@ -194,7 +194,7 @@ L_Quest:
mes "'"+.@name$+"' completed. Do you want to turn it in and receive your reward?";
next;
if(select("Turn in quest.:Cancel.") == 1) {
- if (.@quest == 5057) delitem 7187,30; //Festival_Mask
+ if (.@quest == 5057) delitem Festival_Mask,30;
erasequest .@quest;
getexp .@exp,0;
mes "You've received EXP for finishing the quest.";
@@ -207,7 +207,7 @@ L_Quest:
// Quest 5057 is the only collection quest, so separate conditions are unnecessary.
if (!questprogress(5057))
.@hunting = 0;
- else if (countitem(7187) >= 30)
+ else if (countitem(Festival_Mask) >= 30)
.@hunting = 2;
} else {
.@hunting = questprogress(.@quest,HUNTING);
@@ -221,7 +221,7 @@ L_Quest:
mes "You have completed the quest.";
next;
if(select("Turn in quest.:Cancel.") == 1) {
- if (.@quest == 5057) delitem 7187,30; //Festival_Mask
+ if (.@quest == 5057) delitem Festival_Mask,30;
erasequest .@quest;
getexp .@exp,0;
mes "You've received EXP for finishing the quest.";
diff --git a/npc/re/quests/eden/86-90.txt b/npc/re/quests/eden/86-90.txt
index ac1adabd8..14f8a56f2 100644
--- a/npc/re/quests/eden/86-90.txt
+++ b/npc/re/quests/eden/86-90.txt
@@ -41,7 +41,7 @@
//=========================================================================
moc_para01,48,175,3 script 86-90 Mission Board 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "Wait a minute!";
mes "-You need to have an-";
mes "-^4d4dff'Eden Group Mark'^000000-";
diff --git a/npc/re/quests/eden/91-99.txt b/npc/re/quests/eden/91-99.txt
index 23e4a2b21..e5c82022d 100644
--- a/npc/re/quests/eden/91-99.txt
+++ b/npc/re/quests/eden/91-99.txt
@@ -41,7 +41,7 @@
//=========================================================================
moc_para01,48,177,3 script 91-99 Mission Board 4_BOARD3,{
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "Wait a minute!";
mes "-You need to have an-";
mes "-^4d4dff'Eden Group Mark'^000000-";
diff --git a/npc/re/quests/eden/eden_common.txt b/npc/re/quests/eden/eden_common.txt
index e539dbebb..da3974cd7 100644
--- a/npc/re/quests/eden/eden_common.txt
+++ b/npc/re/quests/eden/eden_common.txt
@@ -36,7 +36,7 @@
//=========================================================================
moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{
- if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) {
+ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) {
mes "- Wait a minute !! -";
mes "- Currently you're carrying -";
mes "- too many items with you. -";
@@ -67,7 +67,7 @@ moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{
next;
break;
case 2:
- if (countitem(6219) < 1) {
+ if (countitem(Para_Team_Mark) < 1) {
mes "[Lime Evenor]";
mes "You can be a Eden's member by simply registering with me.";
mes "Would you like to join Eden Group?";
@@ -106,7 +106,7 @@ moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{
next;
mes "[Lime Evenor]";
mes "Hopefully you can do great work as an Eden's member.";
- getitem 6219,1; //Para_Team_Mark
+ getitem Para_Team_Mark,1;
next;
break;
case 2:
@@ -179,7 +179,7 @@ moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{
}
break;
case 4:
- if (countitem(6219) > 0) {
+ if (countitem(Para_Team_Mark) > 0) {
mes "[Lime Evenor]";
mes "Would like to try some missions as an Eden member?";
next;
@@ -306,7 +306,7 @@ OnTouch:
}
moc_para01,47,39,3 script #warp_2_pass HIDDEN_NPC,{
- if (countitem(6219) > 0) {
+ if (countitem(Para_Team_Mark) > 0) {
mes "[Lime Evenor]";
mes "Oh, it is an exclusive place only for Eden's members.";
mes "If you are a member, you can come whenever you want!";
diff --git a/npc/re/quests/eden/eden_iro.txt b/npc/re/quests/eden/eden_iro.txt
index f7b8cb0f9..062c05d9c 100644
--- a/npc/re/quests/eden/eden_iro.txt
+++ b/npc/re/quests/eden/eden_iro.txt
@@ -124,7 +124,7 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{
mes "[Phelix]";
mes "Alright, let's see what ya got...";
next;
- if (countitem(909) < 3) {
+ if (countitem(Jellopy) < 3) {
mes "[Phelix]";
mes "Hmm, look dude, I said 3 Jellopies for 1 Carrot... got it?";
close;
@@ -135,10 +135,10 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{
next;
switch(select("As many as I can get, please.:I want to choose.:Never mind, I like my Jellopy.")) {
case 1:
- .@amount = countitem(909) / 3;
+ .@amount = countitem(Jellopy) / 3;
break;
case 2:
- .@available = countitem(909) / 3;
+ .@available = countitem(Jellopy) / 3;
mes "[Phelix]";
mes "How many do you want?";
mes "^ff0000You have enough for up to " + .@available + " Carrots.^000000";
@@ -161,7 +161,7 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{
mes "Don't bother me if you don't want to trade.";
close;
}
- if (checkweight(515,.@amount) == 0) {
+ if (checkweight(Carrot,.@amount) == 0) {
mes "[Phelix]";
mes "You are overweight.";
close;
@@ -169,8 +169,8 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{
mes "[Phelix]";
mes "There you go~! As I promised.";
mes "Try not to stuff yer face.";
- delitem 909,.@amount*3; //Jellopy
- getitem 515,.@amount; //Carrot
+ delitem Jellopy,.@amount*3;
+ getitem Carrot,.@amount;
end;
}
@@ -250,13 +250,13 @@ moc_para01,163,51,7 script Izaac#edco 4_M_04,{
mes "to an adventurer like you?";
close;
}
- if (checkweight(501,.@amount) == 0) { //custom check
+ if (checkweight(Red_Potion,.@amount) == 0) { //custom check
mes "[Izaac]";
mes "You are overweight.";
close;
}
delitem .@item,.@trade_amount;
- getitem 501,.@amount; //Red_Potion
+ getitem Red_Potion,.@amount;
mes "[Izaac]";
mes "There you go!";
mes "Check how many "+.@item$;
@@ -342,9 +342,9 @@ moc_para01,50,39,4 script Eve Natalia 4_F_SITDOWN,{
for(.@i = 0; .@i<.@amount; ++.@i) {
// Note: iRO lists item 6235 as "Safe to 7 Headgear Certificate", but it's Guarantee_Armor_6Up in our database.
if (rand(2))
- getitem 6230,1; //Guarantee_Weapon_7Up
+ getitem Guarantee_Weapon_7Up,1;
else
- getitem 6234,1; //Guarantee_Armor_7Up
+ getitem Guarantee_Armor_7Up,1;
}
close;
case 3:
@@ -389,7 +389,7 @@ moc_para01,48,184,2 script Gum & Manual Exchanger 2_DROP_MACHINE,{
mes "[Trader Machine]";
mes "I can give you 1 Battle Manual X3 for 1 Costume Corsair.";
next;
- if (countitem(19619) == 0) {
+ if (countitem(C_Corsair) == 0) {
mes "[Trader Machine]";
mes "You don't have a Costume Corsair hat to make that trade.";
close;
@@ -403,8 +403,8 @@ moc_para01,48,184,2 script Gum & Manual Exchanger 2_DROP_MACHINE,{
next;
mes "[Trader Machine]";
mes "The Machine has given you an item in return!";
- delitem 19619,1; //C_Corsair
- getitem 14545,1; //Battle_Manual_X3
+ delitem C_Corsair,1;
+ getitem Battle_Manual_X3,1;
close;
case 6:
close;
diff --git a/npc/re/quests/eden/eden_service.txt b/npc/re/quests/eden/eden_service.txt
index 433689d67..a4b1a8439 100644
--- a/npc/re/quests/eden/eden_service.txt
+++ b/npc/re/quests/eden/eden_service.txt
@@ -50,7 +50,7 @@
mes "3.Cabinet fee is";
mes " ^4d4dff500 zeny^000000!";
next;
- if (countitem(6219) > 0) {
+ if (countitem(Para_Team_Mark) > 0) {
mes "You need to insert zeny to use the cabinet.";
mes "Cost : 500 Zeny ";
mes "Would you like to use it?";
diff --git a/npc/re/quests/eden/eden_tutorial.txt b/npc/re/quests/eden/eden_tutorial.txt
index 6d7e91380..3abffc534 100644
--- a/npc/re/quests/eden/eden_tutorial.txt
+++ b/npc/re/quests/eden/eden_tutorial.txt
@@ -168,7 +168,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
setquest 9168;
close;
} else if (questprogress(9168) == 1) {
- if (checkweight(607,1) == 0) {
+ if (checkweight(Yggdrasilberry,1) == 0) {
if (MaxWeight - Weight < getiteminfo(607,6)) {
mes "[Tutorial Instructor]";
mes "You seemed to be sluggish with a lot of items";
@@ -259,7 +259,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
mes "come find and talk to me again.";
close;
} else if (questprogress(9169) == 1) {
- if (countitem(12580) == 0) {
+ if (countitem(Vending_Search_Scroll) == 0) {
mes "[Tutorial Instructor]";
mes "Hmm? So I noticed that";
mes "you haven't gone and picked up a";
@@ -302,7 +302,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
setquest 9170;
close;
} else if (questprogress(9170) == 1) {
- if (countitem(12580)) {
+ if (countitem(Vending_Search_Scroll)) {
mes "[Tutorial Instructor]";
mes "Hmm... It seems that you still have";
mes "the ^006400Universal Silver Catalog^000000 in your inventory.";
@@ -341,7 +341,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
setquest 9171;
close;
} else if (questprogress(9171) == 1) {
- if (countitem(909) < 10) {
+ if (countitem(Jellopy) < 10) {
mes "[Tutorial Instructor]";
mes "It seems you didn't bring";
mes "enough materials. Did you forget";
@@ -370,7 +370,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
close;
}
}
- if (checkweight(607,6) == 0) {
+ if (checkweight(Yggdrasilberry,6) == 0) {
if (MaxWeight - Weight < getiteminfo(607,6)) {
mes "[Tutorial Instructor]";
mes "Your inventory seems to be really full";
@@ -408,12 +408,12 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
next;
mes "[Tutorial Instructor]";
mes "There. The Enchant is done. You can't understand the the process by just watching me, so I'll let you look at the items themselves.";
- delitem 909,10; //Jellopy
+ delitem Jellopy,10;
completequest 9171;
setquest 9172;
getitem2 15033,1,1,0,0,0,0,0,4702; //Tutorial_Mattle[Strength3]
- getitem 15033,1; //Tutorial_Mattle
- getitem 15034,1; //Tutorial_Mattle_
+ getitem Tutorial_Mattle,1;
+ getitem Tutorial_Mattle_,1;
next;
mes "[Tutorial Instructor]";
mes "Those items cannot be";
@@ -423,7 +423,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
mes "give them back to me.";
close;
} else if (questprogress(9172) == 1) {
- if (countitem(15033) == 0 || countitem(15034) == 0) {
+ if (countitem(Tutorial_Mattle) == 0 || countitem(Tutorial_Mattle_) == 0) {
mes "[Tutorial Instructor]";
mes "What did you do with the Enchanted";
mes "items I lent to you to look at?";
@@ -589,7 +589,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{
}
moc_para01,32,179,4 script Tutorial Goal 4_F_KHELLY,{
- if (checkweight(608,7) == 0) {
+ if (checkweight(Seed_Of_Yggdrasil,7) == 0) {
if (MaxWeight - Weight < getiteminfo(608,7)) {
mes "[Tutorial Goal]";
mes "You seem to be overweight with items. Go put some stuff away then come back.";
@@ -637,10 +637,10 @@ moc_para01,32,179,4 script Tutorial Goal 4_F_KHELLY,{
mes "[Tutorial Goal]";
mes "I think it'll be useful to you during your adventures. I wish you luck on your future adventures~";
completequest 4166;
- getitem 510,5; //Blue_Herb
- getitem 511,5; //Green_Herb
- getitem 504,5; //White_Potion
- getitem 608,1; //Seed_Of_Yggdrasil
+ getitem Blue_Herb,5;
+ getitem Green_Herb,5;
+ getitem White_Potion,5;
+ getitem Seed_Of_Yggdrasil,1;
close;
} else if (questprogress(4166) == 2) {
mes "[Tutorial Goal]";
diff --git a/npc/re/quests/homun_s.txt b/npc/re/quests/homun_s.txt
index f0e8a70e6..708334731 100644
--- a/npc/re/quests/homun_s.txt
+++ b/npc/re/quests/homun_s.txt
@@ -36,7 +36,7 @@
//== Main NPCs =============================================
job3_gen01,12,44,3 script Viorel#job3_gen01 4_M_ALCHE_E,{
- if (countitem(6415)) {
+ if (countitem(Strange_Embryo)) {
if (Class == Job_Genetic || Class == Job_Genetic_T || Class == Job_Baby_Genetic) {
disable_items;
if (!questprogress(4159) && !questprogress(4160)) {
@@ -51,10 +51,10 @@ job3_gen01,12,44,3 script Viorel#job3_gen01 4_M_ALCHE_E,{
setquest 4154;
setquest 4159;
morphembryo;
- if (countitem(6415) == 0)
- getitem 6415,1; //Strange_Embryo
- else if (countitem(6415) > 1)
- delitem 6415, (countitem(6415) - 1); //Strange_Embryo
+ if (countitem(Strange_Embryo) == 0)
+ getitem Strange_Embryo,1;
+ else if (countitem(Strange_Embryo) > 1)
+ delitem Strange_Embryo, (countitem(Strange_Embryo) - 1);
warp "que_house_s",63,41;
end;
}
@@ -69,7 +69,7 @@ job3_gen01,12,44,3 script Viorel#job3_gen01 4_M_ALCHE_E,{
mes "Come back after you become a ^005DFFGenetic^000000 and have obtained a ^0000FFBioethics^000000.";
close;
} else {
- delitem 6415, countitem(6415); //Strange_Embryo
+ delitem Strange_Embryo, countitem(Strange_Embryo);
mes "[Viorel]";
mes "Wait, that embryo you have seems a little strange.";
next;
@@ -695,7 +695,7 @@ que_house_s,80,42,3 script Jeyna#homun_s 4_F_ALCHE_A,{
mes "In order to revert the process now, I need the Homunculus in its embryo form.";
next;
callsub L_CheckHomunculus;
- if (checkweight(6415,1) == 0) {
+ if (checkweight(Strange_Embryo,1) == 0) {
mes "[Jeyna]";
mes "But,";
mes "You don't have enough space to carry an ^0000FFembryo^000000.";
diff --git a/npc/re/quests/magic_books.txt b/npc/re/quests/magic_books.txt
index cf6a8a183..a9c2ece8d 100644
--- a/npc/re/quests/magic_books.txt
+++ b/npc/re/quests/magic_books.txt
@@ -35,7 +35,7 @@
//=========================================================================
geffen_in,176,105,4 script Master Velofos 1_M_WIZARD,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You're carrying too many items. Please make some room in your bag first.";
close;
}
@@ -289,7 +289,7 @@ geffen_in,176,105,4 script Master Velofos 1_M_WIZARD,{
}
geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You're carrying too many items. Please make some room in your bag first.";
close;
}
@@ -333,7 +333,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
mes "Your life is more important than anything else, you know?";
close;
}
- if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(1006) > 1) || (.@Payment == 3 && countitem(1097) > 49)) {
+ if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(Old_Magic_Book) > 1) || (.@Payment == 3 && countitem(Worn_Out_Page) > 49)) {
mes "What kind of Magic Book do you want?";
next;
.@i = select("Let me think.:Magic Book (Fire Bolt):Magic Book (Cold Bolt):Magic Book (Lightning Bolt)")-1;
@@ -349,14 +349,14 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
mes "Don't you know how many others would want the book you already have? It's a bit selfish to want more than one, you know.";
close;
}
- if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(1006) > 1) || (.@Payment == 3 && countitem(1097) > 49)) {
+ if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(Old_Magic_Book) > 1) || (.@Payment == 3 && countitem(Worn_Out_Page) > 49)) {
mes "The book's return date is written on the lending card on the back cover of the book.";
next;
mes "[Lea]";
mes "Please try not to lose or damage the book to avoid paying any extra charges.";
if (.@Payment == 1) Zeny -= 10000;
- else if (.@Payment == 2) delitem 1006,2; //Old_Magic_Book
- else delitem 1097,50; //Worn_Out_Page
+ else if (.@Payment == 2) delitem Old_Magic_Book,2;
+ else delitem Worn_Out_Page,50;
getitem 6188+.@i,1; //Magic_Book_FB, Magic_Book_CB, Magic_Book_LB
close;
}
@@ -377,7 +377,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
mes "Eluniums can be obtained from Hyeguns, Zombie Prisoners, Teddy Bears, Obsedians, and Loli Ruris. Or you can refine Rough Eluniums to Eluniums at the Forge in town, and that may be easier.";
close;
}
- if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(603) > 1) || (.@Payment == 3 && countitem(985) > 8)) {
+ if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(Old_Blue_Box) > 1) || (.@Payment == 3 && countitem(Elunium) > 8)) {
mes "What kind of Magic Book do you want?";
next;
.@i = select("Let me think.:Magic Book (Storm Gust):Magic Book (Lord of Vermillion):Magic Book (Meteor Storm):Magic Book (Thunderstorm):Magic Book (Jupitel Thunder):Magic Book (Water Ball):Magic Book (Heaven's Drive):Magic Book (Earth Spike)")-1;
@@ -394,14 +394,14 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
mes "Don't you know how many others would want the book you already have? It's a bit selfish to want more than one, you know.";
close;
}
- if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(603) > 1) || (.@Payment == 3 && countitem(985) > 8)) {
+ if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(Old_Blue_Box) > 1) || (.@Payment == 3 && countitem(Elunium) > 8)) {
mes "Thank you for your deposit. The book's return date is written on the lending card on the back cover of the book. Please try not to lose or damage the book and avoid paying compensation.";
next;
mes "[Lea]";
mes "The Intermediate and Superior Magic Books must be returned upon borrowing the Ultimate Magic Book. Remember that you're just borrowing them, so make sure you take good care of those books.";
if (.@Payment == 1) Zeny -= 50000;
- else if (.@Payment == 2) delitem 603,2; //Old_Blue_Box
- else delitem 985,9; //Elunium
+ else if (.@Payment == 2) delitem Old_Blue_Box,2;
+ else delitem Elunium,9;
getitem .@Books[.@i-1],1; //Magic_Book_SG, Magic_Book_LOV, Magic_Book_MS, Magic_Book_TS, Magic_Book_JT, Magic_Book_WB, Magic_Book_HD, Magic_Book_ES
close;
}
@@ -450,7 +450,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
}
mes "[Lea]";
}
- if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(7094) > 11) || (.@Payment == 3 && countitem(984) > 6) || (.@Payment == 4 && countitem(617))))) {
+ if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(Mystery_Piece) > 11) || (.@Payment == 3 && countitem(Oridecon) > 6) || (.@Payment == 4 && countitem(Old_Violet_Box))))) {
mes "What kind of Magic Book do you want?";
next;
.@i = select("Let me think.:Magic Book (Earth Strain):Magic Book (Chain Lightning):Magic Book (Crimson Rock):Magic Book (Drain Life)")-1;
@@ -466,15 +466,15 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
mes "Don't you know how many others would want the book you already have? It's a bit selfish to want more than one, you know.";
close;
}
- if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(7094) > 11) || (.@Payment == 3 && countitem(984) > 6) || (.@Payment == 4 && countitem(617))))) {
+ if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(Mystery_Piece) > 11) || (.@Payment == 3 && countitem(Oridecon) > 6) || (.@Payment == 4 && countitem(Old_Violet_Box))))) {
mes "Thank you for your deposit. The book's return date is written on the lending card on the back cover of the book. Please try not to lose or damage the book and avoid paying compensation.";
next;
mes "[Lea]";
mes "The Intermediate and Superior Magic Books must be returned upon borrowing the Ultimate Magic Book. Remember that you're just borrowing them, so make sure you take good care of those books.";
if (.@Payment == 1) Zeny -= 200000;
- else if (.@Payment == 2) delitem 7094,12; //Mystery_Piece
- else if (.@Payment == 3) delitem 984,7; //Oridecon
- else delitem 617,1; //Old_Violet_Box
+ else if (.@Payment == 2) delitem Mystery_Piece,12;
+ else if (.@Payment == 3) delitem Oridecon,7;
+ else delitem Old_Violet_Box,1;
if (.@Payment > 1) Zeny -= 100000;
getitem 6201+.@i,1; //Magic_Book_ES_, Magic_Book_CL, Magic_Book_CR, Magic_Book_DL
close;
@@ -525,7 +525,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{
}
mid_camp,255,244,4 script Galfos 4_M_JOB_WIZARD,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You're carrying too many items. Please make some room in your bag first.";
close;
}
@@ -642,7 +642,7 @@ mid_camp,255,244,4 script Galfos 4_M_JOB_WIZARD,{
next;
.@i = select("I've discovered everything about Comet.:I've mastered the zenith of Tetra Vortex.");
mes "[Galfos]";
- if ((.@i == 1 && countitem(6195)) || (.@i == 2 && countitem(6196))) {
+ if ((.@i == 1 && countitem(Magic_Book_CM)) || (.@i == 2 && countitem(Magic_Book_TV))) {
mes "Are you kidding me? You already have the book!";
close;
}
diff --git a/npc/re/quests/pile_bunker.txt b/npc/re/quests/pile_bunker.txt
index 25461e2fb..28dc3787e 100644
--- a/npc/re/quests/pile_bunker.txt
+++ b/npc/re/quests/pile_bunker.txt
@@ -35,12 +35,12 @@
//=========================================================================
yuno,179,174,4 script Gomer 4_M_REPAIR,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "[Gomer]";
mes "You are carrying so much. Drop off some of your luggage and come back to me.";
close;
}
- if (countitem(1549)) {
+ if (countitem(Pilebuncker)) {
mes "[Gomer]";
mes "So how's that Pilebuncker working out for you?";
close;
@@ -105,7 +105,7 @@ yuno,179,174,4 script Gomer 4_M_REPAIR,{
mes "Lastly, finding a Brocca is very hard, but you should be able to do something about it. Haha, go get it!";
close;
case 4:
- if (countitem(999) < 200 || countitem(7325) < 30 || countitem(1415) < 1) {
+ if (countitem(Steel) < 200 || countitem(Tube) < 30 || countitem(Skewer) < 1) {
mes "[Gomer]";
mes "You haven't brought all of the materials that I asked for.";
next;
@@ -132,11 +132,11 @@ yuno,179,174,4 script Gomer 4_M_REPAIR,{
next;
mes "[Gomer]";
mes "Oh, and it turns out that I didn't need all that Steel after all. So here, take most of it back.";
- delitem 999,50; //Steel
- delitem 7325,30; //Tube
- delitem 1415,1; //Skewer
- getitem 1549,1; //Pilebuncker
- getitem 1360,1; //Two_Handed_Axe
+ delitem Steel,50;
+ delitem Tube,30;
+ delitem Skewer,1;
+ getitem Pilebuncker,1;
+ getitem Two_Handed_Axe,1;
close;
}
}
diff --git a/npc/re/quests/quests_brasilis.txt b/npc/re/quests/quests_brasilis.txt
index cd44598ca..a8f576741 100644
--- a/npc/re/quests/quests_brasilis.txt
+++ b/npc/re/quests/quests_brasilis.txt
@@ -75,8 +75,8 @@ brasilis,297,307,5 script Angelo#br 1_M_04,{
specialeffect2 EF_ASSUMPTIO;
consumeitem 607; //Yggdrasilberry
.@rand = rand(1,10);
- if (.@rand > 4 && .@rand < 9) getitem 504,2; //White_Potion
- else if (.@rand > 8) getitem 608,1; //Seed_Of_Yggdrasil
+ if (.@rand > 4 && .@rand < 9) getitem White_Potion,2;
+ else if (.@rand > 8) getitem Seed_Of_Yggdrasil,1;
close;
}
mes "[Angelo]";
@@ -165,13 +165,13 @@ bra_fild01,176,63,5 duplicate(Puppy#bra) Puppy#d3 4_DOG01
//== Suspicious Beach :: Suspicious_Beach.sc ===============
brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
/* -------------- Hydra Ball -------------------------
- if (countitem(12408) > 0) {
- delitem 12408,1; //Leaf_Cat_Ball
- getitem 12408,1; //Leaf_Cat_Ball
+ if (countitem(Leaf_Cat_Ball) > 0) {
+ delitem Leaf_Cat_Ball,1;
+ getitem Leaf_Cat_Ball,1;
}
- else if (countitem(6221) > 0) {
- delitem 6221,1; //Mystic_Leaf_Cat_Ball
- getitem 6221,1; //Mystic_Leaf_Cat_Ball
+ else if (countitem(Mystic_Leaf_Cat_Ball) > 0) {
+ delitem Mystic_Leaf_Cat_Ball,1;
+ getitem Mystic_Leaf_Cat_Ball,1;
}
--------------------------------------------------- */
if (BaseLevel < 40) {
@@ -194,7 +194,7 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
switch(select("Yes.:No.:^006400What is happening here?^000000")) {
case 1:
setquest 9028;
- getitem 12408,1; //Hydra_Ball
+ getitem Leaf_Cat_Ball,1; //Hydra_Ball
mes "[Lucia]";
mes "Here, take this ^006400Hydra Ball^000000.";
mes "Use it to capture a ^FF0000Strange Hydra^8B4513.^000000";
@@ -231,15 +231,15 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
}
}
else if (.@nQState == 1) {
- if (countitem(6221) > 0) {
+ if (countitem(Mystic_Leaf_Cat_Ball) > 0) {
mes "[Lucia]";
mes "Hello, you really did it!";
- if (checkweight(11502,3)) {
+ if (checkweight(Light_Blue_Pot,3)) {
//mes "I don't have enough ^006400Hydra Ball^000000s to give you."; //Poorly translated by iRO?
mes "I hope you will come";
mes "again to help me.";
mes "Have a nice day~!";
- delitem 6221,1; //Mystic_Leaf_Cat_Ball
+ delitem Mystic_Leaf_Cat_Ball,1;
completequest 9028;
//recall_completequest 9029;
if (questprogress(9029)) erasequest 9029;
@@ -248,7 +248,7 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
consumeitem 12070; //Luk_Dish05
consumeitem 12055; //Vit_Dish05
consumeitem 12065; //Dex_Dish05
- getitem 11502,3; //Light_Blue_Pot
+ getitem Light_Blue_Pot,3;
close;
}
else {
@@ -261,10 +261,10 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
}
else {
mes "[Lucia]";
- if (countitem(12408) < 1) {
+ if (countitem(Leaf_Cat_Ball) < 1) {
mes "Did you need another ^006400Hydra Ball^000000?";
mes "I will give you one more.";
- getitem 12408,1; //Leaf_Cat_Ball
+ getitem Leaf_Cat_Ball,1;
close;
}
else {
@@ -320,7 +320,7 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{
switch(select("Yes.:No.:^006400What is happening here?^000000")) {
case 1:
setquest 9028;
- getitem 12408,1; //Leaf_Cat_Ball
+ getitem Leaf_Cat_Ball,1;
mes "[Lucia]";
mes "Here, take this ^006400Hydra Ball^000000.";
mes "Use it to capture a ^FF0000Strange Hydra^8B4513.^000000";
@@ -373,7 +373,7 @@ OnTimer7000:
//== Guarana Quest :: brazil_tre.sc ========================
brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "- You can't start the quest. Please reduce the weight in your inventory. -";
close;
}
@@ -439,11 +439,11 @@ brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{
close;
}
else if (brazil_gua == 10) {
- if (!countitem(6237)) {
+ if (!countitem(Guarana_Fruit)) {
mes "- The guarana that I had has disappeared. -";
close;
}
- delitem 6237,1; //Guarana_Fruit
+ delitem Guarana_Fruit,1;
mes "[Candy Maker]";
mes "Did you get the guarana?";
next;
@@ -465,7 +465,7 @@ brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{
mes "Try to savor its amazing taste hey~ take it easy. hahaha!!";
brazil_gua = 11;
completequest 2200;
- getitem 12414,1; //Guarana_Candy
+ getitem Guarana_Candy,1;
getexp 70000,10000;
close;
}
@@ -487,7 +487,7 @@ brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{
mes "[Candy Maker]";
mes "Here is a delicious guarana candy.";
Zeny -= 4000;
- getitem 12414,1; //Guarana_Candy
+ getitem Guarana_Candy,1;
close;
}
else {
@@ -807,14 +807,14 @@ brasilis,203,64,3 script Strange Kid#bra 4_M_KID1,{
mes "I better find that Candy Maker!";
brazil_gua = 10;
changequest 2199,2200;
- getitem 6237,1; //Guarana_Fruit
+ getitem Guarana_Fruit,1;
close;
}
else if (brazil_gua == 10) {
- if (!countitem(6237)) {
+ if (!countitem(Guarana_Fruit)) {
mes "[Strange Kid]";
mes "He.........";
- getitem 6237,1; //Guarana_Fruit
+ getitem Guarana_Fruit,1;
close;
}
}
@@ -1427,7 +1427,7 @@ bra_in01,145,27,3 script Brasilis Boy#bra 4_M_BRZ_INDIAN,{
}
brasilis,270,145,5 script Brasilis Girl#bra 4_F_BRZ_INDIAN,5,5,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "- wait a second!! -";
mes "- you have too many items -";
mes "- so you can't get any more items. -";
@@ -1683,7 +1683,7 @@ brasilis,270,145,5 script Brasilis Girl#bra 4_F_BRZ_INDIAN,5,5,{
next;
mes "[Jasira]";
mes "I know, I know! I'm the best...";
- delitem 7553,1; //Lotus_Flower
+ delitem Lotus_Flower,1;
brazil_regia = 9;
changequest 2206,2207;
setarray .@card[0],4195,4177,4188; //Leaf_Cat_Card, Dryad_Card, Leib_Olmai_Card
@@ -1758,7 +1758,7 @@ bra_dun02,67,205,5 script Recluse#bra 4_M_BRZ_JACI,3,3,{
mes "This is a gift from Jasira to say sorry for that time.";
mes "She is really sad that can't come here by herself due to private difficulties.";
next;
- if (countitem(513) < 10) {
+ if (countitem(Banana) < 10) {
mes "[Jasi]";
mes "What are you saying?";
next;
@@ -1793,7 +1793,7 @@ bra_dun02,67,205,5 script Recluse#bra 4_M_BRZ_JACI,3,3,{
close;
}
else if (brazil_regia == 6) {
- if (countitem(11515) < 5) {
+ if (countitem(Coconut) < 5) {
mes "[Jasi]";
mes "I forgot what the name of that fruit was...";
close;
@@ -1821,7 +1821,7 @@ bra_dun02,67,205,5 script Recluse#bra 4_M_BRZ_JACI,3,3,{
mes "[Jasi]";
mes "Oh, can you tell that girl Jasira something for me?";
mes "Tell her that I am not the moon from the story, but I want to become the moon to shine only for her.";
- delitem 11515,5; //Coconut
+ delitem Coconut,5;
brazil_regia = 7;
changequest 2205,2206;
close;
@@ -1860,7 +1860,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{
mes "["+strcharinfo(0)+"]";
mes "Hey man~ I brought these delicious fruits for you... try it! They are really well matured and fresh bananas.";
next;
- if (countitem(513) < 10) {
+ if (countitem(Banana) < 10) {
mes "[Jasi]";
mes "What are you saying?";
next;
@@ -1914,7 +1914,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{
next;
mes "[Jasi]";
mes "If you bring 5 of those things, I will reconsider your suggestion.";
- delitem 513,10; //Banana
+ delitem Banana,10;
brazil_regia = 5;
changequest 2203,2204;
next;
@@ -1933,7 +1933,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{
close;
}
else if (brazil_regia == 7) {
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "- wait a second!! -";
mes "- you have too many items -";
mes "- so you can't get any more items. -";
@@ -1943,7 +1943,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{
}
mes "- You take a beautiful water lily carefully in your hands. -";
brazil_regia = 8;
- getitem 7553,1; //Lotus_Flower
+ getitem Lotus_Flower,1;
close;
}
}
@@ -2693,7 +2693,7 @@ bra_in01,7,181,5 script Curator#bra 4_M_BRZ_MAN2,{
close;
}
if ((brazil_ghost > 0) && (brazil_ghost < 7)) {
- if (countitem(11515) > 0) {
+ if (countitem(Coconut) > 0) {
mes "[Curator]";
mes "What can I do for you?";
next;
@@ -2724,7 +2724,7 @@ bra_in01,7,181,5 script Curator#bra 4_M_BRZ_MAN2,{
mes "Ok I'll let you through this one time.";
next;
mes "The curator looks around calmly then opens the door.";
- delitem 11515,1; //Coconut
+ delitem Coconut,1;
brazil_ghost = 2;
close2;
warp "bra_in01",138,176;
@@ -2878,7 +2878,7 @@ brasilis,315,334,5 script Shaman#nk 4_F_BRZ_INDOLD,{
mes "Did you bring the materials";
mes "to make the purifying potion?";
next;
- if ((countitem(950) > 19) && (countitem(7172) > 9) && (countitem(1054) > 2)) {
+ if ((countitem(Heart_Of_Mermaid) > 19) && (countitem(Leopard_Talon) > 9) && (countitem(Lip_Of_Ancient_Fish) > 2)) {
mes "[Anori]";
mes "Um... it seems to be okay.";
mes "I'll make you a potion which will";
@@ -2893,10 +2893,10 @@ brasilis,315,334,5 script Shaman#nk 4_F_BRZ_INDOLD,{
erasequest 4133;
setquest 4134;
completequest 4134;
- delitem 950,20; //Heart_Of_Mermaid
- delitem 7172,10; //Leopard_Talon
- delitem 1054,3; //Lip_Of_Ancient_Fish
- getitem 11517,2; //Puri_Potion
+ delitem Heart_Of_Mermaid,20;
+ delitem Leopard_Talon,10;
+ delitem Lip_Of_Ancient_Fish,3;
+ getitem Puri_Potion,2;
mes "[Anori]";
mes "Here, it's completed.";
mes "Take this.";
@@ -3056,7 +3056,7 @@ brasilis,315,334,5 script Shaman#nk 4_F_BRZ_INDOLD,{
}
bra_dun02,157,74,5 script Iara#nk 4_F_BRZ_WOMAN,2,2,{
- if (countitem(11517) > 0) {
+ if (countitem(Puri_Potion) > 0) {
mes "[" + strcharinfo(0) + "]";
mes "Should I use a Purification Potion?";
next;
@@ -3079,7 +3079,7 @@ bra_dun02,157,74,5 script Iara#nk 4_F_BRZ_WOMAN,2,2,{
mes "Ah... Thank you for helping me recover my consciousness for a while.";
mes "But... I think that the curse has been with me too long.";
mes "Get away from me quickly.";
- delitem 11517,1; //Puri_Potion
+ delitem Puri_Potion,1;
percentheal 100,100;
sc_start SC_INCFLEE,3600000,20;
sc_start SC_CRITICALPERCENT,3600000,10;
@@ -3121,7 +3121,7 @@ bra_dun02,157,74,5 script Iara#nk 4_F_BRZ_WOMAN,2,2,{
end;
OnTouch:
- if (countitem(11517) < 1) {
+ if (countitem(Puri_Potion) < 1) {
mes "[Iara]";
mes "Aaaaaaaaaaaaaaaaaaaaaah.";
mes "Eeeeeeeeeeeeeeeeeeeh.";
diff --git a/npc/re/quests/quests_dewata.txt b/npc/re/quests/quests_dewata.txt
index 1e0f97d7e..d29a7dffa 100644
--- a/npc/re/quests/quests_dewata.txt
+++ b/npc/re/quests/quests_dewata.txt
@@ -190,7 +190,7 @@ dew_in01,22,48,3 script Sage Kasyapa#dew 4_M_DEWZATIMAN,{
mes "as a reward for your help.";
mes "Please, it would honor us if you would take it.";
next;
- if (checkweight(6406,1) == 0) {
+ if (checkweight(Cendrawasih_SF,1) == 0) {
if (Weight + getiteminfo(6406,6) > MaxWeight) {
mes "[Sage Kasyapa]";
mes "You are carrying too much weight over the limit.";
@@ -204,7 +204,7 @@ dew_in01,22,48,3 script Sage Kasyapa#dew 4_M_DEWZATIMAN,{
}
}
dew_legend = 8;
- getitem 6406,1; //Cendrawasih_SF
+ getitem Cendrawasih_SF,1;
completequest 9157;
erasequest 9157;
mes "[Sage Kasyapa]";
@@ -321,7 +321,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
setquest 9155;
close;
} else if (dew_legend == 5) {
- if (countitem(6405) < 15) {
+ if (countitem(Cendrawasih_F) < 15) {
mes "[Tribal Chief Paiko]";
mes "It seems that you have yet to find the materials to make the ^006400Jaty Crown^000000.";
next;
@@ -331,7 +331,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
close;
}
dew_legend = 6;
- delitem 6405,15; //Cendrawasih_F
+ delitem Cendrawasih_F,15;
changequest 9155,9156;
mes "[Tribal Chief Paiko]";
mes "Oh! You've found all of them. Look! The feathers you have found are sparkling. Aren't they?";
@@ -397,7 +397,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "You may be tempted by the aroma of our ^006400Satay^000000 and you may eat one but, if you eat more than that you won't be able to share the ^006400Satay^000000";
mes "with our village friends.";
dew_legend = 9;
- getitem 11533,2; //Satay
+ getitem Satay,2;
setquest 9158;
close;
} else if (dew_legend == 9) {
@@ -415,7 +415,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "[Tribal Chief Paiko]";
mes "If you are attracted by the aroma of the ^006400Satay^000000, you may eat one but, if you eat more you won't be able to share ^006400Satay^000000 with our friends.";
dew_legend = 11;
- getitem 11533,2; //Satay
+ getitem Satay,2;
changequest 9159,9160;
close;
} else if (dew_legend == 11) {
@@ -437,7 +437,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "[Tribal Chief Paiko]";
mes "And just like before, don't give into the smell and try not to eat the ^006400Satay^000000.";
dew_legend = 13;
- getitem 11533,2; //Satay
+ getitem Satay,2;
changequest 9161,9162;
close;
} else if (dew_legend == 13) {
@@ -457,7 +457,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "[Tribal Chief Paiko]";
mes "And just like before, don't give into the smell and try not to eat the ^006400Satay^000000.";
dew_legend = 15;
- getitem 11533,2; //Satay
+ getitem Satay,2;
changequest 9163,9164;
close;
} else if (dew_legend == 15) {
@@ -484,7 +484,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "[Tribal Chief Paiko]";
mes "It's not the same as the original, but it has its own specialty. It is my reward to thank you for what you have done.";
next;
- if (checkweight(18520,1) == 0) {
+ if (checkweight(Jaty_C,1) == 0) {
mes "[Tribal Chief Paiko]";
mes "You are carrying too much weight to receive your reward.";
mes "Please reduce your carried weight and come back again.";
@@ -494,8 +494,8 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{
mes "Made with our tribe's secret marinade try the ^006400Satay^000000.";
mes "It was made with all our heart, especially for you, but don't forget to share it with friends.";
dew_legend = 17;
- getitem 18520,1; //Jaty_C
- getitem 11533,5; //Satay
+ getitem Jaty_C,1;
+ getitem Satay,5;
completequest 9165;
erasequest 9165;
next;
@@ -540,7 +540,7 @@ dew_fild01,78,288,6 script Jaty Tribe Warrior#dew 4_M_DEWZATIMAN,{
mes "[Jaty Tribe Warrior]";
mes "We revere strength and bravery.";
mes "We are ^FF0000Jaty^000000 Tribe.";
- if (dew_legend != 9 || !countitem(11533))
+ if (dew_legend != 9 || !countitem(Satay))
close;
next;
mes "[Jaty Tribe Warrior]";
@@ -559,7 +559,7 @@ dew_fild01,78,288,6 script Jaty Tribe Warrior#dew 4_M_DEWZATIMAN,{
mes "Also, thank you for the ^006400Satay^000000";
mes "My mouth is already watering thank you.";
mes "There is something I would like to share with you regarding our tribe.";
- delitem 11533,1; //Satay
+ delitem Satay,1;
dew_legend = 10;
changequest 9158,9159;
next;
@@ -577,7 +577,7 @@ dew_fild01,78,288,6 script Jaty Tribe Warrior#dew 4_M_DEWZATIMAN,{
dew_fild01,185,300,6 script Tribe Manager#dew 4_M_DEWZATIMAN,{
mes "[Tribe Manager]";
mes "Keeping our culture and tradition is very important.";
- if (dew_legend != 11 || !countitem(11533)) {
+ if (dew_legend != 11 || !countitem(Satay)) {
if (dew_legend < 11)
mes "Although it is a little boring...";
close;
@@ -600,7 +600,7 @@ dew_fild01,185,300,6 script Tribe Manager#dew 4_M_DEWZATIMAN,{
mes "Thank you for the meal.";
mes "Please give my regards";
mes "to our Tribe Leader.";
- delitem 11533,1; //Satay
+ delitem Satay,1;
dew_legend = 12;
changequest 9160,9161;
next;
@@ -633,7 +633,7 @@ dewata,235,56,4 script Gatekeeper of Krakatau#1 4_M_DEWOLDMAN,{
mes "a very dangerous area";
mes "I cannot allow anyone to go in there.";
next;
- if (dew_legend == 13 && countitem(11533))
+ if (dew_legend == 13 && countitem(Satay))
.@menu$ = ":^0000FFTribal Chief Paiko^000000";
switch(select("Allow me through:I don't want to go in"+.@menu$)) {
case 1:
@@ -670,7 +670,7 @@ dewata,235,56,4 script Gatekeeper of Krakatau#1 4_M_DEWOLDMAN,{
mes "Of course, it's our ^006400Satay^000000!";
mes "I was slightly hungry";
mes "so this should fill me up.";
- delitem 11533,1; //Satay
+ delitem Satay,1;
dew_legend = 14;
changequest 9162,9163;
next;
@@ -717,7 +717,7 @@ dew_dun01,292,164,4 script Gatekeeper of Krakatau#2 4_M_DEWZATIMAN,{
dewata,78,192,6 script Borobudur Temple Manager 4_M_DEWMAN,{
mes "[Borobudur Temple Manager]";
mes "The weather today is so beautiful.";
- if (dew_legend != 15 || !countitem(11533))
+ if (dew_legend != 15 || !countitem(Satay))
close;
next;
mes "[Borobudur Temple Manager]";
@@ -736,7 +736,7 @@ dewata,78,192,6 script Borobudur Temple Manager 4_M_DEWMAN,{
mes "[Borobudur Temple Manager]";
mes "Good~~ This is the same taste I remember.";
mes "To give my thanks I will pass along a story that may interest you";
- delitem 11533,1; //Satay
+ delitem Satay,1;
dew_legend = 16;
changequest 9164,9165;
next;
@@ -763,7 +763,7 @@ dewata,78,192,6 script Borobudur Temple Manager 4_M_DEWMAN,{
//== Help Out the Old Man :: dewata_drink ==================
dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 5000) {
if (dew_drink) {
mes "[Memo]";
mes "Why are you carrying so much? Doesn't that hurt your back?";
@@ -915,7 +915,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
mes "If it is not, wait there and bring ^FF000030 bottles of oil^000000 to me.";
close;
} else if (dew_drink == 7) {
- if (countitem(6401) < 30) {
+ if (countitem(Palm_O) < 30) {
mes "[Memo]";
mes "Oh, didn't I tell you to bring 30 bottles of oil? Did you forget?";
next;
@@ -928,7 +928,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
next;
mes "[Memo]";
mes "Excuse me, but I have an urgent matter to attend to. Can you wait for a while and talk to me when I'm done?";
- delitem 6401,30; //Palm_O
+ delitem Palm_O,30;
changequest 5042,5043;
dew_drink = 8;
close;
@@ -980,7 +980,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
changequest 5043,5044;
dew_drink = 10;
getexp 50000,10000;
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
next;
mes "[Memo]";
mes "Will you help me with my work from time to time?";
@@ -1023,7 +1023,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
else
setarray .@i[0],20,5051,3;
- if (countitem(6401) < .@i[0]) {
+ if (countitem(Palm_O) < .@i[0]) {
mes "[Memo]";
mes "You haven't brought enough oil.";
next;
@@ -1038,10 +1038,10 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
next;
mes "[Memo]";
mes "You must've had a hard time bringing the oil so here take this drink.";
- delitem 6401,.@i[0]; //Palm_O
+ delitem Palm_O,.@i[0];
erasequest .@i[1];
setquest 5044;
- getitem 11534,.@i[2]; //Coco_Juice
+ getitem Coco_Juice,.@i[2];
next;
switch(rand(4)) {
case 0:
@@ -1089,7 +1089,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{
}
dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 5000) {
mes "[Lero]";
mes "You're carrying too many things...";
close;
@@ -1194,7 +1194,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
mes "Although he is lazy and rather careless, he is the best worker.";
close;
} else if (questprogress(5039)) {
- if (countitem(6402) < 60) {
+ if (countitem(Oil_Palm_F) < 60) {
mes "[Lero]";
mes "Did you gather the nuts already?";
next;
@@ -1217,7 +1217,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
emotion e_sry;
mes "[Lero]";
mes "It takes some time, so go back to Mr. Memo and tell him the situation. Also tell him that I'm sorry for the delay.";
- delitem 6402,60; //Oil_Palm_F
+ delitem Oil_Palm_F,60;
dew_drink = 5;
changequest 5039,5040;
close;
@@ -1227,7 +1227,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
mes "It takes some time, so go back to Mr. Memo and tell him the situation. Also tell him that I'm sorry for the delay.";
close;
} else if (dew_drink == 6) {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 15000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 15000) {
mes "[Lero]";
mes "You are carrying too much right now to continue.";
close;
@@ -1243,10 +1243,10 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
mes "Oh, tell Mr. Memo that I'm sorry for the late delivery, and explain that it wasn't my fault.";
changequest 5041,5042;
dew_drink = 7;
- getitem 6401,30; //Palm_O
+ getitem Palm_O,30;
close;
} else if (dew_drink == 7) {
- if (questprogress(5042) && countitem(6401) > 29) {
+ if (questprogress(5042) && countitem(Palm_O) > 29) {
mes "[Lero]";
mes "It is heavier than you might think, so be careful when carrying it.";
next;
@@ -1255,8 +1255,8 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
mes "Oh, tell Mr. Memo that I'm sorry for the late delivery, and explain that it wasn't my fault.";
close;
} else {
- .@num = 30 - countitem(6401);
- if (checkweight(6401,.@num) == 0) {
+ .@num = 30 - countitem(Palm_O);
+ if (checkweight(Palm_O,.@num) == 0) {
mes "[Lero]";
mes "You are carrying too much right now to continue.";
close;
@@ -1268,7 +1268,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
emotion e_an;
mes "[Lero]";
mes "This is the palm tree oil which was in short supply. Be careful pease. It was really hard to get this...";
- getitem 6401,.@num; //Palm_O
+ getitem Palm_O,.@num;
close;
}
} else if (dew_drink == 8) {
@@ -1313,12 +1313,12 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
else
setarray .@i[0],40,5050,20,10000;
- if (countitem(6402) < .@i[0]) {
+ if (countitem(Oil_Palm_F) < .@i[0]) {
mes "[Lero]";
mes "Once you bring the "+.@i[0]+" pieces of oil palm nuts, Mr. Memo will exchange them with oil.";
close;
}
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < .@i[3]) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < .@i[3]) {
mes "[Lero]";
mes "You're carrying too much right now to continue.";
close;
@@ -1329,8 +1329,8 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
mes "[Lero]";
mes "Exactly "+.@i[0]+" pieces of oil palm nuts. Let you exchange them with oil right now.";
changequest .@i[1], .@i[1]+1;
- delitem 6402,.@i[0]; //Oil_Palm_F
- getitem 6401,.@i[2]; //Palm_O
+ delitem Oil_Palm_F,.@i[0];
+ getitem Palm_O,.@i[2];
next;
mes "[Lero]";
mes "As I told you before, it is heavier than you might think, so be careful when carrying this.";
@@ -1349,7 +1349,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{
}
dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) {
if (dew_drink > 0) {
mes "[Poby]";
mes "Why are you carrying so much?";
@@ -1411,7 +1411,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
close;
} else if (dew_drink == 4) {
if (questprogress(5039)) {
- if (countitem(6402) > 59) { // Oil_Palm_F
+ if (countitem(Oil_Palm_F) > 59) { // Oil_Palm_F
mes "[Poby]";
mes "You got all the fruits. Bring them to Mr. Lero.";
close;
@@ -1466,19 +1466,19 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
else if (questprogress(5051))
.@count = 20;
if (.@count) {
- if (countitem(6401) >= .@count) {
+ if (countitem(Palm_O) >= .@count) {
// Custom translation
mes "[Poby]";
mes "Good work! Be careful while delivering them~";
close;
}
- .@new_count = .@count-countitem(6401);
+ .@new_count = .@count-countitem(Palm_O);
mes "- You explain the situation. -";
next;
mes "[Poby]";
mes "Right... I owed Memo's grandfather. Wait, I hid some oil around here.";
next;
- if (checkweight(6401,.@new_count) == 0) {
+ if (checkweight(Palm_O,.@new_count) == 0) {
mes "[Poby]";
mes "I have some, but you seem to have too much stuff with you.";
close;
@@ -1487,7 +1487,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
next;
mes "[Poby]";
mes "Ah! Here is another one. Take care not to lose it again. And keep it a secret from Mr. Lero.";
- getitem 6401,.@new_count; //Palm_O
+ getitem Palm_O,.@new_count;
next;
mes "[Poby]";
mes "Please~ "+strcharinfo(0)+".";
@@ -1515,7 +1515,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
}
- script ::DewataPalm -1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 5000) {
mes "You are carrying too much.";
close;
}
@@ -1528,7 +1528,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
mes "There's a palm tree";
mes "facing the cool wind.";
close;
- } else if (countitem(6402) >= .@count) {
+ } else if (countitem(Oil_Palm_F) >= .@count) {
mes "The palm tree denies";
mes "your greedy hands.";
close;
@@ -1564,17 +1564,17 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
case 2:
case 3:
mes "a ^FF0000stone^000000 falls out.";
- getitem 7049,1; //Stone
+ getitem Stone,1;
break;
case 6:
case 7:
mes "a ^FF0000Great Leaf^000000 falls out.";
- getitem 7198,1; //Great_Leaf
+ getitem Great_Leaf,1;
break;
case 8:
case 9:
mes "a ^FF0000Worm Peeling^000000 falls out.";
- getitem 955,1; //Worm_Peelings
+ getitem Worm_Peelings,1;
break;
case 4:
case 5:
@@ -1582,7 +1582,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
case 12:
case 13:
mes "an ^0000FFOil Palm Fruit^000000 falls out.";
- getitem 6402,1; //Oil_Palm_F
+ getitem Oil_Palm_F,1;
break;
case 14:
case 16:
@@ -1602,16 +1602,16 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{
}
case 10:
case 17:
- if (countitem(6402) <= .@count-5) {
+ if (countitem(Oil_Palm_F) <= .@count-5) {
mes "tons of ^0000FFOil Palm Fruit^000000 crashes down from the tree.";
- getitem 6402,1; //Oil_Palm_F
- getitem 6402,1; //Oil_Palm_F
- getitem 6402,1; //Oil_Palm_F
- getitem 6402,1; //Oil_Palm_F
- getitem 6402,1; //Oil_Palm_F
+ getitem Oil_Palm_F,1;
+ getitem Oil_Palm_F,1;
+ getitem Oil_Palm_F,1;
+ getitem Oil_Palm_F,1;
+ getitem Oil_Palm_F,1;
} else {
mes "an ^0000FFOil Palm Fruit^000000 falls out.";
- getitem 6402,1; //Oil_Palm_F
+ getitem Oil_Palm_F,1;
}
break;
default:
@@ -1683,7 +1683,7 @@ dew_fild01,209,201,0 duplicate(DewataPalm) Palm Tree#drink40 CLEAR_NPC
//== Traditional Weapon Quest :: dewata_weapon =============
dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 10000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 10000) {
mes "- Hold it right there!! -";
mes "- You're carrying too many items and don't have enough inventory space to receive any rewards. -";
mes "- Please make more inventory space available and come back to take this challenge. -";
@@ -1888,7 +1888,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
mes "Oh! And Comodo Dragon is a very powerful monster, so please be careful.";
close;
} else if (dew_weapon == 3) {
- if (countitem(6403) > 99) {
+ if (countitem(Comodo_L) > 99) {
mes "[Gatti]";
mes "By the looks of your walk, you must have brought me 100 Comodo Leather. Hand it over to me.";
delitem 6403,100;
@@ -1897,7 +1897,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
next;
mes "- Gatti takes the Comodo Leather from you. -";
close;
- } else if (countitem(6403)) {
+ } else if (countitem(Comodo_L)) {
mes "[Gatti]";
mes "So, that is the Comodo Leather. But not enough.";
next;
@@ -1969,7 +1969,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
mes "I'll make you a best weapon ever.";
setquest 5054;
dew_weapon = 6;
- getitem 6404,1; //Caress_H
+ getitem Caress_H,1;
next;
mes "[Gatti]";
mes "Oh! I almost forgot. Don't forget to bring the hilt that I just made you.";
@@ -1986,7 +1986,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
mes "[Gatti]";
mes ".... .... ....";
next;
- if (countitem(6403) < 100 || countitem(999) < 20 || countitem(984) < 10 || countitem(6404) < 1) {
+ if (countitem(Comodo_L) < 100 || countitem(Steel) < 20 || countitem(Oridecon) < 10 || countitem(Caress_H) < 1) {
mes "[Gatti]";
mes "Hmm... I need more of those. If my ship didn't get wrecked, I could made it on my own, but...";
next;
@@ -2016,11 +2016,11 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
mes "Now, I learned how to make the weapon, ask me any time if you need it.";
erasequest 5054;
dew_weapon = 7;
- delitem 6403,100; //Comodo_L
- delitem 999,20; //Steel
- delitem 984,10; //Oridecon
- delitem 6404,1; //Caress_H
- getitem 13067,1; //Caress
+ delitem Comodo_L,100;
+ delitem Steel,20;
+ delitem Oridecon,10;
+ delitem Caress_H,1;
+ getitem Caress,1;
close;
} else if (dew_weapon >= 7) {
mes "[Gatti]";
@@ -2034,8 +2034,8 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
close;
case 2:
disable_items;
- if (countitem(6404)) {
- if (countitem(6403) < 70 || countitem(984) < 10 || countitem(999) < 20 || countitem(6404) < 1) {
+ if (countitem(Caress_H)) {
+ if (countitem(Comodo_L) < 70 || countitem(Oridecon) < 10 || countitem(Steel) < 20 || countitem(Caress_H) < 1) {
mes "[Gatti]";
mes "You only have a Hilt. You'll need to bring me 10 Oridecon, 20 Steel, and 70 Comodo Leather.";
next;
@@ -2052,14 +2052,14 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
next;
mes "[Gatti]";
mes "Here is the Caress! Ask me any time.";
- delitem 6403,70; //Comodo_L
- delitem 999,20; //Steel
- delitem 984,10; //Oridecon
- delitem 6404,1; //Caress_H
- getitem 13067,1; //Caress
+ delitem Comodo_L,70;
+ delitem Steel,20;
+ delitem Oridecon,10;
+ delitem Caress_H,1;
+ getitem Caress,1;
close;
} else {
- if (countitem(6403) < 50 || countitem(7201) < 1) {
+ if (countitem(Comodo_L) < 50 || countitem(Log) < 1) {
mes "[Gatti]";
mes "You want me to make one more Caress for you? In that case I need a Hilt. 50 Comodo Leather, and 1 Log. These are what I need to make a Hilt.";
close;
@@ -2072,9 +2072,9 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
next;
mes "[Gatti]";
mes "Here you go. I can make a Caress if you bring me 10 Oridecon, 20 Steel, and 70 Comodo Leather.";
- delitem 6403,50; //Comodo_L
- delitem 7201,1; //Log
- getitem 6404,1; //Caress_H
+ delitem Comodo_L,50;
+ delitem Log,1;
+ getitem Caress_H,1;
close;
}
case 3:
@@ -2108,7 +2108,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
break;
}
- if (countitem(13067) < 1 || Zeny < 100000) {
+ if (countitem(Caress) < 1 || Zeny < 100000) {
mes "[Gatti]";
mes "You don't have all the materials. It's impossible to reinforce if you don't have them all. If you want to reinforce, bring 100,000 zeny and 1 Caress.";
close;
@@ -2219,7 +2219,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
else if (.@j < 3950) .@s4 = 4754; // LUK + 5
else .@s4 = 0;
- delitem 13067,1; //Caress
+ delitem Caress,1;
if (.@s3 == 0 && .@s4 == 0) {
mes "[Gatti]";
mes "Oh my~~ Almost succeeded... But failed. Sorry, sorry...";
diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt
index 3d78de85b..1e8811752 100644
--- a/npc/re/quests/quests_dicastes.txt
+++ b/npc/re/quests/quests_dicastes.txt
@@ -113,7 +113,7 @@ dic_dun01,266,113,5 script Curious Sapha#ep13_3_ 4_MAN_BENKUNI,{
mes "I might be able to use this perfume's reaction to Scarabas and make progress in research.";
close;
case 2:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Curious Sapha]";
mes "You don't seem to have enough space.";
close;
@@ -152,7 +152,7 @@ dic_dun01,266,113,5 script Curious Sapha#ep13_3_ 4_MAN_BENKUNI,{
close;
}
Zeny -= .@deal;
- getitem 6437,.@input; //Scaraba_Perfume
+ getitem Scaraba_Perfume,.@input;
mes "[Curious Sapha]";
mes "Here you go. Scaraba might flock around you so don't use it near Scaraba Hall.";
close;
@@ -194,8 +194,8 @@ sec_in02,16,43,5 script Scaraba Dungeon Entrance 4_MAN_BENKUNI,{
mes "You will be able to go through if the password is correct.";
if (callfunc("F_GM_NPC",1854,0) == 1) {
ep13_3_secret = 6;
- getitem 2782,1; //Ring_Of_Wise_King
- getitem 6437,2; //Scaraba_Perfume
+ getitem Ring_Of_Wise_King,1;
+ getitem Scaraba_Perfume,2;
mes "Setting Complete";
} else
mes "Wrong Password";
@@ -279,7 +279,7 @@ dic_dun01,284,102,5 script Dirty Vigilante#ep13_3 4_MAN_GALTUN,{
mes "Those Scaraba can snatch you away!";
close;
}
- if (countitem(6437)) {
+ if (countitem(Scaraba_Perfume)) {
mes "[Vigilante]";
mes "Do you need something from the cave?";
next;
@@ -289,13 +289,13 @@ dic_dun01,284,102,5 script Dirty Vigilante#ep13_3 4_MAN_GALTUN,{
mes "Be careful. The smell from the Scaraba Secretion was picked up by other Scarabas.";
next;
if (select("Enter after spraying perfume.:Do not enter because it's dangerous.") == 1) {
- if (!countitem(6437)) {
+ if (!countitem(Scaraba_Perfume)) {
mes "- Your Scaraba Perfume disappeared. -";
close;
}
mes "[Vigilante]";
mes "Okay. Then good luck to you. Be careful.";
- delitem 6437,1; //Scaraba_Perfume
+ delitem Scaraba_Perfume,1;
close2;
warp "dic_dun03",101,142;
end;
@@ -493,7 +493,7 @@ function script que_dic {
}
dic_in01,48,263,5 script Hunting Dept. 1 Manager 4_MAN_BENKUNI,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -563,7 +563,7 @@ dic_in01,48,263,5 script Hunting Dept. 1 Manager 4_MAN_BENKUNI,{
}
dic_in01,51,266,6 script Hunting Dept. 2 Manager 4_MAN_BENKUNI,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -632,7 +632,7 @@ dic_in01,51,266,6 script Hunting Dept. 2 Manager 4_MAN_BENKUNI,{
}
dic_in01,51,270,7 script Supply Dept. 1 Manager 4_MAN_BENKUNI,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -703,7 +703,7 @@ dic_in01,51,270,7 script Supply Dept. 1 Manager 4_MAN_BENKUNI,{
}
dic_in01,48,273,1 script Supply Dept. 2 Manager 4_MAN_BENKUNI,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -770,7 +770,7 @@ dic_in01,48,273,1 script Supply Dept. 2 Manager 4_MAN_BENKUNI,{
}
dic_in01,43,273,1 script Transport Dept. 1 Mgr 4_MAN_BENKUNI,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -844,7 +844,7 @@ dic_in01,43,273,1 script Transport Dept. 1 Mgr 4_MAN_BENKUNI,{
}
dic_in01,40,270,2 script Transport Dept. 2 Mgr 4_MAN_BENKUNI,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -912,7 +912,7 @@ dic_in01,40,270,2 script Transport Dept. 2 Mgr 4_MAN_BENKUNI,{
}
dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many items in your inventory.";
close;
}
@@ -942,7 +942,7 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{
else if (.@map_hi == 3) mes "This is the very place where Ancient Sapha forefathers created history";
else mes "The Archive room holds transcendent knowledge beyond that of Midgard and Asgard";
next;
- if (countitem(6308) > 29) {
+ if (countitem(Unidentified_Relic) > 29) {
mes "[Papyrus]";
mes "Oh... You've brought back plenty of unknown relics";
next;
@@ -956,11 +956,11 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{
}
mes "[Papyrus]";
mes "Ok here's your 11 Sapha Certifications.";
- delitem 6308,30; //Unidentified_Relic
- getitem 6304,11; //Sapa_Feat_Cert
+ delitem Unidentified_Relic,30;
+ getitem Sapa_Feat_Cert,11;
close;
}
- if (countitem(6308) > 2) {
+ if (countitem(Unidentified_Relic) > 2) {
mes "[Papyrus]";
mes "Wow~ ";
mes "You've found an Unknown Relic.";
@@ -973,8 +973,8 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{
}
mes "[Papyrus]";
mes "Ok here's your 1 Sapha Certifications.";
- delitem 6308,3; //Unidentified_Relic
- getitem 6304,1; //Sapa_Feat_Cert
+ delitem Unidentified_Relic,3;
+ getitem Sapa_Feat_Cert,1;
close;
}
mes "[Papyrus]";
@@ -1142,7 +1142,7 @@ function script unknown_d {
next;
mes "In addition, you've obtained an unknown relic to report back to the Saphas.";
specialeffect2 EF_STEAL;
- getitem 6308,1; //Unidentified_Relic
+ getitem Unidentified_Relic,1;
}
close;
}
@@ -1295,12 +1295,12 @@ dic_in01,263,193,3 script Diel Guard#ep133_20 4_MAN_GALTUN,{
mes "He is waiting inside.";
mes "Please go in.";
}
- else if (countitem(6304) > 0) {
+ else if (countitem(Sapa_Feat_Cert) > 0) {
mes "[Diel Guard]";
mes "Are you here to meet Ahat?";
mes "You are on the list.";
mes "Please go in.";
- delitem 6304,1; //Sapa_Feat_Cert
+ delitem Sapa_Feat_Cert,1;
}
else {
mes "[Diel Guard]";
@@ -1407,15 +1407,15 @@ dic_in01,294,276,5 script Secret Adjutant#ep133_2 4_M_CATMAN2,{
close2;
}
else if (ep13_3_secret == 17) {
- if (countitem(6306) > 9 && countitem(6305) > 9 && countitem(6307) > 9) {
+ if (countitem(Solid_Bloodstain) > 9 && countitem(Frozen_Skin_Piece) > 9 && countitem(Suspicious_Magic_Stone) > 9) {
mes "[Cheshire]";
mes "..... ..you";
mes "Are useful, aren't you?";
mes "That will be all for today.";
mes "We will need to work little by little so we don't draw attention.";
- delitem 6306,10; //Solid_Bloodstain
- delitem 6305,10; //Frozen_Skin_Piece
- delitem 6307,10; //Suspicious_Magic_Stone
+ delitem Solid_Bloodstain,10;
+ delitem Frozen_Skin_Piece,10;
+ delitem Suspicious_Magic_Stone,10;
ep13_3_secret = 18;
erasequest 7199;
setquest 7200;
@@ -1441,7 +1441,7 @@ dic_in01,294,276,5 script Secret Adjutant#ep133_2 4_M_CATMAN2,{
}
else {
if (ep13_3_ahtdayq == 1) {
- if ((countitem(6306) > 9) && (countitem(6305) > 9) && (countitem(6307) > 9)) {
+ if ((countitem(Solid_Bloodstain) > 9) && (countitem(Frozen_Skin_Piece) > 9) && (countitem(Suspicious_Magic_Stone) > 9)) {
mes "[Cheshire]";
mes "Ok. Confirmed.";
mes "Good.";
@@ -1452,11 +1452,11 @@ dic_in01,294,276,5 script Secret Adjutant#ep133_2 4_M_CATMAN2,{
mes "We will do this again tomorrow.";
mes "Ahat seems to trust you very much.";
mes "Let's do are best.";
- delitem 6306,10; //Solid_Bloodstain
- delitem 6305,10; //Frozen_Skin_Piece
- delitem 6307,10; //Suspicious_Magic_Stone
+ delitem Solid_Bloodstain,10;
+ delitem Frozen_Skin_Piece,10;
+ delitem Suspicious_Magic_Stone,10;
ep13_3_ahtdayq = 2;
- getitem 6304,1; //Sapa_Feat_Cert
+ getitem Sapa_Feat_Cert,1;
getexp 70000,0;
getexp 0,30000;
erasequest 7201;
@@ -1783,7 +1783,7 @@ dic_in01,300,280,5 script Minister Ahat#ep133_21 4_HUMAN_GERUTOO,{
mes "And this is something to reward you for your deeds.";
mes "Nothing much but I hope you like it.";
ep13_3_secret = 19;
- getitem 2790,1; //Bradium_Brooch
+ getitem Bradium_Brooch,1;
close2;
}
else {
@@ -2322,7 +2322,7 @@ dic_in01,158,188,3 script Jarute HesLanta#ep133_2 4_MAN_JERUTOO,{
}
dicastes01,223,190,1 script Calyon#pa8029 4_MAN_NITT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -2495,7 +2495,7 @@ dicastes01,223,190,1 script Calyon#pa8029 4_MAN_NITT,{
}
dicastes01,211,178,2 script Moltuka#pa0829 4_MAN_NITT,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -2719,7 +2719,7 @@ dicastes01,211,178,2 script Moltuka#pa0829 4_MAN_NITT,{
}
dicastes01,175,217,5 script Kalipo#pa0829 4_MAN_NITT,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -2861,7 +2861,7 @@ dicastes01,175,217,5 script Kalipo#pa0829 4_MAN_NITT,{
}
dicastes01,187,230,5 script Laponte#pa0829 4_MAN_NITT,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -3032,7 +3032,7 @@ dicastes01,187,230,5 script Laponte#pa0829 4_MAN_NITT,{
}
dicastes01,208,230,3 script Pura#pa0829 4_MAN_NITT,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -3223,7 +3223,7 @@ dicastes01,208,230,3 script Pura#pa0829 4_MAN_NITT,{
}
dicastes01,225,211,3 script Tragis#pa0829 4_MAN_NITT,{
- if (!checkweight(1201,1)) {
+ if (!checkweight(Knife,1)) {
mes "You have too many kinds of items. Let's try again after you reduce the number of items.";
close;
}
@@ -3394,7 +3394,7 @@ dicastes01,225,211,3 script Tragis#pa0829 4_MAN_NITT,{
//== Doha's Secret Orders ==================================
mid_campin,168,170,3 script Inspector Doha#ep133 1_M_ORIENT01,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- You can too many items to proceed with the quest. -";
close;
}
@@ -3608,7 +3608,7 @@ mid_campin,168,170,3 script Inspector Doha#ep133 1_M_ORIENT01,{
close;
}
else if (ep13_3_secret == 22) {
- if (countitem(6306) && countitem(6305) && countitem(6307)) {
+ if (countitem(Solid_Bloodstain) && countitem(Frozen_Skin_Piece) && countitem(Suspicious_Magic_Stone)) {
mes "[Doha]";
mes "How is the investigation going?";
mes "Do you have any significant status?";
@@ -3637,11 +3637,11 @@ mid_campin,168,170,3 script Inspector Doha#ep133 1_M_ORIENT01,{
mes "Please have this.";
mes "This is a reward for your services up to now.";
mes "You deserve this for the hardship you are going through in another world.";
- delitem 6306,1; //Solid_Bloodstain
- delitem 6305,1; //Frozen_Skin_Piece
- delitem 6307,1; //Suspicious_Magic_Stone
+ delitem Solid_Bloodstain,1;
+ delitem Frozen_Skin_Piece,1;
+ delitem Suspicious_Magic_Stone,1;
ep13_3_secret = 23;
- getitem 2553,1; //Dragon_Manteau
+ getitem Dragon_Manteau,1;
erasequest 7202;
completequest 7203;
next;
@@ -4647,7 +4647,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
mes "Give an Exploit certification of Sapha to BK.";
close;
}
- if (countitem(6304)) {
+ if (countitem(Sapa_Feat_Cert)) {
mes "[BK]";
mes "Haha.. good, good.";
mes "I don't know anything outside of our race";
@@ -4657,7 +4657,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
mes "I even saw him meet the ^4d4dffnew minister^000000 alone.";
mes "Hu hu...";
mes "Satisfied?";
- delitem 6304,1; //Sapa_Feat_Cert
+ delitem Sapa_Feat_Cert,1;
ep13_3_secret = 7;
next;
mes "- BK says this and takes the exploit certification out of your hand.";
@@ -4703,7 +4703,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
mes "I have nothing to say if you don't give me a certification.";
close;
}
- if (!countitem(6304)) {
+ if (!countitem(Sapa_Feat_Cert)) {
mes "[BK]";
mes "I have nothing to say if you don't give me a certification.";
close;
@@ -4715,7 +4715,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
mes "[BK]";
mes "The new minister was picked up ^4d4dffnear the crack^000000.";
mes "He must be an alien!";
- delitem 6304,1; //Sapa_Feat_Cert
+ delitem Sapa_Feat_Cert,1;
ep13_3_secret = 8;
next;
select("What do you think so?");
@@ -4738,7 +4738,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
close;
}
}
- if (countitem(6304)) {
+ if (countitem(Sapa_Feat_Cert)) {
mes "[BK]";
mes "Because he isn't Sapha!";
next;
@@ -4756,7 +4756,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{
mes "[BK]";
mes "Well, I don't understand why because all Saphas";
mes "are beautiful.";
- delitem 6304,1; //Sapa_Feat_Cert
+ delitem Sapa_Feat_Cert,1;
ep13_3_secret = 9;
changequest 7191,7192;
next;
@@ -5089,7 +5089,7 @@ dic_in01,165,104,0 script Frede#13_3_in 4_MAN_PIOM,{
mes "The cats outside gave it to me. It doesn't do much good for Saphas but I heard it's suppose to help you humans.";
ep13_3_bra = 2;
setquest 11171;
- getitem 513,1; //Banana
+ getitem Banana,1;
close;
}
else if (ep13_3_bra == 2) {
@@ -5301,7 +5301,7 @@ dic_in01,165,104,0 script Frede#13_3_in 4_MAN_PIOM,{
close;
}
else if (ep13_3_bra == 8) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Frede]";
mes "You have too many kinds of items.";
mes "Please return after reducing the number of items.";
@@ -5336,7 +5336,7 @@ dic_in01,165,104,0 script Frede#13_3_in 4_MAN_PIOM,{
mes "We may be from different races but we can be great friends.";
completequest 11176;
ep13_3_bra = 9;
- getitem 2788,1; //Bradium_Earing
+ getitem Bradium_Earing,1;
for (.@i = 0; .@i < .@size; ++.@i)
erasequest .@quest_id[.@i];
close;
@@ -6032,7 +6032,7 @@ dic_in01,349,129,5 script Bouy#13_3 4_MAN_BENKUNI,{
close;
}
else if (ep13_3_bra == 6) {
- if (countitem(6319) > 29) {
+ if (countitem(Small_Bradium) > 29) {
mes "[Bouy]";
mes "You've brought back the Bradium.";
mes "I've been waiting for the Galtens to return because I'm not accustomed to battle since I'm Venknick. Thank you very much.";
@@ -6042,7 +6042,7 @@ dic_in01,349,129,5 script Bouy#13_3 4_MAN_BENKUNI,{
next;
mes "[Bouy]";
mes "Please go rest while I get to work.";
- delitem 6319,30; //Small_Bradium
+ delitem Small_Bradium,30;
changequest 11174,11175;
ep13_3_bra = 7;
close;
@@ -6801,7 +6801,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "You can use it to return to El Dicastes whenever you wish.";
next;
ep13_3_invite = 6;
- getitem 2844,1; //El_Dicastes_Light
+ getitem El_Dicastes_Light,1;
completequest 7184;
mes "[Clerk Rhawyne]";
mes "There is a special place for humans located beneath the residential area of Pioms.";
@@ -6827,7 +6827,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "Ravail cannot be met in person even with exploit certifications.";
next;
if (select("Ahat:Another minister") == 1) {
- if (countitem(6304) > 2) {
+ if (countitem(Sapa_Feat_Cert) > 2) {
mes "[Clerk Rhawyne]";
mes "You've really collected 3 exploit certification of Sapha already.";
mes "Alright. I will send a request.";
@@ -6839,7 +6839,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "[Clerk Rhawyne]";
mes "It is a separate elevator that leads to the high minister's office";
mes "You will be guided in front of the office.";
- delitem 6304,3; //Sapa_Feat_Cert
+ delitem Sapa_Feat_Cert,3;
ep13_3_secret = 13;
changequest 7197,7198;
close;
@@ -6979,7 +6979,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "Are you sure you want to do this?";
next;
if(select("No, let me think about it.:Take my Light of El Dicastes.") == 2) {
- if (countitem(2844) == 0 || countitem(6304) < 6) {
+ if (countitem(El_Dicastes_Light) == 0 || countitem(Sapa_Feat_Cert) < 6) {
mes "[Kareka]";
mes "You need to bring the Light of El Dicastes and 6 Sapha Certifications!";
mes "Don't try to cheat me!";
@@ -6991,14 +6991,14 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "Haaap--!";
specialeffect2 EF_REPAIRWEAPON;
progressbar "ffff00",3;
- delitem 6304,6; //Sapa_Feat_Cert
- delitem 2844,1; //El_Dicastes_Light
- getitem 2844,1; //El_Dicastes_Light
+ delitem Sapa_Feat_Cert,6;
+ delitem El_Dicastes_Light,1;
+ getitem El_Dicastes_Light,1;
ep13_3_ring2 = 0;
}
close;
}
- if (countitem(6304) < 1) {
+ if (countitem(Sapa_Feat_Cert) < 1) {
mes "[Kareka]";
mes "The Exploit Certifications of Sapha that you collect by helping throughout the city has other uses besides meeting the minister.";
next;
@@ -7026,7 +7026,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "But of course, since this is adding spells on top of its original magic, I cannot guarantee that you will get what you want on one try.";
close;
}
- if (countitem(2844) < 1) {
+ if (countitem(El_Dicastes_Light) < 1) {
mes "[Kareka]";
mes "Either you are not wearing or don't have the equipment to upgrade on you.";
close;
@@ -7056,7 +7056,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
else mes "Hmm... This may not be important to you but.";
next;
mes .@n$;
- if (countitem(6304) < 1) {
+ if (countitem(Sapa_Feat_Cert) < 1) {
if (.@re$ == "Brare") {
mes "Oh... no luck on Sapha Certifications?";
next;
@@ -7271,7 +7271,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{
mes "Please come back again.";
close;
}
- if (countitem(6304) < .@req) {
+ if (countitem(Sapa_Feat_Cert) < .@req) {
mes .@n$;
mes "But you don't have enough exploit certifications. You need "+.@req+" exploit certification of Sapha for the "+((.@req == 3)?"third":((.@req == 2)?"second":"first"))+" step of upgrade.";
close;
@@ -7382,7 +7382,7 @@ dic_in01,353,37,5 duplicate(dic_enc#main) Kareka#pa0829 4_MAN_PIOM
dic_fild01,228,159,4 script Jahbong#pa0829 4_M_MERCAT2,{
mes "[Jahbong]";
- if (countitem(6304) < 1) {
+ if (countitem(Sapa_Feat_Cert) < 1) {
mes "You haven't received a Sapha Certification yet?";
next;
mes "[Jahbong]";
diff --git a/npc/re/quests/quests_malangdo.txt b/npc/re/quests/quests_malangdo.txt
index a6547168c..28c99962c 100644
--- a/npc/re/quests/quests_malangdo.txt
+++ b/npc/re/quests/quests_malangdo.txt
@@ -44,7 +44,7 @@
//== Utility NPCs :: cat_merchant ==========================
mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
- if (MaxWeight - Weight < 100 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 100 || checkweight(Knife,1) == 0) {
mes "[Investment Cat Helper]";
mes "You have a heavy load. Maybe you're a peddler? No peddlers in this area.";
close;
@@ -81,7 +81,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
while(1) {
switch(select("Open an account:Ask about benefits:Cancel")) {
case 1:
- if (countitem(12636) < 10) {
+ if (countitem(Malang_Sp_Can) < 10) {
mes "[Investment Cat Helper]";
mes "Hmm!";
mes "I'd love to give you account for";
@@ -89,7 +89,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
mes "advertising investers of the trader group, sorry.";
close;
}
- delitem 12636,10; //Malang_Sp_Can
+ delitem Malang_Sp_Can,10;
ep13_yong1 = 10;
mes "[Investment Cat Helper]";
mes "Good!";
@@ -207,7 +207,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
mes "Please check again~";
close;
}
- if (countitem(12636) < .@required) {
+ if (countitem(Malang_Sp_Can) < .@required) {
mes "[Investment Cat Helper]";
mes "Ahhh!";
mes "You don't have enough cans.";
@@ -215,7 +215,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
close;
}
if (ep13_yong1 < 10000) {
- delitem 12636,.@required; //Malang_Sp_Can
+ delitem Malang_Sp_Can,.@required;
ep13_yong1 += .@input;
mes "[Investment Cat Helper]";
mes .@input+" accounts were invested in.";
@@ -229,7 +229,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
close;
} else {
if (.@input + ep13_yong1 > 20000) {
- delitem 12636,.@required; //Malang_Sp_Can
+ delitem Malang_Sp_Can,.@required;
ep13_yong1 = 20000;
mes "[Investment Cat Helper]";
mes "You can have 20,000 accounts max";
@@ -243,7 +243,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
mes "Thank you so much~";
close;
} else {
- delitem 12636,.@required; //Malang_Sp_Can
+ delitem Malang_Sp_Can,.@required;
ep13_yong1 += .@input;
mes "[Investment Cat Helper]";
mes .@input+" accounts have been invested in.";
@@ -304,12 +304,12 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{
mes "[Investment Cat Helper]";
mes "The can donation can range from a minimum of 20 to a maximum of 10,000.";
close;
- } else if (countitem(12636) < .@input) { // Malang_Sp_Can
+ } else if (countitem(Malang_Sp_Can) < .@input) { // Malang_Sp_Can
mes "[Investment Cat Helper]";
mes "Hmm? You don't have enough cans.";
close;
} else {
- delitem 12636,.@input; //Malang_Sp_Can
+ delitem Malang_Sp_Can,.@input;
mes "[Investment Cat Helper]";
mes "Ohh! Thank you~";
next;
@@ -351,12 +351,12 @@ malangdo,184,139,4 script Storekeeper#mal 4_CAT_ADV2,{
}
switch(.@i) {
case 1:
- if (countitem(12636) < .@cans) {
+ if (countitem(Malang_Sp_Can) < .@cans) {
mes "[Storekeeper]";
mes "You don't have enough cans...";
close;
}
- delitem 12636,.@cans; //Malang_Sp_Can
+ delitem Malang_Sp_Can,.@cans;
break;
case 2:
if (Zeny < .@zeny) {
@@ -630,7 +630,7 @@ mal_in02,22,62,3 script Tomas#mal 4_CAT_ADMIRAL,{
mes "Then, as village chief and the admiral of the cat association, I'd like you to get along with me as well!";
ma_tomas = 100;
completequest 11237;
- getitem 6422,30; //Egrade_Coin
+ getitem Egrade_Coin,30;
close2;
cutin "",255;
end;
@@ -945,7 +945,7 @@ mal_in02,174,64,5 script Linguist Devore#mal 4_CAT_MERMASTER,{
emotion e_hlp;
ma_tomas = 35;
changequest 11236,11237;
- getitem 6422,30; //Egrade_Coin
+ getitem Egrade_Coin,30;
close;
} else if (ma_tomas == 35) {
mes "[Linguist Devore]";
@@ -1113,7 +1113,7 @@ mal_in02,179,57,1 script Geologist Mali#mal 4_CAT_ADV1,{
completequest 11224;
setquest 11225;
setquest 11243;
- getitem 6422,20; //Egrade_Coin
+ getitem Egrade_Coin,20;
close;
} else if (ma_tomas > 99) {
if (questprogress(11240) || questprogress(11241)) {
@@ -1126,7 +1126,7 @@ mal_in02,179,57,1 script Geologist Mali#mal 4_CAT_ADV1,{
mes "Ah! Bob complimented you so much on your great job, mew~";
mes "Please help us next time again when you can, mew~";
changequest 11242,11243;
- getitem 6422,4; //Egrade_Coin
+ getitem Egrade_Coin,4;
close;
} else {
if (questprogress(11243,PLAYTIME) == 1) {
@@ -1187,7 +1187,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
mes "Are you here for voluntary service?!";
emotion e_omg;
next;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Bob]";
mes "Ummm... be lightened with your mind and body when doing voluntary service!";
mes "You seem to have too much stuff, so get yourself lightened~";
@@ -1239,7 +1239,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
changequest 11221,11222;
} else
changequest 11240,11241;
- getitem 6434,1; //Fix_Kit
+ getitem Fix_Kit,1;
close;
case 2:
mes "[Bob]";
@@ -1252,7 +1252,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
}
} else if (ma_tomas == 15) {
L_Quest2:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Notice !! -";
mes " - Since you have too many items - ";
mes " - you cannot get the item. - ";
@@ -1271,8 +1271,8 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
mes "[Bob]";
mes "Repairing the cracks is rather simple.";
mes "Anyone can do it easily with just this ^0000FFFix Kit^000000!";
- if (countitem(6434) == 0)
- getitem 6434,1; //Fix_Kit
+ if (countitem(Fix_Kit) == 0)
+ getitem Fix_Kit,1;
next;
mes "[Bob]";
mes "Fill in the part with this mixture of gray and white clay, and fix the cracks with a stapler.";
@@ -1302,8 +1302,8 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
mes "[Bob]";
mes "You did a great job indeed!!!";
mes "I will tell Dr. Mali!";
- if (countitem(6434) > 0)
- delitem 6434,1; //Fix_Kit
+ if (countitem(Fix_Kit) > 0)
+ delitem Fix_Kit,1;
ma_tomas = 17;
changequest 11223,11224;
close;
@@ -1324,7 +1324,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{
- script Crack#mal0 -1,{
if (.off) end; // Official script uses a 1-second timer to disable cracks. Added to prevent abuse.
if (ma_tomas == 15 || questprogress(11241)) {
- if (countitem(6434) < 1) {
+ if (countitem(Fix_Kit) < 1) {
mes "- To repair the crack -";
mes "- you need a Fix Kit. -";
close;
@@ -1748,7 +1748,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
close;
}
} else if (ma_tomas == 9) {
- if (countitem(6435) < 30) {
+ if (countitem(Fresh_Fruit) < 30) {
mes "[Rican]";
mes "You can get it on Malangdo Island easily. Bring me about 30.";
mes "Ah! Keep the secret to my son for sure~";
@@ -1778,7 +1778,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
mes "Then would you put it in the machine in front of me?";
close;
} else if (ma_tomas == 11) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Notice !! -";
mes " - Since you have too many items - ";
mes " - you cannot get the item. - ";
@@ -1810,7 +1810,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
mes "If you see my son, please tell him to get back soon~";
mes "And this is for you to buy something delicious with, since you did hard work.";
ma_tomas = 12;
- getitem 6422,20; //Egrade_Coin
+ getitem Egrade_Coin,20;
changequest 11219,11220;
setquest 11239;
close;
@@ -1822,7 +1822,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
close;
} else if (ma_tomas > 99) {
if (questprogress(11238)) {
- if (countitem(6435) < 30) {
+ if (countitem(Fresh_Fruit) < 30) {
mes "[Rican]";
mes "You need exactly 30 to get a set!";
close;
@@ -1830,10 +1830,10 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
mes "[Rican]";
mes "Very reliable!";
mes "Don't you want to do your business with Yggdrasil Berry?";
- delitem 6435,30; //Fresh_Fruit
+ delitem Fresh_Fruit,30;
erasequest 11238;
setquest 11239;
- getitem 6422,5; //Egrade_Coin
+ getitem Egrade_Coin,5;
close;
} else if (questprogress(11239,PLAYTIME) == 1) {
mes "[Rican]";
@@ -1879,7 +1879,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{
mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{
if (ma_tomas == 10) {
- if (countitem(6435) < 30) {
+ if (countitem(Fresh_Fruit) < 30) {
mes "[Rican]";
mes "You need exactly 30 to get a set!";
close;
@@ -1892,7 +1892,7 @@ mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{
next;
mes "- The machine starts operating -";
mes "- when he presses the button. -";
- delitem 6435,30; //Fresh_Fruit
+ delitem Fresh_Fruit,30;
ma_tomas = 11;
changequest 11218,11219;
close;
@@ -1912,7 +1912,7 @@ mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -1920,7 +1920,7 @@ mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{
if (rand(1,5) == 4) {
mes "- As I put my hand in the sand -";
mes "- a fresh smell comes out. -";
- getitem 6435,1; //Fresh_Fruit
+ getitem Fresh_Fruit,1;
} else {
mes "- As I put my hand in the sand -";
mes "- I feel like I'm touching -";
@@ -2224,7 +2224,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
L_Quest:
.@i = @mal_bob_q;
@mal_bob_q = 0;
- if (countitem(12624) < 30) {
+ if (countitem(Delicious_Jelly) < 30) {
mes "[Biscuit]";
mes "It's not enough at all~";
mes "I need at least 30 Delicious Jelly.";
@@ -2233,14 +2233,14 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
mes "[Biscuit]";
mes "You got them well.";
mes "There won't be any problem to prepare her meal.";
- delitem 12624,30; //Delicious_Jelly
+ delitem Delicious_Jelly,30;
if (.@i == 1) {
ma_tomas = 27;
changequest 11231,11232;
} else {
erasequest 11244;
setquest 11245;
- getitem 6422,5; //Egrade_Coin
+ getitem Egrade_Coin,5;
}
next;
mes "[Biscuit]";
@@ -2314,7 +2314,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
changequest 11232,11233;
close;
} else if (ma_tomas == 28) {
- if (countitem(6433) && countitem(6432)) {
+ if (countitem(Clean_Brush) && countitem(Full_Bucket)) {
mes "[Biscuit]";
mes "Oh!";
mes "You brought the tools successfully.";
@@ -2323,7 +2323,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
ma_tomas = 29;
changequest 11233,11234;
close;
- } else if (countitem(6433) && countitem(6431)) {
+ } else if (countitem(Clean_Brush) && countitem(Bucket)) {
mes "[Biscuit]";
mes "Oh!";
mes "You brought the tools successfully.";
@@ -2354,7 +2354,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
mes "Right, then from her left leg...!";
close;
} else if (ma_tomas == 33) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Notice !! -";
mes " - Since you have too many items - ";
mes " - you cannot get the item. - ";
@@ -2397,8 +2397,8 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
ma_tomas = 34;
erasequest 11235;
setquest 11236;
- getitem 6422,100; //Egrade_Coin
- getitem 12636,20; //Malang_Sp_Can
+ getitem Egrade_Coin,100;
+ getitem Malang_Sp_Can,20;
close;
} else if (ma_tomas > 99) {
if (questprogress(11244)) {
@@ -2438,7 +2438,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{
mal_in02,102,94,3 script Cleaning Staff#mal 4_CAT_SAILOR1,2,2,{
OnTouch:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Notice !! -";
mes " - Since you have too many items - ";
mes " - you cannot get the item. - ";
@@ -2466,7 +2466,7 @@ OnTouch:
mes "[Cleaning Staff]";
mes "Please give the cleaning tool back to any merchant.";
mes "Thanks for coming~";
- getitem 6431,1; //Bucket
+ getitem Bucket,1;
close;
case 2:
mes "[Cleaning Staff]";
@@ -2476,7 +2476,7 @@ OnTouch:
mes "[Cleaning Staff]";
mes "Please give the cleaning tool back to any merchant.";
mes "Thanks for coming~";
- getitem 6433,1; //Clean_Brush
+ getitem Clean_Brush,1;
close;
case 3:
mes "[Cleaning Staff]";
@@ -2487,7 +2487,7 @@ OnTouch:
}
malangdo,246,184,0 script 1st Rate Point HIDDEN_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Notice !! -";
mes " - Since you have too many items - ";
mes " - you cannot get the item. - ";
@@ -2503,7 +2503,7 @@ malangdo,246,184,0 script 1st Rate Point HIDDEN_NPC,{
mes " - and try this again. - ";
close;
}
- if (countitem(6431) == 0) {
+ if (countitem(Bucket) == 0) {
mes "- To get water -";
mes "- you need a ^0000FFBucket^000000. -";
close;
@@ -2515,8 +2515,8 @@ malangdo,246,184,0 script 1st Rate Point HIDDEN_NPC,{
mes "- The bucket gets remarkably -";
mes "- heavy as water fills it up. -";
specialeffect EF_POTION8;
- delitem 6431,1; //Bucket
- getitem 6432,1; //Full_Bucket
+ delitem Bucket,1;
+ getitem Full_Bucket,1;
close;
case 2:
mes "- Didn't get water. -";
@@ -2618,15 +2618,15 @@ mal_dun01,133,125,5 script Star Candy#mal 4_F_STARFISHGIRL,{
mes "- to be so "+.@str$+". -";
close;
}
- if (!countitem(6433) || !countitem(6432)) {
+ if (!countitem(Clean_Brush) || !countitem(Full_Bucket)) {
mes "- You need -";
mes "- a cleaning brush -";
mes "- and a full bucket. -";
close;
}
mes "- Poured water on the "+.@str$+" skin. -";
- delitem 6432,1; //Full_Bucket
- getitem 6431,1; //Bucket
+ delitem Full_Bucket,1;
+ getitem Bucket,1;
next;
if (rand(1,2) == 1)
.@menu$ = "Brush.:Stop.:";
@@ -2713,7 +2713,7 @@ malangdo,190,167,7 script Portali#mal 4_CAT_SAILOR3,{
next;
switch(select("Go.:Don't go.:Prices?")) {
case 1:
- if (countitem(12636) < 4) {
+ if (countitem(Malang_Sp_Can) < 4) {
mes "[Portali]";
mes "Where are you going without canned food...?";
close;
@@ -2754,14 +2754,14 @@ malangdo,190,167,7 script Portali#mal 4_CAT_SAILOR3,{
}
end;
L_Warp:
- if (countitem(12636) < getarg(1)) {
+ if (countitem(Malang_Sp_Can) < getarg(1)) {
mes "[Portali]";
mes "Where are you going without canned food...?";
close;
}
mes "[Portali]";
mes "Then to "+getarg(0)+"~";
- delitem 12636,getarg(1); //Malang_Sp_Can
+ delitem Malang_Sp_Can,getarg(1);
close2;
warp getarg(2),getarg(3),getarg(4);
end;
@@ -2773,7 +2773,7 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -2788,10 +2788,10 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{
close;
}
.@fish_ss1$ = "What are you doing?";
- if (countitem(6451) > 29)
+ if (countitem(Unknown_Fish) > 29)
.@fish_ss2$ = "I caught a lot of strange fishes!";
else
- .@fish_ss2$ = (30-countitem(6451))+" of ^bbbbbbUnidentified Fish are required.^000000";
+ .@fish_ss2$ = (30-countitem(Unknown_Fish))+" of ^bbbbbbUnidentified Fish are required.^000000";
if (ma_tomas == 100)
.@fish_ss3$ = "I met an Admiral Tomas...";
mes "[Pipielle]";
@@ -2847,9 +2847,9 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{
mes "You can get Unidentified Fish from the Pouring monsters, so please collect 30 of them.";
close;
case 2:
- if (countitem(6451) > 29) {
+ if (countitem(Unknown_Fish) > 29) {
//saveppl Unknown_Fish
- delitem 6451,30; //Unknown_Fish
+ delitem Unknown_Fish,30;
mes "[Pipielle]";
mes "Oh, thank you! I will take these specimens.";
next;
@@ -2892,7 +2892,7 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{
mes "[Pipielle]";
mes "And this is a small gift for looking after admiral Tomas.";
ma_tomas = 101;
- getitem 6422,200; //Egrade_Coin
+ getitem Egrade_Coin,200;
mes "^0000ffReceived 200 E Class Coins.^000000";
close;
}
@@ -2900,7 +2900,7 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{
//== Help the Bad Cats in Danger :: mal_bad_guys ===========
malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Can't go next step due to having too many items. -";
close;
}
@@ -3010,7 +3010,7 @@ malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{
mes "lack of forbidden bad activity.";
close;
} else if (malang_bad_guys == 7) {
- if (countitem(6426) > 29) {
+ if (countitem(Bad_Can) > 29) {
mes "[Gobonge]";
mes "Was it from raccoon that made us pain in stomach?";
mes "Oh bad raccoon!";
@@ -3023,9 +3023,9 @@ malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{
mes "You can go now!";
erasequest 1151;
malang_bad_guys = 8;
- getitem 12636,20; //Malang_Sp_Can
- delitem 6427,1; //Bad_Can_Sack
- delitem 6426,30; //Bad_Can
+ getitem Malang_Sp_Can,20;
+ delitem Bad_Can_Sack,1;
+ delitem Bad_Can,30;
close;
}
mes "[Gobonge]";
@@ -3086,7 +3086,7 @@ malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{
erasequest 1155;
setquest 1152;
malang_bad_guys = 13;
- getitem 6422,5; //Egrade_Coin
+ getitem Egrade_Coin,5;
close;
} else if (malang_bad_guys == 13) {
mes "[Gobonge]";
@@ -3290,7 +3290,7 @@ malangdo,171,163,3 script Awfully Suspious Dealer 4_MASK_SMOKEY,{
mes "I do not recommend.";
close;
} else if (malang_bad_guys == 6) {
- if (countitem(6427) == 0) {
+ if (countitem(Bad_Can_Sack) == 0) {
mes "[Awfully Suspious Dealer]";
mes "You searched the lounge of ship Navi?";
mes "But still nothing in hand.";
@@ -3390,7 +3390,7 @@ mal_in02,184,72,3 script Gozangee#ml 4_CAT_SAILOR4,{
mal_in02,184,77,0 script #ml3 -1,2,2,{
OnTouch:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items. -";
close;
}
@@ -3411,7 +3411,7 @@ OnTouch:
erasequest 1149;
setquest 1150;
malang_bad_guys = 6;
- getitem 6427,1; //Bad_Can_Sack
+ getitem Bad_Can_Sack,1;
close;
} else if (malang_bad_guys == 6) {
mes "I saw a sack of bad cans.";
@@ -3424,7 +3424,7 @@ OnTouch:
}
malangdo,125,147,3 script Patrol Leader#ml 4_CAT_SAILOR2,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Can't go next step due to having too many items. -";
close;
}
@@ -3557,7 +3557,7 @@ malangdo,3,1,3 script Guidance for quest#ml 4_MASK_SMOKEY,{
case 4:
mes "[Helper]";
mes "Owing?";
- getitem 6426,30; //Bad_Can
+ getitem Bad_Can,30;
close;
case 5:
mes "[Helper]";
@@ -3576,7 +3576,7 @@ malangdo,3,1,3 script Guidance for quest#ml 4_MASK_SMOKEY,{
//== Clean the Ship :: mal_day_qook ========================
mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -3819,7 +3819,7 @@ mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{
mes "So let me see you everyday from provided cat's ship biscuit tomorrow.";
mes "You did good job. This is a token of thanks.";
mal_qook = 6;
- getitem 12636,30; //Malang_Sp_Can
+ getitem Malang_Sp_Can,30;
getexp 80000,80000;
setquest 7267;
close;
@@ -3932,7 +3932,7 @@ mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{
erasequest 7274;
erasequest 7275;
getexp 30000,40000;
- getitem 12636,10; //Malang_Sp_Can
+ getitem Malang_Sp_Can,10;
close;
}
mes "[Cleanyang]";
@@ -3961,7 +3961,7 @@ mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{
}
mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -3998,7 +3998,7 @@ mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{
case 2: monster "mal_in02",29,65,"Quick Dark Shadow",2209,1;
}
setquest 7261;
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
next;
if (questprogress(7261) && questprogress(7262) && questprogress(7263)) {
mes "I guess I searched pretty enough.";
@@ -4028,7 +4028,7 @@ mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{
case 2: monster "mal_in02",29,65,"Quick Dark Shadow",2209,1;
}
setquest 7261;
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
mes "It used to be habitat of insects because someone left cat's ship biscuit.";
@@ -4040,7 +4040,7 @@ mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{
}
mal_in02,183,49,0 script #MeetingFloor4 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4066,7 +4066,7 @@ mal_in02,183,49,0 script #MeetingFloor4 CLEAR_NPC,{
case 1: monster "mal_in02",184,50,"Quick Dark Shadow",2209,1;
}
setquest 7263;
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
if (mal_qook == 1) {
next;
if (questprogress(7261) && questprogress(7262) && questprogress(7263)) {
@@ -4087,7 +4087,7 @@ mal_in02,183,49,0 script #MeetingFloor4 CLEAR_NPC,{
}
mal_in02,103,22,0 script #MalBed5 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4106,7 +4106,7 @@ mal_in02,103,22,0 script #MalBed5 CLEAR_NPC,{
emotion e_omg;
monster "mal_in02",102,23,"Quick Dark Shadow",2209,1;
setquest 7262;
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
if (mal_qook == 1) {
next;
if (questprogress(7261) && questprogress(7262) && questprogress(7263)) {
@@ -4132,7 +4132,7 @@ mal_in02,103,22,0 script #MalBed5 CLEAR_NPC,{
}
malangdo,141,178,0 script #Darkweed6 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4151,7 +4151,7 @@ malangdo,141,178,0 script #Darkweed6 CLEAR_NPC,{
emotion e_omg;
monster "malangdo",141,178,"Quick Dark Shadow",2209,1;
setquest 7269;
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
case 2:
mes "I searched under the chair in rest area, but I didn't find any problem.";
@@ -4169,7 +4169,7 @@ malangdo,141,178,0 script #Darkweed6 CLEAR_NPC,{
}
malangdo,133,134,0 script Strange Pile of Sand#7 4_SOIL,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4199,7 +4199,7 @@ malangdo,133,134,0 script Strange Pile of Sand#7 4_SOIL,{
getmapxy(.@map$,.@x,.@y,1);
monster .@map$,.@x,.@y,"Quick Dark Shadow",2209,1;
} else
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
}
@@ -4213,7 +4213,7 @@ malangdo,133,134,0 script Strange Pile of Sand#7 4_SOIL,{
malangdo,197,237,0 duplicate(Strange Pile of Sand#7) Strange Pile of Sand#12 4_SOIL
malangdo,232,131,0 script #UnderStairs8 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4232,7 +4232,7 @@ malangdo,232,131,0 script #UnderStairs8 CLEAR_NPC,{
emotion e_omg;
monster "malangdo",231,130,"Quick Dark Shadow",2209,1;
} else
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
mes "Sometimes, someone played with pulling people's ankle under the stairs";
@@ -4247,7 +4247,7 @@ malangdo,232,131,0 script #UnderStairs8 CLEAR_NPC,{
}
mal_in01,74,20,0 script #CornerTower9 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4266,7 +4266,7 @@ mal_in01,74,20,0 script #CornerTower9 CLEAR_NPC,{
emotion e_omg;
monster "mal_in01",73,19,"Quick Dark Shadow",2209,1;
} else
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
mes "We already collected buried cat's ship biscuit.";
@@ -4278,7 +4278,7 @@ mal_in01,74,20,0 script #CornerTower9 CLEAR_NPC,{
}
mal_in01,159,225,0 script #CornerLocker10 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4297,7 +4297,7 @@ mal_in01,159,225,0 script #CornerLocker10 CLEAR_NPC,{
emotion e_omg;
monster "mal_in01",159,225,"Quick Dark Shadow",2209,1;
} else
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
mes "We already collected buried cat's ship biscuit.";
@@ -4309,7 +4309,7 @@ mal_in01,159,225,0 script #CornerLocker10 CLEAR_NPC,{
}
mal_in01,24,72,0 script #FootholdTower11 CLEAR_NPC,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4328,7 +4328,7 @@ mal_in01,24,72,0 script #FootholdTower11 CLEAR_NPC,{
emotion e_omg;
monster "mal_in01",24,71,"Quick Dark Shadow",2209,1;
} else
- getitem 11536,1; //Cat_Hard_Biscuit
+ getitem Cat_Hard_Biscuit,1;
close;
}
mes "There is mark that shows something used to be jammed in gap of foothold in very bottom of cat tower.";
@@ -4342,7 +4342,7 @@ mal_in01,24,72,0 script #FootholdTower11 CLEAR_NPC,{
//== Help Chef Nyas :: mal_day_qook ========================
mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- You have too many items so you can't continue the quest. -";
close;
}
@@ -4466,7 +4466,7 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
mes "Maybe need more time.";
close;
} else if (mal_qook == 4) {
- if (countitem(577) >= 10 && countitem(7454) > 0) {
+ if (countitem(Grain) >= 10 && countitem(Plain_Sauce) > 0) {
mes "[Chef Nyas]";
mes "Finally here. Wow, this land is pretty different.";
mes "That is enough to process.";
@@ -4474,8 +4474,8 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
mes "[Chef Nyas]";
mes "If you are ok, I want to get these food everyday.";
mes "If you don't mind, just come back tomorrow.";
- delitem 577,10; //Grain
- delitem 7454,1; //Plain_Sauce
+ delitem Grain,10;
+ delitem Plain_Sauce,1;
mal_qook = 5;
erasequest 7266;
setquest 7276;
@@ -4613,13 +4613,13 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
setarray .@StartID[0],12061,12091,12041,12071,12056,12086,12051,12081,12046,12076,12066,12096,12429,12434;
.@food = .@StartID[(.@i-1)/5]+((.@i-1)%5);
- if (countitem(577) >= 10 && countitem(7454) > 0 && countitem(.@food) > 0) {
+ if (countitem(Grain) >= 10 && countitem(Plain_Sauce) > 0 && countitem(.@food) > 0) {
mes "[Chef Nyas]";
mes "Great.";
mes "This is that food!";
mes "It will be good reference. Well done.";
- delitem 577,10; //Grain
- delitem 7454,1; //Plain_Sauce
+ delitem Grain,10;
+ delitem Plain_Sauce,1;
delitem .@food,1;
setquest 7276;
mal_food = 0;
@@ -4628,7 +4628,7 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
// Quantities grouped in 10s repeating.
// [ 3, 3, 6, 6, 9, 9, 12, 12, 15, 18 ]
// Last group [ 61 - 66 ] receives 25 constant.
- getitem 6422, ((.@i < 61)?((.@i%10)?3*(((.@i%10)+1)/2):18):25); //Egrade_Coin
+ getitem Egrade_Coin, ((.@i < 61)?((.@i%10)?3*(((.@i%10)+1)/2):18):25);
getexp 50000,80000;
next;
@@ -4656,7 +4656,7 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{
//== Play with Baby Cats :: mal_nyadventurer ===============
malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) {
mes "- You have too many items to proceed in this quest. -";
close;
}
@@ -4752,7 +4752,7 @@ malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{
mes "Rato seems to be in brown study.";
close;
} else if (nyadven == 13) {
- if (countitem(6430) < 6) {
+ if (countitem(Picture_Piece) < 6) {
mes "You didn't bring the pieces of the painting.";
mes "Please take it with you.";
close;
@@ -4782,9 +4782,9 @@ malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{
mes "[Rato]";
mes "It's very kind of you to play with the kids.";
mes "This is for you.";
- delitem 6430,6; //Picture_Piece
+ delitem Picture_Piece,6;
nyadven = 14;
- getitem 6422,100; //Egrade_Coin
+ getitem Egrade_Coin,100;
completequest 7259;
next;
mes "[Rato]";
@@ -4816,7 +4816,7 @@ malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{
}
malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) {
mes "- You have too many items to proceed in this quest. -";
close;
}
@@ -4853,7 +4853,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
next;
switch(select("I have a spare Glass Bead!:Why are you guys staring at me?")) {
case 1:
- if (countitem(746) == 0) {
+ if (countitem(Glass_Bead) == 0) {
mes "[Roku]";
mes "There is no glass bead.";
mes "Don't lie to us.";
@@ -4887,9 +4887,9 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "you would clear all Nyadventures";
mes "made by the Meow Bravery Team!";
mes "Challenge it whenever you want to!";
- delitem 746,1; //Glass_Bead
+ delitem Glass_Bead,1;
nyadven = 2;
- getitem 12636,30; //Malang_Sp_Can
+ getitem Malang_Sp_Can,30;
close;
case 2:
mes "[Rosy]";
@@ -4933,7 +4933,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "Got Adventure Card from the yellow cat Charo.";
mes "It seems to work if I put this card in the slot in the Beginning Compass.";
nyadven = 3;
- getitem 6428,1; //Bravery_Card_A
+ getitem Bravery_Card_A,1;
changequest 7242,7243;
next;
mes "[Charo]";
@@ -4975,7 +4975,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "Ring the New bell!^000000";
close;
} else if (nyadven == 4) {
- if (countitem(6428) == 0) {
+ if (countitem(Bravery_Card_A) == 0) {
mes "[Charo]";
mes "Where is your Adventure Card?";
mes "You should bring it with you.";
@@ -5008,7 +5008,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "And this island could explode!";
mes "Oh, you might shut your eyes to the fact.";
mes "Give the Adventure Card back!";
- delitem 6428,1; //Bravery_Card_A
+ delitem Bravery_Card_A,1;
nyadven = 5;
erasequest 7243;
close;
@@ -5023,9 +5023,9 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "It shouldn't happen that the detective misunderstands you as an enemy!";
next;
mes "- Changed Adventure Card A into Adventure Card B. -";
- delitem 6428,1; //Bravery_Card_A
+ delitem Bravery_Card_A,1;
nyadven = 6;
- getitem 6429,1; //Bravery_Card_B
+ getitem Bravery_Card_B,1;
setquest 7246;
erasequest 7243;
next;
@@ -5051,7 +5051,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
next;
mes "- Changed Adventure Card A into Adventure Card B. -";
nyadven = 6;
- getitem 6429,1; //Bravery_Card_B
+ getitem Bravery_Card_B,1;
setquest 7246;
next;
mes "[Charo]";
@@ -5077,7 +5077,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{
mes "Let me see it quickly!";
mes "Take it out!";
next;
- if (countitem(6430) < 6) {
+ if (countitem(Picture_Piece) < 6) {
mes "[Charo]";
mes "What? You don't have it?";
mes "It can't be true.";
@@ -5215,7 +5215,7 @@ malangdo,214,204,3 script [Meow Team] Rosy#nya_09 4_CAT_ADV1,{
}
malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) {
mes "- You have too many items to proceed in this quest. -";
close;
}
@@ -5245,7 +5245,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
next;
switch(select("Report results of the race.:Challenge the race.:Nothing.")) {
case 1:
- if (countitem(6428) == 0) {
+ if (countitem(Bravery_Card_A) == 0) {
mes "[Roku]";
mes "Bubi, no confirmation stamps and card.";
mes "You will be in trouble if you are like this.";
@@ -5261,9 +5261,9 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
mes "[Roku]";
mes "Charo likes you so much.";
mes "He will be happy if you come.";
- delitem 6428,1; //Bravery_Card_A
+ delitem Bravery_Card_A,1;
nyadven02 = 29;
- getitem 6422,3; //Egrade_Coin
+ getitem Egrade_Coin,3;
getexp 20000,20000;
erasequest 7244;
erasequest 7245;
@@ -5273,13 +5273,13 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
mes "Failed...";
mes "...is it too difficult for you?";
mes "But the race is available only once a day.";
- delitem 6428,1; //Bravery_Card_A
+ delitem Bravery_Card_A,1;
erasequest 7244;
erasequest 7245;
next;
switch(select("Give me one more chance!:Okay.I will try tomorrow.")) {
case 1:
- if (countitem(12636) == 0) {
+ if (countitem(Malang_Sp_Can) == 0) {
mes "[Roku]";
mes "Um... Um... Well...";
mes "If you bring a Malangdo Can,";
@@ -5291,7 +5291,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
next;
switch(select("Exchange for Adventure Card A.:Stop it.")) {
case 1:
- if (countitem(6428)) {
+ if (countitem(Bravery_Card_A)) {
mes "[Roku]";
mes "You have it already?";
close;
@@ -5299,8 +5299,8 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
mes "[Roku]";
mes "Here is your Adventure Card.";
mes "Beginning Compass, start!";
- delitem 12636,1; //Malang_Sp_Can
- getitem 6428,1; //Bravery_Card_A
+ delitem Malang_Sp_Can,1;
+ getitem Bravery_Card_A,1;
nyadven02 = 0;
if (questprogress(7257))
erasequest 7257;
@@ -5334,7 +5334,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
mes "[Roku]";
mes "Is this because of the machine?";
mes "Let's make void for this race.";
- delitem 6428,1; //Bravery_Card_A
+ delitem Bravery_Card_A,1;
nyadven02 = 0;
erasequest 7244;
erasequest 7245;
@@ -5367,12 +5367,12 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
next;
switch(select("Buy Adventure Card.:Just stop it.")) {
case 1:
- if (countitem(6428)) {
+ if (countitem(Bravery_Card_A)) {
mes "[Roku]";
mes "You have it already?";
close;
}
- if (countitem(12636) == 0) {
+ if (countitem(Malang_Sp_Can) == 0) {
mes "[Roku]";
mes "There is nothing for free.";
mes "You need a Malangdo Can.";
@@ -5381,8 +5381,8 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
mes "[Roku]";
mes "Here is your Adventure Card.";
mes "Beginning Compass, start!";
- delitem 12636,1; //Malang_Sp_Can
- getitem 6428,1; //Bravery_Card_A
+ delitem Malang_Sp_Can,1;
+ getitem Bravery_Card_A,1;
nyadven02 = 0;
close;
case 2:
@@ -5398,7 +5398,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{
}
malangdo,212,204,0 script Beginning Compass#nya_02 CLEAR_NPC,{
- if (countitem(6428) == 0) {
+ if (countitem(Bravery_Card_A) == 0) {
mes "There is a strange machine.";
mes "The kids said this was the ride called Duruduru compass of the Meow Bravery Team.";
close;
@@ -5482,7 +5482,7 @@ L_Viewpoint:
}
- script #malangdo_compass -1,{
- if (countitem(6428) == 0) {
+ if (countitem(Bravery_Card_A) == 0) {
mes "There is a strange machine.";
mes "This is the Duruduru compass from the Meow Bravery Team.";
close;
@@ -5596,7 +5596,7 @@ malangdo,153,146,0 duplicate(#malangdo_compass) Forest Compass#4 CLEAR_NPC
malangdo,111,178,0 duplicate(#malangdo_compass) Cloud Compass#5 CLEAR_NPC
malangdo,175,163,0 script Meowbell#nya_12 CLEAR_NPC,{
- if (countitem(6428) == 0) {
+ if (countitem(Bravery_Card_A) == 0) {
mes "There is a fancy bell which doesn't fit in with the ship.";
mes "This bell is used in a game by the Meow Bravery Team.";
viewpoint 2,1,1,0,0xFFFFFF;
@@ -5844,7 +5844,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
next;
switch(select("Buy Adventure Card.:Do not buy.")) {
case 1:
- if (countitem(12636) == 0) {
+ if (countitem(Malang_Sp_Can) == 0) {
mes "[Homnya]";
mes "I said I can exchange Adventure Card with one Malango Can~";
close2;
@@ -5854,9 +5854,9 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
mes "See, this is a scary machine.";
mes "Here is your Adventure Card.";
mes "Stop this machine this time.";
- delitem 12636,1; //Malang_Sp_Can
+ delitem Malang_Sp_Can,1;
nyadven = 7;
- getitem 6429,1; //Bravery_Card_B
+ getitem Bravery_Card_B,1;
close2;
break;
case 2:
@@ -5919,7 +5919,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
mes "Come here right after you find treasure!";
close2;
} else if (nyadven == 11) {
- if (countitem(6430) > 5) {
+ if (countitem(Picture_Piece) > 5) {
mes "[Homnya]";
mes "You've found all the treasure.";
mes "Yes, exactly.";
@@ -5964,7 +5964,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
next;
mes "[Nyangson]";
mes "Go get the treasure again!";
- delitem 6430,countitem(6430); //Picture_Piece
+ delitem Picture_Piece,countitem(Picture_Piece);
erasequest 7251;
erasequest 7252;
erasequest 7253;
@@ -5985,7 +5985,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
mes "It's good to take a break for little bit but now we don't have any spare time.";
close2;
} else {
- if (countitem(6429) > 0) {
+ if (countitem(Bravery_Card_B) > 0) {
mes "[Homnya]";
mes "Stop this noisy machine!";
mes "Insert your Adventure Card, and take a look at the reaction of the machine carefully. Then do the proper action!";
@@ -6033,7 +6033,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
next;
switch(select("Buy Adventure Card B.:Don't buy it.")) {
case 1:
- if (countitem(12636) == 0) {
+ if (countitem(Malang_Sp_Can) == 0) {
mes "[Homnya]";
mes "How many Malangdo Cans for an Adventure Card?";
next;
@@ -6049,8 +6049,8 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{
next;
mes "[Nyangson]";
mes "Please do it.";
- delitem 12636,1; //Malang_Sp_Can
- getitem 6429,1; //Bravery_Card_B
+ delitem Malang_Sp_Can,1;
+ getitem Bravery_Card_B,1;
close2;
break;
case 2:
@@ -6123,7 +6123,7 @@ malangdo,174,175,0 script Noisy Machine#nya_13 CLEAR_NPC,{
mes "We also have break time...";
close;
}
- if (countitem(6429) == 0) {
+ if (countitem(Bravery_Card_B) == 0) {
mes "[Homnya]";
mes "You can't try this without Adventure Card B.";
mes "Please bring it with you.";
@@ -6176,9 +6176,9 @@ malangdo,174,175,0 script Noisy Machine#nya_13 CLEAR_NPC,{
nyadven = 9;
erasequest 7247;
}
- delitem 6429,1; //Bravery_Card_B
+ delitem Bravery_Card_B,1;
setquest 7249;
- getitem 6422,3; //Egrade_Coin
+ getitem Egrade_Coin,3;
getexp 20000,20000;
next;
if (nyadven == 9) {
@@ -6283,7 +6283,7 @@ L_ShowLights:
cutin "",255;
mes "Adventure Card B burned off";
mes "with a huge explosion.";
- delitem 6429,1; //Bravery_Card_B
+ delitem Bravery_Card_B,1;
if (nyadven == 7)
nyadven = 8;
close;
@@ -6311,7 +6311,7 @@ L_ShowLights:
// 3 - Player has already found the picture piece.
// null - Success.
function script F_Mal_Picture {
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) {
mes "- You have too many items to proceed in this quest. -";
close;
}
@@ -6328,7 +6328,7 @@ function script F_Mal_Picture {
mes getarg(4);
mes "You found a piece of the painting.";
setquest getarg(0);
- getitem 6430,1; //Picture_Piece
+ getitem Picture_Piece,1;
next;
if (questprogress(7251) && questprogress(7252) && questprogress(7253) && questprogress(7254) && questprogress(7255) && questprogress(7256)) {
mes "It looks like you can put these pieces of paintings together.";
@@ -6526,7 +6526,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -6970,7 +6970,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
mes "Heh~";
malang_gamer = 11;
erasequest 5068;
- getitem 6422,100; //Egrade_Coin
+ getitem Egrade_Coin,100;
next;
mes "[Cat Gamers Director]";
mes "Heh~ Please come back if you change your mind.";
@@ -6993,7 +6993,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
malang_gamer = 12;
erasequest 5068;
setquest 5069;
- getitem 6422,100; //Egrade_Coin
+ getitem Egrade_Coin,100;
next;
mes "[Cat Gamers Director]";
mes "Heh~ Ok, "+strcharinfo(0)+". I will see you in an hour. Heh~";
@@ -7062,7 +7062,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
mes "Heh~ Take this and show us what you've got.";
erasequest 5069;
malang_gamer = 20;
- getitem 2872,1; //G_Honor_Certificate
+ getitem G_Honor_Certificate,1;
next;
mes "[Cat Gamers Director]";
mes "Heh~ I may be worrying too much... But, please wear this '^0000FFCat Gamers Certificate^000000', and play the game. Heh~";
@@ -7146,8 +7146,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
if (questprogress(5074,HUNTING)) {
mes "Heh~ It's not like I didn't feed them right... Heh~ I hope it was not too much for you, "+strcharinfo(0)+".";
next;
- if (questprogress(5074,HUNTING) == 2 && countitem(1023) >= 10) {
- delitem 1023,10; //Fish_Tail
+ if (questprogress(5074,HUNTING) == 2 && countitem(Fish_Tail) >= 10) {
+ delitem Fish_Tail,10;
callsub L_CompleteQuest,5074,
"Heh~ So, you brought 30 Phens and 10 Fish Tails, just as ordered.";
} else {
@@ -7158,8 +7158,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
} else if (questprogress(5075,HUNTING)) {
mes "Heh~ Hmm, 50 Marses, and 30 Milk Bottles... Heh~";
next;
- if (questprogress(5075,HUNTING) == 2 && countitem(519) >= 30) {
- delitem 519,30; //Milk
+ if (questprogress(5075,HUNTING) == 2 && countitem(Milk) >= 30) {
+ delitem Milk,30;
callsub L_CompleteQuest,5075,
"Heh~ Guess they wanted some healthy food. Heh~ They should have just told me... Let me show you my skills. Heh~";
} else {
@@ -7204,8 +7204,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
} else if (questprogress(5079)) {
mes "Heh~ Hmm... let me see... Heh~ That's right, I was worrying about our team getting so nervous before the actual game... But, they won't even talk to me about it.";
next;
- if (countitem(7038) >= 20) {
- delitem 7038,20; //Yarn
+ if (countitem(Yarn) >= 20) {
+ delitem Yarn,20;
callsub L_CompleteQuest,5079,
"Heh~ How could I miss that? I shall give some to my team for sure.";
} else {
@@ -7216,8 +7216,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
} else if (questprogress(5080)) {
mes "Heh~ The note says, get me 30 Rat Tails for a snack.";
next;
- if (countitem(1016) >= 30) {
- delitem 1016,30; //Rat_Tail
+ if (countitem(Rat_Tail) >= 30) {
+ delitem Rat_Tail,30;
callsub L_CompleteQuest,5080,
"Heh~ I think I've fed them good snacks... Didn't I? Lately I was little busy, they should have some patience... Heh~ Poor manager...";
} else {
@@ -7228,8 +7228,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
} else if (questprogress(5081)) {
mes "Heh~ It says 5 on the note... 5 of what? What?! Lemons?";
next;
- if (countitem(568) >= 5) {
- delitem 568,5; //Lemon
+ if (countitem(Lemon) >= 5) {
+ delitem Lemon,5;
callsub L_CompleteQuest,5081,
"Heh~ Lemon is forbidden before the actual game... heh? They won't eat it at game time, right? Heh~";
} else {
@@ -7240,12 +7240,12 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
} else if (questprogress(5082)) {
mes "Heh~ Give us 10 Ice Pieces or 10 Ice Creams!! Heh~ I personally prefer Ice Cream, just so you know.";
next;
- if (countitem(7066) >= 10) {
- delitem 7066,10; //Ice_Piece
+ if (countitem(Ice_Piece) >= 10) {
+ delitem Ice_Piece,10;
callsub L_CompleteQuest,5082,
"Heh~ Oh, you brought Ice Pieces. Heh~ The players will love it.";
- } else if (countitem(536) >= 10) {
- delitem 536,10; //Ice_Cream
+ } else if (countitem(Ice_Cream) >= 10) {
+ delitem Ice_Cream,10;
callsub L_CompleteQuest,5082,
"Heh~ Oh, you brought Ice Creams. Heh~ The players will love it.";
} else {
@@ -7305,7 +7305,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{
// callsub L_CompleteQuest,<quest ID>,"<message>";
L_CompleteQuest:
erasequest getarg(0);
- getitem 12636,3; //Malang_Sp_Can
+ getitem Malang_Sp_Can,3;
mes "[Cat Gamers Director]";
mes getarg(1);
next;
@@ -7320,7 +7320,7 @@ malangdo,127,111,4 script Strange Cat#gamer 4_CAT_SAILOR4,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -7612,7 +7612,7 @@ malangdo,161,197,4 script Eryu#gamer 4_CAT,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -7828,7 +7828,7 @@ malangdo,230,197,4 script Stew#gamer 4_CAT_3COLOR,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -8057,7 +8057,7 @@ malangdo,244,144,4 script Ketchup#gamer 4_CAT_SAILOR3,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -8246,7 +8246,7 @@ malangdo,181,119,7 script Eff#gamer 4_CAT_ADV2,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -8507,7 +8507,7 @@ mal_in01,91,216,4 script Ser#gamer 4_CAT_SAILOR1,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -8522,7 +8522,7 @@ mal_in01,91,216,4 script Ser#gamer 4_CAT_SAILOR1,{
}
}
if (malang_gamer < 20) {
- if (countitem(2872)) {
+ if (countitem(G_Honor_Certificate)) {
mes "[Ser]";
mes "You seem like a first timer! Where did you get the certificate? Someone lost it, I guess.";
close;
@@ -8681,9 +8681,9 @@ mal_in01,91,216,4 script Ser#gamer 4_CAT_SAILOR1,{
mes "Good bye~ Come back tomorrow for more practice~";
if (.@win == 5) {
mes "Oh! You won all 5 matches. Here are some more extra Cans.";
- getitem 12636,10; //Malang_Sp_Can
+ getitem Malang_Sp_Can,10;
} else
- getitem 12636,5; //Malang_Sp_Can
+ getitem Malang_Sp_Can,5;
setquest 5070;
close;
}
@@ -8851,7 +8851,7 @@ mal_in01,86,222,4 script Paa#gamer 4_CAT_SAILOR1,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -8866,7 +8866,7 @@ mal_in01,86,222,4 script Paa#gamer 4_CAT_SAILOR1,{
}
}
if (malang_gamer < 20) {
- if (countitem(2872)) {
+ if (countitem(G_Honor_Certificate)) {
mes "[Paa]";
mes "You seem like a first timer meow! Where did you get the certificate meow? Someone lost it, I guess meow.";
close;
@@ -9013,9 +9013,9 @@ mal_in01,86,222,4 script Paa#gamer 4_CAT_SAILOR1,{
mes "Good bye meow~ Come back tomorrow for more practice meow~";
if (.@win == 5) {
mes "Oh! You won all 5 matches meow. Here are some more extra Cans meow!";
- getitem 12636,10; //Malang_Sp_Can
+ getitem Malang_Sp_Can,10;
} else
- getitem 12636,5; //Malang_Sp_Can
+ getitem Malang_Sp_Can,5;
setquest 5070;
close;
}
@@ -9181,7 +9181,7 @@ mal_in01,91,222,4 script Kuka#gamer 4_M_BABYCAT,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -9196,7 +9196,7 @@ mal_in01,91,222,4 script Kuka#gamer 4_M_BABYCAT,{
}
}
if (malang_gamer < 20) {
- if (countitem(2872)) {
+ if (countitem(G_Honor_Certificate)) {
mes "[Kuka]";
mes "You seem like a first timer yo~ Where did you get the certificate yo~ You better give that back yo~";
close;
@@ -9348,14 +9348,14 @@ mal_in01,91,222,4 script Kuka#gamer 4_M_BABYCAT,{
mes "[Kuka]";
mes "I'll give you 1 random coin pocket as a special present yo~ Well done yo~ Come back tomorrow yo~";
setquest 5071;
- getitem 12636, .@cans; //Malang_Sp_Can
- getitem 12621,1; //Egrade_Pocket
+ getitem Malang_Sp_Can, .@cans;
+ getitem Egrade_Pocket,1;
close;
} else {
mes "[Kuka]";
mes "Congrats yo~ For winning "+.@win+" times I'll give you "+.@cans+" cans yo~ Well done yo~ Come back tomorrow yo~";
setquest 5071;
- getitem 12636, .@cans; //Malang_Sp_Can
+ getitem Malang_Sp_Can, .@cans;
close;
}
}
@@ -9503,7 +9503,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -9515,7 +9515,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{
}
}
if (malang_gamer < 20) {
- if (countitem(2872)) {
+ if (countitem(G_Honor_Certificate)) {
mes "[KungKung]";
mes "You are not qualified. Hmm... I am not sure how you got this, but we cannot practice with you. Go back.";
close;
@@ -9755,7 +9755,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{
mes "Hmm... That wasn't necessary, I guess.";
mes "This is for you, Human!";
setquest 5072;
- getitem 12636,5; //Malang_Sp_Can
+ getitem Malang_Sp_Can,5;
next;
mes "[KungKung]";
mes "Come again tomorrow. I will beat you next time.";
@@ -9921,7 +9921,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{
mes "Your inventory is too heavy to proceed. Come back after lightening your load.";
close;
}
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "Your inventory is too full to proceed. Come back after reducing your load.";
close;
}
@@ -9933,7 +9933,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{
}
}
if (malang_gamer < 20) {
- if (countitem(2872)) {
+ if (countitem(G_Honor_Certificate)) {
mes "[Leader]";
mes "Not everyone can challenge just because they have the certificate.";
close;
@@ -10242,7 +10242,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{
if (.@you_flag == 1 && .@cat_flags_waved == 0) {
setquest 5073;
if (.@flag_point_cat[1]+.@flag_point_cat[2]+.@flag_point_cat[3]+.@flag_point_cat[4]+.@flag_point_cat[5] < 5) {
- getitem 12636,3; //Malang_Sp_Can
+ getitem Malang_Sp_Can,3;
mes "[Leader]";
mes "Congratulations. You have won the Flag-Waving Game.";
next;
@@ -10256,7 +10256,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{
case 3: .@cans = 15; break;
case 4: .@cans = 20; break;
}
- getitem 12636, .@cans; //Malang_Sp_Can
+ getitem Malang_Sp_Can, .@cans;
mes "[Leader]";
mes "Congratulations. You have won the Flag-Waving Game. "+.@cans+" Canned Foods will be given as the present.";
}
@@ -10525,7 +10525,7 @@ malangdo,234,153,6 script Notice Board#mal 2_BULLETIN_BOARD,{
mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{
disable_items;
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "You are carrying too many items, please reduce them and come back!";
close;
}
@@ -10678,7 +10678,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{
mes "Oh... you have unequipped the Archangel Wing!";
close;
}
- if (countitem(6417) < 3) {
+ if (countitem(Silvervine) < 3) {
mes "[Fallen Angel]";
mes "I can't do it if you can't pay!";
close;
@@ -10690,7 +10690,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{
}
.@equip_refine = getequiprefinerycnt(EQI_GARMENT);
setarray .@equip_card[0], getequipcardid(EQI_GARMENT,0),getequipcardid(EQI_GARMENT,1),getequipcardid(EQI_GARMENT,2);
- delitem 6417,3; //Silvervine
+ delitem Silvervine,3;
delequip EQI_GARMENT;
getitem2 2573,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],0; //Archangel_Wing
mes "[Fallen Angel]";
diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt
index bf7fb03d2..b75e4969b 100644
--- a/npc/re/quests/quests_malaya.txt
+++ b/npc/re/quests/quests_malaya.txt
@@ -42,7 +42,7 @@
//== Cautious Village & Daily Quests :: hi_malaya ==========
malaya,266,76,3 script Rodel the Guard#malaya 4_MAL_SOLDIER,4,4,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -162,9 +162,9 @@ malaya,266,76,3 script Rodel the Guard#malaya 4_MAL_SOLDIER,4,4,{
mes "[Rodel the Guard]";
mes "I think there will be more Jejeling hunts in the future. Please join us again next time.";
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
erasequest 7404;
setquest 7405;
@@ -198,7 +198,7 @@ OnInit:
}
malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -452,7 +452,7 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{
setquest 7397;
close;
} else if (malaya_diwata == 3) {
- if ((countitem(6509) < 3) || (countitem(6510) < 3) && (countitem(6511) < 3)) {
+ if ((countitem(Mysterious_Flower) < 3) || (countitem(Elegant_Flower) < 3) && (countitem(Beautiful_Flower) < 3)) {
mes "[Phong in Mumbaki]";
mes "There are ^4d4dff3 Mystic Flowers, 3 Elegant Flowers, 3 Pretty Flowers^000000.";
mes "Do you understand?";
@@ -473,10 +473,10 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{
mes "[Phong in Mumbaki]";
mes "Now, deliver this to that child.";
mes "I hope she opens her heart with this and becomes willing to talk to you.";
- delitem 6509, 3; // Mysterious_Flower
- delitem 6510, 3; // Elegant_Flower
- delitem 6511, 3; // Beautiful_Flower
- getitem 6506, 1; // Memorial_Bouquet
+ delitem Mysterious_Flower, 3; // Mysterious_Flower
+ delitem Elegant_Flower, 3; // Elegant_Flower
+ delitem Beautiful_Flower, 3; // Beautiful_Flower
+ getitem Offering_Bouquet, 1; // Memorial_Bouquet
malaya_diwata = 4;
erasequest 7397;
setquest 7398;
@@ -504,14 +504,14 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{
mes "A tribute must be sincere. Don't forget that.";
close;
}
- if (countitem(6506) > 0) {
+ if (countitem(Offering_Bouquet) > 0) {
mes "[Phong in Mumbaki]";
mes "Isn't it already made?";
mes "What is that in your hand?";
mes "Why are you standing around here? Go and give out those flowers.";
close;
}
- if ((countitem(6509) < 3) || (countitem(6510) < 3) || (countitem(6511) < 3)) {
+ if ((countitem(Mysterious_Flower) < 3) || (countitem(Elegant_Flower) < 3) || (countitem(Beautiful_Flower) < 3)) {
mes "[Phong in Mumbaki]";
mes "Going to Diwata?";
mes "You need Mysterious Flowers, Elegant Flowers and Beautiful Flowers, 3 of each, okay?";
@@ -525,17 +525,17 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{
mes "[Phong in Mumbaki]";
mes "Hey, here's the Bouquet.";
mes "Make offerings with your soul and wish for a fruitful day.";
- delitem 6509, 3; // Mysterious_Flower
- delitem 6510, 3; // Elegant_Flower
- delitem 6511, 3; // Beautiful_Flower
- getitem 6506, 1; // Memorial_Bouquet
+ delitem Mysterious_Flower, 3; // Mysterious_Flower
+ delitem Elegant_Flower, 3; // Elegant_Flower
+ delitem Beautiful_Flower, 3; // Beautiful_Flower
+ getitem Offering_Bouquet, 1; // Memorial_Bouquet
close;
}
}
}
malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -627,7 +627,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
close;
}
} else if (malaya_hi == 21) {
- if ((countitem(6501) < 6) || (countitem(6500) < 6) || (countitem(6502) < 6)) {
+ if ((countitem(Salt_Bag) < 6) || (countitem(Sharp_Bamboo) < 6) || (countitem(Silver_Cross) < 6)) {
mes "[Imelda]";
mes "I'll approve you as worthy if you bring all the materials for the Spiritual Protection!";
next;
@@ -646,9 +646,9 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
mes "Now I'm going through the holy ritual to make a traditional Spiritual Protection.";
mes "Give them to me! And don't bother me during the process!";
malaya_hi = 22;
- delitem 6500, 6; // Sharp_Bamboo
- delitem 6501, 6; // Salt_Bag
- delitem 6502, 6; // Silver_Cross
+ delitem Sharp_Bamboo, 6; // Sharp_Bamboo
+ delitem Salt_Bag, 6; // Salt_Bag
+ delitem Silver_Cross, 6; // Silver_Cross
erasequest 7366;
setquest 7367;
close;
@@ -672,7 +672,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
mes "Took the Spiritual Protection, despite her ridiculous logic and vigor.";
mes "Let's give them to the villagers.";
malaya_hi = 23;
- getitem 6503, 6; // Soul_Protection
+ getitem Soul_Protection, 6; // Soul_Protection
erasequest 7367;
setquest 7368;
setquest 7369;
@@ -715,9 +715,9 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
erasequest 7379;
setquest 7375;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (rand(2))
$malayaNames$[0] = strcharinfo(0);
@@ -731,7 +731,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
switch (select("I'll help you making Spiritual Protections.:Love and Spiritual Protection for all.")) {
case 1:
if (questprogress(7380)) {
- if ((countitem(6501) < 6) || (countitem(6502) < 6) || (countitem(6500) < 6)) {
+ if ((countitem(Salt_Bag) < 6) || (countitem(Silver_Cross) < 6) || (countitem(Sharp_Bamboo) < 6)) {
mes "[Imelda]";
mes "Materials for making a Spiritual Protection are";
mes "Salt Bags, Silver Crosses and Sharpened Bamboos, 6 of each.";
@@ -747,15 +747,15 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
mes "[Imelda]";
mes "It'll be nice if you could help again tomorrow.";
mes "Here's something for your trouble.";
- delitem 6500, 6; // Sharp_Bamboo
- delitem 6501, 6; // Salt_Bag
- delitem 6502, 6; // Silver_Cross
+ delitem Sharp_Bamboo, 6; // Sharp_Bamboo
+ delitem Salt_Bag, 6; // Salt_Bag
+ delitem Silver_Cross, 6; // Silver_Cross
erasequest 7380;
setquest 7381;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
close;
} else {
@@ -821,9 +821,9 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
erasequest 7374;
erasequest 7379;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (rand(2))
$malayaNames$[0] = strcharinfo(0);
@@ -859,7 +859,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
setquest 7371;
setquest 7372;
setquest 7373;
- getitem 6503, 6; // Soul_Protection
+ getitem Soul_Protection, 6; // Soul_Protection
close;
} else {
mes "[Imelda]";
@@ -894,7 +894,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
setquest 7371;
setquest 7372;
setquest 7373;
- getitem 6503, 6; // Soul_Protection
+ getitem Soul_Protection, 6; // Soul_Protection
close;
} else {
mes "[Imelda]";
@@ -912,7 +912,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{
}
malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -972,7 +972,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
mes "I'm sorry I ignored you.";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000";
close;
}
@@ -986,8 +986,8 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
mes "...Peace is always good. Yes.";
next;
mes "- Gave Holy Water and Blue Gemstone to Old Man Nardo.-";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7360;
completequest 7360;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -1044,7 +1044,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
close;
case 2:
if (questprogress(7374) && questprogress(7369)) {
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere's no Spiritual Protection to give to the Old Man.^000000";
close;
}
@@ -1054,7 +1054,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
mes "I am always in your and Imelda's debt.";
next;
mes "-Delivered the Spiritual Protection to Old Man Nardo.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7369;
setquest 7383;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -1106,7 +1106,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
close;
} else {
if (questprogress(7377)) {
- if (countitem(6503) < 5) {
+ if (countitem(Soul_Protection) < 5) {
mes "[Old Man Nardo]";
mes "Did you deliver the cauldron in one piece?";
mes "Kiko in Mumbaki should have given you a Spiritual Protection. Do you have it?";
@@ -1120,13 +1120,13 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
mes "[Old Man Nardo]";
mes "Please stop by again.";
mes "I always prepare the Cast Iron Cauldron needed at Baryo.";
- delitem 6503, 5; // Soul_Protection
+ delitem Soul_Protection, 5; // Soul_Protection
setquest 7378;
erasequest 7377;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[2] = strcharinfo(0);
@@ -1162,7 +1162,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{
mes "This is the Cast Iron Cauldron. They have fine blacksmiths in Malaya.";
mes "Deliver this to Kiko in Mumbaki at the nearby town of Baryo Mahiwaga.";
setquest 7376;
- getitem 6504, 5; // Cast_Iron_Caldron
+ getitem Cast_Iron_Caldron, 5; // Cast_Iron_Caldron
close;
case 3:
mes "[Old Man Nardo]";
@@ -1235,7 +1235,7 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{
mes "but I am braver with them.";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000";
close;
}
@@ -1252,8 +1252,8 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{
mes "Hey... Could you give some for my daughter as well?";
next;
mes "- Gave Romel the prepared Holy Water and Blue Gemstone.-";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7364;
completequest 7364;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -1305,7 +1305,7 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{
mes "I'm okay for now.";
close;
}
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere are no Spiritual Protections to give to Romel.^000000";
close;
}
@@ -1315,7 +1315,7 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{
mes "This Spiritual Protection will also protect us.";
next;
mes "- Delivered Romel his Spiritual Protection.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7373;
setquest 7387;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -1386,7 +1386,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{
mes "Daddy's braver now and that makes Talah stronger too.";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000";
close;
}
@@ -1401,8 +1401,8 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{
mes "Is this stone going to keep Talah safe?";
next;
mes "- Delivered the Holy Water and Blue Gemstone to Talah. -";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7363;
completequest 7363;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -1429,7 +1429,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{
close;
}
if (questprogress(7374) && questprogress(7372)) {
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere is no Spiritual Protection to give to Talah.^000000";
close;
}
@@ -1440,7 +1440,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{
mes "Daddy likes it too.";
next;
mes "- Delivered new Spiritual Protection to Talah.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7372;
setquest 7386;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -1469,7 +1469,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{
}
malaya,62,274,0 script Sand Trap#malaya 4_SOIL,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -1477,7 +1477,7 @@ malaya,62,274,0 script Sand Trap#malaya 4_SOIL,{
mes "A device to evaporate sea water is buried in the sand...";
close;
}
- if (countitem(6501) >= 6) {
+ if (countitem(Salt_Bag) >= 6) {
mes "There's enough salt.";
close;
}
@@ -1489,7 +1489,7 @@ malaya,62,274,0 script Sand Trap#malaya 4_SOIL,{
progressbar "0xffff00", 5;
disablenpc strnpcinfo(0);
initnpctimer;
- getitem 6501, 1; // Salt_Bag
+ getitem Salt_Bag, 1; // Salt_Bag
mes "[" + strcharinfo(0) + "]";
mes "This should be enough.";
close;
@@ -1503,7 +1503,7 @@ malaya,66,277,0 duplicate(Sand Trap#malaya) Sand Trap#malaya01 4_SOIL
malaya,70,282,0 duplicate(Sand Trap#malaya) Sand Trap#malaya02 4_SOIL
ma_fild01,178,206,0 script Black Bamboo#malaya CLEAR_NPC,4,4,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -1511,7 +1511,7 @@ ma_fild01,178,206,0 script Black Bamboo#malaya CLEAR_NPC,4,4,{
mes "There's a short and black bamboo tree.";
close;
}
- if (countitem(6500) >= 6) {
+ if (countitem(Sharp_Bamboo) >= 6) {
mes "There's enough Sharpened Bamboos...";
close;
}
@@ -1521,7 +1521,7 @@ ma_fild01,178,206,0 script Black Bamboo#malaya CLEAR_NPC,4,4,{
progressbar "0xffff00", 3;
disablenpc strnpcinfo(0);
initnpctimer;
- getitem 6500, 1; //Sharp_Bamboo
+ getitem Sharp_Bamboo, 1;
mes "[" + strcharinfo(0) + "]";
mes "I knew I could do this!";
close;
@@ -1542,7 +1542,7 @@ ma_fild01,180,273,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya04 CLEAR_N
ma_fild01,179,145,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya05 CLEAR_NPC,4,4
malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -1604,7 +1604,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
mes "Isn't that so?";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000";
close;
}
@@ -1627,8 +1627,8 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
mes "I'll call for you first when a job opens up for you.";
next;
mes "- Gave Woeon the Holy Water and Blue Gemstone.-";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7362;
completequest 7362;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -1651,7 +1651,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
next;
if (select("Give Spiritual Protection.:The Dealer and his Collection") == 1) {
if (questprogress(7374) == 1 && questprogress(7371) == 1) {
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere is no Spiritual Protection to give to Woeon.^000000";
close;
}
@@ -1661,7 +1661,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
mes "I'm thankful to you as well, of course.";
next;
mes "-Delivered Spiritual Protection to Woeon.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7371;
setquest 7385;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -1723,7 +1723,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
close;
} else {
if (questprogress(7391) == 1) {
- if (countitem(6498) < 30) {
+ if (countitem(Jejellopy) < 30) {
mes "[Woeon]";
mes "Hmm? I don't think you have enough.";
mes "I asked you for 30 Jejellopys. Business is business I'm afraid.";
@@ -1737,13 +1737,13 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
mes "[Woeon]";
mes "So I have all the Jejellopys...";
mes "Come back again!";
- delitem 6498, countitem(6498); //Jejellopy
+ delitem Jejellopy, countitem(Jejellopy);
setquest 7392;
erasequest 7391;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
.@memo_name = rand(1,3);
if (!rand(3))
@@ -1781,7 +1781,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{
}
malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -1846,7 +1846,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "Bu... But, I'm too scared...";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000";
close;
}
@@ -1860,8 +1860,8 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "Yes... Now that I have some of your spirit, I can rest well at night.";
next;
mes "- Gave Pandoi the Holy Water and Blue Gemstone.-";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7361;
completequest 7361;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -1909,7 +1909,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "When it wear's out, I'll ask you for another one!";
close;
}
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere is no Spiritual Protection to give to Pandoi.^000000";
close;
}
@@ -1918,7 +1918,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "It's always good to know that you won't see those black things again!";
next;
mes "-Delivered Spiritual Protection to Pandoi.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7370;
setquest 7384;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -1949,7 +1949,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
}
.@hunting = questprogress(7393, HUNTING);
if (.@hunting == 2) {
- if (countitem(6508) < 10) {
+ if (countitem(Silver_Bracelet) < 10) {
mes "[Pandoi]";
mes "Where are the Silver Bracelets?";
mes "I know you're invincible...";
@@ -1972,13 +1972,13 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "[Pandoi]";
mes "It's not much, but here's something for the troubles you went through to get the Silver Bracelets.";
mes "If I fail... I'll ask of you the task again!";
- delitem 6508, 10; //Silver_Bracelet
+ delitem Silver_Bracelet, 10;
setquest 7394;
erasequest 7393;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[1] = strcharinfo(0);
@@ -2076,7 +2076,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
.@amount = 1;
case 2:
if (!.@amount) .@amount = 6;
- if (countitem(6508) < (.@amount * 2)) {
+ if (countitem(Silver_Bracelet) < (.@amount * 2)) {
mes "[Pandoi]";
mes "You need at least " + (.@amount * 2) + " Silver Bracelets to make " + .@amount + " Silver " + ((.@amount == 1) ? "Cross" : "Crosses") + ".";
close;
@@ -2099,7 +2099,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "A maximum of 50 at a time!";
close;
}
- if (countitem(6508) < (2 * .@amount)) {
+ if (countitem(Silver_Bracelet) < (2 * .@amount)) {
mes "[Pandoi]";
mes "To make " + .@amount + " Silver " + ((.@amount == 1) ? "Cross" : "Crosses") + ", I need at least " + (2 * .@amount) + " Silver Bracelets.";
close;
@@ -2116,8 +2116,8 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
mes "Pandoi can do it in a jiffy!";
close2;
progressbar "0xffff00", .@time;
- delitem 6508, .@amount * 2; //Silver_Bracelet
- getitem 6502, .@amount; // Silver_Cross
+ delitem Silver_Bracelet, .@amount * 2;
+ getitem Silver_Cross, .@amount; // Silver_Cross
mes "[Pandoi]";
mes "Look at this!";
mes "Very nice indeed.";
@@ -2129,7 +2129,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{
}
malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -2202,7 +2202,7 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
mes "Now's the time to charge into my ship...!";
close;
}
- if (!countitem(523) || !countitem(717)) {
+ if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) {
mes "^4d4dffPrepare and give Blue Gemstone and Holy Water.^000000";
close;
}
@@ -2219,8 +2219,8 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
mes "After you're finished with the ghosts here, I'll take on my ship to the end of the world!";
next;
mes "- Gave Pedro the Sailor the Holy Water and Blue Gemstone. -";
- delitem 717, 1; //Blue_Gemstone
- delitem 523, 1; //Holy_Water
+ delitem Blue_Gemstone, 1;
+ delitem Holy_Water, 1;
setquest 7359;
completequest 7359;
if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2
@@ -2252,7 +2252,7 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
mes "It's still up for the fight!";
close;
}
- if (!countitem(6503)) {
+ if (!countitem(Soul_Protection)) {
mes "^4d4dffThere is no Spiritual Protection to give to Pedro the Sailor.^000000";
close;
}
@@ -2261,7 +2261,7 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
mes "Alright. I'll go at them with this one today.";
next;
mes "-Delivered the Spiritual Protection to Pedro the Sailor.-";
- delitem 6503, 1; // Soul_Protection
+ delitem Soul_Protection, 1; // Soul_Protection
erasequest 7368;
setquest 7382;
if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) {
@@ -2389,9 +2389,9 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
erasequest 7399;
setquest 7401;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[0] = strcharinfo(0);
@@ -2452,9 +2452,9 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{
setquest 7401;
erasequest 7403;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[0] = strcharinfo(0);
@@ -2568,7 +2568,7 @@ OnTouch:
warp "malaya", 324, 66;
end;
} else if (malaya_diwata == 4) {
- if (!countitem(6506)) {
+ if (!countitem(Offering_Bouquet)) {
cutin "malaya_diwata01", 2;
mes "- The soul of Little Girl Diwata is looking at me fiercely.";
mes "No Offering Bouquet...!!!";
@@ -2635,7 +2635,7 @@ OnTouch:
mes "[Diwata]";
mes "Now, g... go away!";
malaya_diwata = 5;
- delitem 6506, 1; // Memorial_Boquet
+ delitem Offering_Bouquet, 1; // Memorial_Boquet
erasequest 7398;
setquest 7399;
close;
@@ -2704,7 +2704,7 @@ OnTouch:
warp "malaya", 324, 66;
end;
}
- if (!countitem(6506)) {
+ if (!countitem(Offering_Bouquet)) {
mes "[Diwata]";
mes "What? You want me to wave?";
mes "You didn't bring it?";
@@ -2728,7 +2728,7 @@ OnTouch:
mes "[Diwata]";
mes "Tell Pedro the Sailor!";
mes "Diwata will be a goddess of sea, so set sail in my generosity.";
- delitem 6506, 1; // Memorial_Boquet
+ delitem Offering_Bouquet, 1; // Memorial_Boquet
setquest 7403;
erasequest 7402;
close;
@@ -2738,7 +2738,7 @@ OnTouch:
}
ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -2773,7 +2773,7 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
mes "so deliver it well. Okay? Good.";
close;
}
- if (countitem(6504) < 5) {
+ if (countitem(Cast_Iron_Caldron) < 5) {
mes "[Kiko in Mumbaki]";
mes "Oh, must be the cauldron I ordered.";
mes "But, where is it?";
@@ -2789,8 +2789,8 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
mes "I'll give you this for the cauldron.";
mes "I hear you're having some trouble with souls?";
mes "Take this. It will help you.";
- delitem 6504, 5; // Cast_Iron_Caldron
- getitem 6503, 5; // Soul_Protection
+ delitem Cast_Iron_Caldron, 5; // Cast_Iron_Caldron
+ getitem Soul_Protection, 5; // Soul_Protection
setquest 7377;
erasequest 7376;
close;
@@ -2808,7 +2808,7 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
mes "Quickly now.";
close;
}
- if ((countitem(523) < 10) || (countitem(6507) < 10)) {
+ if ((countitem(Holy_Water) < 10) || (countitem(Evil_Bone) < 10)) {
mes "[Kiko in Mumbaki]";
mes "Purification of the bones the Guard Dog Vantai needs to gnaw on?";
mes "My work here just gets better and better.";
@@ -2833,9 +2833,9 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
mes "[Kiko in Mumbaki]";
mes "Moreover, holding on to Evil Spirit Bones will only do you harm,";
mes "so I'll take them all to purify.";
- delitem 6507, countitem(6507); // Evil_Bone
- delitem 523, 10; //Holy_Water
- getitem 6505, 10; //Purified_Bone
+ delitem Evil_Bone, countitem(Evil_Bone); // Evil_Bone
+ delitem Holy_Water, 10;
+ getitem Purified_Bone, 10;
setquest 7407;
erasequest 7406;
close;
@@ -2849,7 +2849,7 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{
}
ma_fild01,239,253,3 script Dhong the Guard 4_MAL_SOLDIER,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -2916,7 +2916,7 @@ ma_fild01,239,253,3 script Dhong the Guard 4_MAL_SOLDIER,{
close;
} else {
if (questprogress(7407) == 1) {
- if (countitem(6505) < 10) {
+ if (countitem(Purified_Bone) < 10) {
mes "[Dhong the Guard]";
mes "Kiko in Mumbaki asked for 10 Purified Spirit Bones.";
mes "He needs to have at least 10 at a time. Which of course does not last a day...";
@@ -2939,13 +2939,13 @@ ma_fild01,239,253,3 script Dhong the Guard 4_MAL_SOLDIER,{
mes "[Dhong the Guard]";
mes "This is your reward.";
mes "It would be very nice if you could help us again tomorrow.";
- delitem 6505, 10; // Purified_Bone
+ delitem Purified_Bone, 10; // Purified_Bone
setquest 7408;
erasequest 7407;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(0, 2))
$malayaNames$[2] = strcharinfo(0);
@@ -2996,7 +2996,7 @@ ma_fild01,238,257,2 script Guard Dog Vantai 4_RUS_DWOLF,{
}
ma_fild01,200,190,3 script Maries#malaya 4_F_BARYO_WOMAN,{
- if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) {
mes "- Cannot proceed with the quest. You are carrying too many items. -";
close;
}
@@ -3039,9 +3039,9 @@ ma_fild01,200,190,3 script Maries#malaya 4_F_BARYO_WOMAN,{
setquest 7390;
erasequest 7389;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[2] = strcharinfo(0);
@@ -3116,7 +3116,7 @@ ma_fild01,203,189,3 script Little Girl#malaya 4_F_BARYO_GIRL,{
ma_fild01,251,93,3 script Lost Child#malaya01 4_F_BARYO_GIRL,{
if (questprogress(7388)) {
- if (!countitem(12700)) {
+ if (!countitem(Insideout_Shirt)) {
mes "[Little Kid]";
mes "Sigh. Are you lost too?";
mes "They are so naughty.";
@@ -3146,7 +3146,7 @@ ma_fild01,251,93,3 script Lost Child#malaya01 4_F_BARYO_GIRL,{
mes "She must be worried..!";
mes "I'll go home now!";
mes "Thanks' a lot!";
- delitem 12700, 1; // Insideout_Shirt
+ delitem Insideout_Shirt, 1; // Insideout_Shirt
setquest 7389;
erasequest 7388;
close2;
@@ -3278,9 +3278,9 @@ ma_fild02,241,39,5 script Good Capre Budidai 4_MAL_BUDIDAI,{
setquest 7410;
erasequest 7409;
// if (IsPremiumPcCafe == 10)
- getitem 6497, 2; // Lesser_Agimat
+ getitem Lesser_Agimat, 2; // Lesser_Agimat
// else
-// getitem 6497, 1; // Lesser_Agimat
+// getitem Lesser_Agimat, 1; // Lesser_Agimat
getexp 200000,200000;
if (!rand(3))
$malayaNames$[1] = strcharinfo(0);
@@ -3355,7 +3355,7 @@ ma_fild02,241,39,5 script Good Capre Budidai 4_MAL_BUDIDAI,{
//== Traders :: malaya_npc =================================
ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{
- if (MaxWeight - Weight < 600 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 600 || checkweight(Knife,1) == 0) {
mes "Cannot proceed because you have too many items in your possession.";
close;
}
@@ -3364,7 +3364,7 @@ ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{
next;
switch(select("We need to gather items to fight them off.:Ignore.")) {
case 1:
- if (countitem(6497) >= 3 && Zeny >= 1000) {
+ if (countitem(Lesser_Agimat) >= 3 && Zeny >= 1000) {
mes "[Old Man in Dilemma]";
mes "You don't seem to be strong enough to fight off demons.";
next;
@@ -3372,11 +3372,11 @@ ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{
mes "Will you create a Greater Agimat of Ancient Spirit with 3 Lesser Agimats and 1,000 Zeny?";
next;
if(select("Create.:No, thank you.") == 1) {
- if (countitem(6497) >= 3 && Zeny >= 1000) {
+ if (countitem(Lesser_Agimat) >= 3 && Zeny >= 1000) {
specialeffect2 EF_CONE;
specialeffect EF_FORESTLIGHT2;
Zeny -= 1000;
- getitem 12775,1; //Ancient_Spirit_Agimat
+ getitem Ancient_Spirit_Agimat,1;
} else {
mes "[Old Man in Dilemma]";
mes "Short on materials.";
@@ -3429,7 +3429,7 @@ ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{
}
ma_fild01,238,198,4 script Tikbalang Expert#malaya 4_M_MALAYA,{
- if (MaxWeight - Weight < 50 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 50 || checkweight(Knife,1) == 0) {
mes "Cannot proceed because you have too many items in your possession.";
close;
}
@@ -3537,7 +3537,7 @@ ma_fild01,238,198,4 script Tikbalang Expert#malaya 4_M_MALAYA,{
mes "[Tikbalang Expert]";
mes "Ha ha ha. Do you now know how great I am?";
next;
- if (countitem(6496) >= 3 && countitem(6497) >= 5) {
+ if (countitem(Tikbalang_Thick_Spine) >= 3 && countitem(Lesser_Agimat) >= 5) {
mes "[Tikbalang Expert]";
mes "Oh! Isn't this material to make 'Tikbalang Belt' used to tame Tikbalangs?";
next;
@@ -3546,8 +3546,8 @@ ma_fild01,238,198,4 script Tikbalang Expert#malaya 4_M_MALAYA,{
next;
switch(select("Yes, Im interested.:No, I can capture one myself.")) {
case 1:
- delitem 6496,3; //Tikbalang_Thick_Spine
- getitem 12699,1; //Tikbalang_Belt
+ delitem Tikbalang_Thick_Spine,3;
+ getitem Tikbalang_Belt,1;
mes "[Tikbalang Expert]";
mes "Yiiiiiiiiiiii! Yap!";
next;
@@ -3754,7 +3754,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 4_M_MALAYA,{
mes "I will need an light but sturdy armor with an refinement of +9 or greater and 20 Ancient Grudges!!";
close;
}
- if (countitem(6499) < 20) {
+ if (countitem(Ancient_Grudge) < 20) {
mes "[Bayani]";
mes "You said all preparations are done and you give me this?! I need at least 20 Ancient Grudges to refine your item.";
close;
@@ -3832,7 +3832,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 4_M_MALAYA,{
mes "BAM!!";
next;
- delitem 6499,20; //Ancient_Grudge
+ delitem Ancient_Grudge,20;
delequip .@part;
getitem .@newItem, 1;
@@ -4047,7 +4047,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{
malaya_buwaya = 3;
close;
} else if (malaya_buwaya == 3) {
- if (!countitem(506)) {
+ if (!countitem(Green_Potion)) {
mes "[Totoy]";
mes "Can't talk long. I need to heal my eyes first.";
mes "There should be some ^3131FFGreen Potion^000000 left inside the drawer. Will you get it for me?";
@@ -4062,7 +4062,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{
} else {
mes "[Totoy]";
mes "Gulp, gulp...";
- delitem 506,1; //Green_Potion
+ delitem Green_Potion,1;
malaya_buwaya = 4;
}
close;
@@ -4251,7 +4251,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{
.@amount = 10;
// else
// .@amount = 5;
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait!! -";
mes "- You have too many items on you. -";
mes "- Cannot receive the item. -";
@@ -4275,7 +4275,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{
mes "[Dog]";
mes "Woof woof woof!!!!";
malaya_buwaya = 14;
- getitem 6497,5; //Lesser_Agimat
+ getitem Lesser_Agimat,5;
disablenpc "Dog#buwaya_totoi";
erasequest 2279;
setquest 2280;
@@ -4407,7 +4407,7 @@ malaya,290,152,5 script Master of Hunting#buwaya 4_M_BARYO_MAN,{
setquest 2274;
close;
} else if (malaya_buwaya == 7) {
- if (countitem(6519) < 10) {
+ if (countitem(Collected_Sample) < 10) {
mes "[Master of Hunting]";
mes "Bring me back samples if you want to prove there is a monster with two heads.";
close;
@@ -4416,7 +4416,7 @@ malaya,290,152,5 script Master of Hunting#buwaya 4_M_BARYO_MAN,{
mes "Argh! That's so foul.";
mes "You've really brought back the samples.";
mes "Ho! Leave it there and come back after washing your hands. Even god won't smile down at you with that stench.";
- delitem 6519,10; //Collected_Sample
+ delitem Collected_Sample,10;
malaya_buwaya = 8;
erasequest 2274;
setquest 2275;
@@ -4530,7 +4530,7 @@ OnInit:
}
- script Unknown Trace#buwaya -1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait!! -";
mes "- You have too many items on you. -";
mes "- Cannot receive the item. -";
@@ -4539,7 +4539,7 @@ OnInit:
close;
}
if (malaya_buwaya == 7) {
- if (countitem(6519) >= 10) {
+ if (countitem(Collected_Sample) >= 10) {
mes "- You don't have to collect any more samples. -";
close;
}
@@ -4554,7 +4554,7 @@ OnInit:
next;
mes "[" + strcharinfo(0) + "]";
mes "It's warm as a mother's bosom.";
- getitem 6519,1; //Collected_Sample
+ getitem Collected_Sample,1;
disablenpc strnpcinfo(0);
initnpctimer;
close;
@@ -4574,7 +4574,7 @@ ma_fild02,300,98,3 duplicate(Unknown Trace#buwaya) Unknown Trace#buwaya_6 4_SOIL
ma_fild02,100,275,3 duplicate(Unknown Trace#buwaya) Unknown Trace#buwaya_7 4_SOIL
malaya,290,340,3 script Guard Leader#buwaya 4_MAL_CAPTAIN,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) {
mes "- Wait!! -";
mes "- You have too many items on you. -";
mes "- Cannot receive the item. -";
@@ -4712,7 +4712,7 @@ malaya,290,340,3 script Guard Leader#buwaya 4_MAL_CAPTAIN,{
mes "[Guard Leader]";
mes "Good work.";
erasequest 2281;
- getitem 6497, .@amount; //Lesser_Agimat
+ getitem Lesser_Agimat, .@amount;
getexp 0,600000;
} else {
mes "[Guard Leader]";
@@ -5022,7 +5022,7 @@ malaya,272,339,5 script Old Fortune Teller#bako1 4_F_BARYO_OLD,{
}
malaya,285,332,4 script Old Legend Teller#bako1 4_M_BARYO_OLD,{
- if (checkweight(1301,3) == 0) {
+ if (checkweight(Axe,3) == 0) {
mes "You cannot start the conversation. You are carrying too many items. -";
close;
}
@@ -5234,9 +5234,9 @@ malaya,285,332,4 script Old Legend Teller#bako1 4_M_BARYO_OLD,{
erasequest 1179;
malaya_bakona1 = 7;
// if (IsPremiumPcCafe == 10)
- getitem 6499,5; //Ancient_Grudge
+ getitem Ancient_Grudge,5;
// else
-// getitem 6499,3; //Ancient_Grudge
+// getitem Ancient_Grudge,3;
getexp 500000,200000;
close;
}
@@ -5637,7 +5637,7 @@ malaya,276,262,4 script Angry Boy#bako2 4_M_BARYO_BOY,{
}
malaya,283,265,4 script Village Chief#bako2 4_BARYO_CHIEF,{
- if (checkweight(1301,3) == 0) {
+ if (checkweight(Axe,3) == 0) {
mes "You cannot start the conversation. You are carrying too many items. -";
close;
}
@@ -5754,9 +5754,9 @@ malaya,283,265,4 script Village Chief#bako2 4_BARYO_CHIEF,{
setquest 1185;
malaya_bakona2 = 6;
// if (IsPremiumPcCafe == 10)
- getitem 12700,7; //Insideout_Shirt
+ getitem Insideout_Shirt,7;
// else
-// getitem 12700,5; //Insideout_Shirt
+// getitem Insideout_Shirt,5;
close;
} else if (malaya_bakona2 == 6) {
mes "[Village Chief]";
@@ -5860,9 +5860,9 @@ malaya,283,265,4 script Village Chief#bako2 4_BARYO_CHIEF,{
malaya_bakona2 = 15;
getexp 1000000,600000;
// if (IsPremiumPcCafe == 10)
- getitem 6497,7; //Lesser_Agimat
+ getitem Lesser_Agimat,7;
// else
-// getitem 6497,5; //Lesser_Agimat
+// getitem Lesser_Agimat,5;
close;
} else if (malaya_bakona2 == 15) {
mes "[Village Chief]";
@@ -5906,7 +5906,7 @@ OnTimer600000:
OnMyMobDead:
if (mobcount("ma_fild01","malaya_ma_fild01_mon::OnMyMobDead") < 5 && (malaya_bakona2 == 1 || malaya_bakona2 == 2 || malaya_bakona2 == 3 || malaya_bakona2 == 4))
- getitem 6520,1; //Lost_Belongings
+ getitem Lost_Belongings,1;
end;
}
@@ -5923,7 +5923,7 @@ malaya,269,267,5 script Missing Person's Father 4_M_MALAYA,{
mes "He must be around here somewhere.";
close;
} else if (malaya_bakona2 == 1) {
- if (countitem(6520) < 2) {
+ if (countitem(Lost_Belongings) < 2) {
mes "[Missing Person's Father]";
mes "You are looking for two of his ^FF0000Lost Belongings^000000?";
mes "Are you confident that";
@@ -5940,7 +5940,7 @@ malaya,269,267,5 script Missing Person's Father 4_M_MALAYA,{
mes "Let's retrieve them from Tiyanak that roams Baryo Mahiwaga Field,";
mes "seven ^FF0000Lost Belongings^000000";
mes "and deliver them to ^0000FFMissing Person's Friend^000000.";
- delitem 6520,2; //Lost_Belongings
+ delitem Lost_Belongings,2;
erasequest 1180;
setquest 1181;
malaya_bakona2 = 2;
@@ -5978,7 +5978,7 @@ malaya,265,274,5 script Missing Person's Friend 4_M_BARYO_BOY,{
mes "somewhere.";
close;
} else if (malaya_bakona2 == 2) {
- if (countitem(6520) < 7) {
+ if (countitem(Lost_Belongings) < 7) {
mes "[Missing Person's Friend]";
mes "You are looking for seven ^FF0000Lost Belongings^000000";
mes "of my friend?";
@@ -5991,7 +5991,7 @@ malaya,265,274,5 script Missing Person's Friend 4_M_BARYO_BOY,{
mes "of my friend... Where is my friend?";
mes "Bring him here, bring him here now!";
callsub L_Quest;
- delitem 6520,7; //Lost_Belongings
+ delitem Lost_Belongings,7;
erasequest 1181;
setquest 1182;
malaya_bakona2 = 3;
@@ -6028,7 +6028,7 @@ malaya,270,278,4 script Missing Person's Son 4_M_BARYO_MAN,{
mes "Please find my father!";
close;
} else if (malaya_bakona2 == 3) {
- if (countitem(6520) < 3) {
+ if (countitem(Lost_Belongings) < 3) {
mes "[Missing Person's Son]";
mes "You are looking for three ^FF0000Lost Belongings^000000";
mes "of my father? Why lost belongings and not my father?";
@@ -6040,7 +6040,7 @@ malaya,270,278,4 script Missing Person's Son 4_M_BARYO_MAN,{
mes "These are ^FF0000Lost Belongings^000000 of my father.";
mes "Oh dear lord... father!";
callsub L_Quest;
- delitem 6520,3; //Lost_Belongings
+ delitem Lost_Belongings,3;
erasequest 1182;
setquest 1183;
malaya_bakona2 = 4;
@@ -6074,7 +6074,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{
mes "and she still isn't back.";
close;
} else if (malaya_bakona2 == 4) {
- if (countitem(6520) < 5) {
+ if (countitem(Lost_Belongings) < 5) {
mes "[Missing Person's Mother]";
mes "You are looking for five ^FF0000Lost Belongings^000000 of my child?";
mes "What does this mean?";
@@ -6095,7 +6095,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{
mes "A mother that has gone mad...";
mes "Now that I finished finding the missing people,";
mes "I should report back to the Village Chief.";
- delitem 6520,5; //Lost_Belongings
+ delitem Lost_Belongings,5;
erasequest 1183;
setquest 1184;
malaya_bakona2 = 5;
@@ -6117,7 +6117,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{
}
malaya,289,364,4 script Young Fortune Teller 4_F_MALAYA,{
- if (checkweight(1301,3) == 0) {
+ if (checkweight(Axe,3) == 0) {
mes "You cannot start the conversation. You are carrying too many items. -";
close;
}
@@ -6173,9 +6173,9 @@ malaya,289,364,4 script Young Fortune Teller 4_F_MALAYA,{
setquest 1187;
malaya_bakona2 = 8;
// if (IsPremiumPcCafe == 10)
- getitem 12699,7; //Tikbalang_Belt
+ getitem Tikbalang_Belt,7;
// else
-// getitem 12699,5; //Tikbalang_Belt
+// getitem Tikbalang_Belt,5;
close;
} else {
mes "[Young Fortune Teller]";
@@ -6587,7 +6587,7 @@ sec_in02,10,16,5 script Bakonawa Intro Helper 4_MASK_SMOKEY,{
case 4:
mes "[Briquet Scheme]";
mes "Here you go!";
- getitem 6520,17; //Lost_Belongings
+ getitem Lost_Belongings,17;
close;
case 5:
mes "[Briquet Scheme]";
@@ -6745,7 +6745,7 @@ function script F_Malaya_Nurse {
return;
L_Weight:
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait !! -";
mes "- You have too many items. -";
mes "- Cannot receive item. -";
@@ -6790,13 +6790,13 @@ L_Warp:
L_Reward:
// if (IsPremiumPcCafe == 10) {
- getitem 6499,5; //Ancient_Grudge
- getitem 6497,10; //Lesser_Agimat
+ getitem Ancient_Grudge,5;
+ getitem Lesser_Agimat,10;
// } else {
-// getitem 6499,3; //Ancient_Grudge
-// getitem 6497,5; //Lesser_Agimat
+// getitem Ancient_Grudge,3;
+// getitem Lesser_Agimat,5;
// }
- getitem 617,1; //Old_Violet_Box
+ getitem Old_Violet_Box,1;
getexp 1000000,0;
return;
@@ -7040,7 +7040,7 @@ malaya,55,72,4 script Nurse#ma_n1 4_F_NURSE,{
end;
}
} else if (malaya_bang == 1) {
- if (countitem(930) > 1) {
+ if (countitem(Rotten_Bandage) > 1) {
mes "[Nurse Las]";
mes "Oh......";
mes "I know they're effective but... Not so tempting.";
@@ -7057,7 +7057,7 @@ malaya,55,72,4 script Nurse#ma_n1 4_F_NURSE,{
mes "[Nurse Las]";
mes "*Squish*";
mes "*Squelch*";
- delitem 930,2; //Rotten_Bandage
+ delitem Rotten_Bandage,2;
malaya_bang = 2;
close2;
cutin "",255;
@@ -7916,7 +7916,7 @@ malaya,53,68,4 script Bushes#ma CLEAR_NPC,{
}
- script Suspicious Wooden Stick::MalayaStick -1,{
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "- Wait !! -";
mes "- You have too many items. -";
mes "- Cannot receive item. -";
@@ -7944,13 +7944,13 @@ malaya,53,68,4 script Bushes#ma CLEAR_NPC,{
if (rand(2)) {
malaya_bang = 15;
changequest 11295,11296;
- getitem 6497,1; //Lesser_Agimat
+ getitem Lesser_Agimat,1;
donpcevent "Tent"+replacestr(strnpcinfo(3),"MalayaStick","")+"#ma::OnEnable";
next;
mes "Better show Las the talisman.";
close;
} else {
- getitem 6497,1; //Lesser_Agimat
+ getitem Lesser_Agimat,1;
donpcevent "Tent"+replacestr(strnpcinfo(3),"MalayaStick","")+"#ma::OnEnable";
close;
}
@@ -8414,7 +8414,7 @@ OnDisableNPC:
}
ma_fild01,179,260,2 script Festival Helper Boy#pin 4_M_BARYO_BOY,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "Cannot proceed because you have too many items in your possession.";
close;
}
@@ -8636,7 +8636,7 @@ ma_fild01,179,260,2 script Festival Helper Boy#pin 4_M_BARYO_BOY,{
}
ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "Cannot proceed because you have too many items in your possession.";
close;
}
@@ -8771,7 +8771,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
.@name$ = "Bakonawa";
break;
}
- if (countitem(6499) < 10 || countitem(.@spirit) == 0 || countitem(.@doll) == 0) {
+ if (countitem(Ancient_Grudge) < 10 || countitem(.@spirit) == 0 || countitem(.@doll) == 0) {
mes "[Tattooist]";
mes "I think you are short on materials.";
mes "Need 10 Ancient Grudges, 1 Piece of "+.@name$+"'s Spirit, and 1 "+.@name$+" Doll to create a ^EE1D11"+.@name$+" Agimat Tattoo^000000.";
@@ -8797,7 +8797,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
next;
if(select("Aren't you going to start?:... ... ..") == 1) {
emotion e_an;
- delitem 6499,5; //Ancient_Grudge
+ delitem Ancient_Grudge,5;
mes "[Tattooist]";
mes "Oh no, now you ruined it.";
mes "I cannot draw a Tattoo for someone like you who doesn't understand art. You can take back the remaining materials.";
@@ -8819,7 +8819,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
if(select("Looks good to me.:... ... ..") == 1) {
emotion e_an;
emotion e_ag;
- delitem 6499,5; //Ancient_Grudge
+ delitem Ancient_Grudge,5;
mes "[Tattooist]";
mes "Ergh! I told you not to interrupt!";
next;
@@ -8841,7 +8841,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
if(select("When will it be done?:... ... ..") == 1) {
emotion e_an;
emotion e_ag;
- delitem 6499,5; //Ancient_Grudge
+ delitem Ancient_Grudge,5;
mes "[Tattooist]";
mes "Ergh! I told you not to interrupt!";
next;
@@ -8883,7 +8883,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
mes "The Piece of "+.@name$+"'s Spirit is shattered into powder. The Tattooist's hands are glowing.";
next;
if(select("Why did you break the pieces...:... ... ..") == 1) {
- delitem 6499,5; //Ancient_Grudge
+ delitem Ancient_Grudge,5;
delitem .@spirit,1;
emotion e_an;
emotion e_ag;
@@ -8920,7 +8920,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
mes "[Tattooist]";
mes "Ha ha. It came out great.";
next;
- delitem 6499,10; //Ancient_Grudge
+ delitem Ancient_Grudge,10;
delitem .@spirit,1;
delitem .@doll,1;
getitem .@tattoo,1;
diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt
index f09b20023..d89333583 100644
--- a/npc/re/quests/quests_mora.txt
+++ b/npc/re/quests/quests_mora.txt
@@ -264,7 +264,7 @@ mid_camp,148,222,4 script Theore#ep14_1_bs 4_F_SCIENCE,3,3,{
mes "Or they may have left something behind.";
close;
} else if (ep14_1_bs2 < 7) {
- if (countitem(6390) == 0) {
+ if (countitem(Small_Pocket) == 0) {
mes "[Theore]";
mes "They may have left a clue, can you please look around the area?";
mes "If they were looking through the bushes, they may have been looking for something they've lost.";
@@ -350,7 +350,7 @@ mid_camp,148,222,4 script Theore#ep14_1_bs 4_F_SCIENCE,3,3,{
mes "Oh yeah!!!!";
ep14_1_bs = 19;
getexp 0,200000;
- getitem 6380,5; //Mora_Coin
+ getitem Mora_Coin,5;
close;
} else if (ep14_1_bs > 18) {
mes "[Theore]";
@@ -414,8 +414,8 @@ OnDisable:
OnTouch:
.@i = atoi(charat(strnpcinfo(2),9));
if (ep14_1_bs == .@i+3) {
- if (countitem(6390) == 0) {
- if (checkweight(1201,1) == 0) {
+ if (countitem(Small_Pocket) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes " - Hang on there !! -";
mes " - You are carrying too many kinds of items - ";
mes " - to receive any more items. - ";
@@ -438,7 +438,7 @@ OnTouch:
if (ep14_1_bs2 > 0 && ep14_1_bs2 < 4)
ep14_1_bs2 += 3;
changequest 11184,11185;
- getitem 6390,1; //Small_Pocket
+ getitem Small_Pocket,1;
close;
} else {
mes "- You didn't find anything. -";
@@ -659,7 +659,7 @@ splendide,119,138,4 script Kusmi#ep14_1_bs 4_F_FAIRYKID5,{
mes "And who mayy you be?";
next;
select("Show the pouch.");
- if (countitem(6390) == 0) {
+ if (countitem(Small_Pocket) == 0) {
mes "[Kusmi]";
mes "What is it that you want to show mee?";
close;
@@ -679,7 +679,7 @@ splendide,119,138,4 script Kusmi#ep14_1_bs 4_F_FAIRYKID5,{
mes "[Kusmi]";
mes "Promise me you won't tell anyonee!";
mes "If you can promise, please talk to me againn.";
- delitem 6390,1; //Small_Pocket
+ delitem Small_Pocket,1;
ep14_1_bs = 10;
changequest 11187,11188;
close;
@@ -854,7 +854,7 @@ splendide,304,295,4 script Theodore#ep14_1_bs 4_M_FAIRYKID4,{
mes "Who are you!";
next;
select("Show the pouch.");
- if (countitem(6390) == 0) {
+ if (countitem(Small_Pocket) == 0) {
mes "[Theodore]";
mes "Hmm? What do you mean?";
close;
@@ -874,7 +874,7 @@ splendide,304,295,4 script Theodore#ep14_1_bs 4_M_FAIRYKID4,{
mes "[Theodore]";
mes "If you really want to hear the answer, talk to me again.";
mes "I need time to think.";
- delitem 6390,1; //Small_Pocket
+ delitem Small_Pocket,1;
ep14_1_bs = 10;
changequest 11187,11194;
close;
@@ -1036,7 +1036,7 @@ splendide,168,301,4 script Pauchon#ep14_1_bs 4_F_FAIRYKID4,{
mes "What can I do for you, sir?";
next;
select("Show the pouch.");
- if (countitem(6390) == 0) {
+ if (countitem(Small_Pocket) == 0) {
mes "[Pauchon]";
mes "Huh? Do you see something?";
mes "I don't see anything...";
@@ -1054,7 +1054,7 @@ splendide,168,301,4 script Pauchon#ep14_1_bs 4_F_FAIRYKID4,{
mes "That's not easy for me to answer...";
mes "I do appreciate you finding my pouch.... Hmm...";
mes "Please give me some time to think..";
- delitem 6390,1; //Small_Pocket
+ delitem Small_Pocket,1;
ep14_1_bs = 10;
changequest 11187,11200;
close;
@@ -1383,7 +1383,7 @@ mora,55,124,2 script Jones#ep14_1_bs 4_M_MERCAT1,{
close;
}
} else if (ep14_1_bs == 16) {
- if (checkweight(1201,1) == 0) {
+ if (checkweight(Knife,1) == 0) {
mes "[Jones]";
mes "You have too many kinds of items. Please lighten your load and come back.";
close;
@@ -1397,7 +1397,7 @@ mora,55,124,2 script Jones#ep14_1_bs 4_M_MERCAT1,{
mes "Please take good care of it.";
mes "It's for Daphrer in Splendide.";
ep14_1_bs = 17;
- getitem 6391,1; //Splendid_Supply_Kit
+ getitem Splendid_Supply_Kit,1;
changequest 11207,11208;
close;
} else if (ep14_1_bs == 17) {
@@ -1426,7 +1426,7 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 4_F_FAIRY,{
mes "DRHSfhsdfGSDH FGkkmvoifk DFG DFHshfeksmn fgg FDbbd fjnnvk n skncki dfgd F FHdfkdfjkmv";
close;
}
- if (countitem(6391)) {
+ if (countitem(Splendid_Supply_Kit)) {
mes "[Daphrer]";
mes "Oh....";
mes "I've been waiting for you.";
@@ -1436,14 +1436,14 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 4_F_FAIRY,{
next;
mes "[Daphrer]";
mes "This is probably too small to be a reward, but please accept this as a sign of my gratitude.";
- delitem 6391,1; //Splendid_Supply_Kit
+ delitem Splendid_Supply_Kit,1;
if (ep14_1_bs == 17) {
ep14_1_bs = 18;
completequest 11208;
getexp 0,500000;
- getitem 6380,5; //Mora_Coin
+ getitem Mora_Coin,5;
} else
- getitem 6380,2; //Mora_Coin
+ getitem Mora_Coin,2;
close;
}
if (ep14_1_bs == 17) {
@@ -1458,7 +1458,7 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 4_F_FAIRY,{
ep14_1_bs = 18;
completequest 11208;
getexp 0,200000;
- getitem 6380,2; //Mora_Coin
+ getitem Mora_Coin,2;
close;
}
mes "[Daphrer]";
@@ -1524,7 +1524,7 @@ OnInit:
}
dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- You have too many items to do this quest. -";
close;
}
@@ -1543,7 +1543,7 @@ dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{
mes "You promised to take the box of Bradium to Cheshire, who will be waiting for you near the Crevice of Bifrost.";
erasequest 7208;
setquest 7210;
- getitem 6392,1; //Bradium_Box
+ getitem Bradium_Box,1;
close;
case 2:
mes "You decided to give up delivering the box.";
@@ -1563,7 +1563,7 @@ dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{
mes "You decide to take it to the location shown on the piece of paper.";
completequest 7206;
setquest 7207;
- getitem 6392,1; //Bradium_Box
+ getitem Bradium_Box,1;
close;
}
} else if (questprogress(7207) != 2) {
@@ -1578,13 +1578,13 @@ dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{
}
bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- You have too many items to do this quest. -";
close;
}
cutin "ep13_cheshire",1;
if (questprogress(7209)) {
- if (countitem(6090) < 20) {
+ if (countitem(Purified_Bradium) < 20) {
mes "[Cheshire]";
mes "Bring me 20 pieces of refined Bradium.";
mes "In exchange for the box, which you carelessly and irresponsibly sold to somebody.";
@@ -1604,17 +1604,17 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{
mes "You made a mistake of losing the box, you have to be content with this.";
mes "And starting tomorrow, get the box here intact.";
mes "Every day.";
- delitem 6090,20; //Purified_Bradium
+ delitem Purified_Bradium,20;
erasequest 7209;
setquest 7208;
- getitem 6304,1; //Sapa_Feat_Cert
+ getitem Sapa_Feat_Cert,1;
close2;
cutin "",255;
end;
}
callsub L_CheckPlaytime;
if (questprogress(7210)) {
- if (countitem(6392) == 0)
+ if (countitem(Bradium_Box) == 0)
callsub L_LostQuest,7210;
else {
mes "[Cheshire]";
@@ -1628,8 +1628,8 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{
mes "Now, leave this place before the Laphines grow suspicious.";
erasequest 7210;
setquest 7208;
- delitem 6392,1; //Bradium_Box
- getitem 6304,1; //Sapa_Feat_Cert
+ delitem Bradium_Box,1;
+ getitem Sapa_Feat_Cert,1;
getexp 50000,40000;
close2;
cutin "",255;
@@ -1707,7 +1707,7 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{
end;
}
} else if (questprogress(7207) != 2) {
- if (countitem(6392) == 0)
+ if (countitem(Bradium_Box) == 0)
callsub L_LostQuest,7207;
else {
mes "[Cheshire]";
@@ -1755,10 +1755,10 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{
mes "Well, I'll leave the matter to you.";
mes "Try to bring the box to me every day.";
mes "Okay?";
- delitem 6392,1; //Bradium_Box
+ delitem Bradium_Box,1;
completequest 7207;
setquest 7208;
- getitem 6304,1; //Sapa_Feat_Cert
+ getitem Sapa_Feat_Cert,1;
getexp 50000,40000;
next;
mes "[Cheshire]";
@@ -2101,9 +2101,9 @@ mora,117,66,3 script Euridi#pa 4_F_MORAFINE2,{
mes "Let's go show the letter to Pitt.";
changequest 1112,1113;
- //delitem 6383,30; //Clue_Of_Lope
- .@count = countitem(6383);
- if (.@count) delitem 6383,((.@count > 30)?30:.@count); //Clue_Of_Lope
+ //delitem Clue_Of_Lope,30;
+ .@count = countitem(Clue_Of_Lope);
+ if (.@count) delitem Clue_Of_Lope,((.@count > 30)?30:.@count);
ep14_1_rope = 5;
close;
@@ -2148,8 +2148,8 @@ mora,117,66,3 script Euridi#pa 4_F_MORAFINE2,{
changequest 1116,1117;
ep14_1_rope = 10;
- //delitem 6384,1; //Ring_Of_Lope
- if (countitem(6384)) delitem 6384,1; //Ring_Of_Lope
+ //delitem Ring_Of_Lope,1;
+ if (countitem(Ring_Of_Lope)) delitem Ring_Of_Lope,1;
close;
}
@@ -2239,7 +2239,7 @@ mora,115,68,3 script Euridi's Friend#pa 4_F_MORAFINE1,{
mes "Maybe we're responsible";
mes "for what happened.";
next;
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Euridi's Friend]";
mes "You have too many things with you.";
mes "Can you throw out some of them?";
@@ -2251,7 +2251,7 @@ mora,115,68,3 script Euridi's Friend#pa 4_F_MORAFINE1,{
completequest 1117;
ep14_1_rope = 11;
getexp 1000000,2000000;
- getitem 6380,10; //Mora_Coin
+ getitem Mora_Coin,10;
close;
} else if (ep14_1_rope > 10) {
mes "[Euridi's Friend]";
@@ -2296,7 +2296,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{
mes "I hate Laphines!";
close;
} else if (ep14_1_rope == 3) {
- if (countitem(6383) < 30) {
+ if (countitem(Clue_Of_Lope) < 30) {
mes "[Pitt]";
mes "This is all because of";
mes "the stupid guide!";
@@ -2316,7 +2316,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{
mes "So I swallow it like this,";
mes "and voila! Evidence gone!";
mes "Now I can sleep soundly, thank you!";
- delitem 6383,5; //Clue_Of_Lope
+ delitem Clue_Of_Lope,5;
close;
case 2:
mes "[Pitt]";
@@ -2337,7 +2337,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{
mes "This is so totally unfair!";
close;
} else if (ep14_1_rope == 5) {
- if (checkweight(6384,1) == 0) {
+ if (checkweight(Ring_Of_Lope,1) == 0) {
mes "[Pitt]";
mes "What are you, a professional mover?";
mes "Stomping about with a ton of stuff on your back!";
@@ -2390,7 +2390,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{
mes "in whatever form he might be in.";
changequest 1113,1114;
ep14_1_rope = 6;
- getitem 6384,1; //Ring_Of_Lope
+ getitem Ring_Of_Lope,1;
close;
} else if (ep14_1_rope == 6 || ep14_1_rope == 7) {
mes "[Pitt]";
@@ -2528,7 +2528,7 @@ OnTouch:
//== Find the Research Tools :: ep14_1_muk =================
mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) {
mes "^FF0000- Warning message -";
mes "- Hang on there!! -";
mes "- You have too many items -";
@@ -2681,7 +2681,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
emotion e_paper;
close;
} else if (ep14_1_muk == 1) {
- if (questprogress(5016) && countitem(6385) == 0) {
+ if (questprogress(5016) && countitem(Research_Tool_Bag) == 0) {
mes "[Raffle Researcher]";
mes "You're back? Where are my research tools?";
emotion e_what;
@@ -2716,7 +2716,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "I've always wanted a capable research assistant,";
mes "but it hasn't been easy to find one.";
next;
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Raffle Researcher]";
mes "By the way... Was it that difficult to";
mes "reclaim the research tools?";
@@ -2728,9 +2728,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "It must've been hard work to retrieve the tools.";
mes "Why don't you take this and go to the inn";
mes "and rest up? There's nothing for you to do right now.";
- delitem 6385,1; //Research_Tool_Bag
+ delitem Research_Tool_Bag,1;
ep14_1_muk = 2;
- getitem 6380,1; //Mora_Coin
+ getitem Mora_Coin,1;
erasequest 5016;
close;
} else if (ep14_1_muk == 2) {
@@ -2850,7 +2850,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "You can collect the samples";
mes "from that area.";
next;
- if (MaxWeight - Weight < 100 || checkweight(1092,10) == 0) {
+ if (MaxWeight - Weight < 100 || checkweight(Empty_Cylinder,10) == 0) {
mes "[Raffle Researcher]";
mes "You are carrying too much weight.";
mes "I can't give you the sample tube.";
@@ -2861,12 +2861,12 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Here is the sample tube for collecting.";
mes "Go and collect 10 samples!";
ep14_1_muk = 7;
- getitem 1092,10; //Empty_Cylinder
+ getitem Empty_Cylinder,10;
erasequest 5018;
setquest 5019;
close;
} else if (ep14_1_muk == 7) {
- if (questprogress(5019) && countitem(6386) < 10) {
+ if (questprogress(5019) && countitem(Bathtub_R_Sample) < 10) {
mes "[Raffle Researcher]";
mes "Have you collected the samples yet?";
mes "Please hurry up.";
@@ -2878,7 +2878,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "from that area.";
close;
}
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Raffle Researcher]";
mes "I know that you've done a lot...";
mes "but you are carrying too many things.";
@@ -2894,8 +2894,8 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "with the bath water samples.";
mes "It usually takes about 24 hours.";
mes "Why don't you come back then?";
- delitem 6386,10; //Bathtub_R_Sample
- getitem 6380,1; //Mora_Coin
+ delitem Bathtub_R_Sample,10;
+ getitem Mora_Coin,1;
ep14_1_muk = 8;
erasequest 5019;
setquest 5020;
@@ -2966,7 +2966,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "As humans say,";
mes "I've been waiting forever for them.";
next;
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Raffle Researcher]";
mes "I know that you've done a lot...";
mes "but you are carrying too many things.";
@@ -2981,7 +2981,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Why don't you go for a walk";
mes "and come back then?";
delitem .@item,10;
- getitem 6380,1; //Mora_Coin
+ getitem Mora_Coin,1;
erasequest .@quest;
setquest 5023;
close;
@@ -3065,7 +3065,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "like you did collecting";
mes "the bath water samples.";
ep14_1_muk = 10;
- getitem 1092,1; //Empty_Cylinder
+ getitem Empty_Cylinder,1;
erasequest 5023;
setquest 5024;
next;
@@ -3077,7 +3077,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
close;
}
} else if (ep14_1_muk == 10) {
- if (countitem(6389) == 0) {
+ if (countitem(Puddle_R_Sample) == 0) {
mes "[Raffle Researcher]";
mes "You still haven't gone to collect the puddle sample?";
mes "Go to the puddle to the east of the village,";
@@ -3096,9 +3096,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "It's not completely to the west...";
mes "The puddle should be at 7 o'clock";
mes "from the village.";
- delitem 6389,1; //Puddle_R_Sample
+ delitem Puddle_R_Sample,1;
ep14_1_muk = 11;
- getitem 1092,1; //Empty_Cylinder
+ getitem Empty_Cylinder,1;
changequest 5024,5025;
next;
mes "[Raffle Researcher]";
@@ -3106,7 +3106,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Good luck!";
close;
} else if (ep14_1_muk == 11) {
- if (countitem(6389) == 0) {
+ if (countitem(Puddle_R_Sample) == 0) {
mes "[Raffle Researcher]";
mes "You still haven't gone to collect the puddle sample?";
mes "Go to the puddle to the west of the village,";
@@ -3124,9 +3124,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Get me a sample from the puddle from the south.";
mes "The puddle to the south";
mes "should be... at 6 o'clock from here.";
- delitem 6389,1; //Puddle_R_Sample
+ delitem Puddle_R_Sample,1;
ep14_1_muk = 12;
- getitem 1092,1; //Empty_Cylinder
+ getitem Empty_Cylinder,1;
changequest 5025,5026;
next;
mes "[Raffle Researcher]";
@@ -3135,7 +3135,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "the sample is not damaged.";
close;
} else if (ep14_1_muk == 12) {
- if (countitem(6389) == 0) {
+ if (countitem(Puddle_R_Sample) == 0) {
mes "You still haven't gone to collect the puddle sample?";
mes "Get me a sample from the puddle from the south.";
mes "The puddle to the south is located";
@@ -3156,9 +3156,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Please get me the sample from the puddle to the north.";
mes "It's not completely to the north.";
mes "it's at 11 o'clock from the village.";
- delitem 6389,1; //Puddle_R_Sample
+ delitem Puddle_R_Sample,1;
ep14_1_muk = 13;
- getitem 1092,1; //Empty_Cylinder
+ getitem Empty_Cylinder,1;
changequest 5026,5027;
next;
mes "[Raffle Researcher]";
@@ -3166,7 +3166,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "Be careful.";
close;
} else if (ep14_1_muk == 13) {
- if (countitem(6389) == 0) {
+ if (countitem(Puddle_R_Sample) == 0) {
mes "[Raffle Researcher]";
mes "You still haven't gone to collect the puddle sample?";
mes "Please get me a sample from the puddle to the north.";
@@ -3185,7 +3185,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "looking at the relationship between";
mes "these puddles and the bath.";
next;
- if (checkweight(6380,4) == 0) {
+ if (checkweight(Mora_Coin,4) == 0) {
mes "[Raffle Researcher]";
mes "I know that you've done a lot...";
mes "but you are carrying too many things.";
@@ -3197,9 +3197,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "If I finish this experiment...";
mes "There's probably nothing else to do. While I run the experiment,";
mes "why don't you go and entertain yourself?";
- delitem 6389,1; //Puddle_R_Sample
+ delitem Puddle_R_Sample,1;
ep14_1_muk = 14;
- getitem 6380,4; //Mora_Coin
+ getitem Mora_Coin,4;
erasequest 5027;
setquest 5028;
next;
@@ -3312,7 +3312,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
mes "But thank you anyhow. I've been researching for a while,";
mes "but I've never met such an excellent research assistant as you.";
next;
- if (MaxWeight - Weight < 100 || checkweight(1092,1) == 0) {
+ if (MaxWeight - Weight < 100 || checkweight(Empty_Cylinder,1) == 0) {
mes "[Raffle Researcher]";
mes "Hmm? By the way...";
mes "You are carrying too much weight.";
@@ -3329,7 +3329,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{
ep14_1_muk = 15;
completequest 5028;
getexp 1000000,4000000;
- getitem 6380,30; //Mora_Coin
+ getitem Mora_Coin,30;
next;
mes "[Raffle Researcher]";
mes "If we happen to run into each other again,";
@@ -3455,7 +3455,7 @@ L_ShowReport:
next;
return;
L_CheckWeight:
- if (MaxWeight - Weight < 100 || checkweight(1092,1) == 0) {
+ if (MaxWeight - Weight < 100 || checkweight(Empty_Cylinder,1) == 0) {
mes "[Raffle Researcher]";
mes "You are carrying too much weight.";
mes "I can't give you the sample tube.";
@@ -3466,7 +3466,7 @@ L_CheckWeight:
}
mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) {
mes "^FF0000- Warning message -";
mes "- Hang on there!! -";
mes "- You have too many items -";
@@ -3587,7 +3587,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
mes "You tell me my family do okay.";
close;
} else if (questprogress(5034) == 1) {
- if (MaxWeight - Weight < 100 || checkweight(5792,1) == 0) {
+ if (MaxWeight - Weight < 100 || checkweight(Fish_Pin,1) == 0) {
mes "[Fishee]";
mes "You have lots.";
mes "I give. To you.";
@@ -3610,7 +3610,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
mes "No. Someone left it.";
mes "... ... Good guy. I give you.";
completequest 5034;
- getitem 5792,1; //Fish_Pin
+ getitem Fish_Pin,1;
close;
} else if (questprogress(5034) == 2) {
mes "[Fishee]";
@@ -3730,11 +3730,11 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
if (.@npc_hp <= 0) {
mes "You won. The unidentified creature is unconscious.";
next;
- if (questprogress(5016) && countitem(6385) == 0) {
+ if (questprogress(5016) && countitem(Research_Tool_Bag) == 0) {
mes "What will you do?";
next;
select("Look for the research tools.");
- if (checkweight(6385,1) == 0) {
+ if (checkweight(Research_Tool_Bag,1) == 0) {
mes "You attempted to look for the research tools,";
mes "but you are carrying too many things.";
mes "You'd better lighten your load";
@@ -3745,7 +3745,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
}
mes "Found Researcher Raffle's ^0000FF Research tool ^000000.";
ep14_1_goki += 1;
- getitem 6385,1; //Research_Tool_Bag
+ getitem Research_Tool_Bag,1;
setquest 5029;
next;
mes "The creature wakes up and disappears into the dark hole.";
@@ -3787,7 +3787,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
end;
}
if (rand(1,30) == 7) {
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "While you were checking the body of the unidentified creature, your fingers touch something. You got lucky, but due to your heavy load you failed to obtain a ^0000FF Mora Coin^000000.";
ep14_1_goki += 1;
setquest 5029;
@@ -3797,7 +3797,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{
}
mes "While you were checking the body of the unidentified creature, your fingers touch something. Lucky. Obtained a ^0000FF Mora Coin^000000.";
ep14_1_goki += 1;
- getitem 6380,1; //Mora_Coin
+ getitem Mora_Coin,1;
setquest 5029;
next;
mes "The creature wakes up and disappears into the dark hole.";
@@ -4104,13 +4104,13 @@ OnFullon:
donpcevent strnpcinfo(0)+"::OnDisable";
end;
}
- if (countitem(6386) >= 10) {
+ if (countitem(Bathtub_R_Sample) >= 10) {
mes "You will not need additional samples.";
close2;
donpcevent strnpcinfo(0)+"::OnDisable";
end;
}
- if (countitem(1092) == 0) {
+ if (countitem(Empty_Cylinder) == 0) {
mes "To obtain a sample, you need a sample tube.";
close2;
donpcevent strnpcinfo(0)+"::OnDisable";
@@ -4120,7 +4120,7 @@ OnFullon:
next;
progressbar "ffff00",3;
if (!rand(3)) {
- if (checkweight(6386,1) == 0) {
+ if (checkweight(Bathtub_R_Sample,1) == 0) {
mes "You have so many items";
mes "that it is difficult to collect samples.";
mes "You will have to lighten your load and come back.";
@@ -4129,8 +4129,8 @@ OnFullon:
end;
}
mes "Bath water sample collection complete.";
- delitem 1092,1; //Empty_Cylinder
- getitem 6386,1; //Bathtub_R_Sample
+ delitem Empty_Cylinder,1;
+ getitem Bathtub_R_Sample,1;
} else {
mes "Bath water sample collection failed.";
percentheal 5,5;
@@ -4245,27 +4245,27 @@ mora,118,86,0 duplicate(???#mora) ???#ep14_muk05 CLEAR_NPC,2,2
setarray .@dir$[1],"east","west","south","north";
if (questprogress(.@quest1[.@i])) {
- if (countitem(6389) == 0) {
+ if (countitem(Puddle_R_Sample) == 0) {
mes "This appears to be the puddle to the "+.@dir$[.@i];
mes "that the researcher talked about.";
mes "Will you collect a sample?";
next;
if(select("Collect a sample.:Don't collect a sample.") == 2)
close;
- if (countitem(1092) == 0) {
+ if (countitem(Empty_Cylinder) == 0) {
mes "You have no empty sample tubes.";
close;
}
progressbar "ffff00",5;
- if (checkweight(6389,1) == 0) {
+ if (checkweight(Puddle_R_Sample,1) == 0) {
mes "You have so many items";
mes "that it is difficult to collect samples.";
mes "You will have to lighten your load and come back.";
close;
}
mes "You have collected a sample from the puddle to the "+.@dir$[.@i]+".";
- delitem 1092,1; //Empty_Cylinder
- getitem 6389,1; //Puddle_R_Sample
+ delitem Empty_Cylinder,1;
+ getitem Puddle_R_Sample,1;
close;
} else {
mes "You already have a sample.";
@@ -4377,7 +4377,7 @@ bif_fild02,113,340,0 duplicate(#mora_puddle) Puddle#ep14_muk04 CLEAR_NPC
//== Mora Daily Quests :: ep14_1_dealer ====================
mora,133,80,6 script Elephantine#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;
}
@@ -4485,7 +4485,7 @@ mora,133,80,6 script Elephantine#pa0829 4_ELEPHANT,{
}
mora,115,98,0 script Hotcha#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;
}
@@ -4548,7 +4548,7 @@ mora,115,98,0 script Hotcha#pa0829 4_ELEPHANT,{
getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0);
else
getexp 0, ((JobLevel < 70)?JobLevel * JobLevel * (110/100) * 10:0);
- getitem 6380,3; //Mora_Coin
+ getitem Mora_Coin,3;
close;
}
}
@@ -4560,7 +4560,7 @@ mora,115,98,0 script Hotcha#pa0829 4_ELEPHANT,{
}
mora,119,103,4 script Bow-wow#pa0829 4_M_DOGTRAVELER,{
- 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;
}
@@ -4668,7 +4668,7 @@ mora,119,103,4 script Bow-wow#pa0829 4_M_DOGTRAVELER,{
}
mora,119,118,4 script General Good Dealer#pa0 4_M_RAFLE_GR,{
- 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;
}
@@ -4749,14 +4749,14 @@ L_CheckQuest:
getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0);
else
getexp 0, ((JobLevel < 70)?JobLevel * JobLevel * (110/100) * 10:0);
- getitem 6380,1; //Mora_Coin
+ getitem Mora_Coin,1;
close;
}
return;
}
mora,124,108,7 script Woof-grrr#pa0829 4_M_DOGTRAVELER2,{
- 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;
}
@@ -4864,7 +4864,7 @@ mora,124,108,7 script Woof-grrr#pa0829 4_M_DOGTRAVELER2,{
}
mora,127,112,4 script Commodities Dealer#pa08 4_F_RAFLE_PK,{
- 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;
}
@@ -4945,14 +4945,14 @@ L_CheckQuest:
getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0);
else
getexp 0, ((JobLevel < 70)?JobLevel * JobLevel * (110/100) * 10:0);
- getitem 6380,1; //Mora_Coin
+ getitem Mora_Coin,1;
close;
}
return;
}
mora,170,101,4 script Soul Guide#pa0829 4_F_DOGTRAVELER,{
- 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;
}
@@ -5135,7 +5135,7 @@ function script mora_remains {
next;
mes "You picked up "+getarg(2)+" Mora Coins next to the remains.";
specialeffect2 EF_STEAL;
- getitem 6380,getarg(2); //Mora_Coin
+ getitem Mora_Coin,getarg(2);
}
close;
}
@@ -5179,13 +5179,13 @@ mora,116,165,5 script Knights Boss#mo 4_M_RAFLE_VI,{
close;
} else if (.@playtime == 2)
erasequest 1119;
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Order of the Knights Boss]";
mes "You have a lot of things with you!";
mes "Why not dump some of them in my pocket?";
close;
}
- if (countitem(12561) >= 200) {
+ if (countitem(Mysterious_Seed) >= 200) {
mes "[Order of the Knights Boss]";
mes "So you've brought back";
mes "200 ^FF0000Mysterious Seeds^000000.";
@@ -5198,8 +5198,8 @@ mora,116,165,5 script Knights Boss#mo 4_M_RAFLE_VI,{
mes "You made sure everyone knows";
mes "it's the Order of the Neighborhood Knights's work, right?";
setquest 1119;
- delitem 12561,200; //Mysterious_Seed
- getitem 6380,1; //Mora_Coin
+ delitem Mysterious_Seed,200;
+ getitem Mora_Coin,1;
close;
}
mes "[Order of the Knights Boss]";
@@ -5233,7 +5233,7 @@ mora,116,165,5 script Knights Boss#mo 4_M_RAFLE_VI,{
}
mora,114,163,5 script Knights Head#mo 4_M_RAFLE_OR,{
- if (checkweight(6380,1) == 0) {
+ if (checkweight(Mora_Coin,1) == 0) {
mes "[Order of the Knights Head]";
mes "You have a lot of things with you!";
mes "Why not dump some of them in my pocket?";
@@ -5300,7 +5300,7 @@ mora,114,163,5 script Knights Head#mo 4_M_RAFLE_OR,{
close;
}
} else if (ep14_1_rope == 12) {
- if (countitem(6383) < 30) {
+ if (countitem(Clue_Of_Lope) < 30) {
mes "[Order of the Knights Head]";
mes "You still haven't gathered";
mes "^0000FFLope's Clues^000000?";
@@ -5329,9 +5329,9 @@ mora,114,163,5 script Knights Head#mo 4_M_RAFLE_OR,{
mes "It's too much for us.";
mes "It's no use trying to do it.";
completequest 1118;
- delitem 6383,30; //Clue_Of_Lope
+ delitem Clue_Of_Lope,30;
ep14_1_rope = 13;
- getitem 6380,2; //Mora_Coin
+ getitem Mora_Coin,2;
getexp 1000000,1000000;
close;
} else if (ep14_1_rope > 12) {
diff --git a/npc/re/woe-fe/invest_main.txt b/npc/re/woe-fe/invest_main.txt
index ac9e486b8..ed02b7d9a 100644
--- a/npc/re/woe-fe/invest_main.txt
+++ b/npc/re/woe-fe/invest_main.txt
@@ -179,7 +179,7 @@ function script F_Invest_Abyss {
mes "Not much but this is a small gift. You can exchange it with items in Malangdo.";
Zeny -= .@zeny;
setd getarg(0), getd(getarg(0)) + .@units;
- getitem 6488,.@units; //Thanks_Invest_Ticket
+ getitem Thanks_Invest_Ticket,.@units;
close;
case 2:
mes getarg(1);
@@ -216,7 +216,7 @@ function script F_Invest_Abyss {
mes "Canceled.";
close;
}
- if (countitem(6489) < .@tickets) {
+ if (countitem(Cats_Invest_Certif) < .@tickets) {
mes getarg(1);
mes "Looks like you have fewer Investment Certificates than you want to submit.";
close;
@@ -225,9 +225,9 @@ function script F_Invest_Abyss {
mes getarg(1);
mes .@tickets+" Investment Certificate"+((.@tickets == 1)?" is":"s are")+" the same as an investment of "+.@units+" units ("+((.@units < 100)?.@units:insertchar(""+.@units,",",1))+"0,000z)"+getarg(2,"")+".";
mes "Not much but this is a small gift. You can exchange it with items in Malangdo.";
- delitem 6489,.@tickets; //Cats_Invest_Certif
+ delitem Cats_Invest_Certif,.@tickets;
setd getarg(0), getd(getarg(0)) + .@units;
- getitem 6488,.@units; //Thanks_Invest_Ticket
+ getitem Thanks_Invest_Ticket,.@units;
close;
case 3:
mes getarg(1);
@@ -882,14 +882,14 @@ OnAgitInvest:
close;
}
case 3:
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- Currently you're carrying -";
mes "- too many items with you. -";
mes "- Please try again after you -";
mes "- lose some weight. -";
close;
}
- if (countitem(6488) >= 4800) {
+ if (countitem(Thanks_Invest_Ticket) >= 4800) {
mes .@n$;
mes "You have too many Thank You Tickets to receive any more.";
mes "Cannot give you any more tickets. Please use your ticket and come back.";
@@ -1126,13 +1126,13 @@ OnAgitInvest:
next;
switch(select("Invest for gate connection:Deepest Layer Dungeon Access:Abyss Gate Access:Cancel")) {
case 1:
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "[Gate Manager]";
mes "You have too many items to receive the Thank You Ticket as a small gift for your investment.";
mes "Please come back after making room in your inventory.";
close;
}
- if (countitem(6488) >= 4800) {
+ if (countitem(Thanks_Invest_Ticket) >= 4800) {
mes "[Gate Manager]";
mes "You have too many Thank You Tickets to receive any more.";
mes "Cannot give you any more tickets. Please use your ticket and come back.";
@@ -1336,7 +1336,7 @@ malangdo,218,126,4 script Cat Paw Merchants Notice 4_BOARD3,{
}
malangdo,218,123,1 script Namis#invest 4_CAT_SAILOR2,4,4,{
- if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
+ if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) {
mes "- Currently you're carrying -";
mes "- too many items with you. -";
mes "- Please try again after you -";
@@ -1461,7 +1461,7 @@ L_Check:
delitem getarg(1),getarg(2);
if (.@items == 2)
delitem getarg(5),getarg(6);
- getitem 6489,1; //Cats_Invest_Certif
+ getitem Cats_Invest_Certif,1;
mes "[Namis]";
mes "Here's your Certificate. Always be grateful to the Merchants for these events!";
close;
@@ -1475,7 +1475,7 @@ OnTouch:
//== Investment Rewards ====================================
malangdo,215,119,4 script Thanks Ticket Machine 2_VENDING_MACHINE1,{
- if (MaxWeight - Weight < 4500 || checkweight(1201,1) == 0) {
+ if (MaxWeight - Weight < 4500 || checkweight(Knife,1) == 0) {
mes "- Currently you're carrying -";
mes "- too many items with you. -";
mes "- Please try again after you -";
@@ -1516,11 +1516,11 @@ malangdo,215,119,4 script Thanks Ticket Machine 2_VENDING_MACHINE1,{
case 3:
mes "Red Paw Jelly Bag Button chosen. Need to insert 5 ^FF0000Invest Thanks Ticket^000000 and a random item will appear.";
next;
- if (countitem(6488) < 5) {
+ if (countitem(Thanks_Invest_Ticket) < 5) {
mes "You don't have enough ^FF0000Invest Thanks Ticket^000000 to proceed.";
close;
}
- delitem 6488,5; //Thanks_Invest_Ticket
+ delitem Thanks_Invest_Ticket,5;
.@i = rand(1,10000);
if (.@i <= 100) callsub L_Bag,12531,1; //White_Potion_Box
else if (.@i <= 200) callsub L_Bag,12549,1; //White_Slim_Pot_Box2
@@ -1585,11 +1585,11 @@ malangdo,215,119,4 script Thanks Ticket Machine 2_VENDING_MACHINE1,{
case 4:
mes "Black Paw Jelly Bag Button chosen. Need to insert 50 ^FF0000Invest Thanks Ticket^000000 and a random item will appear.";
next;
- if (countitem(6488) < 50) {
+ if (countitem(Thanks_Invest_Ticket) < 50) {
mes "You don't have enough ^FF0000Invest Thanks Ticket^000000 to proceed.";
close;
}
- delitem 6488,50; //Thanks_Invest_Ticket
+ delitem Thanks_Invest_Ticket,50;
.@i = rand(1,10000);
if (.@i <= 100) callsub L_Bag,12531,1; //White_Potion_Box
else if (.@i <= 200) callsub L_Bag,12549,1; //White_Slim_Pot_Box2
@@ -1664,11 +1664,11 @@ malangdo,215,119,4 script Thanks Ticket Machine 2_VENDING_MACHINE1,{
//callsub L_Purchase,<ticket cost>,<reward ID>,<reward amount>{,<reward name>};
L_Purchase:
- if (countitem(6488) < getarg(0)) {
+ if (countitem(Thanks_Invest_Ticket) < getarg(0)) {
mes "You don't have enough ^FF0000Invest Thanks Ticket^000000 to proceed.";
close;
}
- delitem 6488,getarg(0); //Thanks_Invest_Ticket
+ delitem Thanks_Invest_Ticket,getarg(0);
getitem getarg(1),getarg(2);
mes "- Done! -";
next;