From 7eea5d3e6051be189736b94e13be847159c87cd7 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Thu, 10 Dec 2015 15:39:41 +0530 Subject: ItemID to Constant: re Folder --- npc/re/jobs/novice/academy.txt | 306 +++++++++++++++++----------------- npc/re/jobs/novice/novice.txt | 82 ++++----- npc/re/jobs/novice/supernovice_ex.txt | 16 +- 3 files changed, 202 insertions(+), 202 deletions(-) (limited to 'npc/re/jobs/novice') diff --git a/npc/re/jobs/novice/academy.txt b/npc/re/jobs/novice/academy.txt index f7b0b60a6..b33a9d1b6 100644 --- a/npc/re/jobs/novice/academy.txt +++ b/npc/re/jobs/novice/academy.txt @@ -624,7 +624,7 @@ izlude_d,198,213,3 duplicate(Captain Carocc#iz) Captain Carocc#iz_d 4_M_REINDEER //== Criatura Academy Staff ================================ // - Teaches the player about the Inventory. izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{ - if (!checkweight(1304, 3)) { + if (!checkweight(Orcish_Axe, 3)) { mes "Quest cannot be continued due to the overfilled inventory."; mes "Continue the quest after organizing the inventory."; close; @@ -642,7 +642,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{ completequest 7472; getexp 200, 0; setquest 7473; - getitem 531, 1; // Apple_Juice + getitem Apple_Juice, 1; // Apple_Juice next; mes "[Hun]"; mes "You can open the Item window by clicking on the 'item' icon on top left portion of the screen."; @@ -690,7 +690,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{ mes "It's joyous to see new adventurers starting out."; mes "You want something to drink while you are resting?"; setquest 7473; - getitem 531, 1; // Apple_Juice + getitem Apple_Juice, 1; // Apple_Juice next; mes "[Hun]"; mes "Right clicking on the item icon ^4d4dffon the basic item window at the upper left corner brings up the detailed info on the item"; @@ -719,7 +719,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{ mes "Ok now ^4d4dffdrink the apple juice that I gave you^000000."; close; } else if (questprogress(7473) == 1) { - if (countitem(531) > 0) { + if (countitem(Apple_Juice) > 0) { mes "[Hun]"; mes "Consume the apple juice that I gave you in your inventory."; mes "Then we'll talk."; @@ -734,7 +734,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{ mes "I want to give you more but that was the last of it"; mes "Anyways here's some potions. They'll come in handy when you start fighting."; completequest 7473; - getitem 569, 30; // Novice_Potion + getitem Novice_Potion, 30; // Novice_Potion getexp 200, 0; next; mes "[Hun]"; @@ -753,7 +753,7 @@ izlude,122,207,3 script Criatura Academy Staff#0 4_M_KHKYEL,3,3,{ mes "I want to give you more but that was the last of it"; mes "Anyways here's some potions. They'll come in handy when you start fighting."; completequest 7473; - getitem 569, 30; // Novice_Potion + getitem Novice_Potion, 30; // Novice_Potion getexp 200, 0; next; mes "[Hun]"; @@ -944,7 +944,7 @@ izlude_d,122,207,3 duplicate(Criatura Academy Staff#0) Criatura Academy Staff#d //== Information Staff ===================================== // - Teaches the player about the Mini-Map through a quick quest. izlude,120,207,4 script Information Staff#0 8W_SOLDIER,{ - if (!checkweight(1304, 3)) { + if (!checkweight(Orcish_Axe, 3)) { mes "Quest cannot be continued due to the invenory being full."; mes "Please try it again after re-organizing your items."; close; @@ -1243,9 +1243,9 @@ izlude,120,207,4 script Information Staff#0 8W_SOLDIER,{ erasequest 7476; erasequest 7477; getexp 300, 20; - getitem 12323, 20; // N_Fly_Wing - getitem 12324, 10; // N_Butterfly_Wing - getitem 569, 20; // Novice_Potion + getitem N_Fly_Wing, 20; // N_Fly_Wing + getitem N_Butterfly_Wing, 10; // N_Butterfly_Wing + getitem Novice_Potion, 20; // Novice_Potion next; mes "[Information Staff]"; mes "Have a wonderful journey."; @@ -1897,7 +1897,7 @@ izlude_d,45,94,3 duplicate(Bulletin Board#iz) Bulletin Board#iz_d 4_BULLETIN_BOA //== Therapist (Red Herb Quest + First Aid) ================ // - Gives the player a basic quest and teaches them First Aid. iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{ - if (!checkweight(1304, 3)) { + if (!checkweight(Orcish_Axe, 3)) { mes "Quest cannot be continued due to the overfilled inventory."; mes "Please try it again after organizing the items."; close; @@ -2013,7 +2013,7 @@ iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{ setquest 7478; close; } else if (questprogress(7478) == 1) { - if (countitem(507) > 0) { + if (countitem(Red_Herb) > 0) { mes "[Therapist]"; mes "You got it."; mes "^4d4dffYou could eat this herb and get the benefit of it immediately but it will be more efficient if you make it into a potion.^000000."; @@ -2038,11 +2038,11 @@ iz_ac01,59,43,3 script Therapist#ac 4_M_6THPRIN1,{ mes "You can make it easily by ^4d4dffusing the combination kit or cooking tool^000000."; completequest 7478; getexp 2000, 50; - getitem 569, 30; // Novice_Potion - getitem 11058, 1; // Novice_Combi_Book - getitem 12849, 10; // Combination_Kit - getitem 507, 1; // Red_Herb - getitem 512, 1; // Apple + getitem Novice_Potion, 30; // Novice_Potion + getitem Novice_Combi_Book, 1; // Novice_Combi_Book + getitem Combination_Kit, 10; // Combination_Kit + getitem Red_Herb, 1; // Red_Herb + getitem Apple, 1; // Apple next; mes "[Therapist]"; mes "Not only potions but also other easily attainable things can be turned to various tools. Please make use of them."; @@ -2132,7 +2132,7 @@ izlude_d,141,251,0 duplicate(Cultivated Red Plant#0) Cultivated Red Plant#d RED_ //- Academy Student (Red Herb Quest) - izlude,140,249,7 script Academy Student#0 4_M_NOV_RUMIN,{ - if (!checkweight(1304, 3)) { + if (!checkweight(Orcish_Axe, 3)) { mes "Your inventory is too full so you can't continue this quest."; mes "Please try it again after organizing the items."; close; @@ -2196,7 +2196,7 @@ izlude,140,249,7 script Academy Student#0 4_M_NOV_RUMIN,{ cutin "nov_lumin01.bmp", 2; setquest 7479; completequest 7479; - getitem 507, 1; // Red_Herb + getitem Red_Herb, 1; // Red_Herb next; mes "[Lumin]"; mes "Ah... see it's growing back."; @@ -2446,7 +2446,7 @@ iz_ac01,100,39,5 script Academy Receptionist#1 4_F_01,{ switch(select(.@menu$)) { case 1: if (Class == Job_Novice) { - if (!checkweight(1301, 10)) { + if (!checkweight(Axe, 10)) { mes "- As you are overloaded with too many items, quest can't be continued.-"; close; } @@ -2461,15 +2461,15 @@ iz_ac01,100,39,5 script Academy Receptionist#1 4_F_01,{ mes "Be careful with it as it won't be provided again."; setquest 4269; completequest 4269; - getitem 2352, 1; // Novice_Plate - getitem 2510, 1; // Novice_Hood - getitem 2414, 1; // Novice_Boots - getitem 5055, 1; // Novice_Egg_Cap - getitem 1243, 1; // Novice_Knife - getitem 2112, 1; // Novice_Guard - getitem 18730, 1; // Criatura_Academy_Hat - getitem 6593, 1; // Criatura_Hair_Coupon - getitem 569, 300; // Novice_Potion + getitem Novice_Plate, 1; // Novice_Plate + getitem Novice_Hood, 1; // Novice_Hood + getitem Novice_Boots, 1; // Novice_Boots + getitem Novice_Egg_Cap, 1; // Novice_Egg_Cap + getitem Novice_Knife, 1; // Novice_Knife + getitem Novice_Guard, 1; // Novice_Guard + getitem Criatura_Academy_Hat, 1; // Criatura_Academy_Hat + getitem Criatura_Hair_Coupon, 1; // Criatura_Hair_Coupon + getitem Novice_Potion, 300; // Novice_Potion next; mes "[Receptionist]"; mes "It is your first step to be an adventurer that you have made a visit to us."; @@ -2632,7 +2632,7 @@ iz_ac01,134,47,5 script Trainer Mainz#ac 4_M_KY_KNT,4,4,{ close; } if (questprogress(15000) == 1) { - if (!checkweight(1201, 1) || (MaxWeight - Weight) < 40) { + if (!checkweight(Knife, 1) || (MaxWeight - Weight) < 40) { mes "- Here, just moment!! -"; mes "- As you are overloaded with too many items in your inventory -"; mes "- You can't receive the items anymore -"; @@ -2784,7 +2784,7 @@ iz_ac01,134,47,5 script Trainer Mainz#ac 4_M_KY_KNT,4,4,{ mes "[Mainz]"; mes "Wish you have good luck in your adventures!"; completequest 15000; - getitem 512, 10; // Apple + getitem Apple, 10; // Apple getexp 180, 100; close; } else if (questprogress(4269) && !questprogress(15000)) { @@ -3287,7 +3287,7 @@ iz_ac01_d,36,52,3 duplicate(Odd Novice#ac) Odd Novice#ac_d 4_M_SIT_NOVICE //== Shop Helper =========================================== // - Teaches the player about Shops and Currency. izlude,115,181,5 script Shop Helper#iz 4_F_KHELLISIA,{ - if (!checkweight(1301, 3)) { + if (!checkweight(Axe, 3)) { mes "- Quest cannot be continued due to your overfilled inventory. -"; close; } @@ -3314,14 +3314,14 @@ izlude,115,181,5 script Shop Helper#iz 4_F_KHELLISIA,{ mes "[Shop Helper Leonie]"; mes "Let's start."; } else if(questprogress(1238) == 1) { - if(countitem(501) > 0) { + if(countitem(Red_Potion) > 0) { mes "[Shop Helper Leonie]"; mes "Ok 1 ^0000ffRed Potion^000000."; mes "For now on you can use them at a field in a dungeon."; mes "As a reward I'll give you a couple of ^ff0000Fly Wing^000000s."; completequest 1238; setquest 1239; - getitem 12323, 50; // N_Fly_Wing + getitem N_Fly_Wing, 50; // N_Fly_Wing getexp 1300, 100; close; } @@ -3366,20 +3366,20 @@ izlude,115,181,5 script Shop Helper#iz 4_F_KHELLISIA,{ mes "Go sell one ^ff0000Poor Can^000000 that I gave you to the shop."; completequest 1239; setquest 1240; - getitem 6426,1; // Bad_Can + getitem Bad_Can,1; // Bad_Can close; case 3: mes "[Shop Helper Leonie]"; break; } } else if(questprogress(1240) == 1) { - if(!countitem(6426)) { + if(!countitem(Bad_Can)) { mes "[Shop Helper Leonie]"; mes "You went and sold the ^ff0000Poor Can^000000."; mes "Good work, here's the reward for it."; mes "The things I haven't told you, you will learn throughout your travels."; completequest 1240; - getitem 12324,10; // N_Butterfly_Wing + getitem N_Butterfly_Wing,10; // N_Butterfly_Wing getexp 1000,50; close; } @@ -3712,7 +3712,7 @@ iz_ac01_d,56,68,0,0 monster Lv 10 2408,1,5000,0,0 //== Dacquoise ============================================= // - Teaches the player about Cooking. iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{ - if (!checkweight(1304, 3)) { + if (!checkweight(Orcish_Axe, 3)) { mes "Why are you carrying so much stuff?"; mes "Put them down and come back."; close; @@ -3943,7 +3943,7 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{ mes "[Dacquoise]"; mes "Can I have a look?"; next; - if(questprogress(14154) == 1 && countitem(705) > 0 && countitem(511) > 0 && countitem(507) > 0) { + if(questprogress(14154) == 1 && countitem(Clover) > 0 && countitem(Green_Herb) > 0 && countitem(Red_Herb) > 0) { mes "[Dacquoise]"; mes "You brough what I need! Okay, then I will cook for you as I promised."; mes "Time to move like greased lightning!!!!"; @@ -3958,14 +3958,14 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{ mes "Kya... Sir Orleans!!"; emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2); close2; - delitem 705, 1; // Clover - delitem 511, 1; // Green_Herb - delitem 507, 1; // Red_Herb - getitem 11551, 1; // Savory_Herb_Salad + delitem Clover, 1; // Clover + delitem Green_Herb, 1; // Green_Herb + delitem Red_Herb, 1; // Red_Herb + getitem Savory_Herb_Salad, 1; // Savory_Herb_Salad erasequest 14154; end; } - if(questprogress(14155) == 1 && countitem(512) > 0 && countitem(515) > 1) { + if(questprogress(14155) == 1 && countitem(Apple) > 0 && countitem(Carrot) > 1) { mes "[Dacquoise]"; mes "You brough what I need! Okay, then I will cook for you as I promised."; mes "Time to move like greased lightning!!!!"; @@ -3979,13 +3979,13 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{ mes "If you really want to cook, go and see ^0000ffSir. Charles Orleans at the basement of Prontera castle^000000!! You must be attracted by him!!"; emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2); close2; - delitem 512, 1; // Apple - delitem 515, 2; // Carrot - getitem 11552, 1; // Apple_Carrot_Salad + delitem Apple, 1; // Apple + delitem Carrot, 2; // Carrot + getitem Apple_Carrot_Salad, 1; // Apple_Carrot_Salad erasequest 14155; end; } - if(questprogress(14156) == 1 && countitem(909) > 0 && countitem(914) > 0 && countitem(949) > 0) { + if(questprogress(14156) == 1 && countitem(Jellopy) > 0 && countitem(Fluff) > 0 && countitem(Feather) > 0) { mes "[Dacquoise]"; mes "You brough what I need! Okay, then I will cook for you as I promised."; mes "Time to move like greased lightning!!!!"; @@ -3999,14 +3999,14 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{ mes "If you are really curious about the cooking, go seek Sir. Charles Orleans at the basement of Prontera Castle."; emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2); close2; - delitem 909, 1; // Jellopy - delitem 914, 1; // Fluff - delitem 949, 1; // Feather - getitem 11553, 1; // Casual_Stew + delitem Jellopy, 1; // Jellopy + delitem Fluff, 1; // Fluff + delitem Feather, 1; // Feather + getitem Casual_Stew, 1; // Casual_Stew erasequest 14156; end; } - if(questprogress(14157) == 1 && countitem(512) > 0 && countitem(705) > 0) { + if(questprogress(14157) == 1 && countitem(Apple) > 0 && countitem(Clover) > 0) { mes "[Dacquoise]"; mes "You brough what I need! Okay, then I will cook for you as I promised."; mes "Time to move like greased lightning!!!!"; @@ -4022,9 +4022,9 @@ iz_ac01,147,50,3 script Dacquoise#ac 4_COOK,{ mes "You can learn real cooking from him!"; emotion e_lv, 0, "Mille Feuille#"+strnpcinfo(2); close2; - delitem 512, 1; // Apple - delitem 705, 1; // Clover - getitem 11554, 1; // Golden_Roasted_Apple + delitem Apple, 1; // Apple + delitem Clover, 1; // Clover + getitem Golden_Roasted_Apple, 1; // Golden_Roasted_Apple erasequest 14157; end; } @@ -4242,7 +4242,7 @@ iz_ac01_d,147,50,3 duplicate(Dacquoise#ac) Dacquoise#ac_d 4_COOK //== General Store Owner =================================== // - Sells the player the Novice Combination Book and Kit. iz_ac01,68,49,3 script General Store Owner#ac 4_F_03,{ - if (!checkweight(1304, 3)) { + if (!checkweight(Orcish_Axe, 3)) { mes "Quest cannot be continued due to the overfilled inventory."; mes "Please try it again after organizing the items."; close; @@ -4284,7 +4284,7 @@ iz_ac01,68,49,3 script General Store Owner#ac 4_F_03,{ mes "Here you are."; mes "This book is for the beginners. But it will allow you combine the useful tools together, if you use it correctly."; Zeny -= 1000; - getitem 11058, 1; // Novice_Combi_Book + getitem Novice_Combi_Book, 1; // Novice_Combi_Book } else { mes "[Querrie]"; mes "The book price is 1000 zeny."; @@ -4327,7 +4327,7 @@ iz_ac01,68,49,3 script General Store Owner#ac 4_F_03,{ } mes "Thank you. Come back again."; Zeny -= .@cost; - getitem 12849, .@input; // Combination_Kit + getitem Combination_Kit, .@input; // Combination_Kit close; case 3: close; @@ -4342,7 +4342,7 @@ iz_ac01_d,68,49,3 duplicate(General Store Owner#ac) General Store Owner#ac_d 4_F //== Battle Instructor ===================================== // - Gives the player monster hunting quests. iz_ac01,59,83,3 script Battle Instructor#08 4_M_NOV_HUNT,{ - if(!checkweight(1201, 1) || (MaxWeight - Weight) < 2000) { + if(!checkweight(Knife, 1) || (MaxWeight - Weight) < 2000) { mes "- You have too many items."; mes "- Clear inventory and try again."; close; @@ -4372,7 +4372,7 @@ iz_ac01,59,83,3 script Battle Instructor#08 4_M_NOV_HUNT,{ if(countitem(.@material[.@i]) >= .@count[i]) { delitem .@material[.@i],.@count[.@i]; getexp .@bexp[.@i],.@jexp[.@i]; - getitem 7059, 1; // Cargo_Free_Ticket + getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket } } } @@ -4561,7 +4561,7 @@ iz_ac01,59,83,3 script Battle Instructor#08 4_M_NOV_HUNT,{ erasequest getarg(0); delitem getarg(3), getarg(4); getexp getarg(1), getarg(2); - getitem 7059, 1; // Cargo_Free_Ticket + getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket close; } @@ -4916,7 +4916,7 @@ new_1-3,92,169,5 script Adept Adventurer#new_1-3 4_M_JOB_BLACKSMITH,{ //== Friendly Poring ======================================= new_1-3,99,169,3 script Friendly Poring#ac 4_PORING,{ - if (!checkweight(1301, 3)) { + if (!checkweight(Axe, 3)) { mes "[Poring]"; mes "You have too many items to continue the quest."; next; @@ -5029,10 +5029,10 @@ new_1-3,99,169,3 script Friendly Poring#ac 4_PORING,{ cutin "", 255; completequest 2295; setquest 2296; - getitem 12846, 5; // Little_Unripe_Apple + getitem Little_Unripe_Apple, 5; // Little_Unripe_Apple close; } else if (questprogress(2296) == 1) { - if (countitem(9062) > 0) { + if (countitem(Novice_Poring_Egg) > 0) { mes "[Poring]"; mes "Ello' mate. Were you successful? Where are the lil' bleeders?"; next; @@ -5113,8 +5113,8 @@ new_1-3,99,169,3 script Friendly Poring#ac 4_PORING,{ completequest 2298; if (Class == Job_Novice) getexp 500, 50; - getitem 531, 3; // Apple_Juice - getitem 643, 1; // Pet_Incubator + getitem Apple_Juice, 3; // Apple_Juice + getitem Pet_Incubator, 1; // Pet_Incubator close; } else { mes "[Poring]"; @@ -5202,9 +5202,9 @@ iz_ac01,95,46,5 script Kafra Guide Trainer#ac 4_F_KAFRA1,{ if (getskilllv("NV_BASIC") < 6) { mes "[Kafra Guide Trainer]"; mes "To use the storage, you need to be raised the beginner level 6 and higher."; - } else if (countitem(7059) || Zeny >= 500) { - if (countitem(7059)) { - delitem 7059, 1; // Cargo_Free_Ticket + } else if (countitem(Cargo_Free_Ticket) || Zeny >= 500) { + if (countitem(Cargo_Free_Ticket)) { + delitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket } else { Zeny -= 500; RESRVPTS += 5; @@ -5932,7 +5932,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ } close; case 2: - if(!countitem(6593)) { + if(!countitem(Criatura_Hair_Coupon)) { mes "[Otter Samssoon]"; mes "Come on.. Honey~"; mes "You should bring ^ff0000'Criatura Hair Coupon'^000000 for changing hair..."; @@ -6013,7 +6013,7 @@ iz_ac01,69,36,3 script Otter Samssoon#ac 4W_SAILOR,{ mes "- Chikak, crack, crack.. -"; mes "- Snap, snap, snap.. Crack -"; next; - delitem 6593, 1; // Criatura_Hair_Coupon + delitem Criatura_Hair_Coupon, 1; // Criatura_Hair_Coupon cutin "", 255; mes "[Otter Samssoon]"; mes "Oh my! Oh my! Oh my!"; @@ -7104,7 +7104,7 @@ iz_ac02_d,143,55,3 duplicate(Cream Puff#ac) Cream Puff#ac_d 4_M_KID1 //- Lusa - // - Teaches the player about Gunslinger class. iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{ - if (!checkweight(1301, 1)) { + if (!checkweight(Axe, 1)) { mes "- Quest can't be continued as your overloaded items. -"; close; } @@ -7222,7 +7222,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{ if (.@has_manual == 1) { mes "Hey! What kind of con is this?! You already had a manual!"; } else { - getitem 2941, 1; // Gunslinger_Manual + getitem Gunslinger_Manual, 1; // Gunslinger_Manual mes "Here take this manual, I ain't too good at that there book learnin' but I can answer your questions."; } next; @@ -7491,7 +7491,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{ next; erasequest 5149; getexp 700, 450; - getitem 7059, 1; // Cargo_Free_Ticket + getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket mes "After looking over the report, you receive experience and a Kafra Storage Coupon."; next; .@gun_tok = 1; @@ -7508,7 +7508,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{ next; erasequest 5150; getexp 950, 590; - getitem 7059, 1; // Cargo_Free_Ticket + getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket mes "After looking over the report, you receive experience and a Kafra Storage Coupon."; next; .@gun_tok = 1; @@ -7525,7 +7525,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{ next; erasequest 5151; getexp 850, 540; - getitem 7059, 1; // Cargo_Free_Ticket + getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket mes "After looking over the report, you receive experience and a Kafra Storage Coupon."; next; .@gun_tok = 1; @@ -7542,7 +7542,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{ next; erasequest 5152; getexp 690, 470; - getitem 7059, 1; // Cargo_Free_Ticket + getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket mes "After looking over the report, you receive experience and a Kafra Storage Coupon."; next; } @@ -7721,7 +7721,7 @@ iz_ac02,142,85,6 script Lusa#ac 4_F_GUNSLINGER,{ if (questprogress(5152)) erasequest 5152; if (.@gun_quest_01 == 2 || .@gun_quest_02 == 2 || .@gun_quest_03 == 2 || .@gun_quest_04 == 2) { - getitem 7059, 1; // Cargo_Free_Ticket + getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket mes "After looking over the report, you receive experience and a Kafra Storage Coupon."; } next; @@ -8005,7 +8005,7 @@ iz_ac02_d,131,82,4 duplicate(Lusa's Desk#ac) Lusa's Desk#ac_d CLEAR_NPC //- Staff sent by guild - iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{ - if (!checkweight(1301, 1)) { + if (!checkweight(Axe, 1)) { mes "- You are carrying too many items. -"; close; } @@ -8098,7 +8098,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{ end; } else { delequip EQI_HAND_R; - getitem 13116, 1; // Novice_Revolver + getitem Novice_Revolver, 1; // Novice_Revolver } break; case 2: @@ -8110,7 +8110,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{ end; } else { delequip EQI_HAND_R; - getitem 13180, 1; // Novice_Rifle + getitem Novice_Rifle, 1; // Novice_Rifle } break; case 3: @@ -8122,7 +8122,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{ end; } else { delequip EQI_HAND_R; - getitem 13181, 1; // Novice_Shotgun + getitem Novice_Shotgun, 1; // Novice_Shotgun } break; case 4: @@ -8134,7 +8134,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{ end; } else { delequip EQI_HAND_R; - getitem 13182, 1; // Novice_Gatling + getitem Novice_Gatling, 1; // Novice_Gatling } break; case 5: @@ -8146,7 +8146,7 @@ iz_ac02,162,86,4 script Guild Staff#ac 4W_M_02,{ end; } else { delequip EQI_HAND_R; - getitem 13183, 1; // Novice_Grenade_Launcher + getitem Novice_Grenade_Launcher, 1; // Novice_Grenade_Launcher } break; case 6: @@ -8204,7 +8204,7 @@ iz_ac02,70,85,5 script Arang#ac 4_F_TAEKWON,{ mes "[Arang]"; mes "It is not an easy way. So I don't like to recommend it to you if you aren't fully prepared. But it is definitely a nice and great way to follow!!"; next; - if (isequipped(2942) > 0 || countitem(2942) > 0) { + if (isequipped(2942) > 0 || countitem(Taekwon_Manual) > 0) { mes "[Arang]"; mes "Introduction to the class may let you know about what Taekwon in more detail."; next; @@ -8217,7 +8217,7 @@ iz_ac02,70,85,5 script Arang#ac 4_F_TAEKWON,{ mes "Every adventurer may have their own job! Hope you can find what you want!"; next; } else { - getitem 2942, 1; // Taekwon_Manual + getitem Taekwon_Manual, 1; // Taekwon_Manual mes "[Arang]"; mes "Go to the [Misc] tab on Skill Window after equipping the Manual and there you will see some skills."; next; @@ -8381,7 +8381,7 @@ iz_ac01_d,53,49,0 duplicate(#acKick) #acKick_d HIDDEN_NPC,5,5 //- Archer Teacher (Marlbron) - iz_ac02,65,109,5 script Archer Teacher#ac 4_M_ARCHER,{ - if (!checkweight(1304, 3)) { + if (!checkweight(Orcish_Axe, 3)) { mes "Why are you carrying so much with you? Unload it somewhere and come back."; close; } @@ -8539,7 +8539,7 @@ iz_ac02,65,109,5 script Archer Teacher#ac 4_M_ARCHER,{ if (questprogress(14158) != 2) { setquest 14158; completequest 14158; - getitem 2822, 1; // Archer_Manual + getitem Archer_Manual, 1; // Archer_Manual } cutin "", 255; end; @@ -8695,7 +8695,7 @@ iz_ac02_d,65,109,5 duplicate(Archer Teacher#ac) Archer Teacher#ac_d 4_M_ARCHER //- Swordman Trainer (Adric) - // - Teaches the player about the Swordsman class. iz_ac02,60,51,5 script Swordman Trainer#ac 4_M_SWORDMAN,{ - if (!checkweight(1301, 3)) { + if (!checkweight(Axe, 3)) { mes "- Quest cannot be continued due to your overfilled inventory. -"; close; } @@ -8740,7 +8740,7 @@ iz_ac02,60,51,5 script Swordman Trainer#ac 4_M_SWORDMAN,{ mes "Calm down, lets's start over."; mes "First, I'll give you a ^FF0000Swordman Manual^000000"; mes "Read it carefuly before asking any questions."; - getitem 2819, 1; // Swordman_Manual + getitem Swordman_Manual, 1; // Swordman_Manual nov_3_swordman = 1; setquest 1229; cutin "", 255; @@ -9215,7 +9215,7 @@ iz_ac02,148,110,3 script Mage Chuck#ac 4_M_JOB_WIZARD,{ mes "Anything else you want to know about Mages?"; break; case 4: - if (isequippedcnt(2824) > 0 || countitem(2824) > 0) { + if (isequippedcnt(2824) > 0 || countitem(Mage_Manual) > 0) { mes "[Mage Chuck]"; mes "I think you already received a ^FF0000Mage Manual^000000~!"; mes "I can't offer you two of them."; @@ -9228,7 +9228,7 @@ iz_ac02,148,110,3 script Mage Chuck#ac 4_M_JOB_WIZARD,{ mes "[Mage Chuck]"; mes "Anything else you want to know about Mages?"; } else { - if (checkweight(607, 1)) { + if (checkweight(Yggdrasilberry, 1)) { mes "[Mage Chuck]"; mes "Right, you must be set with your heart firm on becoming a Mage."; next; @@ -9244,7 +9244,7 @@ iz_ac02,148,110,3 script Mage Chuck#ac 4_M_JOB_WIZARD,{ mes "[Mage Chuck]"; mes "It's a valuable item so don't lose it."; mes "If you want to become a genius ^0000FFMage^000000 like me, follow in my path."; - getitem 2824, 1; // Mage_Manual + getitem Mage_Manual, 1; // Mage_Manual break; } else { mes "[Mage Chuck]"; @@ -9457,7 +9457,7 @@ geffen,43,123,6 script Magician's Guild Guide#2 2_F_MAGICMASTER,{ //- Salim Hamid - iz_ac02,50,169,3 script Salim Hamid#ac 1_M_MERCHANT,{ disable_items; - if (!checkweight(714, 3) || (MaxWeight - Weight) < 10000) { + if (!checkweight(Emperium, 3) || (MaxWeight - Weight) < 10000) { mes "- As you are overloaded with so many items, quest can't be proceeded. -"; close; } @@ -9632,7 +9632,7 @@ iz_ac02,50,169,3 script Salim Hamid#ac 1_M_MERCHANT,{ next; mes "[Salim Hamid]"; mes "Now~ as we should go to the next course, equip the guide and see the skill, then speak to me again."; - getitem 2823, 1; // Merchant_Manual + getitem Merchant_Manual, 1; // Merchant_Manual completequest 12303; close2; cutin "", 255; @@ -9869,7 +9869,7 @@ iz_ac02_d,50,169,3 duplicate(Salim Hamid#ac) Salim Hamid#ac_d 1_M_MERCHANT //- Steward Aydin - iz_ac02,53,171,3 script Steward Aydin#ac 4_M_MANAGER,{ disable_items; - if (!checkweight(714, 3) || (MaxWeight - Weight) < 10000) { + if (!checkweight(Emperium, 3) || (MaxWeight - Weight) < 10000) { mes "- As you are overloaded with so many items, quest can't be proceeded."; close; } @@ -9914,7 +9914,7 @@ iz_ac02,53,171,3 script Steward Aydin#ac 4_M_MANAGER,{ mes "[Steward Aydin]"; mes "I anticipate to see you next time in a good shape."; completequest 12304; - getitem 12847, 1; // Old_Equipment_Box + getitem Old_Equipment_Box, 1; // Old_Equipment_Box close; } mes "[Steward Aydin]"; @@ -9992,7 +9992,7 @@ iz_ac02_d,53,171,3 duplicate(Steward Aydin#ac) Steward Aydin#ac_d 4_M_MANAGER //- Guest Lecturer Mayssel - // - Teaches the player about the Thief class. iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{ - if (!checkweight(1301, 3)) { + if (!checkweight(Axe, 3)) { mes "Quest cannot be continued due to the overfilled inventory."; mes "Please try it again after organizing the items."; close; @@ -10122,8 +10122,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{ setquest 7483; completequest 7483; getexp 800, 50; - getitem 569, 30; // Novice_Potion - getitem 12325, 20; // N_Magnifier + getitem Novice_Potion, 30; // Novice_Potion + getitem N_Magnifier, 20; // N_Magnifier } else { mes "[Mayssel]"; mes "I only play the role to inform you of there is this one that one..."; @@ -10139,7 +10139,7 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{ erasequest 7481; erasequest 7482; setquest 7483; - getitem 2820, 1; // Thief_Manual + getitem Thief_Manual, 1; // Thief_Manual } close2; cutin "", 255; @@ -10196,8 +10196,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{ setquest 7483; completequest 7483; getexp 800, 50; - getitem 569, 30; // Novice_Potion - getitem 12325, 20; // N_Magnifier + getitem Novice_Potion, 30; // Novice_Potion + getitem N_Magnifier, 20; // N_Magnifier } else { mes "[Mayssel]"; mes "I only play the role to inform you of there is this one that one..."; @@ -10213,7 +10213,7 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{ erasequest 7481; erasequest 7482; setquest 7483; - getitem 2820, 1; // Thief_Manual + getitem Thief_Manual, 1; // Thief_Manual } close2; cutin "", 255; @@ -10244,8 +10244,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{ mes "Thank you for you hard work."; completequest 7483; getexp 800, 50; - getitem 569, 30; // Novice_Potion - getitem 12325, 20; // N_Magnifier + getitem Novice_Potion, 30; // Novice_Potion + getitem N_Magnifier, 20; // N_Magnifier close2; cutin "", 255; end; @@ -10283,8 +10283,8 @@ iz_ac02,52,136,3 script Guest Lecturer Mayssel#0 4_F_MAYSEL,{ mes "All the ongoing courses are cancelled."; mes "These are not your aptitude."; nude; - if (countitem(2820) > 0) - delitem 2820, countitem(2820); // Thief_Manual + if (countitem(Thief_Manual) > 0) + delitem Thief_Manual, countitem(Thief_Manual); // Thief_Manual erasequest 7483; erasequest 7484; erasequest 7485; @@ -10761,7 +10761,7 @@ iz_ac02,49,134,5 script Vicente#ac 4_M_HUMAN_02,{ mes "Important thing is not theory but actual fighting."; mes "Do you agree?"; setquest 7481; - getitem 569, 30; // Novice_Potion + getitem Novice_Potion, 30; // Novice_Potion close2; cutin "", 255; end; @@ -10902,7 +10902,7 @@ iz_ac02,49,134,5 script Vicente#ac 4_M_HUMAN_02,{ cutin "", 255; end; } else if (questprogress(7484) == 1) { - if (countitem(7049) > 0) { + if (countitem(Stone) > 0) { cutin "sc_vicente01.bmp", 2; mes "[Vicente]"; mes "Oh, excellent!"; @@ -11002,7 +11002,7 @@ iz_ac02,49,134,5 script Vicente#ac 4_M_HUMAN_02,{ cutin "", 255; end; } else if (questprogress(7484) == 1) { - if (countitem(7049) > 0) { + if (countitem(Stone) > 0) { cutin "sc_vicente01.bmp", 2; mes "[Vicente]"; mes "Oh, excellent!"; @@ -11615,7 +11615,7 @@ iz_ac02_d,55,134,3 duplicate(Verkhasel#ac) Verkhasel#ac_d 4_M_GUILLOTINE //- Lumin - iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{ - if (!checkweight(1301, 3)) { + if (!checkweight(Axe, 3)) { mes "Quest cannot be continued due to the overfilled inventory."; mes "Please try it again after organizing the items."; close; @@ -11699,10 +11699,10 @@ iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{ cutin "nov_lumin05.bmp", 2; completequest 7487; getexp 800, 50; - getitem 512, 3; // Apple - getitem 511, 2; // Green_Herb - getitem 569, 22; // Novice_Potion - getitem 622, 1; // Rainbow_Carrot + getitem Apple, 3; // Apple + getitem Green_Herb, 2; // Green_Herb + getitem Novice_Potion, 22; // Novice_Potion + getitem Rainbow_Carrot, 1; // Rainbow_Carrot close2; cutin "", 255; end; @@ -11718,7 +11718,7 @@ iz_ac02,62,139,3 script Lumin#ac 4_M_NOV_RUMIN,{ cutin "nov_lumin03.bmp", 2; completequest 7487; getexp 800, 50; - getitem 512, 22; // Apple + getitem Apple, 22; // Apple next; select("Why are you treating me like this?", "Didn't I loose?"); mes "[Lumin]"; @@ -12082,7 +12082,7 @@ iz_ac02,152,165,5 script A Nun#2 4_F_SISTER,{ mes "It was not like this when I used to train in the past."; close; } else { - if (!checkweight(1119, 3)) { + if (!checkweight(Tsurugi, 3)) { mes "- You have too many items. Clear inventory and try again. -"; close; } @@ -12110,7 +12110,7 @@ iz_ac02,152,165,5 script A Nun#2 4_F_SISTER,{ mes "murmuring"; close; } - if (isequippedcnt(2821) > 0 || countitem(2821) > 0) { + if (isequippedcnt(2821) > 0 || countitem(Acolyte_Manual) > 0) { mes "[A nun]"; mes "You already have one."; mes "We do not give two."; @@ -12119,7 +12119,7 @@ iz_ac02,152,165,5 script A Nun#2 4_F_SISTER,{ mes "[A nun]"; mes "Then, use it for good."; mes "^ff0000Equip (double click or drag to equipment window)^000000 and open the ^ff0000skill window(Alt+S)^000000 to see the skills in manual."; - getitem 2821, 1; // Acolyte_Manual + getitem Acolyte_Manual, 1; // Acolyte_Manual close; } } @@ -12248,7 +12248,7 @@ iz_ac02,140,139,5 script Ninja Guide#ac 4_M_NINJA_BLUE,{ next; break; case 3: - if (countitem(2940) > 0) { + if (countitem(Ninja_Manual) > 0) { mes "[Ninja Guide]"; mes "You can equip this manual to experience some skills."; mes "Open up your skill window by pressing and find the skills in the Misc TAB."; @@ -12258,16 +12258,16 @@ iz_ac02,140,139,5 script Ninja Guide#ac 4_M_NINJA_BLUE,{ next; mes "[Ninja Guide]"; mes "He will give you some quests to complete. Use the Manual to help you in battle."; - if (countitem(13295) < 10) - getitem 13295, 10; // Light_Shuriken + if (countitem(Light_Shuriken) < 10) + getitem Light_Shuriken, 10; // Light_Shuriken next; } else { mes "[Ninja Guide]"; mes "Make every useful moment count."; mes "You can equip this manual to experience some skills."; mes "Open up your skill window by pressing and find the skills in the Misc TAB."; - getitem 2940, 1; // Ninja_Manual - getitem 13295, 10; // Light_Shuriken + getitem Ninja_Manual, 1; // Ninja_Manual + getitem Light_Shuriken, 10; // Light_Shuriken next; mes "[Ninja Guide]"; mes "The Academy has a trainer downstairs who will give you battle field training. Meet him and train your skills."; @@ -12366,7 +12366,7 @@ iz_ac02_d,140,139,5 duplicate(Ninja Guide#ac) Ninja Guide#ac_d 4_M_NINJA_BLUE //- Refinery Owner Han - izlude,153,126,1 script Refinery Owner Han#iz 4_M_02,{ - if (!checkweight(1301, 1)) { + if (!checkweight(Axe, 1)) { mes "- Cannot progress with the dialogue because you have too many items. -"; close; } @@ -12560,7 +12560,7 @@ izlude,153,126,1 script Refinery Owner Han#iz 4_M_02,{ if (Class == Job_Novice) getexp 1200, 500; mes "Got a lesson about the refining and Kafra storage free coupon."; - getitem 7059, 1; // Cargo_Free_Ticket + getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket close; } else if (.@jerun_tutorial == 8) { mes "[Refinery Owner Han]"; @@ -12807,7 +12807,7 @@ izlude_d,153,121,3 duplicate(izludeWagjak) Refining Machine Wagjak::iz_d 2_MONEM //- Tadde - izlude,145,122,7 script Tadde#iz 4_M_04,{ - if (!checkweight(1301, 1)) { + if (!checkweight(Axe, 1)) { mes "- As you have too many items in your inventory, Quest can't be continued -"; close; } @@ -12933,7 +12933,7 @@ izlude,145,122,7 script Tadde#iz 4_M_04,{ close; } Zeny -= .@sell; - getitem 1010, .@amount; // Phracon + getitem Phracon, .@amount; // Phracon mes "[Tadde]"; mes "This is what you wanted. Thank you very much!"; close; @@ -12968,7 +12968,7 @@ izlude,145,122,7 script Tadde#iz 4_M_04,{ mes "Er...please sorts your inventory before you take these..."; close; } - getitem 1011, .@amount; // Emveretarcon + getitem Emveretarcon, .@amount; // Emveretarcon Zeny -= .@sell; mes "[Tadde]"; mes "This is what you wanted. Thank you very much!"; @@ -13064,7 +13064,7 @@ izlude_d,145,122,7 duplicate(Tadde#iz) Tadde#iz_d 4_M_04 //- Locas - izlude,155,132,3 script Locas#iz 4_M_02,{ - if (!checkweight(1301, 1)) { + if (!checkweight(Axe, 1)) { mes "- As you have too many items in your inventory, Quest can't be continued. -"; close; } @@ -13225,9 +13225,9 @@ izlude,155,132,3 script Locas#iz 4_M_02,{ mes "Will you refine 5 Rough Oridecon to one Oridecon?"; next; if(select("Exchange 5 for 1", "Exchange all.") == 1) { - if (countitem(756) > 4) { - delitem 756, 5; // Oridecon_Stone - getitem 984, 1; // Oridecon + if (countitem(Oridecon_Stone) > 4) { + delitem Oridecon_Stone, 5; // Oridecon_Stone + getitem Oridecon, 1; // Oridecon mes "[Locas]"; mes "Refined Rough Oridecon to Oridecon."; close; @@ -13238,11 +13238,11 @@ izlude,155,132,3 script Locas#iz 4_M_02,{ close; } } else { - if (countitem(756) > 4) { - .@ston_max = countitem(756) / 5; + if (countitem(Oridecon_Stone) > 4) { + .@ston_max = countitem(Oridecon_Stone) / 5; .@ston_full = .@ston_max * 5; - delitem 756, .@ston_full; // Oridecon_Stone - getitem 984, .@ston_max; // Oridecon + delitem Oridecon_Stone, .@ston_full; // Oridecon_Stone + getitem Oridecon, .@ston_max; // Oridecon mes "[Locas]"; mes "Refined "+.@ston_full+" Rough Oridecon into "+.@ston_max+" Oridecon. Thank you for your business."; close; @@ -13258,9 +13258,9 @@ izlude,155,132,3 script Locas#iz 4_M_02,{ mes "Will you refine 5 Rough Elunium to one Elunium?"; next; if(select("Exchange 5 for 1", "Exchange all.") == 1) { - if (countitem(757) > 4) { - delitem 757, 5; // Elunium_Stone - getitem 985, 1; // Elunium + if (countitem(Elunium_Stone) > 4) { + delitem Elunium_Stone, 5; // Elunium_Stone + getitem Elunium, 1; // Elunium mes "[Locas]"; mes "Refined Rough Elunium to Elunium."; close; @@ -13271,11 +13271,11 @@ izlude,155,132,3 script Locas#iz 4_M_02,{ close; } } else { - if (countitem(757) > 4) { - .@ston_max = countitem(757) / 5; + if (countitem(Elunium_Stone) > 4) { + .@ston_max = countitem(Elunium_Stone) / 5; .@ston_full = .@ston_max * 5; - delitem 757, .@ston_full; // Elunium_Stone - getitem 985, .@ston_max; // Elunium + delitem Elunium_Stone, .@ston_full; // Elunium_Stone + getitem Elunium, .@ston_max; // Elunium mes "[Locas]"; mes "Refined "+.@ston_full+" Rough Elunium into "+.@ston_max+" Elunium. Thank you for your business."; close; @@ -13423,7 +13423,7 @@ izlude_d,155,132,3 duplicate(Locas#iz) Locas#iz_d 4_M_02 //- Enchanter Mounds - // - Teaches the player about enchanting. izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{ - if (!checkweight(1301, 1)) { + if (!checkweight(Axe, 1)) { mes "- As you have too many items in your inventory, Quest can't be continued -"; close; } @@ -13568,13 +13568,13 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{ close; } else if (.@in_tutorial == 2) { mes "[Mounds]"; - if (countitem(2302) > 0) { + if (countitem(Cotton_Shirt_) > 0) { mes "Oh this is a socketed shirt already!"; next; mes "[Mounds]"; mes "Bring us the normal shirt without holes."; close; - } else if (countitem(2301) > 0) { + } else if (countitem(Cotton_Shirt) > 0) { mes "It must be a plain cotton shirt."; next; } else { @@ -13598,8 +13598,8 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{ next; specialeffect2 EF_SANCTUARY; completequest 5158; - delitem 2301, 1; // Cotton_Shirt - getitem 2302, 1; // Cotton_Shirt_ + delitem Cotton_Shirt, 1; // Cotton_Shirt + getitem Cotton_Shirt_, 1; // Cotton_Shirt_ mes "[Mounds]"; mes "You have suceeded in socket enchant."; close; @@ -13701,7 +13701,7 @@ izlude,96,125,7 script Enchanter Mounds#iz 4_CAT_SAILOR2,{ } else { mes "Received the explanation and Kafra free storage coupon."; } - getitem 7059, 1; // Cargo_Free_Ticket + getitem Cargo_Free_Ticket, 1; // Cargo_Free_Ticket next; mes "[Mounds]"; mes "Then, I will see you later."; @@ -13789,7 +13789,7 @@ izlude_d,96,125,7 duplicate(Enchanter Mounds#iz) Enchanter Mounds#iz_d 4_CAT_SAI //- Enchanter Almond J - // - Teaches the player about enchanting. izlude,108,139,7 script Enchanter Almond J#iz 4_CAT_SAILOR3,{ - if (!checkweight(1301, 1)) { + if (!checkweight(Axe, 1)) { mes "- As you have too many items in your inventory, Quest can't be continued -"; close; } diff --git a/npc/re/jobs/novice/novice.txt b/npc/re/jobs/novice/novice.txt index 7ec6bc156..4d8ff77f4 100644 --- a/npc/re/jobs/novice/novice.txt +++ b/npc/re/jobs/novice/novice.txt @@ -316,13 +316,13 @@ new_5-2,100,29,4 duplicate(NvSprakkiB) Sprakki#nv5b 4_F_01 mes "Basic equipments and recovery potions."; } job_novice_q = 4; - getitem 2352,1; //Novice_Plate - getitem 2510,1; //Novice_Hood - getitem 2414,1; //Novice_Boots - getitem 5055,1; //Novice_Egg_Cap - getitem 1243,1; //Novice_Knife - getitem 2112,1; //Novice_Guard - getitem 569,300; //Novice_Potion + getitem Novice_Plate,1; + getitem Novice_Hood,1; + getitem Novice_Boots,1; + getitem Novice_Egg_Cap,1; + getitem Novice_Knife,1; + getitem Novice_Guard,1; + getitem Novice_Potion,300; setquest 7119; next; mes "[Instructor Brade]"; @@ -375,8 +375,8 @@ new_5-2,100,29,4 duplicate(NvSprakkiB) Sprakki#nv5b 4_F_01 mes "You are coming along just fine."; job_novice_q = 5; getexp 1200,15; - getitem 12323,50; //N_Fly_Wing - getitem 12324,20; //N_Butterfly_Wing + getitem N_Fly_Wing,50; + getitem N_Butterfly_Wing,20; completequest 7119; next; mes "[Instructor Brade]"; @@ -445,7 +445,7 @@ new_5-2,100,29,4 duplicate(NvSprakkiB) Sprakki#nv5b 4_F_01 mes "You've come along fine this far."; mes "This is not much, but take this as a reward."; job_novice_q = 7; - getitem 2393,1; //N_Adventurer's_Suit + getitem N_Adventurer's_Suit,1; completequest 7120; close; } else if (job_novice_q == 7) { @@ -730,8 +730,8 @@ new_5-2,115,120,3 duplicate(NvJinha) Jinha#nv5 1_M_ORIENT01 job_novice_q = 12; completequest 7121; getexp 1800,20; - getitem 7059,20; //Cargo_Free_Ticket - getitem 7060,30; //Warp_Free_Ticket + getitem Cargo_Free_Ticket,20; + getitem Warp_Free_Ticket,30; next; mes "[Chocolat]"; mes "You've completed all the quests I gave you."; @@ -1183,7 +1183,7 @@ new_5-2,36,176,4 duplicate(NvGuide) Guide#nv5 8W_SOLDIER mes "Please hunt 'Poring's on Level 1 of the training grounds."; job_novice_q = 13; setquest 7122; - getitem 569,100; //Novice_Potion + getitem Novice_Potion,100; savepoint strnpcinfo(4),96,21; next; mes "^4d4dff- You've received a quest from Instructor Brade."; @@ -1196,7 +1196,7 @@ new_5-2,36,176,4 duplicate(NvGuide) Guide#nv5 8W_SOLDIER mes "You can see it is not so hard, huh?"; mes "Nice job."; job_novice_q = 14; - getitem 13040,1; //N_Cutter + getitem N_Cutter,1; getexp 3000,30; completequest 7122; next; @@ -1368,7 +1368,7 @@ new_5-3,96,30,4 duplicate(NvBradeB) Brade#nv5b 4_M_JOB_KNIGHT1 mes "As a Swordman you can advance to a ^8E2323Knight^000000 or ^8E2323Crusader^000000 class as your 2nd class profession."; mes "And just recently third professions have been discovered."; next; - if (isequipped(2819) || countitem(2819)) { + if (isequipped(2819) || countitem(Swordman_Manual)) { mes "[Swordman Guildsman]"; mes "Try the Swordman skills listed in the manual."; mes "Open your skill menu by pressing Alt + S"; @@ -1386,7 +1386,7 @@ new_5-3,96,30,4 duplicate(NvBradeB) Brade#nv5b 4_M_JOB_KNIGHT1 mes "I'll just take any manuals from any other classes you have."; next; callfunc "F_NvErase"; - getitem 2819,1; //Swordman_Manual + getitem Swordman_Manual,1; next; mes "[Swordman Guildsman]"; mes "After equipping the Manual, open your Skill menu by pressing ALT+S."; @@ -1452,7 +1452,7 @@ new_5-3,96,30,4 duplicate(NvBradeB) Brade#nv5b 4_M_JOB_KNIGHT1 mes "I think that you're good enough to be a Swordman."; mes "I'll give you some potions as a reward."; completequest 7123; - getitem 569,200; //Novice_Potion + getitem Novice_Potion,200; getexp 5000,100; close; } else { @@ -1509,7 +1509,7 @@ new_5-3,97,41,3 duplicate(NvSwordman) Swordman Guide#nv5 4_F_JOB_KNIGHT mes "[Prontera Acolyte]"; mes "^8E2323As an Acolyte, you can upgrade your future job to Priest or Monk^8E2323."; next; - if (isequipped(2821) || countitem(2821)) { + if (isequipped(2821) || countitem(Acolyte_Manual)) { mes "[Prontera Acolyte]"; mes "Try the Acolyte Skills with the manual you have. It will help you understand the job easier."; mes "Open your Skill Tree by pressing ^4d4dffAlt + S^000000 and minimize the window by pressing the ^4d4dff'-'^000000 button on the top right corner of the window to see the available skills."; @@ -1526,7 +1526,7 @@ new_5-3,97,41,3 duplicate(NvSwordman) Swordman Guide#nv5 4_F_JOB_KNIGHT mes "I will take away those other job's manuals while you study this one."; next; callfunc "F_NvErase"; - getitem 2821,1; //Acolyte_Manual + getitem Acolyte_Manual,1; next; mes "[Prontera Acolyte]"; mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window."; @@ -1604,7 +1604,7 @@ new_5-3,101,41,3 duplicate(NvAcolyte) Acolyte Guide#nv5 4_F_SISTER mes "[Thief Guild Member]"; mes "Thieves can change their jobs to ^8E2323Assassins^000000 or ^8E2323Rogues^000000."; next; - if (isequipped(2820) || countitem(2820)) { + if (isequipped(2820) || countitem(Thief_Manual)) { mes "[Thief Guild Member]"; mes "The class manual can help you understand what it is to be a Thief by using the skills that are essential to all Thieves."; close; @@ -1620,7 +1620,7 @@ new_5-3,101,41,3 duplicate(NvAcolyte) Acolyte Guide#nv5 4_F_SISTER mes "I'll just take the other class manuals while I'm at it."; next; callfunc "F_NvErase"; - getitem 2820,1; //Thief_Manual + getitem Thief_Manual,1; next; mes "[Thief Guild Member]"; mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window."; @@ -1681,7 +1681,7 @@ new_5-3,101,41,3 duplicate(NvAcolyte) Acolyte Guide#nv5 4_F_SISTER mes "You are very strong."; mes "These are not many but let me give you a reward for your effort."; completequest 7127; - getitem 12323,50; //N_Fly_Wing + getitem N_Fly_Wing,50; getexp 5000,100; close; } else { @@ -1743,7 +1743,7 @@ new_5-3,105,41,3 duplicate(NvThief) Thief Guide#nv5 2_M_THIEFMASTER mes "^8E2323Merchants can transform to a Blacksmith"; mes "^8E2323or an Alchemist^000000 as their second job."; next; - if (isequipped(2823) || countitem(2823)) { + if (isequipped(2823) || countitem(Merchant_Manual)) { mes "[Merchant Guildsman]"; mes "I think you should test Merchant skills before you decide what to do."; close; @@ -1758,7 +1758,7 @@ new_5-3,105,41,3 duplicate(NvThief) Thief Guide#nv5 2_M_THIEFMASTER mes "I will take other job manuals from you while I'm at it."; next; callfunc "F_NvErase"; - getitem 2823,1; //Merchant_Manual + getitem Merchant_Manual,1; next; mes "[Merchant Guildsman]"; mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window."; @@ -1829,7 +1829,7 @@ new_5-3,105,41,3 duplicate(NvThief) Thief Guide#nv5 2_M_THIEFMASTER mes "Alright! What about Phracon?"; mes "Phracon is a metallic element which you can use for refining weapons."; completequest 7126; - getitem 1010,7; //Phracon + getitem Phracon,7; getexp 5000,100; close; } else { @@ -1900,7 +1900,7 @@ new_5-3,109,41,3 duplicate(NvMerchant) Merchant Guide#nv5 4W_M_01 mes "Besides Hunters, Archers can transform to a Bard, if they are male."; mes "They can transform to a Dancer, if they are female^000000."; next; - if (isequipped(2822) || countitem(2822)) { + if (isequipped(2822) || countitem(Archer_Manual)) { mes "[Archer Guildsman]"; mes "I think you should test Archer skills before you decide what to do."; mes "I can provide you our test skill manual."; @@ -1917,7 +1917,7 @@ new_5-3,109,41,3 duplicate(NvMerchant) Merchant Guide#nv5 4W_M_01 mes "I will take the other job manuals from you while you test the Archer manual out."; next; callfunc "F_NvErase"; - getitem 2822,1; //Archer_Manual + getitem Archer_Manual,1; next; mes "[Archer Guildsman]"; mes "Make sure to equip the Skill Manual by double-clicking it in the Inventory Window."; @@ -2003,7 +2003,7 @@ new_5-3,113,41,3 duplicate(NvArcher) Archer Guide#nv5 4_F_JOB_HUNTER mes "^8E2323Mages can transform to Wizards"; mes "^8E2323or Sages as their second job^000000."; next; - if (isequipped(2824) || countitem(2824)) { + if (isequipped(2824) || countitem(Mage_Manual)) { mes "[Mage Guild Member]"; mes "I think you should test Mage skills before you decide what to do."; mes "I can provide you with our test skill registration form."; @@ -2020,7 +2020,7 @@ new_5-3,113,41,3 duplicate(NvArcher) Archer Guide#nv5 4_F_JOB_HUNTER mes "I will take the other job registration forms and manuals from you."; next; callfunc "F_NvErase"; - getitem 2824,1; //Mage_Manual + getitem Mage_Manual,1; next; mes "[Mage Guild Member]"; mes "After equipping the Manual, open your Skill menu by pressing ALT+S."; @@ -2083,7 +2083,7 @@ new_5-3,113,41,3 duplicate(NvArcher) Archer Guide#nv5 4_F_JOB_HUNTER mes "Alright. I will give something..."; mes "Here are Novice Butterfly Wings, please take them."; completequest 7124; - getitem 12324,30; //N_Butterfly_Wing + getitem N_Butterfly_Wing,30; getexp 5000,100; close; } else { @@ -2457,13 +2457,13 @@ function script F_NvErase { if (questprogress(7127)) erasequest 7127; } nude; - setarray .@manuals[0],countitem(2819),countitem(2820),countitem(2821),countitem(2822),countitem(2823),countitem(2824); - if (.@manuals[0]) delitem 2819,.@manuals[0]; //Swordman_Manual - if (.@manuals[1]) delitem 2820,.@manuals[1]; //Thief_Manual - if (.@manuals[2]) delitem 2821,.@manuals[2]; //Acolyte_Manual - if (.@manuals[3]) delitem 2822,.@manuals[3]; //Archer_Manual - if (.@manuals[4]) delitem 2823,.@manuals[4]; //Merchant_Manual - if (.@manuals[5]) delitem 2824,.@manuals[5]; //Mage_Manual + setarray .@manuals[0],countitem(Swordman_Manual),countitem(Thief_Manual),countitem(Acolyte_Manual),countitem(Archer_Manual),countitem(Merchant_Manual),countitem(Mage_Manual); + if (.@manuals[0]) delitem Swordman_Manual,.@manuals[0]; + if (.@manuals[1]) delitem Thief_Manual,.@manuals[1]; + if (.@manuals[2]) delitem Acolyte_Manual,.@manuals[2]; + if (.@manuals[3]) delitem Archer_Manual,.@manuals[3]; + if (.@manuals[4]) delitem Merchant_Manual,.@manuals[4]; + if (.@manuals[5]) delitem Mage_Manual,.@manuals[5]; return; } @@ -2607,10 +2607,10 @@ L_Supplies: mes "[Hanson]"; mes "Free tickets for Kafra storage and transportation can be used for Kafra storage and teleport services."; nov_3_swordman = 40; - getitem 7059,20; //Cargo_Free_Ticket - getitem 7060,30; //Warp_Free_Ticket - getitem 2393,1; //N_Adventurer's_Suit - getitem 13040,1; //N_Cutter + getitem Cargo_Free_Ticket,20; + getitem Warp_Free_Ticket,30; + getitem N_Adventurer's_Suit,1; + getitem N_Cutter,1; next; mes "[Hanson]"; mes "You will now"; diff --git a/npc/re/jobs/novice/supernovice_ex.txt b/npc/re/jobs/novice/supernovice_ex.txt index afb6eb8d4..132fd68ed 100644 --- a/npc/re/jobs/novice/supernovice_ex.txt +++ b/npc/re/jobs/novice/supernovice_ex.txt @@ -563,16 +563,16 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{ mes "[Nodor]"; mes "There are what I used to wear when I was younger,"; mes "but they are still good."; - if (EXSUPNOV_Q_ == 3) getitem 2522,1; // Undershirt + if (EXSUPNOV_Q_ == 3) getitem Undershirt,1; // Undershirt else if (EXSUPNOV_Q_ == 4) { - getitem 2628,1; // Novice Armlet [1] - getitem 2113,1; // Novice Shield [1] - getitem 2416,1; // Novice Shoes [1] - getitem 5119,1; // Super Novice Hat [1] - getitem 2512,1; // Novice Manteau [1] - getitem 2340,1; // Novice Breastplate [1] + getitem Novice_Armlet,1; // Novice Armlet [1] + getitem Novice_Shield,1; // Novice Shield [1] + getitem Novice_Shoes,1; // Novice Shoes [1] + getitem Super_Novice_Hat_,1; // Super Novice Hat [1] + getitem Novice_Manteau,1; // Novice Manteau [1] + getitem Novice_Breast,1; // Novice Breastplate [1] } - else getitem 2340,1; // Novice Breastplate [1] + else getitem Novice_Breast,1; // Novice Breastplate [1] next; select("Second-hand stuff, huh?"); mes "[Nodor]"; -- cgit v1.2.3-60-g2f50