diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-12-10 15:39:41 +0530 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-18 05:13:37 +0100 |
commit | 7eea5d3e6051be189736b94e13be847159c87cd7 (patch) | |
tree | c046043a8e2a0fcb4702344f6a87883c9efb5b72 /npc/re/quests | |
parent | bd18b127755adaea4d958574b5b7f26c8d818b50 (diff) | |
download | hercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.gz hercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.bz2 hercules-7eea5d3e6051be189736b94e13be847159c87cd7.tar.xz hercules-7eea5d3e6051be189736b94e13be847159c87cd7.zip |
ItemID to Constant: re Folder
Diffstat (limited to 'npc/re/quests')
-rw-r--r-- | npc/re/quests/cupet.txt | 2 | ||||
-rw-r--r-- | npc/re/quests/eden/11-25.txt | 2 | ||||
-rw-r--r-- | npc/re/quests/eden/26-40.txt | 86 | ||||
-rw-r--r-- | npc/re/quests/eden/41-55.txt | 4 | ||||
-rw-r--r-- | npc/re/quests/eden/56-70.txt | 2 | ||||
-rw-r--r-- | npc/re/quests/eden/71-85.txt | 10 | ||||
-rw-r--r-- | npc/re/quests/eden/86-90.txt | 2 | ||||
-rw-r--r-- | npc/re/quests/eden/91-99.txt | 2 | ||||
-rw-r--r-- | npc/re/quests/eden/eden_common.txt | 10 | ||||
-rw-r--r-- | npc/re/quests/eden/eden_iro.txt | 26 | ||||
-rw-r--r-- | npc/re/quests/eden/eden_service.txt | 2 | ||||
-rw-r--r-- | npc/re/quests/eden/eden_tutorial.txt | 28 | ||||
-rw-r--r-- | npc/re/quests/homun_s.txt | 14 | ||||
-rw-r--r-- | npc/re/quests/magic_books.txt | 34 | ||||
-rw-r--r-- | npc/re/quests/pile_bunker.txt | 16 | ||||
-rw-r--r-- | npc/re/quests/quests_brasilis.txt | 86 | ||||
-rw-r--r-- | npc/re/quests/quests_dewata.txt | 162 | ||||
-rw-r--r-- | npc/re/quests/quests_dicastes.txt | 136 | ||||
-rw-r--r-- | npc/re/quests/quests_malangdo.txt | 390 | ||||
-rw-r--r-- | npc/re/quests/quests_malaya.txt | 358 | ||||
-rw-r--r-- | npc/re/quests/quests_mora.txt | 218 |
21 files changed, 795 insertions, 795 deletions
diff --git a/npc/re/quests/cupet.txt b/npc/re/quests/cupet.txt index 8db51c110..04c9b7303 100644 --- a/npc/re/quests/cupet.txt +++ b/npc/re/quests/cupet.txt @@ -187,7 +187,7 @@ function script cute_pet_manager { dispbottom "Hunt ID2: " + .@hunt_id2; dispbottom "Hunt Amount2: " + .@hunt_amount2; if (.@hunt_id2) { .@hunt2_count = countitem(.@hunt_id2); } - if (countitem(.@hunt_id) >= .@hunt_amount && countitem(6083) > 0 && .@hunt2_count >= .@hunt_amount2) { + if (countitem(.@hunt_id) >= .@hunt_amount && countitem(Dolly_Capsule) > 0 && .@hunt2_count >= .@hunt_amount2) { mes "[Cute Pet Manager]"; mes "Ah, you have gathered all items"; mes "with your friends. You can now"; diff --git a/npc/re/quests/eden/11-25.txt b/npc/re/quests/eden/11-25.txt index 1dee3275b..a4d376650 100644 --- a/npc/re/quests/eden/11-25.txt +++ b/npc/re/quests/eden/11-25.txt @@ -35,7 +35,7 @@ //========================================================================= moc_para01,36,38,3 script Mission [11 - 25]#Tuto 4_BOARD3,{ - if (countitem(6219) < 1) { + if (countitem(Para_Team_Mark) < 1) { mes "- You need to have an -"; mes "- ^4d4dff'Eden Group Mark'^000000 -"; mes "- to receive these missions. -"; diff --git a/npc/re/quests/eden/26-40.txt b/npc/re/quests/eden/26-40.txt index ec32d91e0..f106eb059 100644 --- a/npc/re/quests/eden/26-40.txt +++ b/npc/re/quests/eden/26-40.txt @@ -35,7 +35,7 @@ //========================================================================= moc_para01,38,38,3 script Mission [26 - 40] 4_BOARD3,{ - if (countitem(6219) < 1) { + if (countitem(Para_Team_Mark) < 1) { mes "You are not a qualified member. You can not use the bulletin board."; close; } @@ -118,7 +118,7 @@ L_Quest: } geffen,103,42,5 script Sponiac 4W_M_03,{ - if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) { + if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) { mes "[Sponiac]"; mes "Why are you carrying so many items?"; mes "Are you in a training course or something?"; @@ -168,7 +168,7 @@ L_Quest: next; mes "[Sponiac]"; mes "Here it is. Thank you very much. God bless you!"; - getitem 569,getarg(4); //Novice_Potion + getitem Novice_Potion,getarg(4); getexp getarg(2),getarg(3); erasequest getarg(0); close; @@ -198,7 +198,7 @@ L_Quest: } moc_ruins,173,55,3 script Dieshin Man 4_M_ORIENT02,{ - if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) { + if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) { mes "[Dieshin Man]"; mes "Why are you carrying so many items?"; mes "Are you in a training course or something?"; @@ -240,7 +240,7 @@ L_Quest: mes "Please check your Quest Window by pressing 'alt + u'."; close; } - if (countitem(6218) > 0) { + if (countitem(Disin_Delivery_Box) > 0) { mes "[Dieshin Man]"; mes "Wait, but you already have a delivery box."; next; @@ -277,12 +277,12 @@ L_Quest: next; mes "[Dieshin Man]"; mes "If you forgot where to make the delivery, then please check the Quest Window by pressing 'alt + u'."; - getitem 6218,1; //Disin_Delivery_Box + getitem Disin_Delivery_Box,1; close; } pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{ - if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) { + if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) { mes "[Zoologist]"; mes "Why are you carrying so many items?"; mes "Are you in a training course or something?"; @@ -312,7 +312,7 @@ pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{ mes "I am waiting for a special delivery."; close; } - if (countitem(6218) > 0) { + if (countitem(Disin_Delivery_Box) > 0) { mes "[Zoologist]"; mes "Oh ho! Yes! That one!"; next; @@ -328,9 +328,9 @@ pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{ next; mes "[Zoologist]"; mes "Well done. Good Job! Thank you so much! Here is a little gift for you."; - delitem 6218,1; //Disin_Delivery_Box + delitem Disin_Delivery_Box,1; erasequest 8271; - getitem 569,100; //Novice_Potion + getitem Novice_Potion,100; getexp 1000,0; close; } @@ -347,7 +347,7 @@ pay_fild07,83,89,7 script Zoologist 4_M_ORIENT02,{ } prt_fild03,30,254,3 script Entomologist 4_M_01,{ - if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) { + if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) { mes "[Entomologist]"; mes "Why are you carrying so many items?"; mes "Are you in a training course or something?"; @@ -377,7 +377,7 @@ prt_fild03,30,254,3 script Entomologist 4_M_01,{ mes "I am waiting for a special delivery."; close; } - if (countitem(6218) > 0) { + if (countitem(Disin_Delivery_Box) > 0) { mes "[Entomologist]"; mes "Oh ho! Yes! That one!"; next; @@ -393,9 +393,9 @@ prt_fild03,30,254,3 script Entomologist 4_M_01,{ next; mes "[Entomologist]"; mes "Well done. Good Job! Thank you so much! Here is a little gift for you."; - delitem 6218,1; //Disin_Delivery_Box + delitem Disin_Delivery_Box,1; erasequest 8272; - getitem 569,100; //Novice_Potion + getitem Novice_Potion,100; getexp 1000,0; close; } @@ -412,7 +412,7 @@ prt_fild03,30,254,3 script Entomologist 4_M_01,{ } xmas_fild01,92,57,3 script Biologist 4W_M_01,{ - if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) { + if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) { mes "[Biologist]"; mes "Why are you carrying so many items?"; mes "Are you in a training course or something?"; @@ -442,7 +442,7 @@ xmas_fild01,92,57,3 script Biologist 4W_M_01,{ mes "I am waiting for a special delivery."; close; } - if (countitem(6218) > 0) { + if (countitem(Disin_Delivery_Box) > 0) { mes "[Biologist]"; mes "Oh ho! Yes! That one!"; next; @@ -458,9 +458,9 @@ xmas_fild01,92,57,3 script Biologist 4W_M_01,{ next; mes "[Biologist]"; mes "Well done. Good Job! Thank you so much! Here is a little gift for you."; - delitem 6218,1; //Disin_Delivery_Box + delitem Disin_Delivery_Box,1; erasequest 8273; - getitem 569,100; //Novice_Potion + getitem Novice_Potion,100; getexp 1000,0; close; } @@ -477,7 +477,7 @@ xmas_fild01,92,57,3 script Biologist 4W_M_01,{ } payon,179,66,3 script Dashia 4_M_RACHMAN1,{ - if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 3500) { + if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 3500) { mes "[Dashia]"; mes "Why are you carrying so many items?"; mes "Are you in a training course or something?"; @@ -507,10 +507,10 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{ switch(select("Gather Bones:Gather Animal Skin:Gather Peelings:Gather Tails:Gather Cookies:Gather Mustaches")) { case 1: callsub L_Quest,8274; - if (countitem(932) > 9) { + if (countitem(Skel_Bone) > 9) { callsub L_Reward; - delitem 932,10; //Skel_Bone - getitem 569,100; //Novice_Potion + delitem Skel_Bone,10; + getitem Novice_Potion,100; getexp 1000,100; erasequest 8274; close; @@ -530,11 +530,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{ break; case 2: callsub L_Quest,8275; - if ((countitem(948) > 9) && (countitem(919) > 4)) { + if ((countitem(Bear's_Foot) > 9) && (countitem(Animal's_Skin) > 4)) { callsub L_Reward; - getitem 569,100; //Novice_Potion - delitem 948,10; //Bear's_Foot - delitem 919,5; //Animal's_Skin + getitem Novice_Potion,100; + delitem Bear's_Foot,10; + delitem Animal's_Skin,5; getexp 1000,100; erasequest 8275; close; @@ -555,11 +555,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{ break; case 3: callsub L_Quest,8276; - if ((countitem(955) > 19) && (countitem(910) > 19)) { + if ((countitem(Worm_Peelings) > 19) && (countitem(Garlet) > 19)) { callsub L_Reward; - delitem 955,20; //Worm_Peelings - delitem 910,20; //Garlet - getitem 569,100; //Novice_Potion + delitem Worm_Peelings,20; + delitem Garlet,20; + getitem Novice_Potion,100; getexp 1000,100; erasequest 8276; close; @@ -582,12 +582,12 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{ break; case 4: callsub L_Quest,8277; - if ((countitem(942) > 9) && (countitem(1026) > 9) && (countitem(945) > 9)) { + if ((countitem(Yoyo_Tail) > 9) && (countitem(Acorn) > 9) && (countitem(Raccoon_Leaf) > 9)) { callsub L_Reward; - delitem 942,10; //Yoyo_Tail - delitem 1026,10; //Acorn - delitem 945,10; //Raccoon_Leaf - getitem 569,150; //Novice_Potion + delitem Yoyo_Tail,10; + delitem Acorn,10; + delitem Raccoon_Leaf,10; + getitem Novice_Potion,150; getexp 1000,200; erasequest 8277; close; @@ -611,11 +611,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{ break; case 5: callsub L_Quest,8278; - if ((countitem(538) > 4) && (countitem(539) > 0)) { + if ((countitem(Well_Baked_Cookie) > 4) && (countitem(Piece_Of_Cake) > 0)) { callsub L_Reward; - delitem 538,5; //Well_Baked_Cookie - delitem 539,1; //Piece_Of_Cake - getitem 569,150; //Novice_Potion + delitem Well_Baked_Cookie,5; + delitem Piece_Of_Cake,1; + getitem Novice_Potion,150; getexp 1000,200; erasequest 8278; close; @@ -637,11 +637,11 @@ payon,179,66,3 script Dashia 4_M_RACHMAN1,{ break; case 6: callsub L_Quest,8279; - if ((countitem(1017) > 4) && (countitem(1018) > 2)) { + if ((countitem(Moustache_Of_Mole) > 4) && (countitem(Nail_Of_Mole) > 2)) { callsub L_Reward; - delitem 1017,5; //Moustache_Of_Mole - delitem 1018,3; //Nail_Of_Mole - getitem 569,150; //Novice_Potion + delitem Moustache_Of_Mole,5; + delitem Nail_Of_Mole,3; + getitem Novice_Potion,150; getexp 1000,200; erasequest 8279; close; diff --git a/npc/re/quests/eden/41-55.txt b/npc/re/quests/eden/41-55.txt index 5eaf56a62..625189c7b 100644 --- a/npc/re/quests/eden/41-55.txt +++ b/npc/re/quests/eden/41-55.txt @@ -35,11 +35,11 @@ //========================================================================= moc_para01,40,38,3 script Mission [41 - 55] 4_BOARD3,{ - if (countitem(6219) < 1) { + if (countitem(Para_Team_Mark) < 1) { mes "You are not an Eden group member. You are not qualified to access the bulletin board."; close; } - if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 1000) { + if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 1000) { mes "^008800Wait a sec!!"; mes "You cannot receive any more items because you're carrying too many items. Please try again after you lighten up.^000000"; close; diff --git a/npc/re/quests/eden/56-70.txt b/npc/re/quests/eden/56-70.txt index 4c77e1a25..01f28c8c1 100644 --- a/npc/re/quests/eden/56-70.txt +++ b/npc/re/quests/eden/56-70.txt @@ -36,7 +36,7 @@ //========================================================================= moc_para01,42,38,3 script Mission [56 - 70] 4_BOARD3,{ - if (countitem(6219) < 1) { + if (countitem(Para_Team_Mark) < 1) { mes "To get these missions, I need to Join the Eden Group first. I must find Secretary Lime Evenor and become a member."; close; } diff --git a/npc/re/quests/eden/71-85.txt b/npc/re/quests/eden/71-85.txt index c4f75c122..36108afec 100644 --- a/npc/re/quests/eden/71-85.txt +++ b/npc/re/quests/eden/71-85.txt @@ -35,7 +35,7 @@ //========================================================================= moc_para01,44,38,3 script Mission [71 - 85] 4_BOARD3,{ - if (countitem(6219) < 1) { + if (countitem(Para_Team_Mark) < 1) { mes "- Only members of the -"; mes "- Eden Group can read -"; mes "- this bulletin board. -"; @@ -74,7 +74,7 @@ moc_para01,44,38,3 script Mission [71 - 85] 4_BOARD3,{ if (questprogress(.@quests[.@i],HUNTING) == 2) .@complete[getarraysize(.@complete)] = .@quests[.@i]; } - if (questprogress(5057) && countitem(7187) >= 30) + if (questprogress(5057) && countitem(Festival_Mask) >= 30) .@complete[getarraysize(.@complete)] = 5057; if (getarraysize(.@complete)) { mes "You have quests in progress."; @@ -194,7 +194,7 @@ L_Quest: mes "'"+.@name$+"' completed. Do you want to turn it in and receive your reward?"; next; if(select("Turn in quest.:Cancel.") == 1) { - if (.@quest == 5057) delitem 7187,30; //Festival_Mask + if (.@quest == 5057) delitem Festival_Mask,30; erasequest .@quest; getexp .@exp,0; mes "You've received EXP for finishing the quest."; @@ -207,7 +207,7 @@ L_Quest: // Quest 5057 is the only collection quest, so separate conditions are unnecessary. if (!questprogress(5057)) .@hunting = 0; - else if (countitem(7187) >= 30) + else if (countitem(Festival_Mask) >= 30) .@hunting = 2; } else { .@hunting = questprogress(.@quest,HUNTING); @@ -221,7 +221,7 @@ L_Quest: mes "You have completed the quest."; next; if(select("Turn in quest.:Cancel.") == 1) { - if (.@quest == 5057) delitem 7187,30; //Festival_Mask + if (.@quest == 5057) delitem Festival_Mask,30; erasequest .@quest; getexp .@exp,0; mes "You've received EXP for finishing the quest."; diff --git a/npc/re/quests/eden/86-90.txt b/npc/re/quests/eden/86-90.txt index ac1adabd8..14f8a56f2 100644 --- a/npc/re/quests/eden/86-90.txt +++ b/npc/re/quests/eden/86-90.txt @@ -41,7 +41,7 @@ //========================================================================= moc_para01,48,175,3 script 86-90 Mission Board 4_BOARD3,{ - if (countitem(6219) < 1) { + if (countitem(Para_Team_Mark) < 1) { mes "Wait a minute!"; mes "-You need to have an-"; mes "-^4d4dff'Eden Group Mark'^000000-"; diff --git a/npc/re/quests/eden/91-99.txt b/npc/re/quests/eden/91-99.txt index 23e4a2b21..e5c82022d 100644 --- a/npc/re/quests/eden/91-99.txt +++ b/npc/re/quests/eden/91-99.txt @@ -41,7 +41,7 @@ //========================================================================= moc_para01,48,177,3 script 91-99 Mission Board 4_BOARD3,{ - if (countitem(6219) < 1) { + if (countitem(Para_Team_Mark) < 1) { mes "Wait a minute!"; mes "-You need to have an-"; mes "-^4d4dff'Eden Group Mark'^000000-"; diff --git a/npc/re/quests/eden/eden_common.txt b/npc/re/quests/eden/eden_common.txt index e539dbebb..da3974cd7 100644 --- a/npc/re/quests/eden/eden_common.txt +++ b/npc/re/quests/eden/eden_common.txt @@ -36,7 +36,7 @@ //========================================================================= moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{ - if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) { + if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; mes "- too many items with you. -"; @@ -67,7 +67,7 @@ moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{ next; break; case 2: - if (countitem(6219) < 1) { + if (countitem(Para_Team_Mark) < 1) { mes "[Lime Evenor]"; mes "You can be a Eden's member by simply registering with me."; mes "Would you like to join Eden Group?"; @@ -106,7 +106,7 @@ moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{ next; mes "[Lime Evenor]"; mes "Hopefully you can do great work as an Eden's member."; - getitem 6219,1; //Para_Team_Mark + getitem Para_Team_Mark,1; next; break; case 2: @@ -179,7 +179,7 @@ moc_para01,27,35,5 script Secretary Lime Evenor 4_F_EDEN_OFFICER,{ } break; case 4: - if (countitem(6219) > 0) { + if (countitem(Para_Team_Mark) > 0) { mes "[Lime Evenor]"; mes "Would like to try some missions as an Eden member?"; next; @@ -306,7 +306,7 @@ OnTouch: } moc_para01,47,39,3 script #warp_2_pass HIDDEN_NPC,{ - if (countitem(6219) > 0) { + if (countitem(Para_Team_Mark) > 0) { mes "[Lime Evenor]"; mes "Oh, it is an exclusive place only for Eden's members."; mes "If you are a member, you can come whenever you want!"; diff --git a/npc/re/quests/eden/eden_iro.txt b/npc/re/quests/eden/eden_iro.txt index f7b8cb0f9..062c05d9c 100644 --- a/npc/re/quests/eden/eden_iro.txt +++ b/npc/re/quests/eden/eden_iro.txt @@ -124,7 +124,7 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{ mes "[Phelix]"; mes "Alright, let's see what ya got..."; next; - if (countitem(909) < 3) { + if (countitem(Jellopy) < 3) { mes "[Phelix]"; mes "Hmm, look dude, I said 3 Jellopies for 1 Carrot... got it?"; close; @@ -135,10 +135,10 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{ next; switch(select("As many as I can get, please.:I want to choose.:Never mind, I like my Jellopy.")) { case 1: - .@amount = countitem(909) / 3; + .@amount = countitem(Jellopy) / 3; break; case 2: - .@available = countitem(909) / 3; + .@available = countitem(Jellopy) / 3; mes "[Phelix]"; mes "How many do you want?"; mes "^ff0000You have enough for up to " + .@available + " Carrots.^000000"; @@ -161,7 +161,7 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{ mes "Don't bother me if you don't want to trade."; close; } - if (checkweight(515,.@amount) == 0) { + if (checkweight(Carrot,.@amount) == 0) { mes "[Phelix]"; mes "You are overweight."; close; @@ -169,8 +169,8 @@ moc_para01,166,51,3 script Phelix#edco 4_M_03,{ mes "[Phelix]"; mes "There you go~! As I promised."; mes "Try not to stuff yer face."; - delitem 909,.@amount*3; //Jellopy - getitem 515,.@amount; //Carrot + delitem Jellopy,.@amount*3; + getitem Carrot,.@amount; end; } @@ -250,13 +250,13 @@ moc_para01,163,51,7 script Izaac#edco 4_M_04,{ mes "to an adventurer like you?"; close; } - if (checkweight(501,.@amount) == 0) { //custom check + if (checkweight(Red_Potion,.@amount) == 0) { //custom check mes "[Izaac]"; mes "You are overweight."; close; } delitem .@item,.@trade_amount; - getitem 501,.@amount; //Red_Potion + getitem Red_Potion,.@amount; mes "[Izaac]"; mes "There you go!"; mes "Check how many "+.@item$; @@ -342,9 +342,9 @@ moc_para01,50,39,4 script Eve Natalia 4_F_SITDOWN,{ for(.@i = 0; .@i<.@amount; ++.@i) { // Note: iRO lists item 6235 as "Safe to 7 Headgear Certificate", but it's Guarantee_Armor_6Up in our database. if (rand(2)) - getitem 6230,1; //Guarantee_Weapon_7Up + getitem Guarantee_Weapon_7Up,1; else - getitem 6234,1; //Guarantee_Armor_7Up + getitem Guarantee_Armor_7Up,1; } close; case 3: @@ -389,7 +389,7 @@ moc_para01,48,184,2 script Gum & Manual Exchanger 2_DROP_MACHINE,{ mes "[Trader Machine]"; mes "I can give you 1 Battle Manual X3 for 1 Costume Corsair."; next; - if (countitem(19619) == 0) { + if (countitem(C_Corsair) == 0) { mes "[Trader Machine]"; mes "You don't have a Costume Corsair hat to make that trade."; close; @@ -403,8 +403,8 @@ moc_para01,48,184,2 script Gum & Manual Exchanger 2_DROP_MACHINE,{ next; mes "[Trader Machine]"; mes "The Machine has given you an item in return!"; - delitem 19619,1; //C_Corsair - getitem 14545,1; //Battle_Manual_X3 + delitem C_Corsair,1; + getitem Battle_Manual_X3,1; close; case 6: close; diff --git a/npc/re/quests/eden/eden_service.txt b/npc/re/quests/eden/eden_service.txt index 433689d67..a4b1a8439 100644 --- a/npc/re/quests/eden/eden_service.txt +++ b/npc/re/quests/eden/eden_service.txt @@ -50,7 +50,7 @@ mes "3.Cabinet fee is"; mes " ^4d4dff500 zeny^000000!"; next; - if (countitem(6219) > 0) { + if (countitem(Para_Team_Mark) > 0) { mes "You need to insert zeny to use the cabinet."; mes "Cost : 500 Zeny "; mes "Would you like to use it?"; diff --git a/npc/re/quests/eden/eden_tutorial.txt b/npc/re/quests/eden/eden_tutorial.txt index 6d7e91380..3abffc534 100644 --- a/npc/re/quests/eden/eden_tutorial.txt +++ b/npc/re/quests/eden/eden_tutorial.txt @@ -168,7 +168,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{ setquest 9168; close; } else if (questprogress(9168) == 1) { - if (checkweight(607,1) == 0) { + if (checkweight(Yggdrasilberry,1) == 0) { if (MaxWeight - Weight < getiteminfo(607,6)) { mes "[Tutorial Instructor]"; mes "You seemed to be sluggish with a lot of items"; @@ -259,7 +259,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{ mes "come find and talk to me again."; close; } else if (questprogress(9169) == 1) { - if (countitem(12580) == 0) { + if (countitem(Vending_Search_Scroll) == 0) { mes "[Tutorial Instructor]"; mes "Hmm? So I noticed that"; mes "you haven't gone and picked up a"; @@ -302,7 +302,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{ setquest 9170; close; } else if (questprogress(9170) == 1) { - if (countitem(12580)) { + if (countitem(Vending_Search_Scroll)) { mes "[Tutorial Instructor]"; mes "Hmm... It seems that you still have"; mes "the ^006400Universal Silver Catalog^000000 in your inventory."; @@ -341,7 +341,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{ setquest 9171; close; } else if (questprogress(9171) == 1) { - if (countitem(909) < 10) { + if (countitem(Jellopy) < 10) { mes "[Tutorial Instructor]"; mes "It seems you didn't bring"; mes "enough materials. Did you forget"; @@ -370,7 +370,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{ close; } } - if (checkweight(607,6) == 0) { + if (checkweight(Yggdrasilberry,6) == 0) { if (MaxWeight - Weight < getiteminfo(607,6)) { mes "[Tutorial Instructor]"; mes "Your inventory seems to be really full"; @@ -408,12 +408,12 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{ next; mes "[Tutorial Instructor]"; mes "There. The Enchant is done. You can't understand the the process by just watching me, so I'll let you look at the items themselves."; - delitem 909,10; //Jellopy + delitem Jellopy,10; completequest 9171; setquest 9172; getitem2 15033,1,1,0,0,0,0,0,4702; //Tutorial_Mattle[Strength3] - getitem 15033,1; //Tutorial_Mattle - getitem 15034,1; //Tutorial_Mattle_ + getitem Tutorial_Mattle,1; + getitem Tutorial_Mattle_,1; next; mes "[Tutorial Instructor]"; mes "Those items cannot be"; @@ -423,7 +423,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{ mes "give them back to me."; close; } else if (questprogress(9172) == 1) { - if (countitem(15033) == 0 || countitem(15034) == 0) { + if (countitem(Tutorial_Mattle) == 0 || countitem(Tutorial_Mattle_) == 0) { mes "[Tutorial Instructor]"; mes "What did you do with the Enchanted"; mes "items I lent to you to look at?"; @@ -589,7 +589,7 @@ moc_para01,34,178,3 script Tutorial Instructor 4_M_KHMAN,{ } moc_para01,32,179,4 script Tutorial Goal 4_F_KHELLY,{ - if (checkweight(608,7) == 0) { + if (checkweight(Seed_Of_Yggdrasil,7) == 0) { if (MaxWeight - Weight < getiteminfo(608,7)) { mes "[Tutorial Goal]"; mes "You seem to be overweight with items. Go put some stuff away then come back."; @@ -637,10 +637,10 @@ moc_para01,32,179,4 script Tutorial Goal 4_F_KHELLY,{ mes "[Tutorial Goal]"; mes "I think it'll be useful to you during your adventures. I wish you luck on your future adventures~"; completequest 4166; - getitem 510,5; //Blue_Herb - getitem 511,5; //Green_Herb - getitem 504,5; //White_Potion - getitem 608,1; //Seed_Of_Yggdrasil + getitem Blue_Herb,5; + getitem Green_Herb,5; + getitem White_Potion,5; + getitem Seed_Of_Yggdrasil,1; close; } else if (questprogress(4166) == 2) { mes "[Tutorial Goal]"; diff --git a/npc/re/quests/homun_s.txt b/npc/re/quests/homun_s.txt index f0e8a70e6..708334731 100644 --- a/npc/re/quests/homun_s.txt +++ b/npc/re/quests/homun_s.txt @@ -36,7 +36,7 @@ //== Main NPCs ============================================= job3_gen01,12,44,3 script Viorel#job3_gen01 4_M_ALCHE_E,{ - if (countitem(6415)) { + if (countitem(Strange_Embryo)) { if (Class == Job_Genetic || Class == Job_Genetic_T || Class == Job_Baby_Genetic) { disable_items; if (!questprogress(4159) && !questprogress(4160)) { @@ -51,10 +51,10 @@ job3_gen01,12,44,3 script Viorel#job3_gen01 4_M_ALCHE_E,{ setquest 4154; setquest 4159; morphembryo; - if (countitem(6415) == 0) - getitem 6415,1; //Strange_Embryo - else if (countitem(6415) > 1) - delitem 6415, (countitem(6415) - 1); //Strange_Embryo + if (countitem(Strange_Embryo) == 0) + getitem Strange_Embryo,1; + else if (countitem(Strange_Embryo) > 1) + delitem Strange_Embryo, (countitem(Strange_Embryo) - 1); warp "que_house_s",63,41; end; } @@ -69,7 +69,7 @@ job3_gen01,12,44,3 script Viorel#job3_gen01 4_M_ALCHE_E,{ mes "Come back after you become a ^005DFFGenetic^000000 and have obtained a ^0000FFBioethics^000000."; close; } else { - delitem 6415, countitem(6415); //Strange_Embryo + delitem Strange_Embryo, countitem(Strange_Embryo); mes "[Viorel]"; mes "Wait, that embryo you have seems a little strange."; next; @@ -695,7 +695,7 @@ que_house_s,80,42,3 script Jeyna#homun_s 4_F_ALCHE_A,{ mes "In order to revert the process now, I need the Homunculus in its embryo form."; next; callsub L_CheckHomunculus; - if (checkweight(6415,1) == 0) { + if (checkweight(Strange_Embryo,1) == 0) { mes "[Jeyna]"; mes "But,"; mes "You don't have enough space to carry an ^0000FFembryo^000000."; diff --git a/npc/re/quests/magic_books.txt b/npc/re/quests/magic_books.txt index cf6a8a183..a9c2ece8d 100644 --- a/npc/re/quests/magic_books.txt +++ b/npc/re/quests/magic_books.txt @@ -35,7 +35,7 @@ //========================================================================= geffen_in,176,105,4 script Master Velofos 1_M_WIZARD,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You're carrying too many items. Please make some room in your bag first."; close; } @@ -289,7 +289,7 @@ geffen_in,176,105,4 script Master Velofos 1_M_WIZARD,{ } geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You're carrying too many items. Please make some room in your bag first."; close; } @@ -333,7 +333,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{ mes "Your life is more important than anything else, you know?"; close; } - if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(1006) > 1) || (.@Payment == 3 && countitem(1097) > 49)) { + if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(Old_Magic_Book) > 1) || (.@Payment == 3 && countitem(Worn_Out_Page) > 49)) { mes "What kind of Magic Book do you want?"; next; .@i = select("Let me think.:Magic Book (Fire Bolt):Magic Book (Cold Bolt):Magic Book (Lightning Bolt)")-1; @@ -349,14 +349,14 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{ mes "Don't you know how many others would want the book you already have? It's a bit selfish to want more than one, you know."; close; } - if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(1006) > 1) || (.@Payment == 3 && countitem(1097) > 49)) { + if ((.@Payment == 1 && Zeny > 10000) || (.@Payment == 2 && countitem(Old_Magic_Book) > 1) || (.@Payment == 3 && countitem(Worn_Out_Page) > 49)) { mes "The book's return date is written on the lending card on the back cover of the book."; next; mes "[Lea]"; mes "Please try not to lose or damage the book to avoid paying any extra charges."; if (.@Payment == 1) Zeny -= 10000; - else if (.@Payment == 2) delitem 1006,2; //Old_Magic_Book - else delitem 1097,50; //Worn_Out_Page + else if (.@Payment == 2) delitem Old_Magic_Book,2; + else delitem Worn_Out_Page,50; getitem 6188+.@i,1; //Magic_Book_FB, Magic_Book_CB, Magic_Book_LB close; } @@ -377,7 +377,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{ mes "Eluniums can be obtained from Hyeguns, Zombie Prisoners, Teddy Bears, Obsedians, and Loli Ruris. Or you can refine Rough Eluniums to Eluniums at the Forge in town, and that may be easier."; close; } - if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(603) > 1) || (.@Payment == 3 && countitem(985) > 8)) { + if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(Old_Blue_Box) > 1) || (.@Payment == 3 && countitem(Elunium) > 8)) { mes "What kind of Magic Book do you want?"; next; .@i = select("Let me think.:Magic Book (Storm Gust):Magic Book (Lord of Vermillion):Magic Book (Meteor Storm):Magic Book (Thunderstorm):Magic Book (Jupitel Thunder):Magic Book (Water Ball):Magic Book (Heaven's Drive):Magic Book (Earth Spike)")-1; @@ -394,14 +394,14 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{ mes "Don't you know how many others would want the book you already have? It's a bit selfish to want more than one, you know."; close; } - if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(603) > 1) || (.@Payment == 3 && countitem(985) > 8)) { + if ((.@Payment == 1 && Zeny > 50000) || (.@Payment == 2 && countitem(Old_Blue_Box) > 1) || (.@Payment == 3 && countitem(Elunium) > 8)) { mes "Thank you for your deposit. The book's return date is written on the lending card on the back cover of the book. Please try not to lose or damage the book and avoid paying compensation."; next; mes "[Lea]"; mes "The Intermediate and Superior Magic Books must be returned upon borrowing the Ultimate Magic Book. Remember that you're just borrowing them, so make sure you take good care of those books."; if (.@Payment == 1) Zeny -= 50000; - else if (.@Payment == 2) delitem 603,2; //Old_Blue_Box - else delitem 985,9; //Elunium + else if (.@Payment == 2) delitem Old_Blue_Box,2; + else delitem Elunium,9; getitem .@Books[.@i-1],1; //Magic_Book_SG, Magic_Book_LOV, Magic_Book_MS, Magic_Book_TS, Magic_Book_JT, Magic_Book_WB, Magic_Book_HD, Magic_Book_ES close; } @@ -450,7 +450,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{ } mes "[Lea]"; } - if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(7094) > 11) || (.@Payment == 3 && countitem(984) > 6) || (.@Payment == 4 && countitem(617))))) { + if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(Mystery_Piece) > 11) || (.@Payment == 3 && countitem(Oridecon) > 6) || (.@Payment == 4 && countitem(Old_Violet_Box))))) { mes "What kind of Magic Book do you want?"; next; .@i = select("Let me think.:Magic Book (Earth Strain):Magic Book (Chain Lightning):Magic Book (Crimson Rock):Magic Book (Drain Life)")-1; @@ -466,15 +466,15 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{ mes "Don't you know how many others would want the book you already have? It's a bit selfish to want more than one, you know."; close; } - if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(7094) > 11) || (.@Payment == 3 && countitem(984) > 6) || (.@Payment == 4 && countitem(617))))) { + if ((.@Payment == 1 && Zeny > 199999) || (Zeny > 99999 && ((.@Payment == 2 && countitem(Mystery_Piece) > 11) || (.@Payment == 3 && countitem(Oridecon) > 6) || (.@Payment == 4 && countitem(Old_Violet_Box))))) { mes "Thank you for your deposit. The book's return date is written on the lending card on the back cover of the book. Please try not to lose or damage the book and avoid paying compensation."; next; mes "[Lea]"; mes "The Intermediate and Superior Magic Books must be returned upon borrowing the Ultimate Magic Book. Remember that you're just borrowing them, so make sure you take good care of those books."; if (.@Payment == 1) Zeny -= 200000; - else if (.@Payment == 2) delitem 7094,12; //Mystery_Piece - else if (.@Payment == 3) delitem 984,7; //Oridecon - else delitem 617,1; //Old_Violet_Box + else if (.@Payment == 2) delitem Mystery_Piece,12; + else if (.@Payment == 3) delitem Oridecon,7; + else delitem Old_Violet_Box,1; if (.@Payment > 1) Zeny -= 100000; getitem 6201+.@i,1; //Magic_Book_ES_, Magic_Book_CL, Magic_Book_CR, Magic_Book_DL close; @@ -525,7 +525,7 @@ geffen_in,175,112,4 script Lea 2_F_MAGICMASTER,{ } mid_camp,255,244,4 script Galfos 4_M_JOB_WIZARD,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You're carrying too many items. Please make some room in your bag first."; close; } @@ -642,7 +642,7 @@ mid_camp,255,244,4 script Galfos 4_M_JOB_WIZARD,{ next; .@i = select("I've discovered everything about Comet.:I've mastered the zenith of Tetra Vortex."); mes "[Galfos]"; - if ((.@i == 1 && countitem(6195)) || (.@i == 2 && countitem(6196))) { + if ((.@i == 1 && countitem(Magic_Book_CM)) || (.@i == 2 && countitem(Magic_Book_TV))) { mes "Are you kidding me? You already have the book!"; close; } diff --git a/npc/re/quests/pile_bunker.txt b/npc/re/quests/pile_bunker.txt index 25461e2fb..28dc3787e 100644 --- a/npc/re/quests/pile_bunker.txt +++ b/npc/re/quests/pile_bunker.txt @@ -35,12 +35,12 @@ //========================================================================= yuno,179,174,4 script Gomer 4_M_REPAIR,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) { mes "[Gomer]"; mes "You are carrying so much. Drop off some of your luggage and come back to me."; close; } - if (countitem(1549)) { + if (countitem(Pilebuncker)) { mes "[Gomer]"; mes "So how's that Pilebuncker working out for you?"; close; @@ -105,7 +105,7 @@ yuno,179,174,4 script Gomer 4_M_REPAIR,{ mes "Lastly, finding a Brocca is very hard, but you should be able to do something about it. Haha, go get it!"; close; case 4: - if (countitem(999) < 200 || countitem(7325) < 30 || countitem(1415) < 1) { + if (countitem(Steel) < 200 || countitem(Tube) < 30 || countitem(Skewer) < 1) { mes "[Gomer]"; mes "You haven't brought all of the materials that I asked for."; next; @@ -132,11 +132,11 @@ yuno,179,174,4 script Gomer 4_M_REPAIR,{ next; mes "[Gomer]"; mes "Oh, and it turns out that I didn't need all that Steel after all. So here, take most of it back."; - delitem 999,50; //Steel - delitem 7325,30; //Tube - delitem 1415,1; //Skewer - getitem 1549,1; //Pilebuncker - getitem 1360,1; //Two_Handed_Axe + delitem Steel,50; + delitem Tube,30; + delitem Skewer,1; + getitem Pilebuncker,1; + getitem Two_Handed_Axe,1; close; } } diff --git a/npc/re/quests/quests_brasilis.txt b/npc/re/quests/quests_brasilis.txt index cd44598ca..a8f576741 100644 --- a/npc/re/quests/quests_brasilis.txt +++ b/npc/re/quests/quests_brasilis.txt @@ -75,8 +75,8 @@ brasilis,297,307,5 script Angelo#br 1_M_04,{ specialeffect2 EF_ASSUMPTIO; consumeitem 607; //Yggdrasilberry .@rand = rand(1,10); - if (.@rand > 4 && .@rand < 9) getitem 504,2; //White_Potion - else if (.@rand > 8) getitem 608,1; //Seed_Of_Yggdrasil + if (.@rand > 4 && .@rand < 9) getitem White_Potion,2; + else if (.@rand > 8) getitem Seed_Of_Yggdrasil,1; close; } mes "[Angelo]"; @@ -165,13 +165,13 @@ bra_fild01,176,63,5 duplicate(Puppy#bra) Puppy#d3 4_DOG01 //== Suspicious Beach :: Suspicious_Beach.sc =============== brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{ /* -------------- Hydra Ball ------------------------- - if (countitem(12408) > 0) { - delitem 12408,1; //Leaf_Cat_Ball - getitem 12408,1; //Leaf_Cat_Ball + if (countitem(Leaf_Cat_Ball) > 0) { + delitem Leaf_Cat_Ball,1; + getitem Leaf_Cat_Ball,1; } - else if (countitem(6221) > 0) { - delitem 6221,1; //Mystic_Leaf_Cat_Ball - getitem 6221,1; //Mystic_Leaf_Cat_Ball + else if (countitem(Mystic_Leaf_Cat_Ball) > 0) { + delitem Mystic_Leaf_Cat_Ball,1; + getitem Mystic_Leaf_Cat_Ball,1; } --------------------------------------------------- */ if (BaseLevel < 40) { @@ -194,7 +194,7 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{ switch(select("Yes.:No.:^006400What is happening here?^000000")) { case 1: setquest 9028; - getitem 12408,1; //Hydra_Ball + getitem Leaf_Cat_Ball,1; //Hydra_Ball mes "[Lucia]"; mes "Here, take this ^006400Hydra Ball^000000."; mes "Use it to capture a ^FF0000Strange Hydra^8B4513.^000000"; @@ -231,15 +231,15 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{ } } else if (.@nQState == 1) { - if (countitem(6221) > 0) { + if (countitem(Mystic_Leaf_Cat_Ball) > 0) { mes "[Lucia]"; mes "Hello, you really did it!"; - if (checkweight(11502,3)) { + if (checkweight(Light_Blue_Pot,3)) { //mes "I don't have enough ^006400Hydra Ball^000000s to give you."; //Poorly translated by iRO? mes "I hope you will come"; mes "again to help me."; mes "Have a nice day~!"; - delitem 6221,1; //Mystic_Leaf_Cat_Ball + delitem Mystic_Leaf_Cat_Ball,1; completequest 9028; //recall_completequest 9029; if (questprogress(9029)) erasequest 9029; @@ -248,7 +248,7 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{ consumeitem 12070; //Luk_Dish05 consumeitem 12055; //Vit_Dish05 consumeitem 12065; //Dex_Dish05 - getitem 11502,3; //Light_Blue_Pot + getitem Light_Blue_Pot,3; close; } else { @@ -261,10 +261,10 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{ } else { mes "[Lucia]"; - if (countitem(12408) < 1) { + if (countitem(Leaf_Cat_Ball) < 1) { mes "Did you need another ^006400Hydra Ball^000000?"; mes "I will give you one more."; - getitem 12408,1; //Leaf_Cat_Ball + getitem Leaf_Cat_Ball,1; close; } else { @@ -320,7 +320,7 @@ brasilis,192,133,6 script Lucia#brasilis 4_F_BRZ_WOMAN,{ switch(select("Yes.:No.:^006400What is happening here?^000000")) { case 1: setquest 9028; - getitem 12408,1; //Leaf_Cat_Ball + getitem Leaf_Cat_Ball,1; mes "[Lucia]"; mes "Here, take this ^006400Hydra Ball^000000."; mes "Use it to capture a ^FF0000Strange Hydra^8B4513.^000000"; @@ -373,7 +373,7 @@ OnTimer7000: //== Guarana Quest :: brazil_tre.sc ======================== brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{ - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "- You can't start the quest. Please reduce the weight in your inventory. -"; close; } @@ -439,11 +439,11 @@ brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{ close; } else if (brazil_gua == 10) { - if (!countitem(6237)) { + if (!countitem(Guarana_Fruit)) { mes "- The guarana that I had has disappeared. -"; close; } - delitem 6237,1; //Guarana_Fruit + delitem Guarana_Fruit,1; mes "[Candy Maker]"; mes "Did you get the guarana?"; next; @@ -465,7 +465,7 @@ brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{ mes "Try to savor its amazing taste hey~ take it easy. hahaha!!"; brazil_gua = 11; completequest 2200; - getitem 12414,1; //Guarana_Candy + getitem Guarana_Candy,1; getexp 70000,10000; close; } @@ -487,7 +487,7 @@ brasilis,187,162,5 script Candy Maker 4_M_BRZ_MAN1,{ mes "[Candy Maker]"; mes "Here is a delicious guarana candy."; Zeny -= 4000; - getitem 12414,1; //Guarana_Candy + getitem Guarana_Candy,1; close; } else { @@ -807,14 +807,14 @@ brasilis,203,64,3 script Strange Kid#bra 4_M_KID1,{ mes "I better find that Candy Maker!"; brazil_gua = 10; changequest 2199,2200; - getitem 6237,1; //Guarana_Fruit + getitem Guarana_Fruit,1; close; } else if (brazil_gua == 10) { - if (!countitem(6237)) { + if (!countitem(Guarana_Fruit)) { mes "[Strange Kid]"; mes "He........."; - getitem 6237,1; //Guarana_Fruit + getitem Guarana_Fruit,1; close; } } @@ -1427,7 +1427,7 @@ bra_in01,145,27,3 script Brasilis Boy#bra 4_M_BRZ_INDIAN,{ } brasilis,270,145,5 script Brasilis Girl#bra 4_F_BRZ_INDIAN,5,5,{ - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "- wait a second!! -"; mes "- you have too many items -"; mes "- so you can't get any more items. -"; @@ -1683,7 +1683,7 @@ brasilis,270,145,5 script Brasilis Girl#bra 4_F_BRZ_INDIAN,5,5,{ next; mes "[Jasira]"; mes "I know, I know! I'm the best..."; - delitem 7553,1; //Lotus_Flower + delitem Lotus_Flower,1; brazil_regia = 9; changequest 2206,2207; setarray .@card[0],4195,4177,4188; //Leaf_Cat_Card, Dryad_Card, Leib_Olmai_Card @@ -1758,7 +1758,7 @@ bra_dun02,67,205,5 script Recluse#bra 4_M_BRZ_JACI,3,3,{ mes "This is a gift from Jasira to say sorry for that time."; mes "She is really sad that can't come here by herself due to private difficulties."; next; - if (countitem(513) < 10) { + if (countitem(Banana) < 10) { mes "[Jasi]"; mes "What are you saying?"; next; @@ -1793,7 +1793,7 @@ bra_dun02,67,205,5 script Recluse#bra 4_M_BRZ_JACI,3,3,{ close; } else if (brazil_regia == 6) { - if (countitem(11515) < 5) { + if (countitem(Coconut) < 5) { mes "[Jasi]"; mes "I forgot what the name of that fruit was..."; close; @@ -1821,7 +1821,7 @@ bra_dun02,67,205,5 script Recluse#bra 4_M_BRZ_JACI,3,3,{ mes "[Jasi]"; mes "Oh, can you tell that girl Jasira something for me?"; mes "Tell her that I am not the moon from the story, but I want to become the moon to shine only for her."; - delitem 11515,5; //Coconut + delitem Coconut,5; brazil_regia = 7; changequest 2205,2206; close; @@ -1860,7 +1860,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{ mes "["+strcharinfo(0)+"]"; mes "Hey man~ I brought these delicious fruits for you... try it! They are really well matured and fresh bananas."; next; - if (countitem(513) < 10) { + if (countitem(Banana) < 10) { mes "[Jasi]"; mes "What are you saying?"; next; @@ -1914,7 +1914,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{ next; mes "[Jasi]"; mes "If you bring 5 of those things, I will reconsider your suggestion."; - delitem 513,10; //Banana + delitem Banana,10; brazil_regia = 5; changequest 2203,2204; next; @@ -1933,7 +1933,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{ close; } else if (brazil_regia == 7) { - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "- wait a second!! -"; mes "- you have too many items -"; mes "- so you can't get any more items. -"; @@ -1943,7 +1943,7 @@ bra_dun02,71,200,3 script Water lily#bra HIDDEN_NPC,{ } mes "- You take a beautiful water lily carefully in your hands. -"; brazil_regia = 8; - getitem 7553,1; //Lotus_Flower + getitem Lotus_Flower,1; close; } } @@ -2693,7 +2693,7 @@ bra_in01,7,181,5 script Curator#bra 4_M_BRZ_MAN2,{ close; } if ((brazil_ghost > 0) && (brazil_ghost < 7)) { - if (countitem(11515) > 0) { + if (countitem(Coconut) > 0) { mes "[Curator]"; mes "What can I do for you?"; next; @@ -2724,7 +2724,7 @@ bra_in01,7,181,5 script Curator#bra 4_M_BRZ_MAN2,{ mes "Ok I'll let you through this one time."; next; mes "The curator looks around calmly then opens the door."; - delitem 11515,1; //Coconut + delitem Coconut,1; brazil_ghost = 2; close2; warp "bra_in01",138,176; @@ -2878,7 +2878,7 @@ brasilis,315,334,5 script Shaman#nk 4_F_BRZ_INDOLD,{ mes "Did you bring the materials"; mes "to make the purifying potion?"; next; - if ((countitem(950) > 19) && (countitem(7172) > 9) && (countitem(1054) > 2)) { + if ((countitem(Heart_Of_Mermaid) > 19) && (countitem(Leopard_Talon) > 9) && (countitem(Lip_Of_Ancient_Fish) > 2)) { mes "[Anori]"; mes "Um... it seems to be okay."; mes "I'll make you a potion which will"; @@ -2893,10 +2893,10 @@ brasilis,315,334,5 script Shaman#nk 4_F_BRZ_INDOLD,{ erasequest 4133; setquest 4134; completequest 4134; - delitem 950,20; //Heart_Of_Mermaid - delitem 7172,10; //Leopard_Talon - delitem 1054,3; //Lip_Of_Ancient_Fish - getitem 11517,2; //Puri_Potion + delitem Heart_Of_Mermaid,20; + delitem Leopard_Talon,10; + delitem Lip_Of_Ancient_Fish,3; + getitem Puri_Potion,2; mes "[Anori]"; mes "Here, it's completed."; mes "Take this."; @@ -3056,7 +3056,7 @@ brasilis,315,334,5 script Shaman#nk 4_F_BRZ_INDOLD,{ } bra_dun02,157,74,5 script Iara#nk 4_F_BRZ_WOMAN,2,2,{ - if (countitem(11517) > 0) { + if (countitem(Puri_Potion) > 0) { mes "[" + strcharinfo(0) + "]"; mes "Should I use a Purification Potion?"; next; @@ -3079,7 +3079,7 @@ bra_dun02,157,74,5 script Iara#nk 4_F_BRZ_WOMAN,2,2,{ mes "Ah... Thank you for helping me recover my consciousness for a while."; mes "But... I think that the curse has been with me too long."; mes "Get away from me quickly."; - delitem 11517,1; //Puri_Potion + delitem Puri_Potion,1; percentheal 100,100; sc_start SC_INCFLEE,3600000,20; sc_start SC_CRITICALPERCENT,3600000,10; @@ -3121,7 +3121,7 @@ bra_dun02,157,74,5 script Iara#nk 4_F_BRZ_WOMAN,2,2,{ end; OnTouch: - if (countitem(11517) < 1) { + if (countitem(Puri_Potion) < 1) { mes "[Iara]"; mes "Aaaaaaaaaaaaaaaaaaaaaah."; mes "Eeeeeeeeeeeeeeeeeeeh."; diff --git a/npc/re/quests/quests_dewata.txt b/npc/re/quests/quests_dewata.txt index 1e0f97d7e..d29a7dffa 100644 --- a/npc/re/quests/quests_dewata.txt +++ b/npc/re/quests/quests_dewata.txt @@ -190,7 +190,7 @@ dew_in01,22,48,3 script Sage Kasyapa#dew 4_M_DEWZATIMAN,{ mes "as a reward for your help."; mes "Please, it would honor us if you would take it."; next; - if (checkweight(6406,1) == 0) { + if (checkweight(Cendrawasih_SF,1) == 0) { if (Weight + getiteminfo(6406,6) > MaxWeight) { mes "[Sage Kasyapa]"; mes "You are carrying too much weight over the limit."; @@ -204,7 +204,7 @@ dew_in01,22,48,3 script Sage Kasyapa#dew 4_M_DEWZATIMAN,{ } } dew_legend = 8; - getitem 6406,1; //Cendrawasih_SF + getitem Cendrawasih_SF,1; completequest 9157; erasequest 9157; mes "[Sage Kasyapa]"; @@ -321,7 +321,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{ setquest 9155; close; } else if (dew_legend == 5) { - if (countitem(6405) < 15) { + if (countitem(Cendrawasih_F) < 15) { mes "[Tribal Chief Paiko]"; mes "It seems that you have yet to find the materials to make the ^006400Jaty Crown^000000."; next; @@ -331,7 +331,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{ close; } dew_legend = 6; - delitem 6405,15; //Cendrawasih_F + delitem Cendrawasih_F,15; changequest 9155,9156; mes "[Tribal Chief Paiko]"; mes "Oh! You've found all of them. Look! The feathers you have found are sparkling. Aren't they?"; @@ -397,7 +397,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{ mes "You may be tempted by the aroma of our ^006400Satay^000000 and you may eat one but, if you eat more than that you won't be able to share the ^006400Satay^000000"; mes "with our village friends."; dew_legend = 9; - getitem 11533,2; //Satay + getitem Satay,2; setquest 9158; close; } else if (dew_legend == 9) { @@ -415,7 +415,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{ mes "[Tribal Chief Paiko]"; mes "If you are attracted by the aroma of the ^006400Satay^000000, you may eat one but, if you eat more you won't be able to share ^006400Satay^000000 with our friends."; dew_legend = 11; - getitem 11533,2; //Satay + getitem Satay,2; changequest 9159,9160; close; } else if (dew_legend == 11) { @@ -437,7 +437,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{ mes "[Tribal Chief Paiko]"; mes "And just like before, don't give into the smell and try not to eat the ^006400Satay^000000."; dew_legend = 13; - getitem 11533,2; //Satay + getitem Satay,2; changequest 9161,9162; close; } else if (dew_legend == 13) { @@ -457,7 +457,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{ mes "[Tribal Chief Paiko]"; mes "And just like before, don't give into the smell and try not to eat the ^006400Satay^000000."; dew_legend = 15; - getitem 11533,2; //Satay + getitem Satay,2; changequest 9163,9164; close; } else if (dew_legend == 15) { @@ -484,7 +484,7 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{ mes "[Tribal Chief Paiko]"; mes "It's not the same as the original, but it has its own specialty. It is my reward to thank you for what you have done."; next; - if (checkweight(18520,1) == 0) { + if (checkweight(Jaty_C,1) == 0) { mes "[Tribal Chief Paiko]"; mes "You are carrying too much weight to receive your reward."; mes "Please reduce your carried weight and come back again."; @@ -494,8 +494,8 @@ dew_in01,15,49,4 script Tribal Chief Paiko#dew 4_M_DEWZATICHIEF,{ mes "Made with our tribe's secret marinade try the ^006400Satay^000000."; mes "It was made with all our heart, especially for you, but don't forget to share it with friends."; dew_legend = 17; - getitem 18520,1; //Jaty_C - getitem 11533,5; //Satay + getitem Jaty_C,1; + getitem Satay,5; completequest 9165; erasequest 9165; next; @@ -540,7 +540,7 @@ dew_fild01,78,288,6 script Jaty Tribe Warrior#dew 4_M_DEWZATIMAN,{ mes "[Jaty Tribe Warrior]"; mes "We revere strength and bravery."; mes "We are ^FF0000Jaty^000000 Tribe."; - if (dew_legend != 9 || !countitem(11533)) + if (dew_legend != 9 || !countitem(Satay)) close; next; mes "[Jaty Tribe Warrior]"; @@ -559,7 +559,7 @@ dew_fild01,78,288,6 script Jaty Tribe Warrior#dew 4_M_DEWZATIMAN,{ mes "Also, thank you for the ^006400Satay^000000"; mes "My mouth is already watering thank you."; mes "There is something I would like to share with you regarding our tribe."; - delitem 11533,1; //Satay + delitem Satay,1; dew_legend = 10; changequest 9158,9159; next; @@ -577,7 +577,7 @@ dew_fild01,78,288,6 script Jaty Tribe Warrior#dew 4_M_DEWZATIMAN,{ dew_fild01,185,300,6 script Tribe Manager#dew 4_M_DEWZATIMAN,{ mes "[Tribe Manager]"; mes "Keeping our culture and tradition is very important."; - if (dew_legend != 11 || !countitem(11533)) { + if (dew_legend != 11 || !countitem(Satay)) { if (dew_legend < 11) mes "Although it is a little boring..."; close; @@ -600,7 +600,7 @@ dew_fild01,185,300,6 script Tribe Manager#dew 4_M_DEWZATIMAN,{ mes "Thank you for the meal."; mes "Please give my regards"; mes "to our Tribe Leader."; - delitem 11533,1; //Satay + delitem Satay,1; dew_legend = 12; changequest 9160,9161; next; @@ -633,7 +633,7 @@ dewata,235,56,4 script Gatekeeper of Krakatau#1 4_M_DEWOLDMAN,{ mes "a very dangerous area"; mes "I cannot allow anyone to go in there."; next; - if (dew_legend == 13 && countitem(11533)) + if (dew_legend == 13 && countitem(Satay)) .@menu$ = ":^0000FFTribal Chief Paiko^000000"; switch(select("Allow me through:I don't want to go in"+.@menu$)) { case 1: @@ -670,7 +670,7 @@ dewata,235,56,4 script Gatekeeper of Krakatau#1 4_M_DEWOLDMAN,{ mes "Of course, it's our ^006400Satay^000000!"; mes "I was slightly hungry"; mes "so this should fill me up."; - delitem 11533,1; //Satay + delitem Satay,1; dew_legend = 14; changequest 9162,9163; next; @@ -717,7 +717,7 @@ dew_dun01,292,164,4 script Gatekeeper of Krakatau#2 4_M_DEWZATIMAN,{ dewata,78,192,6 script Borobudur Temple Manager 4_M_DEWMAN,{ mes "[Borobudur Temple Manager]"; mes "The weather today is so beautiful."; - if (dew_legend != 15 || !countitem(11533)) + if (dew_legend != 15 || !countitem(Satay)) close; next; mes "[Borobudur Temple Manager]"; @@ -736,7 +736,7 @@ dewata,78,192,6 script Borobudur Temple Manager 4_M_DEWMAN,{ mes "[Borobudur Temple Manager]"; mes "Good~~ This is the same taste I remember."; mes "To give my thanks I will pass along a story that may interest you"; - delitem 11533,1; //Satay + delitem Satay,1; dew_legend = 16; changequest 9164,9165; next; @@ -763,7 +763,7 @@ dewata,78,192,6 script Borobudur Temple Manager 4_M_DEWMAN,{ //== Help Out the Old Man :: dewata_drink ================== dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 5000) { if (dew_drink) { mes "[Memo]"; mes "Why are you carrying so much? Doesn't that hurt your back?"; @@ -915,7 +915,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{ mes "If it is not, wait there and bring ^FF000030 bottles of oil^000000 to me."; close; } else if (dew_drink == 7) { - if (countitem(6401) < 30) { + if (countitem(Palm_O) < 30) { mes "[Memo]"; mes "Oh, didn't I tell you to bring 30 bottles of oil? Did you forget?"; next; @@ -928,7 +928,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{ next; mes "[Memo]"; mes "Excuse me, but I have an urgent matter to attend to. Can you wait for a while and talk to me when I'm done?"; - delitem 6401,30; //Palm_O + delitem Palm_O,30; changequest 5042,5043; dew_drink = 8; close; @@ -980,7 +980,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{ changequest 5043,5044; dew_drink = 10; getexp 50000,10000; - getitem 617,1; //Old_Violet_Box + getitem Old_Violet_Box,1; next; mes "[Memo]"; mes "Will you help me with my work from time to time?"; @@ -1023,7 +1023,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{ else setarray .@i[0],20,5051,3; - if (countitem(6401) < .@i[0]) { + if (countitem(Palm_O) < .@i[0]) { mes "[Memo]"; mes "You haven't brought enough oil."; next; @@ -1038,10 +1038,10 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{ next; mes "[Memo]"; mes "You must've had a hard time bringing the oil so here take this drink."; - delitem 6401,.@i[0]; //Palm_O + delitem Palm_O,.@i[0]; erasequest .@i[1]; setquest 5044; - getitem 11534,.@i[2]; //Coco_Juice + getitem Coco_Juice,.@i[2]; next; switch(rand(4)) { case 0: @@ -1089,7 +1089,7 @@ dewata,109,262,4 script Memo#dew_drink 4_M_DEWOLDMAN,{ } dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 5000) { mes "[Lero]"; mes "You're carrying too many things..."; close; @@ -1194,7 +1194,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ mes "Although he is lazy and rather careless, he is the best worker."; close; } else if (questprogress(5039)) { - if (countitem(6402) < 60) { + if (countitem(Oil_Palm_F) < 60) { mes "[Lero]"; mes "Did you gather the nuts already?"; next; @@ -1217,7 +1217,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ emotion e_sry; mes "[Lero]"; mes "It takes some time, so go back to Mr. Memo and tell him the situation. Also tell him that I'm sorry for the delay."; - delitem 6402,60; //Oil_Palm_F + delitem Oil_Palm_F,60; dew_drink = 5; changequest 5039,5040; close; @@ -1227,7 +1227,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ mes "It takes some time, so go back to Mr. Memo and tell him the situation. Also tell him that I'm sorry for the delay."; close; } else if (dew_drink == 6) { - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 15000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 15000) { mes "[Lero]"; mes "You are carrying too much right now to continue."; close; @@ -1243,10 +1243,10 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ mes "Oh, tell Mr. Memo that I'm sorry for the late delivery, and explain that it wasn't my fault."; changequest 5041,5042; dew_drink = 7; - getitem 6401,30; //Palm_O + getitem Palm_O,30; close; } else if (dew_drink == 7) { - if (questprogress(5042) && countitem(6401) > 29) { + if (questprogress(5042) && countitem(Palm_O) > 29) { mes "[Lero]"; mes "It is heavier than you might think, so be careful when carrying it."; next; @@ -1255,8 +1255,8 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ mes "Oh, tell Mr. Memo that I'm sorry for the late delivery, and explain that it wasn't my fault."; close; } else { - .@num = 30 - countitem(6401); - if (checkweight(6401,.@num) == 0) { + .@num = 30 - countitem(Palm_O); + if (checkweight(Palm_O,.@num) == 0) { mes "[Lero]"; mes "You are carrying too much right now to continue."; close; @@ -1268,7 +1268,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ emotion e_an; mes "[Lero]"; mes "This is the palm tree oil which was in short supply. Be careful pease. It was really hard to get this..."; - getitem 6401,.@num; //Palm_O + getitem Palm_O,.@num; close; } } else if (dew_drink == 8) { @@ -1313,12 +1313,12 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ else setarray .@i[0],40,5050,20,10000; - if (countitem(6402) < .@i[0]) { + if (countitem(Oil_Palm_F) < .@i[0]) { mes "[Lero]"; mes "Once you bring the "+.@i[0]+" pieces of oil palm nuts, Mr. Memo will exchange them with oil."; close; } - if (checkweight(1201,1) == 0 || MaxWeight - Weight < .@i[3]) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < .@i[3]) { mes "[Lero]"; mes "You're carrying too much right now to continue."; close; @@ -1329,8 +1329,8 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ mes "[Lero]"; mes "Exactly "+.@i[0]+" pieces of oil palm nuts. Let you exchange them with oil right now."; changequest .@i[1], .@i[1]+1; - delitem 6402,.@i[0]; //Oil_Palm_F - getitem 6401,.@i[2]; //Palm_O + delitem Oil_Palm_F,.@i[0]; + getitem Palm_O,.@i[2]; next; mes "[Lero]"; mes "As I told you before, it is heavier than you might think, so be careful when carrying this."; @@ -1349,7 +1349,7 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ } dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) { if (dew_drink > 0) { mes "[Poby]"; mes "Why are you carrying so much?"; @@ -1411,7 +1411,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ close; } else if (dew_drink == 4) { if (questprogress(5039)) { - if (countitem(6402) > 59) { // Oil_Palm_F + if (countitem(Oil_Palm_F) > 59) { // Oil_Palm_F mes "[Poby]"; mes "You got all the fruits. Bring them to Mr. Lero."; close; @@ -1466,19 +1466,19 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ else if (questprogress(5051)) .@count = 20; if (.@count) { - if (countitem(6401) >= .@count) { + if (countitem(Palm_O) >= .@count) { // Custom translation mes "[Poby]"; mes "Good work! Be careful while delivering them~"; close; } - .@new_count = .@count-countitem(6401); + .@new_count = .@count-countitem(Palm_O); mes "- You explain the situation. -"; next; mes "[Poby]"; mes "Right... I owed Memo's grandfather. Wait, I hid some oil around here."; next; - if (checkweight(6401,.@new_count) == 0) { + if (checkweight(Palm_O,.@new_count) == 0) { mes "[Poby]"; mes "I have some, but you seem to have too much stuff with you."; close; @@ -1487,7 +1487,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ next; mes "[Poby]"; mes "Ah! Here is another one. Take care not to lose it again. And keep it a secret from Mr. Lero."; - getitem 6401,.@new_count; //Palm_O + getitem Palm_O,.@new_count; next; mes "[Poby]"; mes "Please~ "+strcharinfo(0)+"."; @@ -1515,7 +1515,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ } - script ::DewataPalm -1,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 5000) { mes "You are carrying too much."; close; } @@ -1528,7 +1528,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ mes "There's a palm tree"; mes "facing the cool wind."; close; - } else if (countitem(6402) >= .@count) { + } else if (countitem(Oil_Palm_F) >= .@count) { mes "The palm tree denies"; mes "your greedy hands."; close; @@ -1564,17 +1564,17 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ case 2: case 3: mes "a ^FF0000stone^000000 falls out."; - getitem 7049,1; //Stone + getitem Stone,1; break; case 6: case 7: mes "a ^FF0000Great Leaf^000000 falls out."; - getitem 7198,1; //Great_Leaf + getitem Great_Leaf,1; break; case 8: case 9: mes "a ^FF0000Worm Peeling^000000 falls out."; - getitem 955,1; //Worm_Peelings + getitem Worm_Peelings,1; break; case 4: case 5: @@ -1582,7 +1582,7 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ case 12: case 13: mes "an ^0000FFOil Palm Fruit^000000 falls out."; - getitem 6402,1; //Oil_Palm_F + getitem Oil_Palm_F,1; break; case 14: case 16: @@ -1602,16 +1602,16 @@ dew_fild01,259,48,4 script Poby#dew_drink 4_M_DEWBOY,{ } case 10: case 17: - if (countitem(6402) <= .@count-5) { + if (countitem(Oil_Palm_F) <= .@count-5) { mes "tons of ^0000FFOil Palm Fruit^000000 crashes down from the tree."; - getitem 6402,1; //Oil_Palm_F - getitem 6402,1; //Oil_Palm_F - getitem 6402,1; //Oil_Palm_F - getitem 6402,1; //Oil_Palm_F - getitem 6402,1; //Oil_Palm_F + getitem Oil_Palm_F,1; + getitem Oil_Palm_F,1; + getitem Oil_Palm_F,1; + getitem Oil_Palm_F,1; + getitem Oil_Palm_F,1; } else { mes "an ^0000FFOil Palm Fruit^000000 falls out."; - getitem 6402,1; //Oil_Palm_F + getitem Oil_Palm_F,1; } break; default: @@ -1683,7 +1683,7 @@ dew_fild01,209,201,0 duplicate(DewataPalm) Palm Tree#drink40 CLEAR_NPC //== Traditional Weapon Quest :: dewata_weapon ============= dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 10000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 10000) { mes "- Hold it right there!! -"; mes "- You're carrying too many items and don't have enough inventory space to receive any rewards. -"; mes "- Please make more inventory space available and come back to take this challenge. -"; @@ -1888,7 +1888,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ mes "Oh! And Comodo Dragon is a very powerful monster, so please be careful."; close; } else if (dew_weapon == 3) { - if (countitem(6403) > 99) { + if (countitem(Comodo_L) > 99) { mes "[Gatti]"; mes "By the looks of your walk, you must have brought me 100 Comodo Leather. Hand it over to me."; delitem 6403,100; @@ -1897,7 +1897,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ next; mes "- Gatti takes the Comodo Leather from you. -"; close; - } else if (countitem(6403)) { + } else if (countitem(Comodo_L)) { mes "[Gatti]"; mes "So, that is the Comodo Leather. But not enough."; next; @@ -1969,7 +1969,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ mes "I'll make you a best weapon ever."; setquest 5054; dew_weapon = 6; - getitem 6404,1; //Caress_H + getitem Caress_H,1; next; mes "[Gatti]"; mes "Oh! I almost forgot. Don't forget to bring the hilt that I just made you."; @@ -1986,7 +1986,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ mes "[Gatti]"; mes ".... .... ...."; next; - if (countitem(6403) < 100 || countitem(999) < 20 || countitem(984) < 10 || countitem(6404) < 1) { + if (countitem(Comodo_L) < 100 || countitem(Steel) < 20 || countitem(Oridecon) < 10 || countitem(Caress_H) < 1) { mes "[Gatti]"; mes "Hmm... I need more of those. If my ship didn't get wrecked, I could made it on my own, but..."; next; @@ -2016,11 +2016,11 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ mes "Now, I learned how to make the weapon, ask me any time if you need it."; erasequest 5054; dew_weapon = 7; - delitem 6403,100; //Comodo_L - delitem 999,20; //Steel - delitem 984,10; //Oridecon - delitem 6404,1; //Caress_H - getitem 13067,1; //Caress + delitem Comodo_L,100; + delitem Steel,20; + delitem Oridecon,10; + delitem Caress_H,1; + getitem Caress,1; close; } else if (dew_weapon >= 7) { mes "[Gatti]"; @@ -2034,8 +2034,8 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ close; case 2: disable_items; - if (countitem(6404)) { - if (countitem(6403) < 70 || countitem(984) < 10 || countitem(999) < 20 || countitem(6404) < 1) { + if (countitem(Caress_H)) { + if (countitem(Comodo_L) < 70 || countitem(Oridecon) < 10 || countitem(Steel) < 20 || countitem(Caress_H) < 1) { mes "[Gatti]"; mes "You only have a Hilt. You'll need to bring me 10 Oridecon, 20 Steel, and 70 Comodo Leather."; next; @@ -2052,14 +2052,14 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ next; mes "[Gatti]"; mes "Here is the Caress! Ask me any time."; - delitem 6403,70; //Comodo_L - delitem 999,20; //Steel - delitem 984,10; //Oridecon - delitem 6404,1; //Caress_H - getitem 13067,1; //Caress + delitem Comodo_L,70; + delitem Steel,20; + delitem Oridecon,10; + delitem Caress_H,1; + getitem Caress,1; close; } else { - if (countitem(6403) < 50 || countitem(7201) < 1) { + if (countitem(Comodo_L) < 50 || countitem(Log) < 1) { mes "[Gatti]"; mes "You want me to make one more Caress for you? In that case I need a Hilt. 50 Comodo Leather, and 1 Log. These are what I need to make a Hilt."; close; @@ -2072,9 +2072,9 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ next; mes "[Gatti]"; mes "Here you go. I can make a Caress if you bring me 10 Oridecon, 20 Steel, and 70 Comodo Leather."; - delitem 6403,50; //Comodo_L - delitem 7201,1; //Log - getitem 6404,1; //Caress_H + delitem Comodo_L,50; + delitem Log,1; + getitem Caress_H,1; close; } case 3: @@ -2108,7 +2108,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ break; } - if (countitem(13067) < 1 || Zeny < 100000) { + if (countitem(Caress) < 1 || Zeny < 100000) { mes "[Gatti]"; mes "You don't have all the materials. It's impossible to reinforce if you don't have them all. If you want to reinforce, bring 100,000 zeny and 1 Caress."; close; @@ -2219,7 +2219,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{ else if (.@j < 3950) .@s4 = 4754; // LUK + 5 else .@s4 = 0; - delitem 13067,1; //Caress + delitem Caress,1; if (.@s3 == 0 && .@s4 == 0) { mes "[Gatti]"; mes "Oh my~~ Almost succeeded... But failed. Sorry, sorry..."; diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt index 3d78de85b..1e8811752 100644 --- a/npc/re/quests/quests_dicastes.txt +++ b/npc/re/quests/quests_dicastes.txt @@ -113,7 +113,7 @@ dic_dun01,266,113,5 script Curious Sapha#ep13_3_ 4_MAN_BENKUNI,{ mes "I might be able to use this perfume's reaction to Scarabas and make progress in research."; close; case 2: - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "[Curious Sapha]"; mes "You don't seem to have enough space."; close; @@ -152,7 +152,7 @@ dic_dun01,266,113,5 script Curious Sapha#ep13_3_ 4_MAN_BENKUNI,{ close; } Zeny -= .@deal; - getitem 6437,.@input; //Scaraba_Perfume + getitem Scaraba_Perfume,.@input; mes "[Curious Sapha]"; mes "Here you go. Scaraba might flock around you so don't use it near Scaraba Hall."; close; @@ -194,8 +194,8 @@ sec_in02,16,43,5 script Scaraba Dungeon Entrance 4_MAN_BENKUNI,{ mes "You will be able to go through if the password is correct."; if (callfunc("F_GM_NPC",1854,0) == 1) { ep13_3_secret = 6; - getitem 2782,1; //Ring_Of_Wise_King - getitem 6437,2; //Scaraba_Perfume + getitem Ring_Of_Wise_King,1; + getitem Scaraba_Perfume,2; mes "Setting Complete"; } else mes "Wrong Password"; @@ -279,7 +279,7 @@ dic_dun01,284,102,5 script Dirty Vigilante#ep13_3 4_MAN_GALTUN,{ mes "Those Scaraba can snatch you away!"; close; } - if (countitem(6437)) { + if (countitem(Scaraba_Perfume)) { mes "[Vigilante]"; mes "Do you need something from the cave?"; next; @@ -289,13 +289,13 @@ dic_dun01,284,102,5 script Dirty Vigilante#ep13_3 4_MAN_GALTUN,{ mes "Be careful. The smell from the Scaraba Secretion was picked up by other Scarabas."; next; if (select("Enter after spraying perfume.:Do not enter because it's dangerous.") == 1) { - if (!countitem(6437)) { + if (!countitem(Scaraba_Perfume)) { mes "- Your Scaraba Perfume disappeared. -"; close; } mes "[Vigilante]"; mes "Okay. Then good luck to you. Be careful."; - delitem 6437,1; //Scaraba_Perfume + delitem Scaraba_Perfume,1; close2; warp "dic_dun03",101,142; end; @@ -493,7 +493,7 @@ function script que_dic { } dic_in01,48,263,5 script Hunting Dept. 1 Manager 4_MAN_BENKUNI,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -563,7 +563,7 @@ dic_in01,48,263,5 script Hunting Dept. 1 Manager 4_MAN_BENKUNI,{ } dic_in01,51,266,6 script Hunting Dept. 2 Manager 4_MAN_BENKUNI,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -632,7 +632,7 @@ dic_in01,51,266,6 script Hunting Dept. 2 Manager 4_MAN_BENKUNI,{ } dic_in01,51,270,7 script Supply Dept. 1 Manager 4_MAN_BENKUNI,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -703,7 +703,7 @@ dic_in01,51,270,7 script Supply Dept. 1 Manager 4_MAN_BENKUNI,{ } dic_in01,48,273,1 script Supply Dept. 2 Manager 4_MAN_BENKUNI,{ - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -770,7 +770,7 @@ dic_in01,48,273,1 script Supply Dept. 2 Manager 4_MAN_BENKUNI,{ } dic_in01,43,273,1 script Transport Dept. 1 Mgr 4_MAN_BENKUNI,{ - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -844,7 +844,7 @@ dic_in01,43,273,1 script Transport Dept. 1 Mgr 4_MAN_BENKUNI,{ } dic_in01,40,270,2 script Transport Dept. 2 Mgr 4_MAN_BENKUNI,{ - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -912,7 +912,7 @@ dic_in01,40,270,2 script Transport Dept. 2 Mgr 4_MAN_BENKUNI,{ } dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{ - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "You have too many items in your inventory."; close; } @@ -942,7 +942,7 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{ else if (.@map_hi == 3) mes "This is the very place where Ancient Sapha forefathers created history"; else mes "The Archive room holds transcendent knowledge beyond that of Midgard and Asgard"; next; - if (countitem(6308) > 29) { + if (countitem(Unidentified_Relic) > 29) { mes "[Papyrus]"; mes "Oh... You've brought back plenty of unknown relics"; next; @@ -956,11 +956,11 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{ } mes "[Papyrus]"; mes "Ok here's your 11 Sapha Certifications."; - delitem 6308,30; //Unidentified_Relic - getitem 6304,11; //Sapa_Feat_Cert + delitem Unidentified_Relic,30; + getitem Sapa_Feat_Cert,11; close; } - if (countitem(6308) > 2) { + if (countitem(Unidentified_Relic) > 2) { mes "[Papyrus]"; mes "Wow~ "; mes "You've found an Unknown Relic."; @@ -973,8 +973,8 @@ dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{ } mes "[Papyrus]"; mes "Ok here's your 1 Sapha Certifications."; - delitem 6308,3; //Unidentified_Relic - getitem 6304,1; //Sapa_Feat_Cert + delitem Unidentified_Relic,3; + getitem Sapa_Feat_Cert,1; close; } mes "[Papyrus]"; @@ -1142,7 +1142,7 @@ function script unknown_d { next; mes "In addition, you've obtained an unknown relic to report back to the Saphas."; specialeffect2 EF_STEAL; - getitem 6308,1; //Unidentified_Relic + getitem Unidentified_Relic,1; } close; } @@ -1295,12 +1295,12 @@ dic_in01,263,193,3 script Diel Guard#ep133_20 4_MAN_GALTUN,{ mes "He is waiting inside."; mes "Please go in."; } - else if (countitem(6304) > 0) { + else if (countitem(Sapa_Feat_Cert) > 0) { mes "[Diel Guard]"; mes "Are you here to meet Ahat?"; mes "You are on the list."; mes "Please go in."; - delitem 6304,1; //Sapa_Feat_Cert + delitem Sapa_Feat_Cert,1; } else { mes "[Diel Guard]"; @@ -1407,15 +1407,15 @@ dic_in01,294,276,5 script Secret Adjutant#ep133_2 4_M_CATMAN2,{ close2; } else if (ep13_3_secret == 17) { - if (countitem(6306) > 9 && countitem(6305) > 9 && countitem(6307) > 9) { + if (countitem(Solid_Bloodstain) > 9 && countitem(Frozen_Skin_Piece) > 9 && countitem(Suspicious_Magic_Stone) > 9) { mes "[Cheshire]"; mes "..... ..you"; mes "Are useful, aren't you?"; mes "That will be all for today."; mes "We will need to work little by little so we don't draw attention."; - delitem 6306,10; //Solid_Bloodstain - delitem 6305,10; //Frozen_Skin_Piece - delitem 6307,10; //Suspicious_Magic_Stone + delitem Solid_Bloodstain,10; + delitem Frozen_Skin_Piece,10; + delitem Suspicious_Magic_Stone,10; ep13_3_secret = 18; erasequest 7199; setquest 7200; @@ -1441,7 +1441,7 @@ dic_in01,294,276,5 script Secret Adjutant#ep133_2 4_M_CATMAN2,{ } else { if (ep13_3_ahtdayq == 1) { - if ((countitem(6306) > 9) && (countitem(6305) > 9) && (countitem(6307) > 9)) { + if ((countitem(Solid_Bloodstain) > 9) && (countitem(Frozen_Skin_Piece) > 9) && (countitem(Suspicious_Magic_Stone) > 9)) { mes "[Cheshire]"; mes "Ok. Confirmed."; mes "Good."; @@ -1452,11 +1452,11 @@ dic_in01,294,276,5 script Secret Adjutant#ep133_2 4_M_CATMAN2,{ mes "We will do this again tomorrow."; mes "Ahat seems to trust you very much."; mes "Let's do are best."; - delitem 6306,10; //Solid_Bloodstain - delitem 6305,10; //Frozen_Skin_Piece - delitem 6307,10; //Suspicious_Magic_Stone + delitem Solid_Bloodstain,10; + delitem Frozen_Skin_Piece,10; + delitem Suspicious_Magic_Stone,10; ep13_3_ahtdayq = 2; - getitem 6304,1; //Sapa_Feat_Cert + getitem Sapa_Feat_Cert,1; getexp 70000,0; getexp 0,30000; erasequest 7201; @@ -1783,7 +1783,7 @@ dic_in01,300,280,5 script Minister Ahat#ep133_21 4_HUMAN_GERUTOO,{ mes "And this is something to reward you for your deeds."; mes "Nothing much but I hope you like it."; ep13_3_secret = 19; - getitem 2790,1; //Bradium_Brooch + getitem Bradium_Brooch,1; close2; } else { @@ -2322,7 +2322,7 @@ dic_in01,158,188,3 script Jarute HesLanta#ep133_2 4_MAN_JERUTOO,{ } dicastes01,223,190,1 script Calyon#pa8029 4_MAN_NITT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -2495,7 +2495,7 @@ dicastes01,223,190,1 script Calyon#pa8029 4_MAN_NITT,{ } dicastes01,211,178,2 script Moltuka#pa0829 4_MAN_NITT,{ - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -2719,7 +2719,7 @@ dicastes01,211,178,2 script Moltuka#pa0829 4_MAN_NITT,{ } dicastes01,175,217,5 script Kalipo#pa0829 4_MAN_NITT,{ - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -2861,7 +2861,7 @@ dicastes01,175,217,5 script Kalipo#pa0829 4_MAN_NITT,{ } dicastes01,187,230,5 script Laponte#pa0829 4_MAN_NITT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -3032,7 +3032,7 @@ dicastes01,187,230,5 script Laponte#pa0829 4_MAN_NITT,{ } dicastes01,208,230,3 script Pura#pa0829 4_MAN_NITT,{ - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -3223,7 +3223,7 @@ dicastes01,208,230,3 script Pura#pa0829 4_MAN_NITT,{ } dicastes01,225,211,3 script Tragis#pa0829 4_MAN_NITT,{ - if (!checkweight(1201,1)) { + if (!checkweight(Knife,1)) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; } @@ -3394,7 +3394,7 @@ dicastes01,225,211,3 script Tragis#pa0829 4_MAN_NITT,{ //== Doha's Secret Orders ================================== mid_campin,168,170,3 script Inspector Doha#ep133 1_M_ORIENT01,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) { mes "- You can too many items to proceed with the quest. -"; close; } @@ -3608,7 +3608,7 @@ mid_campin,168,170,3 script Inspector Doha#ep133 1_M_ORIENT01,{ close; } else if (ep13_3_secret == 22) { - if (countitem(6306) && countitem(6305) && countitem(6307)) { + if (countitem(Solid_Bloodstain) && countitem(Frozen_Skin_Piece) && countitem(Suspicious_Magic_Stone)) { mes "[Doha]"; mes "How is the investigation going?"; mes "Do you have any significant status?"; @@ -3637,11 +3637,11 @@ mid_campin,168,170,3 script Inspector Doha#ep133 1_M_ORIENT01,{ mes "Please have this."; mes "This is a reward for your services up to now."; mes "You deserve this for the hardship you are going through in another world."; - delitem 6306,1; //Solid_Bloodstain - delitem 6305,1; //Frozen_Skin_Piece - delitem 6307,1; //Suspicious_Magic_Stone + delitem Solid_Bloodstain,1; + delitem Frozen_Skin_Piece,1; + delitem Suspicious_Magic_Stone,1; ep13_3_secret = 23; - getitem 2553,1; //Dragon_Manteau + getitem Dragon_Manteau,1; erasequest 7202; completequest 7203; next; @@ -4647,7 +4647,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{ mes "Give an Exploit certification of Sapha to BK."; close; } - if (countitem(6304)) { + if (countitem(Sapa_Feat_Cert)) { mes "[BK]"; mes "Haha.. good, good."; mes "I don't know anything outside of our race"; @@ -4657,7 +4657,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{ mes "I even saw him meet the ^4d4dffnew minister^000000 alone."; mes "Hu hu..."; mes "Satisfied?"; - delitem 6304,1; //Sapa_Feat_Cert + delitem Sapa_Feat_Cert,1; ep13_3_secret = 7; next; mes "- BK says this and takes the exploit certification out of your hand."; @@ -4703,7 +4703,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{ mes "I have nothing to say if you don't give me a certification."; close; } - if (!countitem(6304)) { + if (!countitem(Sapa_Feat_Cert)) { mes "[BK]"; mes "I have nothing to say if you don't give me a certification."; close; @@ -4715,7 +4715,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{ mes "[BK]"; mes "The new minister was picked up ^4d4dffnear the crack^000000."; mes "He must be an alien!"; - delitem 6304,1; //Sapa_Feat_Cert + delitem Sapa_Feat_Cert,1; ep13_3_secret = 8; next; select("What do you think so?"); @@ -4738,7 +4738,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{ close; } } - if (countitem(6304)) { + if (countitem(Sapa_Feat_Cert)) { mes "[BK]"; mes "Because he isn't Sapha!"; next; @@ -4756,7 +4756,7 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{ mes "[BK]"; mes "Well, I don't understand why because all Saphas"; mes "are beautiful."; - delitem 6304,1; //Sapa_Feat_Cert + delitem Sapa_Feat_Cert,1; ep13_3_secret = 9; changequest 7191,7192; next; @@ -5089,7 +5089,7 @@ dic_in01,165,104,0 script Frede#13_3_in 4_MAN_PIOM,{ mes "The cats outside gave it to me. It doesn't do much good for Saphas but I heard it's suppose to help you humans."; ep13_3_bra = 2; setquest 11171; - getitem 513,1; //Banana + getitem Banana,1; close; } else if (ep13_3_bra == 2) { @@ -5301,7 +5301,7 @@ dic_in01,165,104,0 script Frede#13_3_in 4_MAN_PIOM,{ close; } else if (ep13_3_bra == 8) { - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "[Frede]"; mes "You have too many kinds of items."; mes "Please return after reducing the number of items."; @@ -5336,7 +5336,7 @@ dic_in01,165,104,0 script Frede#13_3_in 4_MAN_PIOM,{ mes "We may be from different races but we can be great friends."; completequest 11176; ep13_3_bra = 9; - getitem 2788,1; //Bradium_Earing + getitem Bradium_Earing,1; for (.@i = 0; .@i < .@size; ++.@i) erasequest .@quest_id[.@i]; close; @@ -6032,7 +6032,7 @@ dic_in01,349,129,5 script Bouy#13_3 4_MAN_BENKUNI,{ close; } else if (ep13_3_bra == 6) { - if (countitem(6319) > 29) { + if (countitem(Small_Bradium) > 29) { mes "[Bouy]"; mes "You've brought back the Bradium."; mes "I've been waiting for the Galtens to return because I'm not accustomed to battle since I'm Venknick. Thank you very much."; @@ -6042,7 +6042,7 @@ dic_in01,349,129,5 script Bouy#13_3 4_MAN_BENKUNI,{ next; mes "[Bouy]"; mes "Please go rest while I get to work."; - delitem 6319,30; //Small_Bradium + delitem Small_Bradium,30; changequest 11174,11175; ep13_3_bra = 7; close; @@ -6801,7 +6801,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "You can use it to return to El Dicastes whenever you wish."; next; ep13_3_invite = 6; - getitem 2844,1; //El_Dicastes_Light + getitem El_Dicastes_Light,1; completequest 7184; mes "[Clerk Rhawyne]"; mes "There is a special place for humans located beneath the residential area of Pioms."; @@ -6827,7 +6827,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "Ravail cannot be met in person even with exploit certifications."; next; if (select("Ahat:Another minister") == 1) { - if (countitem(6304) > 2) { + if (countitem(Sapa_Feat_Cert) > 2) { mes "[Clerk Rhawyne]"; mes "You've really collected 3 exploit certification of Sapha already."; mes "Alright. I will send a request."; @@ -6839,7 +6839,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "[Clerk Rhawyne]"; mes "It is a separate elevator that leads to the high minister's office"; mes "You will be guided in front of the office."; - delitem 6304,3; //Sapa_Feat_Cert + delitem Sapa_Feat_Cert,3; ep13_3_secret = 13; changequest 7197,7198; close; @@ -6979,7 +6979,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "Are you sure you want to do this?"; next; if(select("No, let me think about it.:Take my Light of El Dicastes.") == 2) { - if (countitem(2844) == 0 || countitem(6304) < 6) { + if (countitem(El_Dicastes_Light) == 0 || countitem(Sapa_Feat_Cert) < 6) { mes "[Kareka]"; mes "You need to bring the Light of El Dicastes and 6 Sapha Certifications!"; mes "Don't try to cheat me!"; @@ -6991,14 +6991,14 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "Haaap--!"; specialeffect2 EF_REPAIRWEAPON; progressbar "ffff00",3; - delitem 6304,6; //Sapa_Feat_Cert - delitem 2844,1; //El_Dicastes_Light - getitem 2844,1; //El_Dicastes_Light + delitem Sapa_Feat_Cert,6; + delitem El_Dicastes_Light,1; + getitem El_Dicastes_Light,1; ep13_3_ring2 = 0; } close; } - if (countitem(6304) < 1) { + if (countitem(Sapa_Feat_Cert) < 1) { mes "[Kareka]"; mes "The Exploit Certifications of Sapha that you collect by helping throughout the city has other uses besides meeting the minister."; next; @@ -7026,7 +7026,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "But of course, since this is adding spells on top of its original magic, I cannot guarantee that you will get what you want on one try."; close; } - if (countitem(2844) < 1) { + if (countitem(El_Dicastes_Light) < 1) { mes "[Kareka]"; mes "Either you are not wearing or don't have the equipment to upgrade on you."; close; @@ -7056,7 +7056,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ else mes "Hmm... This may not be important to you but."; next; mes .@n$; - if (countitem(6304) < 1) { + if (countitem(Sapa_Feat_Cert) < 1) { if (.@re$ == "Brare") { mes "Oh... no luck on Sapha Certifications?"; next; @@ -7271,7 +7271,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "Please come back again."; close; } - if (countitem(6304) < .@req) { + if (countitem(Sapa_Feat_Cert) < .@req) { mes .@n$; mes "But you don't have enough exploit certifications. You need "+.@req+" exploit certification of Sapha for the "+((.@req == 3)?"third":((.@req == 2)?"second":"first"))+" step of upgrade."; close; @@ -7382,7 +7382,7 @@ dic_in01,353,37,5 duplicate(dic_enc#main) Kareka#pa0829 4_MAN_PIOM dic_fild01,228,159,4 script Jahbong#pa0829 4_M_MERCAT2,{ mes "[Jahbong]"; - if (countitem(6304) < 1) { + if (countitem(Sapa_Feat_Cert) < 1) { mes "You haven't received a Sapha Certification yet?"; next; mes "[Jahbong]"; diff --git a/npc/re/quests/quests_malangdo.txt b/npc/re/quests/quests_malangdo.txt index a6547168c..28c99962c 100644 --- a/npc/re/quests/quests_malangdo.txt +++ b/npc/re/quests/quests_malangdo.txt @@ -44,7 +44,7 @@ //== Utility NPCs :: cat_merchant ========================== mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{ - if (MaxWeight - Weight < 100 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 100 || checkweight(Knife,1) == 0) { mes "[Investment Cat Helper]"; mes "You have a heavy load. Maybe you're a peddler? No peddlers in this area."; close; @@ -81,7 +81,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{ while(1) { switch(select("Open an account:Ask about benefits:Cancel")) { case 1: - if (countitem(12636) < 10) { + if (countitem(Malang_Sp_Can) < 10) { mes "[Investment Cat Helper]"; mes "Hmm!"; mes "I'd love to give you account for"; @@ -89,7 +89,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{ mes "advertising investers of the trader group, sorry."; close; } - delitem 12636,10; //Malang_Sp_Can + delitem Malang_Sp_Can,10; ep13_yong1 = 10; mes "[Investment Cat Helper]"; mes "Good!"; @@ -207,7 +207,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{ mes "Please check again~"; close; } - if (countitem(12636) < .@required) { + if (countitem(Malang_Sp_Can) < .@required) { mes "[Investment Cat Helper]"; mes "Ahhh!"; mes "You don't have enough cans."; @@ -215,7 +215,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{ close; } if (ep13_yong1 < 10000) { - delitem 12636,.@required; //Malang_Sp_Can + delitem Malang_Sp_Can,.@required; ep13_yong1 += .@input; mes "[Investment Cat Helper]"; mes .@input+" accounts were invested in."; @@ -229,7 +229,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{ close; } else { if (.@input + ep13_yong1 > 20000) { - delitem 12636,.@required; //Malang_Sp_Can + delitem Malang_Sp_Can,.@required; ep13_yong1 = 20000; mes "[Investment Cat Helper]"; mes "You can have 20,000 accounts max"; @@ -243,7 +243,7 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{ mes "Thank you so much~"; close; } else { - delitem 12636,.@required; //Malang_Sp_Can + delitem Malang_Sp_Can,.@required; ep13_yong1 += .@input; mes "[Investment Cat Helper]"; mes .@input+" accounts have been invested in."; @@ -304,12 +304,12 @@ mal_in02,134,31,5 script Investment Cat Helper 4_WHITETIGER,{ mes "[Investment Cat Helper]"; mes "The can donation can range from a minimum of 20 to a maximum of 10,000."; close; - } else if (countitem(12636) < .@input) { // Malang_Sp_Can + } else if (countitem(Malang_Sp_Can) < .@input) { // Malang_Sp_Can mes "[Investment Cat Helper]"; mes "Hmm? You don't have enough cans."; close; } else { - delitem 12636,.@input; //Malang_Sp_Can + delitem Malang_Sp_Can,.@input; mes "[Investment Cat Helper]"; mes "Ohh! Thank you~"; next; @@ -351,12 +351,12 @@ malangdo,184,139,4 script Storekeeper#mal 4_CAT_ADV2,{ } switch(.@i) { case 1: - if (countitem(12636) < .@cans) { + if (countitem(Malang_Sp_Can) < .@cans) { mes "[Storekeeper]"; mes "You don't have enough cans..."; close; } - delitem 12636,.@cans; //Malang_Sp_Can + delitem Malang_Sp_Can,.@cans; break; case 2: if (Zeny < .@zeny) { @@ -630,7 +630,7 @@ mal_in02,22,62,3 script Tomas#mal 4_CAT_ADMIRAL,{ mes "Then, as village chief and the admiral of the cat association, I'd like you to get along with me as well!"; ma_tomas = 100; completequest 11237; - getitem 6422,30; //Egrade_Coin + getitem Egrade_Coin,30; close2; cutin "",255; end; @@ -945,7 +945,7 @@ mal_in02,174,64,5 script Linguist Devore#mal 4_CAT_MERMASTER,{ emotion e_hlp; ma_tomas = 35; changequest 11236,11237; - getitem 6422,30; //Egrade_Coin + getitem Egrade_Coin,30; close; } else if (ma_tomas == 35) { mes "[Linguist Devore]"; @@ -1113,7 +1113,7 @@ mal_in02,179,57,1 script Geologist Mali#mal 4_CAT_ADV1,{ completequest 11224; setquest 11225; setquest 11243; - getitem 6422,20; //Egrade_Coin + getitem Egrade_Coin,20; close; } else if (ma_tomas > 99) { if (questprogress(11240) || questprogress(11241)) { @@ -1126,7 +1126,7 @@ mal_in02,179,57,1 script Geologist Mali#mal 4_CAT_ADV1,{ mes "Ah! Bob complimented you so much on your great job, mew~"; mes "Please help us next time again when you can, mew~"; changequest 11242,11243; - getitem 6422,4; //Egrade_Coin + getitem Egrade_Coin,4; close; } else { if (questprogress(11243,PLAYTIME) == 1) { @@ -1187,7 +1187,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{ mes "Are you here for voluntary service?!"; emotion e_omg; next; - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "[Bob]"; mes "Ummm... be lightened with your mind and body when doing voluntary service!"; mes "You seem to have too much stuff, so get yourself lightened~"; @@ -1239,7 +1239,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{ changequest 11221,11222; } else changequest 11240,11241; - getitem 6434,1; //Fix_Kit + getitem Fix_Kit,1; close; case 2: mes "[Bob]"; @@ -1252,7 +1252,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{ } } else if (ma_tomas == 15) { L_Quest2: - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes " - Notice !! -"; mes " - Since you have too many items - "; mes " - you cannot get the item. - "; @@ -1271,8 +1271,8 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{ mes "[Bob]"; mes "Repairing the cracks is rather simple."; mes "Anyone can do it easily with just this ^0000FFFix Kit^000000!"; - if (countitem(6434) == 0) - getitem 6434,1; //Fix_Kit + if (countitem(Fix_Kit) == 0) + getitem Fix_Kit,1; next; mes "[Bob]"; mes "Fill in the part with this mixture of gray and white clay, and fix the cracks with a stapler."; @@ -1302,8 +1302,8 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{ mes "[Bob]"; mes "You did a great job indeed!!!"; mes "I will tell Dr. Mali!"; - if (countitem(6434) > 0) - delitem 6434,1; //Fix_Kit + if (countitem(Fix_Kit) > 0) + delitem Fix_Kit,1; ma_tomas = 17; changequest 11223,11224; close; @@ -1324,7 +1324,7 @@ mal_in02,140,94,0 script Bob#mal 4_CAT_DOWN,{ - script Crack#mal0 -1,{ if (.off) end; // Official script uses a 1-second timer to disable cracks. Added to prevent abuse. if (ma_tomas == 15 || questprogress(11241)) { - if (countitem(6434) < 1) { + if (countitem(Fix_Kit) < 1) { mes "- To repair the crack -"; mes "- you need a Fix Kit. -"; close; @@ -1748,7 +1748,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{ close; } } else if (ma_tomas == 9) { - if (countitem(6435) < 30) { + if (countitem(Fresh_Fruit) < 30) { mes "[Rican]"; mes "You can get it on Malangdo Island easily. Bring me about 30."; mes "Ah! Keep the secret to my son for sure~"; @@ -1778,7 +1778,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{ mes "Then would you put it in the machine in front of me?"; close; } else if (ma_tomas == 11) { - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes " - Notice !! -"; mes " - Since you have too many items - "; mes " - you cannot get the item. - "; @@ -1810,7 +1810,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{ mes "If you see my son, please tell him to get back soon~"; mes "And this is for you to buy something delicious with, since you did hard work."; ma_tomas = 12; - getitem 6422,20; //Egrade_Coin + getitem Egrade_Coin,20; changequest 11219,11220; setquest 11239; close; @@ -1822,7 +1822,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{ close; } else if (ma_tomas > 99) { if (questprogress(11238)) { - if (countitem(6435) < 30) { + if (countitem(Fresh_Fruit) < 30) { mes "[Rican]"; mes "You need exactly 30 to get a set!"; close; @@ -1830,10 +1830,10 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{ mes "[Rican]"; mes "Very reliable!"; mes "Don't you want to do your business with Yggdrasil Berry?"; - delitem 6435,30; //Fresh_Fruit + delitem Fresh_Fruit,30; erasequest 11238; setquest 11239; - getitem 6422,5; //Egrade_Coin + getitem Egrade_Coin,5; close; } else if (questprogress(11239,PLAYTIME) == 1) { mes "[Rican]"; @@ -1879,7 +1879,7 @@ mal_in01,114,169,5 script Rican#mal 4_CAT_SAILOR4,{ mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{ if (ma_tomas == 10) { - if (countitem(6435) < 30) { + if (countitem(Fresh_Fruit) < 30) { mes "[Rican]"; mes "You need exactly 30 to get a set!"; close; @@ -1892,7 +1892,7 @@ mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{ next; mes "- The machine starts operating -"; mes "- when he presses the button. -"; - delitem 6435,30; //Fresh_Fruit + delitem Fresh_Fruit,30; ma_tomas = 11; changequest 11218,11219; close; @@ -1912,7 +1912,7 @@ mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -1920,7 +1920,7 @@ mal_in01,116,168,0 script Dry Machine#mal 2_SLOT_MACHINE,{ if (rand(1,5) == 4) { mes "- As I put my hand in the sand -"; mes "- a fresh smell comes out. -"; - getitem 6435,1; //Fresh_Fruit + getitem Fresh_Fruit,1; } else { mes "- As I put my hand in the sand -"; mes "- I feel like I'm touching -"; @@ -2224,7 +2224,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{ L_Quest: .@i = @mal_bob_q; @mal_bob_q = 0; - if (countitem(12624) < 30) { + if (countitem(Delicious_Jelly) < 30) { mes "[Biscuit]"; mes "It's not enough at all~"; mes "I need at least 30 Delicious Jelly."; @@ -2233,14 +2233,14 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{ mes "[Biscuit]"; mes "You got them well."; mes "There won't be any problem to prepare her meal."; - delitem 12624,30; //Delicious_Jelly + delitem Delicious_Jelly,30; if (.@i == 1) { ma_tomas = 27; changequest 11231,11232; } else { erasequest 11244; setquest 11245; - getitem 6422,5; //Egrade_Coin + getitem Egrade_Coin,5; } next; mes "[Biscuit]"; @@ -2314,7 +2314,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{ changequest 11232,11233; close; } else if (ma_tomas == 28) { - if (countitem(6433) && countitem(6432)) { + if (countitem(Clean_Brush) && countitem(Full_Bucket)) { mes "[Biscuit]"; mes "Oh!"; mes "You brought the tools successfully."; @@ -2323,7 +2323,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{ ma_tomas = 29; changequest 11233,11234; close; - } else if (countitem(6433) && countitem(6431)) { + } else if (countitem(Clean_Brush) && countitem(Bucket)) { mes "[Biscuit]"; mes "Oh!"; mes "You brought the tools successfully."; @@ -2354,7 +2354,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{ mes "Right, then from her left leg...!"; close; } else if (ma_tomas == 33) { - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes " - Notice !! -"; mes " - Since you have too many items - "; mes " - you cannot get the item. - "; @@ -2397,8 +2397,8 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{ ma_tomas = 34; erasequest 11235; setquest 11236; - getitem 6422,100; //Egrade_Coin - getitem 12636,20; //Malang_Sp_Can + getitem Egrade_Coin,100; + getitem Malang_Sp_Can,20; close; } else if (ma_tomas > 99) { if (questprogress(11244)) { @@ -2438,7 +2438,7 @@ mal_dun01,136,122,3 script Biscuit#mal 4_ASTER,{ mal_in02,102,94,3 script Cleaning Staff#mal 4_CAT_SAILOR1,2,2,{ OnTouch: - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes " - Notice !! -"; mes " - Since you have too many items - "; mes " - you cannot get the item. - "; @@ -2466,7 +2466,7 @@ OnTouch: mes "[Cleaning Staff]"; mes "Please give the cleaning tool back to any merchant."; mes "Thanks for coming~"; - getitem 6431,1; //Bucket + getitem Bucket,1; close; case 2: mes "[Cleaning Staff]"; @@ -2476,7 +2476,7 @@ OnTouch: mes "[Cleaning Staff]"; mes "Please give the cleaning tool back to any merchant."; mes "Thanks for coming~"; - getitem 6433,1; //Clean_Brush + getitem Clean_Brush,1; close; case 3: mes "[Cleaning Staff]"; @@ -2487,7 +2487,7 @@ OnTouch: } malangdo,246,184,0 script 1st Rate Point HIDDEN_NPC,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes " - Notice !! -"; mes " - Since you have too many items - "; mes " - you cannot get the item. - "; @@ -2503,7 +2503,7 @@ malangdo,246,184,0 script 1st Rate Point HIDDEN_NPC,{ mes " - and try this again. - "; close; } - if (countitem(6431) == 0) { + if (countitem(Bucket) == 0) { mes "- To get water -"; mes "- you need a ^0000FFBucket^000000. -"; close; @@ -2515,8 +2515,8 @@ malangdo,246,184,0 script 1st Rate Point HIDDEN_NPC,{ mes "- The bucket gets remarkably -"; mes "- heavy as water fills it up. -"; specialeffect EF_POTION8; - delitem 6431,1; //Bucket - getitem 6432,1; //Full_Bucket + delitem Bucket,1; + getitem Full_Bucket,1; close; case 2: mes "- Didn't get water. -"; @@ -2618,15 +2618,15 @@ mal_dun01,133,125,5 script Star Candy#mal 4_F_STARFISHGIRL,{ mes "- to be so "+.@str$+". -"; close; } - if (!countitem(6433) || !countitem(6432)) { + if (!countitem(Clean_Brush) || !countitem(Full_Bucket)) { mes "- You need -"; mes "- a cleaning brush -"; mes "- and a full bucket. -"; close; } mes "- Poured water on the "+.@str$+" skin. -"; - delitem 6432,1; //Full_Bucket - getitem 6431,1; //Bucket + delitem Full_Bucket,1; + getitem Bucket,1; next; if (rand(1,2) == 1) .@menu$ = "Brush.:Stop.:"; @@ -2713,7 +2713,7 @@ malangdo,190,167,7 script Portali#mal 4_CAT_SAILOR3,{ next; switch(select("Go.:Don't go.:Prices?")) { case 1: - if (countitem(12636) < 4) { + if (countitem(Malang_Sp_Can) < 4) { mes "[Portali]"; mes "Where are you going without canned food...?"; close; @@ -2754,14 +2754,14 @@ malangdo,190,167,7 script Portali#mal 4_CAT_SAILOR3,{ } end; L_Warp: - if (countitem(12636) < getarg(1)) { + if (countitem(Malang_Sp_Can) < getarg(1)) { mes "[Portali]"; mes "Where are you going without canned food...?"; close; } mes "[Portali]"; mes "Then to "+getarg(0)+"~"; - delitem 12636,getarg(1); //Malang_Sp_Can + delitem Malang_Sp_Can,getarg(1); close2; warp getarg(2),getarg(3),getarg(4); end; @@ -2773,7 +2773,7 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -2788,10 +2788,10 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{ close; } .@fish_ss1$ = "What are you doing?"; - if (countitem(6451) > 29) + if (countitem(Unknown_Fish) > 29) .@fish_ss2$ = "I caught a lot of strange fishes!"; else - .@fish_ss2$ = (30-countitem(6451))+" of ^bbbbbbUnidentified Fish are required.^000000"; + .@fish_ss2$ = (30-countitem(Unknown_Fish))+" of ^bbbbbbUnidentified Fish are required.^000000"; if (ma_tomas == 100) .@fish_ss3$ = "I met an Admiral Tomas..."; mes "[Pipielle]"; @@ -2847,9 +2847,9 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{ mes "You can get Unidentified Fish from the Pouring monsters, so please collect 30 of them."; close; case 2: - if (countitem(6451) > 29) { + if (countitem(Unknown_Fish) > 29) { //saveppl Unknown_Fish - delitem 6451,30; //Unknown_Fish + delitem Unknown_Fish,30; mes "[Pipielle]"; mes "Oh, thank you! I will take these specimens."; next; @@ -2892,7 +2892,7 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{ mes "[Pipielle]"; mes "And this is a small gift for looking after admiral Tomas."; ma_tomas = 101; - getitem 6422,200; //Egrade_Coin + getitem Egrade_Coin,200; mes "^0000ffReceived 200 E Class Coins.^000000"; close; } @@ -2900,7 +2900,7 @@ malangdo,137,200,6 script Pipielle 4_CAT_MERMASTER,{ //== Help the Bad Cats in Danger :: mal_bad_guys =========== malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Can't go next step due to having too many items. -"; close; } @@ -3010,7 +3010,7 @@ malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{ mes "lack of forbidden bad activity."; close; } else if (malang_bad_guys == 7) { - if (countitem(6426) > 29) { + if (countitem(Bad_Can) > 29) { mes "[Gobonge]"; mes "Was it from raccoon that made us pain in stomach?"; mes "Oh bad raccoon!"; @@ -3023,9 +3023,9 @@ malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{ mes "You can go now!"; erasequest 1151; malang_bad_guys = 8; - getitem 12636,20; //Malang_Sp_Can - delitem 6427,1; //Bad_Can_Sack - delitem 6426,30; //Bad_Can + getitem Malang_Sp_Can,20; + delitem Bad_Can_Sack,1; + delitem Bad_Can,30; close; } mes "[Gobonge]"; @@ -3086,7 +3086,7 @@ malangdo,175,206,3 script Gobonge#ml 4_CAT_SAILOR5,{ erasequest 1155; setquest 1152; malang_bad_guys = 13; - getitem 6422,5; //Egrade_Coin + getitem Egrade_Coin,5; close; } else if (malang_bad_guys == 13) { mes "[Gobonge]"; @@ -3290,7 +3290,7 @@ malangdo,171,163,3 script Awfully Suspious Dealer 4_MASK_SMOKEY,{ mes "I do not recommend."; close; } else if (malang_bad_guys == 6) { - if (countitem(6427) == 0) { + if (countitem(Bad_Can_Sack) == 0) { mes "[Awfully Suspious Dealer]"; mes "You searched the lounge of ship Navi?"; mes "But still nothing in hand."; @@ -3390,7 +3390,7 @@ mal_in02,184,72,3 script Gozangee#ml 4_CAT_SAILOR4,{ mal_in02,184,77,0 script #ml3 -1,2,2,{ OnTouch: - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items. -"; close; } @@ -3411,7 +3411,7 @@ OnTouch: erasequest 1149; setquest 1150; malang_bad_guys = 6; - getitem 6427,1; //Bad_Can_Sack + getitem Bad_Can_Sack,1; close; } else if (malang_bad_guys == 6) { mes "I saw a sack of bad cans."; @@ -3424,7 +3424,7 @@ OnTouch: } malangdo,125,147,3 script Patrol Leader#ml 4_CAT_SAILOR2,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Can't go next step due to having too many items. -"; close; } @@ -3557,7 +3557,7 @@ malangdo,3,1,3 script Guidance for quest#ml 4_MASK_SMOKEY,{ case 4: mes "[Helper]"; mes "Owing?"; - getitem 6426,30; //Bad_Can + getitem Bad_Can,30; close; case 5: mes "[Helper]"; @@ -3576,7 +3576,7 @@ malangdo,3,1,3 script Guidance for quest#ml 4_MASK_SMOKEY,{ //== Clean the Ship :: mal_day_qook ======================== mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -3819,7 +3819,7 @@ mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{ mes "So let me see you everyday from provided cat's ship biscuit tomorrow."; mes "You did good job. This is a token of thanks."; mal_qook = 6; - getitem 12636,30; //Malang_Sp_Can + getitem Malang_Sp_Can,30; getexp 80000,80000; setquest 7267; close; @@ -3932,7 +3932,7 @@ mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{ erasequest 7274; erasequest 7275; getexp 30000,40000; - getitem 12636,10; //Malang_Sp_Can + getitem Malang_Sp_Can,10; close; } mes "[Cleanyang]"; @@ -3961,7 +3961,7 @@ mal_in02,76,63,7 script Cleanyang 4_CAT_SAILOR1,{ } mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -3998,7 +3998,7 @@ mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{ case 2: monster "mal_in02",29,65,"Quick Dark Shadow",2209,1; } setquest 7261; - getitem 11536,1; //Cat_Hard_Biscuit + getitem Cat_Hard_Biscuit,1; next; if (questprogress(7261) && questprogress(7262) && questprogress(7263)) { mes "I guess I searched pretty enough."; @@ -4028,7 +4028,7 @@ mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{ case 2: monster "mal_in02",29,65,"Quick Dark Shadow",2209,1; } setquest 7261; - getitem 11536,1; //Cat_Hard_Biscuit + getitem Cat_Hard_Biscuit,1; close; } mes "It used to be habitat of insects because someone left cat's ship biscuit."; @@ -4040,7 +4040,7 @@ mal_in02,29,67,0 script #CaptainRoom3 CLEAR_NPC,{ } mal_in02,183,49,0 script #MeetingFloor4 CLEAR_NPC,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -4066,7 +4066,7 @@ mal_in02,183,49,0 script #MeetingFloor4 CLEAR_NPC,{ case 1: monster "mal_in02",184,50,"Quick Dark Shadow",2209,1; } setquest 7263; - getitem 11536,1; //Cat_Hard_Biscuit + getitem Cat_Hard_Biscuit,1; if (mal_qook == 1) { next; if (questprogress(7261) && questprogress(7262) && questprogress(7263)) { @@ -4087,7 +4087,7 @@ mal_in02,183,49,0 script #MeetingFloor4 CLEAR_NPC,{ } mal_in02,103,22,0 script #MalBed5 CLEAR_NPC,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -4106,7 +4106,7 @@ mal_in02,103,22,0 script #MalBed5 CLEAR_NPC,{ emotion e_omg; monster "mal_in02",102,23,"Quick Dark Shadow",2209,1; setquest 7262; - getitem 11536,1; //Cat_Hard_Biscuit + getitem Cat_Hard_Biscuit,1; if (mal_qook == 1) { next; if (questprogress(7261) && questprogress(7262) && questprogress(7263)) { @@ -4132,7 +4132,7 @@ mal_in02,103,22,0 script #MalBed5 CLEAR_NPC,{ } malangdo,141,178,0 script #Darkweed6 CLEAR_NPC,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -4151,7 +4151,7 @@ malangdo,141,178,0 script #Darkweed6 CLEAR_NPC,{ emotion e_omg; monster "malangdo",141,178,"Quick Dark Shadow",2209,1; setquest 7269; - getitem 11536,1; //Cat_Hard_Biscuit + getitem Cat_Hard_Biscuit,1; close; case 2: mes "I searched under the chair in rest area, but I didn't find any problem."; @@ -4169,7 +4169,7 @@ malangdo,141,178,0 script #Darkweed6 CLEAR_NPC,{ } malangdo,133,134,0 script Strange Pile of Sand#7 4_SOIL,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -4199,7 +4199,7 @@ malangdo,133,134,0 script Strange Pile of Sand#7 4_SOIL,{ getmapxy(.@map$,.@x,.@y,1); monster .@map$,.@x,.@y,"Quick Dark Shadow",2209,1; } else - getitem 11536,1; //Cat_Hard_Biscuit + getitem Cat_Hard_Biscuit,1; close; } } @@ -4213,7 +4213,7 @@ malangdo,133,134,0 script Strange Pile of Sand#7 4_SOIL,{ malangdo,197,237,0 duplicate(Strange Pile of Sand#7) Strange Pile of Sand#12 4_SOIL malangdo,232,131,0 script #UnderStairs8 CLEAR_NPC,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -4232,7 +4232,7 @@ malangdo,232,131,0 script #UnderStairs8 CLEAR_NPC,{ emotion e_omg; monster "malangdo",231,130,"Quick Dark Shadow",2209,1; } else - getitem 11536,1; //Cat_Hard_Biscuit + getitem Cat_Hard_Biscuit,1; close; } mes "Sometimes, someone played with pulling people's ankle under the stairs"; @@ -4247,7 +4247,7 @@ malangdo,232,131,0 script #UnderStairs8 CLEAR_NPC,{ } mal_in01,74,20,0 script #CornerTower9 CLEAR_NPC,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -4266,7 +4266,7 @@ mal_in01,74,20,0 script #CornerTower9 CLEAR_NPC,{ emotion e_omg; monster "mal_in01",73,19,"Quick Dark Shadow",2209,1; } else - getitem 11536,1; //Cat_Hard_Biscuit + getitem Cat_Hard_Biscuit,1; close; } mes "We already collected buried cat's ship biscuit."; @@ -4278,7 +4278,7 @@ mal_in01,74,20,0 script #CornerTower9 CLEAR_NPC,{ } mal_in01,159,225,0 script #CornerLocker10 CLEAR_NPC,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -4297,7 +4297,7 @@ mal_in01,159,225,0 script #CornerLocker10 CLEAR_NPC,{ emotion e_omg; monster "mal_in01",159,225,"Quick Dark Shadow",2209,1; } else - getitem 11536,1; //Cat_Hard_Biscuit + getitem Cat_Hard_Biscuit,1; close; } mes "We already collected buried cat's ship biscuit."; @@ -4309,7 +4309,7 @@ mal_in01,159,225,0 script #CornerLocker10 CLEAR_NPC,{ } mal_in01,24,72,0 script #FootholdTower11 CLEAR_NPC,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -4328,7 +4328,7 @@ mal_in01,24,72,0 script #FootholdTower11 CLEAR_NPC,{ emotion e_omg; monster "mal_in01",24,71,"Quick Dark Shadow",2209,1; } else - getitem 11536,1; //Cat_Hard_Biscuit + getitem Cat_Hard_Biscuit,1; close; } mes "There is mark that shows something used to be jammed in gap of foothold in very bottom of cat tower."; @@ -4342,7 +4342,7 @@ mal_in01,24,72,0 script #FootholdTower11 CLEAR_NPC,{ //== Help Chef Nyas :: mal_day_qook ======================== mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- You have too many items so you can't continue the quest. -"; close; } @@ -4466,7 +4466,7 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{ mes "Maybe need more time."; close; } else if (mal_qook == 4) { - if (countitem(577) >= 10 && countitem(7454) > 0) { + if (countitem(Grain) >= 10 && countitem(Plain_Sauce) > 0) { mes "[Chef Nyas]"; mes "Finally here. Wow, this land is pretty different."; mes "That is enough to process."; @@ -4474,8 +4474,8 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{ mes "[Chef Nyas]"; mes "If you are ok, I want to get these food everyday."; mes "If you don't mind, just come back tomorrow."; - delitem 577,10; //Grain - delitem 7454,1; //Plain_Sauce + delitem Grain,10; + delitem Plain_Sauce,1; mal_qook = 5; erasequest 7266; setquest 7276; @@ -4613,13 +4613,13 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{ setarray .@StartID[0],12061,12091,12041,12071,12056,12086,12051,12081,12046,12076,12066,12096,12429,12434; .@food = .@StartID[(.@i-1)/5]+((.@i-1)%5); - if (countitem(577) >= 10 && countitem(7454) > 0 && countitem(.@food) > 0) { + if (countitem(Grain) >= 10 && countitem(Plain_Sauce) > 0 && countitem(.@food) > 0) { mes "[Chef Nyas]"; mes "Great."; mes "This is that food!"; mes "It will be good reference. Well done."; - delitem 577,10; //Grain - delitem 7454,1; //Plain_Sauce + delitem Grain,10; + delitem Plain_Sauce,1; delitem .@food,1; setquest 7276; mal_food = 0; @@ -4628,7 +4628,7 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{ // Quantities grouped in 10s repeating. // [ 3, 3, 6, 6, 9, 9, 12, 12, 15, 18 ] // Last group [ 61 - 66 ] receives 25 constant. - getitem 6422, ((.@i < 61)?((.@i%10)?3*(((.@i%10)+1)/2):18):25); //Egrade_Coin + getitem Egrade_Coin, ((.@i < 61)?((.@i%10)?3*(((.@i%10)+1)/2):18):25); getexp 50000,80000; next; @@ -4656,7 +4656,7 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{ //== Play with Baby Cats :: mal_nyadventurer =============== malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) { mes "- You have too many items to proceed in this quest. -"; close; } @@ -4752,7 +4752,7 @@ malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{ mes "Rato seems to be in brown study."; close; } else if (nyadven == 13) { - if (countitem(6430) < 6) { + if (countitem(Picture_Piece) < 6) { mes "You didn't bring the pieces of the painting."; mes "Please take it with you."; close; @@ -4782,9 +4782,9 @@ malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{ mes "[Rato]"; mes "It's very kind of you to play with the kids."; mes "This is for you."; - delitem 6430,6; //Picture_Piece + delitem Picture_Piece,6; nyadven = 14; - getitem 6422,100; //Egrade_Coin + getitem Egrade_Coin,100; completequest 7259; next; mes "[Rato]"; @@ -4816,7 +4816,7 @@ malangdo,165,223,4 script Expert Cat#nya_01 4_CAT_SAILOR5,{ } malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) { mes "- You have too many items to proceed in this quest. -"; close; } @@ -4853,7 +4853,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{ next; switch(select("I have a spare Glass Bead!:Why are you guys staring at me?")) { case 1: - if (countitem(746) == 0) { + if (countitem(Glass_Bead) == 0) { mes "[Roku]"; mes "There is no glass bead."; mes "Don't lie to us."; @@ -4887,9 +4887,9 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{ mes "you would clear all Nyadventures"; mes "made by the Meow Bravery Team!"; mes "Challenge it whenever you want to!"; - delitem 746,1; //Glass_Bead + delitem Glass_Bead,1; nyadven = 2; - getitem 12636,30; //Malang_Sp_Can + getitem Malang_Sp_Can,30; close; case 2: mes "[Rosy]"; @@ -4933,7 +4933,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{ mes "Got Adventure Card from the yellow cat Charo."; mes "It seems to work if I put this card in the slot in the Beginning Compass."; nyadven = 3; - getitem 6428,1; //Bravery_Card_A + getitem Bravery_Card_A,1; changequest 7242,7243; next; mes "[Charo]"; @@ -4975,7 +4975,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{ mes "Ring the New bell!^000000"; close; } else if (nyadven == 4) { - if (countitem(6428) == 0) { + if (countitem(Bravery_Card_A) == 0) { mes "[Charo]"; mes "Where is your Adventure Card?"; mes "You should bring it with you."; @@ -5008,7 +5008,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{ mes "And this island could explode!"; mes "Oh, you might shut your eyes to the fact."; mes "Give the Adventure Card back!"; - delitem 6428,1; //Bravery_Card_A + delitem Bravery_Card_A,1; nyadven = 5; erasequest 7243; close; @@ -5023,9 +5023,9 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{ mes "It shouldn't happen that the detective misunderstands you as an enemy!"; next; mes "- Changed Adventure Card A into Adventure Card B. -"; - delitem 6428,1; //Bravery_Card_A + delitem Bravery_Card_A,1; nyadven = 6; - getitem 6429,1; //Bravery_Card_B + getitem Bravery_Card_B,1; setquest 7246; erasequest 7243; next; @@ -5051,7 +5051,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{ next; mes "- Changed Adventure Card A into Adventure Card B. -"; nyadven = 6; - getitem 6429,1; //Bravery_Card_B + getitem Bravery_Card_B,1; setquest 7246; next; mes "[Charo]"; @@ -5077,7 +5077,7 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 4_CAT_ADV2,{ mes "Let me see it quickly!"; mes "Take it out!"; next; - if (countitem(6430) < 6) { + if (countitem(Picture_Piece) < 6) { mes "[Charo]"; mes "What? You don't have it?"; mes "It can't be true."; @@ -5215,7 +5215,7 @@ malangdo,214,204,3 script [Meow Team] Rosy#nya_09 4_CAT_ADV1,{ } malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) { mes "- You have too many items to proceed in this quest. -"; close; } @@ -5245,7 +5245,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{ next; switch(select("Report results of the race.:Challenge the race.:Nothing.")) { case 1: - if (countitem(6428) == 0) { + if (countitem(Bravery_Card_A) == 0) { mes "[Roku]"; mes "Bubi, no confirmation stamps and card."; mes "You will be in trouble if you are like this."; @@ -5261,9 +5261,9 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{ mes "[Roku]"; mes "Charo likes you so much."; mes "He will be happy if you come."; - delitem 6428,1; //Bravery_Card_A + delitem Bravery_Card_A,1; nyadven02 = 29; - getitem 6422,3; //Egrade_Coin + getitem Egrade_Coin,3; getexp 20000,20000; erasequest 7244; erasequest 7245; @@ -5273,13 +5273,13 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{ mes "Failed..."; mes "...is it too difficult for you?"; mes "But the race is available only once a day."; - delitem 6428,1; //Bravery_Card_A + delitem Bravery_Card_A,1; erasequest 7244; erasequest 7245; next; switch(select("Give me one more chance!:Okay.I will try tomorrow.")) { case 1: - if (countitem(12636) == 0) { + if (countitem(Malang_Sp_Can) == 0) { mes "[Roku]"; mes "Um... Um... Well..."; mes "If you bring a Malangdo Can,"; @@ -5291,7 +5291,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{ next; switch(select("Exchange for Adventure Card A.:Stop it.")) { case 1: - if (countitem(6428)) { + if (countitem(Bravery_Card_A)) { mes "[Roku]"; mes "You have it already?"; close; @@ -5299,8 +5299,8 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{ mes "[Roku]"; mes "Here is your Adventure Card."; mes "Beginning Compass, start!"; - delitem 12636,1; //Malang_Sp_Can - getitem 6428,1; //Bravery_Card_A + delitem Malang_Sp_Can,1; + getitem Bravery_Card_A,1; nyadven02 = 0; if (questprogress(7257)) erasequest 7257; @@ -5334,7 +5334,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{ mes "[Roku]"; mes "Is this because of the machine?"; mes "Let's make void for this race."; - delitem 6428,1; //Bravery_Card_A + delitem Bravery_Card_A,1; nyadven02 = 0; erasequest 7244; erasequest 7245; @@ -5367,12 +5367,12 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{ next; switch(select("Buy Adventure Card.:Just stop it.")) { case 1: - if (countitem(6428)) { + if (countitem(Bravery_Card_A)) { mes "[Roku]"; mes "You have it already?"; close; } - if (countitem(12636) == 0) { + if (countitem(Malang_Sp_Can) == 0) { mes "[Roku]"; mes "There is nothing for free."; mes "You need a Malangdo Can."; @@ -5381,8 +5381,8 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{ mes "[Roku]"; mes "Here is your Adventure Card."; mes "Beginning Compass, start!"; - delitem 12636,1; //Malang_Sp_Can - getitem 6428,1; //Bravery_Card_A + delitem Malang_Sp_Can,1; + getitem Bravery_Card_A,1; nyadven02 = 0; close; case 2: @@ -5398,7 +5398,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 4_CAT_DOWN,{ } malangdo,212,204,0 script Beginning Compass#nya_02 CLEAR_NPC,{ - if (countitem(6428) == 0) { + if (countitem(Bravery_Card_A) == 0) { mes "There is a strange machine."; mes "The kids said this was the ride called Duruduru compass of the Meow Bravery Team."; close; @@ -5482,7 +5482,7 @@ L_Viewpoint: } - script #malangdo_compass -1,{ - if (countitem(6428) == 0) { + if (countitem(Bravery_Card_A) == 0) { mes "There is a strange machine."; mes "This is the Duruduru compass from the Meow Bravery Team."; close; @@ -5596,7 +5596,7 @@ malangdo,153,146,0 duplicate(#malangdo_compass) Forest Compass#4 CLEAR_NPC malangdo,111,178,0 duplicate(#malangdo_compass) Cloud Compass#5 CLEAR_NPC malangdo,175,163,0 script Meowbell#nya_12 CLEAR_NPC,{ - if (countitem(6428) == 0) { + if (countitem(Bravery_Card_A) == 0) { mes "There is a fancy bell which doesn't fit in with the ship."; mes "This bell is used in a game by the Meow Bravery Team."; viewpoint 2,1,1,0,0xFFFFFF; @@ -5844,7 +5844,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{ next; switch(select("Buy Adventure Card.:Do not buy.")) { case 1: - if (countitem(12636) == 0) { + if (countitem(Malang_Sp_Can) == 0) { mes "[Homnya]"; mes "I said I can exchange Adventure Card with one Malango Can~"; close2; @@ -5854,9 +5854,9 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{ mes "See, this is a scary machine."; mes "Here is your Adventure Card."; mes "Stop this machine this time."; - delitem 12636,1; //Malang_Sp_Can + delitem Malang_Sp_Can,1; nyadven = 7; - getitem 6429,1; //Bravery_Card_B + getitem Bravery_Card_B,1; close2; break; case 2: @@ -5919,7 +5919,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{ mes "Come here right after you find treasure!"; close2; } else if (nyadven == 11) { - if (countitem(6430) > 5) { + if (countitem(Picture_Piece) > 5) { mes "[Homnya]"; mes "You've found all the treasure."; mes "Yes, exactly."; @@ -5964,7 +5964,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{ next; mes "[Nyangson]"; mes "Go get the treasure again!"; - delitem 6430,countitem(6430); //Picture_Piece + delitem Picture_Piece,countitem(Picture_Piece); erasequest 7251; erasequest 7252; erasequest 7253; @@ -5985,7 +5985,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{ mes "It's good to take a break for little bit but now we don't have any spare time."; close2; } else { - if (countitem(6429) > 0) { + if (countitem(Bravery_Card_B) > 0) { mes "[Homnya]"; mes "Stop this noisy machine!"; mes "Insert your Adventure Card, and take a look at the reaction of the machine carefully. Then do the proper action!"; @@ -6033,7 +6033,7 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{ next; switch(select("Buy Adventure Card B.:Don't buy it.")) { case 1: - if (countitem(12636) == 0) { + if (countitem(Malang_Sp_Can) == 0) { mes "[Homnya]"; mes "How many Malangdo Cans for an Adventure Card?"; next; @@ -6049,8 +6049,8 @@ malangdo,172,178,7 script Cat Detective#nya_14 4_CAT_ADV2,{ next; mes "[Nyangson]"; mes "Please do it."; - delitem 12636,1; //Malang_Sp_Can - getitem 6429,1; //Bravery_Card_B + delitem Malang_Sp_Can,1; + getitem Bravery_Card_B,1; close2; break; case 2: @@ -6123,7 +6123,7 @@ malangdo,174,175,0 script Noisy Machine#nya_13 CLEAR_NPC,{ mes "We also have break time..."; close; } - if (countitem(6429) == 0) { + if (countitem(Bravery_Card_B) == 0) { mes "[Homnya]"; mes "You can't try this without Adventure Card B."; mes "Please bring it with you."; @@ -6176,9 +6176,9 @@ malangdo,174,175,0 script Noisy Machine#nya_13 CLEAR_NPC,{ nyadven = 9; erasequest 7247; } - delitem 6429,1; //Bravery_Card_B + delitem Bravery_Card_B,1; setquest 7249; - getitem 6422,3; //Egrade_Coin + getitem Egrade_Coin,3; getexp 20000,20000; next; if (nyadven == 9) { @@ -6283,7 +6283,7 @@ L_ShowLights: cutin "",255; mes "Adventure Card B burned off"; mes "with a huge explosion."; - delitem 6429,1; //Bravery_Card_B + delitem Bravery_Card_B,1; if (nyadven == 7) nyadven = 8; close; @@ -6311,7 +6311,7 @@ L_ShowLights: // 3 - Player has already found the picture piece. // null - Success. function script F_Mal_Picture { - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 4000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 4000) { mes "- You have too many items to proceed in this quest. -"; close; } @@ -6328,7 +6328,7 @@ function script F_Mal_Picture { mes getarg(4); mes "You found a piece of the painting."; setquest getarg(0); - getitem 6430,1; //Picture_Piece + getitem Picture_Piece,1; next; if (questprogress(7251) && questprogress(7252) && questprogress(7253) && questprogress(7254) && questprogress(7255) && questprogress(7256)) { mes "It looks like you can put these pieces of paintings together."; @@ -6526,7 +6526,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -6970,7 +6970,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ mes "Heh~"; malang_gamer = 11; erasequest 5068; - getitem 6422,100; //Egrade_Coin + getitem Egrade_Coin,100; next; mes "[Cat Gamers Director]"; mes "Heh~ Please come back if you change your mind."; @@ -6993,7 +6993,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ malang_gamer = 12; erasequest 5068; setquest 5069; - getitem 6422,100; //Egrade_Coin + getitem Egrade_Coin,100; next; mes "[Cat Gamers Director]"; mes "Heh~ Ok, "+strcharinfo(0)+". I will see you in an hour. Heh~"; @@ -7062,7 +7062,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ mes "Heh~ Take this and show us what you've got."; erasequest 5069; malang_gamer = 20; - getitem 2872,1; //G_Honor_Certificate + getitem G_Honor_Certificate,1; next; mes "[Cat Gamers Director]"; mes "Heh~ I may be worrying too much... But, please wear this '^0000FFCat Gamers Certificate^000000', and play the game. Heh~"; @@ -7146,8 +7146,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ if (questprogress(5074,HUNTING)) { mes "Heh~ It's not like I didn't feed them right... Heh~ I hope it was not too much for you, "+strcharinfo(0)+"."; next; - if (questprogress(5074,HUNTING) == 2 && countitem(1023) >= 10) { - delitem 1023,10; //Fish_Tail + if (questprogress(5074,HUNTING) == 2 && countitem(Fish_Tail) >= 10) { + delitem Fish_Tail,10; callsub L_CompleteQuest,5074, "Heh~ So, you brought 30 Phens and 10 Fish Tails, just as ordered."; } else { @@ -7158,8 +7158,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ } else if (questprogress(5075,HUNTING)) { mes "Heh~ Hmm, 50 Marses, and 30 Milk Bottles... Heh~"; next; - if (questprogress(5075,HUNTING) == 2 && countitem(519) >= 30) { - delitem 519,30; //Milk + if (questprogress(5075,HUNTING) == 2 && countitem(Milk) >= 30) { + delitem Milk,30; callsub L_CompleteQuest,5075, "Heh~ Guess they wanted some healthy food. Heh~ They should have just told me... Let me show you my skills. Heh~"; } else { @@ -7204,8 +7204,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ } else if (questprogress(5079)) { mes "Heh~ Hmm... let me see... Heh~ That's right, I was worrying about our team getting so nervous before the actual game... But, they won't even talk to me about it."; next; - if (countitem(7038) >= 20) { - delitem 7038,20; //Yarn + if (countitem(Yarn) >= 20) { + delitem Yarn,20; callsub L_CompleteQuest,5079, "Heh~ How could I miss that? I shall give some to my team for sure."; } else { @@ -7216,8 +7216,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ } else if (questprogress(5080)) { mes "Heh~ The note says, get me 30 Rat Tails for a snack."; next; - if (countitem(1016) >= 30) { - delitem 1016,30; //Rat_Tail + if (countitem(Rat_Tail) >= 30) { + delitem Rat_Tail,30; callsub L_CompleteQuest,5080, "Heh~ I think I've fed them good snacks... Didn't I? Lately I was little busy, they should have some patience... Heh~ Poor manager..."; } else { @@ -7228,8 +7228,8 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ } else if (questprogress(5081)) { mes "Heh~ It says 5 on the note... 5 of what? What?! Lemons?"; next; - if (countitem(568) >= 5) { - delitem 568,5; //Lemon + if (countitem(Lemon) >= 5) { + delitem Lemon,5; callsub L_CompleteQuest,5081, "Heh~ Lemon is forbidden before the actual game... heh? They won't eat it at game time, right? Heh~"; } else { @@ -7240,12 +7240,12 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ } else if (questprogress(5082)) { mes "Heh~ Give us 10 Ice Pieces or 10 Ice Creams!! Heh~ I personally prefer Ice Cream, just so you know."; next; - if (countitem(7066) >= 10) { - delitem 7066,10; //Ice_Piece + if (countitem(Ice_Piece) >= 10) { + delitem Ice_Piece,10; callsub L_CompleteQuest,5082, "Heh~ Oh, you brought Ice Pieces. Heh~ The players will love it."; - } else if (countitem(536) >= 10) { - delitem 536,10; //Ice_Cream + } else if (countitem(Ice_Cream) >= 10) { + delitem Ice_Cream,10; callsub L_CompleteQuest,5082, "Heh~ Oh, you brought Ice Creams. Heh~ The players will love it."; } else { @@ -7305,7 +7305,7 @@ mal_in01,31,210,2 script Cat Gamers Director 4_CAT_MERMASTER,{ // callsub L_CompleteQuest,<quest ID>,"<message>"; L_CompleteQuest: erasequest getarg(0); - getitem 12636,3; //Malang_Sp_Can + getitem Malang_Sp_Can,3; mes "[Cat Gamers Director]"; mes getarg(1); next; @@ -7320,7 +7320,7 @@ malangdo,127,111,4 script Strange Cat#gamer 4_CAT_SAILOR4,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -7612,7 +7612,7 @@ malangdo,161,197,4 script Eryu#gamer 4_CAT,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -7828,7 +7828,7 @@ malangdo,230,197,4 script Stew#gamer 4_CAT_3COLOR,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -8057,7 +8057,7 @@ malangdo,244,144,4 script Ketchup#gamer 4_CAT_SAILOR3,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -8246,7 +8246,7 @@ malangdo,181,119,7 script Eff#gamer 4_CAT_ADV2,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -8507,7 +8507,7 @@ mal_in01,91,216,4 script Ser#gamer 4_CAT_SAILOR1,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -8522,7 +8522,7 @@ mal_in01,91,216,4 script Ser#gamer 4_CAT_SAILOR1,{ } } if (malang_gamer < 20) { - if (countitem(2872)) { + if (countitem(G_Honor_Certificate)) { mes "[Ser]"; mes "You seem like a first timer! Where did you get the certificate? Someone lost it, I guess."; close; @@ -8681,9 +8681,9 @@ mal_in01,91,216,4 script Ser#gamer 4_CAT_SAILOR1,{ mes "Good bye~ Come back tomorrow for more practice~"; if (.@win == 5) { mes "Oh! You won all 5 matches. Here are some more extra Cans."; - getitem 12636,10; //Malang_Sp_Can + getitem Malang_Sp_Can,10; } else - getitem 12636,5; //Malang_Sp_Can + getitem Malang_Sp_Can,5; setquest 5070; close; } @@ -8851,7 +8851,7 @@ mal_in01,86,222,4 script Paa#gamer 4_CAT_SAILOR1,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -8866,7 +8866,7 @@ mal_in01,86,222,4 script Paa#gamer 4_CAT_SAILOR1,{ } } if (malang_gamer < 20) { - if (countitem(2872)) { + if (countitem(G_Honor_Certificate)) { mes "[Paa]"; mes "You seem like a first timer meow! Where did you get the certificate meow? Someone lost it, I guess meow."; close; @@ -9013,9 +9013,9 @@ mal_in01,86,222,4 script Paa#gamer 4_CAT_SAILOR1,{ mes "Good bye meow~ Come back tomorrow for more practice meow~"; if (.@win == 5) { mes "Oh! You won all 5 matches meow. Here are some more extra Cans meow!"; - getitem 12636,10; //Malang_Sp_Can + getitem Malang_Sp_Can,10; } else - getitem 12636,5; //Malang_Sp_Can + getitem Malang_Sp_Can,5; setquest 5070; close; } @@ -9181,7 +9181,7 @@ mal_in01,91,222,4 script Kuka#gamer 4_M_BABYCAT,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -9196,7 +9196,7 @@ mal_in01,91,222,4 script Kuka#gamer 4_M_BABYCAT,{ } } if (malang_gamer < 20) { - if (countitem(2872)) { + if (countitem(G_Honor_Certificate)) { mes "[Kuka]"; mes "You seem like a first timer yo~ Where did you get the certificate yo~ You better give that back yo~"; close; @@ -9348,14 +9348,14 @@ mal_in01,91,222,4 script Kuka#gamer 4_M_BABYCAT,{ mes "[Kuka]"; mes "I'll give you 1 random coin pocket as a special present yo~ Well done yo~ Come back tomorrow yo~"; setquest 5071; - getitem 12636, .@cans; //Malang_Sp_Can - getitem 12621,1; //Egrade_Pocket + getitem Malang_Sp_Can, .@cans; + getitem Egrade_Pocket,1; close; } else { mes "[Kuka]"; mes "Congrats yo~ For winning "+.@win+" times I'll give you "+.@cans+" cans yo~ Well done yo~ Come back tomorrow yo~"; setquest 5071; - getitem 12636, .@cans; //Malang_Sp_Can + getitem Malang_Sp_Can, .@cans; close; } } @@ -9503,7 +9503,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -9515,7 +9515,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{ } } if (malang_gamer < 20) { - if (countitem(2872)) { + if (countitem(G_Honor_Certificate)) { mes "[KungKung]"; mes "You are not qualified. Hmm... I am not sure how you got this, but we cannot practice with you. Go back."; close; @@ -9755,7 +9755,7 @@ mal_in01,134,221,4 script KungKung#gamer 4_M_BABYCAT,{ mes "Hmm... That wasn't necessary, I guess."; mes "This is for you, Human!"; setquest 5072; - getitem 12636,5; //Malang_Sp_Can + getitem Malang_Sp_Can,5; next; mes "[KungKung]"; mes "Come again tomorrow. I will beat you next time."; @@ -9921,7 +9921,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{ mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } @@ -9933,7 +9933,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{ } } if (malang_gamer < 20) { - if (countitem(2872)) { + if (countitem(G_Honor_Certificate)) { mes "[Leader]"; mes "Not everyone can challenge just because they have the certificate."; close; @@ -10242,7 +10242,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{ if (.@you_flag == 1 && .@cat_flags_waved == 0) { setquest 5073; if (.@flag_point_cat[1]+.@flag_point_cat[2]+.@flag_point_cat[3]+.@flag_point_cat[4]+.@flag_point_cat[5] < 5) { - getitem 12636,3; //Malang_Sp_Can + getitem Malang_Sp_Can,3; mes "[Leader]"; mes "Congratulations. You have won the Flag-Waving Game."; next; @@ -10256,7 +10256,7 @@ mal_in01,133,214,6 script Leader#gamer 4_CAT_SAILOR3,{ case 3: .@cans = 15; break; case 4: .@cans = 20; break; } - getitem 12636, .@cans; //Malang_Sp_Can + getitem Malang_Sp_Can, .@cans; mes "[Leader]"; mes "Congratulations. You have won the Flag-Waving Game. "+.@cans+" Canned Foods will be given as the present."; } @@ -10525,7 +10525,7 @@ malangdo,234,153,6 script Notice Board#mal 2_BULLETIN_BOARD,{ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{ disable_items; - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You are carrying too many items, please reduce them and come back!"; close; } @@ -10678,7 +10678,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{ mes "Oh... you have unequipped the Archangel Wing!"; close; } - if (countitem(6417) < 3) { + if (countitem(Silvervine) < 3) { mes "[Fallen Angel]"; mes "I can't do it if you can't pay!"; close; @@ -10690,7 +10690,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 4_F_VALKYRIE2,{ } .@equip_refine = getequiprefinerycnt(EQI_GARMENT); setarray .@equip_card[0], getequipcardid(EQI_GARMENT,0),getequipcardid(EQI_GARMENT,1),getequipcardid(EQI_GARMENT,2); - delitem 6417,3; //Silvervine + delitem Silvervine,3; delequip EQI_GARMENT; getitem2 2573,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],0; //Archangel_Wing mes "[Fallen Angel]"; diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt index bf7fb03d2..b75e4969b 100644 --- a/npc/re/quests/quests_malaya.txt +++ b/npc/re/quests/quests_malaya.txt @@ -42,7 +42,7 @@ //== Cautious Village & Daily Quests :: hi_malaya ========== malaya,266,76,3 script Rodel the Guard#malaya 4_MAL_SOLDIER,4,4,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -162,9 +162,9 @@ malaya,266,76,3 script Rodel the Guard#malaya 4_MAL_SOLDIER,4,4,{ mes "[Rodel the Guard]"; mes "I think there will be more Jejeling hunts in the future. Please join us again next time."; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; erasequest 7404; setquest 7405; @@ -198,7 +198,7 @@ OnInit: } malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -452,7 +452,7 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{ setquest 7397; close; } else if (malaya_diwata == 3) { - if ((countitem(6509) < 3) || (countitem(6510) < 3) && (countitem(6511) < 3)) { + if ((countitem(Mysterious_Flower) < 3) || (countitem(Elegant_Flower) < 3) && (countitem(Beautiful_Flower) < 3)) { mes "[Phong in Mumbaki]"; mes "There are ^4d4dff3 Mystic Flowers, 3 Elegant Flowers, 3 Pretty Flowers^000000."; mes "Do you understand?"; @@ -473,10 +473,10 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{ mes "[Phong in Mumbaki]"; mes "Now, deliver this to that child."; mes "I hope she opens her heart with this and becomes willing to talk to you."; - delitem 6509, 3; // Mysterious_Flower - delitem 6510, 3; // Elegant_Flower - delitem 6511, 3; // Beautiful_Flower - getitem 6506, 1; // Memorial_Bouquet + delitem Mysterious_Flower, 3; // Mysterious_Flower + delitem Elegant_Flower, 3; // Elegant_Flower + delitem Beautiful_Flower, 3; // Beautiful_Flower + getitem Offering_Bouquet, 1; // Memorial_Bouquet malaya_diwata = 4; erasequest 7397; setquest 7398; @@ -504,14 +504,14 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{ mes "A tribute must be sincere. Don't forget that."; close; } - if (countitem(6506) > 0) { + if (countitem(Offering_Bouquet) > 0) { mes "[Phong in Mumbaki]"; mes "Isn't it already made?"; mes "What is that in your hand?"; mes "Why are you standing around here? Go and give out those flowers."; close; } - if ((countitem(6509) < 3) || (countitem(6510) < 3) || (countitem(6511) < 3)) { + if ((countitem(Mysterious_Flower) < 3) || (countitem(Elegant_Flower) < 3) || (countitem(Beautiful_Flower) < 3)) { mes "[Phong in Mumbaki]"; mes "Going to Diwata?"; mes "You need Mysterious Flowers, Elegant Flowers and Beautiful Flowers, 3 of each, okay?"; @@ -525,17 +525,17 @@ malaya,185,358,3 script Leader Phong in Mumbaki 4_BARYO_CHIEF,{ mes "[Phong in Mumbaki]"; mes "Hey, here's the Bouquet."; mes "Make offerings with your soul and wish for a fruitful day."; - delitem 6509, 3; // Mysterious_Flower - delitem 6510, 3; // Elegant_Flower - delitem 6511, 3; // Beautiful_Flower - getitem 6506, 1; // Memorial_Bouquet + delitem Mysterious_Flower, 3; // Mysterious_Flower + delitem Elegant_Flower, 3; // Elegant_Flower + delitem Beautiful_Flower, 3; // Beautiful_Flower + getitem Offering_Bouquet, 1; // Memorial_Bouquet close; } } } malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -627,7 +627,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ close; } } else if (malaya_hi == 21) { - if ((countitem(6501) < 6) || (countitem(6500) < 6) || (countitem(6502) < 6)) { + if ((countitem(Salt_Bag) < 6) || (countitem(Sharp_Bamboo) < 6) || (countitem(Silver_Cross) < 6)) { mes "[Imelda]"; mes "I'll approve you as worthy if you bring all the materials for the Spiritual Protection!"; next; @@ -646,9 +646,9 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ mes "Now I'm going through the holy ritual to make a traditional Spiritual Protection."; mes "Give them to me! And don't bother me during the process!"; malaya_hi = 22; - delitem 6500, 6; // Sharp_Bamboo - delitem 6501, 6; // Salt_Bag - delitem 6502, 6; // Silver_Cross + delitem Sharp_Bamboo, 6; // Sharp_Bamboo + delitem Salt_Bag, 6; // Salt_Bag + delitem Silver_Cross, 6; // Silver_Cross erasequest 7366; setquest 7367; close; @@ -672,7 +672,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ mes "Took the Spiritual Protection, despite her ridiculous logic and vigor."; mes "Let's give them to the villagers."; malaya_hi = 23; - getitem 6503, 6; // Soul_Protection + getitem Soul_Protection, 6; // Soul_Protection erasequest 7367; setquest 7368; setquest 7369; @@ -715,9 +715,9 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ erasequest 7379; setquest 7375; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; if (rand(2)) $malayaNames$[0] = strcharinfo(0); @@ -731,7 +731,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ switch (select("I'll help you making Spiritual Protections.:Love and Spiritual Protection for all.")) { case 1: if (questprogress(7380)) { - if ((countitem(6501) < 6) || (countitem(6502) < 6) || (countitem(6500) < 6)) { + if ((countitem(Salt_Bag) < 6) || (countitem(Silver_Cross) < 6) || (countitem(Sharp_Bamboo) < 6)) { mes "[Imelda]"; mes "Materials for making a Spiritual Protection are"; mes "Salt Bags, Silver Crosses and Sharpened Bamboos, 6 of each."; @@ -747,15 +747,15 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ mes "[Imelda]"; mes "It'll be nice if you could help again tomorrow."; mes "Here's something for your trouble."; - delitem 6500, 6; // Sharp_Bamboo - delitem 6501, 6; // Salt_Bag - delitem 6502, 6; // Silver_Cross + delitem Sharp_Bamboo, 6; // Sharp_Bamboo + delitem Salt_Bag, 6; // Salt_Bag + delitem Silver_Cross, 6; // Silver_Cross erasequest 7380; setquest 7381; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; close; } else { @@ -821,9 +821,9 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ erasequest 7374; erasequest 7379; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; if (rand(2)) $malayaNames$[0] = strcharinfo(0); @@ -859,7 +859,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ setquest 7371; setquest 7372; setquest 7373; - getitem 6503, 6; // Soul_Protection + getitem Soul_Protection, 6; // Soul_Protection close; } else { mes "[Imelda]"; @@ -894,7 +894,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ setquest 7371; setquest 7372; setquest 7373; - getitem 6503, 6; // Soul_Protection + getitem Soul_Protection, 6; // Soul_Protection close; } else { mes "[Imelda]"; @@ -912,7 +912,7 @@ malaya,169,350,5 script Imelda#malaya 4_M_BRZ_JACI,{ } malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -972,7 +972,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{ mes "I'm sorry I ignored you."; close; } - if (!countitem(523) || !countitem(717)) { + if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) { mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000"; close; } @@ -986,8 +986,8 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{ mes "...Peace is always good. Yes."; next; mes "- Gave Holy Water and Blue Gemstone to Old Man Nardo.-"; - delitem 717, 1; //Blue_Gemstone - delitem 523, 1; //Holy_Water + delitem Blue_Gemstone, 1; + delitem Holy_Water, 1; setquest 7360; completequest 7360; if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2 @@ -1044,7 +1044,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{ close; case 2: if (questprogress(7374) && questprogress(7369)) { - if (!countitem(6503)) { + if (!countitem(Soul_Protection)) { mes "^4d4dffThere's no Spiritual Protection to give to the Old Man.^000000"; close; } @@ -1054,7 +1054,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{ mes "I am always in your and Imelda's debt."; next; mes "-Delivered the Spiritual Protection to Old Man Nardo.-"; - delitem 6503, 1; // Soul_Protection + delitem Soul_Protection, 1; // Soul_Protection erasequest 7369; setquest 7383; if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) { @@ -1106,7 +1106,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{ close; } else { if (questprogress(7377)) { - if (countitem(6503) < 5) { + if (countitem(Soul_Protection) < 5) { mes "[Old Man Nardo]"; mes "Did you deliver the cauldron in one piece?"; mes "Kiko in Mumbaki should have given you a Spiritual Protection. Do you have it?"; @@ -1120,13 +1120,13 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{ mes "[Old Man Nardo]"; mes "Please stop by again."; mes "I always prepare the Cast Iron Cauldron needed at Baryo."; - delitem 6503, 5; // Soul_Protection + delitem Soul_Protection, 5; // Soul_Protection setquest 7378; erasequest 7377; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; if (!rand(3)) $malayaNames$[2] = strcharinfo(0); @@ -1162,7 +1162,7 @@ malaya,181,353,5 script Old Man Nardo#malaya 4_M_BARYO_OLD,{ mes "This is the Cast Iron Cauldron. They have fine blacksmiths in Malaya."; mes "Deliver this to Kiko in Mumbaki at the nearby town of Baryo Mahiwaga."; setquest 7376; - getitem 6504, 5; // Cast_Iron_Caldron + getitem Cast_Iron_Caldron, 5; // Cast_Iron_Caldron close; case 3: mes "[Old Man Nardo]"; @@ -1235,7 +1235,7 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{ mes "but I am braver with them."; close; } - if (!countitem(523) || !countitem(717)) { + if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) { mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000"; close; } @@ -1252,8 +1252,8 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{ mes "Hey... Could you give some for my daughter as well?"; next; mes "- Gave Romel the prepared Holy Water and Blue Gemstone.-"; - delitem 717, 1; //Blue_Gemstone - delitem 523, 1; //Holy_Water + delitem Blue_Gemstone, 1; + delitem Holy_Water, 1; setquest 7364; completequest 7364; if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2 @@ -1305,7 +1305,7 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{ mes "I'm okay for now."; close; } - if (!countitem(6503)) { + if (!countitem(Soul_Protection)) { mes "^4d4dffThere are no Spiritual Protections to give to Romel.^000000"; close; } @@ -1315,7 +1315,7 @@ malaya,224,267,3 script Romel#malaya 4_M_MAYOR,{ mes "This Spiritual Protection will also protect us."; next; mes "- Delivered Romel his Spiritual Protection.-"; - delitem 6503, 1; // Soul_Protection + delitem Soul_Protection, 1; // Soul_Protection erasequest 7373; setquest 7387; if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) { @@ -1386,7 +1386,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{ mes "Daddy's braver now and that makes Talah stronger too."; close; } - if (!countitem(523) || !countitem(717)) { + if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) { mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000"; close; } @@ -1401,8 +1401,8 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{ mes "Is this stone going to keep Talah safe?"; next; mes "- Delivered the Holy Water and Blue Gemstone to Talah. -"; - delitem 717, 1; //Blue_Gemstone - delitem 523, 1; //Holy_Water + delitem Blue_Gemstone, 1; + delitem Holy_Water, 1; setquest 7363; completequest 7363; if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2 @@ -1429,7 +1429,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{ close; } if (questprogress(7374) && questprogress(7372)) { - if (!countitem(6503)) { + if (!countitem(Soul_Protection)) { mes "^4d4dffThere is no Spiritual Protection to give to Talah.^000000"; close; } @@ -1440,7 +1440,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{ mes "Daddy likes it too."; next; mes "- Delivered new Spiritual Protection to Talah.-"; - delitem 6503, 1; // Soul_Protection + delitem Soul_Protection, 1; // Soul_Protection erasequest 7372; setquest 7386; if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) { @@ -1469,7 +1469,7 @@ malaya,223,267,5 script Talah#malaya 4_F_DST_CHILD,{ } malaya,62,274,0 script Sand Trap#malaya 4_SOIL,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -1477,7 +1477,7 @@ malaya,62,274,0 script Sand Trap#malaya 4_SOIL,{ mes "A device to evaporate sea water is buried in the sand..."; close; } - if (countitem(6501) >= 6) { + if (countitem(Salt_Bag) >= 6) { mes "There's enough salt."; close; } @@ -1489,7 +1489,7 @@ malaya,62,274,0 script Sand Trap#malaya 4_SOIL,{ progressbar "0xffff00", 5; disablenpc strnpcinfo(0); initnpctimer; - getitem 6501, 1; // Salt_Bag + getitem Salt_Bag, 1; // Salt_Bag mes "[" + strcharinfo(0) + "]"; mes "This should be enough."; close; @@ -1503,7 +1503,7 @@ malaya,66,277,0 duplicate(Sand Trap#malaya) Sand Trap#malaya01 4_SOIL malaya,70,282,0 duplicate(Sand Trap#malaya) Sand Trap#malaya02 4_SOIL ma_fild01,178,206,0 script Black Bamboo#malaya CLEAR_NPC,4,4,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -1511,7 +1511,7 @@ ma_fild01,178,206,0 script Black Bamboo#malaya CLEAR_NPC,4,4,{ mes "There's a short and black bamboo tree."; close; } - if (countitem(6500) >= 6) { + if (countitem(Sharp_Bamboo) >= 6) { mes "There's enough Sharpened Bamboos..."; close; } @@ -1521,7 +1521,7 @@ ma_fild01,178,206,0 script Black Bamboo#malaya CLEAR_NPC,4,4,{ progressbar "0xffff00", 3; disablenpc strnpcinfo(0); initnpctimer; - getitem 6500, 1; //Sharp_Bamboo + getitem Sharp_Bamboo, 1; mes "[" + strcharinfo(0) + "]"; mes "I knew I could do this!"; close; @@ -1542,7 +1542,7 @@ ma_fild01,180,273,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya04 CLEAR_N ma_fild01,179,145,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya05 CLEAR_NPC,4,4 malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -1604,7 +1604,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{ mes "Isn't that so?"; close; } - if (!countitem(523) || !countitem(717)) { + if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) { mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000"; close; } @@ -1627,8 +1627,8 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{ mes "I'll call for you first when a job opens up for you."; next; mes "- Gave Woeon the Holy Water and Blue Gemstone.-"; - delitem 717, 1; //Blue_Gemstone - delitem 523, 1; //Holy_Water + delitem Blue_Gemstone, 1; + delitem Holy_Water, 1; setquest 7362; completequest 7362; if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2 @@ -1651,7 +1651,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{ next; if (select("Give Spiritual Protection.:The Dealer and his Collection") == 1) { if (questprogress(7374) == 1 && questprogress(7371) == 1) { - if (!countitem(6503)) { + if (!countitem(Soul_Protection)) { mes "^4d4dffThere is no Spiritual Protection to give to Woeon.^000000"; close; } @@ -1661,7 +1661,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{ mes "I'm thankful to you as well, of course."; next; mes "-Delivered Spiritual Protection to Woeon.-"; - delitem 6503, 1; // Soul_Protection + delitem Soul_Protection, 1; // Soul_Protection erasequest 7371; setquest 7385; if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) { @@ -1723,7 +1723,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{ close; } else { if (questprogress(7391) == 1) { - if (countitem(6498) < 30) { + if (countitem(Jejellopy) < 30) { mes "[Woeon]"; mes "Hmm? I don't think you have enough."; mes "I asked you for 30 Jejellopys. Business is business I'm afraid."; @@ -1737,13 +1737,13 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{ mes "[Woeon]"; mes "So I have all the Jejellopys..."; mes "Come back again!"; - delitem 6498, countitem(6498); //Jejellopy + delitem Jejellopy, countitem(Jejellopy); setquest 7392; erasequest 7391; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; .@memo_name = rand(1,3); if (!rand(3)) @@ -1781,7 +1781,7 @@ malaya,295,171,3 script Collection Dealer Woeon 4_M_MALAYA,{ } malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -1846,7 +1846,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ mes "Bu... But, I'm too scared..."; close; } - if (!countitem(523) || !countitem(717)) { + if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) { mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000"; close; } @@ -1860,8 +1860,8 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ mes "Yes... Now that I have some of your spirit, I can rest well at night."; next; mes "- Gave Pandoi the Holy Water and Blue Gemstone.-"; - delitem 717, 1; //Blue_Gemstone - delitem 523, 1; //Holy_Water + delitem Blue_Gemstone, 1; + delitem Holy_Water, 1; setquest 7361; completequest 7361; if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2 @@ -1909,7 +1909,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ mes "When it wear's out, I'll ask you for another one!"; close; } - if (!countitem(6503)) { + if (!countitem(Soul_Protection)) { mes "^4d4dffThere is no Spiritual Protection to give to Pandoi.^000000"; close; } @@ -1918,7 +1918,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ mes "It's always good to know that you won't see those black things again!"; next; mes "-Delivered Spiritual Protection to Pandoi.-"; - delitem 6503, 1; // Soul_Protection + delitem Soul_Protection, 1; // Soul_Protection erasequest 7370; setquest 7384; if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) { @@ -1949,7 +1949,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ } .@hunting = questprogress(7393, HUNTING); if (.@hunting == 2) { - if (countitem(6508) < 10) { + if (countitem(Silver_Bracelet) < 10) { mes "[Pandoi]"; mes "Where are the Silver Bracelets?"; mes "I know you're invincible..."; @@ -1972,13 +1972,13 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ mes "[Pandoi]"; mes "It's not much, but here's something for the troubles you went through to get the Silver Bracelets."; mes "If I fail... I'll ask of you the task again!"; - delitem 6508, 10; //Silver_Bracelet + delitem Silver_Bracelet, 10; setquest 7394; erasequest 7393; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; if (!rand(3)) $malayaNames$[1] = strcharinfo(0); @@ -2076,7 +2076,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ .@amount = 1; case 2: if (!.@amount) .@amount = 6; - if (countitem(6508) < (.@amount * 2)) { + if (countitem(Silver_Bracelet) < (.@amount * 2)) { mes "[Pandoi]"; mes "You need at least " + (.@amount * 2) + " Silver Bracelets to make " + .@amount + " Silver " + ((.@amount == 1) ? "Cross" : "Crosses") + "."; close; @@ -2099,7 +2099,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ mes "A maximum of 50 at a time!"; close; } - if (countitem(6508) < (2 * .@amount)) { + if (countitem(Silver_Bracelet) < (2 * .@amount)) { mes "[Pandoi]"; mes "To make " + .@amount + " Silver " + ((.@amount == 1) ? "Cross" : "Crosses") + ", I need at least " + (2 * .@amount) + " Silver Bracelets."; close; @@ -2116,8 +2116,8 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ mes "Pandoi can do it in a jiffy!"; close2; progressbar "0xffff00", .@time; - delitem 6508, .@amount * 2; //Silver_Bracelet - getitem 6502, .@amount; // Silver_Cross + delitem Silver_Bracelet, .@amount * 2; + getitem Silver_Cross, .@amount; // Silver_Cross mes "[Pandoi]"; mes "Look at this!"; mes "Very nice indeed."; @@ -2129,7 +2129,7 @@ malaya,119,217,3 script Blacksmith Pandoi 4_M_DEWBOY,{ } malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -2202,7 +2202,7 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{ mes "Now's the time to charge into my ship...!"; close; } - if (!countitem(523) || !countitem(717)) { + if (!countitem(Holy_Water) || !countitem(Blue_Gemstone)) { mes "^4d4dffPrepare and give Blue Gemstone and Holy Water.^000000"; close; } @@ -2219,8 +2219,8 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{ mes "After you're finished with the ghosts here, I'll take on my ship to the end of the world!"; next; mes "- Gave Pedro the Sailor the Holy Water and Blue Gemstone. -"; - delitem 717, 1; //Blue_Gemstone - delitem 523, 1; //Holy_Water + delitem Blue_Gemstone, 1; + delitem Holy_Water, 1; setquest 7359; completequest 7359; if (questprogress(7359) == 2 && questprogress(7360) == 2 && questprogress(7361) == 2 @@ -2252,7 +2252,7 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{ mes "It's still up for the fight!"; close; } - if (!countitem(6503)) { + if (!countitem(Soul_Protection)) { mes "^4d4dffThere is no Spiritual Protection to give to Pedro the Sailor.^000000"; close; } @@ -2261,7 +2261,7 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{ mes "Alright. I'll go at them with this one today."; next; mes "-Delivered the Spiritual Protection to Pedro the Sailor.-"; - delitem 6503, 1; // Soul_Protection + delitem Soul_Protection, 1; // Soul_Protection erasequest 7368; setquest 7382; if (questprogress(7382) + questprogress(7383) + questprogress(7384) + questprogress(7385) + questprogress(7386) + questprogress(7387) > 5) { @@ -2389,9 +2389,9 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{ erasequest 7399; setquest 7401; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; if (!rand(3)) $malayaNames$[0] = strcharinfo(0); @@ -2452,9 +2452,9 @@ malaya,326,68,2 script Pedro the Sailor 4W_SAILOR,{ setquest 7401; erasequest 7403; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; if (!rand(3)) $malayaNames$[0] = strcharinfo(0); @@ -2568,7 +2568,7 @@ OnTouch: warp "malaya", 324, 66; end; } else if (malaya_diwata == 4) { - if (!countitem(6506)) { + if (!countitem(Offering_Bouquet)) { cutin "malaya_diwata01", 2; mes "- The soul of Little Girl Diwata is looking at me fiercely."; mes "No Offering Bouquet...!!!"; @@ -2635,7 +2635,7 @@ OnTouch: mes "[Diwata]"; mes "Now, g... go away!"; malaya_diwata = 5; - delitem 6506, 1; // Memorial_Boquet + delitem Offering_Bouquet, 1; // Memorial_Boquet erasequest 7398; setquest 7399; close; @@ -2704,7 +2704,7 @@ OnTouch: warp "malaya", 324, 66; end; } - if (!countitem(6506)) { + if (!countitem(Offering_Bouquet)) { mes "[Diwata]"; mes "What? You want me to wave?"; mes "You didn't bring it?"; @@ -2728,7 +2728,7 @@ OnTouch: mes "[Diwata]"; mes "Tell Pedro the Sailor!"; mes "Diwata will be a goddess of sea, so set sail in my generosity."; - delitem 6506, 1; // Memorial_Boquet + delitem Offering_Bouquet, 1; // Memorial_Boquet setquest 7403; erasequest 7402; close; @@ -2738,7 +2738,7 @@ OnTouch: } ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -2773,7 +2773,7 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{ mes "so deliver it well. Okay? Good."; close; } - if (countitem(6504) < 5) { + if (countitem(Cast_Iron_Caldron) < 5) { mes "[Kiko in Mumbaki]"; mes "Oh, must be the cauldron I ordered."; mes "But, where is it?"; @@ -2789,8 +2789,8 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{ mes "I'll give you this for the cauldron."; mes "I hear you're having some trouble with souls?"; mes "Take this. It will help you."; - delitem 6504, 5; // Cast_Iron_Caldron - getitem 6503, 5; // Soul_Protection + delitem Cast_Iron_Caldron, 5; // Cast_Iron_Caldron + getitem Soul_Protection, 5; // Soul_Protection setquest 7377; erasequest 7376; close; @@ -2808,7 +2808,7 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{ mes "Quickly now."; close; } - if ((countitem(523) < 10) || (countitem(6507) < 10)) { + if ((countitem(Holy_Water) < 10) || (countitem(Evil_Bone) < 10)) { mes "[Kiko in Mumbaki]"; mes "Purification of the bones the Guard Dog Vantai needs to gnaw on?"; mes "My work here just gets better and better."; @@ -2833,9 +2833,9 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{ mes "[Kiko in Mumbaki]"; mes "Moreover, holding on to Evil Spirit Bones will only do you harm,"; mes "so I'll take them all to purify."; - delitem 6507, countitem(6507); // Evil_Bone - delitem 523, 10; //Holy_Water - getitem 6505, 10; //Purified_Bone + delitem Evil_Bone, countitem(Evil_Bone); // Evil_Bone + delitem Holy_Water, 10; + getitem Purified_Bone, 10; setquest 7407; erasequest 7406; close; @@ -2849,7 +2849,7 @@ ma_fild01,261,208,2 script Kiko in Mumbaki 4_BARYO_CHIEF,{ } ma_fild01,239,253,3 script Dhong the Guard 4_MAL_SOLDIER,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -2916,7 +2916,7 @@ ma_fild01,239,253,3 script Dhong the Guard 4_MAL_SOLDIER,{ close; } else { if (questprogress(7407) == 1) { - if (countitem(6505) < 10) { + if (countitem(Purified_Bone) < 10) { mes "[Dhong the Guard]"; mes "Kiko in Mumbaki asked for 10 Purified Spirit Bones."; mes "He needs to have at least 10 at a time. Which of course does not last a day..."; @@ -2939,13 +2939,13 @@ ma_fild01,239,253,3 script Dhong the Guard 4_MAL_SOLDIER,{ mes "[Dhong the Guard]"; mes "This is your reward."; mes "It would be very nice if you could help us again tomorrow."; - delitem 6505, 10; // Purified_Bone + delitem Purified_Bone, 10; // Purified_Bone setquest 7408; erasequest 7407; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; if (!rand(0, 2)) $malayaNames$[2] = strcharinfo(0); @@ -2996,7 +2996,7 @@ ma_fild01,238,257,2 script Guard Dog Vantai 4_RUS_DWOLF,{ } ma_fild01,200,190,3 script Maries#malaya 4_F_BARYO_WOMAN,{ - if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 1000 || checkweight(Knife,1) == 0) { mes "- Cannot proceed with the quest. You are carrying too many items. -"; close; } @@ -3039,9 +3039,9 @@ ma_fild01,200,190,3 script Maries#malaya 4_F_BARYO_WOMAN,{ setquest 7390; erasequest 7389; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; if (!rand(3)) $malayaNames$[2] = strcharinfo(0); @@ -3116,7 +3116,7 @@ ma_fild01,203,189,3 script Little Girl#malaya 4_F_BARYO_GIRL,{ ma_fild01,251,93,3 script Lost Child#malaya01 4_F_BARYO_GIRL,{ if (questprogress(7388)) { - if (!countitem(12700)) { + if (!countitem(Insideout_Shirt)) { mes "[Little Kid]"; mes "Sigh. Are you lost too?"; mes "They are so naughty."; @@ -3146,7 +3146,7 @@ ma_fild01,251,93,3 script Lost Child#malaya01 4_F_BARYO_GIRL,{ mes "She must be worried..!"; mes "I'll go home now!"; mes "Thanks' a lot!"; - delitem 12700, 1; // Insideout_Shirt + delitem Insideout_Shirt, 1; // Insideout_Shirt setquest 7389; erasequest 7388; close2; @@ -3278,9 +3278,9 @@ ma_fild02,241,39,5 script Good Capre Budidai 4_MAL_BUDIDAI,{ setquest 7410; erasequest 7409; // if (IsPremiumPcCafe == 10) - getitem 6497, 2; // Lesser_Agimat + getitem Lesser_Agimat, 2; // Lesser_Agimat // else -// getitem 6497, 1; // Lesser_Agimat +// getitem Lesser_Agimat, 1; // Lesser_Agimat getexp 200000,200000; if (!rand(3)) $malayaNames$[1] = strcharinfo(0); @@ -3355,7 +3355,7 @@ ma_fild02,241,39,5 script Good Capre Budidai 4_MAL_BUDIDAI,{ //== Traders :: malaya_npc ================================= ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{ - if (MaxWeight - Weight < 600 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 600 || checkweight(Knife,1) == 0) { mes "Cannot proceed because you have too many items in your possession."; close; } @@ -3364,7 +3364,7 @@ ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{ next; switch(select("We need to gather items to fight them off.:Ignore.")) { case 1: - if (countitem(6497) >= 3 && Zeny >= 1000) { + if (countitem(Lesser_Agimat) >= 3 && Zeny >= 1000) { mes "[Old Man in Dilemma]"; mes "You don't seem to be strong enough to fight off demons."; next; @@ -3372,11 +3372,11 @@ ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{ mes "Will you create a Greater Agimat of Ancient Spirit with 3 Lesser Agimats and 1,000 Zeny?"; next; if(select("Create.:No, thank you.") == 1) { - if (countitem(6497) >= 3 && Zeny >= 1000) { + if (countitem(Lesser_Agimat) >= 3 && Zeny >= 1000) { specialeffect2 EF_CONE; specialeffect EF_FORESTLIGHT2; Zeny -= 1000; - getitem 12775,1; //Ancient_Spirit_Agimat + getitem Ancient_Spirit_Agimat,1; } else { mes "[Old Man in Dilemma]"; mes "Short on materials."; @@ -3429,7 +3429,7 @@ ma_fild01,166,214,6 script Old Man in Dilemma#GA 4_F_BARYO_OLD,{ } ma_fild01,238,198,4 script Tikbalang Expert#malaya 4_M_MALAYA,{ - if (MaxWeight - Weight < 50 || checkweight(1201,1) == 0) { + if (MaxWeight - Weight < 50 || checkweight(Knife,1) == 0) { mes "Cannot proceed because you have too many items in your possession."; close; } @@ -3537,7 +3537,7 @@ ma_fild01,238,198,4 script Tikbalang Expert#malaya 4_M_MALAYA,{ mes "[Tikbalang Expert]"; mes "Ha ha ha. Do you now know how great I am?"; next; - if (countitem(6496) >= 3 && countitem(6497) >= 5) { + if (countitem(Tikbalang_Thick_Spine) >= 3 && countitem(Lesser_Agimat) >= 5) { mes "[Tikbalang Expert]"; mes "Oh! Isn't this material to make 'Tikbalang Belt' used to tame Tikbalangs?"; next; @@ -3546,8 +3546,8 @@ ma_fild01,238,198,4 script Tikbalang Expert#malaya 4_M_MALAYA,{ next; switch(select("Yes, Im interested.:No, I can capture one myself.")) { case 1: - delitem 6496,3; //Tikbalang_Thick_Spine - getitem 12699,1; //Tikbalang_Belt + delitem Tikbalang_Thick_Spine,3; + getitem Tikbalang_Belt,1; mes "[Tikbalang Expert]"; mes "Yiiiiiiiiiiii! Yap!"; next; @@ -3754,7 +3754,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 4_M_MALAYA,{ mes "I will need an light but sturdy armor with an refinement of +9 or greater and 20 Ancient Grudges!!"; close; } - if (countitem(6499) < 20) { + if (countitem(Ancient_Grudge) < 20) { mes "[Bayani]"; mes "You said all preparations are done and you give me this?! I need at least 20 Ancient Grudges to refine your item."; close; @@ -3832,7 +3832,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 4_M_MALAYA,{ mes "BAM!!"; next; - delitem 6499,20; //Ancient_Grudge + delitem Ancient_Grudge,20; delequip .@part; getitem .@newItem, 1; @@ -4047,7 +4047,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{ malaya_buwaya = 3; close; } else if (malaya_buwaya == 3) { - if (!countitem(506)) { + if (!countitem(Green_Potion)) { mes "[Totoy]"; mes "Can't talk long. I need to heal my eyes first."; mes "There should be some ^3131FFGreen Potion^000000 left inside the drawer. Will you get it for me?"; @@ -4062,7 +4062,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{ } else { mes "[Totoy]"; mes "Gulp, gulp..."; - delitem 506,1; //Green_Potion + delitem Green_Potion,1; malaya_buwaya = 4; } close; @@ -4251,7 +4251,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{ .@amount = 10; // else // .@amount = 5; - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) { mes "- Wait!! -"; mes "- You have too many items on you. -"; mes "- Cannot receive the item. -"; @@ -4275,7 +4275,7 @@ ma_in01,47,101,3 script Totoy#buwaya 4_M_BARYO_BOY,7,7,{ mes "[Dog]"; mes "Woof woof woof!!!!"; malaya_buwaya = 14; - getitem 6497,5; //Lesser_Agimat + getitem Lesser_Agimat,5; disablenpc "Dog#buwaya_totoi"; erasequest 2279; setquest 2280; @@ -4407,7 +4407,7 @@ malaya,290,152,5 script Master of Hunting#buwaya 4_M_BARYO_MAN,{ setquest 2274; close; } else if (malaya_buwaya == 7) { - if (countitem(6519) < 10) { + if (countitem(Collected_Sample) < 10) { mes "[Master of Hunting]"; mes "Bring me back samples if you want to prove there is a monster with two heads."; close; @@ -4416,7 +4416,7 @@ malaya,290,152,5 script Master of Hunting#buwaya 4_M_BARYO_MAN,{ mes "Argh! That's so foul."; mes "You've really brought back the samples."; mes "Ho! Leave it there and come back after washing your hands. Even god won't smile down at you with that stench."; - delitem 6519,10; //Collected_Sample + delitem Collected_Sample,10; malaya_buwaya = 8; erasequest 2274; setquest 2275; @@ -4530,7 +4530,7 @@ OnInit: } - script Unknown Trace#buwaya -1,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) { mes "- Wait!! -"; mes "- You have too many items on you. -"; mes "- Cannot receive the item. -"; @@ -4539,7 +4539,7 @@ OnInit: close; } if (malaya_buwaya == 7) { - if (countitem(6519) >= 10) { + if (countitem(Collected_Sample) >= 10) { mes "- You don't have to collect any more samples. -"; close; } @@ -4554,7 +4554,7 @@ OnInit: next; mes "[" + strcharinfo(0) + "]"; mes "It's warm as a mother's bosom."; - getitem 6519,1; //Collected_Sample + getitem Collected_Sample,1; disablenpc strnpcinfo(0); initnpctimer; close; @@ -4574,7 +4574,7 @@ ma_fild02,300,98,3 duplicate(Unknown Trace#buwaya) Unknown Trace#buwaya_6 4_SOIL ma_fild02,100,275,3 duplicate(Unknown Trace#buwaya) Unknown Trace#buwaya_7 4_SOIL malaya,290,340,3 script Guard Leader#buwaya 4_MAL_CAPTAIN,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) { mes "- Wait!! -"; mes "- You have too many items on you. -"; mes "- Cannot receive the item. -"; @@ -4712,7 +4712,7 @@ malaya,290,340,3 script Guard Leader#buwaya 4_MAL_CAPTAIN,{ mes "[Guard Leader]"; mes "Good work."; erasequest 2281; - getitem 6497, .@amount; //Lesser_Agimat + getitem Lesser_Agimat, .@amount; getexp 0,600000; } else { mes "[Guard Leader]"; @@ -5022,7 +5022,7 @@ malaya,272,339,5 script Old Fortune Teller#bako1 4_F_BARYO_OLD,{ } malaya,285,332,4 script Old Legend Teller#bako1 4_M_BARYO_OLD,{ - if (checkweight(1301,3) == 0) { + if (checkweight(Axe,3) == 0) { mes "You cannot start the conversation. You are carrying too many items. -"; close; } @@ -5234,9 +5234,9 @@ malaya,285,332,4 script Old Legend Teller#bako1 4_M_BARYO_OLD,{ erasequest 1179; malaya_bakona1 = 7; // if (IsPremiumPcCafe == 10) - getitem 6499,5; //Ancient_Grudge + getitem Ancient_Grudge,5; // else -// getitem 6499,3; //Ancient_Grudge +// getitem Ancient_Grudge,3; getexp 500000,200000; close; } @@ -5637,7 +5637,7 @@ malaya,276,262,4 script Angry Boy#bako2 4_M_BARYO_BOY,{ } malaya,283,265,4 script Village Chief#bako2 4_BARYO_CHIEF,{ - if (checkweight(1301,3) == 0) { + if (checkweight(Axe,3) == 0) { mes "You cannot start the conversation. You are carrying too many items. -"; close; } @@ -5754,9 +5754,9 @@ malaya,283,265,4 script Village Chief#bako2 4_BARYO_CHIEF,{ setquest 1185; malaya_bakona2 = 6; // if (IsPremiumPcCafe == 10) - getitem 12700,7; //Insideout_Shirt + getitem Insideout_Shirt,7; // else -// getitem 12700,5; //Insideout_Shirt +// getitem Insideout_Shirt,5; close; } else if (malaya_bakona2 == 6) { mes "[Village Chief]"; @@ -5860,9 +5860,9 @@ malaya,283,265,4 script Village Chief#bako2 4_BARYO_CHIEF,{ malaya_bakona2 = 15; getexp 1000000,600000; // if (IsPremiumPcCafe == 10) - getitem 6497,7; //Lesser_Agimat + getitem Lesser_Agimat,7; // else -// getitem 6497,5; //Lesser_Agimat +// getitem Lesser_Agimat,5; close; } else if (malaya_bakona2 == 15) { mes "[Village Chief]"; @@ -5906,7 +5906,7 @@ OnTimer600000: OnMyMobDead: if (mobcount("ma_fild01","malaya_ma_fild01_mon::OnMyMobDead") < 5 && (malaya_bakona2 == 1 || malaya_bakona2 == 2 || malaya_bakona2 == 3 || malaya_bakona2 == 4)) - getitem 6520,1; //Lost_Belongings + getitem Lost_Belongings,1; end; } @@ -5923,7 +5923,7 @@ malaya,269,267,5 script Missing Person's Father 4_M_MALAYA,{ mes "He must be around here somewhere."; close; } else if (malaya_bakona2 == 1) { - if (countitem(6520) < 2) { + if (countitem(Lost_Belongings) < 2) { mes "[Missing Person's Father]"; mes "You are looking for two of his ^FF0000Lost Belongings^000000?"; mes "Are you confident that"; @@ -5940,7 +5940,7 @@ malaya,269,267,5 script Missing Person's Father 4_M_MALAYA,{ mes "Let's retrieve them from Tiyanak that roams Baryo Mahiwaga Field,"; mes "seven ^FF0000Lost Belongings^000000"; mes "and deliver them to ^0000FFMissing Person's Friend^000000."; - delitem 6520,2; //Lost_Belongings + delitem Lost_Belongings,2; erasequest 1180; setquest 1181; malaya_bakona2 = 2; @@ -5978,7 +5978,7 @@ malaya,265,274,5 script Missing Person's Friend 4_M_BARYO_BOY,{ mes "somewhere."; close; } else if (malaya_bakona2 == 2) { - if (countitem(6520) < 7) { + if (countitem(Lost_Belongings) < 7) { mes "[Missing Person's Friend]"; mes "You are looking for seven ^FF0000Lost Belongings^000000"; mes "of my friend?"; @@ -5991,7 +5991,7 @@ malaya,265,274,5 script Missing Person's Friend 4_M_BARYO_BOY,{ mes "of my friend... Where is my friend?"; mes "Bring him here, bring him here now!"; callsub L_Quest; - delitem 6520,7; //Lost_Belongings + delitem Lost_Belongings,7; erasequest 1181; setquest 1182; malaya_bakona2 = 3; @@ -6028,7 +6028,7 @@ malaya,270,278,4 script Missing Person's Son 4_M_BARYO_MAN,{ mes "Please find my father!"; close; } else if (malaya_bakona2 == 3) { - if (countitem(6520) < 3) { + if (countitem(Lost_Belongings) < 3) { mes "[Missing Person's Son]"; mes "You are looking for three ^FF0000Lost Belongings^000000"; mes "of my father? Why lost belongings and not my father?"; @@ -6040,7 +6040,7 @@ malaya,270,278,4 script Missing Person's Son 4_M_BARYO_MAN,{ mes "These are ^FF0000Lost Belongings^000000 of my father."; mes "Oh dear lord... father!"; callsub L_Quest; - delitem 6520,3; //Lost_Belongings + delitem Lost_Belongings,3; erasequest 1182; setquest 1183; malaya_bakona2 = 4; @@ -6074,7 +6074,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{ mes "and she still isn't back."; close; } else if (malaya_bakona2 == 4) { - if (countitem(6520) < 5) { + if (countitem(Lost_Belongings) < 5) { mes "[Missing Person's Mother]"; mes "You are looking for five ^FF0000Lost Belongings^000000 of my child?"; mes "What does this mean?"; @@ -6095,7 +6095,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{ mes "A mother that has gone mad..."; mes "Now that I finished finding the missing people,"; mes "I should report back to the Village Chief."; - delitem 6520,5; //Lost_Belongings + delitem Lost_Belongings,5; erasequest 1183; setquest 1184; malaya_bakona2 = 5; @@ -6117,7 +6117,7 @@ malaya,265,284,4 script Missing Person's Mother 4_F_BARYO_WOMAN,{ } malaya,289,364,4 script Young Fortune Teller 4_F_MALAYA,{ - if (checkweight(1301,3) == 0) { + if (checkweight(Axe,3) == 0) { mes "You cannot start the conversation. You are carrying too many items. -"; close; } @@ -6173,9 +6173,9 @@ malaya,289,364,4 script Young Fortune Teller 4_F_MALAYA,{ setquest 1187; malaya_bakona2 = 8; // if (IsPremiumPcCafe == 10) - getitem 12699,7; //Tikbalang_Belt + getitem Tikbalang_Belt,7; // else -// getitem 12699,5; //Tikbalang_Belt +// getitem Tikbalang_Belt,5; close; } else { mes "[Young Fortune Teller]"; @@ -6587,7 +6587,7 @@ sec_in02,10,16,5 script Bakonawa Intro Helper 4_MASK_SMOKEY,{ case 4: mes "[Briquet Scheme]"; mes "Here you go!"; - getitem 6520,17; //Lost_Belongings + getitem Lost_Belongings,17; close; case 5: mes "[Briquet Scheme]"; @@ -6745,7 +6745,7 @@ function script F_Malaya_Nurse { return; L_Weight: - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait !! -"; mes "- You have too many items. -"; mes "- Cannot receive item. -"; @@ -6790,13 +6790,13 @@ L_Warp: L_Reward: // if (IsPremiumPcCafe == 10) { - getitem 6499,5; //Ancient_Grudge - getitem 6497,10; //Lesser_Agimat + getitem Ancient_Grudge,5; + getitem Lesser_Agimat,10; // } else { -// getitem 6499,3; //Ancient_Grudge -// getitem 6497,5; //Lesser_Agimat +// getitem Ancient_Grudge,3; +// getitem Lesser_Agimat,5; // } - getitem 617,1; //Old_Violet_Box + getitem Old_Violet_Box,1; getexp 1000000,0; return; @@ -7040,7 +7040,7 @@ malaya,55,72,4 script Nurse#ma_n1 4_F_NURSE,{ end; } } else if (malaya_bang == 1) { - if (countitem(930) > 1) { + if (countitem(Rotten_Bandage) > 1) { mes "[Nurse Las]"; mes "Oh......"; mes "I know they're effective but... Not so tempting."; @@ -7057,7 +7057,7 @@ malaya,55,72,4 script Nurse#ma_n1 4_F_NURSE,{ mes "[Nurse Las]"; mes "*Squish*"; mes "*Squelch*"; - delitem 930,2; //Rotten_Bandage + delitem Rotten_Bandage,2; malaya_bang = 2; close2; cutin "",255; @@ -7916,7 +7916,7 @@ malaya,53,68,4 script Bushes#ma CLEAR_NPC,{ } - script Suspicious Wooden Stick::MalayaStick -1,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "- Wait !! -"; mes "- You have too many items. -"; mes "- Cannot receive item. -"; @@ -7944,13 +7944,13 @@ malaya,53,68,4 script Bushes#ma CLEAR_NPC,{ if (rand(2)) { malaya_bang = 15; changequest 11295,11296; - getitem 6497,1; //Lesser_Agimat + getitem Lesser_Agimat,1; donpcevent "Tent"+replacestr(strnpcinfo(3),"MalayaStick","")+"#ma::OnEnable"; next; mes "Better show Las the talisman."; close; } else { - getitem 6497,1; //Lesser_Agimat + getitem Lesser_Agimat,1; donpcevent "Tent"+replacestr(strnpcinfo(3),"MalayaStick","")+"#ma::OnEnable"; close; } @@ -8414,7 +8414,7 @@ OnDisableNPC: } ma_fild01,179,260,2 script Festival Helper Boy#pin 4_M_BARYO_BOY,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) { mes "Cannot proceed because you have too many items in your possession."; close; } @@ -8636,7 +8636,7 @@ ma_fild01,179,260,2 script Festival Helper Boy#pin 4_M_BARYO_BOY,{ } ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) { mes "Cannot proceed because you have too many items in your possession."; close; } @@ -8771,7 +8771,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{ .@name$ = "Bakonawa"; break; } - if (countitem(6499) < 10 || countitem(.@spirit) == 0 || countitem(.@doll) == 0) { + if (countitem(Ancient_Grudge) < 10 || countitem(.@spirit) == 0 || countitem(.@doll) == 0) { mes "[Tattooist]"; mes "I think you are short on materials."; mes "Need 10 Ancient Grudges, 1 Piece of "+.@name$+"'s Spirit, and 1 "+.@name$+" Doll to create a ^EE1D11"+.@name$+" Agimat Tattoo^000000."; @@ -8797,7 +8797,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{ next; if(select("Aren't you going to start?:... ... ..") == 1) { emotion e_an; - delitem 6499,5; //Ancient_Grudge + delitem Ancient_Grudge,5; mes "[Tattooist]"; mes "Oh no, now you ruined it."; mes "I cannot draw a Tattoo for someone like you who doesn't understand art. You can take back the remaining materials."; @@ -8819,7 +8819,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{ if(select("Looks good to me.:... ... ..") == 1) { emotion e_an; emotion e_ag; - delitem 6499,5; //Ancient_Grudge + delitem Ancient_Grudge,5; mes "[Tattooist]"; mes "Ergh! I told you not to interrupt!"; next; @@ -8841,7 +8841,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{ if(select("When will it be done?:... ... ..") == 1) { emotion e_an; emotion e_ag; - delitem 6499,5; //Ancient_Grudge + delitem Ancient_Grudge,5; mes "[Tattooist]"; mes "Ergh! I told you not to interrupt!"; next; @@ -8883,7 +8883,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{ mes "The Piece of "+.@name$+"'s Spirit is shattered into powder. The Tattooist's hands are glowing."; next; if(select("Why did you break the pieces...:... ... ..") == 1) { - delitem 6499,5; //Ancient_Grudge + delitem Ancient_Grudge,5; delitem .@spirit,1; emotion e_an; emotion e_ag; @@ -8920,7 +8920,7 @@ ma_fild01,172,223,6 script Tattooist#pin 4_M_BARYO_OLD,{ mes "[Tattooist]"; mes "Ha ha. It came out great."; next; - delitem 6499,10; //Ancient_Grudge + delitem Ancient_Grudge,10; delitem .@spirit,1; delitem .@doll,1; getitem .@tattoo,1; diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt index f09b20023..d89333583 100644 --- a/npc/re/quests/quests_mora.txt +++ b/npc/re/quests/quests_mora.txt @@ -264,7 +264,7 @@ mid_camp,148,222,4 script Theore#ep14_1_bs 4_F_SCIENCE,3,3,{ mes "Or they may have left something behind."; close; } else if (ep14_1_bs2 < 7) { - if (countitem(6390) == 0) { + if (countitem(Small_Pocket) == 0) { mes "[Theore]"; mes "They may have left a clue, can you please look around the area?"; mes "If they were looking through the bushes, they may have been looking for something they've lost."; @@ -350,7 +350,7 @@ mid_camp,148,222,4 script Theore#ep14_1_bs 4_F_SCIENCE,3,3,{ mes "Oh yeah!!!!"; ep14_1_bs = 19; getexp 0,200000; - getitem 6380,5; //Mora_Coin + getitem Mora_Coin,5; close; } else if (ep14_1_bs > 18) { mes "[Theore]"; @@ -414,8 +414,8 @@ OnDisable: OnTouch: .@i = atoi(charat(strnpcinfo(2),9)); if (ep14_1_bs == .@i+3) { - if (countitem(6390) == 0) { - if (checkweight(1201,1) == 0) { + if (countitem(Small_Pocket) == 0) { + if (checkweight(Knife,1) == 0) { mes " - Hang on there !! -"; mes " - You are carrying too many kinds of items - "; mes " - to receive any more items. - "; @@ -438,7 +438,7 @@ OnTouch: if (ep14_1_bs2 > 0 && ep14_1_bs2 < 4) ep14_1_bs2 += 3; changequest 11184,11185; - getitem 6390,1; //Small_Pocket + getitem Small_Pocket,1; close; } else { mes "- You didn't find anything. -"; @@ -659,7 +659,7 @@ splendide,119,138,4 script Kusmi#ep14_1_bs 4_F_FAIRYKID5,{ mes "And who mayy you be?"; next; select("Show the pouch."); - if (countitem(6390) == 0) { + if (countitem(Small_Pocket) == 0) { mes "[Kusmi]"; mes "What is it that you want to show mee?"; close; @@ -679,7 +679,7 @@ splendide,119,138,4 script Kusmi#ep14_1_bs 4_F_FAIRYKID5,{ mes "[Kusmi]"; mes "Promise me you won't tell anyonee!"; mes "If you can promise, please talk to me againn."; - delitem 6390,1; //Small_Pocket + delitem Small_Pocket,1; ep14_1_bs = 10; changequest 11187,11188; close; @@ -854,7 +854,7 @@ splendide,304,295,4 script Theodore#ep14_1_bs 4_M_FAIRYKID4,{ mes "Who are you!"; next; select("Show the pouch."); - if (countitem(6390) == 0) { + if (countitem(Small_Pocket) == 0) { mes "[Theodore]"; mes "Hmm? What do you mean?"; close; @@ -874,7 +874,7 @@ splendide,304,295,4 script Theodore#ep14_1_bs 4_M_FAIRYKID4,{ mes "[Theodore]"; mes "If you really want to hear the answer, talk to me again."; mes "I need time to think."; - delitem 6390,1; //Small_Pocket + delitem Small_Pocket,1; ep14_1_bs = 10; changequest 11187,11194; close; @@ -1036,7 +1036,7 @@ splendide,168,301,4 script Pauchon#ep14_1_bs 4_F_FAIRYKID4,{ mes "What can I do for you, sir?"; next; select("Show the pouch."); - if (countitem(6390) == 0) { + if (countitem(Small_Pocket) == 0) { mes "[Pauchon]"; mes "Huh? Do you see something?"; mes "I don't see anything..."; @@ -1054,7 +1054,7 @@ splendide,168,301,4 script Pauchon#ep14_1_bs 4_F_FAIRYKID4,{ mes "That's not easy for me to answer..."; mes "I do appreciate you finding my pouch.... Hmm..."; mes "Please give me some time to think.."; - delitem 6390,1; //Small_Pocket + delitem Small_Pocket,1; ep14_1_bs = 10; changequest 11187,11200; close; @@ -1383,7 +1383,7 @@ mora,55,124,2 script Jones#ep14_1_bs 4_M_MERCAT1,{ close; } } else if (ep14_1_bs == 16) { - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "[Jones]"; mes "You have too many kinds of items. Please lighten your load and come back."; close; @@ -1397,7 +1397,7 @@ mora,55,124,2 script Jones#ep14_1_bs 4_M_MERCAT1,{ mes "Please take good care of it."; mes "It's for Daphrer in Splendide."; ep14_1_bs = 17; - getitem 6391,1; //Splendid_Supply_Kit + getitem Splendid_Supply_Kit,1; changequest 11207,11208; close; } else if (ep14_1_bs == 17) { @@ -1426,7 +1426,7 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 4_F_FAIRY,{ mes "DRHSfhsdfGSDH FGkkmvoifk DFG DFHshfeksmn fgg FDbbd fjnnvk n skncki dfgd F FHdfkdfjkmv"; close; } - if (countitem(6391)) { + if (countitem(Splendid_Supply_Kit)) { mes "[Daphrer]"; mes "Oh...."; mes "I've been waiting for you."; @@ -1436,14 +1436,14 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 4_F_FAIRY,{ next; mes "[Daphrer]"; mes "This is probably too small to be a reward, but please accept this as a sign of my gratitude."; - delitem 6391,1; //Splendid_Supply_Kit + delitem Splendid_Supply_Kit,1; if (ep14_1_bs == 17) { ep14_1_bs = 18; completequest 11208; getexp 0,500000; - getitem 6380,5; //Mora_Coin + getitem Mora_Coin,5; } else - getitem 6380,2; //Mora_Coin + getitem Mora_Coin,2; close; } if (ep14_1_bs == 17) { @@ -1458,7 +1458,7 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 4_F_FAIRY,{ ep14_1_bs = 18; completequest 11208; getexp 0,200000; - getitem 6380,2; //Mora_Coin + getitem Mora_Coin,2; close; } mes "[Daphrer]"; @@ -1524,7 +1524,7 @@ OnInit: } dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) { mes "- You have too many items to do this quest. -"; close; } @@ -1543,7 +1543,7 @@ dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{ mes "You promised to take the box of Bradium to Cheshire, who will be waiting for you near the Crevice of Bifrost."; erasequest 7208; setquest 7210; - getitem 6392,1; //Bradium_Box + getitem Bradium_Box,1; close; case 2: mes "You decided to give up delivering the box."; @@ -1563,7 +1563,7 @@ dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{ mes "You decide to take it to the location shown on the piece of paper."; completequest 7206; setquest 7207; - getitem 6392,1; //Bradium_Box + getitem Bradium_Box,1; close; } } else if (questprogress(7207) != 2) { @@ -1578,13 +1578,13 @@ dic_dun01,274,114,0 script Stacked Boxes of Goods CLEAR_NPC,{ } bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 1000) { mes "- You have too many items to do this quest. -"; close; } cutin "ep13_cheshire",1; if (questprogress(7209)) { - if (countitem(6090) < 20) { + if (countitem(Purified_Bradium) < 20) { mes "[Cheshire]"; mes "Bring me 20 pieces of refined Bradium."; mes "In exchange for the box, which you carelessly and irresponsibly sold to somebody."; @@ -1604,17 +1604,17 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{ mes "You made a mistake of losing the box, you have to be content with this."; mes "And starting tomorrow, get the box here intact."; mes "Every day."; - delitem 6090,20; //Purified_Bradium + delitem Purified_Bradium,20; erasequest 7209; setquest 7208; - getitem 6304,1; //Sapa_Feat_Cert + getitem Sapa_Feat_Cert,1; close2; cutin "",255; end; } callsub L_CheckPlaytime; if (questprogress(7210)) { - if (countitem(6392) == 0) + if (countitem(Bradium_Box) == 0) callsub L_LostQuest,7210; else { mes "[Cheshire]"; @@ -1628,8 +1628,8 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{ mes "Now, leave this place before the Laphines grow suspicious."; erasequest 7210; setquest 7208; - delitem 6392,1; //Bradium_Box - getitem 6304,1; //Sapa_Feat_Cert + delitem Bradium_Box,1; + getitem Sapa_Feat_Cert,1; getexp 50000,40000; close2; cutin "",255; @@ -1707,7 +1707,7 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{ end; } } else if (questprogress(7207) != 2) { - if (countitem(6392) == 0) + if (countitem(Bradium_Box) == 0) callsub L_LostQuest,7207; else { mes "[Cheshire]"; @@ -1755,10 +1755,10 @@ bif_fild01,335,168,3 script Cheshire#ep14_1_xq04 4_M_CATMAN1,{ mes "Well, I'll leave the matter to you."; mes "Try to bring the box to me every day."; mes "Okay?"; - delitem 6392,1; //Bradium_Box + delitem Bradium_Box,1; completequest 7207; setquest 7208; - getitem 6304,1; //Sapa_Feat_Cert + getitem Sapa_Feat_Cert,1; getexp 50000,40000; next; mes "[Cheshire]"; @@ -2101,9 +2101,9 @@ mora,117,66,3 script Euridi#pa 4_F_MORAFINE2,{ mes "Let's go show the letter to Pitt."; changequest 1112,1113; - //delitem 6383,30; //Clue_Of_Lope - .@count = countitem(6383); - if (.@count) delitem 6383,((.@count > 30)?30:.@count); //Clue_Of_Lope + //delitem Clue_Of_Lope,30; + .@count = countitem(Clue_Of_Lope); + if (.@count) delitem Clue_Of_Lope,((.@count > 30)?30:.@count); ep14_1_rope = 5; close; @@ -2148,8 +2148,8 @@ mora,117,66,3 script Euridi#pa 4_F_MORAFINE2,{ changequest 1116,1117; ep14_1_rope = 10; - //delitem 6384,1; //Ring_Of_Lope - if (countitem(6384)) delitem 6384,1; //Ring_Of_Lope + //delitem Ring_Of_Lope,1; + if (countitem(Ring_Of_Lope)) delitem Ring_Of_Lope,1; close; } @@ -2239,7 +2239,7 @@ mora,115,68,3 script Euridi's Friend#pa 4_F_MORAFINE1,{ mes "Maybe we're responsible"; mes "for what happened."; next; - if (checkweight(6380,1) == 0) { + if (checkweight(Mora_Coin,1) == 0) { mes "[Euridi's Friend]"; mes "You have too many things with you."; mes "Can you throw out some of them?"; @@ -2251,7 +2251,7 @@ mora,115,68,3 script Euridi's Friend#pa 4_F_MORAFINE1,{ completequest 1117; ep14_1_rope = 11; getexp 1000000,2000000; - getitem 6380,10; //Mora_Coin + getitem Mora_Coin,10; close; } else if (ep14_1_rope > 10) { mes "[Euridi's Friend]"; @@ -2296,7 +2296,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{ mes "I hate Laphines!"; close; } else if (ep14_1_rope == 3) { - if (countitem(6383) < 30) { + if (countitem(Clue_Of_Lope) < 30) { mes "[Pitt]"; mes "This is all because of"; mes "the stupid guide!"; @@ -2316,7 +2316,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{ mes "So I swallow it like this,"; mes "and voila! Evidence gone!"; mes "Now I can sleep soundly, thank you!"; - delitem 6383,5; //Clue_Of_Lope + delitem Clue_Of_Lope,5; close; case 2: mes "[Pitt]"; @@ -2337,7 +2337,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{ mes "This is so totally unfair!"; close; } else if (ep14_1_rope == 5) { - if (checkweight(6384,1) == 0) { + if (checkweight(Ring_Of_Lope,1) == 0) { mes "[Pitt]"; mes "What are you, a professional mover?"; mes "Stomping about with a ton of stuff on your back!"; @@ -2390,7 +2390,7 @@ mora,65,145,3 script Pitt#pa 4_M_LYINGDOG,{ mes "in whatever form he might be in."; changequest 1113,1114; ep14_1_rope = 6; - getitem 6384,1; //Ring_Of_Lope + getitem Ring_Of_Lope,1; close; } else if (ep14_1_rope == 6 || ep14_1_rope == 7) { mes "[Pitt]"; @@ -2528,7 +2528,7 @@ OnTouch: //== Find the Research Tools :: ep14_1_muk ================= mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) { mes "^FF0000- Warning message -"; mes "- Hang on there!! -"; mes "- You have too many items -"; @@ -2681,7 +2681,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ emotion e_paper; close; } else if (ep14_1_muk == 1) { - if (questprogress(5016) && countitem(6385) == 0) { + if (questprogress(5016) && countitem(Research_Tool_Bag) == 0) { mes "[Raffle Researcher]"; mes "You're back? Where are my research tools?"; emotion e_what; @@ -2716,7 +2716,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "I've always wanted a capable research assistant,"; mes "but it hasn't been easy to find one."; next; - if (checkweight(6380,1) == 0) { + if (checkweight(Mora_Coin,1) == 0) { mes "[Raffle Researcher]"; mes "By the way... Was it that difficult to"; mes "reclaim the research tools?"; @@ -2728,9 +2728,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "It must've been hard work to retrieve the tools."; mes "Why don't you take this and go to the inn"; mes "and rest up? There's nothing for you to do right now."; - delitem 6385,1; //Research_Tool_Bag + delitem Research_Tool_Bag,1; ep14_1_muk = 2; - getitem 6380,1; //Mora_Coin + getitem Mora_Coin,1; erasequest 5016; close; } else if (ep14_1_muk == 2) { @@ -2850,7 +2850,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "You can collect the samples"; mes "from that area."; next; - if (MaxWeight - Weight < 100 || checkweight(1092,10) == 0) { + if (MaxWeight - Weight < 100 || checkweight(Empty_Cylinder,10) == 0) { mes "[Raffle Researcher]"; mes "You are carrying too much weight."; mes "I can't give you the sample tube."; @@ -2861,12 +2861,12 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "Here is the sample tube for collecting."; mes "Go and collect 10 samples!"; ep14_1_muk = 7; - getitem 1092,10; //Empty_Cylinder + getitem Empty_Cylinder,10; erasequest 5018; setquest 5019; close; } else if (ep14_1_muk == 7) { - if (questprogress(5019) && countitem(6386) < 10) { + if (questprogress(5019) && countitem(Bathtub_R_Sample) < 10) { mes "[Raffle Researcher]"; mes "Have you collected the samples yet?"; mes "Please hurry up."; @@ -2878,7 +2878,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "from that area."; close; } - if (checkweight(6380,1) == 0) { + if (checkweight(Mora_Coin,1) == 0) { mes "[Raffle Researcher]"; mes "I know that you've done a lot..."; mes "but you are carrying too many things."; @@ -2894,8 +2894,8 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "with the bath water samples."; mes "It usually takes about 24 hours."; mes "Why don't you come back then?"; - delitem 6386,10; //Bathtub_R_Sample - getitem 6380,1; //Mora_Coin + delitem Bathtub_R_Sample,10; + getitem Mora_Coin,1; ep14_1_muk = 8; erasequest 5019; setquest 5020; @@ -2966,7 +2966,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "As humans say,"; mes "I've been waiting forever for them."; next; - if (checkweight(6380,1) == 0) { + if (checkweight(Mora_Coin,1) == 0) { mes "[Raffle Researcher]"; mes "I know that you've done a lot..."; mes "but you are carrying too many things."; @@ -2981,7 +2981,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "Why don't you go for a walk"; mes "and come back then?"; delitem .@item,10; - getitem 6380,1; //Mora_Coin + getitem Mora_Coin,1; erasequest .@quest; setquest 5023; close; @@ -3065,7 +3065,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "like you did collecting"; mes "the bath water samples."; ep14_1_muk = 10; - getitem 1092,1; //Empty_Cylinder + getitem Empty_Cylinder,1; erasequest 5023; setquest 5024; next; @@ -3077,7 +3077,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ close; } } else if (ep14_1_muk == 10) { - if (countitem(6389) == 0) { + if (countitem(Puddle_R_Sample) == 0) { mes "[Raffle Researcher]"; mes "You still haven't gone to collect the puddle sample?"; mes "Go to the puddle to the east of the village,"; @@ -3096,9 +3096,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "It's not completely to the west..."; mes "The puddle should be at 7 o'clock"; mes "from the village."; - delitem 6389,1; //Puddle_R_Sample + delitem Puddle_R_Sample,1; ep14_1_muk = 11; - getitem 1092,1; //Empty_Cylinder + getitem Empty_Cylinder,1; changequest 5024,5025; next; mes "[Raffle Researcher]"; @@ -3106,7 +3106,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "Good luck!"; close; } else if (ep14_1_muk == 11) { - if (countitem(6389) == 0) { + if (countitem(Puddle_R_Sample) == 0) { mes "[Raffle Researcher]"; mes "You still haven't gone to collect the puddle sample?"; mes "Go to the puddle to the west of the village,"; @@ -3124,9 +3124,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "Get me a sample from the puddle from the south."; mes "The puddle to the south"; mes "should be... at 6 o'clock from here."; - delitem 6389,1; //Puddle_R_Sample + delitem Puddle_R_Sample,1; ep14_1_muk = 12; - getitem 1092,1; //Empty_Cylinder + getitem Empty_Cylinder,1; changequest 5025,5026; next; mes "[Raffle Researcher]"; @@ -3135,7 +3135,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "the sample is not damaged."; close; } else if (ep14_1_muk == 12) { - if (countitem(6389) == 0) { + if (countitem(Puddle_R_Sample) == 0) { mes "You still haven't gone to collect the puddle sample?"; mes "Get me a sample from the puddle from the south."; mes "The puddle to the south is located"; @@ -3156,9 +3156,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "Please get me the sample from the puddle to the north."; mes "It's not completely to the north."; mes "it's at 11 o'clock from the village."; - delitem 6389,1; //Puddle_R_Sample + delitem Puddle_R_Sample,1; ep14_1_muk = 13; - getitem 1092,1; //Empty_Cylinder + getitem Empty_Cylinder,1; changequest 5026,5027; next; mes "[Raffle Researcher]"; @@ -3166,7 +3166,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "Be careful."; close; } else if (ep14_1_muk == 13) { - if (countitem(6389) == 0) { + if (countitem(Puddle_R_Sample) == 0) { mes "[Raffle Researcher]"; mes "You still haven't gone to collect the puddle sample?"; mes "Please get me a sample from the puddle to the north."; @@ -3185,7 +3185,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "looking at the relationship between"; mes "these puddles and the bath."; next; - if (checkweight(6380,4) == 0) { + if (checkweight(Mora_Coin,4) == 0) { mes "[Raffle Researcher]"; mes "I know that you've done a lot..."; mes "but you are carrying too many things."; @@ -3197,9 +3197,9 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "If I finish this experiment..."; mes "There's probably nothing else to do. While I run the experiment,"; mes "why don't you go and entertain yourself?"; - delitem 6389,1; //Puddle_R_Sample + delitem Puddle_R_Sample,1; ep14_1_muk = 14; - getitem 6380,4; //Mora_Coin + getitem Mora_Coin,4; erasequest 5027; setquest 5028; next; @@ -3312,7 +3312,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ mes "But thank you anyhow. I've been researching for a while,"; mes "but I've never met such an excellent research assistant as you."; next; - if (MaxWeight - Weight < 100 || checkweight(1092,1) == 0) { + if (MaxWeight - Weight < 100 || checkweight(Empty_Cylinder,1) == 0) { mes "[Raffle Researcher]"; mes "Hmm? By the way..."; mes "You are carrying too much weight."; @@ -3329,7 +3329,7 @@ mora,31,138,6 script Raffle Researcher#ep14 4_M_RAFLE_OR,{ ep14_1_muk = 15; completequest 5028; getexp 1000000,4000000; - getitem 6380,30; //Mora_Coin + getitem Mora_Coin,30; next; mes "[Raffle Researcher]"; mes "If we happen to run into each other again,"; @@ -3455,7 +3455,7 @@ L_ShowReport: next; return; L_CheckWeight: - if (MaxWeight - Weight < 100 || checkweight(1092,1) == 0) { + if (MaxWeight - Weight < 100 || checkweight(Empty_Cylinder,1) == 0) { mes "[Raffle Researcher]"; mes "You are carrying too much weight."; mes "I can't give you the sample tube."; @@ -3466,7 +3466,7 @@ L_CheckWeight: } mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 500) { mes "^FF0000- Warning message -"; mes "- Hang on there!! -"; mes "- You have too many items -"; @@ -3587,7 +3587,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ mes "You tell me my family do okay."; close; } else if (questprogress(5034) == 1) { - if (MaxWeight - Weight < 100 || checkweight(5792,1) == 0) { + if (MaxWeight - Weight < 100 || checkweight(Fish_Pin,1) == 0) { mes "[Fishee]"; mes "You have lots."; mes "I give. To you."; @@ -3610,7 +3610,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ mes "No. Someone left it."; mes "... ... Good guy. I give you."; completequest 5034; - getitem 5792,1; //Fish_Pin + getitem Fish_Pin,1; close; } else if (questprogress(5034) == 2) { mes "[Fishee]"; @@ -3730,11 +3730,11 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ if (.@npc_hp <= 0) { mes "You won. The unidentified creature is unconscious."; next; - if (questprogress(5016) && countitem(6385) == 0) { + if (questprogress(5016) && countitem(Research_Tool_Bag) == 0) { mes "What will you do?"; next; select("Look for the research tools."); - if (checkweight(6385,1) == 0) { + if (checkweight(Research_Tool_Bag,1) == 0) { mes "You attempted to look for the research tools,"; mes "but you are carrying too many things."; mes "You'd better lighten your load"; @@ -3745,7 +3745,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ } mes "Found Researcher Raffle's ^0000FF Research tool ^000000."; ep14_1_goki += 1; - getitem 6385,1; //Research_Tool_Bag + getitem Research_Tool_Bag,1; setquest 5029; next; mes "The creature wakes up and disappears into the dark hole."; @@ -3787,7 +3787,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ end; } if (rand(1,30) == 7) { - if (checkweight(6380,1) == 0) { + if (checkweight(Mora_Coin,1) == 0) { mes "While you were checking the body of the unidentified creature, your fingers touch something. You got lucky, but due to your heavy load you failed to obtain a ^0000FF Mora Coin^000000."; ep14_1_goki += 1; setquest 5029; @@ -3797,7 +3797,7 @@ mora,114,79,0 script Black Shadow#ep14_muk CLEAR_NPC,{ } mes "While you were checking the body of the unidentified creature, your fingers touch something. Lucky. Obtained a ^0000FF Mora Coin^000000."; ep14_1_goki += 1; - getitem 6380,1; //Mora_Coin + getitem Mora_Coin,1; setquest 5029; next; mes "The creature wakes up and disappears into the dark hole."; @@ -4104,13 +4104,13 @@ OnFullon: donpcevent strnpcinfo(0)+"::OnDisable"; end; } - if (countitem(6386) >= 10) { + if (countitem(Bathtub_R_Sample) >= 10) { mes "You will not need additional samples."; close2; donpcevent strnpcinfo(0)+"::OnDisable"; end; } - if (countitem(1092) == 0) { + if (countitem(Empty_Cylinder) == 0) { mes "To obtain a sample, you need a sample tube."; close2; donpcevent strnpcinfo(0)+"::OnDisable"; @@ -4120,7 +4120,7 @@ OnFullon: next; progressbar "ffff00",3; if (!rand(3)) { - if (checkweight(6386,1) == 0) { + if (checkweight(Bathtub_R_Sample,1) == 0) { mes "You have so many items"; mes "that it is difficult to collect samples."; mes "You will have to lighten your load and come back."; @@ -4129,8 +4129,8 @@ OnFullon: end; } mes "Bath water sample collection complete."; - delitem 1092,1; //Empty_Cylinder - getitem 6386,1; //Bathtub_R_Sample + delitem Empty_Cylinder,1; + getitem Bathtub_R_Sample,1; } else { mes "Bath water sample collection failed."; percentheal 5,5; @@ -4245,27 +4245,27 @@ mora,118,86,0 duplicate(???#mora) ???#ep14_muk05 CLEAR_NPC,2,2 setarray .@dir$[1],"east","west","south","north"; if (questprogress(.@quest1[.@i])) { - if (countitem(6389) == 0) { + if (countitem(Puddle_R_Sample) == 0) { mes "This appears to be the puddle to the "+.@dir$[.@i]; mes "that the researcher talked about."; mes "Will you collect a sample?"; next; if(select("Collect a sample.:Don't collect a sample.") == 2) close; - if (countitem(1092) == 0) { + if (countitem(Empty_Cylinder) == 0) { mes "You have no empty sample tubes."; close; } progressbar "ffff00",5; - if (checkweight(6389,1) == 0) { + if (checkweight(Puddle_R_Sample,1) == 0) { mes "You have so many items"; mes "that it is difficult to collect samples."; mes "You will have to lighten your load and come back."; close; } mes "You have collected a sample from the puddle to the "+.@dir$[.@i]+"."; - delitem 1092,1; //Empty_Cylinder - getitem 6389,1; //Puddle_R_Sample + delitem Empty_Cylinder,1; + getitem Puddle_R_Sample,1; close; } else { mes "You already have a sample."; @@ -4377,7 +4377,7 @@ bif_fild02,113,340,0 duplicate(#mora_puddle) Puddle#ep14_muk04 CLEAR_NPC //== Mora Daily Quests :: ep14_1_dealer ==================== mora,133,80,6 script Elephantine#pa0829 4_ELEPHANT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of things with you to do that. Throw out some of them and try again."; close; } @@ -4485,7 +4485,7 @@ mora,133,80,6 script Elephantine#pa0829 4_ELEPHANT,{ } mora,115,98,0 script Hotcha#pa0829 4_ELEPHANT,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of things with you to do that. Throw out some of them and try again."; close; } @@ -4548,7 +4548,7 @@ mora,115,98,0 script Hotcha#pa0829 4_ELEPHANT,{ getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0); else getexp 0, ((JobLevel < 70)?JobLevel * JobLevel * (110/100) * 10:0); - getitem 6380,3; //Mora_Coin + getitem Mora_Coin,3; close; } } @@ -4560,7 +4560,7 @@ mora,115,98,0 script Hotcha#pa0829 4_ELEPHANT,{ } mora,119,103,4 script Bow-wow#pa0829 4_M_DOGTRAVELER,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of things with you to do that. Throw out some of them and try again."; close; } @@ -4668,7 +4668,7 @@ mora,119,103,4 script Bow-wow#pa0829 4_M_DOGTRAVELER,{ } mora,119,118,4 script General Good Dealer#pa0 4_M_RAFLE_GR,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of things with you to do that. Throw out some of them and try again."; close; } @@ -4749,14 +4749,14 @@ L_CheckQuest: getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0); else getexp 0, ((JobLevel < 70)?JobLevel * JobLevel * (110/100) * 10:0); - getitem 6380,1; //Mora_Coin + getitem Mora_Coin,1; close; } return; } mora,124,108,7 script Woof-grrr#pa0829 4_M_DOGTRAVELER2,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of things with you to do that. Throw out some of them and try again."; close; } @@ -4864,7 +4864,7 @@ mora,124,108,7 script Woof-grrr#pa0829 4_M_DOGTRAVELER2,{ } mora,127,112,4 script Commodities Dealer#pa08 4_F_RAFLE_PK,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of things with you to do that. Throw out some of them and try again."; close; } @@ -4945,14 +4945,14 @@ L_CheckQuest: getexp 0, ((JobLevel < 50)?JobLevel * JobLevel * (110/100) * 50:0); else getexp 0, ((JobLevel < 70)?JobLevel * JobLevel * (110/100) * 10:0); - getitem 6380,1; //Mora_Coin + getitem Mora_Coin,1; close; } return; } mora,170,101,4 script Soul Guide#pa0829 4_F_DOGTRAVELER,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of things with you to do that. Throw out some of them and try again."; close; } @@ -5135,7 +5135,7 @@ function script mora_remains { next; mes "You picked up "+getarg(2)+" Mora Coins next to the remains."; specialeffect2 EF_STEAL; - getitem 6380,getarg(2); //Mora_Coin + getitem Mora_Coin,getarg(2); } close; } @@ -5179,13 +5179,13 @@ mora,116,165,5 script Knights Boss#mo 4_M_RAFLE_VI,{ close; } else if (.@playtime == 2) erasequest 1119; - if (checkweight(6380,1) == 0) { + if (checkweight(Mora_Coin,1) == 0) { mes "[Order of the Knights Boss]"; mes "You have a lot of things with you!"; mes "Why not dump some of them in my pocket?"; close; } - if (countitem(12561) >= 200) { + if (countitem(Mysterious_Seed) >= 200) { mes "[Order of the Knights Boss]"; mes "So you've brought back"; mes "200 ^FF0000Mysterious Seeds^000000."; @@ -5198,8 +5198,8 @@ mora,116,165,5 script Knights Boss#mo 4_M_RAFLE_VI,{ mes "You made sure everyone knows"; mes "it's the Order of the Neighborhood Knights's work, right?"; setquest 1119; - delitem 12561,200; //Mysterious_Seed - getitem 6380,1; //Mora_Coin + delitem Mysterious_Seed,200; + getitem Mora_Coin,1; close; } mes "[Order of the Knights Boss]"; @@ -5233,7 +5233,7 @@ mora,116,165,5 script Knights Boss#mo 4_M_RAFLE_VI,{ } mora,114,163,5 script Knights Head#mo 4_M_RAFLE_OR,{ - if (checkweight(6380,1) == 0) { + if (checkweight(Mora_Coin,1) == 0) { mes "[Order of the Knights Head]"; mes "You have a lot of things with you!"; mes "Why not dump some of them in my pocket?"; @@ -5300,7 +5300,7 @@ mora,114,163,5 script Knights Head#mo 4_M_RAFLE_OR,{ close; } } else if (ep14_1_rope == 12) { - if (countitem(6383) < 30) { + if (countitem(Clue_Of_Lope) < 30) { mes "[Order of the Knights Head]"; mes "You still haven't gathered"; mes "^0000FFLope's Clues^000000?"; @@ -5329,9 +5329,9 @@ mora,114,163,5 script Knights Head#mo 4_M_RAFLE_OR,{ mes "It's too much for us."; mes "It's no use trying to do it."; completequest 1118; - delitem 6383,30; //Clue_Of_Lope + delitem Clue_Of_Lope,30; ep14_1_rope = 13; - getitem 6380,2; //Mora_Coin + getitem Mora_Coin,2; getexp 1000000,1000000; close; } else if (ep14_1_rope > 12) { |