summaryrefslogtreecommitdiff
path: root/npc/re/jobs
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 /npc/re/jobs
parentbd18b127755adaea4d958574b5b7f26c8d818b50 (diff)
downloadhercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.gz
hercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.bz2
hercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.xz
hercules-7eea5d3e6051be189736b94e13be847159c87cd7.zip
ItemID to Constant: re Folder
Diffstat (limited to 'npc/re/jobs')
-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
21 files changed, 438 insertions, 438 deletions
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.";