diff options
Diffstat (limited to 'npc/re/quests')
-rw-r--r-- | npc/re/quests/cupet.txt | 36 | ||||
-rw-r--r-- | npc/re/quests/eden/100-110.txt | 3 | ||||
-rw-r--r-- | npc/re/quests/eden/111-120.txt | 1 | ||||
-rw-r--r-- | npc/re/quests/eden/131-140.txt | 4 | ||||
-rw-r--r-- | npc/re/quests/eden/eden_iro.txt | 276 | ||||
-rw-r--r-- | npc/re/quests/eden/eden_quests.txt | 4 | ||||
-rw-r--r-- | npc/re/quests/newgears/2012_headgears.txt | 729 | ||||
-rw-r--r-- | npc/re/quests/quests_dewata.txt | 1 | ||||
-rw-r--r-- | npc/re/quests/quests_dicastes.txt | 13 | ||||
-rw-r--r-- | npc/re/quests/quests_eclage.txt | 232 | ||||
-rw-r--r-- | npc/re/quests/quests_malangdo.txt | 2 | ||||
-rw-r--r-- | npc/re/quests/quests_malaya.txt | 10 | ||||
-rw-r--r-- | npc/re/quests/quests_mora.txt | 2 |
13 files changed, 1092 insertions, 221 deletions
diff --git a/npc/re/quests/cupet.txt b/npc/re/quests/cupet.txt index 3e339e168..03f5f69dc 100644 --- a/npc/re/quests/cupet.txt +++ b/npc/re/quests/cupet.txt @@ -13,9 +13,8 @@ // 1st NPC - script CPM1 4_M_ALCHE_C,{ - .@npc$ = "[Cute Pet Manager]"; - + setarray .@tame_id[0],619,620,622,623,624,627,628,629,630; setarray .@tame_amount[0],3,3,3,3,3,3,3,3,3; setarray .@hunt_id[0],909,909,705,916,935,919,919,940,921; @@ -29,7 +28,6 @@ mes .@tame_amount + " times for a taming item."; mes "You can't exchange anymore."; next; - mes "[Cute Pet Manager]"; mes "Besides me, there are other"; mes "Cute Pet Managers. If you want"; @@ -37,16 +35,14 @@ mes "you go and see them."; close; } - - callfunc "cute_pet_manager",.@tame_id,.@tame_amount,.@hunt_id,.@hunt_amount,.@mob_id,cpm_one,.@tame_gets,.@hunt_id2,.@hunt_amount2; + callfunc "cute_pet_manager",.@tame_id,.@tame_amount,.@hunt_id,.@hunt_amount,.@mob_id,cpm_one,.@tame_gets,.@hunt_id2,.@hunt_amount2; } // 2nd NPC - script CPM2 4_M_ALCHE_C,{ - .@npc$ = "[Cute Pet Manager]"; - + setarray .@tame_id[0],621,625,632,631,633,634,635,636,659,637,639,640; setarray .@tame_amount[0],2,2,2,2,2,2,2,2,2,2,2,2; setarray .@hunt_id[0],938,935,925,7033,945,942,931,901,1094,1021,936,1035; @@ -61,7 +57,6 @@ mes .@tame_amount + " times for a taming item."; mes "You can't exchange anymore."; next; - mes "[Cute Pet Manager]"; mes "Besides me, there are other"; mes "Cute Pet Managers. If you want"; @@ -69,16 +64,14 @@ mes "you go and see them."; close; } - - callfunc "cute_pet_manager",.@tame_id,.@tame_amount,.@hunt_id,.@hunt_amount,.@mob_id,cpm_two,.@tame_gets,.@hunt_id2,.@hunt_amount2; + callfunc "cute_pet_manager",.@tame_id,.@tame_amount,.@hunt_id,.@hunt_amount,.@mob_id,cpm_two,.@tame_gets,.@hunt_id2,.@hunt_amount2; } // 3rd NPC - script CPM3 4_M_ALCHE_C,{ - .@npc$ = "[Cute Pet Manager]"; - + setarray .@tame_id[0],638,626,641,661,660,642; setarray .@tame_amount[0],1,1,1,1,1,1; setarray .@hunt_id[0],1020,943,1038,7047,1970,923; @@ -94,7 +87,6 @@ mes .@tame_amount + " times for a taming item."; mes "You can't exchange anymore."; next; - mes "[Cute Pet Manager]"; mes "Besides me, there are other"; mes "Cute Pet Managers. If you want"; @@ -102,9 +94,8 @@ mes "you go and see them."; close; } - - callfunc "cute_pet_manager",.@tame_id,.@tame_amount,.@hunt_id,.@hunt_amount,.@mob_id,cpm_three,.@tame_gets,.@hunt_id2,.@hunt_amount2; + callfunc "cute_pet_manager",.@tame_id,.@tame_amount,.@hunt_id,.@hunt_amount,.@mob_id,cpm_three,.@tame_gets,.@hunt_id2,.@hunt_amount2; } function script cute_pet_manager { @@ -123,7 +114,6 @@ function script cute_pet_manager { mes "who is in charge of public relations"; mes "for the New Upgraded Cute Pet system."; next; - mes "[Cute Pet Manager]"; mes "If you have any concerns regarding"; mes "the Cute Pet system I am here to guide you."; @@ -132,18 +122,15 @@ function script cute_pet_manager { mes "then I will tell you the monster"; mes "that you can tame with the item."; next; - mes "Also I will explain what materials"; mes "you need to bring in order to"; mes "get the taming item."; next; - mes "[Cute Pet Manager]"; mes "If you already brought materials"; mes "to exchange for the taming item,"; mes "I can exchange it for taming items immediately."; next; - mes "[Cute Pet Manager]"; mes "However, there is a limit"; mes "for exchanging taming items."; @@ -151,17 +138,14 @@ function script cute_pet_manager { mes getarg(6) + " times. So please make sure"; mes "how many times you have exchanged."; next; - mes "[Cute Pet Manager]"; mes "So, which taming item do you want?"; mes "Please choose one from the list."; next; - // Create Menu System for (.@a = 0; .@a < getarraysize(getarg(0)); ++.@a) { .@menu$ += (.@menu$ == "" ? "" : ":") + getitemname(getelementofarray(getarg(0), .@a)); } - // Query Player Choice .@choice = select(.@menu$) - 1; @@ -173,7 +157,6 @@ function script cute_pet_manager { .@mob_id = getelementofarray(getarg(4), .@choice); .@hunt_id2 = getelementofarray(getarg(7), .@choice); .@hunt_amount2 = getelementofarray(getarg(8), .@choice); - dispbottom "Tame ID: " + .@tame_id; dispbottom "Tame Amount: " + .@tame_amount; dispbottom "Hunt ID: " + .@hunt_id; @@ -182,28 +165,23 @@ function script cute_pet_manager { dispbottom "Mob ID: " + .@mob_id; 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) { - mes "[Cute Pet Manager]"; mes "Ah, you have gathered all items"; mes "with your friends. You can now"; mes "exchange for an " + getitemname(.@tame_id) + "."; mes "Do you want to exchange with me?"; next; - - if (select("Exchange:Don't Exchange") == 2) { + if (select("Exchange:Don't Exchange") == 2) { mes "[Cute Pet Manager]"; mes "You don't? You will come back again."; close; } - delitem .@hunt_id, .@hunt_amount; delitem 6083, 1; set getarg(5), getarg(5) + 1; getitem .@tame_id, .@tame_amount; - mes "[Cute Pet Manager]"; mes "Wise choice."; mes "I hope you and your pet get along."; diff --git a/npc/re/quests/eden/100-110.txt b/npc/re/quests/eden/100-110.txt index 3dbd8d433..c0065b293 100644 --- a/npc/re/quests/eden/100-110.txt +++ b/npc/re/quests/eden/100-110.txt @@ -782,7 +782,7 @@ moc_para01,37,95,5 script Gelkah#1 4_F_GELKA,{ .@ran = rand(1,1000); if (.@amount == 1) { if (.@ran <= 100) - setarray .@item[0],Blue_Potion,2; + setarray .@item[0],Blue_Potion,2; else if (.@ran <= 200) setarray .@item[0],White_Slim_Potion,10; else if (.@ran == 333) @@ -1019,6 +1019,7 @@ S_Hunting: break; } erasequest getarg(0); + return; } moc_para01,41,95,5 script Rohtert#12 4_M_ROTERT,{ diff --git a/npc/re/quests/eden/111-120.txt b/npc/re/quests/eden/111-120.txt index b8bd667f1..a8ea81361 100644 --- a/npc/re/quests/eden/111-120.txt +++ b/npc/re/quests/eden/111-120.txt @@ -1135,7 +1135,6 @@ S_Hunting: mes "You finished researching about "+ getarg(.@i+2) +". Thank you."; getexp 700000,getarg(.@i+1); break; - } erasequest .@quest_id; next; diff --git a/npc/re/quests/eden/131-140.txt b/npc/re/quests/eden/131-140.txt index b40c4167f..e23b6a83d 100644 --- a/npc/re/quests/eden/131-140.txt +++ b/npc/re/quests/eden/131-140.txt @@ -573,7 +573,7 @@ S_Erasequest: mes "I'll ask someone else to take care of the rest of the Satan Morroc Incarnations, then!"; break; case 3: - mes "I'll need to ask another adventurer to help with the Scaraba!"; + mes "I'll need to ask another adventurer to help with the Scaraba!"; } break; case 2: @@ -584,7 +584,7 @@ S_Erasequest: getexp 1100000,300000; break; case 2: - mes "Was the story of Satan Morroc worth putting to song? Great work!"; + mes "Was the story of Satan Morroc worth putting to song? Great work!"; getexp 1100000,200000; break; case 3: diff --git a/npc/re/quests/eden/eden_iro.txt b/npc/re/quests/eden/eden_iro.txt index e60f0aedd..4f65498ea 100644 --- a/npc/re/quests/eden/eden_iro.txt +++ b/npc/re/quests/eden/eden_iro.txt @@ -3,13 +3,14 @@ //===== By: ================================================== //= -SkittleNugget- //===== Current Version: ===================================== -//= 1.1 +//= 1.2 //===== Description: ========================================= //= Eden scripts custom to iRO (disabled by default). //= You may need iRO's data.grf to view some of the items. //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Edited and added more NPCs, lots of placeholders. [Euphy] +//= 1.2 Added Mail Annex Station scripts, commented out. [Euphy] //============================================================ // Acolyte Warper (part of other/acolyte_warp.txt) @@ -338,7 +339,7 @@ moc_para01,50,39,4 script Eve Natalia 4_F_SITDOWN,{ // Bubble Gum & Battle Manual Exchanger //============================================================ moc_para01,48,184,2 script Gum & Manual Exchanger 2_DROP_MACHINE,{ - if (Weight < MaxWeight / 2) { + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) { mes "You're carrying too many items right now."; close; } @@ -409,8 +410,7 @@ L_Exchange: close; } mes "[Trader Machine]"; - mes "That's a total of "+.@amount; - mes getitemname(getarg(2))+"."; + mes "That's a total of " + .@amount + " " + getitemname(getarg(2)) + "."; mes "Is this correct?"; next; if(select("Yes, give them to me!:No, wait not yet.") == 2) @@ -427,9 +427,194 @@ L_Exchange: close; } +// Merry Badger +//============================================================ +moc_para01,13,22,4 script Merry Badger#xch 4_F_SITDOWN,{ + mes "[Merry Badger]"; + mes "Hello there! I'm Merry Badger and I was hired to exchange the ^00CC00Eden Merit Badges^000000!"; + next; + mes "[Merry Badger]"; + mes "I can take your Merit Badges and give you some useful stuff, or I can take some of your stuff and give you some Eden Merit Badges."; + mes "As I get more authorization I can offer more things to trade with you, so definitely keep me in mind when visiting the Eden Group."; + next; + switch (select("Redeem Badges:Trade in FOR badges:Exchange Rates:15 Job Manuals - 1 JM Box")) { + case 1: + while (true) { + mes "[Merry Badger]"; + mes "Sure thing, I have several options currently for your badges!"; + next; + switch(select("This week's Special:2 EMB for 10 KVM Badge:2 EMB for 10 Bravery Medals:2 EMB for 10 Valor Medals:5 EMB for 5 Medium Life Potion:5 EMB for 5 Life Insurance:5 EMB for 5 Token of Siegfried:7 EMB for 1 Job Battle Manual:8 EMB for 1 Reset Stone:Nothing Now")){ + case 1: + if (countitem(Para_Logro_Badge) < 3) { + mes "[Merry Badger]"; + mes "You don't have enough ^00CC00Eden Merit Badges^000000. Let's start over!"; + next; + continue; + } + mes "[Merry Badger]"; + mes "Ok, I have a special for 3 Merit Badges. This week I'll give you ^00CC0040 Light Granule^000000, ^0066CC40 Gun Powder^000000, ^00CC003 Izidor^000000, ^0066CC10 Prickly Fruit^000000, ^00CC001 Mandragora Flowerpot^000000, and ^0066CC3 Elder Branch^000000."; + next; + if (select("Yes:No") != 1) { + mes "[Merry Badger]"; + mes "I understand, let's see if you'd like something different!"; + next; + continue; + } + if (countitem(Para_Logro_Badge) < 3) { + mes "[Merry Badger]"; + mes "You don't have enough ^00CC00Eden Merit Badges^000000. Let's start over!"; + next; + continue; + } + delitem Para_Logro_Badge,3; //Para_Logro_Badge + getitem Light_Granule,40; //Light_Granule + getitem Gun_Power,40; //Gun_Power + getitem Izidor,3; //Izidor + getitem Prickly_Fruit,10; //Prickly_Fruit + getitem Mandragora_Flowerpot,1; //Mandragora_Flowerpot + getitem Elder_Branch,3; //Elder_Branch + mes "[Merry Badger]"; + mes "There you go! What else would you like?"; + break; + case 2: + callsub L_Exchange,2,KVM_Badge,10; //KVM_Badge + break; + case 3: + callsub L_Exchange,2,BF_Badge1,10; //BF_Badge1 + break; + case 4: + callsub L_Exchange,2,BF_Badge2,10; //BF_Badge2 + break; + case 5: + callsub L_Exchange,5,Med_Life_Potion,5; //Med_Life_Potion + break; + case 6: + callsub L_Exchange,5,Insurance,5; //Insurance + break; + case 7: + callsub L_Exchange,5,Token_Of_Siegfried,5; //Token_Of_Siegfried + break; + case 8: + callsub L_Exchange,7,Job_Manual50,1; //Job_Manual50 + break; + case 9: + callsub L_Exchange,8,Premium_Reset_Stone,1; //Premium_Reset_Stone + break; + case 10: + mes "[Merry Badger]"; + mes "Wonderful!"; + mes "I'll be here if you ever want to exchange for Eden Merit Badges!"; + close; + } + next; + } + end; + case 2: + mes "[Merry Badger]"; + mes "I have a limited selection as of right now, but here is what I can offer to get 1 Eden Merit Badge!"; + next; + if (select("Etc Items:Cancel") != 1) { + mes "[Merry Badger]"; + mes "Well that is OK, if you want to see what I offer just ask!"; + close; + } + while (true) { + if (select("5x Old Purple Box:Nothing") != 1) { + mes "[Merry Badger]"; + mes "Wonderful!"; + mes "I'll be here if you ever want to exchange for Eden Merit Badges!"; + close; + } + mes "[Merry Badger]"; + if (countitem(Old_Violet_Box) < 5) { + mes "You don't have enough of that to get 1 Eden Merit Badge. Lets start over!"; + } else { + mes "Wonderful, what else do you want?"; //custom dialogue + delitem Old_Violet_Box,5; //Old_Violet_Box + getitem Para_Logro_Badge,1; //Para_Logro_Badge + } + next; + } + end; + case 3: + mes "[Merry Badger]"; + mes "This is what I'll give you for your ^00CC00Eden Merit Badges^000000!"; + mes "Ok, I have a special for 3 Merit Badges. This week I'll give you ^00CC0040 Light Granule^000000, ^0066CC40 Gun Powder^000000, ^00CC003 Izidor^000000, ^0066CC10 Prickly Fruit^000000, ^00CC001 Mandragora Flowerpot^000000, and ^0066CC3 Elder Branch^000000."; + mes "^00CC002 Eden Merit Badges^000000 = ^0066CC10x KVM Badge^000000"; + mes "^00CC002 Eden Merit Badges^000000 = ^0066CC10x Bravery Medals^000000"; + mes "^00CC002 Eden Merit Badges^000000 = ^0066CC10x Valor Medals^000000"; + mes "^00CC005 Eden Merit Badges^000000 = ^0066CC5x Medium Life Potion^000000"; + mes "^00CC005 Eden Merit Badges^000000 = ^0066CC5x Life Insurance^000000"; + mes "^00CC005 Eden Merit Badges^000000 = ^0066CC5x Token Of Siegfried^000000"; + mes "^00CC007 Eden Merit Badges^000000 = ^0066CC1x Job Battle Manual^000000"; + mes "^00CC008 Eden Merit Badges^000000 = ^0066CC1x Reset Stone^000000"; + next; + mes "[Merry Badger]"; + mes "This is what you can give me to get ^00CC001 Eden Merit Badge^000000!"; + mes "^0066CC5x Old Purple Box^000000"; + close; + case 4: + mes "[Merry Badger]"; + mes "I was strong armed into giving this, but you are worth it!"; + mes "Do you want to exchange 15 Job Manuals to get 1 Tradable box of 10 Job Manuals?"; + mes "I know 15 does not equal 10, but boxes are expensive you know."; + next; + + //custom dialogue below + if (select("Yes:No") != 1) { + mes "[Merry Badger]"; + mes "Wonderful!"; + mes "I'll be here if you ever want to exchange for Eden Merit Badges!"; + close; + } + if (countitem(Job_Manual50) < 15) { + mes "[Merry Badger]"; + mes "You don't have 15 or more Job Manuals to get 1 Box!"; + close; + } + mes "[Merry Badger]"; + mes "Wonderful, what else do you want?"; + delitem Job_Manual50,15; //Job_Manual50 + getitem Job_Manual50_Box,1; //Job_Manual50_Box + close; + } + end; + +//callsub L_Exchange,<badge cost>,<item id>,<amount>; +L_Exchange: + mes "[Merry Badger]"; + mes "Ok, I can give you ^ff0000"+getitemname(getarg(1))+"^000000 for ^0066CC"+getarg(0)+" of your Eden Merit Badge(s)^000000."; + mes "Do you want to?"; + next; + if (select("Yes:No") != 1) { + mes "[Merry Badger]"; + mes "I understand, let's see if you'd like something different!"; + return; + } + if (countitem(Para_Logro_Badge) < getarg(0)) { + mes "[Merry Badger]"; + mes "You don't have enough ^00CC00Eden Merit Badges^000000. Let's start over!"; + return; + } + mes "[Merry Badger]"; + mes "There you go! What else would you like?"; + delitem Para_Logro_Badge, getarg(0); //Para_Logro_Badge + getitem getarg(1),getarg(2); + return; +} + + // Kafra Stacker //============================================================ moc_para01,41,169,2 script Kafra Stacker#eden 4_M_ALCHE_B,{ + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) { + mes "- Wait a moment! -"; + mes "- Currently you're carrying -"; + mes "- too much weight in items. -"; + mes "- Please come back later -"; + mes "- after you put some into Kafra storage. -"; + close; + } mes "[Toma]"; mes "I can take your non-stacking Kafra Consumables"; mes "and make them fit neatly into stacks!"; @@ -457,6 +642,11 @@ moc_para01,41,169,2 script Kafra Stacker#eden 4_M_ALCHE_B,{ // Code Redeemer //============================================================ moc_para01,38,162,2 script Code the Redeemer#Give1 4_M_YOUNGKNIGHT,{ + if (checkweight(Knife,1) == 0 || MaxWeight - Weight < 2000) { + mes "^0000ffHold it right there!"; + mes "You're carrying too many items and don't have enough inventory space to receive any rewards. Please make more inventory space available and come back to take this challenge.^000000"; + close; + } mes "[Code the Redeemer]"; mes "Welcome, "+strcharinfo(0)+"!"; mes "I've been expecting you."; @@ -484,11 +674,11 @@ moc_para01,38,162,2 script Code the Redeemer#Give1 4_M_YOUNGKNIGHT,{ //============================================================ /* Due to the irregularity of iRO's databases, some of these sprites may not display properly. */ -moc_para01,32,171,4 cashshop Kafra Headgears#eden1 4_F_KAFRA3,14024:500,14098:150,17081:300,14097:500,14094:1000,14017:400,14099:300 +moc_para01,32,171,6 cashshop Kafra Headgears#eden1 4_F_KAFRA3,14024:500,14098:150,17081:300,14097:500,14094:1000,14017:400,14099:300 moc_para01,35,174,2 cashshop Kafra Dye Shop#dyes2 4_F_KAFRA4,6287:150 -moc_para01,36,170,2 cashshop Kafra Consumables#eden3 4_F_KAFRA6,13810:5,14167:400,16556:100,14111:75,14075:25,16419:30,14107:70,14104:50,14112:25,14082:30,14091:60,14088:30,14085:60,14169:40,14170:40,14172:40,14173:40,14171:40,14174:40,14159:100,14160:100,14161:100,14162:100,14163:100:14164:100,16420:1500 +moc_para01,37,170,2 cashshop Kafra Consumables#eden3 4_F_KAFRA6,13810:5,14167:400,16556:100,14111:75,14075:25,16419:30,14107:70,14104:50,14112:25,14082:30,14091:60,14088:30,14085:60,14169:40,14170:40,14172:40,14173:40,14171:40,14174:40,14159:100,14160:100,14161:100,14162:100,14163:100:14164:100,16420:1500 moc_para01,32,174,2 cashshop Kafra Rental Items#eden 4_F_KAFRA7,16683:150,16682:50,14126:250,14125:250,16430:250,14137:250,14127:250,14118:250,14119:250,14132:250,16425:250,14124:250,14133:250,14130:250,16424:250,14136:250,14122:250,16426:250,14135:250,14134:250,14138:250,16428:250,16431:250,14139:250,14131:250,16429:250,16427:250 -moc_para01,36,172,2 cashshop Kafra Costume#eden5 4_F_KAFRA8,16974:300,16972:600,16973:150,16975:150,16977:150,17014:150,17015:150 +moc_para01,37,172,2 cashshop Kafra Costume#eden5 4_F_KAFRA8,16974:300,16972:600,16973:150,16975:150,16977:150,17014:150,17015:150 moc_para01,35,168,1 cashshop Kafra Utility Shop#eden 4_F_KAFRA5,16677:25,13990:400,16396:100,16394:100,17106:500,6241:10,6240:10,6225:15,6226:15,14002:5,6294:500,7776:50,7619:30,7620:30,12208:40,14156:400,12210:40,14158:400,14042:50,14044:50,14046:50,14048:50,14114:50,14166:40,16418:500,16381:400,14165:100,14157:100,14178:100 // Duplicate NPCs @@ -521,7 +711,7 @@ OnTimer5000: } // Gym Pass Trainer "Ripped Cabus" (other/gympass) -moc_para01,33,162,4 duplicate(Ripped Cabus#GymPass) Ripped Callus#ed 4_M_HUMAN_02 +moc_para01,33,162,6 duplicate(Ripped Cabus#GymPass) Ripped Callus#ed 4_M_HUMAN_02 // RWC 2012 Enchanter "Goldenthiefberg" (events/RWC_2012.txt) // A combination of the slotter and enchanter, currently a placeholder. @@ -555,18 +745,6 @@ moc_para01,29,35,4 script Gramps#huntquests 4_M_LGTGRAND,{ //switch(select("Yes, I'll help.:Reward Me!:^ff0000I want to quit hunting^000000:^0000ffCan you warp me?^000000:Can you erase the timer?:What missions are you giving?:Give me Limited 3 day VIP:Tell me more about the VIP Access:No thanks, pops.")) { } -moc_para01,13,22,4 script Merry Badger#xch 4_F_SITDOWN,{ - mes "[Merry Badger]"; - mes "Hello there! I'm Merry Badger and I was hired to exchange the ^00CC00Eden Merit Badges^000000!"; - next; - mes "[Merry Badger]"; - mes "I can take your Merit Badges and give you some useful stuff, or I can take some of your stuff and give you some Eden Merit Badges."; - mes "As I get more authorization I can offer more things to trade with you, so definitely keep me in mind when visiting the Eden Group."; - close; - //next; - //switch(select("Redeem Badges:Trade in FOR badges:Exchange Rates:15 Job Manuals - 1 JM Box")) { -} - moc_para01,174,33,3 script Bathory#2012spirits BATHORY,{ mes "[Bathory]"; mes "Eheeheeheehee! The spotlight is on Glast Heim this week, so I'm ferrying people there for a mere 1,000z!"; @@ -596,3 +774,61 @@ moc_para01,174,33,3 script Bathory#2012spirits BATHORY,{ } moc_para01,26,174,4 script Grandma Boxter#boxx 4_F_THAISHAMAN,{ end; } + +// Mail Annex Station +//============================================================ +/* Map "auction_03" is a duplicate of "auction_02". + +moc_para01,30,187,4 script Mail Annex Station 2_POSTBOX,{ + mes "[Mail Annex Station]"; + mes "Would you like to go to the Kafra Mail Annex Station?"; + next; + if (select("Yes, send me now!:No thanks.") != 1) { + mes "[Mail Annex Station]"; + mes "Ok then!"; + close; + } + mes "[Mail Annex Station]"; + mes "Sending you to the Mail Annex Room."; + close2; + warp "auction_03",151,23; + end; +} + +auction_03,152,16,0 warp #mail_annex_warp 1,1,moc_para01,30,184 + +auction_03,152,42,4 script Kafra Employee#annex 4_F_KAFRA1,{ + mes "[Kafra Employee]"; + mes "Welcome to the Kafra's Mail Annex Station. This is now the only place to send and retrieve mail."; + next; + mes "[Kafra Employee]"; + mes "What would you like to do?"; + next; + switch(select("Access Mail:Storage:Cancel")) { + case 1: + if (Zeny < 130) { + mes "[Kafra Employee]"; + mes "I am sorry, but you do not have enough money."; + mes "To use the mailbox service,"; + mes "you are required to pay 130 zeny."; + close; + } + mes "[Kafra Employee]"; + mes "Thank you for using the Kafra Service."; + Zeny -= 130; + close2; + openmail; + end; + case 2: + callfunc "F_KafStor",0,1200,0; + end; + case 3: + mes "[Kafra Employee]"; + mes "Thank you for using the Kafra Service."; + close; + } +} + +auction_03,145,47,2 shop Tool Dealer#annex 4_M_01,611:-1,501:-1,502:-1,503:-1,506:-1,504:-1,645:-1,656:-1,657:-1,601:-1,602:-1,1065:-1,911:-1,910:-1,717:-1,1092:-1,1093:-1,713:400 + +*/ diff --git a/npc/re/quests/eden/eden_quests.txt b/npc/re/quests/eden/eden_quests.txt index f9030964c..1ac4f83f1 100644 --- a/npc/re/quests/eden/eden_quests.txt +++ b/npc/re/quests/eden/eden_quests.txt @@ -2150,7 +2150,7 @@ S_Select: close; } -moc_para01,179,44,3 script Chef 820,{ +moc_para01,179,44,3 script Chef 4_M_CHNCOOK,{ mes "[Chef]"; mes "What's up?"; mes "Do you want a Meal? Or do you have other business?"; @@ -4037,7 +4037,7 @@ S_Enchant: delitem getarg(0),1; para_2nd04 = 4; changequest 7240,7241; - getitem2 getarg(0),1,1,0,0,0,0,.@1st,.@2nd; + getitem2 getarg(0),1,1,0,0,0,0,.@1st,.@2nd; mes "[Thorn]"; mes "Ok, seems that the enhancement went well."; mes "If you don't like the result then you can come back again tomorrow."; diff --git a/npc/re/quests/newgears/2012_headgears.txt b/npc/re/quests/newgears/2012_headgears.txt new file mode 100644 index 000000000..2f61d22f8 --- /dev/null +++ b/npc/re/quests/newgears/2012_headgears.txt @@ -0,0 +1,729 @@ +//===== Hercules Script ====================================== +//= 2012 Headgear Quests +//===== By: ================================================== +//= Euphy, -SkittleNugget- +//===== Current Version: ===================================== +//= 1.0 +//===== Description: ========================================= +//= [Official Conversion] +//= Enhance gears by synthesizing them with Energy Crystals. +//===== Additional Comments: ================================= +//= 1.0 First version. [Euphy] +//= Script is a little messy, could use some cleaning. +//============================================================ + +// Main NPC :: 2012_hat_quest +//============================================================ +moc_para01,41,169,3 script Reno#2012hat 1_M_WIZARD,{ + // iRO has (very) minor differences in dialogue from the original script. + // To use iRO's version, uncomment the line below. + //.@features_iRO = 1; + + //custom translation - all checks below + if (checkweight(Axe,1) == 0 || MaxWeight - Weight < 800) { + mes "- Carrying too many items, cannot proceed. -"; + close; + } + + setarray .@type$,"lower","intermediate","advanced","highest"; + setarray .@crystal$,"Rough","Purified","High"; + + // playtime checks + setarray .@quests, + // base, first, count + 5161, 5162, 7, // Lower + 5169, 5170, 4, // Intermediate + 5174, 5175, 8; // High + setarray .@crystal_quests, 5225,5226,5227; + + setarray .@min_level,60,80,90,100; + + // hunting quest wait time + for (.@i = 0; .@i < getarraysize(.@quests); .@i += 3) { + if (questprogress(.@quests[.@i],PLAYTIME) == 2) { + erasequest .@quests[.@i]; + mes "[Reno]"; + mes "The waiting time for a "+.@type$[.@i]+" collection quest has expired." + " You can now take another request."; + close; + } + } + // buff wait time + for (.@i = 0; .@i < getarraysize(.@crystal_quests); ++.@i) { + if (questprogress(.@crystal_quests[.@i],PLAYTIME) == 2) { + erasequest .@crystal_quests[.@i]; + mes "[Reno]"; + mes "The waiting time for storing "+.@crystal$[.@i]+" Energy Crystals has expired." + " You can now store them again."; + close; + } + } + + // hunting quest checks + callsub(S_CheckHunting, 5161, 5162, 7, .@type$[0], Rough_Energy_Crystal, 10); + callsub(S_CheckHunting, 5169, 5170, 4, .@type$[1], Purified_Energy_Crystal, 10); + callsub(S_CheckHunting, 5174, 5175, 4, .@type$[2], High_Purity_Energy_Xtal, 5); + callsub(S_CheckHunting, 5174, 5179, 4, .@type$[3], High_Purity_Energy_Xtal, 10); + + // buff checks + .@energy_buf00 = (getstatus(SC_QUEST_BUFF1) || getstatus(SC_QUEST_BUFF2) || getstatus(SC_QUEST_BUFF3)); + if (!.@energy_buf00) { + for (.@i = 0; .@i < 3; ++.@i) { + if (questprogress(5222 + .@i)) { + .@item = Rough_Energy_Crystal + .@i; + .@amount = 2 + rand(3); + mes "[Reno]"; + mes getitemname(.@item)+" storage is now complete."; + next; + setquest .@crystal_quests[.@i]; + erasequest 5222 + .@i; + getitem .@item, .@amount; + mes "[Reno]"; + mes "^0000FF"+.@amount+" "+getitemname(.@item)+"s^000000 were extracted."; + close; + } + } + } + + mes "[Reno]"; + mes "Hi? I am Reno from the Energy Crystal Research Association, or ECRA."; + next; + .@opt$ = "ECRA?" + ":Quest to get Energy Crystals" + ":Energy Crystal Buffs" + ":Compress Energy Crystals" + ":Exchange Crystals for Headgear" + ":Random Gear for Crystals"; + if (.@features_iRO) + .@opt$ += ":See Equipment List"; + switch (select(.@opt$)) { + case 1: + mes "[Reno]"; + mes "ECRA is the institute that researches '^0000FFEnergy Crystals^000000' that" + " shall be used as an alternative energy source in the Rune Midgart" + " Kingdom, which suffers from a shortage of energy."; + next; + select("The reason for doing this?"); + mes "[Reno]"; + mes "I would like to explain that we are not trying to make an excuse to get away" + " from facing problem before I explain the reason. Never! So please let me" + " finish."; + next; + mes "[Reno]"; + mes "The Research Team has sent me the results they found."; + next; + mes "[Reno]"; + mes "Energy Crystals turned out to be ^0000FFgenerated inside the bodies of some" + " monsters^000000, and according to the research, stronger monsters" + " generate higher-class energy crystals in their bodies."; + next; + mes "[Reno]"; + mes "The Research Team decided to collect Energy Crystals by giving requests to" + " adventurers, with appropriate rewards. That enables us to collect better" + " and be more ^FF0000efficient^000000."; + next; + mes "[Reno]"; + mes "Energy Crystals, accumulated through hunting monsters by my request, shall be" + " used for my research. ^0000FFSome of them are planned to be returned to" + " adventurers.^000000"; + next; + mes "[Reno]"; + mes "Adventurers can use collected Energy Crystals for ^FF0000upgrading" + " equipments^000000 through me."; + next; + mes "[Reno]"; + mes "If it works well, it seems to be good for both ECRA and adventurers."; + close; + case 2: + mes "[Reno]"; + mes "The hunting quests are ranked by monster level and difficulty. The ranges are" + " lower, intermediate, high quests and can only be taken once per day."; + next; + + .@opt$ = "Lower level hunting [61-80]" + ":Intermediate level hunting [80-99]" + ":High level hunting [90 and up]" + ":Cancel my current quest."; + .@choice = select(.@opt$) - 1; + if (.@choice < 3) { + if (BaseLevel < .@min_level[.@choice]) { + mes "[Reno]"; + mes "I am sorry but the request for the "+.@type$[.@choice] + + " collection is only available for those level " + + .@min_level[.@choice] + " and higher. You do not seem to" + " be capable of carrying out this request."; + close; + } + if (callsub(S_CheckQuestStatus, .@quests[.@choice*3], .@quests[.@choice*3+1], .@quests[.@choice*3+2])) { + mes "[Reno]"; + mes "You seem to be under the other request of "+.@type$[.@choice] + + " collection. If the quest seems to be too hard... how" + " about you ^FF0000give up on the request^000000?"; + close; + } + if (questprogress(.@quests[.@choice*3], PLAYTIME) == 1) { + mes "[Reno]"; + mes "Currently waiting for the "+.@type$[.@choice]+" collection" + " commission. Tasks in each collection can only be" + " completed once per day."; //custom translation + close; + } + mes "[Reno]"; + mes "You selected to hunt a monster from the "+.@type$[.@choice] + + " collection. After hunting these monsters you will receive " + + ((.@features_iRO)?"10 ":"")+"^0000FF"+.@crystal$[.@choice] + + " Energy Crystals^000000 when you return to me."; + next; + mes "[Reno]"; + mes "Please select the monster that you think you can easily hunt from the list."; + next; + switch (.@choice) { + case 0: + .@quest = select( + "[Lower class] Requiem", + "[Lower class] Bathory", + "[Lower class] Spring Rabbit", + "[Lower class] Sleeper", + "[Lower class] Evil Druid", + "[Lower class] Ground Petite", + "[Lower class] Clock" + ); + break; + case 1: + .@quest = select( + "[Intermediate class] Siroma", + "[Intermediate class] Dark Priest", + "[Intermediate class] Stapo", + "[Intermediate class] Solider" + ); + break; + case 2: + .@quest = select( + "[Advanced] Desert Wolf", + "[Advanced] Medusa", + "[Advanced] Pinguicula", + "[Advanced] Majoruros", + "[Highest] Raydric", + "[Highest] Naga", + "[Highest] Ancient Mummy", + "[Highest] Ancient Mimic" + ); + if (.@quest > 4 && BaseLevel < .@min_level[3]) { + mes "[Reno]"; + mes "I am sorry but the request for the most advanced" + " collection is only available for those level " + + .@min_level[3]+" and higher. You do not seem to" + " be capable of carrying out this request."; + close; + } + break; + } + setquest .@quests[.@choice*3+1] + .@quest - 1; + mes "[Reno]"; + mes "The request for "+.@type$[.@choice]+" collection monsters has been" + " issued. Please check the details on the issued document."; + close; + } + // else: Cancel + for (.@i = 0; .@i<3; ++.@i) { + if (callsub(S_CheckQuestStatus, .@quests[.@i*3], .@quests[.@i*3+1], .@quests[.@i*3+2])) { + mes "[Reno]"; + mes "You are currently under the request of the " + +.@type$[.@i]+" collection. If you give up now," + " all your history will be lost. Do you really" + " want to give up?"; + next; + if (select("Yes:No") != 1) { + .@erase_quest = 2; + continue; + } + .@erase_quest = 1; + for (.@quest = .@quests[.@i*3+1]; .@quest < .@quests[.@i*3+1]+.@quests[.@i*3+2]; ++.@quest) { + if (questprogress(.@quest)) + erasequest .@quest; + } + } + } + switch (.@erase_quest) { + case 0: + mes "[Reno]"; + mes "You are not under any request."; + case 1: + mes "[Reno]"; + mes "The written request for you has been withdrawn."; + case 2: + mes "[Reno]"; + mes "Please keep up on it."; + } + close; + case 3: + mes "[Reno]"; + mes "Do you want to accumulate Energy Crystals inside of your body to receive a buff?"; + next; + .@choice = select("Accumulating Energy Crystals?" + ":Accumulate Rough Energy Crystal" + ":Accumulate Purified Energy Crystal" + ":Accumulate High Energy Crystal") - 1; + if (!.@choice) { + mes "[Reno]"; + mes "Energy Crystals are accumulated in your body when you hunt the" + " monsters we ask you to."; + next; + mes "[Reno]"; + mes "Our research shows that some methods enable humans to accumulate the" + " energy crystals inside of the body in the form of a buff."; + next; + mes "[Reno]"; + mes "If you spend about 3 hours, you will be able to gain a small amount" + " of Energy Crystals. So do you want to receive the buff?"; + close; + } + .@quest = 5222 + .@choice; + .@rate = 1 + .@choice; + setarray .@buffs, SC_QUEST_BUFF1, SC_QUEST_BUFF2, SC_QUEST_BUFF3; + if (questprogress(.@crystal_quests[.@choice], PLAYTIME) == 1) { + mes "[Reno]"; + mes "Were you successful? While storing other Energy Crystals will not have" + " much effect on your body, storing the same one may cause you harm."; //custom translation + close; + } + if (BaseLevel < .@min_level[.@choice]) { + mes "[Reno]"; + mes "With a body like that, you can't accumulate "+.@crystal$[.@choice] + +" Energy Crystals. You must be level "+.@min_level[.@choice]+" or" + " your body will be harmed in the process."; //custom translation + close; + } + if (.@energy_buf00) { + mes "[Reno]"; + mes "Accumulating Energy Crystal has already begun. I am sorry but it is" + " impossible to accumulate two different types of Energy Crystals" + " at a time."; + close; + } + if (questprogress(.@quest) > 0) { + erasequest .@quest; + mes "[Reno]"; + mes "An error has occurred. Please forgive me for the inconvenience."; //custom translation + close; + } + mes "[Reno]"; + mes "It takes 3 hours for your body to accumulate 2 to 4 "+.@crystal$[.@choice] + +" Energy Crystals. Do you want to start?"; + next; + if (select("Cancel:Start") == 1) { + mes "[Reno]"; + mes "I recommend that you try to accumulate Energy Crystal when you have time."; + close; + } + mes "[Reno]"; + mes "You might feel a slight tingle."; + next; + specialeffect2 EF_BASH3D; + percentheal .@rate * -5,0; + //consumeitem ??; //Keep_Connection_[.@rate] + sc_start .@buffs[.@choice], 10800000, .@rate; // Atk/Matk + 5*rate (+5, +10, +15) + setquest .@quest; + mes "[Reno]"; + mes "- Puck -"; + next; + mes "[Reno]"; + mes "Everything seems to be in order. Let's start accumulating "+.@crystal$[.@choice] + +" Energy Crystals. Remember to come back to me after 3 hours to get the " + +.@crystal$[.@choice]+" Energy Crystals."; + close; + case 4: + mes "[Reno]"; + mes "Do you want to compress the Energy Crystals?"; + next; + switch(select("What does compressing do?" + ":Compress Rough to Purified Crystal" + ":Compress Purified to High Crystal")) { + case 1: + mes "[Reno]"; + mes "Are you curious about Energy Crystal compression? I can compress" + " lower level Energy Crystals into higher ones."; + next; + mes "[Reno]"; + mes "Here is what I can make."; + mes "^FF000010 Rough Energy Crystals^000000 = ^FF00001 Purified Energy Crystal^000000"; + mes "^FF00005 Purified Energy Crystals^000000 = ^FF00001 High Energy Crystal^000000"; + next; + mes "[Reno]"; + mes "If you need higher grade Energy Crystals, this is a good way to get" + " them since the lower ones are easier to get."; + close; + case 2: + .@crystal = Rough_Energy_Crystal; + .@crystal_ = Purified_Energy_Crystal; + .@rate = 10; + break; + case 3: + .@crystal = Purified_Energy_Crystal; + .@crystal_ = High_Purity_Energy_Xtal; + .@rate = 5; + break; + } + .@crystal_count = countitem(.@crystal); + .@crystal_get = .@crystal_count / .@rate; + mes "[Reno]"; + mes sprintf("^FF0000%d %s^000000 = ^FF00001 %s^000000",.@rate,getitemname(.@crystal),getitemname(.@crystal_)); + next; + mes "[Reno]"; + mes sprintf("%d %ss will be compressed to %d %ss.",.@crystal_count,getitemname(.@crystal),.@crystal_get,getitemname(.@crystal_)); + mes "Do you want to compress?"; + next; + if (select("Compress:Stop") == 2) { + mes "[Reno]"; + mes "Okay, please contact if you need me in the future."; + close; + } + while (true) { + //custom translation + if (countitem(.@crystal) < .@rate) { + mes "[Reno]"; + mes "You don't have enough "+getitemname(.@crystal)+"."; + next; + break; + } + delitem .@crystal,.@rate; + getitem .@crystal_,1; + .@crystal_count = countitem(.@crystal); + .@crystal_get = .@crystal_count / .@rate; + mes "[Reno]"; + mes "The compression was very successful."; + mes "There are "+.@crystal_count+" Energy Crystals left, which can" + " compress into "+.@crystal_get+" Energy Crystals. Do you" + " want to continue?"; + next; + if (select("Compress:Stop") == 2) + break; + } + mes "[Reno]"; + mes "Compression completed."; + close; + case 5: + disable_items; + mes "[Reno]"; + mes "Do you want to exchange Energy Crystals for equipment? Please select the type" + " of Energy Crystal that you wish to exchange."; + next; + switch (select("See Equipment List" + ":["+countitem(Rough_Energy_Crystal)+"] Rough Energy Crystal" + ":["+countitem(Purified_Energy_Crystal)+"] Purified Energy Crystal" + ":["+countitem(High_Purity_Energy_Xtal)+"] High Energy Crystal")) { + case 1: + mes "[Reno]"; + mes "This is the brochure regarding the equipment upgrade that our Energy" + " Crystal research association provides. Please take a look around."; + close2; + readbook Energy_Xtal_Combi_Book,1; + end; + + // Variable descriptions + // .@crystal: Energy Crystal used + // .@items: Array of tuples <material, showslot, cost, reward>, where: + // material: equipment to upgrade + // showslot: display slots with equipment name (-1 to disable) + // cost: amount of Energy Crystals needed + // rewards: upgraded equipment + case 2: + .@crystal = Rough_Energy_Crystal; + setarray .@items, + // Material,showslot,cost,rewards + Wizardry_Hat, -1, 100, Remodel_Wizardry_Hat, + Magician_Hat, -1, 100, Remodel_Magician_Hat, + Mask_Of_Fox, -1, 100, Remodel_Mask_Of_Fox, + Joker_Jester, -1, 100, Remodel_Joker_Jester, + Bunny_Band, -1, 100, Remodel_Bunny_Band, + Munak_Turban_, -1, 100, Remodel_Munak_Turban, + Bongun_Hat_, -1, 100, Remodel_Bongun_Hat, + Opera_Ghost_Mask, -1, 100, Remodel_Opera_Mask; + break; + case 3: + .@crystal = Purified_Energy_Crystal; + setarray .@items, + // Material,showslot,cost,rewards + Binoculars, -1, 200, Improved_Binoculars, + Fin_Helm, -1, 200, Improved_Fin_Helm, + Assassin_Mask_, -1, 200, Improved_Assassin_Mask, + Welding_Mask, -1, 200, Improved_Welding_Mask, + Safety_Ring, -1, 200, Safety_Ring_, + Angel's_Protection, 1, 100, Im_Angel's_Protection, + Angel's_Safeguard, 1, 100, Impr_Angel's_Safeguard, + Angel's_Arrival, 1, 100, Impr_Angel's_Arrival, + Angel's_Warmth, 1, 100, Impr_Angel's_Warmth, + Kiss_Of_Angel, 1, 100, Improved_Kiss_Of_Angel; + break; + case 4: + .@crystal = High_Purity_Energy_Xtal; + setarray .@items, + // Material,showslot,cost,rewards + Corsair, -1, 300, Enhanced_Corsair, + Bone_Helm_, 1, 300, Enhanced_Bone_Helm, + Helm_Of_Angel, -1, 300, Enhanced_Helm_Of_Angel, + // Helm_Of_Sun, 0, 1000, Enhanced_Helm_Of_Sun, + Helm_Of_Sun_, 1, 300, Enhanced_Helm_Of_Sun, + Variant_Shoes, -1, 300, Enhanced_Variant_Shoes, + Ring_Of_Flame_Lord,-1, 300, Good_Ring_Of_Flame_Lord, + Ring_Of_Resonance, -1, 300, Good_Ring_Of_Resonance, + Angel's_Protection, 1, 20, Im_Angel's_Protection, + Angel's_Safeguard, 1, 20, Impr_Angel's_Safeguard, + Angel's_Arrival, 1, 20, Impr_Angel's_Arrival, + Angel's_Warmth, 1, 20, Impr_Angel's_Warmth, + Kiss_Of_Angel, 1, 20, Improved_Kiss_Of_Angel; + break; + } + + mes "[Reno]"; + mes "Please select the equipment to exchange for "+getitemname(.@crystal)+"s."; + next; + .@crystal_count = countitem(.@crystal); + .@opt$ = ""; + for (.@i = 0; .@i < getarraysize(.@items); .@i += 4) { + .@item_name$ = getitemname(.@items[.@i]) + ((.@items[.@i+1] > -1)?"["+.@items[.@i+1]+"]":""); + .@opt$ += sprintf("%s (%d/%d):",.@item_name$,.@crystal_count,.@items[.@i+2]); + } + .@index = select(.@opt$) - 1; + .@material = .@items[.@index*4]; + .@item_name$ = getitemname(.@material) + ((.@items[.@index*4+1] > -1)?"["+.@items[.@index*4+1]+"]":""); + .@cost = .@items[.@index*4+2]; + .@reward = .@items[.@index*4+3]; + + //custom translations + if (.@material == Safety_Ring) { + // Special case: Safety Ring + if (countitem(Safety_Ring) < 1 || countitem(Ring_) < 1 + || countitem(Earring_) < 1 || countitem(Glove_) < 1 + || countitem(Brooch_) < 1 || countitem(Necklace_) < 1 + || countitem(Rosary_) < 1 || countitem(.@crystal) < .@cost) { + mes "[Reno]"; + mes "The materials to make a Safety Ring[1] are insufficient." + " Please check your inventory."; + close; + } + mes "[Reno]"; + mes "Before upgrading your Safety Ring, please listen to these" + " ^FF0000precautions^000000."; + next; + mes "[Reno]"; + mes "^FF0000In addition to the Safety Ring, all refinements and cards of" + " the required materials will also disappear.^000000"; + next; + } else { + if (countitem(.@material) < 1 || countitem(.@crystal) < .@cost) { + mes "[Reno]"; + mes "The materials are insufficient. Please check your materials."; + close; + } + mes "[Reno]"; + mes "Before upgrading your equipment, please listen to these" + " ^FF0000precautions^000000."; + next; + mes "[Reno]"; + mes "^FF0000When using Energy Crystals to upgrade equipment, all previous" + " refinements, enchantments, and cards will be lost.^000000"; + next; + } + mes "[Reno]"; + mes "Are you familiar with the ^FF0000precautions^000000?"; + next; + if (select("I am.:No.") == 2) { + mes "[Reno]"; + mes "Okay. Next time, then."; + close; + } + mes "[Reno]"; + mes "Then let's begin to upgrade "+.@item_name$+"."; + next; + if (countitem(.@material) < 1 || countitem(.@crystal) < .@cost) { + mes "[Reno]"; + mes "The materials are insufficient. Please check your materials."; + close; + } + if (.@material == Safety_Ring) { + // Special case: Safety Ring + if (countitem(Safety_Ring) < 1 || countitem(Ring_) < 1 + || countitem(Earring_) < 1 || countitem(Glove_) < 1 + || countitem(Brooch_) < 1 || countitem(Necklace_) < 1 + || countitem(Rosary_) < 1 || countitem(.@crystal) < .@cost) { + mes "[Reno]"; + mes "The materials to make a Safety Ring[1] are insufficient." + " Please check your inventory."; + close; + } + } + specialeffect2 EF_REPAIRWEAPON; + progressbar "ffff00",2; + delitem .@material,1; + if (.@material == Safety_Ring) { + delitem Ring_,1; + delitem Earring_,1; + delitem Glove_,1; + delitem Brooch_,1; + delitem Necklace_,1; + delitem Rosary_,1; + } + delitem .@crystal,.@cost; + getitem .@reward,1; + mes "[Reno]"; + mes "The upgrade was successful. Your Energy Crystals will help our research greatly."; + close; + case 6: + mes "[Reno]"; + mes "Do you want to donate Energy Crystals to get a random new headgear?"; + next; + switch (select("Donate Energy Crystals?" + ":Donate 300 Rough Energy Crystals." + ":Donate 600 Purified Energy Crystals." + ":Donate 900 High Energy Crystals.")) { + case 1: + mes "[Reno]"; + mes "We are collecting Energy Crystals so that we can research more" + " combinations of headgears for adventurers."; + next; + mes "[Reno]"; + mes "Thanks to the support of adventurers we can use these Energy" + " Crystals to further our research."; + next; + mes "[Reno]"; + mes "So we receive a minimum of 300 Rough Energy Crystals, 600 Purified" + " Energy Crystals, and 900 High Energy Crystals."; + if (!.@features_iRO) { + next; + mes "[Reno]"; + mes "You may feel that this is a burden, but for the sake of our" + " research, please continue."; //custom translation + close; + } + mes "For the donation, I'll give you a random new headgear."; + next; + mes "[Reno]"; + mes "300 Rough Energy Crystals"; + mes "- New Mage Hat"; + mes "- New Magician Hat"; + mes "- New Kitsune Mask"; + mes "- New Joker Jester"; + mes "- New Bunny Band"; + mes "- New Munak Hat"; + mes "- New Bongun Hat"; + mes "- New Phantom Opera Mask"; + next; + mes "[Reno]"; + mes "600 Purified Energy Crystals"; + mes "- Good Binoculars"; + mes "- Good Fin Helm"; + mes "- Good Assassin Mask"; + mes "- Good Welding Mask"; + mes "- Good Safety Ring"; + mes "- Good Angelic Protection"; + mes "- Good Angelic Guard"; + mes "- Good Angelic Cardigan"; + mes "- Good Angel's Reincarnation"; + next; + mes "[Reno]"; + mes "900 High Energy Crystals"; + mes "- Enhanced Corsair"; + mes "- Enhanced Bone Helm"; + mes "- Enhanced Helm of Angel"; + mes "- Enhanced Variant Shoes"; + mes "- Enhanced Ring of Flame Lord"; + mes "- Enhanced Ring of Resonance"; + close; + case 2: + if (countitem(Rough_Energy_Crystal) < 300) { + mes "[Reno]"; + mes "Thank for your support, but we need 300 Rough Energy Crystals."; + close; + } + delitem Rough_Energy_Crystal,300; + .@r = rand(1,17); + if (.@r <= 2) getitem Remodel_Wizardry_Hat,1; + else if (.@r <= 4) getitem Remodel_Magician_Hat,1; + else if (.@r <= 6) getitem Remodel_Mask_Of_Fox,1; + else if (.@r <= 8) getitem Remodel_Joker_Jester,1; + else if (.@r <= 10) getitem Remodel_Bunny_Band,1; + else if (.@r <= 13) getitem Remodel_Munak_Turban,1; + else if (.@r <= 16) getitem Remodel_Bongun_Hat,1; + else getitem Remodel_Opera_Mask,1; + break; + case 3: + if (countitem(Purified_Energy_Crystal) < 600) { + mes "[Reno]"; + mes "Thank for your support, but we need 600 Purified Energy Crystals."; + close; + } + delitem Purified_Energy_Crystal,600; + .@r = rand(1,18); + if (.@r <= 3) getitem Improved_Binoculars,1; + else if (.@r <= 6) getitem Improved_Fin_Helm,1; + else if (.@r <= 9) getitem Improved_Assassin_Mask,1; + else if (.@r <= 12) getitem Improved_Welding_Mask,1; + else if (.@r <= 13) getitem Safety_Ring_,1; + else if (.@r <= 14) getitem Im_Angel's_Protection,1; + else if (.@r <= 15) getitem Impr_Angel's_Safeguard,1; + else if (.@r <= 16) getitem Impr_Angel's_Arrival,1; + else if (.@r <= 17) getitem Impr_Angel's_Warmth,1; + else getitem Improved_Kiss_Of_Angel,1; + break; + case 4: + if (countitem(High_Purity_Energy_Xtal) < 900) { + mes "[Reno]"; + mes "Thank for your support, but we need 900 High Energy Crystals."; + close; + } + delitem High_Purity_Energy_Xtal,900; + .@r = rand(1,33); + if (.@r <= 10) getitem Enhanced_Corsair,1; + else if (.@r <= 20) getitem Enhanced_Bone_Helm,1; + else if (.@r <= 25) getitem Enhanced_Helm_Of_Angel,1; + else if (.@r <= 30) getitem Enhanced_Variant_Shoes,1; + else if (.@r <= 31) getitem Good_Ring_Of_Flame_Lord,1; + else getitem Good_Ring_Of_Resonance,1; + break; + } + mes "[Reno]"; + mes "Thank you very much. The Energy Crystals you donated will be greatly helpful" + " for our research. This is your reward for your donation."; //custom translation + close; + case 7: // iRO only + mes "[Reno]"; + mes "This is the brochure regarding the equipment upgrade that our Energy Crystal" + " research association provides. Please take a look around."; + close2; + readbook Energy_Xtal_Combi_Book,1; + end; + } + end; + +// callsub(S_CheckHunting, <quest index>, <start quest>, <number of quests>, "<type>", <reward id>, <reward amount>); +S_CheckHunting: + .@basequest = getarg(0); + .@first = getarg(1); + .@last = .@first + getarg(2) - 1; + for (.@i = .@first; .@i <= .@last; ++.@i) { + if (questprogress(.@i, HUNTING) == 2) { + mes "[Reno]"; + mes "Finished "+ getarg(3) +" collection hunting quest."; + next; + setquest .@basequest; + erasequest .@i; + getitem getarg(4), getarg(5); + mes "You receive "+ getarg(5) +" "+ getitemname(getarg(4)) +" as the "+ getarg(3) +" collection reward."; + close; + } + } + return; + +// callsub(S_CheckQuestStatus, <quest index>, <start quest>, <number of quests> +S_CheckQuestStatus: + .@basequest = getarg(0); + .@first = getarg(1); + .@last = .@first + getarg(2) - 1; + .@status = false; + for (.@i = .@first; .@i <= .@last; ++.@i) { + if (questprogress(.@i)) + return true; + } + return false; +} diff --git a/npc/re/quests/quests_dewata.txt b/npc/re/quests/quests_dewata.txt index db78bce54..821ee6d8d 100644 --- a/npc/re/quests/quests_dewata.txt +++ b/npc/re/quests/quests_dewata.txt @@ -1285,7 +1285,6 @@ dew_fild01,114,275,4 script Lero#dew_drink 4_M_DEWMAN,{ mes "Once you bring the oil palm nuts, Mr. Memo will exchange them with oil."; close; } else if ((.@j & 2) || (.@j & 8) || (.@j & 32)) { - // .@i[]: <required amount>,<quest ID>,<reward amount>,<free weight> if (.@j & 2) setarray .@i[0],20,5046,10,5000; diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt index 48e116884..f3d16473d 100644 --- a/npc/re/quests/quests_dicastes.txt +++ b/npc/re/quests/quests_dicastes.txt @@ -693,7 +693,7 @@ dic_in01,51,270,7 script Supply Dept. 1 Manager 4_MAN_BENKUNI,{ close; } -dic_in01,48,273,8 script Supply Dept. 2 Manager 4_MAN_BENKUNI,{ +dic_in01,48,273,1 script Supply Dept. 2 Manager 4_MAN_BENKUNI,{ if (!checkweight(1201,1)) { mes "You have too many kinds of items. Let's try again after you reduce the number of items."; close; @@ -902,7 +902,6 @@ dic_in01,40,270,2 script Transport Dept. 2 Mgr 4_MAN_BENKUNI,{ close; } - dic_in01,40,193,1 script Papyrus#0001 4_MAN_NITT,{ if (!checkweight(1201,1)) { mes "You have too many items in your inventory."; @@ -3985,7 +3984,6 @@ dic_in01,245,119,4 script Shay#ep133_13 4_M_ACROSS,{ setarray .@quest, 7194,7195,7196; setarray .@item, 6306,6305,6307; setarray .@str$, "bloodstain","frozen piece of skin","strange magical stone fragment"; - .@size = getarraysize(.@item); for (.@i = 0; .@i < .@size; ++.@i) { if (countitem(.@item[.@i])) { @@ -4800,7 +4798,6 @@ dic_fild01,231,174,5 script BK#ep133_18 4_M_MERCAT2,{ .@size = getarraysize(.@npc$); for (.@i = 0; .@i < .@size; ++.@i) if (.@n$ == .@npc$[.@i]) .@type = .@i; - if (ep13_3_secret == 10) { if (.@npc$[.@type] == "Rock Pile") { mes "There are many piles of rock around because of the unstable crustal movements."; @@ -7332,7 +7329,7 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ mes "I'm done. Hehe"; close; } - + // Enchant Constants // Ex: .@dex[1]: DEX + 1 | .@cri[5]: CRI + 5 | .@eva[12]: FLEE + 12 .@matk[1] = 4760; .@matk[2] = 4761; @@ -7342,13 +7339,13 @@ dic_in01,42,264,3 script Adventurer Clerk#ep133 4_MAN_NITT,{ .@dex[1] = 4720; .@dex[2] = 4721; .@dex[3] = 4722; .@int[1] = 4710; .@int[2] = 4711; .@int[3] = 4712; .@agi[1] = 4730; .@agi[2] = 4731; .@agi[3] = 4732; - + // Enchant attribute is determined by the digit position of variable value (ep13_3_<type>). // For example, assume the variable value is 516: // .@f_<slot>[<index>] // slot: 2 3 4 - // index: 5 1 6 - + // index: 5 1 6 + // Enchant Format if (compare(.@v$,"ring")) setarray .@f_2[1],.@agi[1],.@agi[2],.@int[1],.@int[2],.@dex[1],.@dex[2]; else setarray .@f_2[1],.@agi[1],.@agi[2],.@agi[3],.@int[1],.@int[2],.@int[3],.@dex[1],.@dex[2],.@dex[3]; diff --git a/npc/re/quests/quests_eclage.txt b/npc/re/quests/quests_eclage.txt index ab8651c92..3b4e7ba0f 100644 --- a/npc/re/quests/quests_eclage.txt +++ b/npc/re/quests/quests_eclage.txt @@ -1,15 +1,15 @@ -//===== Hercules Script ====================================== +//===== Hercules Script ====================================== //= Eclage Quests -//===== By: ================================================== +//===== By: ================================================== //= Dastgir -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.0 -//===== Description: ========================================= +//===== Description: ========================================= //= Quests of Eclage //= Contains All Quest of Eclage -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 Converted from the official Aegis script. [Dastgir] -//============================================================ +//============================================================ // Teleport Cats //============================================================ @@ -63,9 +63,9 @@ ecl_fild01,118,311,4 script Teleport Cat No.1#1 4_M_BOSSCAT,{ } warp .maps$[.@mindex[.@i]],.x[.@mindex[.@i]],.y[.@mindex[.@i]]; end; - + OnInit: - setarray .maps$,"bif_fild02","ecl_fild01","spl_fild02","mid_camp","ma_fild02","dic_fild01"; //Map Names //2,4,8,16,32,64 + setarray .maps$,"bif_fild02","ecl_fild01","spl_fild02","mid_camp","man_fild02","dic_fild01"; //Map Names //2,4,8,16,32,64 setarray .x,291,116,51,180,133,159; //X-Co-ordinate of Maps setarray .y,323,309,240,247,47,264; //Y-Co-ordinates of Map setarray .descript$,"Entrace to Mora","Near Eclage","Near Splendide","Midgard Allied Forces Post","Manuk Field","Near El Dicastes"; @@ -87,9 +87,9 @@ dic_fild01,161,266,4 duplicate(Teleport Cat No.1#1) Teleport Cat No.6#6 4_M_BOSS // Eclage's Entrance //============================================================ -ecl_fild01,97,322,0 script #ep14_2Entrance 45,3,3,{ +ecl_fild01,97,322,0 script #ep14_2Entrance WARPNPC,3,3,{ end; - + OnTouch: if (ep14_2_oliver < 3) { mes "[Security Guard]"; @@ -464,7 +464,7 @@ ecl_fild01,88,315,5 script Tourist#ep14_2f12 4_WHITE_COW,{ // Oliver Wolf Hood(Dreaming Time) //============================================================ -eclage,101,29,0 script #ep14_2Bridge 139,3,3,{ +eclage,101,29,0 script #ep14_2Bridge HIDDEN_WARP_NPC,3,3,{ end; OnTouch: if (BaseLevel >= 120) { @@ -552,7 +552,6 @@ eclage,102,32,4 script Fairy Carpenter#ep14_2 4_M_FAIRYKID2,{ ep14_2_oliver = 4; setquest 11312; close; - case 3: mes "[Fairy Carpenter]"; mes "You can't get past here until it's repaired, so please be careful."; @@ -792,7 +791,6 @@ eclage,102,32,4 script Fairy Carpenter#ep14_2 4_M_FAIRYKID2,{ ep14_2_oliver = 7; changequest 11314,11315; close; - } else if (ep14_2_oliver == 7) { mes "[Carpenter Fon]"; @@ -2310,9 +2308,9 @@ ecl_in01,70,88,4 script Sack Merchant#ep14_2 4_M_MERCAT1,{ close; } -eclage,292,265,0 script #ep14_2Yube Entrance 45,2,2,{ +eclage,292,265,0 script #ep14_2Yube Entrance WARPNPC,2,2,{ end; - + OnTouch: if (ep14_2_oliver < 15) { mes "- Looks like the door is locked. -"; @@ -2791,7 +2789,7 @@ ecl_in04,226,231,4 script Du Lian#ep14_2in2 4_M_REDMAN,{ emotion e_dots,0,"Alp Ocart#ep14_2in2"; cutin "bu_alp2",2; ep14_2_oliver = 30; - getitem Oliver_Wolf_Hood,1; //Oliver_Wolf_Hood + getitem C_Oliver_Wolf_Hood,1; completequest 11337; close2; cutin "",255; @@ -2933,7 +2931,7 @@ ecl_in04,224,234,4 script Mark Esha#ep14_2in2 4_M_BLUEMAN,{ emotion e_dots,0,"Alp Ocart#ep14_2in2"; cutin "bu_alp2",2; ep14_2_oliver = 30; - getitem Oliver_Wolf_Hood,1; //Oliver_Wolf_Hood + getitem C_Oliver_Wolf_Hood,1; completequest 11337; close2; cutin "",255; @@ -3078,7 +3076,7 @@ ecl_in04,223,234,4 script Maggi Steen#ep14_2in2 4_F_PINKWOMAN,{ emotion e_dots,0,"Alp Ocart#ep14_2in2"; cutin "bu_alp2",2; ep14_2_oliver = 30; - getitem Oliver_Wolf_Hood,1; //Oliver_Wolf_Hood + getitem C_Oliver_Wolf_Hood,1; completequest 11337; close2; cutin "",255; @@ -3214,7 +3212,7 @@ ecl_in04,223,230,4 script Alp Ocart#ep14_2in2 4_M_BLACKMAN,{ emotion e_dots; cutin "bu_alp2",2; ep14_2_oliver = 30; - getitem Oliver_Wolf_Hood,1; //Oliver_Wolf_Hood + getitem C_Oliver_Wolf_Hood,1; completequest 11337; close2; cutin "",255; @@ -3326,7 +3324,6 @@ eclage,282,255,4 script Wuhari#eclbig 4_M_FAIRYKID6,{ mes "Oh, no, no. I am sure you are really busy. I'm sorry to have asked such a favor."; ep14_2_big = 1; close; - case 2: mes "[" + strcharinfo(PC_NAME) + "]"; mes "Sure. It's not a big deal."; @@ -4132,11 +4129,10 @@ ecl_in02,149,117,4 script Wuhuru#eclbig 4_M_FAIRYFREAK,{ mes "......"; close; } -end; + end; } - -eclage,200,272,4 script Masione#eclbig 437,{ +eclage,200,272,4 script Masione#eclbig 4_F_FAIRYKID2,{ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight)<2000) { mes "- Stop Here!! -"; mes "- You have too many items. -"; @@ -4285,7 +4281,6 @@ eclage,163,228,4 script Goatie#eclbig 4_F_FAIRYKID3,{ } } - eclage,170,195,4 script Svery#eclbig 4_M_FAIRYKID2,{ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) { mes "- Stop Here!! -"; @@ -4412,7 +4407,6 @@ eclage,170,195,4 script Svery#eclbig 4_M_FAIRYKID2,{ close; } - eclage,126,151,4 script Pompe#eclbig 4_M_FAIRYKID3,{ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) { mes "- Stop Here!! -"; @@ -4503,7 +4497,6 @@ eclage,126,151,4 script Pompe#eclbig 4_M_FAIRYKID3,{ close; } - ecl_fild01,70,285,4 script Giranni#eclbig 4_F_FAIRY2,{ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) { mes "- Stop Here!! -"; @@ -4608,7 +4601,7 @@ ecl_fild01,70,285,4 script Giranni#eclbig 4_F_FAIRY2,{ next; mes "[" + strcharinfo(PC_NAME) + "]"; mes "Hmm? Where did it go? Did I drop it on the way?"; - close; + close; } mes "- You describe the corpse that you found in the field and show the piece of wing -"; next; @@ -4701,7 +4694,6 @@ ecl_fild01,70,285,4 script Giranni#eclbig 4_F_FAIRY2,{ close; } - ecl_fild01,269,165,4 script A Laphine corpse#eclbig 4_FAIRYDEADLEAF,{ if (checkweight(Knife,1) == 0 || (MaxWeight - Weight) < 2000) { mes "- Stop Here!! -"; @@ -4996,8 +4988,7 @@ ecl_in01,50,104,4 duplicate(Choir member#eclbig01) Choir member#eclbig03 4_M_FAI ecl_in01,52,104,4 duplicate(Choir member#eclbig01) Choir member#eclbig04 4_M_FAIRYKID ecl_in01,54,104,4 duplicate(Choir member#eclbig01) Choir member#eclbig05 4_M_FAIRYKID - -// Mystery Burglary Quest +// Mystery Burglary Quest //============================================================ eclage,156,51,6 script #hidden_eclage HIDDEN_NPC,3,3,{ end; @@ -5037,7 +5028,7 @@ OnTouch: mes "It's probably nothing."; mes "I should just go on my way~"; close; - } + } } } @@ -7538,7 +7529,7 @@ ecl_in04,208,194,3 script Daughter Luen#eclage2 4_F_FAIRYKID2,{ mes "I'll think about it more and"; mes "figure out who the robber is..."; close; - } + } case 2: mes "[" + strcharinfo(PC_NAME) + "]"; mes "I... I guess"; @@ -7882,7 +7873,7 @@ ecl_in04,208,194,3 script Daughter Luen#eclage2 4_F_FAIRYKID2,{ ep14_2_detect = 10; break; } - break; + break; } break; case 6: @@ -8829,7 +8820,7 @@ OnTouch: } } -ecl_in01,79,84,0 script #kusa 139,3,3,{ +ecl_in01,79,84,0 script #kusa HIDDEN_WARP_NPC,3,3,{ end; OnTouch: if (questprogress(4262) == 1) { @@ -8862,7 +8853,7 @@ OnTouch: } } -ecl_in01,1,1,0 script #call_ne 139,{ +ecl_in01,1,1,0 script #call_ne HIDDEN_WARP_NPC,{ end; OnInit: initnpctimer; @@ -8876,7 +8867,7 @@ OnCall: end; } -ecl_in01,2,2,0 script #call_kusa 139,{ +ecl_in01,2,2,0 script #call_kusa HIDDEN_WARP_NPC,{ end; OnInit: initnpctimer; @@ -9449,7 +9440,6 @@ ecl_in01,82,79,4 script Magazine#02 HIDDEN_NPC,{ close; } - // Light and Darkness //============================================================ ecl_in02,98,32,3 script Eclage Guard#tl1b 4_M_FAIRYSOLDIER2,{ @@ -9467,9 +9457,9 @@ ecl_in02,98,32,3 script Eclage Guard#tl1b 4_M_FAIRYSOLDIER2,{ close; } -ecl_in02,133,115,0 script #pa0829Prison Guard 139,3,3,{ +ecl_in02,133,115,0 script #pa0829Prison Guard HIDDEN_WARP_NPC,3,3,{ end; - + OnTouch: if (ep14_2_etran < 2) { mes "[Clever]"; @@ -10226,7 +10216,6 @@ ecl_in04,109,215,3 script Hiel#pa0829 4_M_FAIRYSCHOLAR,{ mes "Oh... I guess it was too much to ask for. That's too bad then."; ep14_2_etran = 12; close; - case 2: mes "[Hiel]"; mes "Wow wow! Thank you so much! I'll return the favor by operating it together when the experiments are complete! In the meantime, I'll start preparing for material combination!"; @@ -10289,7 +10278,6 @@ ecl_in04,109,215,3 script Hiel#pa0829 4_M_FAIRYSCHOLAR,{ mes "[Hiel]"; mes "How ruthless... Saying that he won't give them after showing them to me."; close; - case 2: if ((countitem(Dark_Debris)) && (countitem(Yellow_Gemstone) > 1) && (countitem(Red_Gemstone) > 1) && (countitem(Blue_Gemstone) > 1)) { mes "[Hiel]"; @@ -11311,7 +11299,7 @@ ecl_tdun01,60,56,4 script #pa0829EtranInterio HIDDEN_NPC,{ close; } -ecl_tdun01,60,56,0 script #pa0829EtranInterioTouch 139,4,4,{ +ecl_tdun01,60,56,0 script #pa0829EtranInterioTouch HIDDEN_WARP_NPC,4,4,{ end; OnTouch: disable_items; @@ -11338,7 +11326,7 @@ OnTouch: end; } -ecl_fild01,183,94,0 script #pa0829EtranExterioTouch 139,3,3,{ +ecl_fild01,183,94,0 script #pa0829EtranExterioTouch HIDDEN_WARP_NPC,3,3,{ end; OnTouch: disable_items; @@ -11465,7 +11453,7 @@ OnTouch: end; } -eclage,291,301,0 script #pa0829RobertExteriTouch 139,3,3,{ +eclage,291,301,0 script #pa0829RobertExteriTouch HIDDEN_WARP_NPC,3,3,{ end; OnTouch: disable_items; @@ -11507,7 +11495,7 @@ OnTouch: end; } -ecl_fild01,110,240,0 script #pa0829Reactor1 139,3,3,{ +ecl_fild01,110,240,0 script #pa0829Reactor1 HIDDEN_WARP_NPC,3,3,{ end; OnTouch: disable_items; @@ -11543,9 +11531,9 @@ OnTouch: } end; } -ecl_fild01,234,266,0 duplicate(#pa0829Reactor1) #pa0829Reactor6 139,3,3 +ecl_fild01,234,266,0 duplicate(#pa0829Reactor1) #pa0829Reactor6 HIDDEN_WARP_NPC,3,3 -ecl_fild01,110,198,0 script #pa0829Reactor2 139,3,3,{ +ecl_fild01,110,198,0 script #pa0829Reactor2 HIDDEN_WARP_NPC,3,3,{ end; OnTouch: disable_items; @@ -11572,7 +11560,6 @@ OnTouch: next; mes "^000099The reactor was activated, but the dimension does not seem to be related to Etran.^000000"; close; - case 2: mes "[????]"; mes "I... I did it. The restricted area!! Absolute zero ductility!!!!!! And they stole it from me. My gravitational pull of 300 grams."; @@ -11582,7 +11569,6 @@ OnTouch: next; mes "^000099The reactor was activated, but the dimension does not seem to be related to Etran.^000000"; close; - case 3: mes "[????]"; mes "Is this-...(Static static) Is this guy really in the right mind?"; @@ -11594,9 +11580,9 @@ OnTouch: } end; } -ecl_fild01,179,125,0 duplicate(#pa0829Reactor2) #pa0829Reactor7 139,3,3 +ecl_fild01,179,125,0 duplicate(#pa0829Reactor2) #pa0829Reactor7 HIDDEN_WARP_NPC,3,3 -ecl_fild01,165,158,0 script #pa0829Reactor3 139,3,3,{ +ecl_fild01,165,158,0 script #pa0829Reactor3 HIDDEN_WARP_NPC,3,3,{ end; OnTouch: disable_items; @@ -11619,14 +11605,12 @@ OnTouch: next; mes "^000099The reactor was activated, but the dimension does not seem to be related to Etran. It's cold somehow.^000000"; close; - case 2: mes "[????]"; mes "Human!! Human Chicken!!!!!!!!"; next; mes "^000099The reactor was activated, but the dimension does not seem to be related to Etran. It smells delicious somehow.^000000"; close; - case 3: mes "[????]"; mes "You don't know why I'm upset, do you?"; @@ -11641,11 +11625,11 @@ OnTouch: close; } } -end; + end; } -ecl_fild01,179,179,0 duplicate(#pa0829Reactor3) #pa0829Reactor8 139,3,3 +ecl_fild01,179,179,0 duplicate(#pa0829Reactor3) #pa0829Reactor8 HIDDEN_WARP_NPC,3,3 -ecl_fild01,237,166,0 script #pa0829Reactor4 139,3,3,{ +ecl_fild01,237,166,0 script #pa0829Reactor4 HIDDEN_WARP_NPC,3,3,{ end; OnTouch: disable_items; @@ -11665,14 +11649,12 @@ OnTouch: next; mes "^000099The reactor was activated but... For some reason, I'm getting lonely.^000000"; close; - case 2: mes "[???]"; mes "3..8..12..33...31..The last number is erased..."; next; mes "^000099How intriguing...^000000"; close; - case 3: mes "[???]"; mes "I'm going insane."; @@ -11687,9 +11669,9 @@ OnTouch: } end; } -ecl_fild01,187,243,0 duplicate(#pa0829Reactor4) #pa0829Reactor9 139,3,3 +ecl_fild01,187,243,0 duplicate(#pa0829Reactor4) #pa0829Reactor9 HIDDEN_WARP_NPC,3,3 -ecl_fild01,230,206,0 script #pa0829Reactor5 139,3,3,{ +ecl_fild01,230,206,0 script #pa0829Reactor5 HIDDEN_WARP_NPC,3,3,{ end; OnTouch: disable_items; @@ -11710,14 +11692,12 @@ OnTouch: next; mes "^000099The reactor was activated. Somehow it felt like I had to do whatever they said in it.^000000"; close; - case 2: mes "[???]"; mes "3..8..12..33...31..The last number is erased..."; next; mes "^000099How intriguing...^000000"; close; - case 3: mes "[????]"; mes "Baby, you don't know why I'm upset, do you?"; @@ -11734,7 +11714,7 @@ OnTouch: } end; } -ecl_fild01,159,278,0 duplicate(#pa0829Reactor5) #pa0829Reactor10 139,3,3 +ecl_fild01,159,278,0 duplicate(#pa0829Reactor5) #pa0829Reactor10 HIDDEN_WARP_NPC,3,3 eclage,155,91,4 script #pa0829Hiel's Door10 2_BOARD2,3,3,{ mes "[Notice]"; @@ -11953,14 +11933,12 @@ ecl_in04,105,216,4 script Hiel's Workshop#pa0829 HIDDEN_NPC,{ next; mes "^000099It's been a while since I felt that about myself. Yes, indeed... This machine is getting on my nerves.^000000"; close; - case 2: mes "[???]"; mes "CHTTTTSTATIC~~~~ ANG!?~~ CHTTTTT ~ oh my shoulder!!"; next; mes "^000099Oh, I'm sorry. I'm going to leave this channel.^000000"; close; - case 3: mes "^000099Etran's sad legend^000000"; next; @@ -12014,7 +11992,6 @@ ecl_in04,105,216,4 script Hiel's Workshop#pa0829 HIDDEN_NPC,{ close2; cutin "",255; end; - case 4: mes "^000099What if Etran and Robert were the priosoner and the guard?^000000"; next; @@ -12032,7 +12009,6 @@ ecl_in04,105,216,4 script Hiel's Workshop#pa0829 HIDDEN_NPC,{ close2; cutin "",255; end; - case 5: mes "^000099Etran and Robert were put to work as cat merchants.^000000"; next; @@ -12074,7 +12050,6 @@ ecl_in04,105,216,4 script Hiel's Workshop#pa0829 HIDDEN_NPC,{ close2; cutin "",255; end; - case 6: mes "^000099Etran and Robert were placed in a Flight machine.^000000"; next; @@ -12127,7 +12102,6 @@ ecl_in04,105,216,4 script Hiel's Workshop#pa0829 HIDDEN_NPC,{ close2; cutin "",255; end; - case 7: mes "^000099Iron Chef Robert^000000"; next; @@ -12159,7 +12133,6 @@ ecl_in04,105,216,4 script Hiel's Workshop#pa0829 HIDDEN_NPC,{ close2; cutin "",255; end; - case 8: mes "^000099Robert actually likes beer.^000000"; next; @@ -12206,7 +12179,6 @@ ecl_in04,105,216,4 script Hiel's Workshop#pa0829 HIDDEN_NPC,{ close2; cutin "",255; end; - case 9: mes "^000099Robert the cook^000000"; next; @@ -12244,7 +12216,6 @@ ecl_in04,105,216,4 script Hiel's Workshop#pa0829 HIDDEN_NPC,{ close2; cutin "",255; end; - case 10: mes "^000099Childhood friends, Etran and Robert^000000"; next; @@ -12292,19 +12263,16 @@ ecl_in04,105,216,4 script Hiel's Workshop#pa0829 HIDDEN_NPC,{ close2; cutin "",255; end; - case 11: mes "^000099In boiling water~ 3 minutes~ ... Static static^000000"; next; mes "^0000993 minutes in boiling water... What after that. Does it mean it will die 3 minutes in boiling water? Do I pour the boiling water over a monster or something?^000000"; close; - case 12: mes "^000099Houston~ Houston~ This is CHTTTCHTTT~ We see a large tower and a tree. It seems like there are life forms here on this planet as well~ STATIC~ ^000000"; next; mes "^000099Some desperate voices are heard. Not sure what the words, planets and life forms, are referring to.^000000"; close; - default: mes "^000099There's too much static. Try adjusting the frequency. ^000000"; close; @@ -12336,18 +12304,15 @@ ecl_fild01,190,93,5 script Fili#1 4_M_FAIRYANG,1,1,{ mes "[Fili]"; mes "What is Eclage like? It's such a nice place."; close; - case 2: mes "[Fili]"; mes "People wouldn't hate or hold each other at knife point if their hearts are filled with love for flowers and the earth."; close; - case 3: mes "[Fili]"; mes "You should avoid going into the tower. It's dangerous. We can't do much for the ones who have already entered, though."; close; } - case 2: if (questprogress(13059,PLAYTIME) == 2) { mes "[Fili]"; @@ -12365,7 +12330,7 @@ ecl_fild01,190,93,5 script Fili#1 4_M_FAIRYANG,1,1,{ mes "[Fili]"; mes "There are four in the work group. Don't forget to tell everyone."; close; - } + } mes "[Fili]"; mes "Thanks. Can you hear the earth singing? The sound of flowers and trees dancing in the wind. You'll hear it someday."; emotion e_lv; @@ -12544,7 +12509,7 @@ ecl_fild01,190,93,5 script Fili#1 4_M_FAIRYANG,1,1,{ mes "[Fili]"; mes "I think their work for the field is finished for the day. By the way, ^FF0000there's another work. Ask about it if you're interested.^000000"; erasequest 13050; - ep14_2_nines = 2; + ep14_2_nines = 2; getitem Splendide_Coin,1; //Splendide_Coin getexp 300000,300000; close; @@ -12588,7 +12553,7 @@ ecl_fild01,190,93,5 script Fili#1 4_M_FAIRYANG,1,1,{ close2; } } - } + } if (ep14_2_oliver > 4) { mes "[Fili]"; mes "Look at this beautiful field filled with little blades of grass and twigs breathing!"; @@ -12677,7 +12642,7 @@ ecl_fild01,83,263,5 script Watering Laphine#1 4_M_FAIRYKID3,{ mes "I think this is enough for the day. I have to take a break and draw water, too. Hehe~!"; close; } - else if ((questprogress(13050) == 1) && (questprogress(13052) == 1)) { + else if ((questprogress(13050) == 1) && (questprogress(13052) == 1)) { mes "[Watering Laphine]"; mes "I'll water these dying flowers and grasses again. This brings them back to life! Hehe~!"; erasequest 13052; @@ -12691,7 +12656,6 @@ ecl_fild01,83,263,5 script Watering Laphine#1 4_M_FAIRYKID3,{ mes "[Watering Laphine]"; mes "I'm sure Eclage needs a Laphine like me! Hehe~!"; close; - } else if (ep14_2_nines == 1){ if ((questprogress(13050) == 1) && (questprogress(13052) == 1)) { @@ -12708,7 +12672,6 @@ ecl_fild01,83,263,5 script Watering Laphine#1 4_M_FAIRYKID3,{ mes "[Watering Laphine]"; mes "Hehe~! Now that I'm done watering, I should wait for the great Fili."; close; - } mes "[Watering Laphine]"; mes "It's my job to water the earth."; @@ -12727,7 +12690,7 @@ ecl_fild01,163,196,5 script Dancing Laphine#1 4_F_FAIRYKID3,{ mes "I would love to see the great Fili next time..."; close; } - if ((questprogress(13050) == 1) && (questprogress(13053) == 1)) { + if ((questprogress(13050) == 1) && (questprogress(13053) == 1)) { mes "[Dancing Laphine]"; mes "Ah, it's you again! You're so insensitive. Anyway, you're here to tell me to start working, right? I see, I see. You can go now."; emotion e_pif; @@ -12860,13 +12823,13 @@ ecl_fild01,237,181,5 script Cute Laphine#1 4_M_FAIRYKID5,{ ecl_tdun02,99,63,5 script Rosi#No.1 4_F_HUWOMAN,1,1,{ end; - + OnInit: if (atoi( charat( strnpcinfo(0), getstrlen(strnpcinfo(0))-1 ) ) > 1){ disablenpc strnpcinfo(0); } end; - + OnTouch: if (ep14_2_nines < 2) { mes "[Rosi]"; @@ -12902,7 +12865,6 @@ OnTouch: mes "[Rosi]"; mes "This tower is very quiet yet mysterious. It's definitely something that adventurers would love, right?"; close; - } else if (ep14_2_nines == 2) { if ((questprogress(13055) == 1) && (questprogress(13056) == 1)) { @@ -12952,7 +12914,7 @@ ecl_tdun02,22,36,5 duplicate(Rosi#No.1) Rosi#No.3 4_F_HUWOMAN,1,1 ecl_tdun01,11,62,5 script Euncheong#No.1 4_M_HUBOY,1,1,{ end; - + OnInit: if (atoi( charat( strnpcinfo(0), getstrlen(strnpcinfo(0))-1 ) ) > 1){ disablenpc strnpcinfo(0); @@ -13125,7 +13087,6 @@ ecl_tdun03,68,80,3 script New Oz#1 4_M_NEWOZ,1,1,{ close2; cutin "",255; end; - case 2: if (questprogress(13062,PLAYTIME) == 1) { cutin "nines02",2; @@ -13218,7 +13179,6 @@ ecl_tdun03,68,80,3 script New Oz#1 4_M_NEWOZ,1,1,{ close2; cutin "",255; end; - case 3: if (questprogress(13064,PLAYTIME) == 1) { cutin "nines02",2; @@ -13285,7 +13245,6 @@ ecl_tdun03,68,80,3 script New Oz#1 4_M_NEWOZ,1,1,{ close2; cutin "",255; end; - case 4: if (questprogress(13066,PLAYTIME) == 1) { cutin "nines03",2; @@ -13411,7 +13370,7 @@ ecl_tdun03,68,80,3 script New Oz#1 4_M_NEWOZ,1,1,{ close2; cutin "",255; end; - } + } cutin "nines03",2; mes "[New Oz]"; mes "Don't worry. I'm pretty much done writing a song. I'm almost done with the lyrics as well as the melody."; @@ -13421,7 +13380,6 @@ ecl_tdun03,68,80,3 script New Oz#1 4_M_NEWOZ,1,1,{ close2; cutin "",255; end; - } cutin "nines02",2; mes "[New Oz]"; @@ -14124,9 +14082,9 @@ ecl_tdun04,26,39,1 script Professor Worm#worm 4_M_PROFESSORWORM,{ } } -ecl_tdun04,21,41,0 script #pf 139,2,2,{ +ecl_tdun04,21,41,0 script #pf HIDDEN_WARP_NPC,2,2,{ end; - + OnTouch: .@pro = rand(1,100); if (ep14_2_profe == 1) { @@ -14173,9 +14131,9 @@ if (ep14_2_profe == 1) { } } -ecl_tdun04,37,21,0 duplicate(#pf) #pf3 139,2,2 +ecl_tdun04,37,21,0 duplicate(#pf) #pf3 HIDDEN_WARP_NPC,2,2 -ecl_tdun04,39,27,0 script #prf1 139,2,2,{ +ecl_tdun04,39,27,0 script #prf1 HIDDEN_WARP_NPC,2,2,{ end; OnTouch: if (questprogress(1218) == 0 && ep14_2_profe==4) { @@ -14209,10 +14167,9 @@ OnTouch: mes "But why do I have to remain in a place like this, too?"; close; } - } -ecl_tdun04,35,31,0 script #prf2 139,2,2,{ +ecl_tdun04,35,31,0 script #prf2 HIDDEN_WARP_NPC,2,2,{ end; OnTouch: if (questprogress(1219) == 0 && ep14_2_profe==4) { @@ -14251,10 +14208,9 @@ OnTouch: mes "I wonder if I'll forget even my name... How it worries me..."; close; } - } -ecl_tdun04,28,43,0 script #prf3 139,2,2,{ +ecl_tdun04,28,43,0 script #prf3 HIDDEN_WARP_NPC,2,2,{ end; OnTouch: if (questprogress(1220) == 0 && ep14_2_profe==4) { @@ -14306,7 +14262,7 @@ OnTouch: } } -ecl_tdun04,39,31,0 script #prf4 139,2,2,{ +ecl_tdun04,39,31,0 script #prf4 HIDDEN_WARP_NPC,2,2,{ end; OnTouch: if (questprogress(1221) == 0 && ep14_2_profe==4) { @@ -14340,7 +14296,7 @@ OnTouch: } } -ecl_tdun04,24,31,0 script #prf5 139,2,2,{ +ecl_tdun04,24,31,0 script #prf5 HIDDEN_WARP_NPC,2,2,{ end; OnTouch: if (questprogress(1222) == 0 && ep14_2_profe == 4 ) { @@ -14378,7 +14334,7 @@ OnTouch: next; mes "[Wall Note 5]"; mes "Monsters, I have to create more monsters to protect me. As many as I could possibly create!"; - close; + close; } } @@ -14608,7 +14564,7 @@ ecl_fild01,173,95,7 script Diary Frog No. 30#worm 4_FROG,{ mes "If you come back to late, all you'll hear are my moans and groans."; changequest 1226,1227; ep14_2_profe = 10; - close; + close; } else if (ep14_2_profe == 10) { if (countitem(Star_Shape_Mushroom) < 10) { @@ -14672,7 +14628,7 @@ ecl_fild01,173,95,7 script Diary Frog No. 30#worm 4_FROG,{ mes "I'm so mad, I oughta throw this out!"; next; mes "It seems that a continued search for diary recordings would be meaningless. I should go back to Professor Worm."; - close; + close; } } @@ -14797,7 +14753,6 @@ ecl_in01,32,52,5 script Traveler Fome#tl01 4_F_DOGTRAVELER,3,3,{ mes "Let's talk to other travelers."; setquest 7411; break; - case 2: mes "[Fome]"; mes "The main attraction of Eclage?"; @@ -14855,7 +14810,6 @@ ecl_in01,32,52,5 script Traveler Fome#tl01 4_F_DOGTRAVELER,3,3,{ hideonnpc "Eclage Guard#tl01"; warp "ecl_in03",244,89; end; - case 2: mes "[Eclage Guard]"; mes "Oh, is that right?"; @@ -14875,7 +14829,6 @@ ecl_in01,32,52,5 script Traveler Fome#tl01 4_F_DOGTRAVELER,3,3,{ cutin "",255; hideonnpc "Eclage Guard#tl01"; end; - } } mes "[Fome]"; @@ -14948,7 +14901,6 @@ ecl_in01,32,52,5 script Traveler Fome#tl01 4_F_DOGTRAVELER,3,3,{ mes "What Fome said is interesting."; mes "A distrusted king...should I listen to what other Laphines say about it?"; close; - } mes "[Fome]"; mes "I'm sure there is something."; @@ -14959,7 +14911,7 @@ ecl_in01,32,52,5 script Traveler Fome#tl01 4_F_DOGTRAVELER,3,3,{ mes "I should start planning on moving to the next region. "; mes "I'm debating whether I should just go back or go to Mora Village..."; close; - + OnTouch: if (ep14_2_mylord == 0 && BaseLevel > 98) { mes "A group of travelers of Alpheim are having a conversation."; @@ -14971,7 +14923,6 @@ OnTouch: case 1: mes "They don't seem to care that much."; close; - case 2: mes "When you approach, they stop talking for a second and make a seat for you."; mes "Start a conversation."; @@ -15081,7 +15032,6 @@ ecl_in01,32,51,7 script Traveler Litrip#tl02 4_M_DOGTRAVELER,{ cutin "",255; warp "ecl_in03",244,89; end; - case 2: mes "[Eclage Guard]"; mes "Oh, is that right?"; @@ -15101,7 +15051,6 @@ ecl_in01,32,51,7 script Traveler Litrip#tl02 4_M_DOGTRAVELER,{ hideonnpc "Eclage Guard#tl01"; cutin "",255; end; - } } mes "[Litrip]"; @@ -15270,7 +15219,6 @@ ecl_in01,35,51,3 script Traveler Chiba#tl03 4_M_DOGTRAVELER2,{ warp "ecl_in03",244,89; cutin "",255; end; - case 2: mes "[Eclage Guard]"; mes "Oh, is that right?"; @@ -15290,7 +15238,6 @@ ecl_in01,35,51,3 script Traveler Chiba#tl03 4_M_DOGTRAVELER2,{ hideonnpc "Eclage Guard#tl01"; cutin "",255; end; - } } mes "[Chiba]"; @@ -15338,11 +15285,11 @@ ecl_in01,31,49,7 script Eclage Guard#tl01 4_M_FAIRYSOLDIER,{ OnInit: hideonnpc "Eclage Guard#tl01"; end; - + OnEnable: hideoffnpc "Eclage Guard#tl01"; end; - + OnDisable: hideonnpc "Eclage Guard#tl01"; end; @@ -15375,7 +15322,6 @@ ecl_in01,82,70,3 script Eclage Guard#tl02 4_M_FAIRYSOLDIER,{ cutin "",255; warp "ecl_in03",244,89; end; - case 2: mes "[Eclage Guard]"; mes "Ah...is that right?"; @@ -15404,7 +15350,6 @@ ecl_in01,82,70,3 script Eclage Guard#tl02 4_M_FAIRYSOLDIER,{ warp "ecl_in03",244,89; cutin "",255; end; - case 2: mes "[Eclage Guard]"; mes "Is that right?"; @@ -15439,7 +15384,6 @@ ecl_in01,82,70,3 script Eclage Guard#tl02 4_M_FAIRYSOLDIER,{ warp "ecl_in03",58,72; cutin "",255; end; - case 2: mes "[Eclage Guard]"; mes "Do as you wish although Mayor Jun might be upset if you keep him waiting for too long."; @@ -15460,7 +15404,6 @@ ecl_in01,82,70,3 script Eclage Guard#tl02 4_M_FAIRYSOLDIER,{ warp "ecl_in03",58,72; cutin "",255; end; - case 2: mes "[Eclage Guard]"; mes "Thank you."; @@ -15496,7 +15439,6 @@ ecl_in01,82,70,3 script Eclage Guard#tl02 4_M_FAIRYSOLDIER,{ mes "Well, I understand."; cutin "minuel01",2; break; - case 2: mes "[Minuel]"; mes "Actually I don't have any time for myself since I have to be here all the time."; @@ -15531,7 +15473,6 @@ ecl_in01,82,70,3 script Eclage Guard#tl02 4_M_FAIRYSOLDIER,{ mes "I'll be counting on you!"; setquest 7418; break; - case 2: mes "[Minuel]"; mes "Ha, do you really think so?"; @@ -15539,7 +15480,6 @@ ecl_in01,82,70,3 script Eclage Guard#tl02 4_M_FAIRYSOLDIER,{ mes "Soon, in the near future. Hehehe"; cutin "minuel02",2; break; - } close2; cutin "",255; @@ -15731,7 +15671,6 @@ ecl_in01,82,70,3 script Eclage Guard#tl02 4_M_FAIRYSOLDIER,{ mes "That's too bad."; mes "Maybe next time!"; break; - case 2: mes "[Minuel]"; mes "Thank you so much."; @@ -16041,7 +15980,6 @@ ecl_in03,245,93,3 script Chief of Staff#tl01 4_F_FAIRY,{ mes "A scholar of magics? There's no one with that name among the scholars I know. "; mes "I don't know."; close; - } else if ((ep14_2_mylord > 17) && (ep14_2_mylord < 22)) { mes "[Shenime]"; @@ -16232,7 +16170,6 @@ ecl_in03,245,93,3 script Chief of Staff#tl01 4_F_FAIRY,{ ep14_2_mylord = 26; changequest 7445,7447; close; - } else if (ep14_2_mylord == 26) { mes "[Shenime]"; @@ -16308,7 +16245,6 @@ ecl_in03,245,93,3 script Chief of Staff#tl01 4_F_FAIRY,{ ep14_2_mylord = 28; changequest 7448,7449; close; - case 2: mes "When you held Shenime's hand, you felt a sharp pain in your hand."; mes "You took your hand off quickly and examined it, but nothing was there."; @@ -16323,7 +16259,6 @@ ecl_in03,245,93,3 script Chief of Staff#tl01 4_F_FAIRY,{ close2; warp "ecl_hub01",129,12; end; - } } else if (ep14_2_mylord == 28) { @@ -16336,7 +16271,6 @@ ecl_in03,245,93,3 script Chief of Staff#tl01 4_F_FAIRY,{ mes "Shouldn't you, a foreigner, consider it as an honor and receive the offer?"; mes "You're hesitating too much."; close; - case 2: mes "When you held Shenime's hand, you felt a sharp pain in your hand."; mes "You took your hand off quickly and examined it, but nothing was there."; @@ -17993,7 +17927,6 @@ eclage,112,40,3 script Eclage Guard Leo#tl 4_M_FAIRYSOLDIER2,{ mes ".........isn't it depressing."; close; } - } ecl_fild01,205,86,3 script Eclage Messenger Roy#tl 4_M_FAIRYSOLDIER2,{ @@ -18225,7 +18158,7 @@ ecl_fild01,205,86,3 script Eclage Messenger Roy#tl 4_M_FAIRYSOLDIER2,{ mes "This is a little something for you."; mes "I'll be looking forward to seeing you!"; delitem Mail_Package,1; //Mail_Package - changequest 7430,4731; + changequest 7430,7431; getexp 200000,200000; getitem Splendide_Coin,1; //Splendide_Coin close; @@ -18543,7 +18476,7 @@ ecl_tdun04,32,35,3 script Hisie#tlord 4_M_FARIY_HISIE,{ mes "[Hisie]"; mes "If you climbed all the way here out of curiosity, you'd better start going down now."; mes "Professor has been under the weather nowadays."; - close; + close2; } else if (ep14_2_mylord == 14) { cutin "hisie01",0; @@ -18825,7 +18758,6 @@ ecl_tdun04,32,35,3 script Hisie#tlord 4_M_FARIY_HISIE,{ mes "I need to see what Avant is researching about."; mes "Let's hurry."; close2; - } else if ((ep14_2_mylord == 22) || (ep14_2_mylord == 23)) { cutin "hisie03",0; @@ -18931,7 +18863,7 @@ ecl_tdun04,32,35,3 script Hisie#tlord 4_M_FARIY_HISIE,{ end; } -eclage,280,290,0 script #Hisie01 139,0,3,{ +eclage,280,290,0 script #Hisie01 HIDDEN_WARP_NPC,0,3,{ end; OnTouch: if (ep14_2_mylord == 19) { @@ -19103,7 +19035,7 @@ OnTimer400000: end; } -que_avan01,26,26,0 script #tltimer 139,0,1,{ +que_avan01,26,26,0 script #tltimer HIDDEN_WARP_NPC,0,1,{ end; OnTouch: mes "It was definitely a small Yai when first entered, but upon regaining consciousness after being very dizzy, a huge space appeared."; @@ -19119,18 +19051,18 @@ OnTouch: close2; cutin "",255; end; - + OnStop: stopnpctimer; end; OnTimer5000: - mapannounce "que_avan01","Welcome, Sir Avant. User certification standby for 5 minutes.",bc_map,"0xA8A8A8"; + mapannounce "que_avan01","Welcome, Sir Avant. User certification standby for 5 minutes.",bc_map,"0xA8A8A8"; end; OnTimer360000: - mapannounce "que_avan01","Warning: Long-term use was not certified. Restrictive magic on unauthorized personnel will automatically be executed.",bc_map,"0xA8A8A8"; + mapannounce "que_avan01","Warning: Long-term use was not certified. Restrictive magic on unauthorized personnel will automatically be executed.",bc_map,"0xA8A8A8"; end; OnTimer365000: - mapannounce "que_avan01","Research lab interior space has been distorted. Sweeping in process.",bc_map,"0x7b68ee"; + mapannounce "que_avan01","Research lab interior space has been distorted. Sweeping in process.",bc_map,"0x7b68ee"; end; OnTimer368000: mapwarp "que_avan01","eclage",265,275; @@ -19383,7 +19315,7 @@ OnEnable: monster "que_avan01",29,36,"DARK_PRIEST",DARK_PRIEST,1; monster "que_avan01",29,32,"DARK_PRIEST",DARK_PRIEST,1; end; - + OnReset: mapwarp "que_avan01","eclage",265,275; killmonster "que_avan01","#avtmanager::OnMyMobDead"; @@ -19399,10 +19331,10 @@ OnReset: hideoffnpc "#tltimer"; $111204_avantlabo = 0; end; - + OnMyMobDead: if (mobcount ("que_avan01","#avtmanager::OnMyMobDead") == 0) { - mapannounce "que_avan01","Hisie: This is it for you! Avant!!",bc_map,"0x7b68ee"; + mapannounce "que_avan01","Hisie: This is it for you! Avant!!",bc_map,"0x7b68ee"; hideonnpc "Hisie#tlspt"; hideoffnpc "Hisie#tlhunt"; } @@ -19420,20 +19352,20 @@ que_avan01,26,41,3 script Avant Magic Scholar#tlac 4_M_FAIRYAVANT,{ initnpctimer; monster "que_avan01",26,38,"HIDDEN_MOB",HIDDEN_MOB,1; end; - + OnInit: hideonnpc "Avant Magic Scholar#tlac"; end; - + OnKill: killmonster "que_avan01","Avant Magic Scholar#tlac::OnMyMobDead"; stopnpctimer; end; - + OnTimer2000: - mapannounce "que_avan01","Hisie: Watch out!!!",bc_map,"0x7b68ee"; + mapannounce "que_avan01","Hisie: Watch out!!!",bc_map,"0x7b68ee"; end; - + OnTimer8000: killmonster "que_avan01","Avant Magic Scholar#tlac::OnMyMobDead"; stopnpctimer; diff --git a/npc/re/quests/quests_malangdo.txt b/npc/re/quests/quests_malangdo.txt index 4cd3ec886..2f13ad618 100644 --- a/npc/re/quests/quests_malangdo.txt +++ b/npc/re/quests/quests_malangdo.txt @@ -4612,7 +4612,7 @@ mal_in02,187,58,3 script Chef Nyas 4_CAT_CHEF,{ setquest 7276; mal_food = 0; erasequest 7280+.@i; - + // Quantities grouped in 10s repeating. // [ 3, 3, 6, 6, 9, 9, 12, 12, 15, 18 ] // Last group [ 61 - 66 ] receives 25 constant. diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt index 76e9a9536..925f28507 100644 --- a/npc/re/quests/quests_malaya.txt +++ b/npc/re/quests/quests_malaya.txt @@ -3165,7 +3165,7 @@ ma_fild01,251,93,3 script Lost Child#malaya01 4_F_BARYO_GIRL,{ } } end; - + OnInit: if (strnpcinfo(0) != "Lost Child#malaya01") disablenpc strnpcinfo(0); @@ -3770,7 +3770,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 4_M_MALAYA,{ .@newItem = 2492; break; } - + if (!(.@item)) { mes "[Bayani]"; mes "You should wear the equipment to upgrade and not come without it on you."; @@ -3817,11 +3817,11 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 4_M_MALAYA,{ mes "[Bayani]"; mes "BAM!!"; next; - + delitem 6499,20; //Ancient_Grudge delequip .@part; getitem .@newItem, 1; - + mes "[Bayani]"; mes "Ha ha. Perfect."; mes "Congratulations. Your armor is better than ever."; @@ -8932,7 +8932,7 @@ ma_fild01,173,223,0 duplicate(Ancient Grudge#01) Ancient Grudge#03 HIDDEN_WARP_N ma_fild01,172,222,0 duplicate(Ancient Grudge#01) Ancient Grudge#04 HIDDEN_WARP_NPC ma_fild01,171,223,0 duplicate(Ancient Grudge#01) Ancient Grudge#05 HIDDEN_WARP_NPC -ma_fild01,192,200,8 script Tourist#pin01 1_M_MERCHANT,{ +ma_fild01,192,200,0 script Tourist#pin01 1_M_MERCHANT,{ mes "[Tourist]"; mes "I came from afar and dropped everything to come and enjoy the 'Pintados Festival'."; next; diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt index fc076a6b3..55a60de98 100644 --- a/npc/re/quests/quests_mora.txt +++ b/npc/re/quests/quests_mora.txt @@ -4466,7 +4466,7 @@ mora,133,80,6 script Elephantine#pa0829 4_ELEPHANT,{ close; } -mora,115,98,8 script Hotcha#pa0829 4_ELEPHANT,{ +mora,115,98,0 script Hotcha#pa0829 4_ELEPHANT,{ if (checkweight(1201,1) == 0) { mes "You have too many kinds of things with you to do that. Throw out some of them and try again."; close; |