summaryrefslogtreecommitdiff
path: root/npc/re
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-10 21:19:06 +0530
committerHaru <haru@dotalux.com>2015-12-18 05:13:38 +0100
commit0828824948c77bbfc357e08e8a5a0a96671b1ca6 (patch)
tree54669433655bb853309ea1cae12da049622324fa /npc/re
parent52a95a4f8b4d5c269df62ec286e908cba0ef80a2 (diff)
downloadhercules-0828824948c77bbfc357e08e8a5a0a96671b1ca6.tar.gz
hercules-0828824948c77bbfc357e08e8a5a0a96671b1ca6.tar.bz2
hercules-0828824948c77bbfc357e08e8a5a0a96671b1ca6.tar.xz
hercules-0828824948c77bbfc357e08e8a5a0a96671b1ca6.zip
More ItemID to Constants
Diffstat (limited to 'npc/re')
-rw-r--r--npc/re/jobs/3-1/archbishop.txt2
-rw-r--r--npc/re/jobs/3-2/shadow_chaser.txt4
-rw-r--r--npc/re/jobs/novice/academy.txt6
-rw-r--r--npc/re/quests/cupet.txt14
-rw-r--r--npc/re/quests/quests_malaya.txt18
5 files changed, 22 insertions, 22 deletions
diff --git a/npc/re/jobs/3-1/archbishop.txt b/npc/re/jobs/3-1/archbishop.txt
index 2bb13bac5..f803d99f8 100644
--- a/npc/re/jobs/3-1/archbishop.txt
+++ b/npc/re/jobs/3-1/archbishop.txt
@@ -1218,7 +1218,7 @@ OnTouch:
close2;
nude;
if (countitem(Will_Of_Exhausted_Angel))
- delitem Will_Of_Exhausted_Angel,(2798);
+ delitem Will_Of_Exhausted_Angel,countitem(Will_Of_Exhausted_Angel);
delitem Broken_Horn_Pipe,countitem(Broken_Horn_Pipe);
mapwarp "job3_arch02","job3_arch01",29,29;
end;
diff --git a/npc/re/jobs/3-2/shadow_chaser.txt b/npc/re/jobs/3-2/shadow_chaser.txt
index f9c856ddc..0a34ad1cb 100644
--- a/npc/re/jobs/3-2/shadow_chaser.txt
+++ b/npc/re/jobs/3-2/shadow_chaser.txt
@@ -2295,8 +2295,8 @@ s_atelier,29,119,3 script Max#sc05_prt 4W_M_01,{
next;
.@i = select("I need a make-up brush.:I need a paint brush.:Nothing.");
mes "[Max]";
- if (.@i == 1) setarray .@i[1],6121,1,10,100000;
- else if (.@i == 2) setarray .@i[1],6122,2,30,200000;
+ if (.@i == 1) setarray .@i[1],Makeover_Brush,1,10,100000;
+ else if (.@i == 2) setarray .@i[1],Paint_Brush,2,30,200000;
else {
mes "If you need more";
mes "just visit me!";
diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt
index b33a9d1b6..280547487 100644
--- a/npc/re/jobs/novice/academy.txt
+++ b/npc/re/jobs/novice/academy.txt
@@ -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(Taekwon_Manual) > 0) {
+ if (isequipped(Taekwon_Manual) > 0 || countitem(Taekwon_Manual) > 0) {
mes "[Arang]";
mes "Introduction to the class may let you know about what Taekwon in more detail.";
next;
@@ -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(Mage_Manual) > 0) {
+ if (isequippedcnt(Mage_Manual) > 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.";
@@ -12110,7 +12110,7 @@ iz_ac02,152,165,5 script A Nun#2 4_F_SISTER,{
mes "murmuring";
close;
}
- if (isequippedcnt(2821) > 0 || countitem(Acolyte_Manual) > 0) {
+ if (isequippedcnt(Acolyte_Manual) > 0 || countitem(Acolyte_Manual) > 0) {
mes "[A nun]";
mes "You already have one.";
mes "We do not give two.";
diff --git a/npc/re/quests/cupet.txt b/npc/re/quests/cupet.txt
index 04c9b7303..36ad2dbb3 100644
--- a/npc/re/quests/cupet.txt
+++ b/npc/re/quests/cupet.txt
@@ -36,9 +36,9 @@
- script CPM1 4_M_ALCHE_C,{
.@npc$ = "[Cute Pet Manager]";
- setarray .@tame_id[0],619,620,622,623,624,627,628,629,630;
+ setarray .@tame_id[0],Unripe_Apple,Orange_Juice,Rainbow_Carrot,Earthworm_The_Dude,Rotten_Fish,Sweet_Milk,Well_Dried_Bone,Singing_Flower,Dew_Laden_Moss;
setarray .@tame_amount[0],3,3,3,3,3,3,3,3,3;
- setarray .@hunt_id[0],909,909,705,916,935,919,919,940,921;
+ setarray .@hunt_id[0],Jellopy,Jellopy,Clover,Feather_Of_Birds,Shell,Animal's_Skin,Animal's_Skin,Grasshopper's_Leg,Mushroom_Spore;
setarray .@hunt_amount[0],500,600,500,500,500,500,600,500,500;
setarray .@mob_id[0],1002,1113,1063,1049,1011,1167,1107,1052,1014;
.@tame_gets = 3;
@@ -64,9 +64,9 @@
- script CPM2 4_M_ALCHE_C,{
.@npc$ = "[Cute Pet Manager]";
- setarray .@tame_id[0],621,625,632,631,633,634,635,636,659,637,639,640;
+ setarray .@tame_id[0],Bitter_Herb,Lusty_Iron,Fatty_Chubby_Earthworm,Deadly_Noxious_Herb,Baked_Yam,Tropical_Banana,Horror_Of_Tribe,No_Recipient,Heart_Of_Her,Old_Broom,Armlet_Of_Obedience,Shining_Stone;
setarray .@tame_amount[0],2,2,2,2,2,2,2,2,2,2,2,2;
- setarray .@hunt_id[0],938,935,925,7033,945,942,931,901,1094,1021,936,1035;
+ setarray .@hunt_id[0],Sticky_Mucus,Shell,Bill_Of_Birds,Poison_Spore,Raccoon_Leaf,Yoyo_Tail,Orcish_Voucher,Danggie,Short_Daenggie,Dokkaebi_Horn,Scales_Shell,Dragon_Canine;
setarray .@hunt_amount[0],500,600,500,300,500,500,500,500,500,500,500,500;
setarray .@hunt_item_count[0],1,1,1,1,1,1,1,1,1;
setarray .@mob_id[0],1031,1042,1019,1077,1056,1057,1023,1026,1188,1110,1029;
@@ -93,11 +93,11 @@
- script CPM3 4_M_ALCHE_C,{
.@npc$ = "[Cute Pet Manager]";
- setarray .@tame_id[0],638,626,641,661,660,642;
+ setarray .@tame_id[0],Silver_Knife_Of_Chaste,Monster_Juice,Contracts_In_Shadow,Sway_Apron,Prohibition_Red_Candle,Book_Of_Devil;
setarray .@tame_amount[0],1,1,1,1,1,1;
- setarray .@hunt_id[0],1020,943,1038,7047,1970,923;
+ setarray .@hunt_id[0],Long_Hair,Solid_Shell,Petite_DiablOfs_Horn,Alice's_Apron,Queen's_Whip,Evil_Horn;
setarray .@hunt_amount[0],600,600,600,500,1,100;
- setarray .@hunt_id2[0],0,0,0,0,7017,0;
+ setarray .@hunt_id2[0],0,0,0,0,Executioner's_Mitten,0;
setarray .@hunt_amount2[0],0,0,0,0,20,0;
setarray .@mob_id[0],1170,1035,1109,1275,1200,1101;
.@tame_gets = 1;
diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt
index b75e4969b..b125b4e3a 100644
--- a/npc/re/quests/quests_malaya.txt
+++ b/npc/re/quests/quests_malaya.txt
@@ -8753,21 +8753,21 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{
mes "Hope you enjoy the '^7A96E0Pintados Festival^000000'.";
close;
case 2:
- .@tattoo = 2911; //Bangungot_Tattoo
- .@doll = 6517; //Bangungot_Doll
- .@spirit = 6524; //Bangungot_Spirit_Piece
+ .@tattoo = Bangungot_Tattoo;
+ .@doll = Bangungot_Doll;
+ .@spirit = Bangungot_Spirit_Piece;
.@name$ = "Bangungot";
break;
case 3:
- .@tattoo = 2907; //Buwaya_Tattoo
- .@doll = 6518; //Buwaya_Doll
- .@spirit = 6525; //Buwaya_Spirit_Piece
+ .@tattoo = Buwaya_Tattoo;
+ .@doll = Buwaya_Doll;
+ .@spirit = Buwaya_Spirit_Piece;
.@name$ = "Buwaya";
break;
case 4:
- .@tattoo = 2910; //Bakonawa_Tattoo
- .@doll = 6516; //Bakonawa_Doll
- .@spirit = 6523; //Bakonawa_Spirit_Piece
+ .@tattoo = Bakonawa_Tattoo;
+ .@doll = Bakonawa_Doll;
+ .@spirit = Bakonawa_Spirit_Piece;
.@name$ = "Bakonawa";
break;
}