summaryrefslogtreecommitdiff
path: root/npc/re/jobs/3-2/royal_guard.txt
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/3-2/royal_guard.txt
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/3-2/royal_guard.txt')
-rw-r--r--npc/re/jobs/3-2/royal_guard.txt34
1 files changed, 17 insertions, 17 deletions
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;