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/instances/BakonawaLake.txt | 8 ++++---- npc/re/instances/BangungotHospital.txt | 8 ++++---- npc/re/instances/HazyForest.txt | 12 ++++++------ npc/re/instances/MalangdoCulvert.txt | 6 +++--- npc/re/instances/OctopusCave.txt | 4 ++-- npc/re/instances/OldGlastHeim.txt | 4 ++-- npc/re/instances/WolfchevLaboratory.txt | 16 ++++++++-------- 7 files changed, 29 insertions(+), 29 deletions(-) (limited to 'npc/re/instances') diff --git a/npc/re/instances/BakonawaLake.txt b/npc/re/instances/BakonawaLake.txt index 82a9d7782..e1937f572 100644 --- a/npc/re/instances/BakonawaLake.txt +++ b/npc/re/instances/BakonawaLake.txt @@ -37,7 +37,7 @@ ma_scene01,174,179,4 script Taho 4_M_DEWZATIMAN,{ disable_items; - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You are carrying too many items. Come back after taking off some of them."; close; } @@ -481,7 +481,7 @@ OnMobSpawn: 1@ma_b,62,52,4 script Taho#Completed 4_M_DEWZATIMAN,{ disable_items; - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "It seems you are carrying too many different kinds of items. Please try again after reducing it."; close; } @@ -494,9 +494,9 @@ OnMobSpawn: mes "[Taho]"; mes "This was found from Bakonawa's corpse. It would be better if you take this."; // if (IsPremiumPcCafe == 10) - getitem 6499,7; //Ancient_Grudge + getitem Ancient_Grudge,7; // else -// getitem 6499,5; //Ancient_Grudge +// getitem Ancient_Grudge,5; getexp 0,100000; next; } diff --git a/npc/re/instances/BangungotHospital.txt b/npc/re/instances/BangungotHospital.txt index 1789106e8..5b9fba3dd 100644 --- a/npc/re/instances/BangungotHospital.txt +++ b/npc/re/instances/BangungotHospital.txt @@ -153,7 +153,7 @@ ma_dun01,147,10,5 script Nurse#ma_dun01 4_F_NURSE,{ end; } } else { - if (checkweight(607,1) == 0) { + if (checkweight(Yggdrasilberry,1) == 0) { mes "[Nurse Maenne]"; mes "You have too much stuff."; mes "Please reduce your stuff and"; @@ -162,7 +162,7 @@ ma_dun01,147,10,5 script Nurse#ma_dun01 4_F_NURSE,{ cutin "",255; end; } - if (checkweight(607,11) == 0) { + if (checkweight(Yggdrasilberry,11) == 0) { mes "[Nurse Maenne]"; mes "It's too heavy."; mes "Please reduce the weight and"; @@ -179,9 +179,9 @@ ma_dun01,147,10,5 script Nurse#ma_dun01 4_F_NURSE,{ setquest 9223; getexp 500000,0; // if (IsPremiumPcCafe == 10) - getitem 6499,7; //Ancient_Grudge + getitem Ancient_Grudge,7; // else -// getitem 6499,5; //Ancient_Grudge +// getitem Ancient_Grudge,5; close2; cutin "",255; end; diff --git a/npc/re/instances/HazyForest.txt b/npc/re/instances/HazyForest.txt index d3c017a47..d92934dc5 100644 --- a/npc/re/instances/HazyForest.txt +++ b/npc/re/instances/HazyForest.txt @@ -462,7 +462,7 @@ OnMyMobDead: 1@mist,73,290,0 script Mysterious Flower#1 CLEAR_NPC,{ specialeffect EF_LEVEL99_4; disablenpc instance_npcname(strnpcinfo(0)); - getitem 12561,1; //Mysterious_Seed + getitem Mysterious_Seed,1; end; } 1@mist,69,295,0 duplicate(Mysterious Flower#1) Mysterious Flower#2 CLEAR_NPC @@ -816,7 +816,7 @@ mora,46,152,5 script Flower Smelling Lady 4_F_NYDHOG,{ } mora,48,152,3 script Sharp Eyed Man 4_M_ROKI2,{ - 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; } @@ -919,8 +919,8 @@ mora,48,152,3 script Sharp Eyed Man 4_M_ROKI2,{ mes "May the blessing of Mother Yggdrasil be with you..."; ep14_1_mistwoods = 10; completequest 7213; - getitem 2568,1; //Muffler_Of_Roki - getitem 2858,1; //Pendant_Of_Guardian + getitem Muffler_Of_Roki,1; + getitem Pendant_Of_Guardian,1; getexp 400000,400000; close; } else { @@ -1012,7 +1012,7 @@ OnInstanceInit: //== Warp Portals ========================================== bif_fild01,38,374,0 script Mysterious Flower#ep14_1 CLEAR_NPC,{ mes "It's a giant flower with mysterious energy."; - if (countitem(12561)) { + if (countitem(Mysterious_Seed)) { mes "It's reacting to the Mysterious Flower Seeds you have with you."; next; switch(select("Observe the reaction.:Stop the reaction.")) { @@ -1020,7 +1020,7 @@ bif_fild01,38,374,0 script Mysterious Flower#ep14_1 CLEAR_NPC,{ mes "The flower started to shake violently"; mes "and swing forward as if trying to send the seeds as far away as possible!!!"; close2; - delitem 12561,1; //Mysterious_Seed + delitem Mysterious_Seed,1; warp "bif_fild02",160,230; end; case 2: diff --git a/npc/re/instances/MalangdoCulvert.txt b/npc/re/instances/MalangdoCulvert.txt index 6e4862b81..c67647615 100644 --- a/npc/re/instances/MalangdoCulvert.txt +++ b/npc/re/instances/MalangdoCulvert.txt @@ -40,7 +40,7 @@ //== Quest NPCs ============================================ mal_in01,172,28,2 script Albo#mal 4_CAT_SAILOR5,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of objects. Try to continue after reducing those objects."; close; } @@ -164,7 +164,7 @@ L_GiveQuest: } mal_in01,172,26,2 script Madeca#mal 4_CAT_SAILOR1,{ - if (checkweight(1201,1) == 0) { + if (checkweight(Knife,1) == 0) { mes "You have too many kinds of objects. Try to continue after reducing those objects."; close; } @@ -394,7 +394,7 @@ mal_in01,160,34,4 script Missing, the Cleaner 4_CAT_SAILOR2,{ in_canal_n = 1; close; } - if (countitem(6436) == 0) { + if (countitem(Ptotection_Seagod) == 0) { mes "[Missing, the Cleaner]"; mes "You don't look like you have Seagod Protection. I can't open door at the moment!"; close; diff --git a/npc/re/instances/OctopusCave.txt b/npc/re/instances/OctopusCave.txt index 0d7e794a1..61f3e408d 100644 --- a/npc/re/instances/OctopusCave.txt +++ b/npc/re/instances/OctopusCave.txt @@ -103,7 +103,7 @@ mal_dun01,151,235,5 script Starfish 4_ASTER,{ close; } if (.@playtime == 2) erasequest 4197; - if (countitem(6442)) { + if (countitem(Octopus_Hunt_Stick)) { .@instance = instance_create(.@md_name$,.@party_id); if (.@instance < 0) { mes "[Starfish]"; @@ -147,7 +147,7 @@ mal_dun01,153,237,5 script Weird Entrance CLEAR_NPC,{ next; switch(select("Go in.:Stop.")) { case 1: - if (countitem(6442)) { + if (countitem(Octopus_Hunt_Stick)) { if (has_instance("1@cash") == "") { if (questprogress(4197,PLAYTIME) == 1) { mes "[Starfish]"; diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt index 6620357c4..936053d36 100644 --- a/npc/re/instances/OldGlastHeim.txt +++ b/npc/re/instances/OldGlastHeim.txt @@ -1238,7 +1238,7 @@ OnTalk6: mes "[Varmunt]"; mes "There's something unusual about this thing's aura. Maybe someday we will be able to understand what is behind all of this."; cutin "gl_barmund1",2; - getitem 6608,1; //Coagulated Spell + getitem Coagulated_Spell,1; //Coagulated Spell setquest 12319; close2; cutin "gl_barmund1",255; @@ -1942,7 +1942,7 @@ OnTimer80000: mes "Well, you are pretty ridiculous. Beginners shouldn't get the loot Amdarias drops."; erasequest 12318; erasequest 12319; - getitem 6608,1; //Coagulated Spell + getitem Coagulated_Spell,1; //Coagulated Spell next; mes "[Hugin]"; mes "Varmunt, I have arbitrarily stopped time. And soon, the time gap will be gone."; diff --git a/npc/re/instances/WolfchevLaboratory.txt b/npc/re/instances/WolfchevLaboratory.txt index 30cd74c7f..7adc07995 100644 --- a/npc/re/instances/WolfchevLaboratory.txt +++ b/npc/re/instances/WolfchevLaboratory.txt @@ -43,7 +43,7 @@ //== Giacomo Girolam ======================================= lighthalzen,303,303,6 script Giacomo Girolamo#kiup2 4_M_KHMAN,3,3,{ - if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) { + if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) { mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000"; close; } @@ -320,7 +320,7 @@ lighthalzen,303,303,6 script Giacomo Girolamo#kiup2 4_M_KHMAN,3,3,{ //== Weird Old Man (Rewards) =============================== lighthalzen,342,291,4 script Weird old man#Bio4Reward 4_M_EINOLD,{ - if ((MaxWeight - Weight) < 2800 || !checkweight(1201, 1)) { + if ((MaxWeight - Weight) < 2800 || !checkweight(Knife, 1)) { mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000"; close; } @@ -695,7 +695,7 @@ lighthalzen,342,291,4 script Weird old man#Bio4Reward 4_M_EINOLD,{ //== Sorcerer (Rewards) ==================================== lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{ - if ((MaxWeight - Weight) < 1200 || !checkweight(1201, 1)) { + if ((MaxWeight - Weight) < 1200 || !checkweight(Knife, 1)) { mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000"; close; } @@ -1458,7 +1458,7 @@ que_lhz,206,74,4 script Researcher#02 4_LGTSCIENCE,3,3,{ //== Wolfchev ============================================== que_lhz,94,119,4 script Researcher#03 4_LGTSCIENCE,{ - if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) { + if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) { mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000"; close; } @@ -1499,7 +1499,7 @@ que_lhz,94,119,4 script Researcher#03 4_LGTSCIENCE,{ //== Wolfchev ============================================== que_lhz,147,224,4 script Researcher#04 4_LGTSCIENCE,{ - if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) { + if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) { mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000"; close; } @@ -1699,7 +1699,7 @@ que_lhz,140,224,2 duplicate(Human Guinea pig#01) Human Guinea pig#08 CHEN //== Wolfchev ============================================== lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{ - if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) { + if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) { mes "^FF0000You cannot continue the process due to possessing too many belongings.^000000"; close; } @@ -1916,7 +1916,7 @@ lhz_dun04,151,276,3 script Researcher#memo 4_LGTSCIENCE,{ //========================================================== lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{ - if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) { + if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) { mes "^FF0000You cannot continue the process due to possessing too many belongings.^000000"; close; } @@ -3094,7 +3094,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{ //== Wolfchev - Final encounter ============================ 1@lhz,137,156,7 script Wolfchev#last 4_LGTSCIENCE,{ - if ((MaxWeight - Weight) < 1000 || !checkweight(1201, 1)) { + if ((MaxWeight - Weight) < 1000 || !checkweight(Knife, 1)) { mes "^FF0000 Check up your inventory. You got too many items to carry out the quest. ^000000"; close; } -- cgit v1.2.3-70-g09d2