diff options
author | Michieru <michieru@0-mail.com> | 2013-10-24 12:10:43 +0200 |
---|---|---|
committer | Michieru <michieru@0-mail.com> | 2013-10-24 12:10:43 +0200 |
commit | e3afdc2af4c5e50c79237ee092e25f39b7428e47 (patch) | |
tree | 20cfd05dd6fc2e3e53173ef059f045cee1526d58 /npc/re/quests | |
parent | 491892212d338903179909b89a5bfc2385e52261 (diff) | |
download | hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.gz hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.bz2 hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.tar.xz hercules-e3afdc2af4c5e50c79237ee092e25f39b7428e47.zip |
Update to last rAthena npc.
Fix some typos
change sc_bleeding to -> sc_blooding
Updated RE EXP for quests_brasilis.txt
Diffstat (limited to 'npc/re/quests')
30 files changed, 13571 insertions, 1383 deletions
diff --git a/npc/re/quests/cupet.txt b/npc/re/quests/cupet.txt index c2ba9fec7..3f3ded52e 100644 --- a/npc/re/quests/cupet.txt +++ b/npc/re/quests/cupet.txt @@ -4,13 +4,11 @@ //= Z3R0 //===== Current Version: ===================================== //= 1.0 -//===== Compatible With: ===================================== -//= Hercules //===== Description: ========================================= -//= [Aegis Conversion] +//= [Official Conversion] //= Exchanges Hunted Items for Tames //===== Additional Comments: ================================= -//= v1.0 First / Optimized Version +//= 1.0 First / Optimized Version //============================================================ // 1st NPC diff --git a/npc/re/quests/eden/26-40.txt b/npc/re/quests/eden/26-40.txt index 5467c773e..fe147f210 100644 --- a/npc/re/quests/eden/26-40.txt +++ b/npc/re/quests/eden/26-40.txt @@ -84,7 +84,7 @@ L_Quest: mes "You have declined the "+getarg(2)+" mission."; close; } - if (checkquest(getarg(0)) == 1) mes "You are already doing this mission."; + if (checkquest(getarg(0)) > -1) mes "You are already doing this mission."; else { setquest getarg(0); mes "You have accepted the "+getarg(2)+" mission."; diff --git a/npc/re/quests/eden/41-55.txt b/npc/re/quests/eden/41-55.txt index dc71a6c5a..57f131f07 100644 --- a/npc/re/quests/eden/41-55.txt +++ b/npc/re/quests/eden/41-55.txt @@ -24,7 +24,7 @@ moc_para01,40,38,3 script Mission [41 - 55] 857,{ } if (checkquest(12088) == -1) { if (BaseLevel < 41 || BaseLevel > 55) { - mes "[41 ~ 55 Lv. Mission Board]"; + mes "Mission bulletin board for Lv41~55 adventurers."; close; } mes "[Mission Board]"; @@ -48,7 +48,7 @@ moc_para01,40,38,3 script Mission [41 - 55] 857,{ case 11: callsub L_Quest,12082,"Don't ask why, but please hunt 30 Shellfish. It is a secret mission!"; case 12: callsub L_Quest,12083,"Marine Sphere? Do you know what a Marine Sphere is? I got a mission for you to hunt 15 Marine Sphere, so please do so."; case 13: callsub L_Quest,12084,"The mayor wants to eat a delicious fish dish. Phen will be the perfect ingredient for it. Please hunt 20 Phen!"; - case 14: callsub L_Quest,12085,"You have accepted the mission. For more details, please press 'alt + u' keys, you can get information from the Quest Window."; + case 14: callsub L_Quest,12085,"Dead Orc monsters got back to our town and they've revived as Orc Skeletons. We are in chaos! Please hunt 15 Orc Skeleton."; case 15: callsub L_Quest,12086,"Some weird monsters called Zenorc are attacking us. Please hunt 30 Zenorc."; case 16: callsub L_Quest,12087,"Be prepared! It is a cruel mission! Hunt 15 Mummies!! I tried once, but I couldn't succeed. It is too scary!"; } diff --git a/npc/re/quests/eden/56-70.txt b/npc/re/quests/eden/56-70.txt index c503a274b..c3a99ed3e 100644 --- a/npc/re/quests/eden/56-70.txt +++ b/npc/re/quests/eden/56-70.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 2.1 +//= 1.5 //===== Description: ========================================= //= Repetable Quests for Players between Baselevel 56 - 70. //===== Additional Comments: ================================= @@ -12,8 +12,7 @@ //= 1.2 Added checkquest confirmation for -1. [Euphy] //= 1.3 Fixed Puppet Master's Agony Quest (12217 -> 3259). [Joseph] //= 1.4 Fixed invalid check (Magic Wand Quest). [Joseph] -//= 2.0 Optimised [Zopokx] -//= 2.1 Fixed some errors using Euphy's reference [Zopokx] +//= 1.5 Optimized, based on code by Zopokx. [Euphy] //============================================================ moc_para01,42,38,3 script Mission [56 - 70] 857,{ @@ -25,44 +24,40 @@ moc_para01,42,38,3 script Mission [56 - 70] 857,{ next; mes "Lots of missions such as a Monster Hunting, Delivery Goods, Finding People."; next; - switch (select("Mission Numbers 1~5:Mission Numbers 6~10:Mission Numbers 11~15")) { - case 1: - switch (select("What is this Bandage?:Dangerous Alligators.:That wasn't a mermaid...:My country is calling me!")) { - case 1: callsub L_HuntingQuest,3250,15000,5000,930,30; - case 2: callsub L_HuntingQuest,3251,16000,6000; - case 3: callsub L_HuntingQuest,3252,17000,8000; - case 4: callsub L_Quest,3254,18000,8000,7043,10,1056,30; - } - break; - case 2: - switch (select("Hunt Wild Boar:Preparing the Summer:A Woman's Grudge:Special ingredients:Puppet Master's Agony")) { - case 1: callsub L_HuntingQuest,3255,16000,7000; - case 2: callsub L_Quest,3256,15000,5000,918,30; - case 3: callsub L_HuntingQuest,3257,17000,8000; - case 4: callsub L_Quest,3258,16000,7000,7198,40; - case 5: callsub L_HuntingQuest,3259,17000,7000,1060,30; - } - break; - case 3: - switch (select("Tiresome Flies:Dangerous Munak:Make the World green:Magic Wand")) { - case 1: callsub L_HuntingQuest,3260,16000,6000; - case 2: callsub L_HuntingQuest,3261,16000,7000; - case 3: callsub L_Quest,3262,17000,7000,1032,40; - case 4: callsub L_Quest,3263,18000,8000,1021,30,7150,30; - } - break; + switch(select("Mission Numbers 1~5:Mission Numbers 6~10:Mission Numbers 11~15")) { + case 1: + switch(select("What is this Bandage?:Dangerous Alligators.:That wasn't a mermaid...:My country is calling me!")) { + case 1: callsub L_HuntingQuest,3250,15000,5000,930,30; + case 2: callsub L_HuntingQuest,3251,16000,6000; + case 3: callsub L_HuntingQuest,3252,17000,8000; + case 4: callsub L_Quest,3254,18000,8000,7043,10,1056,30; + } + case 2: + switch(select("Hunt Wild Boar:Preparing the Summer:A Woman's Grudge:Special ingredients:Puppet Master's Agony")) { + case 1: callsub L_HuntingQuest,3255,16000,7000; + case 2: callsub L_Quest,3256,15000,5000,918,30; + case 3: callsub L_HuntingQuest,3257,17000,8000; + case 4: callsub L_Quest,3258,16000,7000,7198,40; + case 5: callsub L_HuntingQuest,3259,17000,7000,1060,30; + } + case 3: + switch(select("Tiresome Flies:Dangerous Munak:Make the World green:Magic Wand")) { + case 1: callsub L_HuntingQuest,3260,16000,6000; + case 2: callsub L_HuntingQuest,3261,16000,7000; + case 3: callsub L_Quest,3262,17000,7000,1032,40; + case 4: callsub L_Quest,3263,18000,8000,1021,30,7150,30; + } } end; L_Quest: - if (checkquest(getarg(0)) <= 0) { - callsub L_CheckDetails, getarg(0); - mes " "; + if (checkquest(getarg(0)) == -1) { + callsub L_Details, getarg(0); next; mes "Would you like to accept this mission?"; next; if(select("Accept the mission.:Do not accept the mission.") == 1) { - if ((BaseLevel < 56) || (BaseLevel > 70)) { + if (BaseLevel < 55 || BaseLevel > 70) { mes "These missions are not fit for my level. I should look for other missions."; close; } @@ -73,43 +68,41 @@ L_Quest: } close; } - if (checkquest(getarg(0)) == 1) { - if (getargcount() > 5) { - if ((countitem(getarg(3)) >= getarg(4)) && (countitem(getarg(5)) >= getarg(6))) { set .@complete, 1; } - else { set .@complete, 0; } - } else { - if (countitem(getarg(3)) >= getarg(4)) { set .@complete, 1; } - else { set .@complete, 0; } - } - if (.@complete) { - mes "I have done pretty well for the mission. Should I report it now?"; - next; - if(select("Report the mission.:Do not report it yet.") == 2) { close; } + if (getargcount() > 5) { + if (countitem(getarg(5)) < getarg(6)) + set .@items,1; //incomplete + else + set .@items,2; //complete + } + if (checkquest(getarg(0)) < 2 && (countitem(getarg(3)) < getarg(4) || .@items == 1)) { + mes "You have an on-going mission. Would you like to check the details?"; + next; + if(select("Check the details.:Cancel.") == 1) + callsub L_Details, getarg(0); + close; + } else { + mes "I have done pretty well for the mission. Should I report it now?"; + next; + if(select("Report the mission.:Do not report it yet.") == 1) { delitem getarg(3),getarg(4); - if (getarg(5,0) > 0) { delitem getarg(5),getarg(6); } + if (.@items) + delitem getarg(5),getarg(6); getexp getarg(1),getarg(2); erasequest getarg(0); mes "You have completed the mission. Get rewards."; - } else { - mes "You have an on-going mission. Would you like to check the details?"; - next; - if(select("Check the details.:Cancel.") == 1) - callsub L_CheckDetails, getarg(0); } + close; } - close; end; L_HuntingQuest: - if (checkquest(getarg(0)) <= 0) { - callsub L_CheckDetails, getarg(0); - next; - mes " "; + if (checkquest(getarg(0)) == -1) { + callsub L_Details, getarg(0); next; mes "Would you like to accept this mission?"; next; if(select("Accept the mission.:Do not accept the mission.") == 1) { - if ((BaseLevel < 56) || (BaseLevel > 70)) { + if (BaseLevel < 55 || BaseLevel > 70) { mes "These missions are not fit for my level. I should look for other missions."; close; } @@ -118,249 +111,249 @@ L_HuntingQuest: next; mes "This mission doesn't have time limits."; } + close; + } + if (getargcount() > 3) { + if (countitem(getarg(3)) < getarg(4)) + set .@items,1; //incomplete + else + set .@items,2; //complete } - else if (checkquest(getarg(0),HUNTING) == 1) { + if (checkquest(getarg(0),HUNTING) < 2 || .@items == 1) { mes "You have an on-going mission. Would you like to check the details?"; next; if(select("Check the details.:Cancel.") == 1) - callsub L_CheckDetails, getarg(0); - } - else if (checkquest(getarg(0),HUNTING) == 2) { - if (getargcount() > 3) { - if (countitem(getarg(3)) >= getarg(4)) { set .@complete, 1; } - else { set .@complete, 0; } - } else { set .@complete, 1; } - if (.@complete) { - mes "I have done pretty well for the mission. Should I report it now?"; - next; - if(select("Report the mission.:Do not report it yet.") == 2) { close; } - if (getarg(3,0) > 0) { delitem getarg(3),getarg(4); } + callsub L_Details, getarg(0); + close; + } else if (checkquest(getarg(0),HUNTING) == 2) { + mes "I have done pretty well for the mission. Should I report it now?"; + next; + if(select("Report the mission.:Do not report it yet.") == 1) { + if (.@items) + delitem getarg(3),getarg(4); getexp getarg(1),getarg(2); erasequest getarg(0); mes "You have completed the mission. Get rewards."; - } else { - mes "I don't have enough "+getitemname(getarg(3))+"."; - mes "I need to gather "+getarg(4)+" "+getitemname(getarg(3))+" to complete this mission."; } + close; } - close; end; -L_CheckDetails: - switch(getarg(0)){ - case 3250: - mes "This mission is assigned by the Rekenber corporation from Lighthalzen. Below are the details."; - next; - mes "Rekenber corporation is about to launch a new project called 'Green Medical Center'. For the first product of the project, we are preparing well-being Bandages."; - next; - mes "Regarding the project, we need to research monster's reactions when they are wrapped with Rotten Bandages."; - next; - mes "If you are interested, please hunt 30 Mummies and bring 30 Rotten Bandages. You can find them in the Pyramid West of Morroc."; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "- Rekenber corporation chief director 'Julie E Delph' -"; - break; - case 3251: - mes "This mission is assigned by the Comodo cooperative society. Below are the details."; - next; - mes "Alligators have gone wild these days, they attack women and drunken people who hang out near the beach."; - next; - mes "This is a very shameful situation for us, the most wonderful vacation spot in Rune-Midgard."; - next; - mes "So, it would be very helpful if you hunt 30 Alligators to clean out this situation."; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - break; - case 3252: - mes "This mission is assigned by an unknown client from Izlude."; - next; - mes "I have admired the beach of Izlude, ever since I was born."; - next; - mes "When I was young, I found a mysterious creature in the Izlude dungeon, I had never seen something like that before..."; - next; - mes "I instantly thought it was a mermaid. I was so supprised, I have studied about mermaids in whole my life."; - next; - mes "But, as I studied harder, I found that the creature was not a mermaid... yes, It wasn't beautiful at all like other mermaids..."; - next; - mes "I finally tracked down the fact that it was a Merman, not a Mermaid!"; - next; - mes "Merman... I have wasted my life studying this monster! So please hunt 30 Mermans to make me feel better."; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "-- Izlude 'The Lost dream mermaid' --"; - break; - case 3254: - mes "This mission is assigned by the government officer of the Rune-Midgarts Kingdom."; - next; - mes "To prevent a flood in Prontera, we decided to build a huge dam to regulate the water supply."; - next; - mes "But, we are shorthanded on supplies and we need to collect Fine Sand and Grit."; - next; - mes "So, we would like to ask for help. People, please bring us 10 Fine Sand and 30 Grit each so we can build the dam."; - next; - mes "You can get those materials from Sand Man, I wish you good luck!"; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "-- Government officer of the Rune-Midgarts Kingdom, Dufre Kent --"; - break; - case 3255: - mes "This mission is assigned by the Payon town hall."; - next; - mes "Wild animals are always annoyances to farmers."; - next; - mes "They attack our farm and ruin whole crops!! We can't stand it anymore!"; - next; - mes "So, we would like to ask for the help from brave adventurers."; - next; - mes "Please, hunt 30 Savages to save our crops!"; - next; - mes "You can easily find those monsters around our town and field."; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "-- Payon town hall members --"; - break; - case 3256: - mes "This mission is assigned by the Morroc blacksmith Aragham."; - next; - mes "Hello~~~~, Adventurers! This is Aragham, the hottest blacksmith in Morroc!"; - next; - mes "Anyway, I have a son named Aragam Junior, the cute one. Haha."; - next; - mes "He will be attending summer camp this summer, but he doesn't know how to swim."; - next; - mes "I want to teach him, but as you know I am a blacksmith, a far cry from swimming! Hehe."; - next; - mes "But, I figured that if I make swim fins, it will be great for his confidence~!"; - next; - mes "To make it, I need 30 Sticky Webfoots from a Roda Frog. Can you bring them to me?"; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "PS. Do not compare me with Hollgrehenn or Antonio!!!!"; - next; - mes "-- The hottest blacksmith, Morroc blacksmith Aragham --"; - break; - case 3257: - mes "This mission is assigned by an inventor Dorian from Izlude."; - next; - mes "Have you heard the story that if women have a grudge on their mind, it will bring natural disasters."; - next; - mes "Wow, so guys must watch out for those sensitive women! Make sure they don't have any grudges on you."; - next; - mes "Women can bring strange phenomenons with them!"; - next; - mes "I am so intrigued with that story that I'm trying to prove that it can be true."; - next; - mes "So I need to make women upset! Haha, I know what a mean idea, right?"; - next; - mes "But this is seriously just for studying... So please hunt 30 Sohee's who seems to be revived from victimized souls."; - next; - mes "So I can keep observing the case."; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "-- Elegance inventor Dorian --"; - break; - case 3258: - mes "This mission is assigned by Wallah from Payon."; - next; - mes "Hello, adventurer. How are you? How is your health?"; - next; - mes "I am a pharmacist and I am having a hard time getting special ingredients lately."; - next; - mes "Because I am a little sensitive girl, how can I possibly get those things by myself."; - next; - mes "So, please help me. Just bring 40 Huge Leafs to me, that will be enough to complete my special medicine!"; - next; - mes "Please bring it as soon as possible, people need my medicine."; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "-- Wallah --"; - break; - case 3259: - mes "This mission is assigned by puppet master Woonute from Geffen."; - next; - mes "You know being a puppet master is kind of a hard job to satisfy people."; - next; - mes "People can search and see so many different things on their own thesedays."; - next; - mes "Their expectations are getting high, I can't satisfy them anymore."; - next; - mes "But if I can make new toy concepts, like living toys, it will be ground breaking."; - next; - mes "I heard that there are live dolls called Marionettes. Can you hunt 30 Marionettes for me? And also bring 30 Golden Hair, those will be great materials for the new toys."; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "-- Puppet Master Woonute --"; - break; - case 3260: - mes "This mission is assigned by an exterminator from Prontera."; - next; - mes "As the weather gets warmer, insects multiply more and more. It is already out of control."; - next; - mes "People in Prontera cannot sleep because of all the bugs in their house."; - next; - mes "So, please help us, hunt 30 Hunter Flies. Then the flies can be reduced slowly."; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "-- The Prontera exterminator --"; - break; - case 3261: - mes "This mission is assigned by Cheese Dongja from Payon."; - next; - mes "Have you heard about Munak?"; - next; - mes "The ugly monster Munak is threatening people in Payon."; - next; - mes "So we need brave adventurers like you!"; - next; - mes "Please hunt 30 Munaks then Payon will be in peace."; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "- Payon Cheese Dongja -"; - break; - case 3262: - mes "This mission is assigned by a gem dealer, Ibraham from Morroc."; - next; - mes "A small beautiful flower in the barren desert... What an incredible scene it would be!"; - next; - mes "Planting flowers can make the world green and it will be so pretty everywhere."; - next; - mes "I plan to plant strong flowers in the Morroc desert so the soil gets better."; - next; - mes "I need 40 Maneater Blossom from Flora, I know Maneater Blossom is an ugly flower, but still it is a plant."; - next; - mes "I hope you can hunt Flora and get me 40 Maneater Blossoms. You are making the world green! Be proud!"; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "-- Morroc Ibraham --"; - break; - case 3263: - mes "This mission is assigned by the Payon blacksmith Antonio."; - next; - mes "Magic wand! Have you heard about it? It is an incredible wand!"; - next; - mes "If you say the magic words and swing the wand, it will make your wishes come true."; - next; - mes "So, I decided to make it by myself. Then I will be rich and powerful~! Haha!!"; - next; - mes "To make the wand, I need some special materials."; - next; - mes "Please bring me 30 Dokebi Horns and 30 Bamboo Cut. If you do so, I will lend you my magic wand once. Haha, good deal?"; - next; - mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; - next; - mes "-- Payon blacksmith Antonio --"; - break; +L_Details: + switch(getarg(0)) { + case 3250: + mes "This mission is assigned by the Rekenber corporation from Lighthalzen. Below are the details."; + next; + mes "Rekenber corporation is about to launch a new project called 'Green Medical Center'. For the first product of the project, we are preparing well-being Bandages."; + next; + mes "Regarding the project, we need to research monster's reactions when they are wrapped with Rotten Bandages."; + next; + mes "If you are interested, please hunt 30 Mummies and bring 30 Rotten Bandages. You can find them in the Pyramid West of Morroc."; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "- Rekenber corporation chief director 'Julie E Delph' -"; + break; + case 3251: + mes "This mission is assigned by the Comodo cooperative society. Below are the details."; + next; + mes "Alligators have gone wild these days, they attack women and drunken people who hang out near the beach."; + next; + mes "This is a very shameful situation for us, the most wonderful vacation spot in Rune-Midgard."; + next; + mes "So, it would be very helpful if you hunt 30 Alligators to clean out this situation."; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + break; + case 3252: + mes "This mission is assigned by an unknown client from Izlude."; + next; + mes "I have admired the beach of Izlude, ever since I was born."; + next; + mes "When I was young, I found a mysterious creature in the Izlude dungeon, I had never seen something like that before..."; + next; + mes "I instantly thought it was a mermaid. I was so supprised, I have studied about mermaids in whole my life."; + next; + mes "But, as I studied harder, I found that the creature was not a mermaid... yes, It wasn't beautiful at all like other mermaids..."; + next; + mes "I finally tracked down the fact that it was a Merman, not a Mermaid!"; + next; + mes "Merman... I have wasted my life studying this monster! So please hunt 30 Mermans to make me feel better."; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "-- Izlude 'The Lost dream mermaid' --"; + break; + case 3254: + mes "This mission is assigned by the government officer of the Rune-Midgarts Kingdom."; + next; + mes "To prevent a flood in Prontera, we decided to build a huge dam to regulate the water supply."; + next; + mes "But, we are shorthanded on supplies and we need to collect Fine Sand and Grit."; + next; + mes "So, we would like to ask for help. People, please bring us 10 Fine Sand and 30 Grit each so we can build the dam."; + next; + mes "You can get those materials from Sand Man, I wish you good luck!"; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "-- Government officer of the Rune-Midgarts Kingdom, Dufre Kent --"; + break; + case 3255: + mes "This mission is assigned by the Payon town hall."; + next; + mes "Wild animals are always annoyances to farmers."; + next; + mes "They attack our farm and ruin whole crops!! We can't stand it anymore!"; + next; + mes "So, we would like to ask for the help from brave adventurers."; + next; + mes "Please, hunt 30 Savages to save our crops!"; + next; + mes "You can easily find those monsters around our town and field."; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "-- Payon town hall members --"; + break; + case 3256: + mes "This mission is assigned by the Morroc blacksmith Aragham."; + next; + mes "Hello~~~~, Adventurers! This is Aragham, the hottest blacksmith in Morroc!"; + next; + mes "Anyway, I have a son named Aragam Junior, the cute one. Haha."; + next; + mes "He will be attending summer camp this summer, but he doesn't know how to swim."; + next; + mes "I want to teach him, but as you know I am a blacksmith, a far cry from swimming! Hehe."; + next; + mes "But, I figured that if I make swim fins, it will be great for his confidence~!"; + next; + mes "To make it, I need 30 Sticky Webfoots from a Roda Frog. Can you bring them to me?"; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "PS. Do not compare me with Hollgrehenn or Antonio!!!!"; + next; + mes "-- The hottest blacksmith, Morroc blacksmith Aragham --"; + break; + case 3257: + mes "This mission is assigned by an inventor Dorian from Izlude."; + next; + mes "Have you heard the story that if women have a grudge on their mind, it will bring natural disasters."; + next; + mes "Wow, so guys must watch out for those sensitive women! Make sure they don't have any grudges on you."; + next; + mes "Women can bring strange phenomenons with them!"; + next; + mes "I am so intrigued with that story that I'm trying to prove that it can be true."; + next; + mes "So I need to make women upset! Haha, I know what a mean idea, right?"; + next; + mes "But this is seriously just for studying... So please hunt 30 Sohee's who seems to be revived from victimized souls."; + next; + mes "So I can keep observing the case."; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "-- Elegance inventor Dorian --"; + break; + case 3258: + mes "This mission is assigned by Wallah from Payon."; + next; + mes "Hello, adventurer. How are you? How is your health?"; + next; + mes "I am a pharmacist and I am having a hard time getting special ingredients lately."; + next; + mes "Because I am a little sensitive girl, how can I possibly get those things by myself."; + next; + mes "So, please help me. Just bring 40 Huge Leafs to me, that will be enough to complete my special medicine!"; + next; + mes "Please bring it as soon as possible, people need my medicine."; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "-- Wallah --"; + break; + case 3259: + mes "This mission is assigned by puppet master Woonute from Geffen."; + next; + mes "You know being a puppet master is kind of a hard job to satisfy people."; + next; + mes "People can search and see so many different things on their own thesedays."; + next; + mes "Their expectations are getting high, I can't satisfy them anymore."; + next; + mes "But if I can make new toy concepts, like living toys, it will be ground breaking."; + next; + mes "I heard that there are live dolls called Marionettes. Can you hunt 30 Marionettes for me? And also bring 30 Golden Hair, those will be great materials for the new toys."; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "-- Puppet Master Woonute --"; + break; + case 3260: + mes "This mission is assigned by an exterminator from Prontera."; + next; + mes "As the weather gets warmer, insects multiply more and more. It is already out of control."; + next; + mes "People in Prontera cannot sleep because of all the bugs in their house."; + next; + mes "So, please help us, hunt 30 Hunter Flies. Then the flies can be reduced slowly."; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "-- The Prontera exterminator --"; + break; + case 3261: + mes "This mission is assigned by Cheese Dongja from Payon."; + next; + mes "Have you heard about Munak?"; + next; + mes "The ugly monster Munak is threatening people in Payon."; + next; + mes "So we need brave adventurers like you!"; + next; + mes "Please hunt 30 Munaks then Payon will be in peace."; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "- Payon Cheese Dongja -"; + break; + case 3262: + mes "This mission is assigned by a gem dealer, Ibraham from Morroc."; + next; + mes "A small beautiful flower in the barren desert... What an incredible scene it would be!"; + next; + mes "Planting flowers can make the world green and it will be so pretty everywhere."; + next; + mes "I plan to plant strong flowers in the Morroc desert so the soil gets better."; + next; + mes "I need 40 Maneater Blossom from Flora, I know Maneater Blossom is an ugly flower, but still it is a plant."; + next; + mes "I hope you can hunt Flora and get me 40 Maneater Blossoms. You are making the world green! Be proud!"; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "-- Morroc Ibraham --"; + break; + case 3263: + mes "This mission is assigned by the Payon blacksmith Antonio."; + next; + mes "Magic wand! Have you heard about it? It is an incredible wand!"; + next; + mes "If you say the magic words and swing the wand, it will make your wishes come true."; + next; + mes "So, I decided to make it by myself. Then I will be rich and powerful~! Haha!!"; + next; + mes "To make the wand, I need some special materials."; + next; + mes "Please bring me 30 Dokebi Horns and 30 Bamboo Cut. If you do so, I will lend you my magic wand once. Haha, good deal?"; + next; + mes "Please confirm it to us after you complete the mission, then we will give you proper rewards."; + next; + mes "-- Payon blacksmith Antonio --"; + break; } return; } diff --git a/npc/re/quests/eden/71-85.txt b/npc/re/quests/eden/71-85.txt index 9a11bf2b5..db704a3de 100644 --- a/npc/re/quests/eden/71-85.txt +++ b/npc/re/quests/eden/71-85.txt @@ -3,13 +3,14 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 1.2 +//= 1.3 //===== Description: ========================================= //= Repetable Quests for Players between Baselevel 71 - 85. //===== Additional Comments: ================================= //= 1.0 First Version. //= 1.1 Some little optimization here and there. [Masao] //= 1.2 Optimized. [Euphy] +//= 1.3 Updated to match the official scripts. [Euphy] //============================================================ moc_para01,44,38,3 script Mission [71 - 85] 857,{ @@ -19,586 +20,205 @@ moc_para01,44,38,3 script Mission [71 - 85] 857,{ mes "- this bulletin board. -"; close; } - mes "- Many hunting missions -"; - mes "- are on the bulletin board. -"; - next; - if ((BaseLevel > 70) && (BaseLevel < 86)) { - switch (select("Sphinx Dungeon:Glast Heim:Juno Area:Clock Tower:Localized Islands")) { - case 1: - mes "- Sphinx Dungeon -"; - mes "- I am Meidi who lives -"; - mes "- in Morocc. I want to hunt -"; - mes "- monsters in the Sphinx -"; - mes "- Dungeon. I will wait for -"; - mes "- you in front of the -"; - mes "- western gate. -"; - callsub L_Quest,10102,1; - mes "- Good. Now go find Meidi -"; - mes "- at the western gate -"; - mes "- in Morroc. -"; - close; - case 2: - mes "- Glast Heim -"; - mes "- I am Ancellia. -"; - mes "- I need some help -"; - mes "- hunting monsters -"; - mes "- in Glast Heim.-"; - mes "- Please help me. -"; - callsub L_Quest,10103,2; - mes "- Look for Ancellia. -"; - mes "- in Geffen. -"; - close; - case 3: - mes "- Juno Area -"; - mes "- I want to go to Juno, -"; - mes "- but the monsters on -"; - mes "- the way there are too -"; - mes "- strong for me. Come -"; - mes "- visit me in Al De Baran. -"; - mes "- My name is Jeanbai. -"; - callsub L_Quest,10104,3; - mes "- Look for Jeanbai -"; - mes "- in Al De Baran. -"; - close; - case 4: - mes "- Clock Tower -"; - mes "- A Clock is the best thing! -"; - mes "- I'm asking you to hunt -"; - mes "- some monster inside of.-"; - mes "- the Clock Tower, -"; - mes "- Risingeter. -"; - callsub L_Quest,10105,4; - mes "- Look for Risingeter -"; - mes "- in front of the -"; - mes "- Clock Tower. -"; - close; - case 5: - mes "- Localized Islands -"; - mes "- I need someone who -"; - mes "- can hunt monsters -"; - mes "- for Funfi in Alberta. -"; - callsub L_Quest,10106,5; - mes "- Loof for Funfi -"; - mes "- in Alberta. -"; - close; - } - } - mes "- Only members of the -"; - mes "- right level can read -"; - mes "- this bulletin board. -"; - mes "- Try to find a board -"; - mes "- that suits your level. -"; - close; -L_Quest: - next; - if(select("Accept mission.:Decline mission.") == 2) { - mes "- I don't want to do -"; - mes "- a mission right now. -"; - close; - } - if (slv_quest && slv_quest != getarg(1)) { - mes "- You are already on -"; - mes "- another mission. -"; - mes "- You can't do multiple -"; - mes "- missions. Finish your -"; - mes "- current mission first. -"; - close; - } - if (checkquest(getarg(0)) <= 0) { - setquest getarg(0); - set slv_quest,getarg(1); - return; - } - mes "- You are already on -"; - mes "- or have recently -"; - mes "- completed a mission. -"; - mes "- You can't do anymore -"; - mes "- missions right now. -"; - close; -} -morocc,35,174,5 script Meidi 729,{ - - if ((checkquest(10107) == 2) && (checkquest(10108) == 2) && (checkquest(10109) == 2) && (slv_quest == 6)) { - set slv_quest,0; - mes "[Meidi]"; - mes "You have completed the hunting missions."; - mes "I don't have anymore missions for you."; - mes "Thanks, you did a great job!"; - close; - } - if (checkquest(10107) == 1 || checkquest(10108) == 1 || checkquest(10109) == 1) { - mes "[Meidi]"; - mes "Wow! How did you come back so fast?"; - mes "What monster did you hunt?"; - next; - setarray .@monsters$[0],"Requiem","Marduk","Pasana"; - set .@i, select(implode(.@monsters$,":"))-1; - if (checkquest(10107+.@i,HUNTING) == 2) { - mes "[Meidi]"; - mes "You've hunted all 10 "+.@monsters$[.@i]+"."; - mes "Thank you very much."; - next; - mes "[Meidi]"; - mes "I know it isn't much but here's a small gift."; - mes "I hope that it will be helpful to you."; - next; - completequest 10107+.@i; - getexp 48000,0; - mes "[Meidi]"; - mes "Wooohoo!"; - mes "Good luck."; - close; + // Clear the original quest data (no longer used). + if (slv_quest) set slv_quest,0; + if (checkquest(10102) > -1 || checkquest(10103) > -1 || checkquest(10104) > -1 || checkquest(10105) > -1 || checkquest(10106) > -1) { + for(set .@quest,10102; .@quest<=10106; set .@quest,.@quest+1) { + if (checkquest(.@quest) > -1) + erasequest .@quest; } - mes "[Meidi]"; - mes "You didn't hunt 10 "+.@monsters$[.@i]+" yet."; - mes "You should make sure that you hunt all of them."; - mes "Can you check again?"; - close; - } - if (slv_quest == 6) { - mes "[Meidi]"; - mes "Sphinx Dungeon... many adventurers came back with great injuries."; - mes "That place is very dangerous."; - mes "Someone should go inside an make it safer for everyone."; - mes "Hopefully, very soon!"; - close; - } - mes "[Meidi]"; - mes "Sphinx Dungeon... many adventurers came back with great injuries."; - mes "That place is very dangerous."; - mes "Someone should go inside an make it safer for everyone."; - mes "Hopefully, very soon!"; - if (slv_quest == 1) { - next; - mes "[Meidi]"; - mes "Oh! Are you from the Eden Group?"; - mes "Are you here for my mission?"; - mes "You came right on time."; - mes "I was worried that noone would accept the mission that I posted."; + mes "- Since the client has moved -"; + mes "- to another place, -"; + mes "- the application form has been removed. -"; next; - mes "[Meidi]"; - mes "So, I need help hunting 3 monsters"; - mes "inside of the Sphinx Dungeon."; - mes "Got it? Its too dangerous for me so that's why I posted the mission."; - next; - mes "[Meidi]"; - mes "Requiem, Marduk and Pasana..."; - mes "I heard they are very dangerous monsters."; - mes "Can you hunt 10 of those monsters?"; - mes "10 of each sounds good enough, right?"; - next; - mes "[Meidi]"; - mes "If you succeed, I will give you a small reward for your help."; - next; - switch (select("Accept mission.:Decline mission.")) { - case 1: - mes "[Meidi]"; - mes "Oh. Thank you so much."; - mes "How can I pay you backf or your effort?"; - mes "May Freya bless you~"; - next; - completequest 10102; - setquest 10107; - setquest 10108; - setquest 10109; - set slv_quest,6; - mes "[Meidi]"; - mes "Requiem, Marduk and Pasana."; - mes "Don't forget and good luck."; - close; - case 2: - set slv_quest,0; - erasequest 10102; - mes "[Meidi]"; - mes "I see. There is no other way."; - mes "I will send a message to the Eden Group."; - mes "Don't worry and nevermind."; - close; - } } - close; -} -geffen,146,132,3 script Ancellia 906,{ - if ((checkquest(10110 == 2)) && (checkquest(10111) == 2) && (checkquest(10112) == 2) && (checkquest(10113) == 2) && (slv_quest == 6)) { - set slv_quest,0; - mes "[Ancellia]"; - mes "Wow. You've finished all"; - mes "of my missions. Great!"; - mes "You are of great help."; - mes "I will inform the Eden Group of your assistance."; - mes "You can go back, don't worry."; - close; - } - if (checkquest(10110) == 1 || checkquest(10111) == 1 || checkquest(10112) == 1 || checkquest(10113) == 1) { - mes "[Ancellia]"; - mes "You seem to have hunted all of the monsters."; - mes "What monster have you hunted?"; - mes "Do you remember its name?"; - next; - setarray .@monsters$[0],"Dark Frame","Evil Druid","Wraith","Raydric Archer"; - set .@i, select(implode(.@monsters$,":"))-1; - if (checkquest(10110+.@i,HUNTING) == 2) { - mes "[Ancellia]"; - mes "Ah, you've hunted 10 "+.@monsters$[.@i]+"s."; - mes "That was pretty difficult!"; - mes "Thank you very much."; + if (BaseLevel < 71) { + mes "- Only members of the -"; + mes "- right level can read -"; + mes "- this bulletin board. -"; + mes "- Try to find a board -"; + mes "- that suits your level. -"; + close; + } else if (BaseLevel > 85) { + // Quest IDs: 10107-10123, 5055-5057 + setarray .@quests[0], + 10107,10108,10109, + 10110,10111,10112,10113, + 10114,10115,10116,10117, + 10118,10119,10120, + 10121,10122,10123,5055,5056; + for(set .@i,0; .@i<getarraysize(.@quests); set .@i,.@i+1) { + if (checkquest(.@quests[.@i],HUNTING) == 2) + set .@complete[getarraysize(.@complete)], .@quests[.@i]; + } + if (checkquest(5057) > -1 && countitem(7187) >= 30) + set .@complete[getarraysize(.@complete)],5057; + if (getarraysize(.@complete)) { + mes "You have quests in progress."; + mes "Do you want to turn them in?"; next; - completequest 10110+.@i; - getexp 48000,0; - mes "[Ancellia]"; - mes "Perhaps you can hunt the rest as well."; - mes "I will wait for you here."; + if(select("Of course.:No.") == 2) + close; + for(set .@i,0; .@i<getarraysize(.@complete); set .@i,.@i+1) + callsub L_Quest,.@complete[.@i]; close; } - mes "[Ancellia]"; - mes "Hmm... maybe you were confused."; - mes "You didn't hunt all 10 "+.@monsters$[.@i]+"."; - mes "Can you check again?"; - close; - } - if (slv_quest == 6) { - mes "[Ancellia]"; - mes "Go to Glast Heim and kill"; - mes "Dark Frames, Evil Druids,"; - mes "Wraith and Raydric Archers."; - mes "10 of each should do just fine."; + mes "- Only members of the -"; + mes "- right level can read -"; + mes "- this bulletin board. -"; + mes "- Try to find a board -"; + mes "- that suits your level. -"; close; } - mes "[Ancellia]"; - mes "Glast Heim is very far away."; - mes "I heared that the castle was cursed by the ancient King of Prontera."; - mes "There is a another story."; + mes "- Choose where you -"; + mes "- would like to hunt. -"; next; - mes "[Ancellia]"; - mes "One day the came out of the castle and attacked a nearby village, it was terrible."; - mes "That's why I can't stop worrying."; - if (slv_quest == 2) { - next; - mes "[Ancellia]"; - mes "Oh, you got my mission"; - mes "from the Eden Group. Great~!"; - mes "Thank you very much."; - next; - mes "[Ancellia]"; - mes "I already explained."; - mes "So I expect you understand."; - mes "You need to hurry hunting"; - mes "Dark Frames, Evil Druids,"; - mes "Wraith and Raydric Archesr."; - next; - mes "[Ancellia]"; - mes "You should hunt them all."; - mes "These are dangerous monsters so please take care of yourself."; - next; - switch (select("Accept mission.:Decline mission.")) { - case 1: - mes "[Ancellia]"; - mes "Thanks a lot."; - mes "Be careful when you hunt these monsters. Good luck."; - next; - completequest 10103; - setquest 10110; - setquest 10111; - setquest 10112; - setquest 10113; - set slv_quest,6; - mes "[Ancellia]"; - mes "Remember, Dark Frames,"; - mes "Evil Druids, Wraiths"; - mes "and Raydric Archers."; - close; - case 2: - set slv_quest,0; - erasequest 10103; - mes "[Ancellia]"; - mes "Was the mission too hard?"; - mes "I guess I'll just have to wait for someone else from the Eden Group to help me."; - close; + switch(select("Sphinx Dungeon:Glast Heim:Juno Area:Clock Tower:Localized Islands")) { + case 1: + mes "- There are several requests -"; + mes "- related to the Sphinx Dungeon -"; + mes "- on this mission Board. -"; + next; + set .@str1$,"The villagers of Morroc are worried by the increasing number of monsters in the Sphinx Dungeon. "; + set .@str2$,"- Meidi from Morroc -"; + switch(select("Hunt Requiem:Hunt Marduk:Hunt Pasana")) { + case 1: callsub L_Quest,10107,.@str1$+"Hunt 10 Requiems.",.@str2$; + case 2: callsub L_Quest,10108,.@str1$+"Hunt 10 Marduks.",.@str2$; + case 3: callsub L_Quest,10109,.@str1$+"Hunt 10 Pasanas.",.@str2$; } - } - close; -} - -aldebaran,144,230,3 script Jeanbai 900,{ - if ((checkquest(10114) == 2) && (checkquest(10115) == 2) && (checkquest(10116) == 2) && (checkquest(10117) == 2) && (slv_quest == 6)) { - set slv_quest,0; - mes "[Jeanbai]"; - mes "You've hunted all of the monsters."; - mes "I will inform the Eden Group."; - mes "Thank you."; - close; - } - if (checkquest(10114) == 1 || checkquest(10115) == 1 || checkquest(10116) == 1 || checkquest(10117) == 1) { - mes "[Jeanbai]"; - mes "Huh? So... fast..."; - mes "You amaze me!"; - mes "So what monster did you hunt?"; - next; - setarray .@monsters$[0],"Grand Peco","Sleeper","Goat","Harpy"; - set .@i, select(implode(.@monsters$,":"))-1; - if (checkquest(10114+.@i,HUNTING) == 2) { - mes "[Jeanbai]"; - mes "You've hunted 20 "+.@monsters$[.@i]+"s. Perfect!"; - mes "Thanks a lot."; - next; - completequest 10114+.@i; - getexp 48000,0; - mes "[Jeanbai]"; - mes "Please hunt the others as soon as possible."; - mes "I have faith in you!"; - close; + case 2: + mes "- There are several requests -"; + mes "- related to Glast Heim -"; + mes "- on this mission Board. -"; + next; + set .@str1$,"I am very afraid that the monsters from Glast Heim will attack us. "; + set .@str2$,"- Ancellia from Geffen -"; + switch(select("Hunt Dark Frame:Hunt Evil Druid:Hunt Wraith:Hunt Raydric Archer")) { + case 1: callsub L_Quest,10110,.@str1$+"Hunt 10 Dark Frames.",.@str2$; + case 2: callsub L_Quest,10111,.@str1$+"Hunt 10 Evil Druids.",.@str2$; + case 3: callsub L_Quest,10112,.@str1$+"Hunt 10 Wraiths.",.@str2$; + case 4: callsub L_Quest,10113,.@str1$+"Hunt 10 Raydric Archers.",.@str2$; } - mes "[Jeanbai]"; - mes "What? Maybe you were confused."; - mes "You haven't hunted all 20 "+.@monsters$[.@i]+"s."; - mes "Please check again."; - close; - } - if (slv_quest == 6) { - mes "[Jeanbai]"; - mes "Grand Pecos, Sleepers, Goats"; - mes "and Harpies. Hunt 20 of each."; - mes "When you're finished hunting, come back to me."; - mes "I hope you finish as soon as you can."; - close; - } - mes "[Jeanbai]"; - mes "I am traveler Jeanbai."; - mes "As I said I'm a traveler not a adventurer so, I am not good at fighting."; - mes "That's why I can't travel all over the world."; - next; - mes "[Jeanbai]"; - mes "Monsters are increasing in numbers so travelers like me have a hard time getting around."; - mes "I wish I could travel around without having to worry about that."; - if (slv_quest == 3) { - next; - mes "[Jeanbai]"; - mes "Oh, did you get my mission from the Eden Group?"; - mes "Great~! We don't have a lot of time."; - mes "Let me explain."; - next; - mes "[Jeanbai]"; - mes "The monsters around Juno,"; - mes "Grand Pecos, Sleepers, Goats"; - mes "and Harpies. Please hunt 20 of them."; - mes "I've been hesitating to visit Juno because of those monsters around there."; - next; - mes "[Jeanbai]"; - mes "Will you accept this mission?"; - mes "I hope you are the right person for the job."; - mes "So what do you say?"; - next; - switch (select("Accept mission.:Decline mission.")) { - case 1: - mes "[Jeanbai]"; - mes "Great!"; - mes "You won't regret it."; - next; - completequest 10104; - setquest 10114; - setquest 10115; - setquest 10116; - setquest 10117; - set slv_quest,6; - mes "[Jeanbai]"; - mes "When you're finished hunting, come back to me."; - mes "I hope you finish as soon as you can."; - close; - case 2: - set slv_quest,0; - erasequest 10104; - mes "[Jeanbai]"; - mes "Too bad. I'm disappointed."; - mes "I should inform the Eden Group again."; - mes "I see, nevermind."; - close; + case 3: + mes "- There are several requests -"; + mes "- related to the area -"; + mes "- around Juno. -"; + next; + set .@str1$,"Those who can't fight, like me, find it much more difficult to travel due to the large number of monsters. "; + set .@str2$,"- Jeanbai, traveler -"; + switch(select("Hunt Grand Peco:Hunt Sleeper:Hunt Goat:Hunt Harpy")) { + case 1: callsub L_Quest,10114,.@str1$+"Hunt 20 Grand Pecos.",.@str2$; + case 2: callsub L_Quest,10115,.@str1$+"Hunt 20 Sleepers.",.@str2$; + case 3: callsub L_Quest,10116,.@str1$+"Hunt 20 Goats.",.@str2$; + case 4: callsub L_Quest,10117,.@str1$+"Hunt 20 Harpies.",.@str2$; } - } - close; -} - -aldebaran,105,116,3 script Risingeter 869,{ - if ((checkquest(10118) == 2) && (checkquest(10119) == 2) && (checkquest(10120 == 2)) && (slv_quest == 6)) { - set slv_quest,0; - mes "[Risingeter]"; - mes "You've completed all of my missions."; - mes "Amazing~! I will inform the Eden Group."; - mes "of your assistance. Thanks again!"; - close; - } - if (checkquest(10118) == 1 || checkquest(10119) == 1 || checkquest(10120) == 1) { - mes "[Risingeter]"; - mes "Wow. Are you done?"; - mes "So fast~?! Unbelievable~"; - mes "You were the right person for this mission."; - mes "Which monster did you hunt?"; - next; - setarray .@monsters$[0],"Clock","Punk","Rideword"; - set .@i, select(implode(.@monsters$,":"))-1; - if (checkquest(10118+.@i,HUNTING) == 2) { - mes "[Risingeter]"; - mes "Good! You've hunted 15 "+.@monsters$[.@i]+"s."; - mes "Ah, now I can hear the clock sound clearly..."; - mes "Tic!! toc!! tic!! toc!!..."; - next; - completequest 10118+.@i; - getexp 48000,0; - mes "[Risingeter]"; - mes "Thanks a lot!"; - mes "I hope you can hunt the rest as well."; - mes "Go as soon as you can!"; - close; + case 4: + mes "- There are several requests -"; + mes "- related to the Clock Tower -"; + mes "- on this mission Board. -"; + next; + set .@str1$,"I used to love listening to the sweet melody of the Al De Baran Clock Tower but I can't hear anything anymore because of all the noises the monsters are making. "; + set .@str2$,"- Rizingsetter, President of the Love Clock community -"; + switch(select("Hunt Clock:Hunt Punk:Hunt Rideword")) { + case 1: callsub L_Quest,10118,.@str1$+"Hunt 15 Clocks before it breaks.",.@str2$; + case 2: callsub L_Quest,10119,.@str1$+"Hunt 15 Punks before it breaks.",.@str2$; + case 3: callsub L_Quest,10120,.@str1$+"Hunt 15 Ridewords before it breaks.",.@str2$; } - mes "[Risingeter]"; - mes "Uh? Something is wrong."; - mes "15 "+.@monsters$[.@i]+"s, right?"; - mes "You better check how many you've hunted."; - close; - } - if (slv_quest == 6) { - mes "[Risingeter]"; - mes "Hunt 15 Clocks, Punks, and Ridewords."; - mes "Please hurry."; - close; - } - mes "[Risingeter]"; - mes "I like clocks so much."; - mes "They move with regular rhythm"; - mes "making tic toc sounds."; - mes "Ahah!! Hail to the clocks!"; - next; - mes "[Risingeter]"; - mes "That's why I like the Clock Tower so much."; - mes "It makes a really nice sound."; - mes "I like it so much!"; - if (slv_quest == 4) { - next; - mes "[Risingeter]"; - mes "Uh? Have you come to help me solve my trouble."; - mes "You already know I like clocks right?"; - mes "That's why I need your help to hunt these monsters."; - next; - mes "[Risingeter]"; - mes "There are too many monsters inside the Clock Tower."; - mes "Their presence is destroying the Clock Tower."; - next; - mes "[Risingeter]"; - mes "Anyway. Can you help me?"; - mes "Please hunt 15 Clocks, Punks and Ridewords before it breaks down."; - next; - switch (select("Accept mission.:Decline mission.")) { - case 1: - completequest 10105; - setquest 10118; - setquest 10119; - setquest 10120; - set slv_quest,6; - mes "[Risingeter]"; - mes "Ok! I expect you will do the right thing."; - mes "Hunt 15 Clocks, Punks and Ridewords."; - close; - case 2: - set slv_quest,0; - erasequest 10105; - mes "[Risingeter]"; - mes "You don't understand my love for clocks"; - mes "I will find another brave adventurer."; - mes "I will inform the Eden Group."; - close; + case 5: + mes "- There are several requests -"; + mes "- related to the Localized Islands -"; + mes "- on this mission Board. -"; + next; + set .@str1$,"I want to go on an adventure but there are so many things I have to deal with. If I can't, then others can't either! "; + set .@str2$,"- Funfy, who wants to go on an adventure -"; + switch(select("Hunt Kikimora:Hunt Miyabi Doll:Hunt Mi Gao:Hunt Headless Mule:Hunt Tamruan:Gather Festival Masks for the Festival")) { + case 1: callsub L_Quest,10121,.@str1$+"Hunt 15 Kikimoras in Moscovia!",.@str2$; + case 2: callsub L_Quest,10122,.@str1$+"Hunt 15 Miyabi Dolls in Amatsu!",.@str2$; + case 3: callsub L_Quest,10123,.@str1$+"Hunt 15 Mi Gaos in Louyang!",.@str2$; + case 4: callsub L_Quest,5055,"I know there are many terrifying monsters outside the city, but what terrifies me are these Headless Mules lurking around. I hope they will never venture into town. Hunt 15 Headless Mules!","- Mariana from Brasilis -"; + case 5: callsub L_Quest,5056,"Tamruans make a lot of noise. I don't mind in the morning but they keep me from falling asleep at night. I want to sleep. Hunt 15 Tamruans!","- Shaman Pumo from Ayotaya -"; + case 6: callsub L_Quest,5057,"The Dumpling Childs stole all the masks that I had prepared for the festival. Try to get a hold of 30 masks! I'll owe you~","- SaYumMoon Chief of Kunlun -"; } } - close; -} + end; -alberta,215,111,5 script Funfi 828,{ - if ((checkquest(10121) == 2) && (checkquest(10122) == 2) && (checkquest(10123) == 2) && (slv_quest == 6)) { - set slv_quest,0; - mes "[Funfi]"; - mes "Um! Thank you so much for all your efforts!"; - mes "I will inform, the Eden Group about your assistance, don't worry!"; - mes "Hahahaha..."; - close; - } - if (checkquest(10121) == 1 || checkquest(10122) == 1 || checkquest(10123) == 1) { - mes "[Funfi]"; - mes "Unbelievable~! So fast~!"; - mes "Which monster did you hunt?"; - next; - setarray .@monsters$[0],"Kikimora","Miyabi Doll","Mi Gao"; - set .@i, select(implode(.@monsters$,":"))-1; - if (checkquest(10121+.@i,HUNTING) == 2) { - mes "[Funfi]"; - mes "Ok! You've hunted 15 "+.@monsters$[.@i]+"!"; - mes "You're the best!"; +//callsub L_Quest,<quest ID>{,"<description1>","<description2>"}; +L_Quest: + set .@quest, getarg(0); + switch(.@quest) { + case 10107: set .@name$,"Hunt Requiem"; set .@exp,15000; break; + case 10108: set .@name$,"Hunt Marduk"; set .@exp,15000; break; + case 10109: set .@name$,"Hunt Pasana"; set .@exp,15000; break; + case 10110: set .@name$,"Hunt Dark Frame"; set .@exp,20000; break; + case 10111: set .@name$,"Hunt Evil Druid"; set .@exp,20000; break; + case 10112: set .@name$,"Hunt Wraith"; set .@exp,20000; break; + case 10113: set .@name$,"Hunt Raydric Archer"; set .@exp,20000; break; + case 10114: set .@name$,"Hunt Grand Peco"; set .@exp,30000; break; + case 10115: set .@name$,"Hunt Sleeper"; set .@exp,30000; break; + case 10116: set .@name$,"Hunt Goat"; set .@exp,30000; break; + case 10117: set .@name$,"Hunt Harpy"; set .@exp,30000; break; + case 10118: set .@name$,"Hunt Clock"; set .@exp,25000; break; + case 10119: set .@name$,"Hunt Punk"; set .@exp,25000; break; + case 10120: set .@name$,"Hunt Rideword"; set .@exp,25000; break; + case 10121: set .@name$,"Hunt Kikimora"; set .@exp,30000; break; + case 10122: set .@name$,"Hunt Miyabi Doll"; set .@exp,30000; break; + case 10123: set .@name$,"Hunt Mi Gao"; set .@exp,30000; break; + case 5055: set .@name$,"Hunt Headless Mule"; set .@exp,30000; break; + case 5056: set .@name$,"Hunt Tamruan"; set .@exp,30000; break; + case 5057: set .@name$,"Gather Festival Masks for the Festival"; set .@exp,30000; break; + } + if (getargcount() == 1) { + mes "'"+.@name$+"' completed. Do you want to turn it in and receive your reward?"; + next; + if(select("Turn in quest.:Cancel.") == 1) { + if (.@quest == 5057) delitem 7187,30; //Festival_Mask + erasequest .@quest; + getexp .@exp,0; + mes "You've received EXP for finishing the quest."; next; - completequest 10121+.@i; - getexp 48000,0; - mes "[Funfi]"; - mes "Please hunt the others as well."; - mes "I have faith in you!"; - close; + return; } - mes "[Funfi]"; - mes "Oh~ No no~!!"; - mes "Listen carefully! Hunt 15 "+.@monsters$[.@i]+"."; close; - } - if (slv_quest == 6) { - mes "[Funfi]"; - mes "Moscovia's Kikimore,"; - mes "Miyabi Dolls from Amatsu"; - mes "and Mi Gaos from Louyang."; - mes "Please hunt 15 of each of those monsters."; - close; - } - mes "[Funfi]"; - mes "I am a man who wants to experience adventures. But for some reason I can't..."; - next; - mes "[Funfi]"; - mes "There are a lot of funny things in the world... Wooo!"; - if (slv_quest == 5) { - next; - mes "[Funfi]"; - mes "Anyway are you from the Eden Group?"; - mes "You are? Cool! I've been waiting for you~!"; - next; - mes "[Funfi]"; - mes "No questions! Just do it now!"; - mes "Hunt Kikimora in Moscovia,"; - mes "Miyabi Dolls in Amatsu"; - mes "and Mi Gaos in Louyang!"; - mes "Hunt 15 each of those monsters!"; - next; - mes "[Funfi]"; - mes "Please~!! haha."; - mes "Hurry up!"; - next; - switch (select("Accept mission.:Decline mission.")) { - case 1: - completequest 10106; - setquest 10121; - setquest 10122; - setquest 10123; - set slv_quest,6; - getitem 7167,10; //Mystery_Iron_Bit - mes "[Funfi]"; - mes "Ok! Good! Hurry up."; - mes "Hunt the monsters on each of those 3 islands."; + } else { + if (.@quest == 5057) { + // Quest 5057 is the only collection quest, so separate conditions are unnecessary. + if (checkquest(5057) == -1) + set .@hunting,-1; + else if (countitem(7187) >= 30) + set .@hunting,2; + } else + set .@hunting, checkquest(.@quest,HUNTING); + if (.@hunting == 0 || .@hunting == 1) { + mes getarg(1); + mes getarg(2); next; - mes "[Funfi]"; - mes "I will give you some materials for use in Moscovia."; - mes "Go as soon as you can!"; - close; - case 2: - set slv_quest,0; - erasequest 10106; - mes "[Funfi]"; - mes "What? You don't want to work?! Gosh!"; - mes "I will inform the Eden Group of this!"; - close; + mes "Return here when you've finished the quest."; + } else if (.@hunting == 2) { + mes "You have completed the quest."; + next; + if(select("Turn in quest.:Cancel.") == 1) { + if (.@quest == 5057) delitem 7187,30; //Festival_Mask + erasequest .@quest; + getexp .@exp,0; + mes "You've received EXP for finishing the quest."; + } + }/* else if (.@hunting == 3) { +// recall_completequest .@quest + erasequest .@quest; + mes "You have re-accepted the quest '"+.@name$+"'."; + }*/ else { + mes getarg(1); + mes getarg(2); + next; + mes "Do you want to accept the quest?"; + next; + if(select("Yes.:No.") == 1) { + mes "You've received the quest '"+.@name$+"'. View your quest info for more details."; + setquest .@quest; + } } + close; } - close; } diff --git a/npc/re/quests/eden/eden_common.txt b/npc/re/quests/eden/eden_common.txt index 8570fd39e..a2d2a624b 100644 --- a/npc/re/quests/eden/eden_common.txt +++ b/npc/re/quests/eden/eden_common.txt @@ -1,14 +1,12 @@ //===== Hercules Script ====================================== //= Eden Group Quests - Common NPCs -//===== By: ================================================== +//===== By: ================================================== //= L0ne_W0lf -//===== Current Version: ===================================== -//= 1.6 -//===== Compatible With: ===================================== -//= Hercules -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.8 +//===== Description: ========================================= //= Eden Group Headquarter NPC's. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First Version. //= 1.1 Removed showevent use, and use of duplicates. //= Commented out warps that should not be active. @@ -17,10 +15,11 @@ //= 1.4 Updated to match the new Izlude Map. [Masao] //= 1.5 Added some missing Eden Group Teleport Officers. [Masao] //= 1.6 Added Izlude RE coordinates. [Euphy] +//= 1.7 Added Malaya teleporter. [Euphy] +//= 1.8 Updated to match the latest official script. [Euphy] //============================================================ moc_para01,27,35,5 script Secretary Lime Evenor 952,{ - if (checkweight(1201,1) == 0 || (MaxWeight - Weight) < 2000) { mes "- Wait a minute !! -"; mes "- Currently you're carrying -"; @@ -68,12 +67,12 @@ moc_para01,27,35,5 script Secretary Lime Evenor 952,{ mes "Let me see."; next; mes "[Lime Evenor]"; - mes "Your name is ^3131FFBo"+.@input$+"Ba^000000..? Is that right?"; + mes "Your name is ^3131FFBo"+.@input$+"Ba^000000...? Is that right?"; mes "Huh? Isn't it??"; next; emotion e_swt; mes "[Lime Evenor]"; - mes "Hmm that isn't what you wrote?."; + mes "Hmm, that isn't what you wrote?"; mes "Ok, hmm, it seems a bit hard to read."; next; mes "[Lime Evenor]"; @@ -213,13 +212,12 @@ moc_para01,27,35,5 script Secretary Lime Evenor 952,{ close; } } - prontera,124,76,3 duplicate(eto) Eden Teleport Officer#1 729 moc_ruins,68,164,3 duplicate(eto) Eden Teleport Officer#2 729 geffen,132,66,3 duplicate(eto) Eden Teleport Officer#3 729 alberta,124,67,3 duplicate(eto) Eden Teleport Officer#4 729 aldebaran,133,119,5 duplicate(eto) Eden Teleport Officer#5 729 -izlude,131,148,4 duplicate(eto) Eden Teleport Officer#6 729 +izlude_in,68,162,1 duplicate(eto) Eden Teleport Officer#6 729 prt_church,103,78,3 duplicate(eto) Eden Teleport Officer#7 729 geffen_in,160,104,5 duplicate(eto) Eden Teleport Officer#8 729 moc_prydb1,53,126,3 duplicate(eto) Eden Teleport Officer#9 729 @@ -230,16 +228,28 @@ que_ng,33,73,3 duplicate(eto) Eden Teleport Officer#13 729 que_ng,144,161,5 duplicate(eto) Eden Teleport Officer#14 729 yuno,144,189,5 duplicate(eto) Eden Teleport Officer#15 729 rachel,125,144,3 duplicate(eto) Eden Teleport Officer#16 729 -morocc,161,97,6 duplicate(eto) Eden Teleport Officer#17 729 -comodo,202,151,4 duplicate(eto) Eden Teleport Officer#18 729 -umbala,104,158,4 duplicate(eto) Eden Teleport Officer#19 729 -veins,220,109,4 duplicate(eto) Eden Teleport Officer#20 729 +comodo,202,151,4 duplicate(eto) Eden Teleport Officer#17 729 +hugel,93,153,4 duplicate(eto) Eden Teleport Officer#18 729 +veins,220,109,4 duplicate(eto) Eden Teleport Officer#19 729 +einbroch,250,211,4 duplicate(eto) Eden Teleport Officer#20 729 lighthalzen,164,86,4 duplicate(eto) Eden Teleport Officer#21 729 -einbroch,250,211,4 duplicate(eto) Eden Teleport Officer#22 729 -hugel,93,153,4 duplicate(eto) Eden Teleport Officer#23 729 +amatsu,100,145,5 duplicate(eto) Eden Teleport Officer#22 729 +ayothaya,221,191,3 duplicate(eto) Eden Teleport Officer#23 729 +louyang,224,107,3 duplicate(eto) Eden Teleport Officer#24 729 +gonryun,162,122,5 duplicate(eto) Eden Teleport Officer#25 729 +moscovia,209,197,5 duplicate(eto) Eden Teleport Officer#26 729 +brasilis,191,224,3 duplicate(eto) Eden Teleport Officer#27 729 +dewata,192,193,5 duplicate(eto) Eden Teleport Officer#28 729 +morocc,161,97,5 duplicate(eto) Eden Teleport Officer#29 729 +izlude,131,148,4 duplicate(eto) Eden Teleport Officer#30 729 +izlude_a,131,148,4 duplicate(eto) Eden Teleport Officer#30::eto_iz_a 729 +izlude_b,131,148,4 duplicate(eto) Eden Teleport Officer#30::eto_iz_b 729 +izlude_c,131,148,4 duplicate(eto) Eden Teleport Officer#30::eto_iz_c 729 +izlude_d,131,148,4 duplicate(eto) Eden Teleport Officer#30::eto_iz_d 729 +umbala,105,158,3 duplicate(eto) Eden Teleport Officer#31 729 +malaya,238,206,6 duplicate(eto) Eden Teleport Officer#32 729 moc_para01,30,10,0 script #eden_out 45,1,1,{ - OnTouch: switch (nak_warp) { case 1: warp "prontera",116,72; end; @@ -247,7 +257,7 @@ OnTouch: case 3: warp "geffen",120,39; end; case 4: warp "alberta",117,56; end; case 5: warp "aldebaran",168,112; end; - case 6: if (checkre(0)) warp "izlude",134,118; else warp "izlude",127,142; end; + case 6: warp "izlude_in",73,165; end; case 7: warp "prt_church",99,78; end; case 8: warp "geffen_in",162,99; end; case 9: warp "moc_prydb1",51,118; end; @@ -258,13 +268,22 @@ OnTouch: case 14: warp "que_ng",144,166; end; case 15: warp "yuno",158,125; end; case 16: warp "rachel",115,125; end; - case 17: warp "morocc",156,93; end; - case 18: warp "comodo",209,143; end; - case 19: warp "umbala",99,155; end; - case 20: warp "veins",216,123; end; - case 21: warp "lighthalzen",158,92; end; - case 22: warp "einbroch",245,210; end; - case 23: warp "hugel",95,145; end; + case 17: warp "comodo",192,145; end; + case 18: warp "hugel",88,148; end; + case 19: warp "veins",216,104; end; + case 20: warp "einbroch",246,204; end; + case 21: warp "lighthalzen",159,95; end; + case 22: warp "amatsu",110,150; end; + case 23: warp "ayothaya",217,178; end; + case 24: warp "louyang",217,103; end; + case 25: warp "gonryun",155,120; end; + case 26: warp "moscovia",218,198; end; + case 27: warp "brasilis",190,220; end; + case 28: warp "dewata",192,182; end; + case 29: warp "morocc",161,97; end; + case 30: warp "izlude",134,118; end; // Old coordinates: (127,142) + case 31: warp "umbala",94,154; end; + case 32: warp "malaya",234,199; end; default: warp "prontera",116,72; end; } end; diff --git a/npc/re/quests/eden/eden_iro.txt b/npc/re/quests/eden/eden_iro.txt new file mode 100644 index 000000000..b8cd44ce4 --- /dev/null +++ b/npc/re/quests/eden/eden_iro.txt @@ -0,0 +1,598 @@ +//===== Hercules Script ====================================== +//= Eden iRO NPCs +//===== By: ================================================== +//= -SkittleNugget- +//===== Current Version: ===================================== +//= 1.1 +//===== 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] +//============================================================ + +// Acolyte Warper (part of other/acolyte_warp.txt) +//============================================================ +moc_para01,14,32,5 script Aperture#acolytewarp 90,{ + mes "[Aperture]"; + mes "Hello there, adventurer."; + mes "I've been studying magic from all over Rune-Midgard to upgrade what I believe to be one of the greatest skills available to the acolyte class."; + next; + mes "[Aperture]"; + mes "I am the one and only Acolyte that has attained the Level 10 Warp Portal skill!"; + emotion e_dots,1; + next; + mes "[Aperture]"; + mes "That's right! And..."; + mes "I promise you that I don't forget locations that I have already memorized."; + mes "One day I will level up my skills to warp to wherever I please~"; + next; + mes "[Aperture]"; + mes "I am willing to warp you to the many locations that I have memorized for a small fee."; + mes "Would you like to use this service?"; + next; + switch(select("Yes:No")) { + case 1: + mes "[Aperture]"; + mes "Where would you like to go to?"; + mes "I wish you goodluck on your journey."; + next; + + setarray .@towns$[0], "Prontera", "Izlude", "Geffen", "Payon", "Morroc", "Alberta", "Al De Baran", "Comodo", "Umbala", "Juno", "Einbroch", "Lighthalzen", "Hugel", "Rachel"; + setarray .@cost[0], 600, 600, 1200, 1200, 1200, 1800, 2200, 2200, 2200, 1800, 2200, 2200, 2200, 2200; + + set .@size, getarraysize(.@towns$); + for(set .@i,0; .@i<.@size; set .@i,.@i+1) + set .@menu$, .@menu$+.@towns$[.@i]+" -> "+.@cost[.@i]+"z:"; + set .@i, select(.@menu$+"Cancel")-1; + if (.@i == .@size) { + mes "[Aperture]"; + mes "Come back when you need a warp."; + close; + } + if (Zeny < .@cost[.@i]) { + mes "[Aperture]"; + mes "I'm sorry, but you don't have"; + mes "enough zeny for the Teleport"; + mes "Service. The fee to teleport"; + mes "to "+.@towns$[.@i]+" is "+.@cost[.@i]+" zeny."; + close; + } + specialeffect2 EF_READYPORTAL; + specialeffect2 EF_TELEPORTATION; + specialeffect2 EF_PORTAL; + next; + set Zeny, Zeny - .@cost[.@i]; + switch(.@i) { + case 0: warp "prontera",116,72; break; + case 1: warp "izlude",128,98; break; + case 2: warp "geffen",120,39; break; + case 3: warp "payon",161,58; break; + case 4: warp "morocc",156,46; break; + case 5: warp "alberta",117,56; break; + case 6: warp "aldebaran",168,112; break; + case 7: warp "comodo",209,143; break; + case 8: warp "umbala",100,154; break; + case 9: warp "yuno",158,125; break; + case 10: warp "einbroch",67,195; break; + case 11: warp "lighthalzen",159,90; break; + case 12: warp "hugel",98,150; break; + case 13: warp "rachel",119,135; break; + } + close; + case 2: + mes "[Aperture]"; + mes "Come back when you need a warp."; + close; + } +} + +// Carrot & Red Potion Traders +//============================================================ +moc_para01,166,51,3 script Phelix#edco 85,{ + mes "[Phelix]"; + mes "Oh... I see from that look that you want me to work and give you Meat and Carrots..."; + mes "Well my friend Izaac here has some Red Potions with him, but I only have some Carrots."; + mes "So I can trade you ^0000CC1 Carrot for 3 Jellopy^000000."; + next; + mes "[Phelix]"; + mes "If you're interested in my offer, get me the Jellopies I mentioned."; + next; + select("Carrots please."); + mes "[Phelix]"; + mes "Alright, let's see what ya got..."; + next; + if (countitem(909) < 3) { + mes "[Phelix]"; + mes "Hmm, look dude, I said 3 Jellopies for 1 Carrot... got it?"; + close; + } + mes "[Phelix]"; + mes "Not too bad..."; + mes "How many do you want?"; + next; + switch(select("As many as I can get, please.:I want to choose.:Never mind, I like my Jellopy.")) { + case 1: + set .@amount, countitem(909) / 3; + break; + case 2: + set .@available, countitem(909) / 3; + mes "[Phelix]"; + mes "How many do you want?"; + mes "^ff0000You have enough for up to " + .@available + " Carrots.^000000"; + input .@input; + next; + if (.@input < 1 || .@input > 10000) { + mes "[Phelix]"; + mes "Don't want to deal? Fair enough..."; + close; + } + if (.@input > .@available) { + mes "[Phelix]"; + mes "Dude, I said for every 3 Jellopy I'll give you 1 Carrot."; + close; + } + set .@amount, .@input; + break; + case 3: + mes "[Phelix]"; + mes "Don't bother me if you don't want to trade."; + close; + } + if (checkweight(515,.@amount) == 0) { + mes "[Phelix]"; + mes "You are overweight."; + close; + } + mes "[Phelix]"; + mes "There you go~! As I promised."; + mes "Try not to stuff yer face."; + delitem 909,.@amount*3; //Jellopy + getitem 515,.@amount; //Carrot + end; +} + +moc_para01,163,51,7 script Izaac#edco 86,{ + mes "[Izaac]"; + mes "Good day!"; + mes "Have you collected any weird stuff from monsters?"; + mes "I want things like Jellopy, Fluff, Shell, Feather of Birds, Tree Root, Worm Peelings, and Chrysalis."; + mes "I need those for something."; + next; + mes "[Izaac]"; + mes "Of course, I won't ask you to give me that stuff for free. What if I traded the following for ^CC00001 Red Potion^000000:"; + mes "^00CC005 Shell^000000"; + mes "^0000CC10 Fluff^000000"; + mes "^00CC0010 Jellopy^000000"; + mes "^0000CC6 Tree Root^000000"; + mes "^00CC001 Worm Peeling^000000"; + mes "^0000CC7 Feather of Birds^000000"; + mes "^00CC006 Chrysalis^000000"; + next; + switch(select("Sure!:I think it's a rip-off!:No, thanks.")) { + case 1: + mes "[Izaac]"; + mes "So which items do"; + mes "you want to bring me?"; + next; + + setarray .@items[0], 935, 914, 909, 902, 955, 916, 915; + setarray .@count[0], 5, 10, 10, 6, 1, 7, 6; + + set .@size, getarraysize(.@items); + for(set .@i,0; .@i<.@size; set .@i,.@i+1) + set .@menu$, .@menu$+getitemname(.@items[.@i])+":"; + set .@select, select(.@menu$+"Cancel")-1; + if (.@select == .@size) { + mes "[Izaac]"; + mes "Sure~"; + mes "No problem."; + close; + } + set .@item, .@items[.@select]; + set .@item$, getitemname(.@item); + set .@price, .@count[.@select]; + + if (countitem(.@item) < .@price) { + mes "[Izaac]"; + mes "Hey, where's all"; + mes "that "+.@item$+" that"; + mes "you promised me?"; + mes "Give me "+.@item$+"!"; + close; + } + mes "[Izaac]"; + mes "Okay, let me check"; + mes "how much "+.@item$; + mes "you have on you."; + mes "Hmm..."; + next; + set .@amount, countitem(.@item) / .@price; + set .@trade_amount, .@amount * .@price; + mes "[Izaac]"; + mes "You have"; + mes "a total of "+countitem(.@item)+" "+.@item$+"..."; + mes "For all those, I can give you"; + mes "a total of "+.@amount+" Red Potion(s)."; + next; + mes "[Izaac]"; + mes "What do you say?"; + mes "Do we have a deal?"; + next; + if(select("Deal.:No deal.") == 2) { + mes "[Izaac]"; + mes "Huh~"; + mes "Alright."; + mes "Though are"; + mes .@item$ + " more useful"; + mes "to an adventurer like you?"; + close; + } + if (checkweight(501,.@amount) == 0) { //custom check + mes "[Izaac]"; + mes "You are overweight."; + close; + } + delitem .@item,.@trade_amount; + getitem 501,.@amount; //Red_Potion + mes "[Izaac]"; + mes "There you go!"; + mes "Check how many "+.@item$; + mes "I've given you, it should be good."; + mes "Thanks, that was a good deal~"; + close; + case 2: + mes "[Izaac]"; + mes "A rip-off...?"; + mes "If you check the market value"; + mes "of the items being traded, I'm actually the one getting"; + mes "ripped off here."; + close; + case 3: + mes "[Izaac]"; + mes "Alright, No problem."; + mes "But come back to me if you change your mind."; + close; + } +} + +// Safe to 7 Certificate Exchanger +//============================================================ +moc_para01,50,39,4 script Eve Natalia 882,{ + mes "[Eve Natalia]"; + mes "So I'm in town for a while to see if I can strike up some commerce with MVP hunters!"; + mes "I'm willing to take some MVP gear and give you these upgrade Certificates I have in exchange;"; + mes "if things go well enough I'll open up further business opportunities!"; + next; + mes "[Eve Natalia]"; + mes "So do you have any of the gears I'm looking for to get some random Safe to 7 Certificates?"; + next; + switch(select("What gear?:Yes I am!:Never mind.")) { + case 1: + mes "[Eve Natalia]"; + mes "Nidhoggur's Shadow Garb 4 Random Safe to 7 Certificates"; + mes "Valkyrja's Shield 4 Random Safe to 7 Certificates"; + mes "Valkyrian Armor 5 Random Safe to 7 Certificates"; + mes "Diabolus Robe 5 Random Safe to 7 Certificates"; + mes "Diabolus Armor 2 Random Safe to 7 Certificates"; + mes "Diabolus Boots 2 Random Safe to 7 Certificates"; + mes "Diabolus Manteau 4 Random Safe to 7 Certificates"; + mes "Twin Edge of Naght Sieger Blue 2 Random Safe to 7 Certificates"; + mes "Twin Edge of Naght Sieger Red 2 Random Safe to 7 Certificates"; + close; + case 2: + mes "[Eve Natalia]"; + mes "I'm going to ask you which piece of gear you want to trade in, please verify that the 1st one in your inventory is one you want to give up."; + mes "^CC0000So if it is carded, upgraded, enchanted etc, you should put it in storage before we continue.^000000"; + next; + set .@i, select("Wait a minute:Nidhoggur's Shadow Garb 4:Valkyrja's Shield 4:Valkyrian Armor 5:Diabolus Robe 5:Diabolus Armor 2:Diabolus Boots 2:Diabolus Manteau 4:Twin Edge of Naght Sieger Blue 2:Twin Edge of Naght Sieger Red 2")-2; + if (.@i == -1) + break; + + setarray .@items[0], 2554, 2115, 2357, 2374, 2375, 2433, 2537, 13412, 13413; + setarray .@tickets[0], 4, 4, 5, 5, 2, 2, 4, 2, 2; + + set .@item, .@items[.@i]; + set .@amount, .@tickets[.@i]; + + mes "[Eve Natalia]"; + mes "I see you have "+countitem(.@item)+" "+getitemname(.@item)+"."; + mes "So do you want to trade the 1st one in your inventory for ^00CC00"+.@amount+" Random Safe to 7 Certificates^000000?"; + mes "Tell me '1' if you do, or '0' to cancel."; + next; + input .@input; + if (.@input < 0 || .@input > 1) { + mes "[Eve Natalia]"; + mes "It is a 0 or 1, it can't be that difficult."; + close; + } else if (.@input == 0) { + mes "[Eve Natalia]"; + mes "It's best to be sure before trading, have a good day."; + close; + } + if (countitem(.@item) == 0) { + mes "[Eve Natalia]"; + mes "You don't even have 1... stop wasting my time."; + close; + } + mes "[Eve Natalia]"; + mes "Oh perfect, you get ^CC0000" + .@amount + "^000000 Safe to 7 Certificates!"; + delitem .@item,1; + for(set .@i,0; .@i<.@amount; set .@i,.@i+1) { + // Note: iRO lists item 6235 as "Safe to 7 Headgear Certificate", but it's Guarantee_Armor_6Up in our database. + if (rand(2)) + getitem 6230,1; //Guarantee_Weapon_7Up + else + getitem 6234,1; //Guarantee_Armor_7Up + } + close; + case 3: + break; + } + mes "[Eve Natalia]"; + mes "Fair enough, if you have business with me in the future don't be shy!"; + close; +} + +// Bubble Gum & Battle Manual Exchanger +//============================================================ +moc_para01,48,184,2 script Gum & Manual Exchanger 562,{ + if (Weight < MaxWeight / 2) { + mes "You're carrying too many items right now."; + close; + } + mes "[Trader Machine]"; + mes "Insert Bubble Gums and/or Battle Manuals to trade for higher efficiency Gums and Manuals."; + next; + mes "[Trader Machine]"; + mes "Exchange rate:"; + mes "2 Bubble Gum -> 1 HE Bubble Gum"; + mes "2 Battle Manual -> 1 HE Battle Manual"; + mes "4 HE Battle Manual -> 1 Battle Manual X3"; + mes "3 Thick Battle Manual -> 2 Battle Manual X3"; + mes "What would you like to exchange for?"; + next; + switch(select("HE Bubble Gum:HE Battle Manual:1 Battle Manual X3:2 Battle Manual X3:1 Costume Corsair:Nothing")) { + case 1: + callsub L_Exchange,12210,2,12412,1; + break; + case 2: + callsub L_Exchange,12208,2,12411,1; + break; + case 3: + callsub L_Exchange,12411,4,14545,1; + break; + case 4: + callsub L_Exchange,12312,3,14545,2; + break; + case 5: + mes "[Trader Machine]"; + mes "I can give you 1 Battle Manual X3 for 1 Costume Corsair."; + next; + if (countitem(19619) == 0) { + mes "[Trader Machine]"; + mes "You don't have a Costume Corsair hat to make that trade."; + close; + } + next; + if(select("Yes, give it to me!:No, wait not yet.") == 2) + close; + // Unofficial dialogue. + mes "[Trader Machine]"; + mes "You place the required items into the machine..."; + next; + mes "[Trader Machine]"; + mes "The Machine has given you an item in return!"; + delitem 19619,1; //C_Corsair + getitem 14545,1; //Battle_Manual_X3 + close; + case 6: + close; + } + +//callsub L_Exchange,<Insert Item>,<Amount>,<Return Item>,<Amount> +L_Exchange: + mes "[Trader Machine]"; + mes "How many "+getitemname(getarg(2))+" do you want?"; + mes "I can give you up to 60."; + mes "Type 0 to cancel."; + next; + input .@amount; + if (.@amount == 0) { + mes "[Trader Machine]"; + mes "Cancelled."; + close; + } else if (.@amount < 0 || .@amount > 60) { + mes "[Trader Machine]"; + mes "I said only 60 max."; + close; + } + mes "[Trader Machine]"; + mes "That's a total of "+.@amount; + mes getitemname(getarg(2))+"."; + mes "Is this correct?"; + next; + if(select("Yes, give them to me!:No, wait not yet.") == 2) + close; + set .@cost, getarg(1) * .@amount; + set .@total_amount, getarg(3) * .@amount; + if (countitem(getarg(0)) < .@cost) { + mes "[Trader Machine]"; + mes "You don't have enough "+getitemname(getarg(0))+" to make that trade."; + close; + } + delitem getarg(0),.@cost; + getitem getarg(2),.@total_amount; + close; +} + +// Kafra Stacker +//============================================================ +moc_para01,41,169,2 script Kafra Stacker#eden 749,{ + mes "[Toma]"; + mes "I can take your non-stacking Kafra Consumables"; + mes "and make them fit neatly into stacks!"; + next; + mes "[Toma]"; + mes "Please understand that I can"; + mes "only stack 10 groups at a time"; + mes "so keep talking to me until"; + mes "you have 1 stack of each!"; + next; + while(1) { + if(select("Do it!:Never mind.") == 2) + break; + // Something strange goes on here, haven't quite figured it out... + mes "[Toma]"; + mes "Ten stack down!"; + mes "Want to do another?"; + next; + } + mes "[Toma]"; + mes "Ok then, laterz."; + close; +} + +// Code Redeemer +//============================================================ +moc_para01,38,162,2 script Code the Redeemer#Give1 405,{ + mes "[Code the Redeemer]"; + mes "Welcome, "+strcharinfo(0)+"!"; + mes "I've been expecting you."; + next; + mes "[Code the Redeemer]"; + mes "I am a distributor of all the"; + mes "items that adventurers like"; + mes "yourself purchase on websites"; + mes "or receive as promotions."; + next; + mes "[Code the Redeemer]"; + mes "^0000FFIf the list is empty,"; + mes "that means that you have"; + mes "not purchased, or inputted"; + mes "your serial code from the purchasing website.^000000"; + next; + + // If you have a code redemption system, write your SQL queries here. + select(""); + + close; +} + +// Cash Shops +//============================================================ +/* 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 115,14024:500,14098:150,17081:300,14097:500,14094:1000,14017:400,14099:300 +moc_para01,35,174,2 cashshop Kafra Dye Shop#dyes2 114,6287:150 +moc_para01,36,170,2 cashshop Kafra Consumables#eden3 112,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 721,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 860,16974:300,16972:600,16973:150,16975:150,16977:150,17014:150,17015:150 +moc_para01,35,168,1 cashshop Kafra Utility Shop#eden 113,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 +//============================================================ +/* Technically these NPC names are different, but it's not worth editing the original scripts. */ + +// Weapon/Armor Refiner "Normalson" (merchants/refine.txt) +moc_para01,14,185,4 script Normalson#ed 826,{ + callfunc "refinemain","Normalson",0; + end; +} + +// Advanced Refiner "Suhnmi" (merchants/advanced_refiner.txt) +moc_para01,26,185,4 duplicate(Suhnbi#cash) Suhnmi#eden 85 + +// HD Refiner "Blacksmith Mighty Hammer" (re/merchants/hd_refiner.txt) +// A combination of the +7~9 and +10 and up refiner, currently a placeholder. +moc_para01,38,185,4 duplicate(MightyHammer) Mighty Hammer#ed 826 + +// Refiner Effect +- script #eden_refine_effect -1,{ +OnInit: + initnpctimer; + end; +OnTimer5000: + specialeffect EF_REFINEOK,AREA,"Suhnmi#eden"; + specialeffect EF_REFINEOK,AREA,"Mighty Hammer#ed"; + initnpctimer; + end; +} + +// Gym Pass Trainer "Ripped Cabus" (other/gympass) +moc_para01,33,162,4 duplicate(Ripped Cabus#GymPass) Ripped Callus#ed 899 + +// RWC 2012 Enchanter "Goldenthiefberg" (events/RWC_2012.txt) +// A combination of the slotter and enchanter, currently a placeholder. +moc_para01,27,179,4 script RWC Enchanter#new10 87,{ end; } + +// Cash Headgear Dyer "Alora" (merchants/cashheadgear_dye.txt) +// Also converts some +8 and up headgears into costumes, currently a placeholder. +moc_para01,21,185,4 duplicate(Alora) Alora#headgear_dye2 862 + +// Stylist "Dinorah Lacostt" (?) +// Dyes clothing for an Omni Clothing Dye, currently a placeholder. +moc_para01,33,185,4 script Dinorah Lacostt#ed 862,{ end; } + +// Commonly Updated NPCs +//============================================================ +/* These scripts change on a regular basis, so they're mostly just placeholders for now. */ + +moc_para01,29,35,4 script Gramps#huntquests 866,{ + mes "[Gramps]"; + mes "When you get to being my"; + mes "age, you become bitter."; + mes "Too long I've done nothing about the monsters that roam around"; + mes "Rune Midgard."; + next; + mes "[Gramps]"; + mes "That's why I'm asking you wippersnappers to help"; + mes "me hunt some monsters."; + mes "Will you help me, young adventurer?"; + close; + //next; + //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 882,{ + 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 1102,{ + mes "[Bathory]"; + mes "Eheeheeheehee! The spotlight is on Glast Heim this week, so I'm ferrying people there for a mere 1,000z!"; + next; + mes "[Bathory]"; + mes "How about it? Want to take a ride on a beautiful Bathory's broom?"; + next; + switch(select("Prepare for Takeoff!:No thanks.")) { + case 1: + if (Zeny < 1000) { + mes "[Bathory]"; + mes "Come on dearie..."; + mes "You don't even have 1,000 zeny?"; + close; + } + mes "[Bathory]"; + mes "Alright, hold on tight!"; + close2; + set Zeny, Zeny-1000; + warp "niflheim",194,185; + end; + case 2: + mes "["+strcharinfo(0)+"]"; + mes "No thanks, maybe later."; + close; + } +} + +moc_para01,26,174,4 script Grandma Boxter#boxx 840,{ end; } diff --git a/npc/re/quests/eden/eden_quests.txt b/npc/re/quests/eden/eden_quests.txt index 074ab7e47..222a3f97e 100644 --- a/npc/re/quests/eden/eden_quests.txt +++ b/npc/re/quests/eden/eden_quests.txt @@ -3,21 +3,20 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 1.4b -//===== Compatible With: ===================================== -//= Hercules +//= 1.5 //===== Description: ========================================= -//= Eden Group Headquarter NPC's. +//= Eden Group Headquarter NPCs. //===== Additional Comments: ================================= //= 1.0 First Version. //= 1.1 Removed unencoded comments (Korean -> Gibberish) //= Readded the GM helper NPC, commented out. //= 1.2 Some little optimization here and there. [Masao] //= 1.3 Added Instructor Ur and the new Quests which come -//= alongside him. Special thanks to Chilly for the base. [Masao] +//= alongside him. Special thanks to Chilly for the base. [Masao] //= 1.4 Partial cleaning and bug fixing. [Euphy] //= 1.4a Added 'npcskill' command. [Euphy] //= 1.4b Added 'disable_items' command. [Euphy] +//= 1.5 Added GM management function. [Euphy] //============================================================ moc_para01,25,35,4 script Instructor Boya#para01 469,{ @@ -1182,7 +1181,7 @@ moc_fild11,180,253,5 script Talking Dog#para03 972,{ mes "Oh, if you are tired I will help you."; next; mes "-When the dog barked, your HP and SP recovered.-"; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -1220,7 +1219,7 @@ moc_fild11,180,253,5 script Talking Dog#para03 972,{ mes "Oh, if you are tired I will help you."; next; mes "-When the dog barked, your HP and SP recovered.-"; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -1276,7 +1275,7 @@ moc_fild11,180,253,5 script Talking Dog#para03 972,{ mes "Oh, if you are tired I will help you."; next; mes "-When the dog barked, your HP and SP recovered.-"; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -1422,8 +1421,8 @@ prt_sewb1,131,262,3 script Timid Cat#para04 422,{ mes "[Timid Cat]"; mes "Take care to check your map so you don't get lost."; mes "It's a service meeow."; - npcskill "AL_HEAL",10,99,60; - percentheal 0,100; + npcskill "AL_HEAL",11,99,60; + percentheal 100,100; close; } if (para_suv01 == 8) { @@ -1460,7 +1459,7 @@ prt_sewb1,131,262,3 script Timid Cat#para04 422,{ mes "[Timid Cat]"; mes "I will help you a little."; mes "Here, I have recovered your strengh meow.."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -1495,8 +1494,8 @@ prt_sewb1,131,262,3 script Timid Cat#para04 422,{ mes "It's the last course so cheer up."; mes "I will help you a little."; mes "Here, I have recovered your strengh meow.."; - npcskill "AL_HEAL",10,99,60; - percentheal 0,100; + npcskill "AL_HEAL",11,99,60; + percentheal 100,100; close; } if (para_suv01 >= 10) { @@ -1607,7 +1606,7 @@ pay_arche,41,136,3 script Eden Member Karl#para05 904,{ mes "[Karl]"; mes "Just in case I will recover all your energy."; mes "It's the last step so be careful."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -1638,8 +1637,8 @@ pay_arche,41,136,3 script Eden Member Karl#para05 904,{ mes "[Karl]"; mes "Just in case I will recover all your energy."; mes "It's the last step so be careful."; - npcskill "AL_HEAL",10,99,60; - percentheal 0,100; + npcskill "AL_HEAL",11,99,60; + percentheal 100,100; close; } if (para_suv01 >= 16) { @@ -1760,7 +1759,7 @@ anthell01,29,264,5 script Eden Member Cloud#para06 899,{ mes "What do you think of Ant Hell?"; mes "Can you stay longer?"; mes "Ok, I will recover your strengh so, keep going."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -1799,7 +1798,7 @@ anthell01,29,264,5 script Eden Member Cloud#para06 899,{ mes "[Cloud]"; mes "See, to cheer you up I will heal you until you finish the training."; mes "Chin up and cheer up."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -1827,7 +1826,7 @@ anthell01,29,264,5 script Eden Member Cloud#para06 899,{ mes "[Cloud]"; mes "Just Vitata, isn't that an easy opponent?"; mes "If you see Maya just run away."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -1942,7 +1941,7 @@ in_orcs01,38,175,3 script Eden Member Hooksha 803,{ mes "[Hooksha]"; mes "You look tired I will recover your health."; mes "If you are in trouble just come back here to safety."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -1973,7 +1972,7 @@ in_orcs01,38,175,3 script Eden Member Hooksha 803,{ mes "[Hooksha]"; mes "You look tired, I will recover your health."; mes "If you are in trouble just come back here to safety."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -1999,7 +1998,7 @@ in_orcs01,38,175,3 script Eden Member Hooksha 803,{ mes "[Hooksha]"; mes "You look tired, I will recover your health."; mes "If you are in trouble just come back here to safety."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -2072,7 +2071,7 @@ in_orcs01,38,175,3 script Eden Member Hooksha 803,{ mes "Can you stay longer?"; mes "You look tired, I will recover your health."; mes "If you are in trouble just come back here to safety."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -2096,7 +2095,7 @@ in_orcs01,38,175,3 script Eden Member Hooksha 803,{ mes "Can you stay longer?"; mes "You look tired I will recover your health."; mes "If you are in trouble just come back here to safety."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -2199,8 +2198,8 @@ iz_dun04,43,46,3 script Eden Member Callandiva 745,{ mes "Oh are you tired?"; mes "Mermans are not easy opponents."; mes "I will help you recover so cheer up."; - npcskill "AL_HEAL",10,99,60; - percentheal 0,100; + npcskill "AL_HEAL",11,99,60; + percentheal 100,100; close; } if (para_suv01 == 35) { @@ -2233,7 +2232,7 @@ iz_dun04,43,46,3 script Eden Member Callandiva 745,{ mes "Oh are you tired?"; mes "Strouf are not easy opponents."; mes "I can help you recover so cheer up."; - npcskill "AL_HEAL",10,99,60; + npcskill "AL_HEAL",11,99,60; percentheal 100,100; close; } @@ -3359,6 +3358,7 @@ moc_para01,112,96,5 script Administrator Michael 967,{ mes "[Michael]"; mes "You mean upgrading equipment, right?"; mes "We can only upgrade the Eden Group Hat."; + next; if (para_suv02 == 3) { if (countitem(5583) > 0) { disable_items; @@ -5120,32 +5120,22 @@ L_GetWeapon: return; } -/* -sec_in02,25,33,4 script Assistant 422,{ +sec_in02,25,33,4 script Assistant#para_suvquest 422,{ + callfunc "F_GM_NPC"; mes "Password"; next; - input .@input; - if (.@input == 1854) { + if (callfunc("F_GM_NPC",1854,0) == 1) { mes "Please select the variable you want to modify."; next; - switch (select("para_suv01:para_suv02")) { - case 1: - mes "Enter the modified value"; - next; - input .@input; - mes "Value of para_suv01 has been changed to "+.@input+"."; - set para_suv01,.@input; - close; - case 2: - mes "Enter the modified value"; - next; - input .@input; - mes "Value of para_suv02 has been changed to "+.@input+"."; - set para_suv02,.@input; - close; - } + set .@var, select("para_suv01:para_suv02"); + mes "Enter the modified value"; + next; + input .@input,0,9999; + mes "Value of para_suv0"+.@var+" has been changed to "+.@input+"."; + setd "para_suv0"+.@var,.@input; + close; + } else { + mes "......meow wee."; + close; } - mes "......meow wee."; - close; } -*/ diff --git a/npc/re/quests/eden/eden_service.txt b/npc/re/quests/eden/eden_service.txt index fd6e9a47f..4bec34777 100644 --- a/npc/re/quests/eden/eden_service.txt +++ b/npc/re/quests/eden/eden_service.txt @@ -4,8 +4,6 @@ //= L0ne_W0lf //===== Current Version: ===================================== //= 1.1 -//===== Compatible With: ===================================== -//= Hercules //===== Description: ========================================= //= Paradise Group storage access. //===== Additional Comments: ================================= diff --git a/npc/re/quests/eden/eden_tutorial.txt b/npc/re/quests/eden/eden_tutorial.txt index c9ecd6f17..6221ac16f 100644 --- a/npc/re/quests/eden/eden_tutorial.txt +++ b/npc/re/quests/eden/eden_tutorial.txt @@ -1,11 +1,9 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= Eden Tutorial //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 1.0 -//===== Compatible With: ===================================== -//= rAthena SVN //===== Description: ========================================= //= A series of quests introducing the major features of //= Ragnarok Online. diff --git a/npc/re/quests/first_class/tu_archer.txt b/npc/re/quests/first_class/tu_archer.txt new file mode 100644 index 000000000..2905cb9a6 --- /dev/null +++ b/npc/re/quests/first_class/tu_archer.txt @@ -0,0 +1,14 @@ +//===== Hercules Script ====================================== +//= Archer Class Tutorial and Job Specific Quest +//===== By: ================================================== +//= Euphy +//===== Current Version: ===================================== +//= 1.0 +//===== Description: ========================================= +//= [Official Conversion] +//= Archer training quest. +//===== Additional Comments: ================================= +//= 1.0 First version. [Euphy] +//============================================================ + +pay_fild08,40,83,5 duplicate(Acolyte_Tu) Acolyte#tu 95 diff --git a/npc/re/quests/homun_s.txt b/npc/re/quests/homun_s.txt index 66b7537c9..3eab35867 100644 --- a/npc/re/quests/homun_s.txt +++ b/npc/re/quests/homun_s.txt @@ -1,20 +1,18 @@ //===== Hercules Script ====================================== -//= Homunculus S Quest -//===== By: ================================================== -//= Masao -//===== Current Version: ===================================== +//= Homunculus S Mutation Quest +//===== By: ================================================== +//= Euphy +//===== Current Version: ===================================== //= 1.2 -//===== Compatible With: ===================================== -//= Hercules -//===== Description: ========================================= -//= Evolves an Homunculus which is at least Level 99 to the -//= new Homunculus S Class. -//===== Additional Comments: ================================= -//= 1.0 First Version. The actual changing dialog is currently -//= customized. [Masao] +//===== Description: ========================================= +//= [Official Conversion] +//= Genetic quest to mutate a level 99 evolved Homunculus +//= into a Homunculus S. +//===== Additional Comments: ================================= +//= 1.0 First Version, entirely custom. [Masao] //= 1.1 Cleaning. [Euphy] //= 1.2 Replaced with official script. [Euphy] -//============================================================ +//============================================================ // Main NPCs //============================================================ @@ -1359,4 +1357,4 @@ que_house_s,23,46,3 script #05homun_s 111,{ mes ":: new Homunculus."; close; } -}
\ No newline at end of file +} diff --git a/npc/re/quests/magic_books.txt b/npc/re/quests/magic_books.txt index 9f9ccec1f..7962a0544 100644 --- a/npc/re/quests/magic_books.txt +++ b/npc/re/quests/magic_books.txt @@ -1,21 +1,20 @@ //===== Hercules Script ====================================== //= Magic Book Seller -//===== By: ================================================== +//===== By: ================================================== //= Masao //= Credits to Muad_Dib for the translation. -//===== Current Version: ===================================== -//= 1.1 -//===== Compatible With: ===================================== -//= Hercules -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.1a +//===== Description: ========================================= +//= [Official Conversion] //= An NPC which sells you different kinds of Magic Books. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First Version. [Masao] -//= 1.1 Optimized, 60% size reduction. [Euphy] -//============================================================ - -geffen_in,176,105,4 script Magic Book Master Velof 64,{ +//= 1.1 Optimized. [Euphy] +//= 1.1a Updated NPC name to "Master Velofos". [Euphy] +//============================================================ +geffen_in,176,105,4 script Master Velofos 64,{ if (checkweight(1201,1) == 0) { mes "You're carrying too many items. Please make some room in your bag first."; close; @@ -25,255 +24,251 @@ geffen_in,176,105,4 script Magic Book Master Velof 64,{ close; } if ((Upper == 2) && (Class != Job_Baby_Warlock)) { - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "What are you, a baby?"; mes "I'm not here to babysit. Get lost!"; close; } if ((Class != Job_Warlock) && (Class != Job_Warlock_T) && (Class != Job_Baby_Warlock)) { - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Ha ha, are you also seeking new knowledge?"; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "I'm sorry, but my knowledge doesn't concern you."; close; } if (getskilllv(2230) < 1) { - mes "[Magic Book Master Velof]"; - mes "Well you've met all the qualifications except one: you need the Release spell."; + mes "[Master Velofos]"; + mes "Well, you've met all the qualifications except one: you need the Release spell."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Learn the spell first. I've got so many things to tell you."; close; } if ((getskilllv(2230) > 0) && (Class == Job_Warlock) || (Class == Job_Warlock_T) || (Class == Job_Baby_Warlock)) { - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Welcome, my friend."; mes "Congratulations on entering a brand new world of magic."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "We magic practitioners are always thirsty for new knowledge and power."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "We endure great hardship and pain to achieve what we want. When we finally do, the sense of accomplishment defies description. That's why both you and I have chosen the way of magic."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "By the way, what brings you to me today?"; next; switch (select("Nothing.:Do you know the Reading Spell Book?:What's the Freezing Spell?:Can I have a Magic Book?:Can I use the Reading Spell Book without the Freezing Spell?:About the Ultimate Magic Book")) { case 1: - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Hah! You're silly."; close; case 2: - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Reading Spell Book literally means 'read a spell book.' Do you know how to use Magic Books?"; next; switch (select("Yes, I do.:No, I don't.")) { case 1: - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Well then, you don't need an additional lecture."; close; case 2: - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Magic Books are an advanced type of magic scroll. While spells on scrolls disappear after one use, the ones in Magic Books can be cast multiple times."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Let's compare a spell on a scroll to a wire. When the wire is used to open a door or do something else, it's bent and crushed, losing its original shape. A spell from a Magic Book is more like a shape memory alloy."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Huh, don't you now what shape memory alloy is? Eh, just remember this: a wire made from shape memory alloy restores its shape over time."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Like the alloy, a spell on a Magic Book remains after a use, although reusing the spell has a downtime for its restoration."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "...Oh, I didn't mean to talk for too long. Anyways, you can use Magic Books to cast spells that you've learned. Its concept is different from normal spells."; next; select("What's the difference?"); - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Why do you have to write your existing spells in Magic Books, you asked?"; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "That's a good question. It's related to Magic Binding."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "You already learned Release, which allows you to hold the energy of the four different elements before the actual casting. Magic Binding is similar to Release."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Since you've learned Release, you're capable of using Magic Binding as well. Well, let's talk about that later."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "You know how to hold an existing spell, and then cast it at a desired timing via Release."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Carrying the globes of the four elements is also related to Magic Binding."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "As you know, the four elements are Fire, Water, Wind, and Earth. Being able to employ them freely is the essential principle of magic."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "We Humans use torches to keep fire, fans to blow wind, and bowls to hold water. We also use clay to make earthenware."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Those activities may differ from magic, but both are the same in the sense of employing the four elements."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "When you use complex magic spells to summon a storm, drop lightning, or burn an area, that consumes a lot of your energy, both physically and mentally."; next; - mes "[Magic Book Master Velof]"; - mes "When you fail to bind such powerful magic spells or fail to control them,"; - next; - mes "[Magic Book Master Velof]"; - mes "you can receive irreparable damage to your mind and body."; + mes "[Master Velofos]"; + mes "When you fail to bind such powerful magic spells or fail to control them, you can receive irreparable damage to your mind and body."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "That's why we use Magic Books to reduce that burden. It helps summon pre-cast spells while you're focusing on binding their magic power."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "There's one downside though: Magic Books cannot be used for spells that you haven't learned."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "As I said earlier, spells in Magic Books tend to go back to what they are."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "That said, as a Circler, you cannot change or create spells in Magic Books."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Even if you create one, its power will be beyond your capacity."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "In order to use the Reading Spell Book, you must learn the Freezing Spell to bind magic."; close; } case 3: - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "The Freezing Spell is used for Magic Binding. It helps you to insert a magic spell to a circle."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Circles of magic work organically with each other. When you use the Freezing Spell to bind a spell, the spell won't activate until you cast the release spell."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Of course, binding a spell continuously consumes your mana, but it consumes less mana than conventional magic spells."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Magic Binding becomes more difficult when you use more powerful magic spells."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "For weak spells, you can bind two to three of them with your circle. For more powerful spells, maybe one or two is possible."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "That all depends on your ability to control your spells. You'll have to try and experience Magic Binding after you first learn it to really understand."; close; case 4: - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "I'm sorry, but I only have Magic Books for beginners, but they're obviously not suitable for you. Do you still want one?"; next; switch (select("Sure thing.:Where can I find advanced books?")) { case 1: - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Please go talk to [Lea] in the Archive. Tell her that you need one of the Magic Books that I've stored in there."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "For your information, she won't give it to you without anything in return. Expect her to ask you for something!"; if (wm_book < 1) set wm_book, 1; close; case 2: - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "I'm sorry, but our management has recently decided to limit the availability of Magic Books for Multi Circlers. It's because their numbers are increasing more quickly than we expected."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "You could find one if you try hard, but I don't have any with me."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "If our management releases the restriction, you'll be the first one to know. Don't worry."; close; } case 5: - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Nothing will happen when you try to bind magic without using Magic Binding because you have nothing to hold magic."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "It's like water that needs a bowl to stay in place."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "The problem is when you try to forcefully cast a spell that you haven't learned. It'll definately backfire on you."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Of course, the damage won't be severe: you'll fall asleep or be thrown into confusion. This is all because there's a conflict between your Magic Book and the force of Magic Binding when you're trying to summon and hold a unlearned spell."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Don't try it out just to see what happens for yourself! Falling asleep while casting a spell? There's nothing more humiliating than that to magic practitioners like us."; close; case 6: if ((BaseLevel > 139) && (getskilllv(2217) > 0) || (getskilllv(2213) > 0)) { - if(mac_book < 1){ - mes "[Magic Book Master Velof]"; + if (mac_book < 1) { + mes "[Master Velofos]"; mes "I'm sorry, but could you ask someone else? I'm kind of busy right now."; close; } if (mac_book == 1) { - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Huh, are you looking for the Ultimate Magic Book? Who sent you?"; next; select("Ms. Lea."); - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "I'm sorry, but there's not much information left about the Ultimate Magic Book."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "A few scholars in the Midgard Continent once tried to collect ancient Magic Books and reproduce that book, but..."; next; select("But what?"); - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Oh yes, perhaps he might know something."; next; select("Yes, I knew this was coming!"); - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "My brother is just like you. He's very interested in recreating the Ultimate Magic Book."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "His name is Galfos."; mes "He's been taking a great interest in the ancient Magic Books."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "I didn't support him or give him any advice for his research since I thought he'd give on it pretty quickly, but..."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "If he's discovered anything useful, maybe it can helpful to you."; next; select("Where's Galfos now?"); - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "I've heard that he's near the Expedition Camp beyond the Dimensional Rift to seek information about the ancient Magic Books."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "If you want to see him, you should prepare for a long journey."; set mac_book,2; close; } if (mac_book > 1) { - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Galfos is near the Expedition Camp beyond the Dimensional Rift."; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "If you want to see him, you should prepare for a long journey."; close; } } - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Ha ha, I'm sorry, but you should focus on strengthening your body rather than creating Magic Books."; close; } } - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "Ha ha, are you also seeking new knowledge?"; next; - mes "[Magic Book Master Velof]"; + mes "[Master Velofos]"; mes "I'm sorry, but my knowledge doesn't concern you."; close; } geffen_in,175,112,4 script Lea 123,{ - if (checkweight(1201,1) == 0) { mes "You're carrying too many items. Please make some room in your bag first."; close; @@ -282,14 +277,14 @@ geffen_in,175,112,4 script Lea 123,{ mes "You're overweight with items. Please lose some item weight first."; close; } - if ((wm_book > 0) && (Class == Job_Warlock) || (Class == Job_Warlock_T) || (Class == Job_Baby_Warlock)) { + if (wm_book > 0 && (Class == Job_Warlock || Class == Job_Warlock_T || Class == Job_Baby_Warlock)) { mes "[Lea]"; mes "You can only read books here. If you'd like to borrow any books, please receive an approval from 1 manager and 1 High Mage."; next; mes "[Lea]"; mes "How may I help you?"; next; - select("Master Velof asked me to bring his Magic Book."); + select("Master Velofos asked me to bring his Magic Book."); mes "[Lea]"; mes "Are you borrowing a book?"; next; @@ -481,7 +476,7 @@ geffen_in,175,112,4 script Lea 123,{ mes "Frankly, I've never even seen the Ultimate Magic Book."; next; mes "[Lea]"; - mes "You should ask Master Velof if you want to know more about that book."; + mes "You should ask Master Velofos if you want to know more about that book."; next; mes "[Lea]"; mes "I'm sorry that I can't help you more than that."; @@ -490,7 +485,7 @@ geffen_in,175,112,4 script Lea 123,{ } if ((BaseLevel > 139) && (mac_book > 0) && ((getskilllv(2217) > 0) || (getskilllv(2213) > 0))) { mes "[Lea]"; - mes "You should ask Master Velof for some information about that book."; + mes "You should ask Master Velofos for some information about that book."; close; } mes "[Lea]"; @@ -510,7 +505,6 @@ geffen_in,175,112,4 script Lea 123,{ } mid_camp,255,244,4 script Galfos 735,{ - if (checkweight(1201,1) == 0) { mes "You're carrying too many items. Please make some room in your bag first."; close; @@ -519,7 +513,7 @@ mid_camp,255,244,4 script Galfos 735,{ mes "You're overweight with items. Please lose some item weight first."; close; } - if (Upper == 2) { + if ((Upper == 2) && (Class != Job_Baby_Warlock)) { mes "[Galfos]"; mes "What are you, a baby?"; mes "I'm not here to babysit. Get lost!"; @@ -535,7 +529,7 @@ mid_camp,255,244,4 script Galfos 735,{ mes "Ah, I'll get myself in trouble if I stay here any longer. Maybe I'm already in..."; close; } - if ((BaseLevel < 140) || (getskilllv(2217) < 1) && (getskilllv(2213) < 1)) { + if (BaseLevel < 140 || (getskilllv(2217) < 1 && getskilllv(2213) < 1)) { mes "[Galfos]"; mes "I'm sorry, but I don't talk to people that aren't even ready for this."; close; @@ -556,7 +550,7 @@ mid_camp,255,244,4 script Galfos 735,{ next; select("You're Velof's brother, right?"); mes "[Galfos]"; - mes "Yes, I'm Galfos, and Velof is my brother."; + mes "Yes, I'm Galfos, and Velofos is my brother."; next; mes "[Galfos]"; mes "Wait a minute,"; @@ -674,7 +668,6 @@ mid_camp,255,244,4 script Galfos 735,{ } dic_in01,25,190,0 script Mysterious Documents 844,{ - if (isequipped(2782) < 1) { mes "I better not forget to equip my ring."; close; @@ -837,7 +830,6 @@ function script Magic_Book_Essence { mes "Someone already used this area."; close; } - thor_v02,163,104,0 script Powerful Lava Energy#33 844,{ callfunc "Magic_Book_Essence",12218,7097,40,"Lava"; end; } thor_v01,185,91,0 script Powerful Flame Energy#33 844,{ callfunc "Magic_Book_Essence",12219,7098,10,"Flame"; end; } ice_dun03,137,148,0 script Powerful Glacier Energy 844,{ callfunc "Magic_Book_Essence",12220,7561,10,"Glacier"; end; } diff --git a/npc/re/quests/monstertamers.txt b/npc/re/quests/monstertamers.txt index c2a1388e1..a817cee43 100644 --- a/npc/re/quests/monstertamers.txt +++ b/npc/re/quests/monstertamers.txt @@ -1,15 +1,13 @@ //===== Hercules Script ======================================= //= Monster Tamers //===== By: ================================================== -//= Streusel +//= Euphy //===== Current Version: ===================================== //= 1.0 -//===== Compatible With: ===================================== -//= Hercules //===== Description: ========================================= //= Cute pet quest items //===== Additional Comments: ================================= -//= 1.0 Duplicates for Monster Tamer +//= 1.0 Moved Izlude NPC to pre-re/re paths. //============================================================ -izlude_in,55,105,4 duplicate(Monster_Tamer#izu) Monster Tamer#izlude 125 +izlude_in,55,105,4 duplicate(MonsterTamer_izlude) Monster Tamer#izu 125 diff --git a/npc/re/quests/mrsmile.txt b/npc/re/quests/mrsmile.txt index 029633437..215390ee1 100644 --- a/npc/re/quests/mrsmile.txt +++ b/npc/re/quests/mrsmile.txt @@ -1,16 +1,19 @@ //===== Hercules Script ====================================== //= Mr. Smile Quest -//===== By: ================================================== +//===== By: ================================================== //= Daegaladh, Masao -//===== Current Version: ===================================== -//= 1.0 -//===== Compatible With: ===================================== -//= Hercules -//===== Description: ========================================= -//= [Aegis Conversion] +//===== Current Version: ===================================== +//= 1.1 +//===== Description: ========================================= +//= [Official Conversion] //= Trade Clover, Fluff and Jellopy for a Mr. Smile mask. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 Updated to match the new Izlude Map. [Masao] -//============================================================ +//= 1.1 Added Izlude duplicates. [Euphy] +//============================================================ izlude,125,175,4 duplicate(SmileHelper) Smile Assistance#iz 92 +izlude_a,125,175,4 duplicate(SmileHelper) Smile Assistance#iz_a 92 +izlude_b,125,175,4 duplicate(SmileHelper) Smile Assistance#iz_b 92 +izlude_c,125,175,4 duplicate(SmileHelper) Smile Assistance#iz_c 92 +izlude_d,125,175,4 duplicate(SmileHelper) Smile Assistance#iz_d 92 diff --git a/npc/re/quests/pile_bunker.txt b/npc/re/quests/pile_bunker.txt index 0a6304c8d..a8a390cb0 100644 --- a/npc/re/quests/pile_bunker.txt +++ b/npc/re/quests/pile_bunker.txt @@ -1,17 +1,15 @@ //===== Hercules Script ====================================== //= Pile Bunker Quest -//===== By: ================================================== +//===== By: ================================================== //= JayPee Mateo -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 2.2 -//===== Compatible With: ===================================== -//= Hercules -//===== Description: ========================================= +//===== Description: ========================================= //= 1.0 A Pile Bunker quest based on iRO WiKi. [JayPee Mateo] //= 2.0 Rewrited the Script a little so it looks a bit better. [Masao] //= 2.1 Switched to official script, coded by Gennosuke Kouga. [Euphy] //= 2.2 Updated to match the official script. [Euphy] -//============================================================ +//============================================================ yuno,179,174,4 script Gomer 851,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { @@ -95,7 +93,7 @@ yuno,179,174,4 script Gomer 851,{ } else { mes "[Gomer]"; mes "Oh, I've been waiting. You didn't come on time, so I was wondering if you forgot about it. Please wait there a little bit."; - specialeffect 101; + specialeffect EF_REPAIRWEAPON; next; mes "[Gomer]"; mes "It's done. What do you think? Not bad, eh? Although I made it myself, I have to say it's pretty decently done."; diff --git a/npc/re/quests/quests_13_1.txt b/npc/re/quests/quests_13_1.txt index f1908874e..3e4626fd5 100644 --- a/npc/re/quests/quests_13_1.txt +++ b/npc/re/quests/quests_13_1.txt @@ -1,17 +1,18 @@ //===== Hercules Script ====================================== //= Quest NPCs related to Ash-Vacuum //===== By: ================================================== -//= Streusel +//= Euphy //===== Current Version: ===================================== -//= 1.0 +//= 1.1 //===== Description: ========================================= -//= [Official Conversion] -//= Contains: -//= Promotional Staff Duplicate for Renewal +//= Contains duplicate NPCs from main script. //===== Additional Comments: ================================= -//= 1.0 First Version. +//= 1.0 Moved Izlude NPC to pre-re/re paths. [Euphy] +//= 1.1 Added Izlude duplicates. [Euphy] //============================================================ -// Onward to the New World -//============================================================ -izlude,102,171,6 duplicate(Promotional Staff#iz) Promotional Staff#izlude 100 +izlude,102,171,6 duplicate(PromotionalStaff_izlude) Promotional Staff#iz 100 +izlude_a,102,171,6 duplicate(PromotionalStaff_izlude) Promotional Staff#iz_a 100 +izlude_b,102,171,6 duplicate(PromotionalStaff_izlude) Promotional Staff#iz_b 100 +izlude_c,102,171,6 duplicate(PromotionalStaff_izlude) Promotional Staff#iz_c 100 +izlude_d,102,171,6 duplicate(PromotionalStaff_izlude) Promotional Staff#iz_d 100 diff --git a/npc/re/quests/quests_brasilis.txt b/npc/re/quests/quests_brasilis.txt index e9256047f..00b1f21b9 100644 --- a/npc/re/quests/quests_brasilis.txt +++ b/npc/re/quests/quests_brasilis.txt @@ -1,13 +1,11 @@ //===== Hercules Script ====================================== -//= Brasilis Qiests +//= Brasilis Quests //===== By =================================================== //= L0ne_W0lf //===== Version ============================================== -//= 1.2 -//===== Compatible With ====================================== -//= Hercules +//= 1.2a //===== Description ========================================== -//= [Translated from the Official] +//= [Official Conversion] //= Lost Puppies (Repeatable, 24 hours.) //= Suspicious Beach (Repeatable, 24 hours. iRO/cRO version.) //= Guarana Candy Quest @@ -18,9 +16,11 @@ //= 1.0 First version. //= 1.1 Hydra Ball (12408) //= 1.2 Optimization. [Euphy] +//= 1.2a Added 'consumeitem' command. [Euphy] +//= 1.2b Updated RE EXP. [Michieru] //============================================================ -// Lost Puppies, Original file: dogdog.sc +// Lost Puppies :: dogdog.sc //============================================================ brasilis,297,307,5 script Angelo#br 50,{ if (BaseLevel < 40) { @@ -49,11 +49,12 @@ brasilis,297,307,5 script Angelo#br 50,{ mes "Oh, thank you. You found all of 3 puppies."; mes "Thanks a lot."; mes "I hope this is useful to you. hoho."; - getexp 50000,0; + set .@randexp,rand(50000,112500); + getexp .@randexp,0; erasequest 9031; setquest 9032; specialeffect2 EF_ASSUMPTIO; - percentheal 100,100; + consumeitem 607; //Yggdrasilberry set .@rand,rand(1,10); if (.@rand > 4 && .@rand < 9) getitem 504,2; //White_Potion else if (.@rand > 8) getitem 608,1; //Seed_Of_Yggdrasil @@ -142,7 +143,7 @@ bra_fild01,234,101,3 duplicate(Puppy#bra) Puppy#d1 81 bra_fild01,200,84,3 duplicate(Puppy#bra) Puppy#d2 81 bra_fild01,176,63,5 duplicate(Puppy#bra) Puppy#d3 81 -// Suspicious Beach, original file: Suspicious_Beach.sc +// Suspicious Beach :: Suspicious_Beach.sc //============================================================ brasilis,192,133,6 script Lucia#brasilis 478,{ /* -------------- Hydra Ball ------------------------- @@ -168,7 +169,7 @@ brasilis,192,133,6 script Lucia#brasilis 478,{ else { set .@nQState1,checkquest(9028); set .@nQState2,checkquest(9029); - if (.@nQState1 == 0) { + if (.@nQState1 == -1) { mes "[Lucia]"; mes "Hello."; mes "Have you come here to hunt ^FF0000Strange Hydra^000000s?"; @@ -226,10 +227,10 @@ brasilis,192,133,6 script Lucia#brasilis 478,{ //recall_completequest 9029; if (.@nQState2 > -1) erasequest 9029; setquest 9029; - percentheal 100,100; - sc_start SC_FOOD_LUK, 1200000, 5; percentheal 5,2; - sc_start SC_FOOD_VIT, 1200000, 5; percentheal 10,0; - sc_start SC_FOOD_DEX, 1200000, 5; percentheal 5,5; + consumeitem 607; //Yggdrasilberry + consumeitem 12070; //Luk_Dish05 + consumeitem 12055; //Vit_Dish05 + consumeitem 12065; //Dex_Dish05 getitem 11502,3; //Light_Blue_Pot close; } @@ -354,7 +355,7 @@ OnTimer7000: end; } -// Guarana Quest, Original file: brazil_tre.sc +// Guarana Quest :: brazil_tre.sc //============================================================ brasilis,187,162,5 script Candy Maker 476,{ if (!checkweight(1201,1)) { @@ -450,7 +451,7 @@ brasilis,187,162,5 script Candy Maker 476,{ set brazil_gua,11; completequest 2200; getitem 12414,1; //Guarana_Candy - getexp 700000,100000; + getexp 70000,10000; close; } else if (brazil_gua == 11) { @@ -470,7 +471,7 @@ brasilis,187,162,5 script Candy Maker 476,{ if (Zeny > 3999) { mes "[Candy Maker]"; mes "Here is a delicious guarana candy."; - set zeny,zeny-4000; + set Zeny, Zeny-4000; getitem 12414,1; //Guarana_Candy close; } @@ -971,7 +972,7 @@ OnTouch_: set brazil_gua,8; changequest 2197,2198; close2; - sc_start SC_MOVHASTE_INFINITY,5000,0; + consumeitem 12016; //Speed_Up_Potion end; } else { @@ -1032,7 +1033,7 @@ bra_fild01,245,52,3 script Monkey#bra 111,{ } } -// Water Lily Quest, Original file: brazil_tre.sc +// Water Lily Quest :: brazil_tre.sc //============================================================ brasilis,203,286,3 script Botanist Karmen#bra 893,{ if (brazil_regia == 0) { @@ -1088,7 +1089,7 @@ brasilis,203,286,3 script Botanist Karmen#bra 893,{ mes "The water lily must truly be a lucky flower. hahaha"; set brazil_regia,10; completequest 2207; - getexp 500000,100000; + getexp 50000,10000; close; } else { @@ -1929,7 +1930,7 @@ bra_dun02,71,200,3 script Water lily#bra 111,{ } } -// Dungeon Access Quest, Original file: brazil_tre.sc +// Dungeon Access Quest :: brazil_tre.sc //============================================================ brasilis,185,246,5 script Pedro#bra 62,{ if (brazil_ghost == 0) { @@ -2796,7 +2797,7 @@ bra_in01,206,188,1 script Open Manhole#todunbra 844,{ set brazil_ghost,8; //completequest 2208; completequest 60355; - getexp 900000,0; + getexp 90000,0; disablenpc "Ghost#bra_end"; close; } @@ -2839,7 +2840,7 @@ OnInit: end; } -// Iara, Original file: iara.sc +// Iara :: iara.sc //============================================================ brasilis,315,334,5 script Shaman#nk 474,{ set .@iara_re,checkquest(4135,PLAYTIME); @@ -2962,22 +2963,19 @@ brasilis,315,334,5 script Shaman#nk 474,{ mes "Could you listen to my stories for a moment."; mes "There's an emergency in our tribe."; next; - switch(select("No.:Okay.")) { - case 1: + if(select("No.:Okay.") == 1) { mes "[Anori]"; mes "You are a heartless person..."; mes "You don't seem the helpful type."; mes "Just keep on going your way."; close; - case 2: - mes "[Anori]"; - mes "Thank you, I met a kind person."; - mes "It's a secret of our tribe that"; - mes "you cannot tell anyone."; - next; - break; } mes "[Anori]"; + mes "Thank you, I met a kind person."; + mes "It's a secret of our tribe that"; + mes "you cannot tell anyone."; + next; + mes "[Anori]"; mes "Lately young men from"; mes "the tribe are disappearing."; mes "Our entire tribe is being threatened."; @@ -3072,12 +3070,12 @@ bra_dun02,157,74,5 script Iara#nk 478,2,2,{ percentheal 100,100; sc_start SC_INCFLEE,3600000,20; sc_start SC_CRITICALPERCENT,3600000,10; - sc_start SC_FOOD_STR,1200000,3; - sc_start SC_FOOD_DEX,1200000,3; - sc_start SC_FOOD_AGI,1200000,3; - sc_start SC_FOOD_VIT,1200000,3; - sc_start SC_FOOD_INT,1200000,3; - sc_start SC_FOOD_LUK,1200000,3; + consumeitem 12043; //Str_Dish03 + consumeitem 12063; //Dex_Dish03 + consumeitem 12058; //Agi_Dish03 + consumeitem 12053; //Vit_Dish03 + consumeitem 12048; //Int_Dish03 + consumeitem 12068; //Luk_Dish03 next; mes "[Iara]"; mes "Ahhh~..."; @@ -3098,11 +3096,10 @@ bra_dun02,157,74,5 script Iara#nk 478,2,2,{ mes "Aaaaaaaaaaaaaaaaaaaaaah."; mes "Eeeeeeeeeeeeeeeeeeeh."; mes "Oooooooooooooooooh."; - set .@get_de,rand(1,2); - if (.@get_de == 1) - sc_start Sc_Curse,60000,0; + if (rand(1,2) == 1) + sc_start SC_CURSE,60000,0; else - sc_start Sc_Confusion,60000,0; + sc_start SC_CONFUSION,60000,0; next; mes "[" + strcharinfo(0) + "]"; mes "Ugh! What's this strange voice?"; @@ -3116,11 +3113,10 @@ OnTouch: mes "Aaaaaaaaaaaaaaaaaaaaaah."; mes "Eeeeeeeeeeeeeeeeeeeh."; mes "Oooooooooooooooooh."; - set .@get_de,rand(1,2); - if (.@get_de == 1) - sc_start Sc_Curse,60000,0; + if (rand(1,2) == 1) + sc_start SC_CURSE,60000,0; else - sc_start Sc_Confusion,60000,0; + sc_start SC_CONFUSION,60000,0; next; mes "[" + strcharinfo(0) + "]"; mes "Ugh! What's this strange voice?"; @@ -3131,7 +3127,7 @@ OnTouch: bra_fild01,188,301,5 script Native Warrior#nk 472,{ mes "[Native Warrior]"; - mes "Ah...the face I would never forget even in my dreams."; + mes "Ah... the face I would never forget even in my dreams."; next; mes "[Native Warrior]"; mes "When will she come out of the waterfall again...?"; @@ -3143,7 +3139,7 @@ bra_fild01,188,301,5 script Native Warrior#nk 472,{ else { mes "[" + strcharinfo(0) + "]"; mes "(This guy will never"; - mes "get ocer Iara's curse...)"; + mes "get over Iara's curse...)"; } close; } diff --git a/npc/re/quests/quests_dewata.txt b/npc/re/quests/quests_dewata.txt index f0f6fef1e..e50e2e5c5 100644 --- a/npc/re/quests/quests_dewata.txt +++ b/npc/re/quests/quests_dewata.txt @@ -4,9 +4,8 @@ //= Gennosuke Kouga, Muad_Dib //===== Current Version: ===================================== //= 1.2 -//===== Compatible With: ===================================== -//= Hercules //===== Description: ========================================= +//= [Official Conversion] //= Quest NPCs related to Dewata: //== "Dewata Legend" //== "Help Out the Old Man" @@ -17,60 +16,7 @@ //= 1.2 Updated to match the official script. [Lemongrass/Euphy] //============================================================ -// Entrance -//============================================================ -alberta,212,202,4 script Dewata Sailor#alberta 536,{ - mes "[Dewata Sailor]"; - mes "Do you want to visit ^8B4513Dewata Island^000000?"; - mes "With it's dazzling waves and charming views it's a great place to relax."; - mes "The transit fee is 10,000 Zeny."; - next; - switch(select("Yes!:No.")) { - case 1: - if (Zeny >= 10000) { - mes "[Dewata Sailor]"; - mes "^8B4513Dewata^000000 is a beautiful and peaceful island country."; - mes "Have a nice trip~"; - close2; - set Zeny, Zeny - 10000; - warp "dewata",232,53; - end; - } else { - mes "[Dewata Sailor]"; - mes "You don't have the dough, kid."; - mes "Come back when you have a bigger wallet."; - close; - } - case 2: - mes "[Dewata Sailor]"; - mes "Let me know"; - mes "when you're ready to travel~"; - close; - } -} - -dewata,229,49,6 script Alberta Sailor#dewata 536,{ - mes "[Alberta Sailor]"; - mes "Do you want to go back to Alberta?"; - next; - switch(select("Yes.:No.")) { - case 1: - mes "[Alberta Sailor]"; - mes "I hope you had a lot of fun on"; - mes "your trip to ^8B4513Dewata^000000 Island."; - mes "Please come again!"; - close2; - warp "alberta",210,198; - end; - case 2: - mes "[Alberta Sailor]"; - mes "Have some more fun before you go."; - mes "^8B4513Dewata^000000 Island still has more to offer."; - close; - } -} - -// Dewata Legend Quest +// Dewata Legend Quest :: dewata_legend //============================================================ dew_fild01,57,274,0 script #hideout_legend 111,6,6,{ OnTouch: @@ -794,7 +740,7 @@ dewata,78,192,6 script Borobudur Temple Manager 536,{ close; } -// Help Out the Old Man +// Help Out the Old Man :: dewata_drink //============================================================ dewata,109,262,4 script Memo#dew_drink 534,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) { @@ -1716,7 +1662,7 @@ dew_fild01,209,137,0 duplicate(DewataPalm) Palm Tree#drink38 844 dew_fild01,206,156,0 duplicate(DewataPalm) Palm Tree#drink39 844 dew_fild01,209,201,0 duplicate(DewataPalm) Palm Tree#drink40 844 -// Traditional Weapon Quest +// Traditional Weapon Quest :: dewata_weapon //============================================================ dew_fild01,127,240,4 script Gatti#weapon 813,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 10000) { diff --git a/npc/re/quests/quests_dicastes.txt b/npc/re/quests/quests_dicastes.txt index fc841fb88..605f59d59 100644 --- a/npc/re/quests/quests_dicastes.txt +++ b/npc/re/quests/quests_dicastes.txt @@ -4,9 +4,8 @@ //= Gennosuke Kouga, Muad_Dib //===== Current Version: ===================================== //= 2.3 -//===== Compatible With: ===================================== -//= Hercules //===== Description: ========================================= +//= [Official Conversion] //= Quest NPCs related to Dewata: //== Sapha's Visit, Doha's Secrect Order, Frede's Request, //== Department Quests, Document Quests, @@ -175,6 +174,20 @@ dic_dun01,266,113,5 script Curious Sapha#ep13_3_ 449,{ } } +sec_in02,16,43,5 script Scaraba Dungeon Entrance 449,{ + callfunc "F_GM_NPC"; + mes "Setting you for dungeon entry."; + mes "You will be able to go through if the password is correct."; + if (callfunc("F_GM_NPC",1854,0) == 1) { + set ep13_3_secret,6; + getitem 2782,1; //Ring_Of_Wise_King + getitem 6437,2; //Scaraba_Perfume + mes "Setting Complete"; + } else + mes "Wrong Password"; + close; +} + // Vigilantes //============================================================ - script Vigilante#main -1,{ @@ -423,6 +436,19 @@ dic_in01,254,119,0 script Item Storage#01 844,{ end; } +sec_in02,10,42,1 script 13.3 Related Reset 449,{ + callfunc "F_GM_NPC"; + mes "[Reset]"; + mes "Resets all quest windows including daily and map quests for 13.3."; + freeloop(1); + for(set .@i,12099; .@i<=12216; set .@i,.@i+1) { + if (checkquest(.@i) > -1) + erasequest .@i; + } + freeloop(0); + close; +} + // Civil Services //============================================================ function script que_dic { @@ -1111,6 +1137,7 @@ function script unknown_d { } close; } +prt_fild03,144,95,0 script Tree Roots 844,{ unknown_d(12166,902); } prt_fild09,371,255,0 script Reptile Tongues 844,{ unknown_d(12167,903); } prt_fild09,352,241,0 script Scorpion Tails 844,{ unknown_d(12168,904); } pay_fild02,177,108,0 script Stems 844,{ unknown_d(12169,905); } @@ -1289,7 +1316,7 @@ OnTouch: mes "As soon as you enter the room, someone"; mes "pushes down your head to force you to bow."; soundeffect "wander_man_move.wav",0; - sc_start SC_Blind,60000,0; + sc_start SC_BLIND,60000,0; next; mes "[Ringing Voice]"; mes "That is fine, Cheshire."; @@ -1302,7 +1329,7 @@ OnTouch: cutin (Sex?"ep13_ahat_f":"ep13_ahat_m"),1; mes "You hold up your head at the sound of Ahat's voice"; mes "But you see a human in high-ranking Sapha clothing in front of you."; - sc_end SC_Blind; + sc_end SC_BLIND; emotion e_omg,1; set ep13_3_secret, 14; erasequest 7198; @@ -1494,7 +1521,7 @@ dic_in01,300,280,5 script Minister Ahat#ep133_21 493,{ mes "As soon as you try to approach Ahat, someone"; mes "pushes down your head to force you to bow."; soundeffect "wander_man_move.wav",0; - SC_Start SC_Blind,60000,0; + SC_Start SC_BLIND,60000,0; next; mes "[Ringing Voice]"; mes "That is fine, Cheshire."; @@ -1507,7 +1534,7 @@ dic_in01,300,280,5 script Minister Ahat#ep133_21 493,{ cutin (Sex?"ep13_ahat_f":"ep13_ahat_m"),2; mes "You hold up your head at the sound of Ahat's voice"; mes "But you see a human in high-ranking Sapha clothing in front of you."; - SC_End SC_Blind; + SC_End SC_BLIND; emotion e_omg,1; set ep13_3_secret, 14; erasequest 7198; @@ -6001,7 +6028,7 @@ dic_in01,349,129,5 script Bouy#13_3 449,{ mes "I've been waiting for the Galtens to return because I'm not accustomed to battle since I'm Venknick. Thank you very much."; next; mes "[Bouy]"; - mes "Handwork is much faster to refine pieces of Bradium instead of using a machine. I will only need an hour to finish."; + mes "Handwork is much faster to refine pieces of Bradium instead of using a machine. I will only need two hours to finish."; //Official: "an hour", but gives 2-hour quest. next; mes "[Bouy]"; mes "Please go rest while I get to work."; @@ -7607,4 +7634,4 @@ moc_fild22b,182,179,3 script Cat Hand Agent#Tat 495,{ mes "[Tat]"; mes "Aren't you suppose to be done getting ready before you come here?"; close; -}
\ No newline at end of file +} diff --git a/npc/re/quests/quests_eclage.txt b/npc/re/quests/quests_eclage.txt index e4f5cef60..291bcc1f9 100644 --- a/npc/re/quests/quests_eclage.txt +++ b/npc/re/quests/quests_eclage.txt @@ -1,11 +1,9 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= Eclage Quest NPCs //===== By: ================================================== //= Euphy //===== Current Version: ===================================== //= 0.1 -//===== Compatible With: ===================================== -//= rAthena SVN //===== Description: ========================================= //= Quest NPCs related to Eclage. //===== Additional Comments: ================================= diff --git a/npc/re/quests/quests_izlude.txt b/npc/re/quests/quests_izlude.txt index 0286baca0..2bc548b70 100644 --- a/npc/re/quests/quests_izlude.txt +++ b/npc/re/quests/quests_izlude.txt @@ -1,15 +1,19 @@ //===== Hercules Script ====================================== //= Quest NPCs related to Izlude -//===== By: ================================================== +//===== By: ================================================== //= Daegaladh, Masao -//===== Current Version: ===================================== -//= 1.0 -//===== Compatible With: ===================================== -//= Hercules -//===== Description: ========================================= -//= Edgar's Offer -//===== Additional Comments: ================================= +//===== Current Version: ===================================== +//= 1.1 +//===== Description: ========================================= +//= Contains: +//= - Edgar's Offer +//===== Additional Comments: ================================= //= 1.0 Updated to match the new Izlude Map. [Masao] +//= 1.1 Added Izlude duplicates. [Euphy] //============================================================ -izlude,179,219,4 duplicate(Edgar_izlude) Edgar#izlude 49 +izlude,179,219,2 duplicate(Edgar_izlude) Edgar#izlude 49 +izlude_a,179,219,2 duplicate(Edgar_izlude) Edgar#izlude_a 49 +izlude_b,179,219,2 duplicate(Edgar_izlude) Edgar#izlude_b 49 +izlude_c,179,219,2 duplicate(Edgar_izlude) Edgar#izlude_c 49 +izlude_d,179,219,2 duplicate(Edgar_izlude) Edgar#izlude_d 49 diff --git a/npc/re/quests/quests_lighthalzen.txt b/npc/re/quests/quests_lighthalzen.txt index 3f029f7f4..18f5e42d4 100644 --- a/npc/re/quests/quests_lighthalzen.txt +++ b/npc/re/quests/quests_lighthalzen.txt @@ -1,22 +1,24 @@ -//===== Hercules Script ======================================= +//===== Hercules Script ======================================= //= Quest NPCs located in Lighthalzen -//===== By: ================================================== +//===== By: ================================================== //= Ziu, Heris (translation) -//===== Current Version: ===================================== -//= 1.1a -//===== Compatible With: ===================================== -//= Hercules GIT -//===== Description: ========================================= +//===== Current Version: ===================================== +//= 1.2 +//===== Description: ========================================= //= Quests related to Lighthalzen City. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 Updated to match the new Izlude Map. [Masao] //= 1.1 Added Somatology Laboratory F4 quest. [Euphy] -//= 1.1a Coordinate update -//============================================================ +//= 1.2 Added Izlude duplicates. [Euphy] +//============================================================ // Renewal split [Daegaladh] //============================================================ -izlude,172,73,6 duplicate(Scamp) Scamp#2 853 +izlude,172,73,6 duplicate(Scamp) Scamp#iz 853 +izlude_a,172,73,6 duplicate(Scamp) Scamp#iz_a 853 +izlude_b,172,73,6 duplicate(Scamp) Scamp#iz_b 853 +izlude_c,172,73,6 duplicate(Scamp) Scamp#iz_c 853 +izlude_d,172,73,6 duplicate(Scamp) Scamp#iz_d 853 // Somatology Laboratory F4 //============================================================ @@ -71,8 +73,8 @@ lighthalzen,303,304,5 script Jerome Jameson#start 904,{ } // Is this the correct behavior? (limited and conflicting sources) -// -- iRO: lhz_dun03 warps directly to que_lhz. -// -- Ziu: NPC in lhz_dun04 warps into que_lhz. +// - NPC in lhz_dun04 warps into que_lhz. (?) +// - lhz_dun03 warps directly to que_lhz. (?) function script lhz4enter { if (getmapusers("que_lhz") == 0 && mobcount("que_lhz","#controllhz4::OnMyMobDead") < 1) { if (getarg(0) == 0) { diff --git a/npc/re/quests/quests_malangdo.txt b/npc/re/quests/quests_malangdo.txt index 12462762d..e120f0e39 100644 --- a/npc/re/quests/quests_malangdo.txt +++ b/npc/re/quests/quests_malangdo.txt @@ -1,24 +1,360 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= Malangdo Quest NPCs //===== By: ================================================== //= Muad_Dib //===== Current Version: ===================================== -//= 1.4 -//===== Compatible With: ===================================== -//= rAthena SVN +//= 1.6 //===== Description: ========================================= +//= [Official Conversion] //= Quest NPCs related to Malangdo: //== Malangdo Island, Help the Bad Cats in Danger, -//== Clean the Ship, Help Chef Nyas, -//== Play with Baby Cats, Archangel Wing Enchants +//== Clean the Ship, Help Chef Nyas, Play with Baby Cats, +//== Cat Gamers, Archangel Wing Enchants //===== Additional Comments: ================================= //= 1.0 First version. [Euphy] //= 1.1 Added Clean the Ship and Help Chef Nyas. //= 1.2 Added Archangel Wing Enchants. //= 1.3 Added Play with Baby Cats. //= 1.4 Added Malangdo Island. +//= 1.4a Dialogue edits, source iRO. +//= 1.5 Added Cat Gamers. +//= Added "Investment Cat Helper" and "Storekeeper" NPCs. +//= 1.6 Added GM management function. //============================================================ +// Utility NPCs :: cat_merchant +//============================================================ +mal_in02,134,31,5 script Investment Cat Helper 505,{ + if (MaxWeight - Weight < 100 || checkweight(1201,1) == 0) { + mes "[Investment Cat Helper]"; + mes "You have a heavy load. Maybe you're a peddler? No peddlers in this area."; + close; + } + if (ep13_yong1 < 10) { + mes "[Investment Cat Helper]"; + mes "Ohh!"; + mes "You've come here to ask about investing?"; + mes "You've come to the right place."; + next; + mes "[Investment Cat Helper]"; + mes "I am here to invest in the Cat Paw Merchant Association."; + mes "Err-- I mean I'm here to help honest people like you."; + mes "Hehehe~"; + next; + mes "[Investment Cat Helper]"; + mes "I can't remember everything because I've been here talking to you humans."; + mes "But I want to know first... Hold on."; + next; + mes "smell... smell..."; + next; + mes "[Investment Cat Helper]"; + mes "Ah?!"; + mes "You don't know much about the Cat Paw Merchant Association, do you?"; + mes "Hmm, you do not really smell like a cat."; + next; + mes "[Investment Cat Helper]"; + mes "Good!!"; + mes "You made the right decision to be here to invest in the Cat Paw Merchant Association~"; + next; + mes "[Investment Cat Helper]"; + mes "First, you need to have ten pieces of Malangdo cans if you want to open an account."; + next; + while(1) { + switch(select("Open an account:Ask about benefits:Cancel")) { + case 1: + if (countitem(12636) < 10) { + mes "[Investment Cat Helper]"; + mes "Hmm!"; + mes "I'd love to give you account for"; + mes "free but as you know, this is for"; + mes "advertising investers of the trader group, sorry."; + close; + } + delitem 12636,10; //Malang_Sp_Can + set ep13_yong1,10; + mes "[Investment Cat Helper]"; + mes "Good!"; + mes "Write down here~ and"; + mes "print your palm there,"; + mes "ah!~ what's your name?"; + next; + mes "[Investment Cat Helper]"; + mes strcharinfo(0)+" you are~"; + next; + mes "[Investment Cat Helper]"; + mes "Name: "+strcharinfo(0); + mes "Number of accounts: 10"; + mes "OK! Registered!"; + next; + mes "[Investment Cat Helper]"; + mes "You have an account now."; + mes "Will get an investment of a certain nunber of cans next time."; + next; + mes "[Investment Cat Helper]"; + mes "I wish to get lots of investments"; + mes "so you can have many services as well."; + mes "And, I also hope that we, the Cat Paw Merchant Association, will make much money."; + next; + mes "[Investment Cat Helper]"; + mes "See you next investment~"; + close; + case 2: + mes "[Investment Cat Helper]"; + mes "You want to know the benefits of investing?"; + mes "Actually, we are a small group of cats and we don't think like humans."; + next; + mes "[Investment Cat Helper]"; + mes "There are lots of benefits based on how much you've invested in our services."; + mes "These include more warps, extra storage locations and price reductions of goods and services."; + next; + mes "[Investment Cat Helper]"; + mes "I promise that if our trade is growing you will benefit from it as well."; + next; + break; + case 3: + mes "[Investment Cat Helper]"; + mes "Ahh~ You're just going to leave?"; + mes "T_T~ Please open an account."; + close; + } + } + } else if (ep13_yong1 < 20000) { + mes "[Investment Cat Helper]"; + mes "I can't remember everyone since I meet so many people..."; + mes "But I want to check first... Hold on."; + mes "Excuse me!"; + next; + mes "smell... smell..."; + next; + if (ep13_yong1 < 10000) { + set .@cans,10; + mes "[Investment Cat Helper]"; + mes "This is a familiar smell!!"; + mes "If it's so...!!"; + next; + mes "[Investment Cat Helper]"; + mes "You are here to invest!!"; + mes "Good!~~ Good to see you~"; + next; + mes "[Investment Cat Helper]"; + mes "From your smell~ you are below 10,000 accounts."; + mes "Until then, you can get an account by investing ten cans."; + } else { + set .@cans,20; + mes "[Investment Cat Helper]"; + mes "Such a stong smell!!"; + mes "Then it must be!!"; + next; + mes "[Investment Cat Helper]"; + mes "A VIP invester!!!!!!"; + mes "You're here to invest? Welcome!"; + next; + mes "[Investment Cat Helper]"; + mes "A VIP invester with over 10,000 accounts"; + mes "can get another account with 20 cans."; + mes "A good investment!"; + } + next; + mes "[Investment Cat Helper]"; + mes "What will you do?"; + next; + switch(select("Invest:Check the number of accounts:Cancel")) { + case 1: + mes "[Investment Cat Helper]"; + mes "Ohh~ thank you for investing~"; + mes "You can get a maximum of 10 accounts at one time."; + mes "Isn't it lovely?"; + mes "How many will you invest in? Enter 0 to cancel."; + next; + input .@input; + if (.@input == 0) { + mes "[Investment Cat Helper]"; + mes "Please invest next time~"; + close; + } else if (.@input > 10) { + mes "[Investment Cat Helper]"; + mes "You can get a maximum of 10 accounts~"; + close; + } + set .@required, .@input*.@cans; + mes "[Investment Cat Helper]"; + mes "Total " + .@input + " accounts, right?"; + mes "The number of cans you need is "+.@required+" pieces."; + mes "Do you want to go through with this?"; + next; + if(select("Yes:No") == 2) { + mes "[Investment Cat Helper]"; + mes "Oh? Is that wrong? Weird."; + mes "Please check again~"; + close; + } + if (countitem(12636) < .@required) { + mes "[Investment Cat Helper]"; + mes "Ahhh!"; + mes "You don't have enough cans."; + mes "I'm a busy cat, you know."; + close; + } + if (ep13_yong1 < 10000) { + delitem 12636,.@required; //Malang_Sp_Can + set ep13_yong1, ep13_yong1+.@input; + mes "[Investment Cat Helper]"; + mes .@input+" accounts were invested in."; + mes "Thank you for your help~"; + next; + mes "[Investment Cat Helper]"; + mes "Once we get more investments of cans,"; + mes "our trader group will grow even more."; + mes "And you can get services as well~"; + mes "A win-win strategy?"; + close; + } else { + if (.@input + ep13_yong1 > 20000) { + delitem 12636,.@required; //Malang_Sp_Can + set ep13_yong1,20000; + mes "[Investment Cat Helper]"; + mes "You can have 20,000 accounts max"; + mes "according to the trader policy..."; + mes strcharinfo(0)+"'s accounts increase to 20,000."; + mes "Thank you so much for your investment~"; + next; + mes "[Investment Cat Helper]"; + mes "Now, "+strcharinfo(0)+", you can't invest further"; + mes "but you can still donate some of your cans to the trader group."; + mes "Thank you so much~"; + close; + } else { + delitem 12636,.@required; //Malang_Sp_Can + set ep13_yong1, ep13_yong1+.@input; + mes "[Investment Cat Helper]"; + mes .@input+" accounts have been invested in."; + mes "Thank you for your help~"; + next; + mes "[Investment Cat Helper]"; + mes "With your big investment in cans,"; + mes "this will help us meet our goals earlier."; + mes "Thank you again."; + close; + } + } + case 2: + mes "[Investment Cat Helper]"; + mes "You want to check the number of accounts? Hmm, let's see~"; + next; + mes "[Investment Cat Helper]"; + mes "Name: "+strcharinfo(0); + mes "Number of accounts: "+ep13_yong1; + next; + mes "[Investment Cat Helper]"; + if (ep13_yong1 < 10000) + mes "Got it?"; + else + mes "You've made many investments. Thank you."; + close; + case 3: + mes "[Investment Cat Helper]"; + mes "Please invest next time~"; + close; + } + } else if (ep13_yong1 >= 20000) { + mes "[Investment Cat Helper]"; + mes strcharinfo(0) + ", welcome~"; + mes strcharinfo(0) + "~ I felt something upon your arrival."; + next; + mes "[Investment Cat Helper]"; + mes "Want to donate?"; + next; + if(select("Donate:No") == 2) { + mes "[Investment Cat Helper]"; + mes "Hehe~ then have fun in here~"; + close; + } + mes "[Investment Cat Helper]"; + mes "Wow, thank you, "+strcharinfo(0)+"~!"; + next; + mes "[Investment Cat Helper]"; + mes strcharinfo(0)+"~ with your help"; + mes "the cans will be distributed to cats"; + mes "in the Midgard area with honor~"; + next; + mes "[Investment Cat Helper]"; + mes "The can donation can range from a minimum of 20 to a maximum of 10,000."; + next; + input .@input; + if (.@input < 20 || .@input > 10000) { + mes "[Investment Cat Helper]"; + mes "The can donation can range from a minimum of 20 to a maximum of 10,000."; + close; + } else if (countitem(12636) < .@input) { // Malang_Sp_Can + mes "[Investment Cat Helper]"; + mes "Hmm? You don't have enough cans."; + close; + } else { + delitem 12636,.@input; //Malang_Sp_Can + mes "[Investment Cat Helper]"; + mes "Ohh! Thank you~"; + next; + mes "[Investment Cat Helper]"; + mes "Dear "+strcharinfo(0)+" ~"; + mes "I have only Increase AGI"; + mes "and Blessing to give you."; + mes "Thank you."; + npcskill "AL_INCAGI",10,0,0; + npcskill "AL_BLESSING",10,0,0; + close; + } + } +} + +malangdo,184,139,4 script Storekeeper#mal 560,{ + mes "[Storekeeper]"; + mes "Hey, looks like you might be looking to unload some of your stuff from your pack."; + mes "Want to open storage? For free?"; + next; + mes "[Storekeeper]"; + mes "Hahaha~ Just kidding, of course it isn't free."; + mes "What do you take me for?"; + next; + if (ep13_yong1 > 999) { + set .@cans,1; + set .@zeny,1500; + set .@i, select("Pay with Can ----- 1 unit:Pay with Zeny ------- 1,500z"); + } else { + set .@cans,2; + set .@zeny,3000; + set .@i, select("Pay with Can ----- 2units:Pay with Zeny ------- 3,000z"); + } + if (getskilllv("NV_BASIC") < 6) { + mes "[Storekeeper]"; + mes "Ah, hold on!!"; + mes "You need to have ^FF0000Basic Skill level 6^000000 to use the storage service!!"; + close; + } + switch(.@i) { + case 1: + if (countitem(12636) < .@cans) { + mes "[Storekeeper]"; + mes "You don't have enough cans..."; + close; + } + delitem 12636,.@cans; //Malang_Sp_Can + break; + case 2: + if (Zeny < .@zeny) { + mes "[Storekeeper]"; + mes "You don't have enough zeny..."; + close; + } + set Zeny, Zeny-.@zeny; + break; + } + mes "[Storekeeper]"; + mes "Thank you."; + close2; + openstorage; + end; +} + // Malangdo Island :: ma_tomas //============================================================ mal_in02,28,56,5 script Samuel#mal 495,{ @@ -1554,20 +1890,12 @@ mal_in01,116,168,0 script Dry Machine#mal 563,{ - script Suspicious Sand Pile#0 -1,{ if (.off) end; // Official script uses a 1-second timer to disable sand piles. Added to prevent abuse. - if (checkweight(1201,1) == 0) { - mes " - Notice !! -"; - mes " - Since you have too many items - "; - mes " - you cannot get the item. - "; - mes " - Let your body lighten - "; - mes " - and try this again. - "; + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; close; } - if (MaxWeight - Weight < 1000) { - mes " - Notice !! -"; - mes " - Since your items are too heavy - "; - mes " - you cannot get the item. - "; - mes " - Let your body lighten - "; - mes " - and try this again. - "; + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } if (ma_tomas == 9 || checkquest(11238) > -1) { @@ -2353,7 +2681,7 @@ mal_dun01,120,129,0 duplicate(#skin_mal) Hard Skin#32 111 malangdo,190,167,7 script Portali#mal 546,{ if (ma_tomas < 100) { mes "[Portali]"; - mes "I have no business for a immature fellow!"; + mes "I have no business for an immature fellow!"; close; } mes "[Portali]"; @@ -2424,8 +2752,12 @@ L_Warp: // Malangdo Island :: mal_ppl //============================================================ malangdo,137,200,6 script Pipielle 549,{ - if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { - mes "You have too many items, please try again after reducing your weight."; + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; close; } if (BaseLevel < 60) { @@ -2435,14 +2767,14 @@ malangdo,137,200,6 script Pipielle 549,{ mes "[Pipielle]"; mes "I would ask for your help, if you were a stronger advanturer..."; next; - mes "^770099This cat is working on something, but she asks for help above LV60.^000000"; + mes "^770099This cat is working on something, but she asks for help above level 60.^000000"; close; } - set .@fish_ss1$, "What are you doing??"; + set .@fish_ss1$, "What are you doing?"; if (countitem(6451) > 29) set .@fish_ss2$, "I caught a lot of strange fishes!"; else - set .@fish_ss2$, "Remaining " + (30-countitem(6451)) + " of ^bbbbbbUnidentified Fish are required.^000000"; + set .@fish_ss2$, (30-countitem(6451))+" of ^bbbbbbUnidentified Fish are required.^000000"; if (ma_tomas == 100) set .@fish_ss3$, "I met an Admiral Tomas..."; mes "[Pipielle]"; @@ -2451,48 +2783,51 @@ malangdo,137,200,6 script Pipielle 549,{ switch(select(.@fish_ss1$,.@fish_ss2$,.@fish_ss3$)) { case 1: mes "[Pipielle]"; - mes "There are many beautiful fishes around here. So I feel my heart beating as I stand here."; + mes "There are many beautiful fish around here. So I feel my heart beating standing here."; next; - select("Of course, after seeing such a delicious thing!"); + select("I think my heart is beating faster..."); mes "[Pipielle]"; - mes "How come you only know about eating?! My heart doesn't beat up because I see something delicious. Don't treat me the same as the others."; + mes "How come you only know about eating! My heart doesn't only beat for food."; next; mes "[Pipielle]"; - mes "I used to study from a scholar from Uno who was human. And I am good at the human language as well. Don't treat me like the others."; + mes "I've studied at a human university before and I learned to speak there so don't treat me like some animal."; next; mes "[Pipielle]"; - mes "I am a scholar who researches fish here. It's a little funny that a cat researches fish, but it's true."; + mes "I am a scholar of fish research."; + mes "It's important for cats to research fish."; next; - select("Were you originally a scholar?"); + select("How's your research going?"); mes "[Pipielle]"; - mes "Originally I used to be the mate of admiral Tomas. But our ship never went back to sea after we arrived here."; + mes "I was a good friend of admiral Thomas but our ship hasn't gone back to sea since we arrived here."; next; mes "[Pipielle]"; - mes "The mate of a ship that never voyages is lonely."; + mes "The shipmates seem to be pretty lonely."; next; mes "[Pipielle]"; - mes "The scholar from Uno came here for research, and he thought it was amazing that cats spoke the human language. Therefore he started to teach me."; + mes "A scholar from the university came here to research us and thought it was amazing to find a cat that speaks his language already."; + mes "So he's been helping me teach the others."; next; - select("But now everyone speaks the human language."); + select("Is that why I understand all the cats?"); mes "[Pipielle]"; - mes "Oh yes, there were only a few cats who spoke the human language. That's why he treated me special."; + mes "Yes, exactly!"; + mes "I was one of the few cats who could talk to humans before that scholar arrived."; next; mes "[Pipielle]"; - mes "Anyway, now I collect specimens to be an ichthyologist. I hope you can help me."; + mes "Anyways, now I'm collecting specimens to study the monsters here. I hope you can help me."; next; - if(select("How can I help you?:I would say no.") == 2) { + if(select("How can I help you?:I have to decline.") == 2) { mes "[Pipielle]"; mes "Oh, okay. If you change your mind, please come again."; close; } mes "[Pipielle]"; - mes "There is a Pouring who's eating all the fishes in the Octopus and Culvert dungeons."; + mes "There is a monster called a Pouring who's eating all fish in the Octopus and Culvert dungeon."; next; mes "[Pipielle]"; - mes "It didn't use to live there, but might have come here for the winter. Could you collect the specimens of unidentified fish after geting rid of it?"; + mes "It suddenly appeared during the winter, so could you collect the specimens of Unidentified Fish after getting rid of it?"; next; mes "[Pipielle]"; - mes "You can get identified fishes from Pouring, so please collect about 30 pieces."; + mes "You can get Unidentified Fish from the Pouring monsters, so please collect 30 of them."; close; case 2: if (countitem(6451) > 29) { @@ -2509,7 +2844,7 @@ malangdo,137,200,6 script Pipielle 549,{ close; } mes "[Pipielle]"; - mes "I'm sorry, but please collect 30 pieces of unidentified fish specimens."; + mes "I'm sorry, but please collect 30 Unidentified Fish specimens."; close; case 3: mes "[Pipielle]"; @@ -2571,7 +2906,7 @@ malangdo,175,206,3 script Gobonge#ml 561,{ } if (BaseLevel < 60) { mes "[Gobonge]"; - mes "Are you here to get help"; + mes "Are you here to help"; mes "or to get help?"; mes "You look so weak, haha..."; mes "Go and hunt more Porings!"; @@ -2754,55 +3089,51 @@ OnDisable: malangdo,181,205,3 script Gobulee#ml1 547,{ mes "[Gobulee]"; - mes "Why do you come now?"; - mes "You should have come when we were healthy."; - mes "So, you want to me take out what you have?"; + mes "What a time to show up!"; + mes "You should come around when we're healthy."; close; } malangdo,180,202,3 script Gobyungee#ml1 547,{ mes "[Gobyungee]"; - mes "I can't see other cats because"; - mes "I could't have time to do bad behavior..."; + mes "I can't even look another cat in the eye since I'm too sick to be doin' crimes properly."; close; } malangdo,186,201,3 script Gosigee#ml1 547,{ mes "[Gosigee]"; - mes "I am desperate for pill of stomachache,"; - mes "cap is only thinking of finding out criminal"; - mes "and to revenge!"; + mes "I wish I had some peppy bistmuth pills..."; + mes "Meanwhile the Captain only thinks about catching the bad guys and getting revenge!"; mes "..."; next; mes "[Gosigee]"; - mes "How can we follow him as a cap...!"; + mes "How can we follow someone so single-minded!"; close; } malangdo,177,202,3 script Gonanee#ml2 547,{ mes "[Gonanee]"; - mes "We are only bad circle in Malangdo"; - mes "and we are very proud."; - mes "Can't just lie in bed."; + mes "We are the only violent gang in Malangdo and we are very proud."; + mes "I don't feel right just lying in bed."; close; } malangdo,183,202,3 script Godoree#ml3 547,{ mes "[Godoree]"; mes "I saw unfamiliar cats around"; - mes "the dock frequently."; + mes "the dock recently."; mes "Are they tourists?"; - mes "We should check their pockets"; - mes "once I get well..."; + mes "I should -inspect- their pockets"; + mes "once I'm better..."; close; } malangdo,203,116,5 script Suspious Dealer#ml 543,{ - mes "On listening to the story for"; - mes "a while, he pretends to be indifferent once hearing someone's noise."; + mes "He appears to be listening intently."; + mes "Upon hearing you approach, he pretends to be completely oblivious."; next; mes "[Suspious Dealer]"; - mes "Oh my body, too much pain..."; + mes "Oh the pain, oh the pain of it all..."; close; } @@ -2810,13 +3141,13 @@ malangdo,205,116,3 script Very Suspious Dealer#ml1 543,{ mes "On listening to the story for"; mes "a while, he pretends to be indifferent once hearing someone's noise."; next; - mes "[Very Suspious Dealer]"; - mes "The weather is so dirty..."; + mes "[Suspious Dealer]"; + mes "Could it BE any smoggier today?"; close; } -malangdo,197,120,5 script Foolish Cat#ml 546,{ - mes "[Foolish Cat]"; +malangdo,197,120,5 script A Foolish Cat#ml 546,{ + mes "[A Foolish Cat]"; mes "If you stay here, you"; mes "can hear all they're saying."; mes "Don't know exactly what, but"; @@ -2906,8 +3237,7 @@ OnTouch: malangdo,171,163,3 script Awfully Suspious Dealer 543,{ if (malang_bad_guys < 4) { mes "[Awfully Suspious Dealer]"; - mes "We quit our sales,"; - mes "find the other merchant!"; + mes "We quit selling them, find another merchant!"; close; } else if (malang_bad_guys == 4) { mes "[Awfully Suspious Dealer]"; @@ -3181,10 +3511,8 @@ malangdo,129,146,3 script Crime Prevention Staff 545,{ close; } -/* malangdo,3,1,3 script Guidance for quest#ml 543,{ - input .@input,1,9999; - if (.@input != 1854) { + if (callfunc("F_GM_NPC",1854,0) < 1) { mes "[Helper]"; mes "What is this security code?"; mes "Go away!"; @@ -3229,7 +3557,6 @@ malangdo,3,1,3 script Guidance for quest#ml 543,{ close; } } -*/ // Clean the Ship :: mal_day_qook //============================================================ @@ -3527,7 +3854,7 @@ mal_in02,76,63,7 script Cleanyang 544,{ mes "He still hide them that place."; next; mes "[Cleanyang]"; - mes "It is so easy because I don't have to search everywhere, but"; + mes "It is so easy because I don't have to search everywhere, but..."; mes "Please search the 9 spot where hiding frequently."; close; } @@ -3601,7 +3928,7 @@ mal_in02,76,63,7 script Cleanyang 544,{ mes "He still hide them that place."; next; mes "[Cleanyang]"; - mes "It is so easy because I don't have to search everywhere, but..."; + mes "It is so easy because I don't have to search everywhere, but"; mes "please search the 9 spot where hiding frequently."; close; case 3: @@ -4481,13 +4808,13 @@ malangdo,211,203,4 script [Meow Team] Charo#nya_11 560,{ close; } if (nyadven == 0) { - mes "There are gathered cats who seems younger than other crews."; + mes "There are cats who seem younger than the other crew."; mes "They are having a serious conversation about the weird machine in front of them."; close; } else if (nyadven == 1) { - mes "There are gathered cats who seems younger than other crews."; + mes "There are cats who seem younger than the other crew."; mes "They are having a serious conversation about the weird machine in front of them."; - mes "They are looks like kids who Rato told me."; + mes "They look like the kids that Rato told me about."; next; switch(select("Just watch them without a word.:Busy right now.")) { case 1: @@ -4880,7 +5207,7 @@ malangdo,215,201,3 script [Meow Team] Roku#nya_10 553,{ close; } if (nyadven < 2) { - mes "A young black cat helps a busy white cat."; + mes "A young black cat helps the busy white cat."; mes "Maybe the machine is broken."; close; } else if (nyadven == 2) { @@ -6180,6 +6507,4002 @@ mal_in02,109,62,4 script Picky Crew#nyaong03 545,{ close; } +// Cat Gamers :: mal_gamer +//============================================================ +mal_in01,31,210,2 script Cat Gamers Director 549,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + if (BaseLevel < 60) { + mes "A gentle looking cat is whispering to himself."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Hello... Mr. Cat..."; + next; + mes "The cat takes a glance at you and goes back to his whispering as if he didn't even see you."; + next; + mes "It seems you are not being considered worth talking to."; + close; + } + if (malang_gamer == 0) { + mes "A gentle looking cat is whispering to himself."; + next; + mes "[Cat Gamers Director]"; + mes "Man! 10 losses in a row..."; + emotion e_sigh; + next; + mes "[Cat Gamers Director]"; + mes "We are the 'Cat Gamers' Association."; + mes "But, we still keep on losing and we have no idea why!"; + next; + mes "[Cat Gamers Director]"; + mes "We've got to find out the reason for this losing streak."; + set malang_gamer,1; + next; + mes "You are getting interested in the cat's story. Let's hear more."; + close; + } else if (malang_gamer == 1) { + mes "[Cat Gamers Director]"; + mes "The reason, yes!"; + mes "This can be one of them."; + next; + mes "[Cat Gamers Director]"; + mes "^DD2234Giving up so many points!^000000"; + mes "That's right. No matter how much you score,"; + mes "we will still lose if we give up so many points."; + next; + mes "[Cat Gamers Director]"; + mes "For the other reason. Hmm!"; + mes "This could be related with the previous reason."; + mes "No ^DD2234aggresive point betting^000000 at all."; + next; + mes "[Cat Gamers Director]"; + mes "Other teams bet on games that they think will win, and bet low when they are not confident."; + mes "I guess we didn't know that."; + next; + mes "[Cat Gamers Director]"; + mes "Hmm, can this be a reason?"; + mes "For some reason there were ^DD2234players disappearing right before the match up^000000 and I guess this could have effected our game spirit."; + next; + mes "[Cat Gamers Director]"; + mes "Hmm... So the reason of our losing streak will be,"; + mes "giving up too many points;"; + mes "aggressive point betting;"; + mes "and players disappearing?"; + set malang_gamer,2; + next; + mes "It seems like the gentle looking cat has finished thinking. Let's interrupt the conversion."; + close; + } else if (malang_gamer == 2) { + mes "[Cat Gamers Director]"; + mes "Now that I know the reason,"; + mes "there should be a solution to that."; + emotion e_hmm; + next; + select("Umm... Mr. Cat..."); + mes "[Cat Gamers Director]"; + mes "Who's there? Human? You are a human?"; + next; + mes "[Cat Gamers Director]"; + mes "... ... ... ..."; + next; + mes "[Cat Gamers Director]"; + mes "Oh! Yes! Right!"; + mes "I remember hearing that"; + mes "humans have started passing through here recently."; + next; + mes "[Cat Gamers Director]"; + mes "So good to see you!!"; + mes "What is your name by the way?"; + emotion e_gasp; + next; + mes "["+strcharinfo(0)+"]"; + mes "My name is "+strcharinfo(0)+", Mr. Cat."; + next; + mes "[Cat Gamers Director]"; + mes "Oh, ^0000FF"+strcharinfo(0)+"^000000."; + mes "How may I help you?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Actually I wanted to help you out since I heard that you've lost 10 games in a row..."; + next; + mes "[Cat Gamers Director]"; + mes "Well, you didn't really have to point it out like that..."; + next; + mes "["+strcharinfo(0)+"]"; + mes "A weakness is no longer a weakness when you say it out loud."; + emotion e_no1,1; + next; + mes "[Cat Gamers Director]"; + mes "Hahahaha I like that phrase."; + mes "I should remember it and"; + mes "tell it to my kids. Heh~"; + next; + if (Sex == 0) + setarray .@sex$[0],"Mr.","boy"; + else + setarray .@sex$[0],"Miss","girl"; + mes "[Cat Gamers Director]"; + mes "I like you, "+.@sex$[0]+" "+strcharinfo(0)+". Will you help us get out of this 10 game losing streak? Ehehe~"; + next; + switch(select("Sorry, I'm a stupid "+.@sex$[1]+".:Sure, I'm a cool "+.@sex$[1]+".")) { + case 1: + mes "[Cat Gamers Director]"; + mes "Guess I was wrong about you~"; + mes "How can a person call themself stupid."; + mes "Now I can see how stupid you are."; + mes "Good bye~"; + emotion e_hmm; + close; + case 2: + mes "[Cat Gamers Director]"; + mes "Wow. I respect you, "+strcharinfo(0)+"."; + mes "Let me ask you a favor."; + mes "Please meet the hard working Manager Cat and ask about our team's attitude these days."; + set malang_gamer,3; + setquest 5058; + next; + mes "[Cat Gamers Director]"; + mes "The Manager Cat must be around here somewhere~"; + close; + } + } else if (malang_gamer == 3) { + mes "[Cat Gamers Director]"; + mes "Please meet the hard working"; + mes "Manager Cat, and ask about our team's attitude these days."; + mes "The Manager Cat must be around here somewhere~"; + close; + } else if (malang_gamer == 4) { + mes "[Cat Gamers Director]"; + mes "Ok Ok. So what did the manager cat say about the atmosphere these days?~"; + emotion e_what; + next; + mes "You tell him exactly what the Manager Cat said."; + next; + mes "["+strcharinfo(0)+"]"; + mes "The manager cat said..."; + next; + mes "[Cat Gamers Director]"; + mes "Do not hesitate... Just tell me everything~"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + mes "Umm... the player cats are afraid of you..."; + next; + mes "[Cat Gamers Director]"; + mes "What... What did you say?"; + emotion e_omg; + next; + mes "Cat Gamers Director seems to be in shock. Let's give him some time to calm down."; + set malang_gamer,5; + erasequest 5059; + setquest 5060; + close; + } else if (malang_gamer == 5) { + if (checkquest(5060,PLAYTIME) == 0 || checkquest(5060,PLAYTIME) == 1) { + mes "Cat Gamers Director seems to be in shock. Let's give him some time to calm down."; + close; + } + mes "[Cat Gamers Director]"; + mes "That is impossible!"; + mes "There is no other cat that's nicer than I am!"; + emotion e_sob; + next; + mes "[Cat Gamers Director]"; + mes "Am I really that scary?"; + mes "Are those players who bailed on the practice afraid of me too?"; + emotion e_swt2; + next; + mes "[Cat Gamers Director]"; + mes "It can't be, right? ehehehehe~"; + next; + mes "- He laughs nervously. -"; + next; + mes "[Cat Gamers Director]"; + mes "Is that the truth?"; + next; + mes "[Cat Gamers Director]"; + mes strcharinfo(0)+", will you help me out?"; + mes "There are 4 players who ran away from practice saying they were too tired."; + mes "Could you check if they ran away because of me? ehehehe~"; + emotion e_what; + next; + mes "[Cat Gamers Director]"; + mes "Their names are Eryu, Stew, Ketchup, and Eff."; + mes "They've got to be somewhere around here."; + next; + mes "[Cat Gamers Director]"; + mes "Please find them all~"; + mes "But, don't ask too directly! Ok?"; + mes "Just ask them gentle questions~"; + mes "Ok? Be! Gentle!"; + next; + mes "[Cat Gamers Director]"; + mes "I appreciate your help, "+strcharinfo(0)+". heh~"; + set malang_gamer,6; + erasequest 5060; + setquest 5061; + close; + } else if (malang_gamer == 6) { + if (checkquest(5062) == 2 && checkquest(5063) == 2 && checkquest(5064) == 2 && checkquest(5065) == 2) { + mes "[Cat Gamers Director]"; + mes "Heh~ It seems some humans are scamming cats around this town."; + next; + mes "[Cat Gamers Director]"; + mes "What good is it to scam innocent cats?~"; + emotion e_gg; + next; + mes "["+strcharinfo(0)+"]"; + mes "Yes, I think that you're right."; + emotion e_hmm,1; + next; + mes "[Cat Gamers Director]"; + mes "Oh, so you met Eryu, Stew, Ketchup, and Eff."; + mes "It is so good to see you again. Heh~"; + mes "Thank you very much for your effort~. Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "So what did they say?"; + mes "They really think I am scary?"; + next; + mes "You tell the Cat Gamers Director what Eryu, Stew, Ketchup, and Eff said."; + next; + mes "["+strcharinfo(0)+"]"; + mes "They think you push them too much through the practices. So they are scared."; + next; + mes "[Cat Gamers Director]"; + mes "What? Really?"; + next; + mes "The Cat Gamers Director seems to be shocked once again. Better give him more time to calm down."; + set malang_gamer,7; + erasequest 5061; + setquest 5060; + close; + } + mes "[Cat Gamers Director]"; + mes "Their names are Eryu, Stew, Ketchup, and Eff."; + mes "They've got to be somewhere around here."; + next; + mes "[Cat Gamers Director]"; + mes "Please find them all~"; + mes "But, don't ask too directly! Ok?"; + mes "Just ask them gentle questions~"; + mes "Ok? Be! Gentle!"; + next; + mes "[Cat Gamers Director]"; + mes "I appreciate your help, "+strcharinfo(0)+". heh~"; + close; + } else if (malang_gamer == 7) { + if (checkquest(5060,PLAYTIME) == 0 || checkquest(5060,PLAYTIME) == 1) { + mes "Cat Gamers Director seems to be in shock once again. Better give more time to calm down."; + close; + } + mes "[Cat Gamers Director]"; + mes "Ok, I understand."; + mes "I was a scary cat after all."; + mes "This can't be right!! Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "I need to change my scary cat image. Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "This is my mission now,"; + mes "so our team can improve"; + mes "game performance. Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Please go meet our manager cat,"; + mes "and find out how can I change"; + mes "this scary cat image of mine. Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ I would much appreciate your help, "+strcharinfo(0)+"~."; + set malang_gamer,8; + erasequest 5060; + setquest 5066; + close; + } else if (malang_gamer == 8) { + mes "[Cat Gamers Director]"; + mes "Please ask our manager cat how can I change this scary cat image."; + mes "Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Please help me out,"; + mes strcharinfo(0)+"! Heh~"; + close; + } else if (malang_gamer == 9) { + mes "[Cat Gamers Director]"; + mes "You came back!! Heh~"; + mes "So, what did our manager cat say?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Manager cat asked to prepare a box."; + next; + mes "[Cat Gamers Director]"; + mes "A box? Heh~ Sure, why not?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Are you going to ask me what is it for?"; + next; + mes "[Cat Gamers Director]"; + mes "Well, I kind of was eavesdropping when "+strcharinfo(0)+" and Manager Cat were talking together. Heh~"; + emotion e_heh; + next; + mes "["+strcharinfo(0)+"]"; + mes "............"; + next; + mes "[Cat Gamers Director]"; + mes "Now I need to check with our players, see how they really feel."; + mes "Heh~ Why don't you come back tomorrow?"; + mes "Heh~ Let me decide what to do after checking their honest petition letters. Heh~"; + set malang_gamer,10; + erasequest 5067; + setquest 5068; + close; + } else if (malang_gamer == 10) { + if (checkquest(5068,PLAYTIME) == 0 || checkquest(5068,PLAYTIME) == 1) { + mes "[Cat Gamers Director]"; + mes "Still receiving petition letters. Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "I wonder what they really want to say~ Heh~"; + close; + } + mes "[Cat Gamers Director]"; + mes "Heh~ All done with collecting petition letters~"; + mes "Heh~ Let's see what they wrote here?"; + next; + mes "Reading...~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Let me see... 'Stupid Cat lea...de...'"; + emotion e_an; + next; + mes "- Crumpling the paper -"; + mes "Cat Gamers Director has crumpled the paper and thrown it away."; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Wrong paper."; + mes "Let's read another one... Heh~"; + next; + mes "~Reading~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Here we go."; + mes "'I don't like playing with the same team members over and over."; + mes "Please pick new team members,"; + mes "or get me a practicing partner.'"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ I see."; + mes "I can take this positively."; + mes "Heh~ Let's move on to another one."; + emotion e_ok; + next; + mes "~Reading~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~"; + mes "'We need more snacks~ Get us some more snacks~'"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ This one also sounds productive."; + mes "Heh~ Petition letters are good, I guess... Heh~"; + emotion e_ok; + next; + mes "Reading...~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~"; + mes "'Elders are bullying me. Help me...'"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Our team is absolutely"; + mes "like a family here~ Someone is"; + mes "playing here, you know. Heh~"; + emotion e_gasp; + next; + mes "Reading...~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ There are only 4 letters!"; + mes "Including a prank one..."; + mes "Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Everyone seems to have a satisfied team life~ Heh~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Not... Really..."; + next; + mes "There are tons of letters piled in the back of the box, but Cat Gamers Director doesn't want to admit the problem."; + next; + mes "[Cat Gamers Director]"; + mes "Heh~"; + mes "Hey, "+strcharinfo(0)+". What did you say? Heh~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Nothing! Please carry on."; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Because of what these players want,"; + mes "I have a favor to ask you, "+strcharinfo(0)+"..."; + mes "Heh~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "What is it?"; + next; + mes "[Cat Gamers Director]"; + mes "Will you be our players' practicing partner?"; + mes "Heh~ I feel strongly that you, "+strcharinfo(0)+", can be trusted for this. Heh~"; + next; + switch(select("No thanks, buddy!:Ok, I'll do it!")) { + case 1: + mes "[Cat Gamers Director]"; + mes "Heh~ Are you rejecting me? Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "I'm sad. Sad~ Heh~"; + mes "I didn't expect a refusal from a person like you, "+strcharinfo(0)+"."; + mes "But still, here's some coins for you~"; + mes "Heh~"; + emotion e_sob; + next; + mes "[Cat Gamers Director]"; + mes "We will always welcome you, "+strcharinfo(0)+", as a guest member of the Cat Gamers."; + mes "Heh~"; + set malang_gamer,11; + erasequest 5068; + getitem 6422,100; //Egrade_Coin + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Please come back if you change your mind."; + close; + case 2: + mes "[Cat Gamers Director]"; + mes "Heh~ Good choice."; + mes "I knew you would help us Cat Gamers... Heh~"; + emotion e_no1; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Thank you for your help."; + mes "Heh~ Here are some coins as a small gift... Heh~"; + mes "Get yourself some goodies. Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Since you will be our team's practicing partner, please come back in an hour."; + mes "Then I will give you our '^0000FFCat Gamers Certificate^000000'."; + mes "Heh~"; + set malang_gamer,12; + erasequest 5068; + setquest 5069; + getitem 6422,100; //Egrade_Coin + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Ok, "+strcharinfo(0)+". I will see you in an hour. Heh~"; + close; + } + } else if (malang_gamer == 11) { + mes "[Cat Gamers Director]"; + mes "Heh~"; + mes "Aren't you "+strcharinfo(0)+"?"; + mes "Have you changed your mind yet?"; + mes "Are you willing to be our team's practicing partner?"; + next; + switch(select("No, I'm just passing through.:I accept your offer.")) { + case 1: + mes "[Cat Gamers Director]"; + mes "Heh~ I see."; + mes "But, let me tell you once again, "+strcharinfo(0)+"."; + mes "You are always welcome to be one of our 'Cat Gamers Honorable Members'."; + mes "Heh~"; + close; + case 2: + mes "[Cat Gamers Director]"; + mes "Heh~ At last!!"; + mes strcharinfo(0)+" will become our honorable member!!"; + mes "I shall make a '^0000FFCat Gamers Certificate^000000' right away. Heh~"; + emotion e_ho; + next; + mes "[Cat Gamers Director]"; + mes "Come back in an hour and I will get you a '^0000FFCat Gamers Certificate^000000'."; + mes "Heh~"; + set malang_gamer,12; + setquest 5069; + close; + } + } else if (malang_gamer == 12) { + if (checkquest(5069,PLAYTIME) == 0 || checkquest(5069,PLAYTIME) == 1) { + mes "[Cat Gamers Director]"; + mes "Heh~ You want to get the '^0000FFCat Gamers Certificate^000000' faster. Heh~ It's not really easy to get such a certificate easily."; + next; + mes "[Cat Gamers Director]"; + mes "So, it's a bit tricky... Heh~ Please come later. Heh~"; + emotion e_ho; + close; + } + mes "[Cat Gamers Director]"; + mes "Heh~ I got a message from the workshop that their work on the certificate is done. Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "This is not some ordinary certificate. Heh~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "What do you mean?"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ This is..."; + next; + mes "The Cat Gamers Director's eyes are shining with pride."; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ The pure essence of the 'Cat Gamers' tech team's effort!!"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Equip this item, then all of your game playing records will be saved. Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Take this and show us what you've got."; + erasequest 5069; + set malang_gamer,20; + getitem 2872,1; //G_Honor_Certificate + next; + mes "[Cat Gamers Director]"; + mes "Heh~ I may be worrying too much... But, please wear this '^0000FFCat Gamers Certificate^000000', and play the game. Heh~"; + close; + } else if (malang_gamer == 20) { + // fall through + } else { + mes "[Cat Gamers Director]"; + mes "This is not possible. Please contact an administrator."; + close; + } + mes "[Cat Gamers Director]"; + mes "Heh~ Hello, "+strcharinfo(0)+". How is it going practicing with the players?"; + emotion e_what; + next; + switch(select("How are the players doing?:Just stopped by to say hi~:Here's the current status...")) { + case 1: + mes "[Cat Gamers Director]"; + mes "Heh~ Wow, "+strcharinfo(0)+"! I'm so touched by your care for the players."; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ For 13 years of my life, I've never seen anyone like you, "+strcharinfo(0)+". Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ "+strcharinfo(0)+", which player's condition are you interested in?"; + next; + switch(select("Rock Paper Scissors players:ChamChamCham players:KongNyangKong players:Flag Game players")) { + case 1: + mes "[Cat Gamers Director]"; + mes "Heh~ Rock Paper Scissors players are missing practices occasionally, but they are still getting better. Heh~"; + break; + case 2: + mes "[Cat Gamers Director]"; + mes "ChamChamCham players are actually complaining about the practice because you are doing so well with them, very hard to remember the winner. Heh~"; + break; + case 3: + mes "[Cat Gamers Director]"; + mes "Heh~ KongNyangKong players are so happy with the practice. Heh~"; + break; + case 4: + mes "[Cat Gamers Director]"; + mes "Heh~ Flag Game players are always nervous since you make them work so much. Heh~ But, they are really getting better. Heh~"; + break; + } + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Please keep up the good work, "+strcharinfo(0)+". Heh~"; + close; + case 2: + mes "[Cat Gamers Director]"; + mes "Heh~ Hello there~ "+strcharinfo(0)+". You have such good manners~ Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ These days, there are so many cats and humans without proper manners. Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "We also have some of thme in our 'Cat Gamers'. They are so arrogant every time we win the game... Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ There should be more people like you, "+strcharinfo(0)+". Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Please practice with our players more often~ Heh~ So they can learn some manners from you, "+strcharinfo(0)+". Heh~"; + next; + mes "[Cat Gamers Director]"; + mes "Keep up the good work~ Heh~"; + close; + case 3: + mes "[Cat Gamers Director]"; + mes "Heh~ What happened to your face, "+strcharinfo(0)+"? Guess you lost from the practice, right? Heh~"; + emotion e_gg; + next; + mes "[Cat Gamers Director]"; + mes "Heh~ I saw players puting notes in the 'Petition box'. Heh~ Guess that was your work. Let me see..."; + next; + break; + } + + // Detect quest (ID range 5074~5090) + mes "[Cat Gamers Director]"; + if (checkquest(5074,HUNTING) > -1) { + mes "Heh~ It's not like I didn't feed them right... Heh~ I hope it was not too much for you, "+strcharinfo(0)+"."; + next; + if (checkquest(5074,HUNTING) == 2 && countitem(1023) >= 10) { + delitem 1023,10; //Fish_Tail + callsub L_CompleteQuest,5074, + "Heh~ So, you brought 30 Phens and 10 Fish Tails, just as ordered."; + } else { + mes "[Cat Gamers Director]"; + mes "Heh~ It says in the note to bring 30 Phens and 10 Fish Tails. Heh~ Maybe you didn't catch enough Phens, or forgot some Fish Tails? Heh~"; + close; + } + } else if (checkquest(5075,HUNTING) > -1) { + mes "Heh~ Hmm, 50 Marses, and 30 Milk Bottles... Heh~"; + next; + if (checkquest(5075,HUNTING) == 2 && countitem(519) >= 30) { + delitem 519,30; //Milk + callsub L_CompleteQuest,5075, + "Heh~ Guess they wanted some healthy food. Heh~ They should have just told me... Let me show you my skills. Heh~"; + } else { + mes "[Cat Gamers Director]"; + mes "Heh~ But, where are 50 Marses and 30 Milk Bottles? Heh~ Please see if you haven't missed them..."; + close; + } + } else if (checkquest(5076,HUNTING) > -1) { + mes "Heh~ Our team must have some grudge over Team 'Dog n Waltz', enough to ask you for this kind of favor..."; + next; + if (checkquest(5076,HUNTING) == 2) { + callsub L_CompleteQuest,5076, + "Heh~ So you have finished harassing 30 Kobold Archers as noted. Heh~ Outstanding."; + } else { + mes "[Cat Gamers Director]"; + mes "Heh~ It says on the note, harass 30 Kobold Archers. Heh~ Please check if you have harassed 30 of them already."; + close; + } + } else if (checkquest(5077,HUNTING) > -1) { + mes "Heh~ Ah, quickness training. It's good to see our players trying their best on training."; + mes "Heh~ Yes, nothing is better than mouse catching for improving quickness."; + next; + if (checkquest(5077,HUNTING) == 2) { + callsub L_CompleteQuest,5077, + "Heh~ Oh, you got some fresh and chubby Cramps. Heh~ Great."; + } else { + mes "[Cat Gamers Director]"; + mes "Heh? Where are those 10 Cramps you promised? Heh~ You didn't eat them... did you?"; + close; + } + } else if (checkquest(5078,HUNTING) > -1) { + mes "Heh~ '50 Peco Peco please!! Let's party.' Hmm... Heh~ 50 Pecos can feed all of our neighbors."; + next; + if (checkquest(5078,HUNTING) == 2) { + callsub L_CompleteQuest,5078, + "Heh~ Wow, you did bring 50 Peco Pecos. Heh~ I guess we'll really have a party this evening."; + } else { + mes "[Cat Gamers Director]"; + mes "Heh~ Where are those Peco Pecos? Still not ready? Heh~"; + close; + } + } else if (checkquest(5079) > -1) { + mes "Heh~ Hmm... let me see... Heh~ That's right, I was worrying about our team getting so nervous before the actual game... But, they won't even talk to me about it."; + next; + if (countitem(7038) >= 20) { + delitem 7038,20; //Yarn + callsub L_CompleteQuest,5079, + "Heh~ How could I miss that? I shall give some to my team for sure."; + } else { + mes "[Cat Gamers Director]"; + mes "Heh~ Where are those 20 yarns? It says 20 on the note, right...? Please check if you have lost them somewhere."; + close; + } + } else if (checkquest(5080) > -1) { + mes "Heh~ The note says, get me 30 Rat Tails for a snack."; + next; + if (countitem(1016) >= 30) { + delitem 1016,30; //Rat_Tail + callsub L_CompleteQuest,5080, + "Heh~ I think I've fed them good snacks... Didn't I? Lately I was little busy, they should have some patience... Heh~ Poor manager..."; + } else { + mes "[Cat Gamers Director]"; + mes "Heh~ Where are those 30 Rat Tails? Please check and come back later."; + close; + } + } else if (checkquest(5081) > -1) { + mes "Heh~ It says 5 on the note... 5 of what? What?! Lemons?"; + next; + if (countitem(568) >= 5) { + delitem 568,5; //Lemon + callsub L_CompleteQuest,5081, + "Heh~ Lemon is forbidden before the actual game... heh? They won't eat it at game time, right? Heh~"; + } else { + mes "[Cat Gamers Director]"; + mes "Heh~ Let's just get 5 Lemons for them, will you? Heh~ I am still not sure where they want to use them..."; + close; + } + } else if (checkquest(5082) > -1) { + mes "Heh~ Give us 10 Ice Pieces or 10 Ice Creams!! Heh~ I personally prefer Ice Cream, just so you know."; + next; + if (countitem(7066) >= 10) { + delitem 7066,10; //Ice_Piece + callsub L_CompleteQuest,5082, + "Heh~ Oh, you brought Ice Pieces. Heh~ The players will love it."; + } else if (countitem(536) >= 10) { + delitem 536,10; //Ice_Cream + callsub L_CompleteQuest,5082, + "Heh~ Oh, you brought Ice Creams. Heh~ The players will love it."; + } else { + mes "[Cat Gamers Director]"; + mes "Heh~ Where are the Ice Pieces or Ice Creams? You should get them before they melt..."; + close; + } + } else if (checkquest(5083) > -1 || checkquest(5084) > -1) { + mes "Heh~ Here, I found the note from our team. Heh~"; + next; + if (checkquest(5083) > -1) { + mes "[Cat Gamers Director]"; + mes "Heh~ It says 'We will meet Eryu together.'. Heh~ Have you met Eryu already? I don't think so... Heh~"; + close; + } else { + callsub L_CompleteQuest,5084, + "Heh~ Oh, you did meet Eryu. Heh~ I will lecture them later for making you work too much... Heh~"; + } + } else if (checkquest(5085) > -1 || checkquest(5086) > -1) { + mes "Heh~ Here, I found the note from our team. Heh~"; + next; + if (checkquest(5085) > -1) { + mes "[Cat Gamers Director]"; + mes "Heh~ It says 'We will meet Stew together.'. Heh~ Have you met Stew already? I don't think so... Heh~"; + close; + } else { + callsub L_CompleteQuest,5086, + "Heh~ Oh, you did meet Stew. Heh~ I will lecture them later for making you work too much... Heh~"; + } + } else if (checkquest(5087) > -1 || checkquest(5088) > -1) { + mes "Heh~ Here, I found the note from our team. Heh~"; + next; + if (checkquest(5087) > -1) { + mes "[Cat Gamers Director]"; + mes "Heh~ It says 'We will meet Ketchup together.'. Heh~ Have you met Ketchup already? I don't think so... Heh~"; + close; + } else { + callsub L_CompleteQuest,5088, + "Heh~ Oh, you did meet Ketchup. Heh~ I will lecture them later for making you work too much... Heh~"; + } + } else if (checkquest(5089) > -1 || checkquest(5090) > -1) { + mes "Heh~ Here, I found the note from our team. Heh~"; + next; + if (checkquest(5089) > -1) { + mes "[Cat Gamers Director]"; + mes "Heh~ It says 'We will meet Eff together.'. Heh~ Have you met Eff already? I don't think so... Heh~"; + close; + } else { + callsub L_CompleteQuest,5090, + "Heh~ Oh, you did meet Eff. Heh~ I will lecture them later for making you work too much... Heh~"; + } + } + mes "[Cat Gamers Director]"; + mes "Heh?! There's no favor note for you, "+strcharinfo(0)+". Heh~ What do you want to report? Heh~"; + close; + +// callsub L_CompleteQuest,<quest ID>,"<message>"; +L_CompleteQuest: + erasequest getarg(0); + getitem 12636,3; //Malang_Sp_Can + mes "[Cat Gamers Director]"; + mes getarg(1); + next; + mes "[Cat Gamers Director]"; + mes "Heh~ Thanks for coming by, "+strcharinfo(0)+". Heh~ Keep up the good work. Heh~"; + emotion e_thx; + close; +} + +malangdo,127,111,4 script Strange Cat#gamer 547,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + if (malang_gamer < 3) { + mes "[Strange Cat]"; + mes "Meow~ Meo~ Ow Ow~ Meow Meo~ Eow Eow~"; + next; + mes "Some strange cat is here."; + close; + } else if (malang_gamer == 3) { + mes "[Manager Cat]"; + mes "Meow~ Meo~ Ow Ow~ Meow Meo~ Eow Eow~"; + next; + mes "[Manager Cat]"; + mes "What do you want?"; + emotion e_what; + next; + set .@cat_gam, rand(1,10); + select("Ask about the team's attitude..."); + if (.@cat_gam == 5) { + mes "[Manager Cat]"; + mes "Do not lie to me! How can I trust you and reveal our team secret? Aren't you a spy from the doggy team?"; + emotion e_ag; + next; + select("Aww, come on..."); + mes "You play with a foxtail nearby and then ask again."; + next; + select("Cat Gamers Director says..."); + mes "The Manager Cat seems to be interested in the foxtail and starts answering."; + emotion e_awsm; + next; + mes "[Manager Cat]"; + mes "Players are afraid of the Cat Gamers Director. When they see Cat Gamers Director at the game, they get nervous."; + emotion e_lv; + next; + mes "[Manager Cat]"; + mes "Can you give me that?"; + set malang_gamer,4; + erasequest 5058; + setquest 5059; + next; + mes "You hand the foxtail to the Manager Cat. Go back to the Cat Gamers Director."; + close; + } else { + mes "[Manager Cat]"; + mes "Don't lie to me!"; + mes "Why should I trust you,"; + mes "and give our team information?"; + mes "Aren't you a spy from doggy team...?"; + mes "Go away."; + emotion e_ag; + next; + mes "This cat might hit you."; + close; + } + } else if (malang_gamer < 8) { + mes "The Manager Cat is playing with the foxtail you gave him."; + mes "He seems to be liking it..."; + emotion e_lv; + close; + } else if (malang_gamer == 8) { + mes "The Manager Cat is playing with the foxtail you gave him."; + mes "He seems to be liking it..."; + emotion e_lv; + next; + switch(select("Help~ Fire~:Hey~!:Do you want to hear something?")) { + case 1: + mes "[Manager Cat]"; + mes "Don't lie~ We don't use fire that much~"; + emotion e_an; + next; + break; + case 2: + mes "The Manager Cat ignores you, and keeps on playing with the foxtail."; + emotion e_lv; + close; + case 3: + mes "[Manager Cat]"; + mes "Meow~ I want to tell you a story~ Follow me meow~ Let talk over there, meow~"; + emotion e_gg; + next; + break; + } + mes "["+strcharinfo(0)+"]"; + mes "Haha, I was just kidding. I actually need to tell you that the Cat Gamers Director has an issue..."; + emotion e_swt2,1; + next; + mes "You explain the story to the Manager Cat."; + emotion e_swt2,1; + next; + mes "[Manager Cat]"; + mes "Scary image... Meow, I understand... Cat Gamers Director should feel peace by giving up things."; + emotion e_hmm; + next; + mes "["+strcharinfo(0)+"]"; + mes "... ... ..."; + emotion e_dots,1; + next; + mes "[Manager Cat]"; + mes "Meow! Go tell him this, meow~ Prepare a box, meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "A box?"; + emotion e_what,1; + next; + mes "[Manager Cat]"; + mes "Petition it is, meow!! There is some place where humans do such things, I think it will help us~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ok, I will go tell it to the Games Director~"; + emotion e_ok,1; + set malang_gamer,9; + erasequest 5066; + setquest 5067; + close; + } else if (malang_gamer == 9) { + mes "[Manager Cat]"; + mes "You tell the Cat Gamers Director to prepare a Box for sure!~ I will tell this to my team, meow."; + close; + } else if (malang_gamer == 10) { + mes "[Manager Cat]"; + mes "The players are excited and writing a bunch of things for the petition box... I wonder what they are writing."; + close; + } else if (malang_gamer == 11) { + mes "[Manager Cat]"; + mes "You won't help practice? If you help, the Cat Gamers Director will give you food cans... Please reconsider!"; + close; + } else if (malang_gamer == 12) { + mes "[Manager Cat]"; + mes "Meow~ Aren't you "+strcharinfo(0)+"? I heard Cat Gamers Director ordered a special certificate, meow~"; + next; + mes "[Manager Cat]"; + mes "When practicing, you must equip the '^0000FFCat Gamers Certificate^000000' item~ Don't forget, meow~"; + close; + } else if (malang_gamer == 20) { + // fall through + } else { + mes "[Manager Cat]"; + mes "This is not possible. Please contact an administrator."; + close; + } + mes "[Manager Cat]"; + mes "What do you want meow?"; + next; + switch(select("Hi.:Any news?:Help me with playing.")) { + case 1: + mes "[Manager Cat]"; + mes "Oh, hi meow~"; + emotion e_heh; + close; + case 2: + switch(rand(1,7)) { + case 1: + mes "[Manager Cat]"; + mes "I tell you this meow~ You don't know Cat Gamers Director's feeling meow~."; + next; + mes "[Manager Cat]"; + mes "lol? >> Curious, Admire"; + mes "Heh~ >> Normal"; + mes "lol Heh~ >> Happy"; + mes "lol lol Heh~ >> Crazy meow"; + emotion e_ok; + close; + case 2: + mes "[Manager Cat]"; + mes "But, why are you asking me meow? Strange meow..."; + close; + case 3: + mes "[Manager Cat]"; + mes "Some cats use 'meow meow' like me when talking, but some don't."; + close; + case 4: + mes "[Manager Cat]"; + mes "Cats don't have an honorific phrase, so don't get us wrong as looking down on you meow.~"; + close; + case 5: + mes "[Manager Cat]"; + mes "You should walk around many places and ask for information meow... But, don't bother me please meow~"; + close; + case 6: + case 7: + mes "[Manager Cat]"; + mes "No easy way for that... I just breathe meow..."; + close; + } + case 3: + mes "[Manager Cat]"; + mes "What game do you want to play?"; + mes "'Cat Gamers' has players for 4 types of games meow~"; + mes "The Cat Gamers Director said he will challenge other games later~"; + next; + switch(select("Rock Paper Scissors:KongNyangKong:ChamChamCham:Flag Game")) { + case 1: + mes "[Manager Cat]"; + mes "Rock Paper Scissors meow? Nothing special..."; + next; + mes "[Manager Cat]"; + mes "Scissor beats Paper, meow."; + mes "Rock beats Scissors, meow."; + mes "Paper beats Rock, meow."; + mes "These are basic rules."; + next; + mes "[Manager Cat]"; + mes "You play 5 Rock Paper Scissors games with player cats meow."; + mes "You play again when you are even meow."; + next; + mes "[Manager Cat]"; + mes "You can get a present after 3 times of winning meow."; + mes "And you get a big present when you win all 5 matches, meow!!"; + next; + mes "[Manager Cat]"; + mes "Find Paa or Ser if you want to play the Rock Paper Scissors game."; + close; + case 2: + mes "[Manager Cat]"; + mes "KongNyangKong is not an easy game meow."; + next; + mes "[Manager Cat]"; + mes "When attacking, face your hand the same direction as the opponent meow."; + next; + mes "[Manager Cat]"; + mes "When defending, you should face your hand the opposite direction from the opponent meow."; + next; + mes "[Manager Cat]"; + mes "If the attack is a success, you can keep on attacking."; + mes "But, if you fail, you have to defend meow."; + next; + mes "[Manager Cat]"; + mes "If you be careful, you can win without getting hit at all meow."; + next; + mes "[Manager Cat]"; + mes "Once you make your opponent's HP 0, you win meow."; + mes "Of course there will be a present meow."; + mes "Good luck meow."; + next; + mes "[Manager Cat]"; + mes "Oh~ right meow~!! Find KungKung if you want to play KongNyangKong."; + close; + case 3: + mes "[Manager Cat]"; + mes "ChamChamCham is a high level mind game meow."; + next; + mes "[Manager Cat]"; + mes "The rules are simple, but you need to think a lot meow."; + next; + mes "[Manager Cat]"; + mes "You should direct your hand to where the cat turns its face meow."; + next; + mes "[Manager Cat]"; + mes "A present is given for 3 wins in a row meow."; + mes "The more wins, the more presents meow."; + next; + mes "[Manager Cat]"; + mes "Kuka is smart, and remembers players with many wins meow."; + mes "There will be more presents when you take 1st place meow."; + close; + case 4: + mes "[Manager Cat]"; + mes "Flag Game is way harder than ChamChamCham game meow."; + mes "Really~ Really~ Really~"; + mes "hard mind game meow."; + mes "It's 1,000 times harder meow."; + next; + mes "[Manager Cat]"; + mes "You get 5 Flag Point when starting meow."; + mes "1 point goes away when you wave the flag once meow."; + next; + mes "[Manager Cat]"; + mes "You win the game when no other cats are waving flags meow."; + next; + mes "[Manager Cat]"; + mes "You can predict if other cats will wave their flags or not meow."; + mes "By looking at their actions meow."; + next; + mes "[Manager Cat]"; + mes "You must win to get presents meow."; + mes "You will get more presents since this is hard game meow~"; + next; + mes "[Manager Cat]"; + mes "If you want to play Flag Game meow~"; + mes "Go find the other manager cat who is trying to get the Referee Certificate meow."; + close; + } + } +} + +malangdo,161,197,4 script Eryu#gamer 876,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + if (checkquest(5061) == 0 || checkquest(5061) == 1) { + if (checkquest(5062) == -1) { + mes "You found Eryu the cat, and start talking."; + next; + mes "[Eryu]"; + mes "Umm... Who are you?"; + next; + switch(select("The Games Director sent me.:I am a writer for the 'Human' magazine.:Who are you?")) { + case 1: + mes "[Eryu]"; + mes "Arrgg. Go away..."; + mes "I don't know who you're talking about."; + emotion e_an; + break; + case 2: + mes "[Eryu]"; + mes "Umm? 'Human' magazine?"; + mes "Is there such a thing?"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + mes "We've been publishing for 10 years."; + mes "But, I guess it is possible for cats to not know who we are."; + next; + mes "["+strcharinfo(0)+"]"; + mes "We are a really famous magazine throughout the World!"; + mes "Don't you believe me?"; + next; + mes "[Eryu]"; + mes "Hmm... ok. But, what can I do for you?"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + mes "I am in the middle of writing an article named 'Game Playing Cats'...'"; + mes "It is a special piece for me."; + mes "And some team named umm... do... umm... wal... not sure..."; + next; + mes "[Eryu]"; + mes "'Dog n Waltz'?"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + mes "Oh! Yes!"; + mes "One of players there 'Dog n Waltz' has recommended Eryu for an interview."; + next; + mes "["+strcharinfo(0)+"]"; + mes "He says you are a really good player who can help me with the article."; + next; + mes "[Eryu]"; + mes "I don't remember anyone from 'Dog n Waltz' that much."; + emotion e_dots; + next; + mes "["+strcharinfo(0)+"]"; + mes "The person isn't important."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Just answer a few questions for me, ok?"; + mes "Be yourself and you'll do just fine."; + mes "Ok, first question: How much do you practice a day?"; + emotion e_what,1; + next; + mes "[Eryu]"; + mes "Usually for about 8 hours, but I have to tell you that I'm not on the team anymore..."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Wait, what?"; + mes "You are not with the team now? How come...?"; + emotion e_omg,1; + next; + mes "[Eryu]"; + mes "Well..."; + mes "The Director Cat was too scary..."; + mes "I was very sick and had to take a day off..."; + mes "Just one freaking day..."; + next; + mes "["+strcharinfo(0)+"]"; + mes "And...?"; + next; + mes "[Eryu]"; + mes "And then the Director Cat was raging at me!"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Hmm, sounds pretty rough."; + next; + mes "["+strcharinfo(0)+"]"; + mes "'Cat Gamers' has lost another great player."; + mes "I'm sorry to hear that you're not on the team anymore."; + mes "I guess this is the end of the interview."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Because this is for current players only."; + next; + mes "[Eryu]"; + mes "Oh..."; + mes "Sorry to make you waste your time."; + emotion e_sry; + next; + mes "["+strcharinfo(0)+"]"; + mes "Oh, don't worry."; + mes "I should say sorry for taking up your precious time."; + mes "Have a nice day."; + next; + mes "You found out the reason why Eryu left the team."; + mes "Time to go find the other cats."; + setquest 5062; + completequest 5062; + break; + case 3: + mes "[Eryu]"; + mes "Yes, I am Eryu! What do you want, huh, meow~"; + break; + } + close2; + } else if (checkquest(5062) == 2) { + mes "[Eryu]"; + mes "Aren't you the magazine writer?"; + mes "What brings you here again...?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ah!"; + mes "Sorry, I was trying to interview another cat..."; + mes "And came back to you by mistake."; + mes "I'm sorry."; + emotion e_sry,1; + next; + mes "[Eryu]"; + mes "Ah... I see. Take care of yourself."; + close2; + } else { + mes "[Eryu]"; + mes "This is not possible. Please contact an administrator."; + close2; + } + } else if (checkquest(5083) == 0 || checkquest(5083) == 1) { + mes "[Eryu]"; + mes "Who are you?"; + next; + mes "What do you want to say?"; + next; + input .@inputstr$; + if (.@inputstr$ == "Come back") { + erasequest 5083; + setquest 5084; + set .@str$, "You've delivered the message, so let's get away."; + } else + set .@str$, "You didn't deliver the right message, but let's still get away."; + mes "[Eryu]"; + mes "What is this? What do you mean by '"+.@inputstr$+"'...?"; + mes "Ah... aren't you the writer?"; + emotion e_an; + next; + mes "["+strcharinfo(0)+"]"; + mes "Huh... Who is that..?"; + next; + mes "Eryu seems to recognize you."; + mes .@str$; + close2; + } else if (checkquest(5084) == 0 || checkquest(5084) == 1) { + mes "[Eryu]"; + mes "I think you are the writer..."; + mes "Hey~ Stop there~"; + next; + mes "You've been found. Let's get away."; + close2; + } else { + if (malang_gamer < 6) { + mes "[Eryu]"; + mes "Dirty 'Cat Gamers'!"; + mes "I won't go back ever... Who are you?"; + next; + mes "This cat might hit you. Let's get away."; + close2; + } else { + mes "[Eryu]"; + mes "Aren't you the writer?"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + mes "Huh... Who is that..?"; + next; + mes "Eryu seems to recognize you. Let's get away."; + close2; + } + } + donpcevent "Eryu#gamer::OnDisable"; + end; +OnEnable: + enablenpc "Eryu#gamer"; + disablenpc "Stew#gamer"; + disablenpc "Ketchup#gamer"; + disablenpc "Eff#gamer"; + end; +OnDisable: + switch(rand(3)) { + case 0: + donpcevent "Stew#gamer::OnEnable"; + break; + case 1: + donpcevent "Ketchup#gamer::OnEnable"; + break; + case 2: + donpcevent "Eff#gamer::OnEnable"; + break; + } + end; +} + +malangdo,230,197,4 script Stew#gamer 555,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + if (checkquest(5061) == 0 || checkquest(5061) == 1) { + if (checkquest(5063) == -1) { + mes "You found Stew the cat, and start talking."; + next; + mes "[Stew]"; + mes "Meow...? Who are you, meow?"; + emotion e_what; + next; + switch(select("The 'Cat Gamers' Manager sent me.:Meow~ Grrr~:I'm with the 'Boom Can' Company.")) { + case 1: + mes "[Stew]"; + mes "Stew is not interested meow."; + mes "Don't come back again meow~"; + break; + case 2: + mes "[Stew]"; + mes "Stew doesn't have time for crazy people."; + break; + case 3: + mes "[Stew]"; + mes "'Boom Can' Company, meow?"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + mes "You don't know 'Boom Can' food?"; + mes "You don't eat canned food at all?"; + mes "Then, I came to the wrong cat."; + next; + mes "[Stew]"; + mes "Yes meow~ Stew likes canned food very much meow~"; + emotion e_lv; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ah! Ok then."; + next; + mes "["+strcharinfo(0)+"]"; + mes "We, the 'Boom Can' Company, have been servicing for over 10 years, so we are doing a survey for better food production."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Let me ask a few questions."; + mes "It is very easy."; + next; + mes "[Stew]"; + mes "Ok meow~ Go ahead meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Thank you! We were right about out cat customers with big hearts."; + next; + mes "["+strcharinfo(0)+"]"; + mes "I met dog customers last week and they didn't answer me at all..."; + mes "And they were so rude~ You know."; + next; + mes "[Stew]"; + mes "Dogs are natually like that~"; + mes "You humans know animals~"; + emotion e_ok; + next; + mes "["+strcharinfo(0)+"]"; + mes "Thank you! I'm flattered.~"; + mes "Ok, let me ask you a few things."; + mes "What is your job?"; + next; + mes "[Stew]"; + mes "Job meow? Stew was a pro gamer meow~"; + mes "But, Stew quit now meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Well, how did that happen?"; + mes "You seem to have good skills."; + mes "Fast and big hearted, its a pity that you quit already."; + next; + mes "[Stew]"; + mes "Meow~ Meow~ Meow~ Yes, Stew was something meow."; + mes "If it was not for that Cat Gamers Director scaring me, Stew would still be playing meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "What a bad Director."; + next; + mes "[Stew]"; + mes "Not that bad actually meow~"; + mes "Sometimes.. Stew gets very tired meow."; + mes "So, Stew takes it easy while practicing meow."; + next; + mes "[Stew]"; + mes "Then the Cat Gamers Director started to get angry and scary meow."; + mes "So I quit meow."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ah! I see."; + mes "Ok, the survey is over now."; + mes "Thank you for your opinion on our survey for the 'Boom Can' company."; + emotion e_thx,1; + next; + mes "[Stew]"; + mes "Meow? Did you aks anything meow?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "I already asked you everything..."; + mes "Don't you remember?"; + mes "There were 10 questions!"; + emotion e_what,1; + next; + mes "[Stew]"; + mes "Really meow? Strange meow."; + mes "Sorry meow? Don't remember meow."; + mes "It didn't felt like an interview meow."; + emotion e_sry; + next; + mes "["+strcharinfo(0)+"]"; + mes "Well you did way better than those dogs."; + mes "I don't even want to think about them~ Phew~.."; + mes "I should get going now."; + mes "Have a great day."; + next; + mes "[Stew]"; + mes "Really meow? Dogs are always like that meow."; + mes "Cats are winners meow~"; + mes "Ok meow~ Good bye meow~"; + next; + mes "You found out the reason why Stew left the team."; + mes "Let's find the other cats."; + setquest 5063; + completequest 5063; + break; + } + close2; + } else if (checkquest(5063) == 2) { + mes "[Stew]"; + mes "Aren't you from the 'Boom Can' Company?"; + mes "Another survey meow?"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + mes "Oops! I should be meeting other cats."; + mes "I am very sorry..."; + emotion e_sry,1; + next; + mes "[Stew]"; + mes "It's ok meow~ Good bye meow~"; + close2; + } else { + mes "[Stew]"; + mes "This is not possible. Please contact an administrator."; + close2; + } + } else if (checkquest(5085) == 0 || checkquest(5085) == 1) { + mes "[Stew]"; + mes "Who are you meow?"; + emotion e_what; + next; + mes "What do you want to say?"; + next; + input .@inputstr$; + if (.@inputstr$ == "Come back") { + erasequest 5085; + setquest 5086; + set .@str$, "You've delivered the message, so let's get away."; + } else + set .@str$, "You didn't deliver the right message, but let's still get away."; + mes "[Stew]"; + mes "What is this? What do you mean by '"+.@inputstr$+"'? Meow..."; + mes "And... Aren't you from the 'Boom Can' Company, meow?"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + mes "Huh? What's that?"; + next; + mes "Stew seems to recognize you."; + mes .@str$; + close2; + } else if (checkquest(5086) == 0 || checkquest(5086) == 1) { + mes "[Stew]"; + mes "I think you are from the 'Boom Can' Company, meow... Who are you, meow~"; + next; + mes "Stew seems to recognize you. Let's get away."; + close2; + } else { + if (malang_gamer < 6) { + mes "[Stew]"; + mes "Meow Meow~ Good bye to 'Cat Gamer's meow~ Who are you meow?"; + next; + mes "This cat might hit you. Let's get away."; + close2; + } else { + mes "[Stew]"; + mes "The 'Boom Can' Company!!"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Huh? What's that?"; + next; + mes "Stew seems to recognize you. Let's get away."; + close2; + } + } + donpcevent "Stew#gamer::OnDisable"; + end; +OnInit: + disablenpc "Stew#gamer"; + end; +OnEnable: + disablenpc "Eryu#gamer"; + enablenpc "Stew#gamer"; + disablenpc "Ketchup#gamer"; + disablenpc "Eff#gamer"; + end; +OnDisable: + switch(rand(3)) { + case 0: + donpcevent "Eryu#gamer::OnEnable"; + break; + case 1: + donpcevent "Ketchup#gamer::OnEnable"; + break; + case 2: + donpcevent "Eff#gamer::OnEnable"; + break; + } + end; +} + +malangdo,244,144,4 script Ketchup#gamer 546,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + if (checkquest(5061) == 0 || checkquest(5061) == 1) { + if (checkquest(5064) == -1) { + mes "You found Ketchup the cat, and start talking."; + next; + mes "[Ketchup]"; + mes "Meow...? Who are you?"; + emotion e_what; + next; + switch(select("Grrr~ Bow wow~:The Game Director cat sent me.:I'm from 'Cans for Kittens'.")) { + case 1: + mes "[Ketchup]"; + mes "What the dog? Hiss~"; + break; + case 2: + mes "[Ketchup]"; + mes "Get away from me, human, before I get really angry~"; + break; + case 3: + mes "[Ketchup]"; + mes "Oh yeah? 'Cans for Kittens'?"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + mes "I want to share some of our philosophy with you."; + mes "Do you believe in giving to others?"; + emotion e_what,1; + next; + mes "[Ketchup]"; + mes "Umm I guess so..."; + emotion e_slur; + next; + mes "["+strcharinfo(0)+"]"; + mes "'Cans for Kittens' is a religion that embraces all felines."; + mes "Bow before the Lord of Cans!"; + next; + mes "[Ketchup]"; + mes "..."; + next; + mes "[Ketchup]"; + mes "..."; + mes "......"; + next; + mes "[Ketchup]"; + mes "..."; + mes "......"; + mes "........."; + mes "What's the Lord of Cans?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Your name is Ketchup, right? Don't you know about the Lord of Cans?"; + mes "He knows everything."; + mes "Do not try to fool him and bow!"; + next; + mes "[Ketchup]"; + mes "Meow?! How can you know my name? Wow..."; + next; + mes "[Ketchup]"; + mes "I am sorry. Really sorry."; + mes "Please forgive me Lord of Cans."; + emotion e_sob; + next; + mes "[Ketchup]"; + mes "That Director Cat was so scary~!"; + mes "I said so many bad things when I left the Cat Gamers..."; + mes "Please forgive."; + emotion e_sob; + next; + emotion e_dots; + emotion e_dots,1; + next; + mes "["+strcharinfo(0)+"]"; + mes "The Lord of Cans forgives Ketchup's sins."; + mes "Our Lord also wants you to stop swearing and live an honest life!"; + next; + mes "[Ketchup]"; + mes "Thank you Lord of Cans."; + mes "I will live a kind cat life from this point on."; + next; + mes "You found out why did Ketchup left the Cat gamers."; + mes "Let's look for the other cats."; + setquest 5064; + completequest 5064; + break; + } + close2; + } else if (checkquest(5064) == 2) { + mes "[Ketchup]"; + mes "You are..."; + emotion e_omg; + next; + mes "Ketchup gives you an apologetic look and runs away."; + mes "He probably did something bad already."; + close2; + } else { + mes "[Ketchup]"; + mes "This is not possible. Please contact an administrator."; + close2; + } + } else if (checkquest(5087) == 0 || checkquest(5087) == 1) { + mes "[Ketchup]"; + mes "Who are you?"; + emotion e_what; + next; + mes "What do you want to say?"; + next; + input .@inputstr$; + if (.@inputstr$ == "Come back") { + erasequest 5087; + setquest 5088; + mes "[Ketchup]"; + mes "What is this? What do you mean by 'Come back'...?"; + mes "Can... 'Cans for Kittens'?"; + emotion e_omg; + emotion e_what; + next; + mes "Ketchup recognized you and ran away."; + mes "You've delivered the message."; + close2; + } else { + mes "[Ketchup]"; + mes "What is this? What do you mean by '"+.@inputstr$+"'...?"; + mes "Can... 'Cans for Kittens'?"; + emotion e_omg; + next; + mes "["+strcharinfo(0)+"]"; + mes "Huh? What's that?"; + next; + mes "Ketchup recognized you and ran away."; + mes "It seems you need to find Ketchup one more time."; + close2; + } + } else if (checkquest(5088) == 0 || checkquest(5088) == 1) { + mes "[Ketchup]"; + mes "Can... 'Cans for Kittens'?"; + emotion e_omg; + next; + mes "Ketchup ran away once again."; + close2; + } else { + if (malang_gamer < 6) { + mes "[Ketchup]"; + mes "Dirty 'Cat Gamers'!"; + mes "I will never come back, for sure... Who are you?"; + next; + mes "This cat might hit you. Let's get away."; + close2; + } else { + mes "[Ketchup]"; + mes "Can... 'Cans for Kittens'?"; + next; + mes "Ketchup ran away."; + close2; + } + } + donpcevent "Ketchup#gamer::OnDisable"; + end; +OnInit: + disablenpc "Ketchup#gamer"; + end; +OnEnable: + disablenpc "Eryu#gamer"; + disablenpc "Stew#gamer"; + enablenpc "Ketchup#gamer"; + disablenpc "Eff#gamer"; + end; +OnDisable: + switch(rand(3)) { + case 0: + donpcevent "Stew#gamer::OnEnable"; + break; + case 1: + donpcevent "Eryu#gamer::OnEnable"; + break; + case 2: + donpcevent "Eff#gamer::OnEnable"; + break; + } + end; +} + +malangdo,181,119,7 script Eff#gamer 560,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + if (checkquest(5061) == 0 || checkquest(5061) == 1) { + if (checkquest(5065) == -1) { + mes "You found Eff the cat, and start talking."; + next; + mes "[Eff]"; + mes "Who are you meow?"; + emotion e_what; + next; + switch(select("I have some good investment news...:A... Cat?:The 'Cat Gamers' Director sent me...")) { + case 1: + mes "[Eff]"; + mes "Investment info? Meow~?"; + mes "What is that? Meow~?"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + mes "Interested, huh?"; + mes "This is classified information."; + mes "You won't get it from any other human."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Haha! You are lucky today."; + mes "You heard that land can be a good investment, right?"; + emotion e_what,1; + next; + mes "[Eff]"; + mes "Oh oh~ I think so. Meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "You do know about our capital Prontera, don't you?"; + next; + mes "[Eff]"; + mes "Prontera meow? Yes, I know about it. Meow~"; + emotion e_heh; + next; + mes "["+strcharinfo(0)+"]"; + mes "There are some locations where"; + mes "Prontera kingdom is secretly selling..."; + next; + mes "[Eff]"; + mes "And... And...?? Meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Hmm, this is top secret."; + mes "Something that must not be revealed at all..."; + mes "Can you really keep this secret...?"; + emotion e_what,1; + next; + mes "[Eff]"; + mes "Well... I've always been known for being a good keeper of secrets meow."; + mes "Meow~ Don't worry at all. Meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ok, I believe you, Eff..."; + mes "Please keep this a secret."; + next; + mes "[Eff]"; + mes "I got it. Meow~"; + emotion e_ok; + next; + mes "["+strcharinfo(0)+"]"; + mes "Well, I heard that there is a location in Juno where underground big shots will be investing about 10,000,000,000 zeny."; + mes "And it is now available for pre-investment."; + next; + mes "["+strcharinfo(0)+"]"; + mes "If you invest in 1 Can food here, the outcome will be enormous."; + next; + mes "[Eff]"; + mes "Enor... mous... meow...?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "100 Cans!!"; + mes "You will get 100 cans for investing just 1 can food!"; + mes "The profit will be X100! X100!!"; + next; + mes "[Eff]"; + mes "Woot!! 100 Cans~ Meow~"; + emotion e_omg; + next; + mes "["+strcharinfo(0)+"]"; + mes "So, how many cans do you want to invest?"; + mes "You'll be a part owner so make sure to invest the max that you can afford."; + emotion e_what,1; + next; + mes "[Eff]"; + mes "I want to invest."; + mes "But, I don't have cans with me. Meow~"; + emotion e_sob; + next; + mes "["+strcharinfo(0)+"]"; + mes "You can always get a loan!!"; + mes "This a like 100 times result for sure!!"; + mes "How can you loose a chance like this?"; + mes "You should do whatever it takes!"; + next; + mes "["+strcharinfo(0)+"]"; + mes "You know what..? They say some careers like pro gamers can get solid loans."; + mes "Like about 1,000 can loan at once."; + mes "Without a high interest rate!"; + next; + mes "[Eff]"; + mes "Meow!! 1... 1,000..."; + mes "Moew~ I am a Pro Gamer."; + mes "Meow~ But, I quit~ Meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "What!! Why would you quit such good a gig!! Are you crazy?"; + emotion e_omg,1; + next; + mes "["+strcharinfo(0)+"]"; + mes "Let's say we invest 1,000 cans after getting that loan."; + mes "One, Ten, Hundred, Tousand. Woot!"; + mes "I can't believe this."; + mes "The result will be 100,000 cans, 100,000!!"; + next; + mes "[Eff]"; + mes "1... 100,000 cans... Meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "So tell me... Why did you quit such a great job?"; + mes "Why?"; + next; + mes "[Eff]"; + mes "I was afraid of the Director Cat there..."; + mes "Meow~ This one time, I had to take a sick day."; + mes "Meow~ And I haven't seen such scary cat my entire life..."; + next; + mes "["+strcharinfo(0)+"]"; + mes "So you quit because Cat Gamers Director was so scary. Hmm, sorry but I can't let you in on this investment..."; + mes "I guess... What a waste of time!"; + mes "Good bye!"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Oh and don't tell anyone what I just told you!"; + mes "Bye~"; + next; + mes "You found out why Eff has left the team."; + mes "Now, let's find the other cats."; + setquest 5065; + completequest 5065; + break; + case 2: + mes "[Eff]"; + mes "Yes. I am a cat."; + mes "Meow~ Do you think I am a dog?"; + mes "Meow~ You are a strange human. Meow~"; + break; + case 3: + mes "[Eff]"; + mes "Seeing as this is like the first time I met you."; + mes "I'll forgive you today. Meow."; + mes "Meow~ Don't even think about bringing up that name to me again..."; + break; + } + close2; + } else if (checkquest(5065) == 2) { + mes "[Eff]"; + mes "You are--!!"; + mes "Meow~ I want to invest. Meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Not without the cans you can't!!"; + mes "You didn't tell anyone about this deal, right?"; + next; + mes "[Eff]"; + mes "I didn't. Meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ok, good cat! Never!!"; + mes "Tell this to other cats!~"; + mes "Bye Bye~"; + close2; + } else { + mes "[Eff]"; + mes "This is not possible. Please contact an administrator."; + close2; + } + } else if (checkquest(5089) == 0 || checkquest(5089) == 1) { + mes "[Eff]"; + mes "Who are you, meow?"; + next; + mes "What do you want to say?"; + next; + input .@inputstr$; + if (.@inputstr$ == "Come back") { + erasequest 5089; + setquest 5090; + set .@str$, "You've delivered the message, so let's get away."; + } else + set .@str$, "You didn't deliver the right message, but let's still get away."; + mes "[Eff]"; + mes "What is this? What do you mean by '"+.@inputstr$+"'? Meow..."; + mes "Meow...? Meow! You! Investor meow?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Huh? Who...?"; + next; + mes "Eff seems to recognize you."; + mes .@str$; + close2; + } else if (checkquest(5090) == 0 || checkquest(5090) == 1) { + mes "[Eff]"; + mes "You are--!!"; + mes "Meow~ I want to invest. Meow~"; + next; + mes "Eff seems to recognize you, so let's get away."; + close2; + } else { + if (malang_gamer < 6) { + mes "[Eff]"; + mes "Meow Meow~ 'Cat Gamers' can say good bye to me, meow."; + mes "Meow... Who are you meow?"; + next; + mes "This cat might hit you. Let's get away."; + close2; + } else { + mes "[Eff]"; + mes "Meow~ I want to invest. Meow~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Huh? Who...?"; + next; + mes "Eff seems to recognize you, so let's get away."; + close2; + } + } + donpcevent "Eff#gamer::OnDisable"; + end; +OnInit: + disablenpc "Eff#gamer"; + end; +OnEnable: + disablenpc "Eryu#gamer"; + disablenpc "Stew#gamer"; + disablenpc "Ketchup#gamer"; + enablenpc "Eff#gamer"; + end; +OnDisable: + switch(rand(3)) { + case 0: + donpcevent "Stew#gamer::OnEnable"; + break; + case 1: + donpcevent "Ketchup#gamer::OnEnable"; + break; + case 2: + donpcevent "Eryu#gamer::OnEnable"; + break; + } + end; +} + +mal_in01,91,216,4 script Ser#gamer 544,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + for(set .@i,5074; .@i<=5090; set .@i,.@i+1) { + if (checkquest(.@i) > -1) { + mes "[Ser]"; + mes "Hey, ^0000FF"+strcharinfo(0)+"^000000. You haven't done what we asked you for. A promise is a promise, you know."; + next; + mes "[Ser]"; + mes "Ah!! When you are done, please get checked by the Cat Gamers Director over there."; + close; + } + } + if (malang_gamer < 20) { + if (countitem(2872)) { + mes "[Ser]"; + mes "You seem like a first timer! Where did you get the certificate? Someone lost it, I guess."; + close; + } + mes "[Ser]"; + mes "Rock Paper Scissors is a serious game. When will our practicing partner come?"; + close; + } + if (!isequipped(2872)) { + mes "[Ser]"; + mes "Oh, ^0000FF"+strcharinfo(0)+"^000000? Want to play the Rock Paper Scissors game?"; + next; + mes "[Ser]"; + mes "... ... ..."; + next; + mes "[Ser]"; + mes "Where is your Cat Gamers Certificate? It seems like nothing, but you can't play this game without it!"; + next; + mes "[Ser]"; + mes "Please go get the certificate."; + close; + } + if (checkquest(5070,PLAYTIME) == 0 || checkquest(5070,PLAYTIME) == 1) { + mes "[Ser]"; + mes "Is it tomorrow already? I don't think so! Can't you read the time?"; + close; + } else if (checkquest(5070,PLAYTIME) == 2) + erasequest 5070; + mes "[Ser]"; + mes "Oh, ^0000FF"+strcharinfo(0)+"^000000? Want to play the Rock Paper Scissors game?"; + next; + switch(select("Play the game.:Say hi.:Ask about the game rules.")) { + case 1: + mes "[Ser]"; + mes "Good idea."; + next; + break; + case 2: + mes "[Ser]"; + mes "Oh! Ok, hi? But, why now?"; + next; + mes "[Ser]"; + mes "Ah... You are bored? Why don't you play a game with me?"; + next; + mes "[Ser]"; + mes "Hey, you! Don't neglect the Rock Paper Scissors game!!"; + mes "I've seen many people getting their butts kicked in this game!!"; + next; + mes "[Ser]"; + mes "You better mark my words, if you don't want to end up like them!~"; + close; + case 3: + mes "[Ser]"; + mes "You don't even know how to play this game?"; + mes "Let me kindly teach you."; + next; + mes "[Ser]"; + mes "Scissors beats Paper,"; + emotion e_scissors; + emotion e_paper,1; + next; + mes "[Ser]"; + mes "Paper beats Rock,"; + emotion e_paper; + emotion e_rock,1; + next; + mes "[Ser]"; + mes "And Rock beats Scissors."; + emotion e_rock; + emotion e_scissors,1; + next; + mes "[Ser]"; + mes "Ok? Got it now?"; + next; + mes "[Ser]"; + mes "You must play 5 matches with me."; + mes "We go again if the game is even!!"; + next; + mes "[Ser]"; + mes "I will give you a present if you beat me 3 times. Ok?"; + next; + mes "[Ser]"; + mes "Ok, then. Go away."; + close; + } + setarray .@rps$[0], "Rock", "Paper", "Scissors"; + setarray .@emote[0], e_rock, e_paper, e_scissors; + setarray .@count$[0],"First","Second","Third","Fourth","Last"; + while(1) { + mes "[Ser]"; + mes .@count$[.@match]+" match ~~"; + if (.@tie) { + mes "Result is even, so we play again."; + set .@tie,0; + } + mes "Try your best!"; + next; + mes "[Ser & "+strcharinfo(0)+"]"; + mes "Rock! Paper! Scissors!"; + next; + + set .@pc, select("Rock:Paper:Scissors")-1; + set .@npc, rand(3); + emotion .@emote[.@pc],1; + emotion .@emote[.@npc]; + mes "["+strcharinfo(0)+"] "+.@rps$[.@pc]; + mes "--------------------------------"; + mes "[Ser] "+.@rps$[.@npc]; + if (.@pc == .@npc) { + set .@tie,1; + set .@result$, "Hmm, we are even. Let's play again."; + } else if ((.@pc == 0 && .@npc == 2) || (.@pc == 1 && .@npc == 0) || (.@pc == 2 && .@npc == 1)) { + set .@match, .@match+1; + set .@win, .@win+1; + set .@result$, "I lost!"; + } else { + set .@match, .@match+1; + set .@loss, .@loss+1; + set .@result$, "So I win!!"; + } + next; + mes "[Ser]"; + mes "You were "+.@rps$[.@pc]+", I was "+.@rps$[.@npc]+"~"; + mes .@result$; + next; + if (.@match == 5) break; + } + mes "[Ser]"; + mes "All 5 matches are over!!"; + next; + mes "[Ser]"; + mes "Hmm... Let me see..."; + mes "I won "+.@loss+" times, and you, "+strcharinfo(0)+", won "+.@win+" times, right?"; + next; + if (.@win > .@loss) { + mes "[Ser]"; + mes strcharinfo(0)+" has won the game."; + next; + mes "Ser became polite all of a sudden."; + next; + mes "[Ser]"; + mes "Great game it was. I admire your enthusiasm for the game. So, I want to give you my precious Can as a present."; + next; + switch(select("I don't need it!:Thank you.")) { + case 1: + mes "[Ser]"; + mes "Just take it!! Do as I say~"; + break; + case 2: + mes "[Ser]"; + mes "You are polite. But, sadly this is all I can give you."; + break; + } + next; + mes "[Ser]"; + mes "Good bye~ Come back tomorrow for more practice~"; + if (.@win == 5) { + mes "Oh! You won all 5 matches. Here are some more extra Cans."; + getitem 12636,10; //Malang_Sp_Can + } else + getitem 12636,5; //Malang_Sp_Can + setquest 5070; + close; + } + mes "[Ser]"; + mes strcharinfo(0)+" has lost. Ha... Ha..."; + next; + mes "Ser became very arrogant."; + next; + mes "[Ser]"; + mes "You want to play with me? Ser? With that skill of yours? Meow?"; + next; + mes "[Ser]"; + mes "What? Present? How can you ask for such a thing when you lose? Go practice more!! Work!! Yes, I should make you do this!!"; + next; + setquest 5070; + switch(rand(1,13)) { + case 1: + setquest 5074; + mes "[Ser]"; + mes "Hmm. Do you know a fish named Phen? Do you? Isn't it a delicious looking fish?"; + next; + mes "- Chrub -"; + mes "Ser wipes the drool from his mouth."; + next; + mes "[Ser]"; + mes "Go catch 30 Phens. And also get me 10 Fish Tails. Get them to our Director cat, and he will make a delicious dish with them."; + close; + case 2: + setquest 5075; + mes "[Ser]"; + mes "Lately, I've felt powerless and that there's too much weight on me. I should take care of my health."; + next; + mes "[Ser]"; + mes "Now it's time for some healthy food."; + next; + mes "[Ser]"; + mes "Get 50 Marse and 25 Milk to our Cat Gamers Director. He has excellent knowledge on healthy foods."; + close; + case 3: + setquest 5076; + mes "[Ser]"; + mes "Well... we do have a rival, you know. They are 'Dog n Waltz', and everything goes wrong when they come around."; + next; + mes "[Ser]"; + mes "I would ask you to bully them, but I suppose that's illegal... So, please at least harass similar looking monsters. What would be a good target?"; + next; + mes "[Ser]"; + mes "Oh, that archer among Kobolds!! I hate those the most. Go harass 30 Kobold Archers, and report to our Cat Gamers Director."; + close; + case 4: + setquest 5077; + mes "[Ser]"; + mes "What is most important for winning the game? It is quickness. What should we do to get faster?"; + next; + mes "[Ser]"; + mes "I've been thinking... The best way for us cats is obviously catching rats."; + next; + mes "[Ser]"; + mes "You know Cramp, right? That blue chubby creature... Please go catch 10 of them, and report to our Cat Gamers Director."; + close; + case 5: + setquest 5078; + mes "[Ser]"; + mes "Ah... I want some bird cuisine. Which one would be most delicious?"; + next; + mes "[Ser]"; + mes "Picky? Ah! It's too small. How about Condor? I am not sure... Peco Peco?"; + next; + mes "[Ser]"; + mes "Alright! Please catch 50 Peco Pecos and get them to our Cat Gamers Director. We shall have a party with bird cuisine tonight."; + close; + case 6: + setquest 5079; + mes "[Ser]"; + mes "I get too nervous before the game. And I don't play well when I'm nervous. I need something to calm down before the game starts."; + next; + mes "[Ser]"; + mes "Oh! That's right! Yarn! I used to play with Yarn when I was young. Wasn't able to have that kind of relaxation after joining the 'Cat Gamers'."; + next; + mes "[Ser]"; + mes "Please get 20 Yarns for me. Why 20? There are many other cats with the same issue. Our Director should take care of this for you."; + close; + case 7: + setquest 5080; + mes "[Ser]"; + mes "Recently, our Director seems to have been trying to cut some expenses. Or is the manager taking advantage?"; + next; + mes "[Ser]"; + mes "Regular snacks for our players have been reduced. You should go get 30 Rat Tails, and give them to our Cat Gamers Director."; + next; + mes "[Ser]"; + mes "Then, we shall find out if our manager is being greedy or not."; + close; + case 8: + setquest 5081; + mes "[Ser]"; + mes "I am having a slump these days. I can't give my 100% to the game."; + next; + mes "[Ser]"; + mes "It is the lemon we need in times like this."; + next; + mes "[Ser]"; + mes "Please get 5 lemons for me. Don't forget, I need 5 Lemons... Our Cat Gamers Director should know what to do with them."; + close; + case 9: + setquest 5082; + mes "[Ser]"; + mes "Malangdo is a good place for a cat to live. But, it gets very hot when we play games."; + next; + mes "[Ser]"; + mes "When we are playing a lot, it gets really crazy hot, hard for us to bear. You know how hysterical we cats can be, right?"; + next; + mes "[Ser]"; + mes "Please get us either 10 Ice Pieces or 10 Ice Creams. Our Cat Gamers Director should know what to do with them."; + close; + case 10: + setquest 5083; + mes "[Ser]"; + mes "I can see that you also need some rest. Feel free to relax for a while. How about taking a walk around the village? I insist~!"; + next; + mes "[Ser]"; + mes "But, it is no fun to just walk around the village. Hmm... Right!! Why don't you go ahead and meet a cat named Eryu?"; + next; + mes "[Ser]"; + mes "Oh! And when you meet the cat, make sure to say 'Come back'. That is the password. And don't forget to tell our Director I was with you all the time!!"; + close; + case 11: + setquest 5085; + mes "[Ser]"; + mes "I can see that you also need some rest. Feel free to relax for a while. How about taking a walk around the village? I insist~!"; + next; + mes "[Ser]"; + mes "But, it is no fun to just walk around the village. Hmm... Right!! Why don't you go ahead and meet a cat named Stew?"; + next; + mes "[Ser]"; + mes "Oh! And when you meet the cat, make sure to say 'Come back'. That is the password. And don't forget to tell our Director I was with you all the time!!"; + close; + case 12: + setquest 5087; + mes "[Ser]"; + mes "I can see that you also need some rest. Feel free to relax for a while. How about taking a walk around the village? I insist~!"; + next; + mes "[Ser]"; + mes "But, it is no fun to just walk around the village. Hmm... Right!! Why don't you go ahead and meet a cat named Ketchup?"; + next; + mes "[Ser]"; + mes "Oh! And when you meet the cat, make sure to say 'Come back'. That is the password. And don't forget to tell our Director I was with you all the time!!"; + close; + case 13: + setquest 5089; + mes "[Ser]"; + mes "I can see that you also need some rest. Feel free to relax for a while. How about taking a walk around the village? I insist~!"; + next; + mes "[Ser]"; + mes "But, it is no fun to just walk around the village. Hmm... Right!! Why don't you go ahead and meet a cat named Eff?"; + next; + mes "[Ser]"; + mes "Oh! And when you meet the cat, make sure to say 'Come back'. That is the password. And don't forget to tell our Director I was with you all the time!!"; + close; + } +} + +mal_in01,86,222,4 script Paa#gamer 544,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + for(set .@i,5074; .@i<=5090; set .@i,.@i+1) { + if (checkquest(.@i) > -1) { + mes "[Paa]"; + mes "You haven't done what we asked you for meow. A promise is a promise, you know meow."; + next; + mes "[Paa]"; + mes "When you are done meow, please get checked by the Cat Gamers Director over there meow."; + close; + } + } + if (malang_gamer < 20) { + if (countitem(2872)) { + mes "[Paa]"; + mes "You seem like a first timer meow! Where did you get the certificate meow? Someone lost it, I guess meow."; + close; + } + mes "[Paa]"; + mes "When is our practicing partner coming meow? I am bored meow."; + close; + } + if (!isequipped(2872)) { + mes "[Paa]"; + mes "Oh, ^0000FF"+strcharinfo(0)+"^000000 meow? Want to play the Rock Paper Scissors game meow?"; + next; + mes "[Paa]"; + mes "... ... ..."; + next; + mes "[Paa]"; + mes "Where is your Cat Gamers Certificate meow? It seems like nothing, but you can't play this game without it meow!"; + next; + mes "[Paa]"; + mes "Go get the certificate meow."; + close; + } + if (checkquest(5070,PLAYTIME) == 0 || checkquest(5070,PLAYTIME) == 1) { + mes "[Paa]"; + mes "We can only play the game once a day meow. Come tomorrow meow."; + close; + } else if (checkquest(5070,PLAYTIME) == 2) + erasequest 5070; + mes "[Paa]"; + mes "Oh, ^0000FF"+strcharinfo(0)+"^000000 meow? Want to play the Rock Paper Scissors game meow?"; + next; + switch(select("Play the game.:Say hi.:Ask about the game rules.")) { + case 1: + mes "[Paa]"; + mes "Good idea meow."; + next; + break; + case 2: + mes "[Paa]"; + mes "Hello meow~ Nice to see you meow~"; + next; + mes "[Paa]"; + mes "Other games have one cat player. But, we have two for Rock Paper Scissors. You want to know why meow?"; + next; + mes "[Paa]"; + mes "Paa is kind meow. So, I'll tell you story meow."; + next; + mes "[Paa]"; + mes "Ser cat is my twin brother. I was born first, but he always says he is the elder meow. But, I don't fight with Ser meow. I am a good brother meow."; + next; + mes "[Paa]"; + mes "Anyways, me and Ser are well known as the pro gamer cat brothers meow. Everyone knows us meow."; + next; + mes "[Paa]"; + mes "You are free to admire me, meow. I give you permission meow."; + close; + case 3: + mes "[Paa]"; + mes "You want to know how to play this game meow? I'll teach you because I am a kind cat meow~"; + next; + mes "[Paa]"; + mes "You don't seem that stupid meow. So, let's skip the part about what beats what meow."; + next; + mes "[Paa]"; + mes "You must play 5 matches with me meow. We go again if the game is even meow."; + next; + mes "[Paa]"; + mes "If you win 3 times, I'll give you a present meow~ Cat Gamers Director said so meow."; + next; + mes "[Paa]"; + mes "That is all meow~ But it is not an easy game meow. Respect the game meow~"; + close; + } + setarray .@rps$[0], "Rock", "Paper", "Scissors"; + setarray .@emote[0], e_rock, e_paper, e_scissors; + setarray .@count$[0],"First","Second","Third","Fourth","Last"; + while(1) { + mes "[Paa]"; + mes .@count$[.@match]+" match ~~ meow."; + if (.@tie) { + mes "Result is even, so we play again meow."; + set .@tie,0; + } + mes "Try your best meow!"; + next; + mes "[Ser & "+strcharinfo(0)+"]"; + mes "Rock! Paper! Scissors!"; + next; + + set .@pc, select("Rock:Paper:Scissors")-1; + set .@npc, rand(3); + emotion .@emote[.@pc],1; + emotion .@emote[.@npc]; + mes "["+strcharinfo(0)+"] "+.@rps$[.@pc]; + mes "--------------------------------"; + mes "[Ser] "+.@rps$[.@npc]; + if (.@pc == .@npc) { + set .@tie,1; + set .@result$, "Hmm, we are even. Let's play again meow."; + } else if ((.@pc == 0 && .@npc == 2) || (.@pc == 1 && .@npc == 0) || (.@pc == 2 && .@npc == 1)) { + set .@match, .@match+1; + set .@win, .@win+1; + set .@result$, "I lost meow!"; + } else { + set .@match, .@match+1; + set .@loss, .@loss+1; + set .@result$, "So I win meow!!"; + } + next; + mes "[Paa]"; + mes "You were "+.@rps$[.@pc]+", I was "+.@rps$[.@npc]+"~"; + mes .@result$; + next; + if (.@match == 5) break; + } + mes "[Paa]"; + mes "Meow!! All 5 matches are over meow!!"; + next; + mes "[Paa]"; + mes "Let me see meow..."; + mes "I won "+.@loss+" times meow, and you, "+strcharinfo(0)+", won "+.@win+" times, right meow?"; + next; + if (.@win > .@loss) { + mes "[Paa]"; + mes "You won meow."; + next; + mes "Paa became polite all of a sudden."; + next; + mes "[Paa]"; + mes "Great game it was meow. I admire your enthusiasm for the game meow. So, I want to give you my precious Can as a present meow."; + next; + switch(select("I don't need it!:Thank you.")) { + case 1: + mes "[Paa]"; + mes "Just take it meow!! Do as I say meow~"; + break; + case 2: + mes "[Paa]"; + mes "You are polite meow. But, sadly this is all I can give you meow."; + break; + } + next; + mes "[Paa]"; + mes "Good bye meow~ Come back tomorrow for more practice meow~"; + if (.@win == 5) { + mes "Oh! You won all 5 matches meow. Here are some more extra Cans meow!"; + getitem 12636,10; //Malang_Sp_Can + } else + getitem 12636,5; //Malang_Sp_Can + setquest 5070; + close; + } + mes "[Paa]"; + mes "You lost. Meow... Meow..."; + next; + mes "Paa became very arrogant."; + next; + mes "[Paa]"; + mes "You want to play with me? Paa? With that skill of yours? Meow?"; + next; + mes "[Paa]"; + mes "What? Present meow? How can you ask for such a thing meow? You lost meow! Go practice more!! Work!! Yes, I should make you do this meow!!"; + next; + setquest 5070; + switch(rand(1,13)) { + case 1: + setquest 5074; + mes "[Paa]"; + mes "Hmm. Do you know a fish named Phen meow? Do you? Isn't it a delicious looking fish meow?"; + next; + mes "- Chrub -"; + mes "Paa wipes the drool from his mouth."; + next; + mes "[Paa]"; + mes "Go catch 30 Phens meow. And also get me 10 Fish Tails meow. Get them to our Director cat, and he will make a delicious dish with them meow."; + close; + case 2: + setquest 5075; + mes "[Paa]"; + mes "Lately, I've felt powerless and that there's too much weight on me meow. I should take care of my health meow."; + next; + mes "[Paa]"; + mes "Now it's time for some healthy food meow."; + next; + mes "[Paa]"; + mes "Get 50 Marse and 25 Milk to our Cat Gamers Director meow. He has excellent knowledge on healthy foods meow."; + close; + case 3: + setquest 5076; + mes "[Paa]"; + mes "We do have a rival, you know meow. They are 'Dog n Waltz', and everything goes wrong when they come around meow."; + next; + mes "[Paa]"; + mes "I would ask you to bully them, but I suppose that's illegal meow... So, I will ask you to harass similar looking monsters meow."; + next; + mes "[Paa]"; + mes "Oh, that archer among Kobolds meow!! I hate those the most. Go harass 30 Kobold Archers, and report to our Cat Gamers Director meow."; + close; + case 4: + setquest 5077; + mes "[Paa]"; + mes "What is most important for winning the game meow? It is quickness. What should we do to get faster meow?"; + next; + mes "[Paa]"; + mes "I've been thinking meow... The best way for us cats is obviously catching rats meow."; + next; + mes "[Paa]"; + mes "You know Cramp, right meow? That blue chubby creature meow... Please go catch 10 of them, and report to our Cat Gamers Director meow."; + close; + case 5: + setquest 5078; + mes "[Paa]"; + mes "Chrub... I want some bird cuisine meow. Which one would be most delicious meow?"; + next; + mes "[Paa]"; + mes "Picky? Ah! It's too small meow. How about Condor? I am not sure... Peco Peco meow?"; + next; + mes "[Paa]"; + mes "Alright meow! Please catch 50 Peco Pecos and get them to our Cat Gamers Director meow. We shall have a party with bird cuisine tonight meow."; + close; + case 6: + setquest 5079; + mes "[Paa]"; + mes "I get too nervous before the game meow. And I don't play well when I'm nervous meow. I need something to calm down before the game starts meow."; + next; + mes "[Paa]"; + mes "Oh! That's right meow! Yarn meow! I used to play with Yarn when I was young meow. Wasn't able to have that kind of relaxation after joining the 'Cat Gamers' meow."; + next; + mes "[Paa]"; + mes "Please get 20 Yarns for me meow. Why 20? There are many other cats with the same issue meow. Our Director should take care of this for you meow."; + close; + case 7: + setquest 5080; + mes "[Paa]"; + mes "Recently, our Director seems to have been trying to cut some expenses meow. Or is the manager taking advantage meow?"; + next; + mes "[Paa]"; + mes "Regular snacks for our players have been reduced meow. You should go get 30 Rat Tails, and give them to our Cat Gamers Director meow."; + next; + mes "[Paa]"; + mes "Then, we shall find out if our manager is being greedy or not meow."; + close; + case 8: + setquest 5081; + mes "[Paa]"; + mes "I am having a slump these days meow. I can't give my 100% to the game meow."; + next; + mes "[Paa]"; + mes "It is the lemon we need in times like this meow."; + next; + mes "[Paa]"; + mes "Get 5 lemons for me meow. Don't forget, I need 5 Lemons meow... Our Cat Gamers Director should know what to do with them meow."; + close; + case 9: + setquest 5082; + mes "[Paa]"; + mes "Malangdo is a good place for a cat to live meow. But, it gets very hot when we play games meow."; + next; + mes "[Paa]"; + mes "When we are playing a lot, it gets really crazy hot, hard for us to bear meow. You know how hysterical we cats can be, right meow?"; + next; + mes "[Paa]"; + mes "Get me either 10 Ice Pieces or 10 Ice Creams. Our Cat Gamers Director should know what to do with them meow."; + close; + case 10: + setquest 5083; + mes "[Paa]"; + mes "I can see that you also need some rest meow. Feel free to relax for a while meow. How about taking a walk around the village meow? I insist meow~!"; + next; + mes "[Paa]"; + mes "But, it is no fun to just walk around the village meow. Hmm... Right meow!! Why don't you go ahead and meet a cat named Eryu meow?"; + next; + mes "[Paa]"; + mes "Oh! And when you meet the cat, make sure to say 'Come back' meow. That is the password meow. And don't forget to tell our Director I was with you all the time meow!!"; + close; + case 11: + setquest 5085; + mes "[Paa]"; + mes "I can see that you also need some rest meow. Feel free to relax for a while meow. How about taking a walk around the village meow? I insist meow~!"; + next; + mes "[Paa]"; + mes "But, it is no fun to just walk around the village meow. Hmm... Right meow!! Why don't you go ahead and meet a cat named Stew meow?"; + next; + mes "[Paa]"; + mes "Oh! And when you meet the cat, make sure to say 'Come back' meow. That is the password meow. And don't forget to tell our Director I was with you all the time meow!!"; + close; + case 12: + mes "[Paa]"; + mes "I can see that you also need some rest meow. Feel free to relax for a while meow. How about taking a walk around the village meow? I insist meow~!"; + next; + mes "[Paa]"; + mes "But, it is no fun to just walk around the village meow. Hmm... Right meow!! Why don't you go ahead and meet a cat named Ketchup meow?"; + next; + mes "[Paa]"; + mes "Oh! And when you meet the cat, make sure to say 'Come back' meow. That is the password meow. And don't forget to tell our Director I was with you all the time meow!!"; + close; + case 13: + mes "[Paa]"; + mes "I can see that you also need some rest meow. Feel free to relax for a while meow. How about taking a walk around the village meow? I insist meow~!"; + next; + mes "[Paa]"; + mes "But, it is no fun to just walk around the village meow. Hmm... Right meow!! Why don't you go ahead and meet a cat named Eff meow?"; + next; + mes "[Paa]"; + mes "Oh! And when you meet the cat, make sure to say 'Come back' meow. That is the password meow. And don't forget to tell our Director I was with you all the time meow!!"; + close; + } +} + +mal_in01,91,222,4 script Kuka#gamer 422,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + for(set .@i,5074; .@i<=5090; set .@i,.@i+1) { + if (checkquest(.@i) > -1) { + mes "[Kuka]"; + mes "You haven't done what we asked you for yo~. A promise is a promise, you know yo~."; + next; + mes "[Kuka]"; + mes "When you are done, please get checked by the Cat Gamers Director over there yo.~"; + close; + } + } + if (malang_gamer < 20) { + if (countitem(2872)) { + mes "[Kuka]"; + mes "You seem like a first timer yo~ Where did you get the certificate yo~ You better give that back yo~"; + close; + } + mes "[Kuka]"; + mes "The Cat Gamers Director said a practicing partner is coming yo~ But, that human didn't show up yo~ I am bored yo~"; + close; + } + if (!isequipped(2872)) { + mes "[Kuka]"; + mes "Oh great member you, ^0000FF"+strcharinfo(0)+"^000000~ Let's play ChamChamCham yo~"; + next; + mes "[Kuka]"; + mes "... ... ..."; + next; + mes "[Kuka]"; + mes "But, you don't have the certificate yo~ Certificate helps you save the game record yo~ You must have it! yo~"; + next; + mes "[Kuka]"; + mes "Please go get the certificate yo~"; + close; + } + if (checkquest(5071,PLAYTIME) == 0 || checkquest(5071,PLAYTIME) == 1) { + mes "[Kuka]"; + mes "Is it not tomorrow yet yo~ You can play one game a day yo~ Come back tomorrow yo~"; + close; + } else if (checkquest(5071,PLAYTIME) == 2) + erasequest 5071; + mes "[Kuka]"; + mes "Oh great member you, ^0000FF"+strcharinfo(0)+"^000000~ Let's play ChamChamCham yo~"; + next; + switch(select("Play the game.:Ask who is 1st place.:Ask about the game rules.")) { + case 1: + mes "[Kuka]"; + mes "Good choice yo~"; + next; + break; + case 2: + // custom condition + if (!$malangdo_gamer) { + mes "[Kuka]"; + mes "No one holds a record for the ChamChamCham game yo~"; + mes "You could be the first yo~"; + close; + } + mes "[Kuka]"; + mes "Current 1st place for the ChamChamCham game is"; + mes "^0000FF"+$malangdo_gamer$+"^000000 with ^DE2B21"+$malangdo_gamer+"^000000 winning streak yo~"; + if (strcharinfo(0) == $malangdo_gamer$) + mes "Never know when someone else would break the record yo~"; + else + mes "I expect that you, "+strcharinfo(0)+", can beat ^0000FF"+$malangdo_gamer$+"^000000 sometime yo~"; + close; + case 3: + mes "[Kuka]"; + mes "ChamChamCham game rules are very simple yo~"; + mes "Just direct your hand towards the direction where I direct my face yo~"; + next; + cutin "g_cat_01",4; + mes "[Kuka]"; + mes "Like this yo~"; + next; + cutin "g_cat_03",4; + mes "[Kuka]"; + mes "Or like that yo~"; + next; + cutin "",255; + mes "[Kuka]"; + mes "A present is available for 3 wins yo~"; + mes "If you beat the previous record, you get a bigger present yo~"; + next; + mes "[Kuka]"; + mes "See you at the practice yo~"; + close; + } + while(1) { + cutin "g_cat_00",4; + mes "[Kuka & "+strcharinfo(0)+"]"; + mes "Cham!"; + next; + mes "[Kuka & "+strcharinfo(0)+"]"; + mes "Cham! Cham!"; + next; + mes "[Kuka & "+strcharinfo(0)+"]"; + mes "Cham! Cham! Cham!"; + next; + switch(select("Hand towards left:Hand towards right")) { + case 1: + if (rand(1000) < 500) { + cutin "g_cat_01",4; + set .@win, .@win+1; + } else { + cutin "g_cat_02",4; + set .@loss,1; + } + break; + case 2: + if (rand(1000) < 500) { + cutin "g_cat_03",4; + set .@win, .@win+1; + } else { + cutin "g_cat_04",4; + set .@loss,1; + } + break; + } + if (.@loss) { + mes "[Kuka]"; + mes "Hehe~ I won yo~ I feel good yo~"; + next; + cutin "",255; + break; + } + mes "[Kuka]"; + mes "Well~ I lost yo~ Let's practice more yo~"; + next; + cutin "",255; + mes "[Kuka]"; + mes strcharinfo(0)+" has won "+.@win+" times yo~ Next game starts yo~"; + next; + } + if (.@win == 0) { + // fall through + } else if (.@win > 0 && .@win < 3) { + setquest 5071; + mes "[Kuka]"; + mes "After the practice, "+strcharinfo(0)+" has won "+.@win+" in a row yo~"; + mes "Present is for 3 wins or more yo~ Nothing for today yo~ But, come again tomorrow yo~"; + close; + } else { + set .@name_record$, $malangdo_gamer$; + set .@win_record, $malangdo_gamer; + set .@win_cnt, .@win-.@win_record; + set .@cans, .@win-2; + if (.@win > .@win_record) { + set $malangdo_gamer$, strcharinfo(0); + set $malangdo_gamer, .@win; + mes "[Kuka]"; + mes "Congrats yo~ You won ^DE2B21"+.@win+"^000000 in a row yo~"; + if (strcharinfo(0) == .@name_record$) + mes "You won ^DE2B21"+.@win_cnt+"^000000 more than the recent ^DE2B21"+.@win_record+"^000000 record yo~ Congrats yo~"; + // custom conditions + //else + else if (.@win_record) + mes "And you have won ^DE2B21"+.@win_cnt+"^000000 more than ^0000FF"+.@name_record$+"^000000's ^DE2B21"+.@win_record+"^000000 winning streak yo~ New record yo~ Congrats yo~"; + else + mes "A new record yo~ Congrats yo~"; + next; + mes "[Kuka]"; + mes "I'll give you 1 random coin pocket as a special present yo~ Well done yo~ Come back tomorrow yo~"; + setquest 5071; + getitem 12636, .@cans; //Malang_Sp_Can + getitem 12621,1; //Egrade_Pocket + close; + } else { + mes "[Kuka]"; + mes "Congrats yo~ For winning "+.@win+" times I'll give you "+.@cans+" cans yo~ Well done yo~ Come back tomorrow yo~"; + setquest 5071; + getitem 12636, .@cans; //Malang_Sp_Can + close; + } + } + mes "[Kuka]"; + mes strcharinfo(0)+" didn't win at all yo~ You must work it out yo~"; + next; + setquest 5071; + switch(rand(1,13)) { + case 1: + setquest 5074; + mes "[Kuka]"; + mes "Kuka wants you to catch delicious Phens yo~"; + next; + mes "- Chrub -"; + mes "Kuka wipes the drool from his mouth."; + next; + mes "[Kuka]"; + mes "Catch 30 Phens yo~ And also get me 10 Fish Tails yo~ Get them to our Director Cat, and he will make a delicious dish with them yo~"; + close; + case 2: + setquest 5075; + mes "[Kuka]"; + mes "Lately, I've felt powerless and that there's too much weight on me yo~ I should take care of my health yo~"; + next; + mes "[Kuka]"; + mes "Now it's time for some healthy food yo~"; + next; + mes "[Kuka]"; + mes "Get 50 Marse and 25 Milk to our Cat Gamers Director yo~. He has excellent knowledge on healthy foods yo~."; + close; + case 3: + setquest 5076; + mes "[Kuka]"; + mes "We have a rival yo~ 'Dog n Waltz' yo~"; + next; + mes "[Kuka]"; + mes "I want to harass similar goons yo~"; + next; + mes "[Kuka]"; + mes "There is an archer among Kobolds yo~ Harass 30 Kobold Archers and report to our Cat Gamers Director yo~"; + close; + case 4: + setquest 5077; + mes "[Kuka]"; + mes "Quickness is very important for winning the game yo~ Work on quickness yo~"; + next; + mes "[Kuka]"; + mes "Mouse catching is the best work out for quickness training yo~"; + next; + mes "[Kuka]"; + mes "Catch 10 blue and chubby Cramps, and report to our Cat Gamers Director yo~"; + close; + case 5: + setquest 5078; + mes "[Kuka]"; + mes "I crave bird cuisine yo~ Bird cuisine is so delicious yo~"; + next; + mes "[Kuka]"; + mes "Picky is too small and Condor is not tasty yo~ How about Peco Peco yo~?"; + next; + mes "[Kuka]"; + mes "Ok yo~ Catch 50 Peco Pecos and report to our Cat Gamers Director yo~ Tonight, we will have a bird cuisine party yo~"; + close; + case 6: + setquest 5079; + mes "[Kuka]"; + mes "I get too nervous before the game yo~. And I don't play well when I am nervous yo~. I need something to calm down before the game starts yo~."; + next; + mes "[Kuka]"; + mes "Yarn is very useful for relaxing yo~"; + next; + mes "[Kuka]"; + mes "Get 20 Yarns yo~ There are many other cats with the same issue yo~ The Cat Gamers Director will take care of them yo~"; + close; + case 7: + setquest 5080; + mes "[Kuka]"; + mes "Recently, our Director seems to have been trying to cut some expenses yo~ Or maybe the Manager Cat is taking advantage yo~"; + next; + mes "[Kuka]"; + mes "Regular snacks for our players have been reduced yo~ "+strcharinfo(0)+" should go get 30 Rat Tails, and report to our Cat Gamers Director yo~"; + next; + mes "[Kuka]"; + mes "Then, we shall find out if our manager is being greedy or not yo~"; + close; + case 8: + setquest 5081; + mes "[Kuka]"; + mes "I am having a slump these days yo~ I can't give my 100% to the game."; + next; + mes "[Kuka]"; + mes "It is the lemon we need in times like this yo~"; + next; + mes "[Kuka]"; + mes "Get 5 lemons for me yo~ Don't forget, I need 5 Lemons yo~ Our Cat Gamers Director should know what to do with them yo~"; + close; + case 9: + setquest 5082; + mes "[Kuka]"; + mes "Malangdo is a good place for a cat to live yo~ But, it gets very hot when we play games yo~"; + next; + mes "[Kuka]"; + mes "When we are playing a lot, it gets really crazy hot yo~ Crazy cats are scary yo~ We need Ice Pieces or Ice Cream yo~"; + next; + mes "[Kuka]"; + mes "Get us either 10 Ice Pieces or 10 Ice Creams, and report to our Cat Gamers Director yo~"; + close; + case 10: + setquest 5083; + mes "[Kuka]"; + mes "Cat Gamers Director's order yo~ Find Eryu who is afraid of the Director yo~"; + next; + mes "[Kuka]"; + mes "You must find Eryu, and tell him 'Come back' yo~ report to our Cat Gamers Director yo~"; + close; + case 11: + setquest 5085; + mes "[Kuka]"; + mes "Cat Gamers Director's order yo~ Find Stew who is afraid of the Director yo~"; + next; + mes "[Kuka]"; + mes "You must find Stew, and tell him 'Come back' yo~ report to our Cat Gamers Director yo~"; + close; + case 12: + setquest 5087; + mes "[Kuka]"; + mes "Cat Gamers Director's order yo~ Find Ketchup who is afraid of the Director yo~"; + next; + mes "[Kuka]"; + mes "You must find Ketchup, and tell him 'Come back' yo~ report to our Cat Gamers Director yo~"; + close; + case 13: + setquest 5089; + mes "[Kuka]"; + mes "Cat Gamers Director's order yo~ Find Eff who is afraid of the Director yo~"; + next; + mes "[Kuka]"; + mes "You must find Eff, and tell him 'Come back' yo~ report to our Cat Gamers Director yo~"; + close; + } +} + +mal_in01,134,221,4 script KungKung#gamer 422,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + for(set .@i,5074; .@i<=5090; set .@i,.@i+1) { + if (checkquest(.@i) > -1) { + mes "[KungKung]"; + mes "You didn't keep your promise. I have no business with you."; + close; + } + } + if (malang_gamer < 20) { + if (countitem(2872)) { + mes "[KungKung]"; + mes "You are not qualified. Hmm... I am not sure how you got this, but we cannot practice with you. Go back."; + close; + } + mes "[KungKung]"; + mes "Do not bother me. I am waiting for my practicing partner."; + close; + } + if (!isequipped(2872)) { + mes "[KungKung]"; + mes "Are you the practice partner? You are late. Let's start right away."; + next; + mes "[KungKung]"; + mes "... ... ..."; + next; + mes "[KungKung]"; + mes "Where is your certificate? You cannot practice with us unless you have that certificate. Go get it."; + close; + } + if (checkquest(5072,PLAYTIME) == 0 || checkquest(5072,PLAYTIME) == 1) { + mes "[KungKung]"; + mes "You don't have a watch? Or can't read the time? It's not the time yet."; + close; + } else if (checkquest(5072,PLAYTIME) == 2) + erasequest 5072; + mes "[KungKung]"; + mes "Are you the practice partner? You are late. Let's start right away."; + next; + switch(select("Play the game.:Ask current 1st place.:Ask about the game rules.")) { + case 1: + mes "[KungKung]"; + mes "Before the game, we will decide the turn by rolling a dice."; + next; + break; + case 2: + mes "[KungKung]"; + mes "Why do you want to know the 1st place? KongNyangKong is a brutal and tough match game. Kuka should know such thing!"; + close; + case 3: + mes "[KungKung]"; + mes "You want to learn the game rules?"; + mes "You seem to have a polite way of asking things."; + mes "Listen carefully."; + next; + mes "[KungKung]"; + mes "KongNyangKong has different play rules when attacking and defending."; + next; + mes "[KungKung]"; + mes "When attacking, you must turn your hand to the same side as your opponent in order to complete the attack."; + next; + cutin "cat_g_01",4; + mes "[KungKung]"; + mes "If we turn our hands the same way like this, then your attack is successful."; + next; + cutin "",255; + mes "[KungKung]"; + mes "For defending, you must turn your hand to the opposite side of your opponent in order to defend yourself."; + next; + cutin "cat_g_06",4; + mes "[KungKung]"; + mes "Yes! If you turn your hand opposite to mine like that, you have succeeded defending yourself."; + next; + cutin "",255; + mes "[KungKung]"; + mes "If you are clever enough, you should know that the bottom hand is the attacker's hand."; + next; + mes "[KungKung]"; + mes "Last!! Most important rule."; + mes "Once you succeed attacking, you can continue attacking your opponent."; + mes "When you fail, then you are on the defending side."; + mes "Do not forget this!"; + next; + mes "[KungKung]"; + mes "You can ask about the KongNyangKong rules anytime you want!"; + mes "Our Manager Cat also knows all about the KongNyangKong rules."; + mes "That is all!"; + close; + } + while(1) { + set .@pc_dic, rand(6); + set .@npc_dic, rand(6); + + // Emote[58-63]: + // e_dice1, e_dice2, e_dice3, e_dice4, e_dice5, e_dice6 + emotion 58+.@pc_dic,1; + emotion 58+.@npc_dic; + + if (.@pc_dic > .@npc_dic) { + mes "[KungKung]"; + mes "Your dice roll number is higher. You can attack first."; + set .@attack_turn,1; + next; + break; + } else if (.@pc_dic < .@npc_dic) { + mes "[KungKung]"; + mes "My dice roll number is higher. I will attack first."; + set .@attack_turn,2; + next; + break; + } else { + mes "[KungKung]"; + mes "We have even numbers. Let's roll the dice once again."; + next; + } + } + set .@pc_hp,100; + set .@npc_hp,100; + while(1) { + if (!.@pc_hp || !.@npc_hp) break; + mes strcharinfo(0)+" (^FF0000"+.@pc_hp+"^000000/100)"; + mes "--------------------------------"; + mes "KungKung (^FF0000"+.@npc_hp+"^000000/100)"; + next; + mes "[KungKung & "+strcharinfo(0)+"]"; + mes "Kong!"; + emotion e_loud,1; + emotion e_loud; + next; + mes "[KungKung & "+strcharinfo(0)+"]"; + mes "Kong! Nyang!"; + emotion e_loud,1; + emotion e_loud; + next; + mes "[KungKung & "+strcharinfo(0)+"]"; + mes "Kong! Nyang! Kong!"; + emotion e_loud,1; + emotion e_loud; + next; + set .@cat_hand, rand(1,10); + switch(.@attack_turn) { + case 1: // Attack + mes "How would you like to attack?"; + mes " "; + mes "¡¡ Tip !!"; + mes "Choose back: ^FF0000You win if the cat shows the back of its paw.^000000"; + mes "Choose palm: ^FF0000You win if the cat shows the palm of its paw.^000000"; + next; + switch(select("Back:Palm")) { + case 1: + if (.@cat_hand <= 5) { + set .@npc_hp, .@npc_hp-10; + cutin "cat_g_01",4; + specialeffect EF_BASH; + mes "Attack was successful."; + mes "You have slapped the back of KungKung's paw."; + next; + cutin "",255; + } else { + set .@attack_turn,2; + cutin "cat_g_02",4; + mes "Attack has failed."; + mes "KungKung starts attack now."; + next; + cutin "",255; + } + break; + case 2: + if (.@cat_hand <= 5) { + set .@attack_turn,2; + cutin "cat_g_03",4; + mes "Attack has failed."; + mes "KungKung starts attack now."; + next; + cutin "",255; + } else { + set .@npc_hp, .@npc_hp-10; + cutin "cat_g_04",4; + specialeffect EF_BASH; + mes "Attack was successful."; + mes "You have slapped the back of KungKung's paw."; + next; + cutin "",255; + } + break; + } + break; + case 2: // Defend + mes "How would you like to defend?"; + mes " "; + mes "¡¡ Tip !!"; + mes "Choose back: ^FF0000You win if the cat shows the back of its paw.^000000"; + mes "Choose palm: ^FF0000You win if the cat shows the palm of its paw.^000000"; + next; + switch(select("Back:Palm")) { + case 1: + if (.@cat_hand <= 5) { + set .@pc_hp, .@pc_hp-10; + cutin "cat_g_05",4; + specialeffect2 EF_BASH; + mes "Defending has failed."; + mes "KungKung attacks the back of your hand with its sharp claw."; + next; + cutin "",255; + } else { + set .@attack_turn,1; + cutin "cat_g_06",4; + mes "Defending was succesful."; + mes "You can start attack now."; + next; + cutin "",255; + } + break; + case 2: + if (.@cat_hand <= 5) { + set .@attack_turn,1; + cutin "cat_g_07",4; + mes "Defending was succesful."; + mes "You can start attack now."; + next; + cutin "",255; + } else { + set .@pc_hp, .@pc_hp-10; + cutin "cat_g_08",4; + specialeffect2 EF_BASH; + mes "Defending has failed."; + mes "KungKung attacks the back of your hand with its sharp claw."; + next; + cutin "",255; + } + break; + } + break; + } + } + if (.@npc_hp == 0) { + mes "[KungKung]"; + mes "I lost. It was good game indeed."; + mes "A win would have been better, but I am too busy to look back at the past."; + next; + cutin "cat_g_lose",4; + mes "[KungKung]"; + mes "Sob..."; + emotion e_sob; + next; + cutin "",255; + mes "[KungKung]"; + mes "Hmm... That wasn't necessary, I guess."; + mes "This is for you, Human!"; + setquest 5072; + getitem 12636,5; //Malang_Sp_Can + next; + mes "[KungKung]"; + mes "Come again tomorrow. I will beat you next time."; + close2; + cutin "",255; + end; + } + cutin "cat_g_win",4; + mes "[KungKung]"; + mes "I won. It was a boring match."; + mes "You need to practice more. Maybe some extra work will help."; + next; + setquest 5072; + switch(rand(1,13)) { + case 1: + setquest 5074; + mes "[KungKung]"; + mes "Catch the delicious fish Phen."; + next; + mes "[KungKung]"; + mes "Go catch 30 Phens. And also get me 10 Fish Tails. Give them to our Director cat, and he will make a delicious dish with them."; + break; + case 2: + setquest 5075; + mes "[KungKung]"; + mes "I may have worked out too much... I feel powerless and that there's too much weight on me. I should take care of my health."; + next; + mes "[KungKung]"; + mes "I am already 10 years old, so it's time for some healthy food."; + next; + mes "[KungKung]"; + mes "Get 50 Marse and 30 Milk to our Cat Gamers Director. He has excellent knowledge on healthy foods."; + break; + case 3: + setquest 5076; + mes "[KungKung]"; + mes "We have a rival. The 'Dog n Waltz' team... Everything goes wrong when they come around."; + next; + mes "[KungKung]"; + mes "I want to ask you to bully them, but that's illegal..."; + next; + mes "[KungKung]"; + mes "Go harass 30 Kobold Archers instead of 'Dog n Waltz', and report to our Cat Gamers Director."; + break; + case 4: + setquest 5077; + mes "[KungKung]"; + mes "Quickness is most important for winning the game. For better quickness..."; + next; + mes "[KungKung]"; + mes "Catching mice is best. It's Cramp hunting time."; + next; + mes "[KungKung]"; + mes "Catch 10 Cramps, and report to our Cat Gamers Director."; + break; + case 5: + setquest 5078; + mes "[KungKung]"; + mes "I want some bird cuisine. Have you tasted any before?"; + next; + mes "[KungKung]"; + mes "Peco Peco sounds delicious to me. I don't like eating alone, so..."; + next; + mes "[KungKung]"; + mes "Catch 50 Peco Pecos, and report to our Cat Gamers Director. We all can have a dinner party with Peco Peco cuisine."; + break; + case 6: + setquest 5079; + mes "[KungKung]"; + mes "Being calm is the key to winning important matches."; + next; + mes "[KungKung]"; + mes "There's not a single cat who hasn't played with Yarn when they were young."; + next; + mes "[KungKung]"; + mes "Get 20 Yarns, and report to our Cat Gamers Director. It will help improve our team's ability."; + break; + case 7: + setquest 5080; + mes "[KungKung]"; + mes "I have a strong belief that our Manager Cat is taking advantage of our snacks."; + next; + mes "[KungKung]"; + mes "All we need is evidence... Get 30 Rat Tails, and report to our Cat Gamers Director."; + next; + mes "[KungKung]"; + mes "Then, we shall find out whether or not Manager Cat was doing something wrong."; + break; + case 8: + setquest 5081; + mes "[KungKung]"; + mes "Practice was ok, but I seem to be having a slump these days."; + next; + mes "[KungKung]"; + mes "We need to have some Lemon in times like this."; + next; + mes "[KungKung]"; + mes "Get 5 Lemons to our Cat Gamers Director. He'll know what to do."; + break; + case 9: + setquest 5082; + mes "[KungKung]"; + mes "Malangdo is a good place for a cat to live. But, it gets hot easily."; + next; + mes "[KungKung]"; + mes "On a hot days like this, we could use some Ice Pieces or Ice Cream."; + next; + mes "[KungKung]"; + mes "Get either 10 Ice Pieces or 10 Ice Creams. Our Cat Gamers Director should know what to do with them."; + break; + case 10: + setquest 5083; + mes "[KungKung]"; + mes "Our Cat Gamers Director asked this. I should make you do this errand."; + next; + mes "[KungKung]"; + mes "Find Eryu the cat from Malangdo, and say 'Come back' loud and clear."; + next; + mes "[KungKung]"; + mes "Afterwards, you can report to our Cat Gamers Director. Off you go!!"; + break; + case 11: + setquest 5085; + mes "[KungKung]"; + mes "Our Cat Gamers Director asked this. I should make you do this errand."; + next; + mes "[KungKung]"; + mes "Find Stew the cat from Malangdo, and say 'Come back' loud and clear."; + next; + mes "[KungKung]"; + mes "Afterwards, you can report to our Cat Gamers Director. Off you go!!"; + break; + case 12: + setquest 5087; + mes "[KungKung]"; + mes "Our Cat Gamers Director asked this. I should make you do this errand."; + next; + mes "[KungKung]"; + mes "Find Ketchup the cat from Malangdo, and say 'Come back' loud and clear."; + next; + mes "[KungKung]"; + mes "Afterwards, you can report to our Cat Gamers Director. Off you go!!"; + break; + case 13: + setquest 5089; + mes "[KungKung]"; + mes "Our Cat Gamers Director asked this. I should make you do this errand."; + next; + mes "[KungKung]"; + mes "Find Eff the cat from Malangdo, and say 'Come back' loud and clear."; + next; + mes "[KungKung]"; + mes "Afterwards, you can report to our Cat Gamers Director. Off you go!!"; + break; + } + close2; + cutin "",255; + end; +} + +mal_in01,133,214,6 script Leader#gamer 546,{ + if (MaxWeight - Weight < 1000) { + mes "Your inventory is too heavy to proceed. Come back after lightening your load."; + close; + } + if (checkweight(1201,1) == 0) { + mes "Your inventory is too full to proceed. Come back after reducing your load."; + close; + } + for(set .@i,5074; .@i<=5090; set .@i,.@i+1) { + if (checkquest(.@i) > -1) { + mes "[Leader]"; + mes "You cannot challenge this Flag Game unless you are done with your assigned work."; + close; + } + } + if (malang_gamer < 20) { + if (countitem(2872)) { + mes "[Leader]"; + mes "Not everyone can challenge just because they have the certificate."; + close; + } + mes "[Leader]"; + mes "Ok, let's practice until a challenger comes!!"; + close; + } + if (!isequipped(2872)) { + mes "[Leader]"; + mes "Do you want to challege?"; + next; + mes "[Leader]"; + mes "... ... ..."; + next; + mes "[Leader]"; + mes "You cannot challenge this Flag Game unless you are wearing our certificate item. Please come back later."; + close; + } + if (checkquest(5073) == 0 || checkquest(5073) == 1) { + mes "[Leader]"; + mes "The Flag Game is only available once a day."; + close; + } else if (checkquest(5073) == 2) + erasequest 5073; + mes "[Leader]"; + mes "Do you want to challege?"; + next; + switch(select("Challenge.:Who are you?:Ask about the rules.")) { + case 1: + mes "[Leader]"; + mes "Let's challenge the Flag Game. Please wait while our cats get prepared."; + next; + break; + case 2: + mes "[Leader]"; + mes "Oh! I retired from 'Cat Gamers', and am working on a national game referee license. Licenses are the new trend these days."; + next; + mes "[Leader]"; + mes "A referee must use standard language... So it was very hard for me to stop crying meow meow~ like other cats."; + next; + mes "[Leader]"; + mes "I know the game rules for players for sure, but refereeing the game is a lot harder than it seems."; + next; + mes "[Leader]"; + mes "Sometimes I do make mistakes, and people go crazy like it's the end of world. What a hard job this is."; + next; + mes "[Leader]"; + mes "But, I want to finish this course, and be the world's best referee ever."; + next; + mes "[Leader]"; + mes "You can bet on it!!"; + close; + case 3: + mes "[Leader]"; + mes "Allow me to explain the rule for the Flag-Waving Game."; + next; + mes "[Leader]"; + mes "You play with 5 other cats."; + mes "Wait and wave the flag when no others are waving it."; + next; + mes "[Leader]"; + mes "You start with 5 Flag Points, and each time you wave the flag 1 point vanishes."; + mes "When your points hit 0, the game ends."; + next; + mes "[Leader]"; + mes "There's a special rule for this Flag Game. For more thrill, we reduce 1 point if you do not wave your flag for 10 games."; + next; + mes "[Leader]"; + mes "You will get bigger presents as you win with less Flag Points used."; + next; + mes "[Leader]"; + mes "Come back anytime if you need more help with the game rules. Our Manager Cat is also available for some help with the game rules."; + close; + } + + // Starting Flag Points (default 5). + set .@flag_point,5; + setarray .@flag_point_cat[1],5,5,5,5,5; + + // Cat players' names. + setarray .@npc_name$[1], + "Debong#gamer","Seichi#gamer","Libs#gamer","Row#gamer","YongYong#gamer"; + setarray .@cat_name$[1], + "Debong","Seichi","Annoying Libs","Row","YongYong"; + setarray .@cat_desc$[1], + " who likes to pick hair"," the observer",""," who likes to show off"," who likes to droop"; + + // Emotions displayed when cats' flags not waved. + setarray .@cat_emote[1], + e_ho,e_no,e_an,e_no1,e_spin; + + // .@cat_action[] when cats' flags are not waved. + setarray .@cat_emotes$[1], + "1|3|5|7", // Picking hair + "2|4|6|8", // Looking around + "1|3|6|8", // Getting annoyed + "2|4|5|7", // Showing off + "3|4|5|6"; // Drooping + + while(1) { + for(set .@i,1; .@i<=5; set .@i,.@i+1) + set .@cat_action[.@i], ((.@flag_point_cat[.@i])?rand(1,8):0); + + switch(.@cat_action[1]) { + case 0: set .@cat_mes$[1], "cannot do anything with all points used"; break; + case 1: set .@cat_mes$[1], "focuses on hair picking, careless for the game"; break; + case 2: set .@cat_mes$[1], "looks around with round eyes"; break; + case 3: set .@cat_mes$[1], "picks out hair around the front paw"; break; + case 4: set .@cat_mes$[1], "is getting annoyed at tails smacking on the ground"; break; + case 5: set .@cat_mes$[1], "picks his hair while looking around"; break; + case 6: set .@cat_mes$[1], "shows off his front paw to the Leader Cat"; break; + case 7: set .@cat_mes$[1], "is picking some hair on his belly with a calm mind"; break; + case 8: set .@cat_mes$[1], "is drooping down with a pleasant face"; break; + } + switch(.@cat_action[2]) { + case 0: set .@cat_mes$[2], "cannot do anything with all points used"; break; + case 1: set .@cat_mes$[2], "picks out hair around the front paw"; break; + case 2: set .@cat_mes$[2], "looks around with round eyes"; break; + case 3: set .@cat_mes$[2], "is getting annoyed with the Leader Cat"; break; + case 4: set .@cat_mes$[2], "observes flies flying around"; break; + case 5: set .@cat_mes$[2], "shows off picked hair proudly"; break; + case 6: set .@cat_mes$[2], "observes Leader Cat's tail curiously"; break; + case 7: set .@cat_mes$[2], "looks at you with drooping eyes"; break; + case 8: set .@cat_mes$[2], "is checking you out with a weird glimmer"; break; + } + switch(.@cat_action[3]) { + case 0: set .@cat_mes$[3], "cannot do anything with all points used"; break; + case 1: set .@cat_mes$[3], "is getting annoyed at tails smacking on the ground"; break; + case 2: set .@cat_mes$[3], "observes Leader Cat's tail curiously"; break; + case 3: set .@cat_mes$[3], "is getting annoyed while picking his hair"; break; + case 4: set .@cat_mes$[3], "scratches with a drooping face"; break; + case 5: set .@cat_mes$[3], "catches a flying fly and shows off"; break; + case 6: set .@cat_mes$[3], "is getting irritable with a tired face"; break; + case 7: set .@cat_mes$[3], "picks his hair while looking around"; break; + case 8: set .@cat_mes$[3], "is getting annoyed with the Leader Cat"; break; + } + switch(.@cat_action[4]) { + case 0: set .@cat_mes$[4], "cannot do anything with all points used"; break; + case 1: set .@cat_mes$[4], "is picking some hair on his belly with a calm mind"; break; + case 2: set .@cat_mes$[4], "shows off his front paw to the Leader Cat"; break; + case 3: set .@cat_mes$[4], "is getting irritable with a tired face"; break; + case 4: set .@cat_mes$[4], "catches a flying fly and shows off"; break; + case 5: set .@cat_mes$[4], "shows off an attractive tail"; break; + case 6: set .@cat_mes$[4], "is drooping and mumbling"; break; + case 7: set .@cat_mes$[4], "shows off picked hair proudly"; break; + case 8: set .@cat_mes$[4], "is checking you out with a weird glimmer"; break; + } + switch(.@cat_action[5]) { + case 0: set .@cat_mes$[5], "cannot do anything with all points used"; break; + case 1: set .@cat_mes$[5], "is fighting with his tail"; break; + case 2: set .@cat_mes$[5], "is scratching with his hind foot"; break; + case 3: set .@cat_mes$[5], "is drooping down with a pleasant face"; break; + case 4: set .@cat_mes$[5], "checks you out with a drooping face"; break; + case 5: set .@cat_mes$[5], "scratches with a drooping face"; break; + case 6: set .@cat_mes$[5], "is drooping and mumbling"; break; + case 7: set .@cat_mes$[5], "is lying around~"; break; + case 8: set .@cat_mes$[5], "is doing nothing"; break; + } + + switch(rand(3)) { + case 0: set .@tip$, "You can predict if the cat will wave the flag or not with 'Observe cats'."; break; + case 1: set .@tip$, "1 Flag Point will be deducted if you choose 'Wave flag'."; break; + case 2: set .@tip$, "Choosing 'Wait', you can check the results and move on to the next game."; break; + } + while(1) { + mes "[Leader]"; + mes "Cats are now all prepared."; + mes "What will you do?"; + mes " "; + mes "Tip: ^F86A08"+.@tip$+"^000000"; + next; + set .@choice, select("Observe cats:Wave flag:Wait"); + switch(.@choice) { + case 1: + mes "Observing cats..."; + next; + for(set .@i,1; .@i<=5; set .@i,.@i+1) { + mes "[------ Observing cats ------]"; + mes .@cat_name$[.@i]+.@cat_desc$[.@i]+" ^FF0000"+.@cat_mes$[.@i]+"^000000."; + next; + } + break; + case 2: + set .@flag_point, .@flag_point-1; + set .@you_flag,1; + break; + case 3: + break; + } + if (.@choice != 1) break; + } + set .@round, .@round+1; + set .@rounds_nowave, .@rounds_nowave+1; + if (.@you_flag == 1) { + set .@you_flag$, "You waved the flag"; + set .@emotion[0], e_korea; + } else { + set .@you_flag$, "You didn't wave the flag"; + set .@emotion[0], e_swt2; + } + for(set .@i,1; .@i<=5; set .@i,.@i+1) { + if (.@flag_point_cat[.@i] == 0) { + set .@cat_flag$[.@i], "Not enough Flag Points, could not wave"; + set .@emotion[.@i], e_ho; + } else { + if (compare(.@cat_emotes$[.@i],""+.@cat_action[.@i])) { + set .@cat_flag$[.@i], "Didn't wave"; + set .@emotion[.@i], .@cat_emote[.@i]; + } else { + set .@cat_flag$[.@i], "Did wave"; + set .@flag_point_cat[.@i], .@flag_point_cat[.@i]-1; + set .@cat_flags_waved, .@cat_flags_waved+1; + set .@emotion[.@i], e_korea; + } + } + } + mes "[Leader]"; + mes "Game ^C1653E"+.@round+"^000000 results..."; + next; + mes "[Leader]"; + mes "~ Flag Game challenger "+strcharinfo(0)+" ~"; + mes "^FF0000"+.@you_flag$+"^000000 for game ^C1653E"+.@round+"^000000."; + mes .@flag_point+" Flag Point remaining."; + emotion .@emotion[0],1; + next; + for(set .@i,1; .@i<=5; set .@i,.@i+1) { + mes "[Leader]"; + mes "~ "+.@cat_name$[.@i]+.@cat_desc$[.@i]+" ~"; + mes "^FF0000"+.@cat_flag$[.@i]+"^000000 the flag for game ^C1653E"+.@round+"^000000."; + mes .@flag_point_cat[.@i]+" Flag Point remaining for "+.@cat_name$[.@i]+"."; + emotion .@emotion[.@i],0,.@npc_name$[.@i]; + next; + } + if (.@you_flag == 1) { + set .@rounds_nowave,0; + if (.@cat_flags_waved == 0) { + // You win. + break; + } else if (.@flag_point == 0) { + // You lose. + mes "[Leader]"; + mes "You have used all your Flag Points."; + next; + break; + } else { + set .@you_flag,0; + mes "[Leader]"; + mes "You have failed at flag waving."; + mes .@flag_point+" Flag Point remaining."; + next; + mes "[Leader]"; + mes "Let's move on to the next game."; + next; + mes "... ... ... ..."; + next; + } + } else { + if (.@cat_flags_waved == 5) { + mes "[Leader]"; + mes "Congrats "+strcharinfo(0)+". You have succeed on not waving your flag."; + next; + mes "[Leader]"; + mes "But! This is flag waving game, so this doesn't count."; + next; + } else { + if (.@rounds_nowave == 10) { + set .@rounds_nowave,0; + set .@flag_point, .@flag_point-1; + mes "[Leader]"; + mes "Since you didn't wave your flag for 10 games, 1 Flag Point will be reduced according to the official Flag Game rules."; + next; + if (.@flag_point == 0) { + // You lose. + mes "[Leader]"; + mes "You have used all your Flag Points."; + next; + break; + } else { + mes "[Leader]"; + mes .@flag_point+" Flag Point remaining."; + next; + } + } else { + mes "[Leader]"; + mes "Game "+.@round+" has ended properly. Point penalty will be given after "+(10-.@rounds_nowave)+" more."; + next; + } + mes "[Leader]"; + mes "Let's move on to the next game."; + next; + mes "... ... ... ..."; + next; + } + } + set .@cat_flags_waved,0; + } + mes "[Leader]"; + mes "The Flag-Waving Game has ended."; + next; + mes "[Leader]"; + mes "Final results!!"; + mes "After "+.@round+" games, "+strcharinfo(0)+" has "+.@flag_point+" Flag Point left."; + mes "... ... ..."; + next; + if (.@you_flag == 1 && .@cat_flags_waved == 0) { + setquest 5073; + if (.@flag_point_cat[1]+.@flag_point_cat[2]+.@flag_point_cat[3]+.@flag_point_cat[4]+.@flag_point_cat[5] < 5) { + getitem 12636,3; //Malang_Sp_Can + mes "[Leader]"; + mes "Congratulations. You have won the Flag-Waving Game."; + next; + mes "[Leader]"; + mes "But, only 3 Canned Foods will be given as the present since you didn't take a big part through the game."; + } else { + switch(.@flag_point) { + case 0: set .@cans,5; break; + case 1: set .@cans,7; break; + case 2: set .@cans,10; break; + case 3: set .@cans,15; break; + case 4: set .@cans,20; break; + } + getitem 12636, .@cans; //Malang_Sp_Can + mes "[Leader]"; + mes "Congratulations. You have won the Flag-Waving Game. "+.@cans+" Canned Foods will be given as the present."; + } + next; + mes "[Leader]"; + mes "Hope you win some more Canned Foods tomorrow."; + close; + } + mes "[Leader]"; + mes "Flag waving failed..."; + mes "... ... ... ..."; + next; + setquest 5073; + switch(rand(1,13)) { + case 1: setquest 5074; break; + case 2: setquest 5075; break; + case 3: setquest 5076; break; + case 4: setquest 5077; break; + case 5: setquest 5078; break; + case 6: setquest 5079; break; + case 7: setquest 5080; break; + case 8: setquest 5081; break; + case 9: setquest 5082; break; + case 10: setquest 5083; break; + case 11: setquest 5085; break; + case 12: setquest 5087; break; + case 13: setquest 5089; break; + } + mes "Leader gives you a note without hesitation. You must follow the order now."; + close; +} + +mal_in01,136,216,2 script Seichi#gamer 553,{ + if (malang_gamer == 20) { + mes "[Seichi]"; + mes "Ah~ I'm hungry. Any rats wandering around?"; + next; + mes "[Seichi]"; + mes "Ah~ I think I could eat 100 cramps at once."; + next; + mes "[Seichi]"; + mes "Hey, why don't you look around? Who knows? Maybe we can find a delicious canned food~"; + emotion e_no; + next; + mes "[Seichi]"; + mes "Then, you can give me one. Hehe~"; + close; + } else { + mes "[Seichi]"; + mes "I am hungry~ Any leftover canned food there?"; + emotion e_no; + close; + } + end; +} + +mal_in01,136,215,2 script Row#gamer 559,{ + if (malang_gamer == 20) { + mes "[Row]"; + mes "Hut! Human, you came to see me, Row the Great? What? No?"; + next; + mes "[Row]"; + mes "What do want then? Get lost. Ah...!!"; + next; + mes "[Row]"; + mes "You want to play the Flag Game? I see. Show me what you've got."; + next; + mes "[Row]"; + mes "But, you know you can never beat me, the great Row."; + emotion e_gg; + close; + } else { + mes "[Row]"; + mes "Flag waving is a serious game. Only special cats like me can compete. Meow~"; + close; + } + end; +} + +mal_in01,136,214,2 script Debong#gamer 876,{ + if (malang_gamer == 20) { + mes "[Debong]"; + mes "Hair picking is my best hobby meow."; + next; + mes "[Debong]"; + mes "When picking hair meow~"; + mes "Time really flies meow~"; + next; + mes "[Debong]"; + mes "Come here, you, meow. I'll pick your hair meow."; + emotion e_lv; + close; + } else { + mes "The cat is picking your hair."; + close; + } + end; +} + +mal_in01,136,213,2 script Libs#gamer 421,{ + if (malang_gamer == 20) { + mes "[Libs]"; + mes "Arrgg!! Why should I play this stupid flag waving game here?"; + emotion e_an; + next; + mes "[Libs]"; + mes "Hey you. What do you think? I know you've hearing me!"; + next; + mes "[Libs]"; + mes "... ... ..."; + next; + mes "[Libs]"; + mes "Well, I'm sure you won't have a clue why this is happening. I forgive you."; + emotion e_ok; + next; + mes "[Libs]"; + mes "How can a human understand the overwhelming heart of cats."; + emotion e_pif; + close; + } else { + mes "[Libs]"; + mes "A human? What are you doing here?"; + next; + mes "[Libs]"; + mes "Oh! I see. Our director is looking a practicing partner, why don't you apply?"; + close; + } + end; +} + +mal_in01,136,212,2 script YongYong#gamer 554,{ + if (malang_gamer == 20) { + mes "[YongYong]"; + mes "Meow~ I'm annoyed meow~"; + emotion e_an; + next; + mes "[YongYong]"; + mes "Annoying meow~"; + emotion e_an; + next; + mes "[YongYong]"; + mes "You're annoying meow~"; + emotion e_an; + next; + mes "[YongYong]"; + mes "What are you, a dog? Meow~!"; + emotion e_an; + specialeffect EF_SONICBLOW2; + next; + mes "[YongYong]"; + mes "Do not mess with the drooping cat."; + mes "Or you will regret it."; + close; + } else { + mes "z..Z..z..Z"; + mes "The cat is sleeping."; + close; + } + end; +} + +malangdo,120,140,7 script Sign#Cat G Entrance 858,{ + mes "A small sign."; + next; + mes "[Cat Gamers Headquarters]"; + mes "- Practicing partner welcome -"; + mes "- Recruiting 'Cat Gamers' -"; + mes "Consult with our Cat Gamers Director."; + close; +} + +mal_in01,15,221,6 script Sign#Cat G 1F 858,{ + mes "[Cat Gamers Headquarters 1F]"; + mes "- ~ B 1 ~ -"; + mes "Rock Paper Scissors practice room"; + mes "ChamChamCham practice room"; + close; +} + +mal_in01,77,214,4 script Sign#Cat G B1 858,{ + mes "[Cat Gamers Headquarters B1]"; + mes "- ~ 1 F ~ -"; + mes "Consult with the director..."; + mes "-----------------------------"; + mes "- ~ B 2 ~ -"; + mes "KongNyangKong & Flag Game practice room"; + mes "'Cat Gamers' Tech Team lab"; + close; +} + +mal_in01,142,220,6 script Sign#Cat G B2 858,{ + mes "[Cat Gamers Headquarters B2]"; + mes "- ~ B 1 ~ -"; + mes "Rock Paper Scissors practice room"; + mes "ChamChamCham practice room"; + close; +} + +mal_in01,155,222,2 script Uneet#gamer 890,{ + set .@playtime, checkquest(5069,PLAYTIME); + if (.@playtime == 0 || .@playtime == 1) { + mes "[Uneet]"; + mes "Wow Wot~ What a busy day~"; + mes "Oh, you are the one who won the honorable certificate?"; + next; + mes "[Uneet]"; + mes "There are more orders coming every day. Ahh!! Give me some more manpower!!"; + close; + } else if (.@playtime == 2) { + mes "[Uneet]"; + mes "Nyah~ Ong~ Certificate complete!!"; + next; + mes "[Uneet]"; + mes "I already gave your certificate to the Cat Gamers Director! Go check it out~"; + next; + mes "[Uneet]"; + mes "Please... Keep this wherever you go."; + close; + } else if (malang_gamer < 19) { + mes "[Uneet]"; + mes "I am a cat. Nyah~ Ong~"; + mes "I look like a sheep because I was so busy I didn't have time to shave."; + mes "It is not my fault..."; + close; + } else { + mes "[Uneet]"; + mes "Nyah~ Ong~ Do not interrupt my resting."; + mes "Usually, I am very busy..."; + mes "Don't touch me."; + next; + mes "[Uneet]"; + mes "I'm a bit fat now, but you should look at yourself too. Haha..."; + close; + } + end; +} + +mal_in01,30,222,4 script Interview Cat#gamer 560,{ + mes "[Interview Cat]"; + mes "I want join 'Cat Gamers'."; + mes "But it seems the Cat Gamers Director is busy now. Should I just leave?"; + next; + mes "[Interview Cat]"; + mes "What? You also want join this group?"; + close; +} + +mal_in01,19,213,1 script Waiting Cat#gamer 555,{ + mes "[Waiting Cat]"; + mes "Why did someone put that vase inside of a glass?"; + mes "The Cat Gamers Director did that?"; + next; + mes "[Waiting Cat]"; + mes "What strange taste."; + mes "Maybe I should rethink joining 'Cat Gamers', huh?"; + close; +} + // Archangel Wing Enchants :: enc_angel //============================================================ malangdo,234,153,6 script Notice Board#mal 837,{ @@ -6356,6 +10679,7 @@ mal_in01,15,16,3 script Fallen Angel#mal 403,{ } set .@equip_refine, getequiprefinerycnt(EQI_GARMENT); setarray .@equip_card[0], getequipcardid(EQI_GARMENT,0),getequipcardid(EQI_GARMENT,1),getequipcardid(EQI_GARMENT,2); + delitem 6417,3; //Silvervine delequip EQI_GARMENT; getitem2 2573,1,1,.@equip_refine,0,.@equip_card[0],.@equip_card[1],.@equip_card[2],0; //Archangel_Wing mes "[Fallen Angel]"; diff --git a/npc/re/quests/quests_malaya.txt b/npc/re/quests/quests_malaya.txt index 96fb036b0..177638895 100644 --- a/npc/re/quests/quests_malaya.txt +++ b/npc/re/quests/quests_malaya.txt @@ -1,21 +1,3342 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= Port Malaya Quest NPCs //===== By: ================================================== //= Euphy //===== Current Version: ===================================== -//= 0.3 -//===== Compatible With: ===================================== -//= rAthena SVN +//= 1.1 //===== Description: ========================================= //= [Official Conversion] -//= Quest NPCs related to Port Malaya. +//= Quest NPCs related to Port Malaya: +//== Cautious Village, Port Malaya Daily Quests, +//== Secret in the Woods, Bakonawa Extermination +//== Nurse in Port Malaya, Pintados Festival +//= Merchants: +//== Traders, Upgrade Boss Equipment //===== Additional Comments: ================================= //= 0.1 Traders only. Adapted from Masao's conversion. [Euphy] //= 0.2 Added Tribe Blacksmith [DeadlySilence] //= 0.3 Added "Secret in the Woods" quest [DeadlySilence] +//= 0.4 Added "Cautious Village" and subsequent quests [DeadlySilence] +//= 0.5 Added "Bakonawa Extermination" quest. [Euphy] +//= 1.0 Added "Nurse in Port Malaya" and "Pintados Festival" quests. [Euphy] +//= 1.1 Added GM management function and NPC. [Euphy] //============================================================ -// Traders :: npc +// Cautious Village & Daily Quests :: hi_malaya +//============================================================ +malaya,266,76,3 script Rodel the Guard#malaya 570,4,4,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + if (malaya_hi == 0) { + mes "[Rodel the Guard]"; + mes "Traveling at such confusing times?"; + mes "Villagers have been feeling more threatened by evil spirits recently."; + mes "Villagers are scared and trembling with fear."; + next; + mes "[Rodel the Guard]"; + mes "So... the citizens of Port Malaya will feel uncomfortable around you even though there are no hard feelings toward you."; + mes "Inns and stops may be closed to outsiders."; + next; + mes "[Rodel the Guard]"; + mes "There is no definite solution to this, but you might want to meet Phong in Mumbaki first."; + mes "If the village leader gives his confirmation, other people might be less worried."; + next; + mes "[Rodel the Guard]"; + mes "I will mark on the map the location of Phong in Mumbaki."; + mes "I welcome your visit though the times are harsh."; + viewpoint 1, 185, 358, 0, 0x0A82FF; + set malaya_hi, 1; + setquest 7350; + close; + } else if (malaya_hi == 1) { + mes "[Rodel the Guard]"; + mes "Meet with Phong in Mumbaki first."; + mes "If you are proven to have a pure soul, other villagers will not avoid you."; + mes "If you are not sure of the location, I will mark it on your map."; + viewpoint 1, 185, 358, 0, 0x0A82FF; + close; + } else if (malaya_hi >= 20) { + if (BaseLevel < 100) { + mes "[Rodel the Guard]"; + mes "How is the life here?"; + mes "People aren't so bad are they?"; + mes "If you were a little more skillful, there might be a job for you. Right now, you are little bit below the standard."; + next; + mes "[Rodel the Guard]"; + mes "If you become stronger,"; + mes "I was thinking of giving you the extermination mission that's being carried out in the city. What a shame. "; + close; + } + .@playtime = checkquest(7405, PLAYTIME); + if (.@playtime == 0) { + mes "[Rodel the Guard]"; + mes "Whew, thanks to you, I have one less thing to worry about."; + mes "I will lose less of my things."; + mes "Job well done."; + next; + mes "[Rodel the Guard]"; + mes "You can come back if you want."; + mes "You understand what I mean right?"; + close; + } else if (.@playtime == 2) { + erasequest 7405; + mes "[Rodel the Guard]"; + mes "Oh, about Jejeling that you hunted down before."; + mes "People traveling in and out of Baryo are happy about it."; + mes "If it's not much too much trouble, I'd like to ask for your help one more time."; + next; + mes "[Rodel the Guard]"; + mes "You don't have to do it now, just whenever you are comfortable."; + mes "Come and find me when you decide."; + close; + } else { + .@hunting = checkquest(7404, HUNTING); + if (.@hunting == -1) { + mes "[Rodel the Guard]"; + switch(rand(1, 6)) { + case 1: + mes "Recently, there have been a few that gained recognition for their bravery among the villagers." + $malayaNames$[0] + ", " + $malayaNames$[3] + ", " + $malayaNames$[5] + "... Isn't that amazing?"; + break; + case 2: + mes "Yesterday, I saw someone who was carried off to the hospital after rolling down the stairs at the park. That person went by the name of " + $malayaNames$[1] + ". I wonder if that person is alright."; + break; + case 3: + mes "The one who contributed the most in the Jejeling hunt was " + $malayaNames$[1] + "."; + break; + case 4: + mes "If you are bored, how about you stand guard for me? This is a heck of a job. You have to keep standing like a statue even till the sun rises up above your head."; + break; + case 5: + mes "Have you been alone with a woman inside a Jeepney? Wow that was awkward... I'm never going to get married at this rate..."; + break; + case 6: + mes "Recently among visitors, one became a close friend to me. Do you know " + $malayaNames$[1] + "? Oh, of course you are a good friend as well."; + break; + } + mes "Oh yes, there is a job for you if you are not too busy. Are you interested?"; + next; + mes "[Rodel the Guard]"; + mes "We are going to organize an extensive Jejeling hunt this time."; + mes "Peddlers going in and out of Baryo are always complaining about Jejelings."; + next; + if (select("Join the Jejeling hunt.:Refuse.") == 2) { + mes "[Rodel the Guard]"; + mes "Is that so? I'm sorry to hear that."; + mes "Things would be so much simpler if we had a person like you around."; + close; + } + mes "[Rodel the Guard]"; + mes "You just have to hunt 20 jejelings each."; + mes "It would be a simple task for you."; + setquest 7404; + close; + } else if (.@hunting == 0) { + mes "[Rodel the Guard]"; + mes "You have to get rid of 20 Jejelings."; + mes "20 should be enough to give those Jejelings a good scare."; + close; + } else if (.@hunting == 1) { + mes "[Rodel the Guard]"; + mes "Oh, the hunt is over, but you haven't killed all the Jejelings."; + mes "Come again if you want another try."; + erasequest 7404; + close; + } else { + mes "[Rodel the Guard]"; + mes "Oh, I have confirmed you got rid of 20 Jejelings."; + mes "Here, this is a reward for people who participated in the Jejeling hunt."; + next; + mes "[Rodel the Guard]"; + mes "I think there will be more Jejeling hunts in the future. Please join us again next time."; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + erasequest 7404; + setquest 7405; + if (rand(1)) + $malayaNames$[1] = strcharinfo(0); +// SavePPL Jejellopy + close; + } + } + } else { + mes "[Rodel the Guard]"; + mes "Please understand even if people look at you warily."; + mes "The ghost have been haunting the people around here."; + close; + } +OnTouch: + emotion e_gasp; + end; + +OnInit: + // if there are no names set, set some default values + if (!getarraysize($malayaNames$)) { + $malayaNames$[0] = "unknown"; + $malayaNames$[1] = "unknown"; + $malayaNames$[2] = "unknown"; + $malayaNames$[3] = "unknown"; + $malayaNames$[4] = "unknown"; + $malayaNames$[5] = "unknown"; + } + end; +} + +malaya,185,358,3 script Leader Phong in Mumbaki 580,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + if (malaya_hi < 2) { + mes "[Phong in Mumbaki]"; + mes "Looks like this soul came across a big body of water."; + mes "Young friend."; + mes "The reason you found me... yes... I see."; + next; + mes "[Phong in Mumbaki]"; + mes "You don't have to say it in words."; + mes "The people are overly cautious of you."; + mes "Rodel was probably concerned about it, so he sent you here."; + next; + if (malaya_hi == 0) { + mes "[Phong in Mumbaki]"; + mes "No?"; + mes "Well then maybe there was some kind of a Spiritual bond between us."; + next; + } + mes "[Phong in Mumbaki]"; + mes "Nonetheless, good to meet you, young friend."; + mes "Don't blame the villagers too much for their attitudes toward you."; + next; + mes "[Phong in Mumbaki]"; + mes "We are always surrounded by spirits."; + mes "We live with them, praying for peace."; + mes "But recently, there has been a problem."; + next; + mes "[Phong in Mumbaki]"; + mes "For some unknown reason,"; + mes "Spirits have been running amok, and evil sprits have been haunting the villagers."; + next; + mes "[Phong in Mumbaki]"; + mes "This is the shadow that is cast on this beautiful town."; + mes "They are cautious because they don't know when the dark shadow will fall on them."; + mes "They visit without warning."; + next; + mes "^4d4dffPhong in Mumbaki turns his head and dark shadows appear."; + mes "People are in panic, everyone trembling with fear.^000000"; + cutin "malaya_ghost01", 4; + next; + select("Step toward the shadow.:Draw weapon."); + mes "[Phong in Mumbaki]"; + mes "They have followed the trace of the outsider. "; + mes "Don't get to close too them."; + mes "Your soul can get absorbed."; + next; + mes "[Phong in Mumbaki]"; + mes "Hmm? They are responding."; + mes "I don't understand? They look scared as if facing a powerful soul."; + mes "This feeling... it can't be..."; + cutin "malaya_ghost02", 4; + next; + mes "^4d4dffLike words of Phong in Mumbaki, spirits are responding to something, hesitating."; + mes "Observing their reaction, you get closer. The spirits are flustered.^000000"; + next; + cutin "", 255; + mes "[Phong in Mumbaki]"; + mes "Amazing. Holder of a soul so strong and pure...!"; + mes "The dark spirits have disappeared because of your presence."; + next; + mes "[Phong in Mumbaki]"; + mes "I think other villagers would treat you differently now..."; + mes "Haven't we all witnessed this miracle?"; + next; + mes "[Phong in Mumbaki]"; + mes "Young friend. Your presence is welcomed anywhere."; + mes "The light from your pure soul will protect you from the darkness."; + set malaya_hi, 10; + if (checkquest(7350) > -1) + erasequest 7350; + close; + } else if (malaya_hi == 10) { + mes "[Phong in Mumbaki]"; + mes "Everyone in the village witnessed how strong and pure your soul is."; + mes "Do not be afraid of the dark."; + close; + } else if (malaya_hi == 11) { + mes "[Phong in Mumbaki]"; + mes "Is there something wrong?"; + mes "You look disturbed."; + mes "Your clothes also look messed up. Was there some kind of trouble?"; + next; + switch (select("Explain what happened.:There is nothing to talk about.")) { + case 1: + mes "[Phong in Mumbaki]"; + mes "Is that so?"; + mes "Ha ha... that is a big problem. "; + mes "You must've been concerned."; + next; + mes "[Phong in Mumbaki]"; + mes "You know, we were preparing a spiritual protection for "; + mes "villagers who are afraid of evil spirits..."; + mes "but preparation is not going well."; + next; + mes "[Phong in Mumbaki]"; + mes "As a temporary solution, how about giving them what they want?"; + mes "Just pick among the items you have that are unimportant and give them to them."; + next; + mes "[Phong in Mumbaki]"; + mes "All they want is inner peace anyways."; + mes "They give meaning to little things and find peace within that behavior."; + next; + mes "[Phong in Mumbaki]"; + mes "What is really important is the belief that you will be safe as long as you carry that item."; + mes "If people can stop being afraid by holding on to your old shirt button, then that button is a Spiritual Protection."; + next; + mes "^4d4dffAs Mumbaki said, giving out some items to serve as a Spiritual Protection would be a good idea."; + mes "What would be adequate as a Spiritual Protection..^000000"; + next; + switch (select("Holy Water!:Holy magical item Blue Gemstone?!:Writing utensils or school supplies")) { + case 1: + mes "[Phong in Mumbaki]"; + mes "The name itself suggests holiness."; + mes "It was blessed by the Holy Water, yes?"; + mes "Not bad."; + mes "Is there another? Something more persuading would be nice."; + next; + select("Talk about Blue Gemstone."); + mes "[Phong in Mumbaki]"; + mes "Aha... a stone that disappears after absorbing the curse or magical affect instead of the holder."; + mes "Used in holy magic?"; + mes "Sounds good."; + next; + break; + case 2: + mes "[Phong in Mumbaki]"; + mes "Aha... a stone that disappears after absorbing the curse or magical affect instead of the holder."; + mes "Used in holy magic?"; + mes "But it does not sound so holy though."; + next; + select("Talk about the Holy Water."); + mes "[Phong in Mumbaki]"; + mes "The name itself suggests holiness."; + mes "It was blessed by the Holy Water, yes?"; + mes "Sounds good."; + next; + break; + case 3: + mes "[Phong in Mumbaki]"; + mes "Hmm? It isn't too bad if you are always going to carry it around."; + mes "But I think something that looks more persuading would be better."; + next; + mes "[Phong in Mumbaki]"; + mes "It would be better is there is a holy feel to it..."; + mes "Do you have something that was blessed by your god?"; + next; + select("Holy Water or Blue Gemstone?"); + mes "[Phong in Mumbaki]"; + mes "The name itself suggests holiness."; + mes "It was blessed by the Holy Water, yes?"; + mes "Stone that protects the bearer..."; + mes "Sounds perfect."; + next; + break; + } + mes "[Phong in Mumbaki]"; + mes "Can you find Holy Water and Blue Gemstone that you spoke of?"; + mes "While I'm working on the Spiritual Protection, you can give out the Holy Artifacts."; + next; + mes "[Phong in Mumbaki]"; + mes "People's trust toward you will grow stronger if you do that."; + mes "They will trust and listen to you."; + mes "Yes, because you will become their heart's savior."; + next; + mes "^4d4dffListening to Phong in Mumbaki, you decided to give out Holy Water and Blue Gemstone to the villagers."; + set malaya_hi, 12; + erasequest 7358; + setquest 7351; + close; + case 2: + mes "[Phong in Mumbaki]"; + mes "Is that so?"; + mes "Tell me if anything happens."; + mes "For you, it'll be my pleasure to lend you a hand"; + close; + } + } else if (malaya_hi == 12) { + mes "[Phong in Mumbaki]"; + mes "Holy Water and Blue Gemstone you spoke of will function well. "; + mes "I hope they can set aside their fear and worries this way..."; + close; + } else if (malaya_hi == 13) { + mes "[Phong in Mumbaki]"; + mes "Did you give out your present to everyone?"; + mes "By doing this, you made friends with everyone in the town."; + next; + mes "[Phong in Mumbaki]"; + mes "I found ways to build Spiritual Protection."; + mes "My grandchild Imelda will create it."; + mes "So don't worry. You don't have to give out any more of your things."; + erasequest 7365; + set malaya_hi, 20; + getexp 200000, 200000; +// SavePPL Soul_Protection + close; + } else { + mes "[Phong in Mumbaki]"; + switch(rand(1, 6)) { + case 1: + mes "There was a traveler who is as brave as you. The traveler went by the name of " + $malayaNames$[0] + ". Do you know that person?"; + break; + case 2: + mes "There is a traveler recently that has been gaining popularity in the village. The traveler's name was " + $malayaNames$[0] + ". Outsiders seem to be very vigorous."; + break; + case 3: + mes "I have never in my life living as a Mumbaki seen a soul as pure and as strong as that of " + $malayaNames$[0] + "'s. Yes, even stronger and purer than yours."; + break; + case 4: + mes "I witnessed a traveler who flipped backward after stepping on a fruit peel. " + $malayaNames$[1] + ". He cried out 'Ouch! Somebody please help~'. We all had a good laugh."; + break; + case 5: + mes "Welcome! Welcome! You are always welcome around here."; + break; + case 6: + mes "I don't know if you are aware of this, but " + $malayaNames$[0] + " even aided Baryo. I feel good to know that there is a one more good soul around."; + break; + } + next; + switch (select("Ask for advice.:Bless flowers...")) { + case 1: + if (malaya_diwata == 2) { + mes "[Phong in Mumbaki]"; + mes "Ferry at the Port?"; + mes "So that has happened..."; + mes "Important thing is to first find out why that child is so upset."; + next; + mes "[Phong in Mumbaki]"; + mes "In this case, a bribe would work perfectly."; + mes "Flowers are always the best choice for seducing woman, right?"; + next; + select("This is not a love consulting."); + mes "[Phong in Mumbaki]"; + mes "I'm just saying."; + mes "Dead or alive, that poor soul is just a little girl."; + next; + mes "[Phong in Mumbaki]"; + mes "Girls that age will smile even at the falling leaves."; + mes "Open her heart with an armful of flowers. "; + next; + mes "[Phong in Mumbaki]"; + mes "Let's see..."; + mes "^4d4dff3 Mystic Flowers, 3 Elegant Flowers, 3 Pretty Flowers^000000 would be enough to make a Bouquet."; + next; + mes "[Phong in Mumbaki]"; + mes "Gather these flowers, and I'll make a Bouquet out of it and bless it."; + mes "Flowers can be found out side the village."; + set malaya_diwata, 3; + erasequest 7396; + setquest 7397; + close; + } else if (malaya_diwata == 3) { + if ((countitem(6509) < 3) || (countitem(6510) < 3) && (countitem(6511) < 3)) { + mes "[Phong in Mumbaki]"; + mes "There are ^4d4dff3 Mystic Flowers, 3 Elegant Flowers, 3 Pretty Flowers^000000."; + mes "Do you understand?"; + close; + } + mes "[Phong in Mumbaki]"; + mes "Oh... I can smell the scent of flowers from here."; + mes "I'll gather these and bless them."; + next; + mes "-Phong in Mumbaki carries out a blessing ceremony after carefully tying flowers into a Bouquet.-"; + mes "-Just by watching it, holiness overwhelms you.-"; + next; + mes "[Phong in Mumbaki]"; + mes "Isn't it a beauty?"; + mes "Not bad for a old man huh?"; + mes "I made so many Offering Bouquets in the past that I can make one with my eyes closed now."; + next; + mes "[Phong in Mumbaki]"; + mes "Now, deliver this to that child."; + mes "I hope she opens her heart with this and becomes willing to talk to you."; + delitem 6509, 3; // Mysterious_Flower + delitem 6510, 3; // Elegant_Flower + delitem 6511, 3; // Beautiful_Flower + getitem 6506, 1; // Memorial_Bouquet + set malaya_diwata, 4; + erasequest 7397; + setquest 7398; + close; + } else if (malaya_diwata == 4) { + mes "[Phong in Mumbaki]"; + mes "Take this Bouquet and talk to the spirit that has nested in the boat."; + close; + } else if (malaya_diwata > 5) { + mes "[Phong in Mumbaki]"; + mes "It is a pity to see a misfortunate spirit... just as with that Ferry incident."; + mes "If you are going to offer a Bouquet for a spirit, I'm always willing to help."; + close; + } else { + mes "[Phong in Mumbaki]"; + mes "There is nothing this old man can tell you."; + mes "Nothing can beat staying healthy, right?"; + close; + } + case 2: + if (checkquest(7402) == -1) { + mes "[Phong in Mumbaki]"; + mes "Who is the floral tribute for?"; + mes "Don't tell me you're making one in advance cause you're lazy?"; + mes "A tribute must be sincere. Don't forget that."; + close; + } + if (countitem(6506) > 0) { + mes "[Phong in Mumbaki]"; + mes "Isn't it already made?"; + mes "What is that in your hand?"; + mes "Why are you standing around here? Go and give out those flowers."; + close; + } + if ((countitem(6509) < 3) || (countitem(6510) < 3) || (countitem(6511) < 3)) { + mes "[Phong in Mumbaki]"; + mes "Going to Diwata?"; + mes "You need Mysterious Flowers, Elegant Flowers and Beautiful Flowers, 3 of each, okay?"; + mes "I'll make it when the flowers are ready."; + close; + } + mes "[Phong in Mumbaki]"; + mes "Diwata is some woman."; + mes "And you going to her every day is something too."; + next; + mes "[Phong in Mumbaki]"; + mes "Hey, here's the Bouquet."; + mes "Make offerings with your soul and wish for a fruitful day."; + delitem 6509, 3; // Mysterious_Flower + delitem 6510, 3; // Elegant_Flower + delitem 6511, 3; // Beautiful_Flower + getitem 6506, 1; // Memorial_Bouquet + close; + } + } +} + +malaya,169,350,5 script Imelda#malaya 475,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + if (malaya_hi < 10) { + mes "[Imelda]"; + mes ".... Hmm."; + close; + } else if (malaya_hi < 20) { + mes "[Imelda]"; + mes ".........."; + mes "Not bad."; + mes "I have my eyes on you. Let's see how you do in this town.. *chuckle*"; + next; + mes "- She is a rather annoying little girl. -"; + close; + } else if (malaya_hi == 20) { + mes "[Imelda]"; + mes "Aren't you the hero who recently got on the villagers good side with the cheap foreign Holy Artifact?"; + mes "What's up?"; + next; + select ("You want to make a traditional Spiritual Protection?"); + mes "[Imelda]"; + mes "Yes. My grandfather found a way."; + mes "I'm going to make it."; + next; + mes "[Imelda]"; + mes "This is my job and nobody else's."; + mes "Protecting traditions is my job."; + next; + switch (select("Is that so?:Good luck on your own!")) { + case 1: + if (BaseLevel < 100) { + mes "[Imelda]"; + mes "Of course."; + mes "And to get help from someone as... weak as you is not such a good idea."; + next; + mes "[Imelda]"; + mes "Getting the materials is not as easy as it sounds."; + mes "Maybe when you become stronger, yes, but not now. Never."; + close; + } + mes "[Imelda]"; + mes "What then?"; + mes "You're going to get the materials?"; + mes "Fine I'll accept your proposal."; + next; + select ("....?!"); + mes "[Imelda]"; + mes "If you wanted to help me out so much, why didn't you say so from the beginning?"; + mes "Or ask my grandfather?"; + next; + mes "[Imelda]"; + mes "If you are so enthusiastic about making a Spiritual Protection."; + mes "I'd have to give up, won't I?"; + next; + mes "[Imelda]"; + mes "Now, the needed materials are ^4d4dff6 Sharpened Bamboos, 6 Salt bags and 6 Silver Crosses^000000."; + next; + mes "[Imelda]"; + mes "You'll have to manufacture the salt yourself at the north western beach."; + mes "You'll find the pits I've made there."; + next; + mes "[Imelda]"; + mes "Go to Pandoi at the weapon shop for the Silver Crosses."; + mes "He promised to make me some."; + next; + mes "[Imelda]"; + mes "Sharpened Bamboos you can get at Baryo or from a nearby forest."; + mes "You got all that?"; + next; + mes "[Imelda]"; + mes "Now's the time to prove your prowess!"; + set malaya_hi, 21; + setquest 7366; + close; + case 2: + mes "[Imelda]"; + mes "Indeed."; + mes "I will protect the village!"; + next; + mes "[" + strcharinfo(0) + "]"; + mes "Now I haven't seen any Spiritual Protections made with those!"; + mes "Interesting~"; + mes "I'm sure you'll do just fine~"; + mes "Ha ha ha ha~"; + next; + mes "[Imelda]"; + mes "Stop annoying me and go away!"; + close; + } + } else if (malaya_hi == 21) { + if ((countitem(6501) < 6) || (countitem(6500) < 6) || (countitem(6502) < 6)) { + mes "[Imelda]"; + mes "I'll approve you as worthy if you bring all the materials for the Spiritual Protection!"; + next; + mes "[Imelda]"; + mes "Manufacture the salt at the north western beach and bamboos grow in Baryo Mahiwaga."; + mes "Ask Pandoi to make the Silver Crosses."; + mes "Don't forget to get 6 of each."; + close; + } + mes "[Imelda]"; + mes "... Oh... My, you really did get them?"; + mes "You're better than I thought."; + mes "That was not a compliment at all!"; + next; + mes "[Imelda]"; + mes "Now I'm going through the holy ritual to make a traditional Spiritual Protection."; + mes "Give them to me! And don't bother me during the process!"; + set malaya_hi, 22; + delitem 6500, 6; // Sharp_Bamboo + delitem 6501, 6; // Salt_Bag + delitem 6502, 6; // Silver_Cross + erasequest 7366; + setquest 7367; + close; + } else if (malaya_hi == 22) { + .@playtime = checkquest(7367, PLAYTIME); + if (.@playtime == 0 || .@playtime == 1) { + mes "Imelda is in ritual with a devout aura, compared to when she streamed invectives."; + mes "Better not disturb her."; + close; + } else if (.@playtime == 2) { + mes "[Imelda]"; + mes "Still here?"; + mes "Of course, you want to see how much better my Spiritual Protection is compared to that cheap Holy Artifact."; + next; + mes "[Imelda]"; + mes "Fine."; + mes "Now go and give these Spiritual Protections to the people!"; + mes "You have all the rights to do so!"; + mes "*Giggles*"; + next; + mes "Took the Spiritual Protection, despite her ridiculous logic and vigor."; + mes "Let's give them to the villagers."; + set malaya_hi, 23; + getitem 6503, 6; // Soul_Protection + erasequest 7367; + setquest 7368; + setquest 7369; + setquest 7370; + setquest 7371; + setquest 7372; + setquest 7373; + setquest 7374; + close; + } else { + mes "[Imelda]"; + mes "Don't disturb the ritual and go away."; + mes "Please wait while I make the Spiritual Protection."; + setquest 7367; + close; + } + } else if (malaya_hi == 23) { + mes "[Imelda]"; + mes "The ones who gets the Spiritual Protections are on the list."; + mes "Go and give them the new Spiritual Protections"; + next; + mes "[Imelda]"; + mes "Such a kind person like yourself will surely do it, won't you? "; + mes "*Smirk*"; + close; + } else if (malaya_hi == 24) { + mes "[Imelda]"; + mes "... You really did what I asked you?"; + mes "You know what? I give up."; + mes "I thought you'd leave after getting something from this town with sweet talk..."; + next; + mes "[Imelda]"; + mes "I apologize for my rude behavior."; + mes "....This is something to go with the apology."; + next; + mes "[Imelda]"; + mes "I'd be happy if you could help me, because the Spiritual Protections needs to be made every day."; + set malaya_hi, 25; + erasequest 7374; + erasequest 7379; + setquest 7375; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + if (rand(1)) + $malayaNames$[0] = strcharinfo(0); + close; + } else { + mes "[Imelda]"; + mes "Hello there."; + mes "Did you enjoy the scenery of Malaya?"; + mes "It's nice to have a chat with friends on a Jeepney."; + next; + switch (select("I'll help you making Spiritual Protections.:Love and Spiritual Protection for all.")) { + case 1: + if (checkquest(7380) > -1) { + if ((countitem(6501) < 6) || (countitem(6502) < 6) || (countitem(6500) < 6)) { + mes "[Imelda]"; + mes "Materials for making a Spiritual Protection are"; + mes "Salt Bags, Silver Crosses and Sharpened Bamboos, 6 of each."; + next; + mes "[Imelda]"; + mes "Salt form the north western beach, Silver Crosses from Pandoi, and Sharpened Bamboos from near Baryo."; + close; + } + mes "[Imelda]"; + mes "Yes, you got everything precisely."; + mes "Thanks for the help."; + next; + mes "[Imelda]"; + mes "It'll be nice if you could help again tomorrow."; + mes "Here's something for your trouble."; + delitem 6500, 6; // Sharp_Bamboo + delitem 6501, 6; // Salt_Bag + delitem 6502, 6; // Silver_Cross + erasequest 7380; + setquest 7381; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + close; + } else { + .@playtime = checkquest(7381, PLAYTIME); + if ((.@playtime == 0) || (.@playtime == 1)) { + mes "[Imelda]"; + mes "I appreciate your kindness, but we have enough for today."; + mes "I'll ask for you when I need more materials."; + close; + } else if (.@playtime == 2) { + mes "[Imelda]"; + mes "Very good timing."; + mes "I ran out of materials for today's Spiritual Protections."; + mes "Could you go for them now?"; + erasequest 7381; + next; + switch (select("Sure.:I need some preparations.")) { + case 1: + mes "[Imelda]"; + mes "As usual then."; + mes "6 Salt Bags. Silver Crosses and Sharpened Bamboos, please."; + setquest 7380; + close; + case 2: + mes "[Imelda]"; + mes ".......I see."; + mes "I'll be waiting then."; + close; + } + } else { + mes "[Imelda]"; + mes "That is great news indeed."; + mes "You know what you need for making Spiritual Protections?"; + mes "Of course, it's not your first time..."; + next; + mes "[Imelda]"; + mes "I'll leave you to it then."; + mes "6 Salt Bags. Silver Crosses and Sharpened Bamboos, please."; + setquest 7380; + close; + } + } + case 2: + if (checkquest(7374) != -1) { + if (checkquest(7379) == -1) { + mes "[Imelda]"; + mes "Please deliver these new Spiritual Protections to the villagers."; + mes "You know them, right?"; + close; + } + mes "[Imelda]"; + mes "They cannot rely on these Spiritual Protections forever..."; + mes "It would be much better to have a strong mind such as yours."; + next; + mes "[Imelda]"; + mes "Strong spirits are full of light."; + mes "Those of the dark cannot approach due the blinding light"; + next; + mes "[Imelda]"; + mes "I guess that's it for today."; + mes "Thank you very much."; + setquest 7375; + erasequest 7374; + erasequest 7379; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + if (rand(1)) + $malayaNames$[0] = strcharinfo(0); + close; + } else { + .@playtime = checkquest(7375, PLAYTIME); + if (.@playtime == 0 || .@playtime == 1) { + mes "[Imelda]"; + mes "The Spiritual Protections given before will still be in effect"; + mes "It's okay for now."; + close; + } else if (.@playtime == 2) { + mes "[Imelda]"; + mes "I was wondering when you would drop by."; + mes "Could you deliver Spiritual Protections to the folks today?"; + erasequest 7375; + next; + if (select("Of course.:Not today.") == 2) { + mes "[Imelda]"; + mes "Yes."; + mes "Why not take a stroll in Malaya today?"; + mes "Of course, you'll still encounter ghosts here and there."; + close; + } + if ((checkquest(7381) == 0) || (checkquest(7381) == 1)) { + mes "[Imelda]"; + mes "Thank you very much."; + mes "Come back when you've given them all out."; + setquest 7374; + setquest 7368; + setquest 7369; + setquest 7370; + setquest 7371; + setquest 7372; + setquest 7373; + getitem 6503, 6; // Soul_Protection + close; + } else { + mes "[Imelda]"; + mes "Thanks for your concern, but I couldn't make any because I ran out of materials."; + mes "Shame, is it not?"; + mes "I do hope there's somebody willing to get them for me."; + close; + } + } else { + mes "[Imelda]"; + mes "Are you at peace? I could feel your serenity all the way from here."; + mes "You want to spend that extra time for me?"; + next; + mes "[Imelda]"; + mes "Could you give out these Spiritual Protections to the villagers for me?"; + next; + switch (select("Yes.:Not today.") == 2) { + mes "[Imelda]"; + mes "Yes."; + mes "Why not take a stroll in Malaya today?"; + mes "Of course, you'll still encounter ghosts here and there."; + close; + } + if ((checkquest(7381, PLAYTIME) == 0) || (checkquest(7381, PLAYTIME) == 1)) { + mes "[Imelda]"; + mes "Thank you very much."; + mes "Come back when you've given them all out."; + setquest 7374; + setquest 7368; + setquest 7369; + setquest 7370; + setquest 7371; + setquest 7372; + setquest 7373; + getitem 6503, 6; // Soul_Protection + close; + } else { + mes "[Imelda]"; + mes "Thanks for your concern, but I couldn't make any because I ran out of materials."; + mes "Shame, is it not?"; + mes "I do hope there's somebody willing to get them for me."; + close; + } + } + } + break; + } + } + end; +} + +malaya,181,353,5 script Old Man Nardo#malaya 574,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + if (malaya_hi < 10) { + mes "[Old Man Nardo]"; + mes "......."; + mes "Not from around here, I see. I have nothing to say."; + close; + } else if (malaya_hi == 10) { + if (checkquest(7353) == 2) { + mes "[Old Man Nardo]"; + mes "How about lending a hand for a poor old man?"; + mes "I don't care if it's just a sleeve of your shirt, just give me something with your vigor."; + next; + mes "[Old Man Nardo]"; + mes "You know, I've not long to go now..."; + mes "Help me be at peace along the way."; + close; + } else { + mes "[Old Man Nardo]"; + mes "Y... You!!"; + mes "You're the young one with such strong spirit to fend off ghosts of darkness?!"; + mes "Would it be... Possible to share some of your spirit with me?"; + next; + mes "[Old Man Nardo]"; + mes "I have trouble sleeping because of the mischievous ghosts around town, and my back hurts when it rains."; + next; + mes "[Old Man Nardo]"; + mes "Please share that miraculous spirit of yours with me."; + mes "How about just a button of yours?"; + next; + mes "-The troubled villagers desire your belongings because you fend off the ghosts. -"; + setquest 7353; + completequest 7353; + if ((checkquest(7352) + checkquest(7353) + checkquest(7354) + checkquest(7355) + checkquest(7356) + checkquest(7357)) > 9) { + next; + mes "-So many have already asked you for this. Perhaps it will be better to speak with Phong in Mumbaki.-"; + set malaya_hi, 11; + setquest 7358; + } + close; + } + } else if (malaya_hi == 11) { + mes "[" + strcharinfo(0) + "]"; + mes "He'll rake off all my buttons if I talk to him now."; + mes "Must counsel with Mumbaki first!"; + close; + } else if (malaya_hi == 12) { + if (checkquest(7360) != -1) { + mes "[Old Man Nardo]"; + mes "To be honest, I do not believe that this Holy Artifact has any abilities."; + mes "It's just for the peace of mind."; + next; + mes "[Old Man Nardo]"; + mes "Nevertheless, I see you differently now"; + mes "To exclude just because someone's an outsider doesn't seem like a good idea anymore."; + mes "I'm sorry I ignored you."; + close; + } + if (!countitem(523) || !countitem(717)) { + mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000"; + close; + } + mes "[Old Man Nardo]"; + mes "So, changed your mind about sharing your spirit?"; + next; + select("Hand over the prepared items."); + mes "[Old Man Nardo]"; + mes "Ahh... Thank you."; + mes "Now I can be at peace for some time..."; + mes "...Peace is always good. Yes."; + next; + mes "- Gave Holy Water and Blue Gemstone to Old Man Nardo.-"; + delitem 717, 1; //Blue_Gemstone + delitem 523, 1; //Holy_Water + setquest 7360; + completequest 7360; + if ((checkquest(7359) + checkquest(7360) + checkquest(7361) + checkquest(7362) + checkquest(7363) + checkquest(7364)) > 11) { + mes "-With the Old Man as last, enough Holy Artifacts have been given out.-"; + set malaya_hi, 13; + erasequest 7351; + setquest 7365; + } + close; + } else if ((malaya_hi > 12) && (malaya_hi < 20)) { + mes "[Old Man Nardo]"; + mes "To be honest, I do not believe that this Holy Artifact has any abilities."; + mes "It's just for the peace of mind."; + next; + mes "[Old Man Nardo]"; + mes "When you have the time, could you help me out with something?"; + mes "I'm fine now... I mean later."; + close; + } else { + mes "[Old Man Nardo]"; + switch(rand(1, 6)) { + case 1: + mes "Do you know Capre? I hear " + $malayaNames$[1] + " travelers are helping out Capre... Anyhow..."; + break; + case 2: + mes "There are plenty of Spiritual Protection these days. " + $malayaNames$[0] + " was keen at giving out Spiritual Protections. Is it a tradition where you come from?"; + break; + case 3: + mes "I hear that, between merchants, " + $malayaNames$[1] + "? The name seems to pop up a lot. He seems to be talented in the business."; + break; + case 4: + mes "Once, I saw a traveler who slipped on a piece of fruit. 'Someone help " + $malayaNames$[1] + "~' he shouted, which gave me a good laugh."; + break; + case 5: + mes "Ah, you again? Thanks for the help back then."; + break; + case 6: + mes "I hear that " + $malayaNames$[2] + " is famous in Baryo. Why don't you try for some fame?"; + break; + } + mes "What is it?"; + next; + switch (select("Speak.:Give Spiritual Protection.:The Old Man and the Cast Iron Cauldron")) { + case 1: + mes "[Old Man Nardo]"; + mes "Port Malaya is a beautiful city."; + mes "The old and new are in perfect harmony."; + next; + mes "[Old Man Nardo]"; + mes "Of course there's the recent problem with ghosts wondering about..."; + mes "It relieves me that you and other young people are working hard on it."; + mes "Thank you."; + close; + case 2: + if ((checkquest(7374) != -1) && (checkquest(7369) != -1)) { + if (!countitem(6503)) { + mes "^4d4dffThere's no Spiritual Protection to give to the Old Man.^000000"; + close; + } + mes "[Old Man Nardo]"; + mes "Is this a new Spiritual Protection made from traditional methods?"; + mes "I am grateful that you'd replace mine with a new one."; + mes "I am always in your and Imelda's debt."; + next; + mes "-Delivered the Spiritual Protection to Old Man Nardo.-"; + delitem 6503, 1; // Soul_Protection + erasequest 7369; + setquest 7383; + if ((checkquest(7382) + checkquest(7383) + checkquest(7384) + checkquest(7385) + checkquest(7386) + checkquest(7387)) > 5) { + mes "- With the Old Man as last, all Spiritual Protections have been delivered. Head back to Imelda.-"; + if (malaya_hi == 23) { + set malaya_hi, 24; + } + setquest 7379; + erasequest 7382; + erasequest 7383; + erasequest 7384; + erasequest 7385; + erasequest 7386; + erasequest 7387; + } + close; + } else { + mes "[Old Man Nardo]"; + mes "What? A new Spiritual Protection?"; + mes "I'm okay. I still have the one you gave me before."; + mes "Could you give me a new one when this one wears out?"; + close; + } + break; + case 3: + if (BaseLevel < 100) { + mes "[Old Man Nardo]"; + mes "Hmm... You don't look strong enough to travel to Baryo."; + mes "I'm sorry but I can't let you carry the precious Cast Iron Cauldron."; + close; + } + if ((checkquest(7378, PLAYTIME) == 0) || (checkquest(7378, PLAYTIME) == 1)) { + mes "[Old Man Nardo]"; + mes "You've delivered the Cast Iron Cauldron to Baryo, so that's enough for today."; + mes "No matter how strong a cauldron is, even with the toughest cast iron, it only lasts a day."; + next; + mes "[Old Man Nardo]"; + mes "Help me out again tomorrow if you can."; + close; + } else if (checkquest(7378, PLAYTIME) == 2) { + mes "[Old Man Nardo]"; + mes "Hey there!"; + mes "So, are you well and well fed?"; + mes "Come back again when you have the time."; + next; + mes "[Old Man Nardo]"; + mes "It's about the Cast Iron Cauldron, but it can wait for after your current errand."; + erasequest 7378; + close; + } else { + if (checkquest(7377) != -1) { + if (countitem(6503) < 5) { + mes "[Old Man Nardo]"; + mes "Did you deliver the cauldron in one piece?"; + mes "Kiko in Mumbaki should have given you a Spiritual Protection. Do you have it?"; + mes "You must have left it somewhere. Go fetch it please."; + close; + } + mes "[Old Man Nardo]"; + mes "Good. It's the Spiritual Protection promised by Kiko in Mumbaki in return."; + mes "I know Imelda makes them and you bring them every day, but more the Spiritual Protections, the better."; + next; + mes "[Old Man Nardo]"; + mes "Please stop by again."; + mes "I always prepare the Cast Iron Cauldron needed at Baryo."; + delitem 6503, 5; // Soul_Protection + setquest 7378; + erasequest 7377; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + if (!rand(3)) + $malayaNames$[2] = strcharinfo(0); + close; + } else { + if (checkquest(7376) > -1) { + mes "[Old Man Nardo]"; + mes "Go to Kiko in Mumbaki at Baryo Mahiwaga and deliver the Cast Iron Cauldron."; + mes "This should help against the Bakonawa troubles."; + close; + } else { + mes "[Old Man Nardo]"; + mes "Yes, the Cast Iron Cauldron."; + mes "Go to Kiko in Mumbaki at Baryo Mahiwaga and deliver the Cast Iron Cauldron."; + mes "I'd like you to do it for me..."; + next; + switch (select("Cast Iron Cauldron??:I'll do it.:I'm busy right now.")) { + case 1: + mes "[Old Man Nardo]"; + mes "It's because of the Bakonawa."; + mes "Beat the cauldron and the surprised Bakonawa spits back out the moon."; + next; + mes "[Old Man Nardo]"; + mes "Baryo Mahiwaga is close to where Bakonawa lives, so they are always prepared for trouble."; + next; + mes "[Old Man Nardo]"; + mes "Enough Cast Iron Cauldrons must be prepared for beating."; + mes "But the forge is better here."; + mes "So I deliver them every day."; + close; + case 2: + mes "[Old Man Nardo]"; + mes "This is the Cast Iron Cauldron. They have fine blacksmiths in Malaya."; + mes "Deliver this to Kiko in Mumbaki at the nearby town of Baryo Mahiwaga."; + setquest 7376; + getitem 6504, 5; // Cast_Iron_Caldron + close; + case 3: + mes "[Old Man Nardo]"; + mes "Is that so."; + mes "I'm sorry, you must be very busy."; + close; + } + } + } + } + break; + } + } + end; +} + +malaya,224,267,3 script Romel#malaya 573,{ + if (malaya_hi < 10) { + mes "[Romel]"; + mes "........."; + mes " "; + mes "(He evades your gaze and ignores you.)"; + close; + } else if (malaya_hi == 10) { + if (checkquest(7357) == 2) { + mes "[Romel]"; + mes "....So cold-hearted."; + mes "And here we are, always trembling in anxiety..."; + next; + mes "[Romel]"; + mes "Not even allowed the peace of mind..."; + close; + } else { + mes "[Romel]"; + mes "Ahh...."; + mes "... You.."; + mes "I'm sorry I ignored you."; + mes "But... you must be the one they're talking about..."; + next; + mes "[Romel]"; + mes "Are you the one who fends off the ghosts?"; + mes "If it's okay with you, can I have one of your belongings or some hair?"; + next; + mes "[Romel]"; + mes "I want to carry it... Like a charm of sort."; + next; + mes "-The troubled villagers desire your belongings because you fend off the ghosts. -"; + setquest 7357; + completequest 7357; + if ((checkquest(7352) + checkquest(7353) + checkquest(7354) + checkquest(7355) + checkquest(7356) + checkquest(7357)) > 9) { + next; + mes "- So many have already asked you for this. Perhaps it will be better to speak with Phong in Mumbaki.-"; + set malaya_hi, 11; + setquest 7358; + } + close; + } + } else if (malaya_hi == 11) { + mes "Romel looks in your way with a sad look."; + mes "He'll surely take a hair or pull a sleeve if he had his way!"; + close; + } else if (malaya_hi == 12) { + if (checkquest(7364) != -1) { + mes "[Romel]"; + mes "Frankly speaking, it's for the peace of mind."; + mes "With it, I could face them with more boldness."; + next; + mes "[Romel]"; + mes "I mean, I'm relying on such items,"; + mes "but I am braver with them."; + close; + } + if (!countitem(523) || !countitem(717)) { + mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000"; + close; + } + mes "[Romel]"; + mes "...What is it?"; + next; + select ("Hand him the prepared items"); + mes "[Romel]"; + mes "Oh... Thank you."; + mes "I can feel your spirit."; + mes "This will keep me safe."; + next; + mes "[Romel]"; + mes "Hey... Could you give some for my daughter as well?"; + next; + mes "- Gave Romel the prepared Holy Water and Blue Gemstone.-"; + delitem 717, 1; //Blue_Gemstone + delitem 523, 1; //Holy_Water + setquest 7364; + completequest 7364; + if ((checkquest(7359) + checkquest(7360) + checkquest(7361) + checkquest(7362) + checkquest(7363) + checkquest(7364)) > 11) { + mes "-With Romel as last, I think enough Holy Artifacts have been given.-"; + set malaya_hi, 13; + erasequest 7351; + setquest 7365; + } + close; + } else if (malaya_hi == 13) { + mes "[Romel]"; + mes "The Holy Artifact is in good hands."; + mes "Same with my daughter."; + close; + } else { + mes "[Romel]"; + mes "Hello there."; + switch(rand(1, 6)) { + case 1: + mes "Ha ha, I had a dream last night, you see, and there was " + $malayaNames$[0] + " in the dream. Ha ha... Strange indeed..."; + break; + case 2: + mes "Sometimes, my wife makes these sounds in her sleep. " + $malayaNames$[0] + "... " + $malayaNames$[0] + "... she says. Who is it? Do you know?! Is she possessed by a ghost?"; + break; + case 3: + mes "It's all thanks to " + $malayaNames$[0] + " for changing the atmosphere of the house. It seems like we were saved by the Holy Artifact and Spiritual Protection."; + break; + case 4: + mes "The people of the neighboring Baryo Mahiwaga are so strong. Even their children play in the forest. I can't imagine myself doing that."; + break; + case 5: + mes "Without the slightest doubt, the most famous person in town is " + $malayaNames$[2] + ". Even famous in Baryo they say."; + break; + case 6: + mes "Merchant Woeon says 'Our " + $malayaNames$[1] + " sir/ma'am' 'we " + $malayaNames$[1] + " sir/ma'am' during drinking. I wonder what happened between the two of them?"; + break; + } + next; + if (select("Give Spiritual Protection:How are things?") == 2) { + mes "[Romel]"; + mes "I am at peace these days."; + close; + } + if ((checkquest(7374) == -1) || (checkquest(7373) == -1)) { + mes "[Romel]"; + mes "A new Spiritual Protection?"; + mes "The one you gave me before still works fine."; + mes "I'm okay for now."; + close; + } + if (!countitem(6503)) { + mes "^4d4dffThere are no Spiritual Protections to give to Romel.^000000"; + close; + } + mes "[Romel]"; + mes "A new Spiritual Protection."; + mes "I was thinking this one had worn out... Thanks for coming."; + mes "This Spiritual Protection will also protect us."; + next; + mes "- Delivered Romel his Spiritual Protection.-"; + delitem 6503, 1; // Soul_Protection + erasequest 7373; + setquest 7387; + if ((checkquest(7382) + checkquest(7383) + checkquest(7384) + checkquest(7385) + checkquest(7386) + checkquest(7387)) > 5) { + mes "- With Romel as last, all Spiritual Protections have been delivered. Head back to Imelda.-"; + if (malaya_hi == 23) { + set malaya_hi, 24; + } + setquest 7379; + erasequest 7382; + erasequest 7383; + erasequest 7384; + erasequest 7385; + erasequest 7386; + erasequest 7387; + } + close; + } + end; +} + +malaya,223,267,5 script Talah#malaya 941,{ + if (malaya_hi < 10) { + mes "[Talah]"; + mes "..........gasp!"; + mes " "; + mes "(When your eyes met with hers, she ran and hid behind her father.)"; + close; + } else if (malaya_hi == 10) { + if (checkquest(7356) == 2) { + mes "[Talah]"; + mes "Talah might be taken away tonight."; + mes "Scary kids might come to Talah."; + next; + mes "When Talah tugs at Romel's shirt, Romel looks at you with a sad gaze."; + mes "Better do something before they take a button from you..."; + close; + } else { + mes "[Talah]"; + mes "....I..umm... that....."; + mes ".........oh... Daddy...."; + next; + mes "[Romel]"; + mes "Hey, could you give my daughter a button or some hair of yours?"; + mes "She has trouble sleeping at night ......."; + next; + mes "[Romel]"; + mes "Wouldn't she be able to sleep well if she had something from you as a lucky charm?"; + next; + mes "- The troubled villagers desire your belongings because you fend off the ghosts. -"; + setquest 7356; + completequest 7356; + if ((checkquest(7352) + checkquest(7353) + checkquest(7354) + checkquest(7355) + checkquest(7356) + checkquest(7357)) > 9) { + next; + mes "- So many have already asked you for this. Perhaps it will be better to speak with Phong in Mumbaki. -"; + set malaya_hi, 11; + setquest 7358; + } + close; + } + } else if (malaya_hi == 11) { + mes "Talah looks from you to her father with inquisitive eyes."; + close; + } else if (malaya_hi == 12) { + if (checkquest(7363) != -1) { + mes "[Talah]"; + mes "I dont know for sure"; + mes "but I get a warm feel from them."; + mes "Daddy's braver now and that makes Talah stronger too."; + close; + } + if (!countitem(523) || !countitem(717)) { + mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000"; + close; + } + mes "[Talah]"; + mes ".... Can I say hello?"; + mes "Hello... there..."; + next; + select("Give the prepared items."); + mes "[Talah]"; + mes "Pretty blue stones...!"; + mes "Oooooh~ They're beautiful!"; + mes "Is this stone going to keep Talah safe?"; + next; + mes "- Delivered the Holy Water and Blue Gemstone to Talah. -"; + delitem 717, 1; //Blue_Gemstone + delitem 523, 1; //Holy_Water + setquest 7363; + completequest 7363; + if ((checkquest(7359) + checkquest(7360) + checkquest(7361) + checkquest(7362) + checkquest(7363) + checkquest(7364)) > 11) { + mes "-With Talah as last, I think enough Holy Artifacts have been given.-"; + set malaya_hi, 13; + erasequest 7351; + setquest 7365; + } + close; + } else if (malaya_hi == 13) { + mes "[Talah]"; + mes "Daddy told me to hold on to the Holy Artifact really tight."; + mes "So it keeps away bad ghosts..."; + close; + } else { + mes "[Talah]"; + mes "Hello..."; + next; + if (select("Give Spiritual Protection.:Hi there?") == 2) { + mes "[Talah]"; + mes "...Hey...Thank you."; + mes "You're keeping us safe aren't you?"; + close; + } + if ((checkquest(7374) != -1) && (checkquest(7372) != -1)) { + if (!countitem(6503)) { + mes "^4d4dffThere is no Spiritual Protection to give to Talah.^000000"; + close; + } + mes "[Talah]"; + mes "Is this a new Spiritual Protection?"; + mes "Thank you."; + mes "Talah can sleep well now with the Spiritual Protection."; + mes "Daddy likes it too."; + next; + mes "- Delivered new Spiritual Protection to Talah.-"; + delitem 6503, 1; // Soul_Protection + erasequest 7372; + setquest 7386; + if ((checkquest(7382) + checkquest(7383) + checkquest(7384) + checkquest(7385) + checkquest(7386) + checkquest(7387)) > 5) { + mes "- With Talah as last, all Spiritual Protections have been delivered. Head back to Imelda. -"; + if (malaya_hi == 23) { + set malaya_hi, 24; + } + setquest 7379; + erasequest 7382; + erasequest 7383; + erasequest 7384; + erasequest 7385; + erasequest 7386; + erasequest 7387; + } + close; + } else { + mes "[Talah]"; + mes "Umm..."; + mes "The one you gave before still keeps Talah safe."; + mes "I'm okay."; + close; + } + } + end; +} + +malaya,62,274,0 script Sand Trap#malaya 557,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + if ((checkquest(7366) == -1) && (checkquest(7380) == -1)) { + mes "A device to evaporate sea water is buried in the sand..."; + close; + } + if (countitem(6501) >= 6) { + mes "There's enough salt."; + close; + } + mes "A device to evaporate sea water is installed in the Sand Trap."; + next; + mes "Salt can be scraped off the dried leaves"; + mes "someone scattered on the sea water."; + close2; + progressbar "0xffff00", 5; + disablenpc strnpcinfo(0); + initnpctimer; + getitem 6501, 1; // Salt_Bag + mes "[" + strcharinfo(0) + "]"; + mes "This should be enough."; + close; + +OnTimer30000: + enablenpc strnpcinfo(0); + stopnpctimer; + end; +} +malaya,66,277,0 duplicate(Sand Trap#malaya) Sand Trap#malaya01 557 +malaya,70,282,0 duplicate(Sand Trap#malaya) Sand Trap#malaya02 557 + +ma_fild01,178,206,0 script Black Bamboo#malaya 844,4,4,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + if ((checkquest(7366) == -1) && (checkquest(7380) == -1)) { + mes "There's a short and black bamboo tree."; + close; + } + if (countitem(6500) >= 6) { + mes "There's enough Sharpened Bamboos..."; + close; + } + mes "There's bamboo here with black cane and leaves."; + mes "If some of it is cut off and sharpened, I think it will suffice for the Sharpened Bamboo Imelda wanted."; + close2; + progressbar "0xffff00", 3; + disablenpc strnpcinfo(0); + initnpctimer; + getitem 6500, 1; //Sharp_Bamboo + mes "[" + strcharinfo(0) + "]"; + mes "I knew I could do this!"; + close; +OnTouch: + if ((checkquest(7366) != -1) || (checkquest(7380) != -1)) { + specialeffect EF_LEVEL99_4; + } + end; +OnTimer30000: + enablenpc strnpcinfo(0); + stopnpctimer; + end; +} +ma_fild01,225,186,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya01 844,4,4 +ma_fild01,230,244,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya02 844,4,4 +ma_fild01,174,238,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya03 844,4,4 +ma_fild01,180,273,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya04 844,4,4 +ma_fild01,179,145,0 duplicate(Black Bamboo#malaya) Black Bamboo#malaya05 844,4,4 + +malaya,295,171,3 script Collection Dealer Woeon 582,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + if (malaya_hi < 10) { + mes "[Woeon]"; + mes "Urghh... Urgh... I got a headache..."; + mes "My headache must have been brought to me by you from out of town!"; + mes "Go away. Shoo, leave!"; + close; + } else if (malaya_hi == 10) { + if (checkquest(7355) == 2) { + mes "[Woeon]"; + mes "Now, look here my friend..."; + mes "This can all be solved by giving me a button."; + mes "It doesn't look so expensive either."; + close; + } else { + mes "[Woeon]"; + mes "Aha! You're the one they're all talking about!"; + mes "I was kinda rude right? Forget about it!"; + mes "Yes, do forget..."; + next; + mes "[Woeon]"; + mes "If you're in dire need, I could get you a job around here you know.."; + mes ".... Could you give me some of your things?"; + next; + mes "[Woeon]"; + mes "I heard the rumors about you shooing away the ghosts!"; + mes "Can't you see my shaking hands from fear of them ghosts?"; + mes "I'll feel much better if you could just give me a button off your sleeve..."; + next; + mes "- The troubled villagers desire your belongings because you fend off the ghosts. -"; + setquest 7355; + completequest 7355; + if ((checkquest(7352) + checkquest(7353) + checkquest(7354) + checkquest(7355) + checkquest(7356) + checkquest(7357)) > 9) { + next; + mes "- So many have already asked you for this. Perhaps it will be better to speak with Phong in Mumbaki.-"; + set malaya_hi, 11; + setquest 7358; + } + close; + } + } else if (malaya_hi == 11) { + mes "[Woeon]"; + mes "Sigh... Life is so tough these days."; + mes "Why did ghosts come along to bother me so."; + mes "I wish I had a lucky charm or something..."; + next; + mes "[Woeon]"; + mes "Why won't you give me one of your belongings so I could keep as a charm?"; + mes "Come on, one sock could save a man's life, you know."; + mes "Cold hearted son of a..."; + close; + } else if (malaya_hi == 12) { + if (checkquest(7362) != -1) { + mes "[Woeon]"; + mes "Hmm. Look at my hands."; + mes "Less shaky, eh?"; + mes "Isn't that so?"; + close; + } + if (!countitem(523) || !countitem(717)) { + mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000"; + close; + } + mes "[Woeon]"; + mes "Humph! What do you want?"; + next; + select ("Give the prepared items."); + mes "[Woeon]"; + mes "Oh dear... Forget about the thing back there."; + mes "You see, I was haunted by another ghost after you left..."; + mes "No hard feelings.."; + next; + mes "[Woeon]"; + mes "Is this the source of your spirit?"; + mes "It feels kinda cool!"; + mes "Perhaps this will fend off some of them..."; + next; + mes "[Woeon]"; + mes "Anyway, thanks a lot."; + mes "I'll call for you first when a job opens up for you."; + next; + mes "- Gave Woeon the Holy Water and Blue Gemstone.-"; + delitem 717, 1; //Blue_Gemstone + delitem 523, 1; //Holy_Water + setquest 7362; + completequest 7362; + if ((checkquest(7359) + checkquest(7360) + checkquest(7361) + checkquest(7362) + checkquest(7363) + checkquest(7364)) > 11) { + mes "-With Woeon as last, I think enough Holy Artifacts have been given.-"; + set malaya_hi, 13; + erasequest 7351; + setquest 7365; + } + close; + } else if (malaya_hi == 13) { + mes "[Woeon]"; + mes "Now... Let's get back to business."; + mes "Thanks to you, I don't see any of those darn ghosts."; + mes "Ha ha ha ha ha"; + close; + } else { + mes "[Woeon]"; + mes "Oh, hi there!"; + next; + if (select("Give Spiritual Protection.:The Dealer and his Collection") == 1) { + if (((checkquest(7374) == 0) || (checkquest(7374) == 1)) && ((checkquest(7371) == 0) || (checkquest(7371) == 1))) { + if (!countitem(6503)) { + mes "^4d4dffThere is no Spiritual Protection to give to Woeon.^000000"; + close; + } + mes "[Woeon]"; + mes "Phew~ A new Spiritual Protection?"; + mes "Is it an officially made protective charm? Imelda does some fine work."; + mes "I'm thankful to you as well, of course."; + next; + mes "-Delivered Spiritual Protection to Woeon.-"; + delitem 6503, 1; // Soul_Protection + erasequest 7371; + setquest 7385; + if ((checkquest(7382) + checkquest(7383) + checkquest(7384) + checkquest(7385) + checkquest(7386) + checkquest(7387)) > 5) { + mes "-With Woeon as last, all Spiritual Protections have been delivered.-"; + if (malaya_hi == 23) { + set malaya_hi, 24; + } + setquest 7379; + erasequest 7382; + erasequest 7383; + erasequest 7384; + erasequest 7385; + erasequest 7386; + erasequest 7387; + } + close; + } else { + mes "[Woeon]"; + mes "Spiritual Protection?"; + mes "Mine still works fine."; + mes "Very effective indeed."; + close; + } + } else { + if (BaseLevel < 100) { + mes "[Woeon]"; + mes "Yes, I collect various by-products from monsters."; + mes "In fact, I'm collecting Jejellopys here..."; + next; + mes "[Woeon]"; + mes "It's too much for you."; + mes "Things can get pretty ugly around here, you see."; + mes "I'll let you have at it once you're stronger, my friend!"; + close; + } + if ((checkquest(7392, PLAYTIME) == 0) || (checkquest(7392, PLAYTIME) == 1)) { + mes "[Woeon]"; + mes "Oh, the Jejellopy collecting?"; + mes "I have enough for today."; + mes "Come back again tomorrow."; + close; + } else if (checkquest(7392, PLAYTIME) == 2) { + mes "[Woeon]"; + mes "Oh, yes yes."; + mes "You're going to collect Jejellopy today as well?"; + mes "I know it's a difficult job... But you do it so well."; + erasequest 7392; + next; + if (select("I'm too busy today.:Leave it to me!") == 1) { + mes "[Woeon]"; + mes "Is that so? So it is then."; + mes "Come stop by when you need some work."; + close; + } + mes "[Woeon]"; + mes "As usual, bring me 30 Jejellopys, please."; + mes "You can get them from the Jejelings."; + setquest 7391; + close; + } else { + if ((checkquest(7391) == 0) || (checkquest(7391) == 1)) { + if (countitem(6498) < 30) { + mes "[Woeon]"; + mes "Hmm? I don't think you have enough."; + mes "I asked you for 30 Jejellopys. Business is business I'm afraid."; + close; + } + mes "[Woeon]"; + mes "Oh, you have the requested numbers?"; + mes "I'll take them from here."; + mes "You have no need for them, right?"; + next; + mes "[Woeon]"; + mes "So I have all the Jejellopys..."; + mes "Come back again!"; + delitem 6498, countitem(6498); //Jejellopy + setquest 7392; + erasequest 7391; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + set .@memo_name, rand(1,3); + if (!rand(3)) + $malayaNames$[1] = strcharinfo(0); + close; + } else { + mes "[Woeon]"; + mes "As you can see, I'm a Collection Dealer."; + mes "I trade all kinds of monster or animal by-products."; + next; + mes "[Woeon]"; + mes "They're used as materials for manufactured goods."; + mes "Of course, the most preferred in Port Malaya is from the monster Jejeling.."; + next; + mes "[Woeon]"; + mes "Jejellopy can be acquired from the Jejeling."; + mes "Can you get me 30 Jejellopys?"; + next; + if (select("Yeah, sure.:Nope.") == 2) { + mes "[Woeon]"; + mes "Is that so. Such a shame."; + mes "Come back when you need some work."; + close; + } + mes "[Woeon]"; + mes "Good, I trust you can do it."; + mes "Remember, 30 Jejellopys."; + setquest 7391; + close; + } + } + } + } + end; +} + +malaya,119,217,3 script Blacksmith Pandoi 538,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + if (malaya_hi < 10) { + mes "[Pandoi]"; + mes "...Gasp!"; + mes "Go... Go away!"; + close; + } else if (malaya_hi == 10) { + if (checkquest(7354) == 2) { + mes "[Pandoi]"; + mes "Please.."; + mes "Couldn't you help a guy out here, just for the sake of it?"; + mes "Do you really think ignoring me is the best option?!"; + next; + mes "[Pandoi]"; + mes "Now look here."; + mes "Please give me just a peek.."; + mes "It's just a button..."; + close; + } else { + mes "[Pandoi]"; + mes "Hello there!"; + mes "I've heard of your prestige."; + mes "I was wondering if I could receive something to prove that I've met you in person..."; + next; + mes "[Pandoi]"; + mes "Oh... You're surprised because I'm suddenly so nice to you."; + mes "I heard the news you fought off the ghosts."; + mes "That's brilliant!"; + next; + mes "[Pandoi]"; + mes "With an item of your spirit, it would scare away the ghosts, wouldn't it?"; + mes "Please, be generous, I beg you..."; + next; + mes "-The troubled villagers desire your belongings because you fend off the ghosts. -"; + setquest 7354; + completequest 7354; + if ((checkquest(7352) + checkquest(7353) + checkquest(7354) + checkquest(7355) + checkquest(7356) + checkquest(7357)) > 9) { + next; + mes "- So many have already asked you for this. Perhaps it will be better to speak with Phong in Mumbaki.-"; + set malaya_hi, 11; + setquest 7358; + } + close; + } + } else if (malaya_hi == 11) { + mes "[Pandoi]"; + mes "Phew... Life is so tough these days."; + mes "Why did ghosts come along to bother me so."; + mes "I wish I had a lucky charm or something..."; + next; + mes "[Pandoi]"; + mes "Please..."; + mes "Couldn't you help a guy out here, just for the sake of it?"; + mes "Do you really think ignoring me is the best option?!"; + close; + } else if (malaya_hi == 12) { + if (checkquest(7361) != -1) { + mes "[Pandoi]"; + mes "Now that I have confidence, the only thing left for me to do is charge to the hospital or field for material!"; + mes "Bu... But, I'm too scared..."; + close; + } + if (!countitem(523) || !countitem(717)) { + mes "^4d4dffPrepare and give Blue Gemstone and Holy Water. ^000000"; + close; + } + mes "[Pandoi]"; + mes "Wh, what, you've finally decided to help me?!"; + mes "You're going to give Pandoi a gift of peace?!"; + next; + select ("Give the prepared items."); + mes "[Pandoi]"; + mes "Great! I knew you'd come back!"; + mes "Yes... Now that I have some of your spirit, I can rest well at night."; + next; + mes "- Gave Pandoi the Holy Water and Blue Gemstone.-"; + delitem 717, 1; //Blue_Gemstone + delitem 523, 1; //Holy_Water + setquest 7361; + completequest 7361; + if ((checkquest(7359) + checkquest(7360) + checkquest(7361) + checkquest(7362) + checkquest(7363) + checkquest(7364)) > 11) { + mes "-With Pandoi as last, I think I've given enough Holy Artifacts.-"; + set malaya_hi, 13; + erasequest 7351; + setquest 7365; + } + close; + } else if (malaya_hi == 13) { + mes "[Pandoi]"; + mes "Sil... Silver. I need silver, please."; + mes "I thought I could get the silver once the ghosts are gone, but I can't..."; + close; + } else { + mes "[Pandoi]"; + switch(rand(1, 6)) { + case 1: + mes "You know. " + $malayaNames$[1] + ". You are my hero for becoming stronger. I look up to you!"; + break; + case 2: + mes "I've seen you, " + $malayaNames$[1] + " beating those Jejelings outside the town. The energy... I... I was so impressed!"; + break; + case 3: + mes "You, " + $malayaNames$[0] + ", lit up my soul. It sparkles, you know. No? You don't?"; + break; + case 4: + mes "As far as I can see, recently, " + $malayaNames$[1] + " is the most diligent person around. He's like a god of hard work."; + break; + case 5: + mes $malayaNames$[5] + "made a huge discovery. A dragon, they say."; + break; + case 6: + mes "Hello there?!"; + break; + } + next; + switch (select("Give Spiritual Protection.:Silver Blade.:Silver Cross")) { + case 1: + if ((checkquest(7374) == -1) || (checkquest(7370) == -1)) { + mes "[Pandoi]"; + mes "I appreciate you taking care of the expiration dates of my Spiritual Protection."; + mes "I think mine's good for now. "; + mes "When it wear's out, I'll ask you for another one!"; + close; + } + if (!countitem(6503)) { + mes "^4d4dffThere is no Spiritual Protection to give to Pandoi.^000000"; + close; + } + mes "[Pandoi]"; + mes "Good. A new Spiritual Protection."; + mes "It's always good to know that you won't see those black things again!"; + next; + mes "-Delivered Spiritual Protection to Pandoi.-"; + delitem 6503, 1; // Soul_Protection + erasequest 7370; + setquest 7384; + if ((checkquest(7382) + checkquest(7383) + checkquest(7384) + checkquest(7385) + checkquest(7386) + checkquest(7387)) > 5) { + mes "-With Pandoi as last, all Spiritual Protections have been delivered.-"; + if (malaya_hi == 23) { + set malaya_hi, 24; + } + setquest 7379; + erasequest 7382; + erasequest 7383; + erasequest 7384; + erasequest 7385; + erasequest 7386; + erasequest 7387; + } + close; + case 2: + if (BaseLevel < 100) { + mes "[Pandoi]"; + mes "Hmm... To make a Silver Blade, you need silver."; + mes "I could melt Silver Bracelets to get silver."; + mes "Silver Bracelets can be acquired at the hospital."; + next; + mes "[Pandoi]"; + mes "However, I don't think you can make it right now. I'm sorry, it's just too much for you!"; + mes "If you go in there like that... You'll never make it out alive!"; + close; + } + .@hunting = checkquest(7393, HUNTING); + if (.@hunting == 2) { + if (countitem(6508) < 10) { + mes "[Pandoi]"; + mes "Where are the Silver Bracelets?"; + mes "I know you're invincible..."; + mes "But I must have a Silver Bracelet to make a Silver Blade."; + next; + mes "[Pandoi]"; + mes "10 Silver Bracelets!"; + mes "Regardless of how many of them you hinder, I need 10 Silver Bracelets!!"; + mes "Now it is in your hands!"; + close; + } + mes "[Pandoi]"; + mes "Respect, all the way!"; + mes "You fought them off and brought the Silver Bracelets as well."; + next; + mes "[Pandoi]"; + mes "From this day on, I shall try to smelt a new silver weapon..!!"; + mes "I will pound and beat at them until I am left with a fine silver blade in my hands...!!"; + next; + mes "[Pandoi]"; + mes "It's not much, but here's something for the troubles you went through to get the Silver Bracelets."; + mes "If I fail... I'll ask of you the task again!"; + delitem 6508, 10; //Silver_Bracelet + setquest 7394; + erasequest 7393; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + if (!rand(3)) + $malayaNames$[1] = strcharinfo(0); + close; + } else if (.@hunting == 0 || .@hunting == 1) { + mes "[Pandoi]"; + mes "The village hospital holds the most hideous things inside."; + mes "I'm not sure what exactly... Whatever's in there, I'm not willing to go near it..."; + next; + mes "[Pandoi]"; + mes "Please get rid of those rumored monsters and get those Silver Bracelets."; + mes "You're the only one I can trust!"; + close; + } else { + .@playtime = checkquest(7394, PLAYTIME); + if (.@playtime == 0 || .@playtime == 1) { + mes "[Pandoi]"; + mes "I still have some silver to smelt."; + mes "I'll request more if I fail again."; + close; + } else if (.@playtime == 2) { + erasequest 7394; + mes "[Pandoi]"; + mes "Oh... what am I to do?"; + mes "I've wasted the precious materials you brought back for me..."; + next; + mes "[Pandoi]"; + mes "Maybe I'm not supposed to be a blacksmith!"; + mes "I'm good with crafting silver, though!"; + next; + if (select("I'll get you the materials. Cheer up.:Give up. It's a lot easier when you do.") == 2) { + mes "[Pandoi]"; + mes "... You're right..."; + mes "I'll never be able to make a Silver Blade..."; + mes "Give up... I thought you'd cheer me up.. I'm a little disappointed in you."; + close; + } + mes "[Pandoi]"; + mes "I knew I could count on you!"; + mes "I knew I could count on you!"; + mes "10 Silver Bracelets, please."; + setquest 7393; + next; + mes "[Pandoi]"; + mes "Pandoi will always smile at you~"; + mes "*Grin*"; + close; + } else { + mes "[Pandoi]"; + mes "Silver Blade!"; + mes "It's great. Wonderful! The holy blade to carve all evil with one stroke...!"; + next; + mes "[Pandoi]"; + mes "I want to be a noted blacksmith by making a Silver Blade."; + mes "However, I cannot get the materials."; + next; + mes "[Pandoi]"; + mes "I heard that they wore silver bracelets as recognition at the hospital."; + mes "But when I got there, it was not the hospital that I used to know."; + next; + mes "[Pandoi]"; + mes "Could you slay the horrible creepers and get me the Silver Bracelets?"; + next; + if (select("Indeed!:No. Way.") == 2) { + mes "[Pandoi]"; + mes "... You're right..."; + mes "I'll never make a Silver Blade..."; + mes "Such plain expression of disgust. You know what? I hate the idea now."; + close; + } + mes "[Pandoi]"; + mes "I knew it!"; + mes "Teach those things at the hospital some manners..."; + mes "And bring back 10 Silver Bracelets, please."; + setquest 7393; + next; + mes "[Pandoi]"; + mes "Pandoi will always smile at you~"; + mes "*Grin*"; + close; + } + } + case 3: + mes "[Pandoi]"; + mes "You need Silver Crosses?"; + mes "Pandoi will make them for you!"; + mes "Still, I cannot create something out of the blue, so I'll be needing some silver."; + next; + mes "[Pandoi]"; + mes "I could make one Silver Cross for ^4d4dff2 Silver Bracelets^000000 the monsters hold there..."; + mes "If you have Silver Bracelets, I could make Silver Crosses with them."; + next; + switch(select("Make 1 Silver Cross:Make 6 Silver Crosses:Input Number:Quit.")) { + case 1: + set .@amount,1; + case 2: + if (!.@amount) set .@amount,6; + if (countitem(6508) < (.@amount * 2)) { + mes "[Pandoi]"; + mes "You need at least " + (.@amount * 2) + " Silver Bracelets to make " + .@amount + " Silver " + ((.@amount == 1) ? "Cross" : "Crosses") + "."; + close; + } + set .@time,5; + break; + case 3: + mes "[Pandoi]"; + mes "How many Silver Crosses do you need?"; + mes "I can make up to 50 at a time."; + next; + input .@amount; + if (.@amount == 0) { + mes "[Pandoi]"; + mes "Don't need Silver Crosses?"; + mes "Well, I can take a rest then. Ha ha ha ha~"; + close; + } else if (.@amount > 50) { + mes "[Pandoi]"; + mes "A maximum of 50 at a time!"; + close; + } + if (countitem(6508) < (2 * .@amount)) { + mes "[Pandoi]"; + mes "To make " + .@amount + " Silver " + ((.@amount == 1) ? "Cross" : "Crosses") + ", I need at least " + (2 * .@amount) + " Silver Bracelets."; + close; + } + set .@time,15; + break; + case 4: + mes "[Pandoi]"; + mes "I'll be here if you need me!"; + close; + } + mes "[Pandoi]"; + mes "It'll take just a second."; + mes "Pandoi can do it in a jiffy!"; + close2; + progressbar "0xffff00", .@time; + delitem 6508, .@amount * 2; //Silver_Bracelet + getitem 6502, .@amount; // Silver_Cross + mes "[Pandoi]"; + mes "Look at this!"; + mes "Very nice indeed."; + mes "I should've been a craftsman, not a blacksmith!"; + close; + } + } + end; +} + +malaya,326,68,2 script Pedro the Sailor 100,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + if (malaya_hi < 10) { + mes "[Pedro the Sailor]"; + mes "Oh... This ship's not in service."; + mes "Or rather, it can't set sail. *Snigger*"; + mes "I'm seeing ghosts. I think it's my time to die."; + close; + } else if (malaya_hi == 10) { + if (checkquest(7352) == 2) { + mes "- Pedro the Sailor seems to have given up, but he can't take his gaze off of me.-"; + close; + } + mes "[Pedro the Sailor]"; + mes "Oh, you're th... The one who fends off ghosts at the wave of a hand?!"; + mes "Could you stay for a bit and hear me out?!"; + next; + if (select("Sorry.:Sure.") == 1) { + mes "[Pedro the Sailor]"; + mes "Oh, a solid denial."; + mes "You just impaled my last glimpse of hope."; + mes "Maybe I wasn't persuasive enough..."; + close; + } + mes "[Pedro the Sailor]"; + mes "Straight to the point, this town is a den of ghosts!"; + mes "Sigh... I've been a sailor for quite a while and went to a lot of places, but this I never experienced before."; + next; + mes "[Pedro the Sailor]"; + mes "You see that ship there?"; + mes "It's a small ferry, but it also stopped service because of these darn ghosts!"; + next; + mes "[Pedro the Sailor]"; + mes "It looks okay from the outside, but it's full of ghost, I tell ya."; + mes "But the way I heard it, they're afraid of you, right?"; + next; + select ("Oh no, you too...:Not my buttons!"); + mes "[Pedro the Sailor]"; + mes "I see many have already asked you for some of your stuff for charms, huh."; + mes "Can I budge in that line too?"; + next; + mes "[Pedro the Sailor]"; + mes "I need to have some sincere conversations with that ghost over there."; + mes "But the spirit is too strong for me to approach."; + next; + mes "[Pedro the Sailor]"; + mes "...........That was a lame story."; + mes "And it's not easy to give away your stuff to someone else."; + next; + mes "- Pedro the Sailor seems to have given up, but he can't take his gaze off of me.-"; + setquest 7352; + completequest 7352; + if ((checkquest(7352) + checkquest(7353) + checkquest(7354) + checkquest(7355) + checkquest(7356) + checkquest(7357)) > 9) { + next; + mes "- So many have already asked you for this. Perhaps it will be better to speak with Phong in Mumbaki. -"; + set malaya_hi, 11; + setquest 7358; + } + close; + } else if (malaya_hi == 11) { + mes "[Pedro the Sailor]"; + mes "Sigh..."; + mes "This is so awkward."; + close; + } else if (malaya_hi == 12) { + if (checkquest(7359) != -1) { + mes "[Pedro the Sailor]"; + mes "Anyway, now that I have what they hate..."; + mes "Now's the time to charge into my ship...!"; + close; + } + if (!countitem(523) || !countitem(717)) { + mes "^4d4dffPrepare and give Blue Gemstone and Holy Water.^000000"; + close; + } + mes "[Pedro the Sailor]"; + mes "What? I can sense something refreshing in your hands. What is it?"; + next; + mes "[Pedro the Sailor]"; + mes "You're giving it to me?"; + mes "Ghosts will hate it?"; + mes "That's wonderful news!"; + next; + mes "[Pedro the Sailor]"; + mes "Pedro, at your service!"; + mes "After you're finished with the ghosts here, I'll take on my ship to the end of the world!"; + next; + mes "- Gave Pedro the Sailor the Holy Water and Blue Gemstone. -"; + delitem 717, 1; //Blue_Gemstone + delitem 523, 1; //Holy_Water + setquest 7359; + completequest 7359; + if ((checkquest(7359) + checkquest(7360) + checkquest(7361) + checkquest(7362) + checkquest(7363) + checkquest(7364)) > 11) { + mes "-With Pedro the Sailor as last, I think I gave enough Holy Artifacts.-"; + set malaya_hi, 13; + erasequest 7351; + setquest 7365; + } + close; + } else if (malaya_hi == 13) { + mes "[Pedro the Sailor]"; + mes "Anyway, now that I have what they hate..."; + mes "Now's the time to charge into my ship...!"; + next; + mes "-Pedro the Sailor looks determined.-"; + close; + } else { + mes "[Pedro the Sailor]"; + mes "Whoa... Did you see that?"; + mes "Those black souls just came up and disappeared."; + mes "Well, living the dream, eh?"; + next; + if (select("Give Spiritual Protection.:About the Ferry Ride") == 1) { + if ((checkquest(7374) == -1) || (checkquest(7368) == -1)) { + mes "[Pedro the Sailor]"; + mes "The Spiritual Protection you gave me before works fine."; + mes "I'm good for now."; + mes "It's still up for the fight!"; + close; + } + if (!countitem(6503)) { + mes "^4d4dffThere is no Spiritual Protection to give to Pedro the Sailor.^000000"; + close; + } + mes "[Pedro the Sailor]"; + mes "A newly made Spiritual Protection."; + mes "Alright. I'll go at them with this one today."; + next; + mes "-Delivered the Spiritual Protection to Pedro the Sailor.-"; + delitem 6503, 1; // Soul_Protection + erasequest 7368; + setquest 7382; + if ((checkquest(7382) + checkquest(7383) + checkquest(7384) + checkquest(7385) + checkquest(7386) + checkquest(7387)) > 5) { + mes "-With Pedro the Sailor as last, all Spiritual Protections have been delivered.-"; + if (malaya_hi == 23) { + set malaya_hi, 24; + } + setquest 7379; + erasequest 7382; + erasequest 7383; + erasequest 7384; + erasequest 7385; + erasequest 7386; + erasequest 7387; + } + close; + } + if (BaseLevel < 100) { + mes "[Pedro the Sailor]"; + mes "Hmm... Don't you remember me talking about ghosts?"; + mes "The Ferry is full of ghosts."; + mes "Wait, was it one or many?"; + next; + mes "[Pedro the Sailor]"; + mes "Whatever. For you and your current condition, it's out of the question."; + mes "Yes. You can't do it. You'll be dragged out in a body bag."; + next; + mes "[Pedro the Sailor]"; + mes "Now I'm not going to stand here and wait for that to happen. No way."; + close; + } + if (malaya_diwata == 0) { + mes "[Pedro the Sailor]"; + mes "I'm sorry, but didn't I say something about ghosts over there?"; + mes "It can't set sail because of that."; + next; + mes "[Pedro the Sailor]"; + mes "So what's this whole ghost story about?"; + mes "Hmmm.........."; + mes "It's a long story..."; + next; + if (select("I'm listening.:Maybe later.") == 2) { + mes "[Pedro the Sailor]"; + mes "I knew it."; + mes "Though, it's not such a boring story."; + mes "After all, it is a ghost story."; + close; + } + mes "[Pedro the Sailor]"; + mes "The story goes back to when I first made port here."; + mes "It was a nerve racking first time as a liner manager."; + next; + mes "[Pedro the Sailor]"; + mes "I was ready to disembark when I saw something I simply could not believe."; + mes "Black haze was swarming to the port from all over town."; + next; + mes "[Pedro the Sailor]"; + mes "At first, I thought it was just a very thick smog."; + mes "As the days went by, it became clear as to what it was."; + mes "It was a swarm of souls."; + next; + mes "[Pedro the Sailor]"; + mes "A very unpleasant group of souls indeed."; + mes "Some were wailing some horrible cries around the Ferry about to set sail..."; + next; + mes "[Pedro the Sailor]"; + mes "After that incident, that ship stayed on that spot until this day."; + mes "Why? Because they took over the ship! It's haunted!"; + next; + mes "[Pedro the Sailor]"; + mes "If you don't believe me, see for yourself."; + mes "Then you'll believe me."; + set malaya_diwata, 1; + setquest 7395; + close; + } else if (malaya_diwata == 1) { + mes "[Pedro the Sailor]"; + mes "If you want to know, go and see for yourself and get on it."; + close; + } else if (malaya_diwata == 2) { + mes "[Pedro the Sailor]"; + mes "Soul of a Little Girl?"; + mes "What about all them bullying ones?"; + mes "They came and went?"; + next; + mes "[Pedro the Sailor]"; + mes "I don't understand."; + mes "Maybe the Leader Mumbaki will know what to do."; + close; + } else if (malaya_diwata == 3) { + mes "[Pedro the Sailor]"; + mes "Hmm... A floral tribute to soothe the soul...."; + mes "You want to hear its story after it calms down?"; + mes "Well... Good luck."; + next; + mes "[Pedro the Sailor]"; + mes "It can't be helped for the Ferry to set sail again."; + mes "I can't go near it because of those mean ones."; + next; + mes "[Pedro the Sailor]"; + mes "Now I'm asking you to do this not because I can't be bothered,"; + mes "but because I simply can't do it myself."; + close; + } else if (malaya_diwata == 4) { + mes "[Pedro the Sailor]"; + mes "Did Mumbaki bless the flower?"; + mes "I hope this works..."; + mes "I wish you all the luck!!"; + next; + mes "[Pedro the Sailor]"; + mes "I hope you can negotiate with success!"; + mes "I'll take care of those rude ones outside the ship the best I can."; + close; + } else if (malaya_diwata == 5) { + mes "[Pedro the Sailor]"; + mes "I see."; + mes "Perhaps the Ferry can move again..."; + mes "Thank you for all you've done for us."; + next; + mes "[Pedro the Sailor]"; + mes "I'd better get ready to set sail then."; + mes "It's not much, but this is for you."; + mes "If we can get back in business, I'll take you to Izlude for just 1000z."; + set malaya_diwata, 6; + erasequest 7399; + setquest 7401; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + if (!rand(3)) + $malayaNames$[0] = strcharinfo(0); + close; + } else { + .@playtime = checkquest(7401, PLAYTIME); + if (.@playtime == 0 || .@playtime == 1) { + mes "[Pedro the Sailor]"; + mes "If you want to go to Alberta, use the big ship over there."; + mes "This little one goes to Izlude."; + mes "That will be 1000z."; + next; + if (select("Use.:That's a rip off!") == 2) { + mes "[Pedro the Sailor]"; + mes "What?!"; + mes "How much do you pay for the Alberta Liner to get here!?"; + mes "Call this a rip off... You think I'm doing charity?"; + close; + } + if (Zeny < 1000) { + mes "[Pedro the Sailor]"; + mes "The price is 1000 zeny."; + mes "I can't help you there~"; + close; + } + mes "[Pedro the Sailor]"; + mes "Thank you~"; + mes "Let's go before the ghosts come back!"; + set Zeny, Zeny - 1000; + close2; + warp "izlude",195,180; + end; + } else if (.@playtime == 2) { + erasequest 7401; + goto L_SetQuest; + } else { + if (checkquest(7403) == -1) { + if (checkquest(7402) == -1) { + goto L_SetQuest; + } + mes "[Pedro the Sailor]"; + mes "You know what to do."; + mes "Gather the flowers and take it to Mumbaki to get an Offering Bouquet made."; + next; + mes "[Pedro the Sailor]"; + mes "Give the Bouquet to Miss Diwata to cheer her up."; + mes "....Thank you."; + close; + } + mes "[Pedro the Sailor]"; + mes "Diwata is calm!"; + mes "I can even feel the difference out here."; + mes "I am always in your debt."; + next; + mes "[Pedro the Sailor]"; + mes "You know what? Why don't you do this on a more regular basis?"; + mes "I think you kind of like doing it."; + setquest 7401; + erasequest 7403; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + if (!rand(3)) + $malayaNames$[0] = strcharinfo(0); + close; + } + } + } + end; + +L_SetQuest: + mes "[Pedro the Sailor]"; + mes "Ah, the thing is..."; + mes "We can't go right now.."; + mes "You see, the ghosts are back..."; + mes "I'm fed up with nuisance."; + next; + mes "[Pedro the Sailor]"; + mes "I mean... Miss Diwata... Isn't feeling very well and, even with the Spiritual Protection"; + mes "a normal person can't stand it."; + next; + if (select("I see. Take care then.:How about a Floral Tribute?") == 1) { + mes "[Pedro the Sailor]"; + mes "I'm glad you understand."; + mes "Sigh..."; + close; + } + mes "[Pedro the Sailor]"; + mes "Hmmm. That would be nice."; + mes "If she can be soothed with flowers...!"; + mes "Good luck."; + setquest 7402; + close; +} + +ma_in01,125,107,3 script Ghost Diwata 1761,4,4,{ + end; +OnTouch: + if (malaya_diwata == 0) { + cutin "malaya_diwata01", 2; + mes "- A creepy Little Girl is standing."; + mes "As our eyes meet, a chill runs down my spine with goose bumps all over. -"; + next; + mes "[Diwata]"; + mes "Are you here to bully Diwata too?"; + mes "I won't have it!"; + next; + cutin "", 255; + mes "-I was thrown out after the Little Girl's low creepy voice and flash from her eyes.-"; + close; + warp "malaya", 324, 66; + end; + } else if (malaya_diwata == 1) { + cutin "malaya_diwata01", 2; + mes "- A creepy Little Girl is standing."; + mes "As our eyes meet, a chill runs down my spine with goose bumps all over. -"; + next; + mes "[Diwata]"; + mes "Are you here to bully Diwata too?"; + mes "I won't have it!"; + next; + select ("Wait! I just want to talk!"); + mes "[Diwata]"; + mes "Then who are they behind you?"; + mes "You're one of them!"; + next; + cutin "malaya_ghost01", 4; + mes "- Familiar souls are approaching Diwata. -"; + next; + if (select("It's a misunderstanding!:You're from that..!") == 2) { + cutin "malaya_ghost02", 4; + mes "[" + strcharinfo(0) + "]"; + mes "Just as I thought! You're afraid of me?!"; + mes "Stand aside!"; + mes "I need to talk to her."; + next; + cutin "malaya_diwata01", 2; + mes "[Diwata]"; + mes "I don't know why they're backing away..."; + mes "You get out of my sight too!"; + next; + cutin "", 255; + mes "-I was thrown out after the Little Girl's annoyed cry and flash from her eyes.-"; + set malaya_diwata, 2; + setquest 7396; + erasequest 7395; + close2; + warp "malaya", 324, 66; + end; + } + cutin "malaya_diwata01",2; + mes "[Diwata]"; + mes "Enough!"; + next; + cutin "", 255; + mes "-I was thrown out after the Little Girl's resolute cry and flash from her eyes.-"; + set malaya_diwata, 2; + setquest 7396; + erasequest 7395; + close2; + warp "malaya", 324, 66; + end; + } else if ((malaya_diwata == 2) || (malaya_diwata == 3)) { + cutin "malaya_diwata01", 2; + mes "[Diwata]"; + mes "You crawled back in?"; + mes "Get out-!!!!!"; + next; + cutin "", 255; + mes "-I was thrown out after the Little Girl's screeching cry and flash from her eyes.-"; + close; + warp "malaya", 324, 66; + end; + } else if (malaya_diwata == 4) { + if (!countitem(6506)) { + cutin "malaya_diwata01", 2; + mes "- The soul of Little Girl Diwata is looking at me fiercely."; + mes "No Offering Bouquet...!!!"; + next; + cutin "", 255; + mes "-I was thrown out with a remote look from her.-"; + close; + warp "malaya", 324, 66; + end; + } + mes "- The soul of Little Girl Diwata is looking at me fiercely. -"; + mes "- The Offering Bouquet... -"; + cutin "malaya_diwata01", 2; + next; + if (select("Throw it to the Little Girl.:Slide it across on the floor.") == 1) { + mes "- I threw the bouquet before she could toss me out, and she catches in surprise..."; + mes "She won't toss me... far, now that she has the flower.-"; + } else { + mes "- I slid the flower across the floor to her. She looks puzzled. -"; + } + next; + mes "[Diwata]"; + mes "What is the meaning of this?"; + mes "You're not an enemy?"; + next; + mes "[Diwata]"; + mes "What? You're an outsider too?"; + mes "Ha, so live ones are allowed and I'm not?"; + next; + mes "[Diwata]"; + mes "Now there's the stereotype of countryside people over outsiders."; + mes "I am so annoyed. I feel like wiping them off the map."; + next; + mes "[Diwata]"; + mes "What? I shouldn't?"; + mes "Why should I not?"; + mes "I'm stalling the ship?"; + next; + mes "[Diwata]"; + mes "I was going to hear you out because of the flowers"; + mes "but you're telling me lies?!"; + next; + mes "[Diwata]"; + mes "So you're saying that I brought these hillbillies on this ship"; + mes "and that fighting with them is causing the stall?"; + next; + mes "[Diwata]"; + mes "... Hmm... Humph. It wasn't what I was intending to do."; + mes "But they're the ones who're getting on my nerves!"; + next; + mes "[Diwata]"; + mes "... I can't get off anyway."; + mes "Which means that I could feel bad again. Got it?"; + next; + mes "[Diwata]"; + mes "... I'll try to keep it in today."; + mes "It's not because I like the flowers or because I like having company!"; + mes "It's because I was treated the same way as those cheap ghosts!"; + next; + mes "[Diwata]"; + mes "Now if you'll excuse me."; + mes "And I'll be clear. I'm not going to hold my temper for so long."; + next; + mes "[Diwata]"; + mes "Now, g... go away!"; + set malaya_diwata, 5; + delitem 6506, 1; // Memorial_Boquet + erasequest 7398; + setquest 7399; + close; + } else if (malaya_diwata == 5) { + cutin "malaya_diwata02", 2; + mes "[Diwata]"; + mes "I promise I'll be a good little girl if those hillbillies leave me alone."; + mes "If they bother me again, however, I won't be."; + close; + } else { + if (checkquest(7402) == -1) { + if (checkquest(7403) == -1) { + if ((checkquest(7401, PLAYTIME) == 0) || (checkquest(7401, PLAYTIME) == 1)) { + cutin "malaya_diwata02", 2; + mes "[Diwata]"; + mes "Surprisingly enough, I'm doing fine."; + mes "Of course I'm tense for when they return,"; + mes "but, as always, I'll win."; + next; + mes "[Diwata]"; + mes "Then the poor crew will cry again"; + mes "I just can't calm myself down after a fight."; + next; + mes "[Diwata]"; + mes "The flowers you bring makes me calm down."; + mes "...."; + mes ".. It's not because I miss people or I like the flowers. Don't take it the wrong way."; + close; + } + cutin "malaya_diwata01", 2; + mes "[Diwata]"; + mes "Get lost!"; + mes "What? Oh, it's you."; + mes "Those hillbillies came back again!"; + mes "I'm going to kill them!"; + close; + } + cutin "malaya_diwata02", 2; + mes "[Diwata]"; + mes "It's good to look at flowers from abroad~"; + mes "Do all flowers from the warm parts of the world smell so nice?"; + next; + mes "[Diwata]"; + mes "The flowers you bring makes me calm down."; + mes "...."; + mes ".. It's not because I miss people or I like the flowers. Don't take it the wrong way."; + close; + } + cutin "malaya_diwata01", 2; + mes "[Diwata]"; + mes "Darn it! Have you come for more?!"; + mes "What?"; + mes "Oh. It's you?"; + mes "I'm really depressed right now."; + next; + mes "- Diwata reached her hands out as if expecting something. -"; + next; + if (select("Give the Bouquet.:Hold her hand.") == 2) { + mes "[Diwata]"; + mes "What do you think you're doing?!!??!?!!"; + mes "Arghhhh - I have enough creeps around here, thank you!!"; + next; + cutin "", 255; + mes "-I was tossed out with Diwata's thunderous cry.-"; + close; + warp "malaya", 324, 66; + end; + } + if (!countitem(6506)) { + mes "[Diwata]"; + mes "What? You want me to wave?"; + mes "You didn't bring it?"; + mes "You didn't?!?"; + mes "Arghhh you just can't trust anybody! Anybody!"; + next; + cutin "", 255; + mes "-I was tossed out with Diwata's thunderous cry.-"; + close; + warp "malaya", 324, 66; + end; + } + cutin "malaya_diwata02", 2; + mes "[Diwata]"; + mes "... Oh... Just as I thought!"; + mes "My only happiness, my only peace of mind..!"; + mes "Flowers from abroad~!"; + next; + mes "-Diwata seems to feel better. The atmosphere shifts to a more refreshing ambience.-"; + next; + mes "[Diwata]"; + mes "Tell Pedro the Sailor!"; + mes "Diwata will be a goddess of sea, so set sail in my generosity."; + delitem 6506, 1; // Memorial_Boquet + setquest 7403; + erasequest 7402; + close; + } + cutin "", 255; + end; +} + +ma_fild01,261,208,2 script Kiko in Mumbaki 580,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + mes "[Kiko in Mumbaki]"; + mes "Welcome to Baryo, stranger."; + mes "I am the soul guidance, protector of people and souls here at Baryo."; + mes "So, I'm a good leader Kiko in Mumbaki."; + next; + switch (select("Give Cast-Iron Caldron.:Request Purification Ritual.:Exchange Jellopy for gold.")) { + case 1: + if (checkquest(7376) == -1) { + if (checkquest(7377) == -1) { + mes "[Kiko in Mumbaki]"; + mes "What cauldron?"; + mes "As far as I know, you're not the one bringing it."; + next; + mes "[Kiko in Mumbaki]"; + mes "Poor thing."; + mes "do not live a life of lies."; + close; + } + mes "[Kiko in Mumbaki]"; + mes "Baryo is not a great place for smithy work."; + mes "So we always ask a favor to the forge of Malaya."; + next; + mes "[Kiko in Mumbaki]"; + mes "Bakonawa does not like loud noises."; + mes "That's why we beat the sturdy Cast Iron Cauldrons."; + next; + mes "[Kiko in Mumbaki]"; + mes "The Spiritual Protection is proof that I've got my cauldron,"; + mes "so deliver it well. Okay? Good."; + close; + } + if (countitem(6504) < 5) { + mes "[Kiko in Mumbaki]"; + mes "Oh, must be the cauldron I ordered."; + mes "But, where is it?"; + mes "Are you mocking me?!"; + close; + } + mes "[Kiko in Mumbaki]"; + mes "Yes, excellent!"; + mes "Very Good."; + mes "We can aggravate the Bakonawa more with this."; + next; + mes "[Kiko in Mumbaki]"; + mes "I'll give you this for the cauldron."; + mes "I hear you're having some trouble with souls?"; + mes "Take this. It will help you."; + delitem 6504, 5; // Cast_Iron_Caldron + getitem 6503, 5; // Soul_Protection + setquest 7377; + erasequest 7376; + close; + case 2: + if (checkquest(7406) == -1) { + if (checkquest(7407) == -1) { + mes "[Kiko in Mumbaki]"; + mes "The only purification needed in this village is Vantai's food."; + mes "There are no rituals where an outsider, like yourself, can take part in."; + close; + } + mes "[Kiko in Mumbaki]"; + mes "Vantai must be hungry."; + mes "Go give it to him."; + mes "Quickly now."; + close; + } + if ((countitem(523) < 10) || (countitem(6507) < 10)) { + mes "[Kiko in Mumbaki]"; + mes "Purification of the bones the Guard Dog Vantai needs to gnaw on?"; + mes "My work here just gets better and better."; + next; + mes "[Kiko in Mumbaki]"; + mes "Go into the forest and fetch me ^4d4dff10 Evil Spirit Bones^000000 and ^4d4dff10 Holy Waters^000000 for the purification ritual."; + mes "I'll do the ritual myself."; + close; + } + mes "[Kiko in Mumbaki]"; + mes "Bones from the animals of this forest all have bad spirits within."; + mes "Of course it cannot be helped due to the malignant spirits flailing about..."; + next; + mes "[Kiko in Mumbaki]"; + mes "You do this and do this here and there and..."; + mes "There. The evil spirit has left and the bone is so pure that you can just chew on it."; + next; + mes "[Kiko in Mumbaki]"; + mes "Now, take this back to Dong the Guard."; + mes "Vantai will become stronger after eating this purified Evil Spirit Bone."; + next; + mes "[Kiko in Mumbaki]"; + mes "Moreover, holding on to Evil Spirit Bones will only do you harm,"; + mes "so I'll take them all to purify."; + delitem 6507, countitem(6507); // Evil_Bone + delitem 523, 10; //Holy_Water + getitem 6505, 10; //Purified_Bone + setquest 7407; + erasequest 7406; + close; + case 3: + mes "[Kiko in Mumbaki]"; + mes "Oh no you don't!"; + mes "Don't you dare!"; + close; + } + end; +} + +ma_fild01,239,253,3 script Dhong the Guard 570,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + mes "[Dhong the Guard]"; + mes "Hi there!"; + mes "Welcome to Baryo."; + next; + if (select("You're job seems so hard~:Guard Dog Vantai") == 1) { + mes "[Dhong the Guard]"; + mes "Not at all. I just watch who comes and goes from here."; + mes "Travelers are the ones who go through more hardship."; + close; + } + if (BaseLevel < 100) { + mes "[Dhong the Guard]"; + mes "Vantai is a nice dog."; + mes "He's probably stronger than you."; + next; + mes "[Dhong the Guard]"; + mes "No offense, but"; + mes "you look weaker than the original owners of the bones Vantai chews on."; + next; + mes "[Dhong the Guard]"; + mes "That means just about as strong as me!"; + mes "Ha ha ha ha ha ha ha!"; + close; + } + .@playtime = checkquest(7408, PLAYTIME); + if (.@playtime == 0 || .@playtime == 1) { + mes "[Dhong the Guard]"; + mes "The bones you brought Vantai gave him a feast."; + mes "He'll be full and merry for a while now."; + mes "Nobody can beat Vantai in recon around here."; + next; + mes "[Dhong the Guard]"; + mes "Though it is not nice to say a person is lesser than a dog,"; + mes "but there are some who are lesser."; + close; + } else if (.@playtime == 2) { + erasequest 7408; + mes "[Dhong the Guard]"; + mes "Vantai?"; + mes "Always the same."; + mes "Now that you mention it, it's almost time for him to get hungry."; + next; + mes "[Dhong the Guard]"; + mes "Of course, he eats normal dog food, but he can't go without those."; + mes "You know what I mean, right?"; + mes "Smirk..."; + next; + mes "[Dhong the Guard]"; + mes "Me and Vantai are always waiting"; + mes "for the hero to get us some Evil Spirit Bones from the forest."; + close; + } else { + if (checkquest(7406) != -1) { + mes "[Dhong the Guard]"; + mes "What I'm saying is that, to be a good guard dog, he must be able to stand ground against evil spirits."; + mes "For that he needs to eat Evil Spirit Bones, but it must be purified before he can eat them."; + next; + mes "[Dhong the Guard]"; + mes "You can get Evil Spirit Bones from monsters or animals in the forest."; + mes "Kiko in Mumbaki will purify them for you."; + close; + } else { + if (checkquest(7407) == 1) { + if (countitem(6505) < 10) { + mes "[Dhong the Guard]"; + mes "Kiko in Mumbaki asked for 10 Purified Spirit Bones."; + mes "He needs to have at least 10 at a time. Which of course does not last a day..."; + close; + } + mes "[Dhong the Guard]"; + mes "Hey, Vantai will love these!"; + mes "It's all in good condition..."; + mes "An evil bone purified through holy ritual..."; + next; + mes "[Dhong the Guard]"; + mes "This is the perfect dog food!!"; + mes "Now he can sense and detect evil spirits,"; + mes "and since he ate purified ones, he'll get the ability to eradicate them."; + next; + mes "[Dhong the Guard]"; + mes "I bet he's the strongest living thing in the village now."; + mes "Of course not me. I mean Vantai."; + next; + mes "[Dhong the Guard]"; + mes "This is your reward."; + mes "It would be very nice if you could help us again tomorrow."; + delitem 6505, 10; // Purified_Bone + setquest 7408; + erasequest 7407; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + if (!rand(0, 2)) + $malayaNames$[2] = strcharinfo(0); + close; + } else { + mes "[Dhong the Guard]"; + mes "Vantai is not only a guard dog, but he's also a great detector and recon scout."; + mes "But for him to do so, he needs to eat Purified Spirit Bones."; + next; + mes "[Dhong the Guard]"; + mes "As you can see, I can't move from here,"; + mes "so I was wondering if you can get the bones for Vantai..."; + next; + if (select("Alright.:Sorry.") == 2) { + mes "[Dhong the Guard]"; + mes "I see."; + mes "Vantai!"; + mes "No treat for you today..!!"; + next; + mes "- It seems like Vantai's eyes are more moist today. -"; + close; + } + mes "[Dhong the Guard]"; + mes "Bones can be acquired from animals or monsters around here."; + mes "Take them to Kiko in Mumbaki for purification, which, in turn, can be given to Vantai to eat."; + next; + mes "[Dhong the Guard]"; + mes "Bring us 10 Purified Spirit Bones."; + mes "That reminds me. You'll need Holy Water for the purification ritual."; + next; + mes "[Dhong the Guard]"; + mes "Take your time."; + mes "Look here. Vantai likes it too."; + setquest 7406; + close; + } + } + } + end; +} + +ma_fild01,238,257,2 script Guard Dog Vantai 972,{ + mes "[Vantai]"; + mes "Grrrrrrr..."; + mes " "; + mes "(He is intimidated by you.)"; + close; +} + +ma_fild01,200,190,3 script Maries#malaya 579,{ + if (MaxWeight - Weight < 1000 || checkweight(1201,1) == 0) { + mes "- Cannot proceed with the quest. You are carrying too many items. -"; + close; + } + if (BaseLevel < 100) { + mes "[Maries]"; + mes "Umm... Hey..."; + mes "Oh, no, sorry. You don't look so strong or bold."; + mes "I'm sorry. I'm just not quite myself..."; + close; + } + if (malaya_hi < 20) { + mes "An anxious looking woman is stands."; + close; + } + .@playtime = checkquest(7390, PLAYTIME); + if (.@playtime == 0 || .@playtime == 1) { + mes "[Maries]"; + mes "Now that the children know that they can get back home with an Inside-out Shirt,"; + mes "they play out in the forest recklessly and timelessly."; + next; + mes "[Maries]"; + mes "The children will surely get lost again in these conditions."; + mes "If it happens again, I'll seek your help again."; + close; + } else if (.@playtime == 2) { + mes "[Maries]"; + mes "I'm missing a child... again."; + mes "Oh my goodness..."; + erasequest 7390; + close; + } else { + if (checkquest(7389) != -1) { + mes "[Maries]"; + mes "You came back."; + mes "Thanks to you, the child has returned home safely."; + next; + mes "[Maries]"; + mes "Although the shirt is inside-out, it miraculously brings them back to where they should be."; + mes "Thank you for delivering those precious shirts to my children."; + setquest 7390; + erasequest 7389; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + if (!rand(3)) + $malayaNames$[2] = strcharinfo(0); + close; + } else { + if (checkquest(7388) != -1) { + mes "[Maries]"; + mes "I'm sure they're lost in the woods because of mischievous spirits."; + mes "Please give the child the ^4d4dffInside-out Shirt^000000 when found."; + next; + mes "[Maries]"; + mes "The Inside-out Shirts..."; + mes "You can probably get them from the demons, since they ran away with them."; + close; + } else { + mes "[Maries]"; + mes "Hello... I'm looking for my child..."; + mes "My daughter did not return."; + mes "Please help, I think she's lost in the forest."; + next; + switch (select("Of course.:I'm too busy right now.:You have so many children.")) { + case 1: + mes "[Maries]"; + mes "I'm sure she's lost in the woods because of mischievous spirits."; + next; + mes "[Maries]"; + mes "If she's cursed, it will be difficult to get her out of there."; + mes "She'll drift around in the maze so mesmerizing, even for you, in fact."; + next; + mes "[Maries]"; + mes "Acquire an ^4d4dffInside-out Shirt^000000 and give it to my daughter."; + mes "Although the shirt is inside-out, it miraculously brings them back to where they should be."; + next; + mes "[Maries]"; + mes "The Inside-out Shirts..."; + mes "You can probably get them from the demons, since they ran away with them."; + setquest 7388; + close; + case 2: + mes "[Maries]"; + mes "... Yes... I see."; + mes "I'll have to ask someone else."; + mes "Alright."; + mes "Sigh..."; + close; + case 3: + mes "[Maries]"; + mes "...I ended up having triplets."; + mes "Even I sometimes get confused. *Chuckle*"; + next; + mes "[Maries]"; + mes "They seem to be under a curse because one of them always get's lost in the woods.."; + mes "Sigh..."; + close; + } + } + } + } + end; +} + +ma_fild01,203,189,3 script Little Girl#malaya 576,{ + mes "[Little Girl]"; + mes "He he, the forest is scary, but it's so much fun so I go there often to play~"; + mes "Strange, how we always get lost."; + next; + mes "[Little Girl]"; + mes "But it's okay because I'm not the only one getting lost~"; + mes "We're triplets~ And we're missing the other two~ Giggle~"; + close; +} + +ma_fild01,251,93,3 script Lost Child#malaya01 576,{ + if (checkquest(7388) > -1) { + if (!countitem(12700)) { + mes "[Little Kid]"; + mes "Sigh. Are you lost too?"; + mes "They are so naughty."; + next; + mes "[Little Kid]"; + mes "An Inside-out Shirt is just what I need."; + mes "*Chuckle*..."; + close; + } + mes "[Little Kid]"; + mes "Oh, darn them."; + mes "They must have tricked me into getting lost again!"; + next; + select ("Do you want to go home?"); + mes "[Little Kid]"; + mes "If I don't get back soon, my mom will be worried sick."; + mes "Sigh... I wish I had an Inside-out Shirt to go back."; + next; + select ("Here you are."); + mes "[Little Kid]"; + mes "Really?"; + mes "It really is the shirt!"; + mes "This will take me straight home!"; + next; + mes "[Little Kid]"; + mes "Did mom send you?"; + mes "She must be worried..!"; + mes "I'll go home now!"; + mes "Thanks' a lot!"; + delitem 12700, 1; // Insideout_Shirt + setquest 7389; + erasequest 7388; + close2; + disablenpc strnpcinfo(0); + if (strnpcinfo(0) == "Lost Child#malaya01") { + enablenpc "Lost Child#malaya02"; + } else if (strnpcinfo(0) == "Lost Child#malaya01") { + enablenpc "Lost Child#malaya03"; + } else { + enablenpc "Lost Child#malaya01"; + } + end; + } else { + if (checkquest(7389) != -1) { + mes "[Little Kid]"; + mes "I want to play some more."; + mes "I can always go back with this shirt."; + mes "Mom won't be concerned."; + close; + } else { + mes "[Little Kid]"; + mes "Hmmm. Am I lost again?"; + mes "Where am I..."; + mes "I'm sure I have to head in the direction of sunrise from the third tree to get home... Huh?"; + next; + mes "[Little Kid]"; + mes "Why~ Do I always go in circles here?"; + mes "Do you why, " + ((Sex) ? "mister" : "ma'am") + "?"; + mes "What's with this road?"; + mes "Is somebody trying to trick me?"; + close; + } + } + end; + +OnInit: + if (strnpcinfo(0) != "Lost Child#malaya01") + disablenpc strnpcinfo(0); +} +ma_fild01,114,141,3 duplicate(Lost Child#malaya01) Lost Child#malaya02 576 +ma_fild01,130,314,3 duplicate(Lost Child#malaya01) Lost Child#malaya03 576 + +ma_fild02,241,39,5 script Good Capre Budidai 572,{ + mes "[Budidai]"; + mes "Hey hey hey~"; + mes "I am such a nice Capre~ Hey!"; + mes "I am going to a fine cafe~YO!"; + mes "I am better than yesterday~Hey!"; + mes "I'm a fine rhyming Capre~Oh?"; + next; + mes "[Budidai]"; + mes "Hey buddy, You here to hear Budidai singing?"; + next; + switch (select("You like songs?:A profound study of one eyed monsters.:See ya!")) { + case 1: + mes "[Budidai]"; + mes "Yup, Budidai loves singing."; + mes "Cows, horses, goats, roosters, boars all love my songs."; + mes "They're all friends."; + next; + mes "[Budidai]"; + mes "Except for that one eyed Bongisungisu."; + mes "He picks on my friends."; + mes "I am annoyed, but Budidai is weak."; + next; + mes "[Budidai]"; + mes "I fear it's single gaze, but I fear more the club he flails."; + mes "I have to sing my friends some songs, but they don't come because of him."; + next; + mes "[Budidai]"; + mes "So Budidai, sings here."; + mes "Lots of travelers pass by."; + mes "Capre is a wanderer's buddy."; + mes "You're a buddy too."; + close; + case 2: + if (BaseLevel < 100) { + mes "[Budidai]"; + mes "You interested in that fiend, my friend?"; + mes "It's just a bully of the forest!"; + mes "It picks on my animal friends!"; + next; + mes "[Budidai]"; + mes "Sadly, singing is all that Budidai is skilled at."; + mes "I can't do anything about the scary gaze and the flailing club."; + next; + mes "[Budidai]"; + mes "Bongisungisu! I get the chills just by being in the same forest with it..."; + mes "But Budidai is weak."; + next; + mes "[Budidai]"; + mes "You and me, wanderer."; + mes "We'll never make it."; + close; + } + .@playtime = checkquest(7410, PLAYTIME); + if (.@playtime == 0 || .@playtime == 1) { + mes "[Budidai]"; + mes "Traveler, my friend!"; + mes "Bongisungisu ran far far away."; + mes "Dogs, cows, horse, goat and rooster will come back to me, won't they?"; + next; + mes "[Budidai]"; + mes "But Budidai is worried."; + mes "The one eyed bully will return eventually."; + mes "Will you help me out again?"; + next; + mes "[Budidai]"; + mes "You, friend of Budidai"; + mes "You won't turn you're back on a good Capre?"; + close; + } else { + if (checkquest(7409) != -1) { + if (checkquest(7409, HUNTING) == 2) { + mes "[Budidai]"; + mes "Astonishing, wanderer!"; + mes "I could hear the pitiful wails of Bongisungisu all the way from here!"; + mes "Budidai can sing again for his friends, yes?"; + next; + mes "[Budidai]"; + mes "Now, what can Budidai do for the kind wanderer, slayer of the one eyed monster?"; + mes "Aha! Here's a talisman."; + mes "It will be good for you travelers."; + next; + mes "[Budidai]"; + mes "Kind Capre is a friend of travelers."; + mes "I hope to see you again, wanderer."; + mes "This is a blessing for friends. Hey hey hey~"; + setquest 7410; + erasequest 7409; +// if (IsPremiumPcCafe == 10) + getitem 6497, 2; // Lesser_Agimat +// else +// getitem 6497, 1; // Lesser_Agimat + getexp 200000,200000; + if (!rand(3)) + $malayaNames$[1] = strcharinfo(0); + close; + } else { + mes "[Budidai]"; + mes "Please slay the destructive libertine Bongisungisu."; + mes "For me, a Capre to sing again for one's friends."; + close; + } + } else { + if (.@playtime == 2) { + mes "[Budidai]"; + mes "Hey, kind wanderer."; + mes "Bongisungisu, the one eyed debauchee is back!"; + mes "What do I do? What should I do?"; + next; + mes "[Budidai]"; + mes "He gets angry when I sing."; + mes "But the horse, cow, goat, dog and boars love it."; + mes "It gives Budidai such a hard time."; + erasequest 7410; + close; + } else { + mes "[Budidai]"; + mes "You interested in that fiend, my friend?"; + mes "It's just a bully of the forest!"; + mes "It picks on my animal friends!"; + next; + mes "[Budidai]"; + mes "Sadly, singing is all that Budidai is skilled at."; + mes "I can't do anything about the scary gaze and the flailing club."; + next; + mes "[Budidai]"; + mes "Bongisungisu! I get the chills just by being in the same forest with it..."; + mes "But Budidai is weak."; + next; + if (select("Shall I take care of it?:That does give the chills.") == 2) { + mes "[Budidai]"; + mes "Don't remind me."; + mes "My friends can't come and listen to my songs because of that behemoth."; + mes "It is so frustrating."; + close; + } + mes "[Budidai]"; + mes "You'd teach Bongisungisu a lesson?!"; + mes "Kind wanderer!!"; + mes "Kick some libertine butt!!"; + setquest 7409; + close; + } + } + } + break; + case 3: + mes "[Budidai]"; + mes "Leave me wanderer~"; + mes "Capre Budidai will sing of wonders~"; + mes "You best everyone else~"; + mes "You bring all them beasts~"; + mes "Just go back to Kafra~"; + next; + mes "[Budidai]"; + mes "Hey hey hey~"; + mes "Blessing of the Kind and Good Capre~"; + mes "A wanderer's friend the gift of Capre~"; + mes "Hey hey hey~"; + close; + } + end; +} + +// Traders :: malaya_npc //============================================================ ma_fild01,166,214,6 script Old Man in Dilemma#GA 575,{ if (MaxWeight - Weight < 600 || checkweight(1201,1) == 0) { @@ -276,8 +3597,8 @@ ma_fild01,238,198,4 script Tikbalang Expert#malaya 582,{ } } -// MVP Armors :: mvpitem -// ============================================================ +// Upgrade Boss Equipment :: malaya_mvpitem +//============================================================ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 582,{ mes "[Bayani]"; mes "I will upgrade your armor if you bring one that holds enormous power."; @@ -506,7 +3827,7 @@ ma_fild01,158,243,6 script Tribe Blacksmith#malaya 582,{ close; } -// Secret in the Woods :: buwaya +// Secret in the Woods :: malaya_buwaya //============================================================ malaya,305,281,3 script Guard#buwaya 570,7,7,{ if (malaya_hi < 10) { @@ -913,9 +4234,9 @@ ma_in01,47,101,3 script Totoy#buwaya 577,7,7,{ close; } else if (malaya_buwaya == 13) { // if (IsPremiumPcCafe == 10) -// .@amount = 10; + .@amount = 10; // else - .@amount = 5; +// .@amount = 5; if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) { mes "- Wait!! -"; mes "- You have too many items on you. -"; @@ -1081,6 +4402,7 @@ malaya,290,152,5 script Master of Hunting#buwaya 578,{ mes "Argh! That's so foul."; mes "You've really brought back the samples."; mes "Ho! Leave it there and come back after washing your hands. Even god won't smile down at you with that stench."; + delitem 6519,10; //Collected_Sample set malaya_buwaya,8; erasequest 2274; setquest 2275; @@ -1365,10 +4687,10 @@ malaya,290,340,3 script Guard Leader#buwaya 571,{ mes "There is no shame in rejecting this request."; erasequest 2281; } else if (.@hunting == 2) { -// if (IsPremiumPcCafe == 10) { -// .@amount = 10; +// if (IsPremiumPcCafe == 10) + .@amount = 10; // else - .@amount = 5; +// .@amount = 5; mes "[Guard Leader]"; mes "Can't believe you really got rid of Buwaya!"; mes "You aren't just any ordinary youth, aren't you? People of Port Malaya can now sleep at night."; @@ -1481,3 +4803,4320 @@ OnInit: disablenpc "Guard#buwayacave"; end; } + +// Bakonawa Extermination :: malaya_bakonawa +//============================================================ +malaya,280,331,4 script Singing Man#bako1 578,{ + if (malaya_bakona1 < 5) { + mes "[Singing Man]"; + mes "Story of dragon that lives at a lake~"; + mes "Story of an old lady"; + mes "that became a dragon long ago~"; + next; + mes "[Singing Man]"; + mes "Waiting for the son that left for a foreign land,"; + mes "my son will return"; + mes "when that moon sets for the 90th time"; + next; + mes "[Singing Man]"; + mes "The moon sets for the 89th,"; + mes "The moon sets for the 90th,"; + mes "The moon sets for the 191st..."; + next; + mes "[Singing Man]"; + mes "That moon has taken my son away~"; + mes "That horrible thing"; + mes "has swallowed my son,"; + mes "and I will punish that moon~"; + next; + mes "[Singing Man]"; + mes "The day the furious moon hides itself from sight,"; + mes "the whole world will be flooded with rain"; + mes "with all the villages and people facing death under water~"; + next; + mes "[Singing Man]"; + mes "The old lady's curse made the moon furious~"; + mes "Get rid of the old lady to calm the moon~"; + mes "If only the old lady wasn't here, If only the old lady wasn't here..."; + next; + mes "[Singing Man]"; + mes "I hear rumors~"; + mes "The old lady threw herself into the lake~"; + mes "the old lady, now turned into a dragon, will swallow the moon"; + mes "and soon swallow the village too~"; + close; + } else { + mes "[Singing Man]"; + mes "You say the legend is all a lie?"; + mes "You mean my ancestors are all liars"; + mes "and swindlers?"; + next; + mes "[Singing Man]"; + mes "This village is built on an old legend"; + mes "and history."; + mes "They are not the kind of people that will be shaken by"; + mes "foolish words of an imbecile such as yourself."; + close; + } +} + +malaya,275,333,5 script Singing Woman#bako1 579,{ + if (malaya_bakona1 < 5) { + mes "[Singing Woman]"; + mes "Bakonawa that live at a lake,"; + mes "story of an old lady that became a dragon."; + next; + mes "[Singing Woman]"; + mes "The son that was suppose to return after the moon sets for the 90th time"; + mes "never did come back even after the moon had set for a few hundred times~"; + mes "The moon has swallowed the old lady's son~"; + next; + mes "[Singing Woman]"; + mes "The moon, the moon, you shall receive the old lady's curse~"; + mes "The whole village was immersed in death"; + mes "with rain and floods sent by the furious moon~"; + next; + mes "[Singing Woman]"; + mes "The moon, the moon, be still and be calm,"; + mes "for the old lady is gone and she is no more~"; + mes "The old lady has drowned in the lake~"; + mes "She will transform into Bakonawa and come back..."; + next; + mes "[Singing Woman]"; + mes "...to swallow you and"; + mes "punish the village soon~"; + mes "The day the moon dies"; + mes "is the day the village dies too~"; + close; + } else { + mes "[Singing Woman]"; + mes "The legends are all a lie?"; + mes "Why do you say such nonsense?"; + mes "Is there nothing"; + mes "that is important for you to protect?"; + next; + mes "[Singing Woman]"; + mes "Poor Bakonawa..."; + mes "I would be happy"; + mes "if she took a big bite out of someone like you!"; + close; + } +} + +malaya,290,329,4 script Frightened Boy#bako1 577,{ + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + if (malaya_bakona1 < 5) { + mes "[Frightened Boy]"; + mes "The vicious monster Bakonawa will soon come"; + mes "to swallow the moon and take vengeance upon the village."; + mes "I'm scared, please help..."; + close; + } else { + mes "[Frightened Boy]"; + mes "The legend of Bakonawa is all a lie?"; + mes "So that means Bakonawa doesn't exist?"; + mes "I'm going to play with my friends at the lake later."; + mes "You told me it was all a lie right?"; + close; + } +} + +malaya,264,338,4 script Frightened Maiden#bako1 576,{ + if (malaya_hi < 20) { + mes "- She seems cautious of you. -"; + close; + } + if (malaya_bakona1 < 5) { + mes "[Frightened Maiden]"; + mes "It is said that Bakonawa hates loud noises."; + mes "Pound the pot if you want to live!"; + next; + switch(select("Hates loud noises?:What is Bakonawa?")) { + case 1: + mes "[Frightened Maiden]"; + mes "You already heard that the old lady"; + mes "died and became Bakonawa, right?"; + next; + mes "[Frightened Maiden]"; + mes "The legend has it that"; + mes "the old lady had very keen hearing"; + mes "because she was always focusing on"; + mes "the returning of her traveling son."; + next; + mes "[Frightened Maiden]"; + mes "So naturally, Bakonawa also"; + mes "has very keen hearing."; + mes "The reason why everyone is banging"; + mes "pots and pans is because of this."; + close; + case 2: + mes "[Frightened Maiden]"; + mes "It is a terrible monster that lives at a lake."; + mes "We are all trembling with fear"; + mes "because we don't know when it might attack the village."; + next; + mes "[Frightened Maiden]"; + mes "Some say that it is more obsessed with swallowing the moon"; + mes "than attacking the village."; + mes "if that's the case, I wish it would just swallow the moon"; + mes "and leave us alone."; + close; + } + } else { + mes "[Frightened Maiden]"; + mes "The villagers hate you now."; + mes "You've been saying that legend of Bakonawa"; + mes "is a lie and they are saying you are more of a monster"; + mes "than Bakonawa."; + close; + } +} + +malaya,272,339,5 script Old Fortune Teller#bako1 575,{ + if (malaya_hi < 20) { + mes "- Old Fortune Teller seems cautious of you. -"; + close; + } + if (malaya_bakona1 < 5) { + mes "[Old Fortune Teller]"; + mes "You must not hate Bakonawa."; + mes "The hate against it is only feeding its rage"; + mes "to grow bigger."; + next; + mes "[Old Fortune Teller]"; + mes "To calm the dead lady's anger,"; + mes "we annually hold a ceremony and prepare food."; + mes "But there seems to be no way to calm the"; + mes "ever growing anger of the old lady."; + next; + mes "[Old Fortune Teller]"; + mes "The day is nearing. I can sense it."; + mes "Bakonawa will soon swallow the moon"; + mes "and come to punish the village."; + close; + } else { + mes "[Old Fortune Teller]"; + mes "How can you say the legend is a lie!"; + mes "Because of you, the fury of Bakonawa"; + mes "grew even larger!"; + mes "If the village perishes,"; + mes "it is all your fault!"; + close; + } +} + +malaya,285,332,4 script Old Legend Teller#bako1 574,{ + if (checkweight(1301,3) == 0) { + mes "You cannot start the conversation. You are carrying too many items. -"; + close; + } + if (BaseLevel < 120) { + mes "[Old Legend Teller]"; + mes "There is something that needs to be done"; + mes "but you look too fragile"; + mes "to give me a hand."; + next; + mes "[Old Legend Teller]"; + mes "Come back when"; + mes "your strength grows strong enough"; + mes "to match Incubus."; + close; + } + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + if (malaya_bakona1 == 0) { + mes "[Old Legend Teller]"; + mes "The old lady has come back"; + mes "to life as Bakonawa."; + mes "Soon she will come to take vengeance on the village."; + mes "We must calm her"; + mes "if to prevent further destruction..."; + next; + switch(select("Calm Bakonawa?:Further destruction?")) { + case 1: + mes "[Old Legend Teller]"; + mes "The old lady faced an unjust death"; + mes "because of villagers' selfishness."; + mes "She was a caring mother who loved her"; + mes "son dearly."; + next; + mes "[Old Legend Teller]"; + mes "If we track the whereabouts of her son and hold a ritual"; + mes "with her son's belongings,"; + mes "her restless soul will be calmed"; + mes "and she will spare us from destruction."; + next; + mes "[Villagers]"; + mes "It is no use sir!!"; + next; + mes "[Villagers]"; + mes "You cannot stop the monster that way!"; + next; + mes "[Old Legend Teller]"; + mes "Of course, it will not be easy to track down the whereabouts of a person"; + mes "who has been gone for a hundred years."; + mes "..."; + next; + mes "[Old Legend Teller]"; + mes "Still, don't you think"; + mes "it is worth a try?"; + mes "Please help us and save us from our misery."; + next; + switch(select("It is no use.:I'll help.")) { + case 1: + mes "[Old Legend Teller]"; + mes "Yes, you are also right."; + mes "You are up against not a human,"; + mes "but a monster."; + mes "Still, I trust in that old lady's"; + mes "good heart."; + close; + case 2: + mes "[Old Legend Teller]"; + mes "Will you do it?"; + mes "According to the legend,"; + mes "the old lady's son was limping"; + mes "and was a traveling merchant that sold wooden dolls."; + next; + mes "[Old Legend Teller]"; + mes "There is a ^FF0000Slate Piece^000000 he left."; + mes "But the piece is small and damaged,"; + mes "its hard to identify it."; + next; + mes "[Old Legend Teller]"; + mes "First, bring it to me."; + mes "Down along this path"; + mes "you will meet my granddaughter near the port."; + mes "Get the Slate Piece from there."; + set malaya_bakona1,1; + setquest 1174; + close; + } + case 2: + mes "[Old Legend Teller]"; + mes "The grudge against the people of"; + mes "Bakonawa- I mean, the dead old lady."; + mes "The moon and this village..."; + mes "She will try to destroy it."; + next; + select("Take vengeance? After all these years?"); + mes "[Old Legend Teller]"; + mes "For some time, she has"; + mes "blamed the moon and"; + mes "resented the villagers."; + mes "The feeling grew larger as the time passed."; + next; + mes "[Old Legend Teller]"; + mes "Why do you think she became such a monster?"; + mes "What do you think went through her head"; + mes "for years and years?"; + mes "Anger and vengeance."; + next; + mes "[Old Legend Teller]"; + mes "Unforgettable grudge"; + mes "that she was abandoned."; + mes "against the moon and the village."; + mes "This is why this grudge must be resolved."; + close; + } + } else if (malaya_bakona1 == 1) { + mes "[Old Legend Teller]"; + mes "Please bring the ^FF0000Slate Piece^000000."; + mes "Down along this path"; + mes "you will meet my granddaughter near the port."; + mes "Get the Slate Piece from there."; + close; + } else if (malaya_bakona1 == 2) { + mes "[Old Legend Teller]"; + mes "Good, you have the Slate Piece."; + mes "Hold on to it and don't lose it."; + mes "It will be of helpful in tracking down the legend."; + next; + mes "[Old Legend Teller]"; + mes "I heard there is a man that lives by himself"; + mes "at the end of northwestern part of Forest Field."; + mes "I heard someone saw a wooden doll there."; + mes "It is such a remote place that people like us"; + mes "simply cannot travel there."; + mes "Could you visit the place for us?"; + next; + switch(select("Go there yourself!:Your explanation is too vague.:On my way!")) { + case 1: + mes "[Old Legend Teller]"; + mes "You twisted youth!"; + close; + case 2: + mes "[Old Legend Teller]"; + mes "You have a point, but"; + mes "this is the best I can do for now."; + mes "The place is at the end of northwestern part of the forest."; + mes "After you pass the bridge and travel west,"; + mes "you will see a person."; + break; + case 3: + mes "[Old Legend Teller]"; + mes "You have a good heart young man!"; + mes "The place is at the end of northwestern part of the forest."; + mes "After you pass the bridge and travel west,"; + mes "You will see a ^0000FFMalaya Immigrant^000000."; + break; + } + mes "Good luck to you... for our sake..."; + erasequest 1175; + setquest 1176; + set malaya_bakona1,3; + close; + } else if (malaya_bakona1 == 3) { + mes "[Old Legend Teller]"; + mes "The place is at the end of northwestern part of the forest."; + mes "After you pass the bridge and travel west,"; + mes "you will see a person."; + mes "Good luck to you... for our sake..."; + close; + } else if (malaya_bakona1 < 6) { + mes "[Old Legend Teller]"; + mes "The track of the old lady's son"; + mes "is connected all the way to"; + mes "Baryo Mahiwaga?"; + mes "There is a chance he wasn't a merchant..."; + mes "I'm really curious about who he was..."; + next; + mes "[Old Legend Teller]"; + mes "Why did you come back here"; + mes "instead of going straight to"; + mes "Baryo Mahiwaga?"; + close; + } else if (malaya_bakona1 == 6) { + mes "[Old Legend Teller]"; + mes "Is that really true?"; + mes "Bakonawa turning into an old lady"; + mes "and fabricating the legend..."; + mes "It seems all the villagers up until now"; + mes "have been manipulated by that terrible monster."; + next; + mes "[Old Legend Teller]"; + mes "There is no reason to hesitate then."; + mes "You must go into Bakonawa's lair"; + mes "before it attacks first."; + mes "I believe we can trust you to do this, yes?"; + next; + switch(select("Well...:Of course!")) { + case 1: + mes "[Old Legend Teller]"; + mes "The atmosphere was really good"; + mes "but suddenly it's all ruined."; + mes "I didn't expect you to be so shy..."; + close; + case 2: + mes "[Old Legend Teller]"; + mes "I will speak to"; + mes "the village chief for you"; + mes "so that you can enter the Bakonawa Lake."; + mes "Please get rid of this monster for us."; + erasequest 1179; + set malaya_bakona1,7; +// if (IsPremiumPcCafe == 10) + getitem 6499,5; //Ancient_Grudge +// else +// getitem 6499,3; //Ancient_Grudge + getexp 500000,200000; + close; + } + close; + } else if (malaya_bakona1 == 7) { + if (malaya_bakona2 < 15) { + mes "[Old Legend Teller]"; + mes "If you don't mind,"; + mes "could you lend a hand to the Village Chief?"; + mes "Nobody cares for each other anymore"; + mes "because of Bakonawa..."; + next; + } + mes "[Old Legend Teller]"; + mes "The legend that"; + mes "we believed for a hundred years,"; + mes "all lies...."; + mes "Please get rid of this monster for us."; + close; + } +} + +ma_fild02,40,240,4 script Malaya Immigrant#bako1 578,{ + if (malaya_bakona1 < 3) { + mes "[Malaya Immigrant]"; + mes "You must have a brave heart"; + mes "to come to such a remote place."; + mes "How is Port Malaya these days?"; + mes "I heard the monster that lives at the lake, Baknoawa"; + mes "is threatening the villagers."; + mes "I am in the dark about what is going on because I'm here all the time."; + close; + } else if (malaya_bakona1 == 3) { + mes "[Malaya Immigrant]"; + mes "You must have a brave heart"; + mes "to come to such a remote place."; + mes "How is Port Malaya these days?"; + mes "I heard the monster that lives at the lake, Baknoawa"; + mes "is threatening the villagers."; + mes "I am in the dark about what is going on because I'm here all the time."; + next; + mes "[Malaya Immigrant]"; + mes "Are you the traveling merchant who used to sell Wooden Doll, right?"; + mes "I don't know about any traveling merchant, but by Wooden Doll"; + mes "(going through things) do you mean this?"; + mes "I don't know about the specifics, but"; + mes "I think it's related to what I heard long time ago."; + next; + switch(select("What are you doing here?:Do you know about this Slate Piece?:Please tell me the story.:Who is the traveling merchant?")) { + case 1: + mes "[Malaya Immigrant]"; + mes "I liked the environment here"; + mes "so I decided to stay and live."; + mes "There is no obligation here."; + mes "To me, that's as good as heaven."; + close; + case 2: + mes "[Malaya Immigrant]"; + mes "It is a very old Slate Piece."; + mes "I'm sorry but I never seen this before."; + mes "There is some kind of writing here"; + mes "but I can't make it out."; + close; + case 3: + mes "[Malaya Immigrant]"; + mes "It's a simple story."; + mes "^0000FFA wounded man who I had never seen before^000000"; + mes "^0000FFcame to my house and asked for help.^000000"; + mes "^0000FFOnce healed, he made a Wooden Doll^000000"; + next; + mes "[Malaya Immigrant]"; + mes "^0000FFthat is suppose to chase away evil spirits ^000000"; + mes "^0000FFas a token of gratitude,^000000"; + mes "^0000FFand left for Baryo Mahiwaga.^000000"; + next; + select("He left for Baryo Mahiwaga?"); + mes "[Malaya Immigrant]"; + mes "According to what I've heard"; + mes "that's correct. But the story has been"; + mes "passed on from mouth to mouth for a"; + mes "long time. I can't be sure."; + next; + mes "From Baryo Mahiwaga village, using keyword ^0000FFMalaya^000000,"; + mes "or ^0000FFBakonawa^000000,"; + mes "maybe I could find out the identity and whereabouts"; + mes "of the traveling merchant."; + erasequest 1176; + setquest 1177; + set malaya_bakona1,4; + close; + case 4: + mes "[Malaya Immigrant]"; + mes "Well, there is a lack of information"; + mes "so I can't make say for sure but"; + mes "I'm skeptical if he was in fact even a merchant."; + mes "Coming to a town with a"; + mes "critical wound seems too suspicious..."; + next; + mes "[Malaya Immigrant]"; + mes "And craving a Wooden Doll"; + mes "could be seen to have some kind of ritualistic meaning."; + mes "Protecting one from some evil force..."; + mes "that kind of thing."; + next; + mes "Identity of the traveling merchant..."; + mes "Looks like there is one more"; + mes "mystery to be solved."; + mes "I suppose it will all come to light"; + mes "soon enough."; + close; + } + } else { + mes "[Malaya Immigrant]"; + mes "I will tell you again slowly"; + mes "the story that has been passed on."; + mes "Listen carefully and repeat..."; + mes "no, I mean, you don't have repeat it."; + next; + mes "[Orally Transmitted Story]"; + mes "^0000FFA wounded man who I had never seen before^000000"; + mes "^0000FFcame to my house and asked for help.^000000"; + mes "^0000FFOnce healed, as a token of gratitude, he made a Wooden Doll^000000"; + mes "^0000FFthat is suppose to chase away evil sprits.^000000"; + mes "^0000FFThen he left for Baryo Mahiwaga.^000000"; + next; + mes "From Baryo Mahiwaga village, using keyword ^0000FFMalaya^000000,"; + mes "or ^0000FFBakonawa^000000,"; + mes "maybe I could find out the identity and whereabouts"; + mes "of the traveling merchant."; + close; + } +} + +ma_fild01,165,237,4 script Malaya Immigrant#bako2 582,{ + if (malaya_bakona1 < 4) { + mes "[Malaya Immigrant]"; + mes "Have you been to"; + mes "Port Malaya?"; + mes "I am curious to know"; + mes "what is going on there"; + mes "but I can't travel because there are monsters everywhere."; + close; + } else if (malaya_bakona1 == 4) { + mes "[Malaya Immigrant]"; + mes "Wooden Doll?"; + mes "There is a tale related to that,"; + mes "but you didn't come all the way"; + mes "just to hear some folktale right?"; + next; + switch(select("I just came here to take a break.:Tell me the tale.")) { + case 1: + mes "[Malaya Immigrant]"; + mes "You must have a lot of free time on your hands!"; + mes "I'm no travel agent"; + mes "so go bother someone else!"; + close; + case 2: + mes "[Malaya Immigrant]"; + mes "It's baloney"; + mes "so I don't really remember the details."; + next; + mes "[Summary of the folktale]"; + mes "Long time ago, 5 swordsmen fought"; + mes "against the monster Bakonawa."; + mes "Four died and one left a critical wound"; + mes "to the monster but in return"; + mes "sustained a serious wound in his leg himself."; + next; + mes "[Summary of the folktale]"; + mes "After escaping the scene, Bakonawa transformed into a human"; + mes "and secretly pursued the swordsman."; + mes "The swordsman made a Wooden Doll that"; + mes "can keep the monster from approaching."; + next; + mes "[Malaya Immigrant]"; + mes "This is the end of story."; + mes "Without any conclusion..."; + next; + mes "[Malaya Immigrant]"; + mes "I heard there is a record that the swordsman left"; + mes "but I don't understand why"; + mes "he would leave it here in such a distant place"; + mes "here instead of Malaya."; + next; + select("I wish to see the record."); + mes "[Malaya Immigrant]"; + mes "The record is engraved on the stone ahead."; + mes "However, the stone is so badly"; + mes "damaged and some pieces fell out that"; + mes "it will be hard to make the words out."; + next; + mes "Investigate the stone ahead."; + erasequest 1177; + setquest 1178; + set malaya_bakona1,5; + close; + } + } else if (malaya_bakona1 == 5) { + mes "[Malaya Immigrant]"; + mes "The stone ahead holds a record that"; + mes "a swordsman from a long time ago left."; + next; + switch(select("Where did this swordsman go after?:Tell me the tale again.")) { + case 1: + mes "[Malaya Immigrant]"; + mes "Well, there is no story after that so"; + mes "I guess nobody would know what happened."; + close; + case 2: + mes "[Summary of the folktale]"; + mes "Long time ago, 5 swordsmen fought"; + mes "against the monster Bakonawa."; + mes "Four died and one left a critical wound"; + mes "on the monster but in return"; + mes "sustained a serious wound in his leg himself."; + next; + mes "[Summary of the folktale]"; + mes "After escaping the scene, Bakonawa transformed into a human"; + mes "and secretly pursued the swordsman."; + mes "The swordsman made a Wooden Doll that"; + mes "can keep the monster from approaching."; + close; + } + } else { + mes "[Malaya Immigrant]"; + mes "I suppose you wish to hear the story again right?"; + mes "No problem! I can tell this story forever!"; + next; + mes "[Summary of the folktale]"; + mes "Long time ago, 5 swordsmen fought"; + mes "against the monster Bakonawa."; + mes "Four died and one left a critical wound"; + mes "on the monster but in return"; + mes "sustained a serious wound in his leg himself."; + next; + mes "[Summary of the folktale]"; + mes "After escaping the scene, Bakonawa transformed into a human"; + mes "and secretly pursued the swordsman."; + mes "The swordsman made a Wooden Doll that"; + mes "can keep the monster from approaching."; + close; + } +} + +ma_fild01,171,235,0 script #bako1 139,2,2,{ + end; +OnTouch: + if (malaya_bakona1 == 5) { + mes "The damage is so severe"; + mes "that the record is unidentifiable."; + mes "When inserting the Slate Piece"; + mes "to a hole on the wall, it fits perfectly like a piece of puzzle."; + mes "The letters are not clear but you can still read it."; + next; + callsub L_Record; + set malaya_bakona1,6; + erasequest 1178; + setquest 1179; + close; + } else if (malaya_bakona1 == 6) { + mes "Here is the record left by a swordsman"; + mes "from a hundred years ago."; + next; + switch(select("I don't need to read it.:Read the record again.")) { + case 1: + mes "I remember the story clearly."; + mes "Let's tell the ^0000FFOld Legend Teller^000000 in Malaya"; + mes "about what I discovered."; + close; + case 2: + callsub L_Record; + close; + } + } + end; + +L_Record: + mes "[Record left by a swordsman from a hundred years ago]"; + mes "After fighting with Bakonawa, I sustained a critical wound"; + mes "and came to this place."; + mes "Only thing I can do is"; + mes "Place the Wooden Doll in one place"; + mes "the monster would come."; + next; + mes "[Record left by a swordsman from a hundred years ago]"; + mes "^0000FFSometimes transforming into a child, or even a old lady,^000000"; + mes "I know that ^0000FFBakonawa^000000has been"; + mes "chasing after me in secret to kill me."; + mes "Because of that critical injury the monster * sustained,"; + next; + mes "[Record left by a swordsman from a hundred years ago]"; + mes "** it will need nearly a hundred years"; + mes "for Bakonawa to absorb the power of the moon"; + mes "to fully recover its power."; + mes "Beware of the day the moon disappears."; + next; + mes "[Record left by a swordsman from a hundred years ago]"; + mes "The day will come when Bakonawa"; + mes "will run amuck."; + mes "But it will take nearly a hundred years to fully recover its power."; + mes "There will always be someone better than me"; + mes "to defeat the vile creature."; + next; + mes "[Record left by a swordsman from a hundred years ago]"; + mes "I will place my trust in the one that will replace me ages from now..."; + next; + mes "How could this be..."; + mes "Lie told by Bakonawa when it turned into an old lady"; + mes "in order to take revenge on the swordsman"; + mes "turned into a legend after all these years."; + next; + mes "I found out that Bakonawa"; + mes "is nothing but a blood thirsty monster."; + mes "I must tell what I know to the ^0000FFOld Legend Teller^000000"; + mes "in Malaya."; + return; +} + +malaya,304,100,4 script Old Man's Granddaughter 576,{ + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + if (malaya_bakona1 == 0) { + mes "[Old Man's Granddaughter]"; + mes "Grandpa believes"; + mes "Bakonawa can"; + mes "turn good."; + mes "Do you think it's possible?"; + close; + } else if (malaya_bakona1 == 1) { + mes "[Old Man's Granddaughter]"; + mes "^FF0000Slate Piece^000000?"; + mes "Why would you need something"; + mes "that is barely recognizable?"; + mes "I'll give it to you if you want."; + next; + mes "Let's go to the"; + mes "^FF0000Old Legend Teller^000000"; + mes "now that I have the Slate Piece."; + erasequest 1174; + setquest 1175; + set malaya_bakona1,2; + close; + } else if (malaya_bakona1 == 2) { + mes "[Old Man's Granddaughter]"; + mes "Please take this Slate Piece"; + mes "and deliver it to my grandpa."; + next; + mes "Let's go to the"; + mes "^FF0000Old Legend Teller^000000"; + mes "now that I have the Slate Piece."; + close; + } else { + mes "[Old Man's Granddaughter]"; + mes "Because of Bakonawa,"; + mes "the village is always unpeaceful."; + close; + } +} + +malaya,286,269,4 script Angry Man#bako2 578,{ + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + mes "[Angry Man]"; + mes "Calm Bakonawa?"; + mes "Do you know how many people have been"; + mes "sacrificed by Bakonawa?"; + mes "I will fight on my own if I have to!"; + close; +} + +malaya,276,269,5 script Calm Woman#bako2 579,{ + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + mes "[Calm Little Girl]"; + mes "It is too dangerous to fight against"; + mes "Bakonawa. There is a chance"; + mes "it will get more angry and put children and"; + mes "elders in danger."; + close; +} + +malaya,276,262,4 script Angry Boy#bako2 577,{ + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + mes "[Angry Boy]"; + mes "I lost my father and my friend"; + mes "to that Bakonawa."; + mes "I will surely revenge them!"; + close; +} + +malaya,283,265,4 script Village Chief#bako2 580,{ + if (checkweight(1301,3) == 0) { + mes "You cannot start the conversation. You are carrying too many items. -"; + close; + } + if (BaseLevel < 120) { + mes "[Village Chief]"; + mes "I'm desperate for a helping hand"; + mes "but you look"; + mes "too weak and fragile."; + next; + mes "[Village Chief]"; + mes "Please come back when"; + mes "you grow strong enough"; + mes "to match Incubus."; + close; + } + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + if (malaya_bakona2 == 0) { + if (malaya_bakona1 <= 5) { + mes "[Village Chief]"; + mes "I'm don't know what's the right decision."; + mes "To fight against Bakonawa,"; + mes "or calm it by offering it a sacrificial gift."; + } else { + mes "[Village Chief]"; + mes "The legend was all a lie?"; + mes "It seems all the villagers up until now"; + mes "were manipulated by that vile monster."; + next; + mes "[Village Chief]"; + } + mes "Recently, there have been more people that have"; + mes "been harmed by Bakonawa."; + next; + mes "[Village Chief]"; + mes "There are some missing villagers"; + mes "but I can't find out if"; + mes "they are simply missing or if they have been"; + mes "killed by Bakonawa."; + next; + mes "[Village Chief]"; + mes "I heard that the belongings of the missing people"; + mes "are being found at Baryo Mahiwaga Field."; + mes "Please go there to find ^0000FFLost Belongings^000000"; + mes "and give them to the families of"; + mes "the missing people"; + mes "in whatever amount they want."; + next; + mes "[Village Chief]"; + mes "^0000FFLost Belongings^000000"; + mes "are said to be carried by"; + mes "^FF0000Tiucknuc^000000 that roams Baryo Mahiwaga."; + next; + switch(select("Do it yourself.:I'm on my way.")) { + case 1: + mes "[Village Chief]"; + mes "You give me a lot to think about."; + mes "Leave the village at once."; + close; + case 2: + mes "[Village Chief]"; + mes "Let's start then. First,"; + mes "retrieve two ^FF0000Lost Belongings^000000 from Tiucknuc"; + mes "and take them to ^0000FFMissing Person's Father^000000"; + mes "for me."; + set malaya_bakona2,1; + setquest 1180; + close; + } + } else if (malaya_bakona2 == 1) { + mes "[Village Chief]"; + mes "From Tiucknuc that roams Baryo Mahiwaga Field,"; + mes "retrieve two ^FF0000Lost Belongings^000000"; + mes "and deliver them to ^0000FFMissing Person's Father^000000"; + mes "for me."; + close; + } else if (malaya_bakona2 == 2) { + mes "[Village Chief]"; + mes "Retrieve Seven ^FF0000Lost Belongings^000000 from Tiucknuc"; + mes "and deliver them to ^0000FFMissing Person's Friend^000000"; + mes "for me."; + close; + } else if (malaya_bakona2 == 3) { + mes "[Village Chief]"; + mes "Retrieve three ^FF0000Lost Belongings^000000 from Tiucknuc"; + mes "and deliver them to ^0000FFMissing Person's Son^000000"; + mes "for me."; + close; + } else if (malaya_bakona2 == 4) { + mes "[Village Chief]"; + mes "Retrieve five ^FF0000Lost Belongings^000000 from Tiucknuc"; + mes "and deliver them to ^0000FFMissing Person's Mother^000000"; + mes "for me."; + close; + } else if (malaya_bakona2 == 5) { + mes "[Village Chief]"; + mes "So it's clear that all the missing people"; + mes "have been killed by Bakonawa."; + next; + mes "[Villagers]"; + mes "Kill Bakonawa!"; + mes "Let's get rid of the monster ourselves!"; + next; + mes "[Village Chief]"; + mes "It seems we would no longer be able to"; + mes "hold rituals to calm Bakonawa."; + next; + mes "[Village Chief]"; + mes "Young Fortune Teller is looking for your help"; + mes "saying that the energy of the moon seems strange."; + erasequest 1184; + setquest 1185; + set malaya_bakona2,6; +// if (IsPremiumPcCafe == 10) + getitem 12700,7; //Insideout_Shirt +// else +// getitem 12700,5; //Insideout_Shirt + close; + } else if (malaya_bakona2 == 6) { + mes "[Village Chief]"; + mes "Young Fortune Teller is looking for your help"; + mes "saying that the energy of the moon seems strange."; + close; + } else if (malaya_bakona2 == 7) { + mes "[Village Chief]"; + mes "I know that terrible things happened"; + mes "long time ago when the moon disappeared."; + mes "I hope the moon recovers its strength"; + mes "with your devoted effort."; + close; + } else if (malaya_bakona2 == 8) { + mes "[Village Chief]"; + mes "I will tell the"; + mes "Young Fortune Teller to help you."; + mes "But before that, there is"; + mes "something you must do immediately."; + next; + mes "[Village Chief]"; + mes "We never know when Bakonawa will attack"; + mes "the village so we must set traps near the village"; + mes "entrance and near the cave."; + next; + mes "[Village Chief]"; + mes "I would be grateful if you help us."; + mes "I have dispatched workers"; + mes "near where traps will be set up,"; + mes "so you just have to visit about 5 places."; + next; + switch(select("Sounds like too much work.:Sure thing.")) { + case 1: + mes "[Village Chief]"; + mes "This operation means life and death to us"; + mes "yet you refuse it easily as if"; + mes "it was some kind of a chore..."; + next; + mes "[Village Chief]"; + mes "What a hero!"; + close; + case 2: + mes "[Village Chief]"; + mes "The first trap will be set up at"; + mes "Baryo Mahiwaga Field"; + mes "near the village entrance. ^0000FFGruffy Worker^000000"; + mes "will be waiting for you. He will be very helpful."; + erasequest 1187; + setquest 1188; + set malaya_bakona2,9; + close; + } + } else if (malaya_bakona2 == 9) { + mes "[Village Chief]"; + mes "The first trap will be set up at"; + mes "Baryo Mahiwaga Field"; + mes "near the village entrance. ^0000FFGruffy Worker^000000"; + mes "will be waiting for you. He will be very helpful."; + close; + } else if (malaya_bakona2 == 10) { + mes "[Village Chief]"; + mes "The second trap will be set up"; + mes "near a place where it connects from"; + mes "Baryo Mahiwaga Field to Bakonawa Lake."; + mes "^0000FFGrumpy Worker^000000"; + mes "will be waiting for you. He will be very helpful."; + close; + } else if (malaya_bakona2 == 11) { + mes "[Village Chief]"; + mes "The third trap will be set up"; + mes "near Bakonawa Lake Entrance."; + mes "^0000FFCowardly Worker^000000"; + mes "will be waiting for you. He will be very helpful."; + close; + } else if (malaya_bakona2 == 12) { + mes "[Village Chief]"; + mes "The fourth trap will be set up"; + mes "near the entrance of Bakonawa Lake as well."; + mes "^0000FFGloomy Worker^000000 will be waiting for you."; + mes "He will be very helpful."; + close; + } else if (malaya_bakona2 == 13) { + mes "[Village Chief]"; + mes "The fifth trap will be set up"; + mes "near the entrance of Bakonawa Lake too."; + mes "^0000FFSentimental Worker^000000"; + mes "will be waiting for you. He will be very helpful."; + close; + } else if (malaya_bakona2 == 14) { + mes "[Village Chief]"; + mes "It looks like the traps are all set up."; + mes "We just finished our village meeting on"; + mes "what to do about Bakonawa."; + next; + mes "[Village Chief]"; + mes "We have concluded that"; + mes "we will fight against Bakonawa."; + mes "Please help us by"; + mes "attacking his lair."; + erasequest 1193; + set malaya_bakona2,15; + getexp 1000000,600000; +// if (IsPremiumPcCafe == 10) + getitem 6497,7; //Lesser_Agimat +// else +// getitem 6497,5; //Lesser_Agimat + close; + } else if (malaya_bakona2 == 15) { + mes "[Village Chief]"; + if (malaya_bakona1 < 7) { + mes "Would you visit ^0000FFOld Legend Teller^000000"; + mes "when you have a chance?"; + mes "I think you would be able to help him."; + next; + mes "[Village Chief]"; + mes "Thank you."; + } + mes "Please think of the countless victims"; + mes "and defeat Bakonawa"; + mes "for their sake."; + close; + } +} + +malaya,269,267,5 script Missing Person's Father 582,{ + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + if (malaya_bakona2 == 0) { + mes "[Missing Person's Father]"; + mes "Please find our"; + mes "child."; + mes "Bakonawa would have not harmed our child."; + mes "He must be around here somewhere."; + close; + } else if (malaya_bakona2 == 1) { + if (countitem(6501) < 2) { + mes "[Missing Person's Father]"; + mes "You are looking for two of his ^FF0000Lost Belongings^000000?"; + mes "Are you confident that"; + mes "he already died?"; + close; + } + mes "[Missing Person's Father]"; + mes "This... is our child's ^FF0000Lost Belongings^000000"; + mes "for sure."; + mes "The monster got to him after all...."; + next; + mes "The man is unable to continue as he tries to hold back his tears."; + mes "Let's continue to find the lost belongings of the missing people."; + mes "Let's retrieve them from Tiucknuc that roams Baryo Mahiwaga Field,"; + mes "seven ^FF0000Lost Belongings^000000"; + mes "and deliver them to ^0000FFMissing Person's Friend^000000."; + delitem 6501,2; //Lost_Belongings + erasequest 1180; + setquest 1181; + set malaya_bakona2,2; + close; + } else if (malaya_bakona2 == 2) { + mes "[Missing Person's Father]"; + mes "My baby... my poor baby..."; + next; + mes "The man is unable to continue as he tries to hold back his tears."; + mes "Let's continue to find the lost belongings of the missing people."; + mes "Retrieve seven ^FF0000Lost Belongings^000000 from Tiucknuc"; + mes "and deliver them to ^0000FFMissing Person's Friend^000000."; + close; + } else { + mes "[Missing Person's Father]"; + mes "My baby... my poor baby..."; + close; + } +} + +malaya,265,274,5 script Missing Person's Friend 577,{ + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + if (malaya_bakona2 < 2) { + mes "[Missing Person's Friend]"; + mes "Please find"; + mes "my friend."; + mes "We were playing ball together"; + mes "and suddenly my friend disappeared."; + next; + mes "[Missing Person's Friend]"; + mes "I'm sure he is alive and well"; + mes "somewhere."; + close; + } else if (malaya_bakona2 == 2) { + if (countitem(6501) < 7) { + mes "[Missing Person's Friend]"; + mes "You are looking for seven ^FF0000Lost Belongings^000000"; + mes "of my friend?"; + mes "My friend is not dead!"; + close; + } + mes "[Missing Person's Friend]"; + mes "These are marbles and toys I gave him..."; + mes "These are clearly ^FF0000Lost Belongings^000000"; + mes "of my friend... Where is my friend?"; + mes "Bring him here, bring him here now!"; + callsub L_Quest; + delitem 6501,7; //Lost_Belongings + erasequest 1181; + setquest 1182; + set malaya_bakona2,3; + close; + } else { + mes "[Missing Person's Friend]"; + mes "Bring back my friend!"; + mes "Bring back my friend now!"; + mes "My friend is alive,"; + mes "It's all a lie, sob~"; + if (malaya_bakona2 == 3) + callsub L_Quest; + close; + } + +L_Quest: + next; + mes "Leaving behind the crying boy,"; + mes "let's continue to find the lost belongings of the missing people."; + mes "Retrieve three ^FF0000Lost Belongings^000000 from Tiucknuc"; + mes "and deliver them to ^0000FFMissing Person's Son^000000."; + return; +} + +malaya,270,278,4 script Missing Person's Son 578,{ + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + if (malaya_bakona2 < 3) { + mes "[Missing Person's Son]"; + mes "Bakonawa has hurt my father?"; + mes "I can't believe this."; + mes "Please find my father!"; + close; + } else if (malaya_bakona2 == 3) { + if (countitem(6501) < 3) { + mes "[Missing Person's Son]"; + mes "You are looking for three ^FF0000Lost Belongings^000000"; + mes "of my father? Why lost belongings and not my father?"; + mes "No, that can't be it. He is alive somewhere!"; + close; + } + mes "[Missing Person's Son]"; + mes "These are clearly his clothes and shoes..."; + mes "These are ^FF0000Lost Belongings^000000 of my father."; + mes "Oh dear lord... father!"; + callsub L_Quest; + delitem 6501,3; //Lost_Belongings + erasequest 1182; + setquest 1183; + set malaya_bakona2,4; + close; + } else { + mes "[Missing Person's Son]"; + mes "Why did such a thing happen...."; + if (malaya_bakona2 == 4) + callsub L_Quest; + close; + } + +L_Quest: + next; + mes "Man crying in agony."; + mes "Let's continue to find the lost belongings of the missing people."; + mes "Retrieve five ^FF0000Lost Belongings^000000 from Tiucknuc"; + mes "and deliver them to ^0000FFMissing Person's Mother^000000."; + return; +} + +malaya,265,284,4 script Missing Person's Mother 579,{ + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + if (malaya_bakona2 < 4) { + mes "[Missing Person's Mother]"; + mes "Please find my child."; + mes "I sent her out to do a chore"; + mes "and she still isn't back."; + close; + } else if (malaya_bakona2 == 4) { + if (countitem(6501) < 5) { + mes "[Missing Person's Mother]"; + mes "You are looking for five ^FF0000Lost Belongings^000000 of my child?"; + mes "What does this mean?"; + mes "Are you saying my child is dead?"; + close; + } + mes "[Missing Person's Mother]"; + mes "This is my child's hair comb."; + mes "Why do you have five ^FF0000Lost Belongings^000000 of my child?"; + mes "Why...? She's... dead?"; + next; + mes "[Missing Person's Mother]"; + mes "No wait... I think I hear her voice."; + mes "She's going to be home soon. I should go home now."; + mes "I should prepare a dinner for her. She must be starving."; + mes "Ha ha..."; + next; + mes "A mother that has gone mad..."; + mes "Now that I finished finding the missing people,"; + mes "I should report back to the Village Chief."; + delitem 6501,5; //Lost_Belongings + erasequest 1183; + setquest 1184; + set malaya_bakona2,5; + close; + } else { + mes "[Missing Person's Mother]"; + mes "Ha ha ha... I can hear my child's voice,"; + mes "just listen closely."; + mes "Can't you hear her calling her mother?"; + mes "Ha ha ha..."; + next; + mes "A mother that has gone mad..."; + if (malaya_bakona2 == 5) { + mes "Now that I finished finding the missing people,"; + mes "I should report back to the Village Chief."; + } + close; + } +} + +malaya,289,364,4 script Young Fortune Teller 583,{ + if (checkweight(1301,3) == 0) { + mes "You cannot start the conversation. You are carrying too many items. -"; + close; + } + if (malaya_hi < 20) { + mes "- He seems cautious of you. -"; + close; + } + if (malaya_bakona2 < 6) { + mes "[Young Fortune Teller]"; + mes "The energy of the moon grew weak."; + mes "The reason there are more monsters,"; + mes "and the reason there are more victims,"; + mes "is all because of this."; + close; + } else if (malaya_bakona2 == 6) { + mes "[Young Fortune Teller]"; + mes "The energy of the moon grew weak for a couple of days."; + mes "The reason there are more monsters,"; + mes "and the reason there are more victims, is all because of this."; + next; + mes "[Young Fortune Teller]"; + mes "I'm trying to hold a ritual"; + mes "that will restore the moon's energy by sacrificing monsters' blood,"; + mes "so I need you to hunt fifteen ^FF0000Tikbalang^000000"; + mes "at Baryo Mahiwaga Field."; + next; + switch(select("It's none of my business.:You can count on me.")) { + case 1: + mes "[Young Fortune Teller]"; + mes "You are so selfish!"; + mes "During the ritual,"; + mes "I will pray for your bad luck too."; + close; + case 2: + mes "[Young Fortune Teller]"; + mes "Hurry."; + mes "If the moon completely disappears,"; + mes "there will be a great disaster."; + erasequest 1185; + setquest 1186; + set malaya_bakona2,7; + close; + } + } else if (malaya_bakona2 == 7) { + if (checkquest(1186,HUNTING) == 2) { + mes "[Young Fortune Teller]"; + mes "It looks like you took care of ^FF0000Tikbalang^000000"; + mes "well enough."; + mes "I think I can start the ritual now."; + mes "There are some items that we need, please go to"; + mes "the Village Chief for help."; + erasequest 1186; + setquest 1187; + set malaya_bakona2,8; +// if (IsPremiumPcCafe == 10) + getitem 12699,7; //Tikbalang_Belt +// else +// getitem 12699,5; //Tikbalang_Belt + close; + } else { + mes "[Young Fortune Teller]"; + mes "I need you to hunt fifteen ^FF0000Tikbalang^000000"; + mes "at Baryo Mahiwaga Field."; + next; + mes "[Young Fortune Teller]"; + mes "Hurry."; + mes "If the moon completely disappears,"; + mes "there will be a great disaster."; + close; + } + } else if (malaya_bakona2 == 8) { + mes "[Young Fortune Teller]"; + mes "I think I can start the ritual now."; + mes "There are some items that we need, please go to"; + mes "the Village Chief for help."; + close; + } else { + mes "[Young Fortune Teller]"; + mes "On the day when the moon fully disappears,"; + mes "the dragon will attack the village."; + mes "No one will be safe."; + close; + } + end; +} + +ma_fild01,54,253,4 script Gruffy Worker#bako2 582,{ + if (malaya_bakona2 < 9) { + mes "[Gruffy Worker]"; + mes "The Village Chief told me to"; + mes "wait for you here."; + close; + } else if (malaya_bakona2 == 9) { + mes "[Gruffy Worker]"; + mes "The trap will be set right in front."; + mes "Walk forward a little."; + close; + } else if (malaya_bakona2 == 10) { + mes "[Gruffy Worker]"; + mes "You can find the"; + mes "Grumpy Worker near where"; + mes "Baryo Mahiwaga Field connects to Bakonawa Lake."; + mes "Go and set up the trap together."; + close; + } else { + mes "[Gruffy Worker]"; + mes "Are you trying to advertise that"; + mes "there is a trap here? Step aside."; + close; + } + end; +} + +ma_fild01,54,244,0 script #bako2 139,2,2,{ + end; +OnTouch: + if (malaya_bakona2 == 9) { + mes "I should set up the trap"; + mes "right about here."; + next; + mes "[Gruffy Worker]"; + mes "Using the tools like this"; + mes "bang bang bang!"; + next; + mes "bang bang bang!"; + next; + mes "The trap is now set."; + next; + mes "[Gruffy Worker]"; + mes "You can find the"; + mes "Grumpy Worker near where"; + mes "Baryo Mahiwaga Field connects to Bakonawa Lake."; + mes "Go and set up the trap together."; + erasequest 1188; + setquest 1189; + set malaya_bakona2,10; + close; + } else if (malaya_bakona2 == 10) { + mes "The trap has been set up here."; + next; + mes "[Gruffy Worker]"; + mes "This trap is not meant to capture you,"; + mes "so move."; + next; + mes "[Gruffy Worker]"; + mes "You can find the"; + mes "Grumpy Worker near where"; + mes "Baryo Mahiwaga Field connects to Bakonawa Lake."; + mes "Go there to him."; + close; + } + end; +} + +ma_fild01,236,119,5 script Grumpy Worker#bako2 577,{ + if (malaya_bakona2 < 10) { + mes "[Grumpy Worker]"; + mes "Village Chief told me to"; + mes "wait for you here."; + mes "Sooo boring!"; + close; + } else if (malaya_bakona2 == 10) { + mes "[Grumpy Worker]"; + mes "A hole needs to be dug up in front of here?"; + mes "I have to dig too?"; + mes "Says who?"; + close; + } else if (malaya_bakona2 == 11) { + mes "[Grumpy Worker]"; + mes "Go find the Cowardly Worker"; + mes "near the entrance of Bakonawa Lake."; + mes "Come on, move it!"; + close; + } else { + mes "[Grumpy Worker]"; + mes "I set up the trap"; + mes "and you are advertising that it's here."; + mes "Scram!"; + close; + } +} + +ma_fild01,242,116,0 script #bako3 139,2,2,{ + end; +OnTouch: + if (malaya_bakona2 == 10) { + mes "I should set up the trap"; + mes "right about here."; + next; + mes "[Grumpy Worker]"; + mes "I really don't like it here!"; + mes "..."; + mes "With this pickax,"; + mes "dig dig dig!"; + next; + mes "dig dig dig!"; + next; + mes "The trap is now set."; + next; + mes "[Grumpy Worker]"; + mes "Go find the Cowardly Worker"; + mes "near the entrance of Bakonawa Lake."; + mes "Come on, move it!"; + erasequest 1189; + setquest 1190; + set malaya_bakona2,11; + close; + } else if (malaya_bakona2 == 11) { + mes "The trap has been set up here."; + next; + mes "[Grumpy Worker]"; + mes "Are you trying to test"; + mes "with your body if the trap works?"; + mes "Move aside!"; + next; + mes "[Grumpy Worker]"; + mes "Go find the Cowardly Worker"; + mes "near the entrance of Bakonawa Lake."; + mes "Come on, move it!"; + close; + } + end; +} + +ma_scene01,177,89,4 script Cowardly Worker#bako2 578,{ + if (malaya_bakona2 < 11) { + mes "[Cowardly Worker]"; + mes "Village Chief told me to"; + mes "wait for you here."; + mes "Why me? I have a bad feeling about this...."; + close; + } else if (malaya_bakona2 == 11) { + mes "[Cowardly Worker]"; + mes "set up a trap in front of here?"; + mes "Village Chief said I have to help too?"; + mes "Can you please do it by yourself?"; + close; + } else if (malaya_bakona2 == 12) { + mes "[Cowardly Worker]"; + mes "Go up and you will"; + mes "find the Gloomy Worker."; + mes "Go! You scare me."; + mes "You look like you are going to beat me up."; + close; + } else { + mes "[Cowardly Worker]"; + mes "Go away!"; + mes "What if Bakonawa"; + mes "appears because of you?"; + mes "I'm scared to death!"; + close; + } + end; +} + +ma_scene01,179,85,0 script #bako4 139,2,2,{ + end; +OnTouch: + if (malaya_bakona2 == 11) { + mes "I should set up the trap"; + mes "right about here."; + next; + mes "[Cowardly Worker]"; + mes "There is nothing weird"; + mes "buried here right?"; + mes "..."; + mes "Using the shovel, dig dig dig!"; + next; + mes "dig dig dig!"; + next; + mes "The trap is now set."; + next; + mes "[Cowardly Worker]"; + mes "Go up and you will"; + mes "find the Gloomy Worker."; + erasequest 1190; + setquest 1191; + set malaya_bakona2,12; + close; + } else if (malaya_bakona2 == 12) { + mes "The trap has been set up here."; + next; + mes "[Cowardly Worker]"; + mes "Step aside immediately!"; + mes "Bakonawa might find out this is a trap"; + mes "and come for us."; + next; + mes "[Cowardly Worker]"; + mes "Go up and you will"; + mes "find the Gloomy Worker."; + emotion e_swt,1; + close; + } + end; +} + +ma_scene01,141,118,4 script Gloomy Worker#bako2 582,{ + if (malaya_bakona2 < 12) { + mes "[Gloomy Worker]"; + mes "Village Chief told me to wait for you here."; + mes "He must want me to do something."; + mes "Whew..."; + close; + } else if (malaya_bakona2 == 12) { + mes "[Gloomy Worker]"; + mes "set up a trap on the left side?"; + mes "I don't think it will be much use..."; + mes "Whew, I should've moved away or something..."; + close; + } else if (malaya_bakona2 == 13) { + mes "[Gloomy Worker]"; + mes "We are all gonna die anyway by Bakonawa."; + mes "This is pointless."; + mes "Just go up the path and you will find"; + mes "Sentimental Worker."; + close; + } else { + mes "[Gloomy Worker]"; + mes "Bakonawa is going to attack us anyway."; + mes "What pointless work..."; + close; + } + end; +} + +ma_scene01,138,122,0 script #bako5 139,2,2,{ + end; +OnTouch: + if (malaya_bakona2 == 12) { + mes "I should set up the trap"; + mes "right about here."; + next; + mes "[Gloomy Worker]"; + mes "Just catch this net,"; + mes "throw throw!"; + next; + mes "throw throw!"; + next; + mes "The trap is now set."; + next; + mes "[Gloomy Worker]"; + mes "Just go up the path and you will find"; + mes "Sentimental Worker."; + mes "Though I doubt it will be much help."; + erasequest 1191; + setquest 1192; + set malaya_bakona2,13; + close; + } else if (malaya_bakona2 == 13) { + mes "The trap has been set up here."; + next; + mes "[Gloomy Worker]"; + mes "The trap is meaningless."; + mes "See? It doesn't even work."; + close; + } + end; +} + +ma_scene01,175,170,5 script Sentimental Worker#bako2 578,{ + if (malaya_bakona2 < 13) { + mes "[Sentimental Worker]"; + mes "Village Chief told me to wait for you here."; + mes "Is there a some kind of surprise event?"; + mes "My heart is beating faster~"; + close; + } else if (malaya_bakona2 == 13) { + mes "[Sentimental Worker]"; + mes "Wow! So we are going to work together"; + mes "to set up a trap behind this place?"; + mes "This is sooo cool!"; + mes "This is the coolest thing in the world!"; + close; + } else if (malaya_bakona2 == 14) { + mes "[Sentimental Worker]"; + mes "Now that the trap is set,"; + mes "Are we going to report back to Village Chief?"; + mes "Oh what fun!"; + mes "It sounds so exiting!"; + close; + } else { + mes "[Sentimental Worker]"; + mes "More I think about it, more exited I get."; + mes "I'm secretly guarding the trap!"; + mes "I want to hear out loud."; + mes "I have a trap in front of me! Ha ha ha ha~"; + emotion e_swt2,1; + close; + } + end; +} + +ma_scene01,171,174,0 script #bako6 139,2,2,{ + end; +OnTouch: + if (malaya_bakona2 == 13) { + mes "I should set up the trap"; + mes "right about here."; + next; + mes "[Sentimental Worker]"; + mes "Wow! This really is a perfect place"; + mes "to set up a trap."; + mes "I'm going to throw the rope!"; + mes "Here goes the rope!"; + next; + mes "Here goes the rope!"; + next; + mes "The trap is now set."; + mes "Let's go to the Village Chief"; + mes "now that the trap is set."; + erasequest 1192; + setquest 1193; + set malaya_bakona2,14; + close; + } else if (malaya_bakona2 == 14) { + mes "The trap is set here."; + next; + mes "[Sentimental Worker]"; + mes "Try out the trap first!"; + mes "I'm so curious"; + mes "what would happen!"; + mes "It's going to be so much fun!"; + close; + } + end; +} + +// Original name: "Bakonawa Introduction Quest Helper#bako1" +sec_in02,10,16,5 script Bakonawa Intro Helper 543,{ + if (callfunc("F_GM_NPC",1854,0) < 1) { + mes "Seafood and Black Bean Sauce Noodle!"; + close; + } + mes "[Briquet Scheme]"; + mes "Just boldly tell me"; + mes "what is it that you want!"; + next; + switch(select("Reset all quests:Just before the end of first quest:Reset secondary quest:Distribution of lost belongings:Just after hunting")) { + case 1: + mes "Here you go!"; + set malaya_bakona1,0; + set malaya_bakona2,0; + for(set .@i,1174; .@i<=1193; set .@i,.@i+1) { + if (checkquest(.@i) > -1) + erasequest .@i; + } + close; + case 2: + mes "[Briquet Scheme]"; + mes "Here you go!"; + set malaya_bakona1,6; + for(set .@i,1174; .@i<=1178; set .@i,.@i+1) { + if (checkquest(.@i) > -1) + erasequest .@i; + } + setquest 1179; + close; + case 3: + mes "[Briquet Scheme]"; + mes "Here you go!"; + set malaya_bakona2,0; + for(set .@i,1180; .@i<=1193; set .@i,.@i+1) { + if (checkquest(.@i) > -1) + erasequest .@i; + } + close; + case 4: + mes "[Briquet Scheme]"; + mes "Here you go!"; + getitem 6520,17; //Lost_Belongings + close; + case 5: + mes "[Briquet Scheme]"; + mes "Here you go!"; + set malaya_bakona2,8; + setquest 1187; + for(set .@i,1178; .@i<=1193; set .@i,.@i+1) { + if (checkquest(.@i) > -1) + erasequest .@i; + } + close; + } +} + +// Nurse in Port Malaya :: malaya_bang +//============================================================ +function script F_Malaya_Nurse { + if (malaya_bang == 30) { + mes "[Nurse Las]"; + mes "A talisman?"; + mes "I think you should search for something else."; + cutin "malaya_nurseA01",2; + callsub L_Warp, getarg(0); + } else if (malaya_bang == 31) { + mes "[Nurse Las]"; + mes "A talisman and a person?"; + cutin "malaya_nurseA01",2; + next; + mes "[Nurse Las]"; + mes "I did see the talisman but I didn't go near it because I got a bad feeling about it."; + next; + mes "[Nurse Las]"; + mes "Oh!"; + mes "Speaking of talismans, wouldn't that old lady know about them, since she put some around the village?"; + mes "I think it'll be a good idea to ask her."; + set malaya_bang,32; + changequest 11303,11304; + callsub L_Warp, getarg(0), 1; + } else if (malaya_bang == 32) { + mes "[Nurse Las]"; + mes "Oh!"; + mes "Speaking of talismans, wouldn't that old lady know about them, since she put some around the hospital?"; + mes "I think it'll be a good idea to ask her."; + cutin "malaya_nurseA01",2; + callsub L_Warp, getarg(0), 1; + } else if (malaya_bang == 33) { + mes "[Nurse Las]"; + mes "A shaman... Best if we met her."; + cutin "malaya_nurseA01",2; + callsub L_Warp, getarg(0), 1; + } else if (malaya_bang == 34) { + mes "[Nurse Las]"; + mes "Oh!"; + mes "You must have met her."; + mes "I feel something strong..."; + cutin "malaya_nurseA01",2; + next; + select("Tell her about the talisman."); + mes "[Nurse Las]"; + mes "Yes!"; + mes "I have an idea."; + mes "How about we stick that one over the one we saw on the 2nd floor door?"; + emotion e_ic; + next; + mes "[Nurse Las]"; + mes "Maybe it will block the bad energy it's giving out."; + set malaya_bang,35; + changequest 11306,11307; + callsub L_Warp, getarg(0), 1; + } else if (malaya_bang == 35) { + mes "[Nurse Las]"; + mes "Yes!"; + mes "I have an idea."; + mes "How about we stick that one over the one we saw on the 2nd floor door?"; + emotion e_ic; + cutin "malaya_nurseA01",2; + next; + mes "[Nurse Las]"; + mes "Maybe it will block the bad energy it's giving out."; + callsub L_Warp, getarg(0), 1; + } else if (malaya_bang == 36) { + callsub L_Weight; + mes "[Nurse Maenne]"; + mes "*Sigh*..."; + mes "I thought it strange when you were standing behind me...."; + cutin "malaya_nurseB",2; + next; + mes "[Nurse Maenne]"; + mes "I didn't think you'd do something like this."; + emotion e_dots; + next; + mes "[Nurse Maenne]"; + mes "We were just about to enter Bangungot's room, before we were thrown out..."; + next; + switch(select("Bangungot?:Nurse Maenne?")) { + case 1: + callsub L_Bangungot; + select("Nurse Maenne"); + callsub L_Maenne; + break; + case 2: + callsub L_Maenne; + select("Bangungot"); + callsub L_Bangungot; + break; + } + callsub L_Incomplete; + set malaya_bang,42; + changequest 11308,11309; + callsub L_Reward; + callsub L_Warp, getarg(0), 1; + } else if (malaya_bang == 40) { + callsub L_Weight; + if (checkquest(11309,HUNTING) == 2) { + callsub L_Complete; + set malaya_bang,41; + completequest 11309; + callsub L_Reward; + callsub L_Warp, getarg(0), 1; + } else { + callsub L_Incomplete; + set malaya_bang,42; + callsub L_Reward; + callsub L_Warp, getarg(0); + } + } else if (malaya_bang > 40) { + if (malaya_bang == 42) { + if (checkquest(11309,HUNTING) == 2) { + callsub L_Complete; + set malaya_bang,41; + completequest 11309; + callsub L_Warp, getarg(0), 1; + } else { + callsub L_Incomplete; + callsub L_Warp, getarg(0); + } + } + callsub L_Incomplete; + switch(getarg(0)) { + case 1: + next; + switch(select("Enter the hospital.:Quit.")) { + case 1: + callsub L_Warp, getarg(0); + case 2: + mes "[Nurse Maenne]"; + mes "Hmmm..."; + close2; + cutin "",255; + end; + } + case 2: + callsub L_Warp, getarg(0); + } + } + return; + +L_Weight: + if (checkweight(1201,1) == 0) { + mes "- Wait !! -"; + mes "- You have too many items. -"; + mes "- Cannot receive item. -"; + mes "- Please lighten your bag -"; + mes "- and try again. -"; + close; + } + if (MaxWeight - Weight < 1000) { + mes "- Wait !! -"; + mes "- You are carrying too many items. -"; + mes "- Cannot receive item. -"; + mes "- Please lighten your bag -"; + mes "- and try again. -"; + close; + } + return; + +L_Warp: + switch(getarg(0)) { + case 1: + close2; + cutin "",255; + if (getarg(1,0) == 0) + warp "ma_dun01",33,110; + end; + case 2: + next; + switch(select("Go outside.:Quit.")) { + case 1: + close2; + cutin "",255; + warp "malaya",58,76; + end; + case 2: + mes "[Nurse Las]"; + mes "Tsk..."; + close2; + cutin "",255; + end; + } + } + +L_Reward: +// if (IsPremiumPcCafe == 10) { + getitem 6499,5; //Ancient_Grudge + getitem 6497,10; //Lesser_Agimat +// } else { +// getitem 6499,3; //Ancient_Grudge +// getitem 6497,5; //Lesser_Agimat +// } + getitem 617,1; //Old_Violet_Box + getexp 1000000,0; + return; + +L_Bangungot: + mes "[Nurse Maenne]"; + mes "It's a vicious monster roaming this hospital."; + next; + mes "[Nurse Maenne]"; + mes "Hmmmm..."; + mes "It's not exactly a monster...."; + mes "More like a curse or disease..."; + next; + mes "[Nurse Maenne]"; + mes "There's a story saying that it used to be a wood fairy."; + next; + mes "[Nurse Maenne]"; + mes "Anyway, it doesnt change the fact that she killed the patients of this hospital and turned them into monsters."; + next; + return; + +L_Maenne: + mes "[Nurse Maenne]"; + mes "Me?"; + mes "As you can see, I'm the new nurse here."; + mes "I'm a nurse who specializes in 'this' kind of work, instead of looking after patients."; + cutin "malaya_nurseB",2; + next; + mes "[Nurse Maenne]"; + mes "Oh!"; + mes "The Bangungot pretended to be me?"; + next; + mes "[Nurse Maenne]"; + mes "Seeing how much it rattled you."; + mes "It's a rather smart one."; + next; + mes "[Nurse Maenne]"; + mes "Simply said, I cure unnatural phenomenon around hospitals."; + next; + mes "[Nurse Maenne]"; + mes "Many things happen in the world."; + next; + return; + +L_Complete: + mes "[Nurse Maenne]"; + mes "She may have rooted here deeper than I thought."; + mes "I can still feel her presence."; + cutin "malaya_nurseB",2; + next; + mes "[Nurse Maenne]"; + mes "What you killed was a part of her..."; + mes "But, it was a big help since you confused and damaged her at the same time."; + next; + mes "[Nurse Maenne]"; + mes "It makes things a lot easier."; + mes "Thank you."; + return; + +L_Incomplete: + mes "[Nurse Maenne]"; + mes "It would've been easier if she was apart from her body, but now that she returned to her room, this is going to be a little tricky."; + cutin "malaya_nurseB",2; + next; + mes "[Nurse Maenne]"; + mes "Of course, don't you dare walk away from this, since you disturbed my job and led her to her room."; + next; + mes "[Nurse Maenne]"; + mes "If you make it to the 2nd floor door, I'll open a small door to her room for you."; + mes "After that, she's all yours."; + return; +} + +malaya,55,72,4 script Nurse#ma_n1 569,{ + if (malaya_hi < 20) { + mes "[Nurse]"; + mes "People of this town are too cautious of outsiders."; + emotion e_ag; + cutin "malaya_nurseA01",2; + next; + mes "[Nurse]"; + mes "I'm sure they have their reasons, but I wish they'd tell me how to get closer..."; + close2; + cutin "",255; + end; + } + if (BaseLevel < 100) { + mes "There's a nurse outside the hospital holding a large bag."; + mes "I don't think I can help her."; + close; + } + if (malaya_bang == 0) { + mes "[Nurse]"; + mes "Hey, hold on."; + mes "Are you planning on going inside?"; + cutin "malaya_nurseA01",2; + next; + switch(select("Yes.:No.")) { + case 1: + mes "[Nurse]"; + mes "Oh~"; + mes "I'm so glad!"; + mes "I was literally waiting all day for someone to some by."; + cutin "malaya_nurseA02",2; + next; + switch(select("About the hospital:Reason for stalling me:Ignore.")) { + case 1: + mes "[Nurse]"; + mes "This hospital is the only one in town."; + mes "And it's going to be my new job."; + cutin "malaya_nurseA03",2; + next; + mes "[Nurse]"; + mes "I heard it was just built, but it seems so creepy...."; + emotion e_swt; + next; + mes "[Nurse]"; + mes "I was surprised when I got here too."; + mes "It says 'closed' all around it!"; + next; + select("Reason for stalling me."); + mes "[Nurse]"; + mes "I was told that they needed nurses in this town,"; + mes "so I came here after turning down numerous proposals."; + next; + mes "[Nurse]"; + mes "I'd heard they were really cautious of outsiders..."; + next; + mes "[Nurse]"; + mes "Not even a soul to welcome me, let alone a party!"; + mes "Shocking!"; + emotion e_sob; + next; + mes "[Nurse]"; + mes "What's more, I made it here after being lost and now I'm facing a creepy and locked hospital!"; + next; + break; + case 2: + mes "[Nurse]"; + mes "I was told that they needed nurses in this town,"; + mes "so I came here after turning down numerous proposals."; + cutin "malaya_nurseA03",2; + next; + mes "[Nurse]"; + mes "I'd heard they were really cautious of outsiders..."; + next; + mes "[Nurse]"; + mes "Not even a soul to welcome me, let alone a party!"; + mes "Shocking!"; + emotion e_sob; + next; + mes "[Nurse]"; + mes "What's more, I made it here after being lost and now I'm facing a creepy and locked hospital!"; + next; + select("About the hospital"); + mes "[Nurse]"; + mes "This hospital is the only one in town."; + mes "And it's going to be my new job."; + next; + mes "[Nurse]"; + mes "I heard it was just built, but it seems so creepy...."; + emotion e_swt; + next; + mes "[Nurse]"; + mes "I was surprised when I got here too."; + mes "It says 'closed' all around it!"; + next; + break; + case 3: + mes "[Nurse]"; + mes "Yes, you must be busy."; + mes "Oh, well."; + mes "I'll let you be on your way."; + mes "Don't mind me. *Sob*"; + emotion e_sob; + cutin "malaya_nurseA03",2; + close2; + cutin "",255; + end; + } + break; + case 2: + mes "[Nurse]"; + mes "Oh, I see..."; + emotion e_sob; + close2; + cutin "",255; + end; + } + mes "[Nurse]"; + mes "Now that you say it... If you're going inside, could you take me with you?"; + cutin "malaya_nurseA04",2; + next; + mes "[Nurse]"; + mes "Doors are locked!"; + mes "My bags are heavy!"; + mes "And my legs are killing me."; + cutin "malaya_nurseA03",2; + next; + mes "[Nurse]"; + mes "If I knew this was going to happen, I would've worn ER night-shift shoes instead of first-day shoes... *sniff*"; + emotion e_sob; + next; + switch(select("Help.:Don't help.")) { + case 1: + mes "[Nurse]"; + mes "*Sob*"; + mes "I guess this world is still worth living in."; + mes "You are too kind."; + emotion e_sob; + next; + mes "[Nurse Las]"; + mes "I'm 'Las', who's supposed to work in this hospital."; + mes "By the looks of it, though, I may become jobless..."; + next; + mes "[Nurse Las]"; + mes "Let's start by getting inside."; + next; + mes "[Nurse Las]"; + mes "Before that...."; + mes "Could you get something to wrap my feet? I can't put my shoes on because I've got blisters."; + emotion e_hlp; + cutin "malaya_nurseA04",2; + next; + mes "[Nurse Las]"; + mes "2 Rotten Bandages should do to wrap both my feet. They may look dirty, but they have special liquid on them that have amazing effects."; + set malaya_bang,1; + setquest 11284; + close2; + cutin "",255; + end; + case 2: + mes "[Nurse]"; + mes "Yes, you must be busy."; + mes "Oh, well."; + mes "I'll let you be on your way."; + mes "Don't mind me. *Sob*"; + emotion e_sob; + cutin "malaya_nurseA03",2; + close2; + cutin "",255; + end; + } + } else if (malaya_bang == 1) { + if (countitem(930) > 1) { + mes "[Nurse Las]"; + mes "Oh......"; + mes "I know they're effective but... Not so tempting."; + cutin "malaya_nurseA01",2; + next; + mes "[Nurse Las]"; + mes "Rotten Bandages... A fit name for something that seems to have been cut fresh from a mummy."; + next; + mes "[Nurse Las]"; + mes "I'm having second thoughts looking at them, but as I am to be a professional nurse!!"; + mes "Here goes nothing!!!"; + mes "Ewwww!!"; + next; + mes "[Nurse Las]"; + mes "*Squish*"; + mes "*Squelch*"; + delitem 930,2; //Rotten_Bandage + set malaya_bang,2; + close2; + cutin "",255; + end; + } else { + mes "[Nurse Las]"; + mes "Before that..."; + mes "Could you get something to wrap my feet? I can't put my shoes on because I've got blisters."; + emotion e_hlp; + cutin "malaya_nurseA03",2; + next; + mes "[Nurse Las]"; + mes "2 Rotten Bandages should do to wrap both my feet. They may look dirty, but they have special liquid on that have with amazing effects."; + close2; + cutin "",255; + end; + } + } else if (malaya_bang == 2) { + mes "[Nurse Las]"; + mes "Ahhhhh..."; + mes "My feet feel a lot better now, but it smells funny."; + cutin "malaya_nurseA01",2; + next; + mes "[Nurse Las]"; + mes "Oh...... the smell......"; + mes "My new shoes will be ruined..."; + emotion e_swt2; + next; + mes "[Nurse Las]"; + mes "Okay!!!!!!"; + mes "I don't know if it's locked or stuck, let's try pushing it together!"; + set malaya_bang,3; + changequest 11284,11285; + close2; + cutin "",255; + end; + } else if (malaya_bang == 3) { + mes "[Nurse Las]"; + mes "Okay!!!!!!"; + mes "I don't know if it's locked or stuck, let's try pushing it together!"; + cutin "malaya_nurseA01",2; + close2; + cutin "",255; + end; + } else if (malaya_bang == 4) { + mes "["+strcharinfo(0)+"]"; + mes "We pushed and pulled, but it won't budge."; + emotion e_swt2,1; + next; + mes "[Nurse Las]"; + mes "Strange~"; + mes "They wouldn't have sent me to a closed down hospital."; + cutin "malaya_nurseA03",2; + next; + mes "[Nurse Las]"; + mes "Hmmm!"; + mes "I can't stand it anymore!"; + emotion e_an; + next; + mes "[Nurse Las]"; + mes "Could you ask the townsfolk about the hospital while I contact HQ?"; + cutin "malaya_nurseA01",2; + next; + mes "[Nurse Las]"; + mes "Hey, why don't you start with that girl over there?"; + mes "Perhaps she'll tell you something."; + set malaya_bang,5; + changequest 11286,11287; + close2; + cutin "",255; + end; + } else if (malaya_bang == 5) { + mes "[Nurse Las]"; + mes "Could you ask the townsfolk about the hospital while I contact HQ?"; + cutin "malaya_nurseA01",2; + next; + mes "[Nurse Las]"; + mes "Hey, why don't you start with that girl over there?"; + mes "Perhaps she'll tell you something."; + close2; + cutin "",255; + end; + } else if (malaya_bang == 6) { + mes "[Nurse Las]"; + mes "What did she say?"; + emotion e_what; + cutin "malaya_nurseA02",2; + next; + select("Tell her what she said."); + mes "[Nurse Las]"; + mes "Strange."; + mes "HQ confirmed that I am assigned here."; + cutin "malaya_nurseA01",2; + next; + mes "[Nurse Las]"; + mes "Maybe that girl doesn't know about this place?"; + mes "HQ couldn't have sent me here and be lying about it. Could you ask someone else in town?"; + next; + mes "[Nurse Las]"; + mes "I'll contact HQ again for more info."; + mes "Hey, why not ask that man over there?"; + mes "I'm sure he'll know something."; + set malaya_bang,7; + changequest 11288,11289; + close2; + cutin "",255; + end; + } else if (malaya_bang == 7) { + mes "[Nurse Las]"; + mes "I'll contact HQ again for more info."; + mes "Hey, why not ask that man over there?"; + mes "I'm sure he'll know something."; + cutin "malaya_nurseA01",2; + close2; + cutin "",255; + end; + } else if (malaya_bang == 8) { + mes "[Nurse Las]"; + mes "An inn?"; + mes "Good gracious!"; + mes "If they'd have told me earlier I wouldn't have had to stand out here for so long!"; + emotion e_pif; + cutin "malaya_nurseA01",2; + next; + mes "[Nurse Las]"; + mes "Ummm......"; + mes "......"; + mes "......"; + next; + mes "[Nurse Las]"; + mes "Hey... you know what..."; + next; + mes "[Nurse Las]"; + mes "I don't think I can move anymore because of my feet. Could you go to the inn for me?"; + emotion e_swt2; + cutin "malaya_nurseA03",2; + next; + mes "[Nurse Las]"; + mes "I can't carry my bags around so I'll stay here and watch over them while I treat my feet."; + next; + mes "[Nurse Las]"; + mes "I have to be back here again anyway."; + mes "Thank you."; + set malaya_bang,9; + changequest 11290,11291; + close2; + cutin "",255; + end; + } else if (malaya_bang == 9) { + mes "[Nurse Las]"; + mes "I don't think I can move anymore because of my feet. Could you go to the inn for me?"; + emotion e_swt2; + cutin "malaya_nurseA03",2; + next; + mes "[Nurse Las]"; + mes "I can't carry my bags around so I'll stay here and watch over them while I treat my feet."; + next; + mes "[Nurse Las]"; + mes "I have to be back here again anyway."; + mes "Thank you."; + close2; + cutin "",255; + end; + } else if (malaya_bang == 10) { + mes "[Nurse Las]"; + mes "Hey~"; + mes "How'd it go?"; + cutin "malaya_nurseA02",2; + next; + select("Hand over the key and message."); + mes "[Nurse Las]"; + mes "Keys?"; + mes "Well this is one step closer to my goals!"; + mes "Let's open the door right now!"; + set malaya_bang,11; + close2; + cutin "",255; + end; + } else if (malaya_bang == 11) { + mes "[Nurse Las]"; + mes "Keys?"; + mes "Well this is one step closer to my goals!"; + mes "Let's open the door right now!"; + cutin "malaya_nurseA02",2; + close2; + cutin "",255; + end; + } else if (malaya_bang == 12) { + mes "[Nurse Las]"; + mes "That's weird~!"; + mes "The door's not locked?"; + mes "How can this be?????"; + mes "????"; + emotion e_what; + emotion e_what,1; + cutin "malaya_nurseA04",2; + next; + mes "[Nurse Las]"; + mes "Oh no!!!"; + mes "Everything's falling apart."; + mes "Maybe we should wait for the doctor to come....."; + cutin "malaya_nurseA03",2; + next; + mes "[???]"; + mes "..."; + cutin "",255; + next; + mes "[???]"; + mes "*Snigger*"; + emotion e_what,1; + emotion e_what; + next; + mes "[???]"; + mes "Hey "+((Sex)?"dude":"missy")+","; + mes "You're not getting in the hospital."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Who's there?!"; + next; + mes "[???]"; + mes "*Snigger*"; + next; + mes "[???]"; + mes "That's a secret~"; + mes "My mom will kill me if she knew I was here!"; + next; + switch(select("About entering the hospital.:About it's mom.:About ???:Quit.")) { + case 1: + mes "[???]"; + mes "A few days ago, the old lady who lives near us went around the hospital sticking some kind of sticks into the ground."; + next; + mes "[???]"; + mes "She was mumbling and looking around a lot."; + next; + mes "[???]"; + mes "I was well hidden here because I wasn't supposed to be here."; + next; + break; + case 2: + mes "[???]"; + mes "My mom once told me."; + mes "The old lady's daughter was hospitalized here."; + next; + mes "[???]"; + mes "She never got out of it though..."; + next; + mes "[???]"; + mes "She wasn't the only one. There were many strange things going on at the hospital."; + next; + mes "[???]"; + mes "That's why my mom doesn't want me coming around here."; + next; + break; + case 3: + mes "[???]"; + mes "No way Jose!"; + mes "I got a spanking last time I was caught around here!"; + next; + mes "[???]"; + mes "If I'm caught again, it won't end with a spanking...."; + mes "So scary."; + next; + break; + case 4: + mes "[???]"; + mes "Humph!!"; + close; + } + mes "The voice seems to be coming from the bushes near the entrance of the hospital."; + specialeffect EF_STEAL,AREA,"Bushes#ma"; + set malaya_bang,13; + changequest 11293,11294; + close; + } else if (malaya_bang == 13) { + mes "The voice seems to be coming from the bushes near the entrance of the hospital."; + mes "Let's check around."; + specialeffect EF_STEAL,AREA,"Bushes#ma"; + close; + } else if (malaya_bang == 14) { + mes "[Nurse Las]"; + mes "Hmmm... Let's look around the hospital."; + cutin "malaya_nurseA01",2; + close2; + cutin "",255; + end; + } else if (malaya_bang == 15) { + mes "[Nurse Las]"; + mes "Hey... ummm..."; + mes "You know..."; + mes "Could you give that old lady a visit?"; + cutin "malaya_nurseA04",2; + next; + mes "[Nurse Las]"; + mes "Oh, me? I'll look be looking around here."; + next; + mes "[Nurse Las]"; + mes "As you know, my feet hurt..."; + mes "Yes?"; + mes "Yes?"; + next; + switch(select("Go.:Don't go.")) { + case 1: + mes "[Nurse Las]"; + mes "Okay, off you go."; + mes "I think she lives on the west side of town."; + mes "Go on."; + next; + mes "[Nurse Las]"; + mes "Hey you in the bushes, I'll tell on you if you don't go home now!"; + set malaya_bang,16; + changequest 11296,11297; + close2; + cutin "",255; + end; + case 2: + mes "[Nurse Las]"; + mes "Why!?"; + mes "Staying here won't solve anything."; + close2; + cutin "",255; + end; + } + } else if (malaya_bang == 16 || malaya_bang == 17) { + mes "[Nurse Las]"; + mes "Okay, off you go."; + mes "I think she lives on the west side of town."; + mes "Go on."; + cutin "malaya_nurseA04",2; + next; + mes "[Nurse Las]"; + mes "Hey you in the bushes, I'll tell on you if you don't go home now!"; + emotion e_omg,0,"Bushes#ma"; + close2; + cutin "",255; + end; + } else if (malaya_bang == 18) { + mes "[Nurse Las]"; + mes "How'd it go?"; + mes "Did you meet the old lady?"; + cutin "malaya_nurseA02",2; + next; + mes "[Nurse Las]"; + mes "Oh by the way, when ["+strcharinfo(0)+"], you were gone, I tried the door."; + mes "It did open..."; + next; + mes "[Nurse Las]"; + mes "But the way to the 2nd floor was blocked."; + mes "I thought the door opening was a break through, but turns out it wasn't."; + cutin "malaya_nurseA03",2; + next; + mes "[Nurse Las]"; + mes "Anyway, the first floor door is open, so let's go inside."; + mes "Everything would be meaningless if the second floor door is not opened."; + emotion e_sob; + set malaya_bang,19; + changequest 11299,11300; + close2; + cutin "",255; + warp "ma_dun01",33,110; + end; + } else if (malaya_bang == 19) { + mes "[Nurse Las]"; + mes "Anyway, the first floor door is open, so let's go inside."; + mes "Everything would be meaningless if the second floor door is not opened."; + emotion e_sob; + cutin "malaya_nurseA01",2; + close2; + cutin "",255; + warp "ma_dun01",33,110; + end; + } else if (malaya_bang < 30) { + mes "[Nurse Las]"; + mes "Could you check the 2nd floor door again in case I missed something?"; + cutin "malaya_nurseA01",2; + close2; + cutin "",255; + warp "ma_dun01",33,110; + end; + } else { + callfunc "F_Malaya_Nurse",1; + end; + } + mes "There's a nurse outside the hospital holding a large bag."; + mes "I don't think I can help her."; + close; +} + +ma_dun01,35,108,4 script Nurse#ma_n2 569,{ + if (malaya_bang < 19) { + // fall through + } else if (malaya_bang < 30) { + if (malaya_bang == 19) { + mes "The hospital is infested with monsters, like the old lady said."; + mes "How could she have gone back and forth to the 2nd floor with her feet like that...."; + next; + set malaya_bang,20; + changequest 11300,11301; + } + mes "[Nurse Las]"; + mes "Could you check the 2nd floor door again in case I missed something?"; + cutin "malaya_nurseA01",2; + next; + switch(select("Go outside.:Quit.")) { + case 1: + close2; + cutin "",255; + warp "malaya",58,76; + end; + case 2: + mes "[Nurse Las]"; + mes "Tsk..."; + close2; + cutin "",255; + end; + } + } else { + callfunc "F_Malaya_Nurse",2; + end; + } + mes "[Nurse]"; + mes "I want to be left alone."; + mes "Please leave."; + close2; + warp "malaya",58,76; + end; +} + +ma_dun01,152,23,4 script Suspicious Wooden Stick::MalayaStick0 858,{ + if (malaya_bang == 20) { + mes "There's a talisman similar to the ones outside the hospital."; + mes "Let's look around for something else."; + set malaya_bang,30; + changequest 11301,11302; + close; + } else if (malaya_bang == 30) { + mes "There's a talisman similar to the ones outside the hospital."; + mes "Let's look around for something else."; + close; + } else if (malaya_bang == 35) { + mes "After sticking on the talisman over the other one, the dark feeling lifted away, just like Las said."; + next; + mes "[Nurse Las]"; + mes "*Snigger*"; + cutin "malaya_nurseA05",2; + next; + mes "["+strcharinfo(0)+"]"; + mes "?!"; + cutin "",255; + next; + mes "[Nurse Las]"; + mes "Yes, yes!"; + cutin "malaya_nurseA05",2; + next; + mes "[Nurse Las]"; + mes "The annoying talismans are gone!"; + next; + mes "[Nurse Las]"; + mes "*Giggle*"; + next; + mes "[Nurse Las]"; + mes "Human's are so dumb. You show them a pretty little helpless look and they fall for it."; + next; + mes "[Nurse Las]"; + mes "*Snigger*"; + next; + mes "[Nurse Las]"; + mes "For your work, I shall take you to my room..."; + mes "Darn..."; + next; + mes "[Nurse Las]"; + mes "......"; + next; + mes "[Nurse Las]"; + mes "No no no!"; + mes "You still have those annoying talismans!!!"; + next; + mes "[Nurse Las]"; + mes "This is your lucky day!"; + mes "*Snigger*"; + set malaya_bang,36; + changequest 11307,11308; + close2; + cutin "",255; + warp "malaya",58,76; + end; + } else if (malaya_bang > 35) { + mes "Cannot feel anything evil about the talisman."; + mes "Only the bitter taste of being fooled around Las remains..."; + close; + } else { + mes "No power can be felt."; + close; + } +} + +malaya,48,76,4 script Hospital Door#ma_n1 844,{ + if (malaya_bang == 3) { + mes "Pushed hard on the door, but it won't open."; + mes "It doesn't feel like it's locked or stuck, but encased by a layer of something."; + set malaya_bang,4; + changequest 11285,11286; + close; + } else if (malaya_bang == 4) { + mes "Pushed hard on the door, but it won't open."; + mes "It doesn't feel like it's locked or stuck, but encased by a layer of something."; + close; + } else if (malaya_bang == 11) { + mes "Put the key inside the lock of the hospital door..."; + mes "But it's not locked as expected."; + next; + mes "Then why is the door not opening?"; + set malaya_bang,12; + changequest 11292,11293; + close; + } else if (malaya_bang == 12) { + mes "Put the key inside the lock of the hospital door..."; + mes "But it's not locked as expected."; + next; + mes "Then why is the door not opening?"; + close; + } else if (malaya_bang > 18) { + if(select("Enter the hospital.:Quit.") == 1) + warp "ma_dun01",33,110; + end; + } else { + mes "The hospital door seems to be closed."; + close; + } +} + +malaya,64,78,4 script Village Woman#mab 583,{ + if (malaya_hi < 20) { + mes "[Village Woman]"; + mes "......"; + next; + mes "Seems very cautious about you."; + close; + } + if (malaya_bang == 5) { + mes "[Village Woman]"; + mes "Oh~Are you an adventurer?"; + mes "It seems like we have a lot of them in town lately."; + next; + mes "[Village Woman]"; + mes "I was born here and never went far away from here, so I always feel like going on my adventures when I hear the stories they bring."; + next; + switch(select("Ask about the hospital.:End conversation.")) { + case 1: + mes "[Village Woman]"; + mes "The hospital?"; + mes "It's been closed for a very long time."; + mes "They don't talk about it around here."; + next; + mes "[Village Woman]"; + mes "I never had to go to the hospital."; + mes "I've been there once when I had a stomach ache as a child. I remember the place being creepy."; + next; + mes "[Village Woman]"; + mes "Children never like hospitals."; + next; + select("Ask about the nurse."); + mes "[Village Woman]"; + mes "The new nurse?"; + mes "I don't know."; + mes "I haven't given it a thought."; + mes "It is strange to have a new nurse coming to a closed hospital."; + set malaya_bang,6; + changequest 11287,11288; + close; + case 2: + mes "[Village Woman]"; + mes "Have a nice day~"; + close; + } + } else if (malaya_bang == 6) { + mes "[Village Woman]"; + mes "The new nurse?"; + mes "I don't know."; + mes "I haven't given it a thought."; + mes "It is strange to have a new nurse coming to a closed hospital."; + set malaya_bang,6; + changequest 11287,11288; + close; + } else { + mes "[Village Woman]"; + mes "Oh~Are you an adventurer?"; + mes "It seems like we have a lot of them in town lately."; + next; + mes "[Village Woman]"; + mes "I was born here and never went far away from here, so I always feel like going on my adventures when I hear the stories they bring."; + close; + } +} + +malaya,62,37,4 script Village Man#mab 582,{ + if (malaya_hi < 20) { + mes "[Village Man]"; + mes "Hmmm! Haven't seen you around?"; + mes "What brings you to our town?"; + next; + mes "Seems very cautious about you."; + close; + } + if (malaya_bang == 7) { + mes "[Village Man]"; + mes "*Laughs*"; + mes "An adventurer, are you?"; + mes "When you have time, come and take a look around my pineapple farm."; + next; + mes "[Village Man]"; + mes "Just a little bit~"; + mes "far from the village, but I'll give you all the pineapple you want in exchange for a good story of yours!"; + next; + switch(select("Ask about the hospital.:End conversation.")) { + case 1: + mes "[Village Man]"; + mes "Ummm......"; + mes "You mean that hospital?"; + next; + mes "[Village Man]"; + mes "It was closed down because of an accident."; + mes "But I wouldn't trouble an outsider with the details......"; + mes "There's not much I can tell you."; + next; + select("Ask about the nurse."); + mes "[Village Man]"; + mes "Oh!!!"; + mes "Did you meet the nurse?!"; + next; + mes "["+strcharinfo(0)+"]"; + mes "She was standing in front of the hospital."; + mes "Oh!"; + mes "She must have gone to contact HQ."; + next; + mes "[Village Man]"; + mes "We requested 'the nurse', and she's already here! We're saved!"; + next; + select("The nurse?"); + mes "[Village Man]"; + mes "She was invited here to save our hospital."; + next; + mes "[Village Man]"; + mes "Now I have to spread the good news! Could you bring her to the inn at the center of town?"; + next; + mes "[Village Man]"; + mes "That's where the doctor is staying."; + mes "He's been there ever since the hospital was closed."; + set malaya_bang,8; + changequest 11289,11290; + close; + case 2: + mes "[Village Man]"; + mes "Whoopeee!"; + close; + } + } else if (malaya_bang == 8) { + mes "[Village Man]"; + mes "Now I have to spread the good news! Could you bring her to the inn at the center of town?"; + next; + mes "[Village Man]"; + mes "That's where the doctor is staying."; + mes "He's been there ever since the hospital was closed."; + close; + } else { + mes "[Village Man]"; + mes "Whoopeee!"; + mes "An adventurer, are you?"; + mes "When you have time, come and take a look around my pineapple farm."; + next; + mes "[Village Man]"; + mes "Just a little bit~"; + mes "far from the village, but I'll give you all the pineapple you want in exchange for a good story of yours!"; + close; + } +} + +malaya,210,200,5 script Dr. Boon#ma 865,{ + if (malaya_hi < 20) { + mes "[Dr. Boon]"; + mes "......"; + next; + mes "Seems very cautious about you."; + close; + } + if (malaya_bang == 9) { + mes "[Dr. Boon]"; + mes "So~ You're the new nurse?"; + next; + switch(select("Yes.:No.")) { + case 1: + mes "[Dr. Boon]"; + mes "Nothing's more important for a nurse than their white uniform."; + mes "Go get changed!"; + close; + case 2: + mes "[Dr. Boon]"; + mes "Oh! I'm sorry."; + mes "We're waiting for a new nurse."; + mes "My bad."; + next; + select("Explain the situation."); + mes "[Dr. Boon]"; + mes "Aha~"; + mes "So that's what happened."; + mes "Oh, dear. I guess there was a misunderstanding."; + next; + mes "[Dr. Boon]"; + mes "You see, I've been treating patients at the inn after what happened to the hospital."; + next; + mes "[Dr. Boon]"; + mes "Even so, I must apologize for making her stand there so long."; + next; + mes "[Dr. Boon]"; + mes "I can't leave right now because I have patients to look after. Why don't you go over and hand over this key?"; + next; + mes "[Dr. Boon]"; + mes "And give her a message with the key saying, 'I'll leave it to your own discretion'."; + next; + mes "[Dr. Boon]"; + mes "I'll be there as soon as I'm done here."; + mes "Good luck~"; + set malaya_bang,10; + changequest 11291,11292; + close; + } + } else if (malaya_bang == 10) { + mes "[Dr. Boon]"; + mes "I can't leave right now because I have patients to look after. Why don't you go over and hand over this key?"; + next; + mes "[Dr. Boon]"; + mes "And give her a message with the key saying, 'I'll leave it to your own discretion'."; + next; + mes "[Dr. Boon]"; + mes "I'll be there as soon as I'm done here."; + mes "Good luck~"; + close; + } else { + mes "[Dr. Boon]"; + mes "*Sigh*"; + mes "The work... It never ends..."; + mes "How am I supposed to handle all these patients on my own?"; + next; + mes "[Dr. Boon]"; + mes "What? What's a doctor doing in an inn?"; + mes "Well, why not?"; + close; + } +} + +malaya,53,68,4 script Bushes#ma 844,{ + if (malaya_bang < 13) { + mes "It's just a bush."; + mes "A sweet scent of wood rises when shaken."; + close; + } + if (malaya_bang == 13) { + mes "[???]"; + mes "Don't come any closer!"; + mes "Old "+((Sex)?"man":"lady")+"!"; + mes "How'd you know I was here?"; + emotion e_omg; + next; + mes "["+strcharinfo(0)+"]"; + mes "I'm not old."; + emotion e_an,1; + next; + switch(select("About entering the hospital.:About its mom.:About ???.:Ask about the old lady.:Ask about the hospital grounds.:Quit.")) { + case 1: + mes "[???]"; + mes "A few days ago, the old lady who lives near us went around the hospital sticking some kind of sticks into the ground."; + next; + mes "[???]"; + mes "She was mumbling and looking around a lot."; + next; + mes "[???]"; + mes "I was well hidden here because I wasn't supposed to be here."; + next; + break; + case 2: + mes "[???]"; + mes "My mom once told me."; + mes "The old lady's daughter was hospitalized here."; + next; + mes "[???]"; + mes "She never got out of it though..."; + next; + mes "[???]"; + mes "She wasn't the only one. There were many strange things going on at the hospital."; + next; + mes "[???]"; + mes "That's why my mom doesn't want me coming around here."; + next; + break; + case 3: + mes "[???]"; + mes "No way Jose!"; + mes "I got a spanking last time I was caught around here!"; + next; + mes "[???]"; + mes "If I'm caught again, it won't end with a spanking...."; + mes "So scary."; + next; + break; + case 4: + mes "[???]"; + mes "It's the lady who lives next door to us."; + next; + mes "[???]"; + mes "I saw her a few days ago doing something around the hospital."; + next; + mes "[???]"; + mes "I couldn't see what she was doing from here, but I found some sticks there after she'd left."; + set malaya_bang,14; + changequest 11294,11295; + close; + case 5: + mes "[???]"; + mes "I dunno."; + mes "Nothing's different except for the sticks."; + next; + mes "[???]"; + mes "The old lady comes back once in a while to check on the sticks."; + mes "My heart races when that happens!"; + next; + break; + case 6: + mes "[???]"; + mes "Humph!!"; + emotion e_pif; + close; + } + mes "[???]"; + mes "Promise me you won't tell anyone that you saw me!!!"; + mes "Promise?!"; + close; + } else if (malaya_bang == 14) { + mes "[???]"; + mes "I couldn't see what she was doing from here, but I found some sticks there after she'd left."; + close; + } else if (malaya_bang == 15) { + mes "[???]"; + mes "Don't come any closer!"; + mes "Old "+((Sex)?"man":"lady")+"!"; + mes "How'd you know I was here?"; + emotion e_omg; + next; + mes "["+strcharinfo(0)+"]"; + mes "I'm not old."; + emotion e_an,1; + close; + } else { + mes "There's a trace of a young child."; + mes "Think the child's gone home now."; + close; + } +} + +- script Suspicious Wooden Stick::MalayaStick -1,{ + if (checkweight(1201,1) == 0) { + mes "- Wait !! -"; + mes "- You have too many items. -"; + mes "- Cannot receive item. -"; + mes "- Please lighten your bag -"; + mes "- and try again. -"; + close; + } + if (MaxWeight - Weight < 1000) { + mes "- Wait !! -"; + mes "- You are carrying too many items. -"; + mes "- Cannot receive item. -"; + mes "- Please lighten your bag -"; + mes "- and try again. -"; + close; + } + if (malaya_bang == 14) { + mes "A strange stick is planted on the ground."; + mes "A mysterious force can be felt."; + next; + switch(select("Pull it out.:Leave it.")) { + case 1: + if (rand(1,5) == 4) { + mes "Pulled out the deeply planted stick."; + mes "The hospital seems to have become more gloomy."; + if (rand(2)) { + set malaya_bang,15; + changequest 11295,11296; + getitem 6497,1; //Lesser_Agimat + donpcevent "Tent"+replacestr(strnpcinfo(3),"MalayaStick","")+"#ma::OnEnable"; + next; + mes "Better show Las the talisman."; + close; + } else { + getitem 6497,1; //Lesser_Agimat + donpcevent "Tent"+replacestr(strnpcinfo(3),"MalayaStick","")+"#ma::OnEnable"; + close; + } + } else { + mes "After pulling out the deeply planted stick, an uneasy feeling washes over."; + donpcevent "Tent"+replacestr(strnpcinfo(3),"MalayaStick","")+"#ma::OnEnable"; + close; + } + case 2: + mes "It looks ominous. Better leave it alone."; + close; + } + } else { + mes "There's a strange looking stick."; + close; + } + end; +OnEnable: + enablenpc strnpcinfo(3); // NPC name is too long for strnpcinfo(0). + end; +OnDisable: + disablenpc strnpcinfo(3); + end; +} +malaya,40,52,4 duplicate(MalayaStick) Suspicious Wooden Stick::MalayaStick1 858 +malaya,31,42,4 duplicate(MalayaStick) Suspicious Wooden Stick::MalayaStick2 858 +malaya,34,36,4 duplicate(MalayaStick) Suspicious Wooden Stick::MalayaStick3 858 +malaya,40,32,4 duplicate(MalayaStick) Suspicious Wooden Stick::MalayaStick4 858 +malaya,50,85,4 duplicate(MalayaStick) Suspicious Wooden Stick::MalayaStick5 858 +malaya,46,93,4 duplicate(MalayaStick) Suspicious Wooden Stick::MalayaStick6 858 +malaya,36,98,4 duplicate(MalayaStick) Suspicious Wooden Stick::MalayaStick7 858 +malaya,48,79,4 duplicate(MalayaStick) Suspicious Wooden Stick::MalayaStick8 858 +malaya,50,46,4 duplicate(MalayaStick) Suspicious Wooden Stick::MalayaStick9 858 +malaya,59,84,4 duplicate(MalayaStick) Suspicious Wooden Stick::MalayaStick10 858 + +- script Tent#ma -1,{ //557 + end; +OnInit: + disablenpc strnpcinfo(0); + end; +OnEnable: + enablenpc strnpcinfo(0); + initnpctimer; + end; +OnDisable: + stopnpctimer; + disablenpc strnpcinfo(0); + end; +OnTimer1000: + donpcevent "MalayaStick"+replacestr(strnpcinfo(1),"Tent","")+"::OnDisable"; + end; +OnTimer30000: + donpcevent "MalayaStick"+replacestr(strnpcinfo(1),"Tent","")+"::OnEnable"; + donpcevent strnpcinfo(0)+"::OnDisable"; + end; +} +- duplicate(Tent#ma) Tent1#ma -1 +- duplicate(Tent#ma) Tent2#ma -1 +- duplicate(Tent#ma) Tent3#ma -1 +- duplicate(Tent#ma) Tent4#ma -1 +- duplicate(Tent#ma) Tent5#ma -1 +- duplicate(Tent#ma) Tent6#ma -1 +- duplicate(Tent#ma) Tent7#ma -1 +- duplicate(Tent#ma) Tent8#ma -1 +- duplicate(Tent#ma) Tent9#ma -1 +- duplicate(Tent#ma) Tent10#ma -1 + +malaya,114,183,3 script Bent Old Lady#ma 575,{ + if (malaya_bang == 16) { + mes "[Bent Old Lady]"; + mes "Ho ho ho ho~~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ma'am, excuse me, but can I ask you a question?"; + next; + mes "[Bent Old Lady]"; + mes "Ho ho ho ho~~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ma'am?"; + next; + mes "[Bent Old Lady]"; + mes "Ho ho ho ho~~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ma'am?"; + next; + mes "[Bent Old Lady]"; + mes "Ho ho ho ho~~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ma'am!!!!!!!!!"; + next; + mes "[Bent Old Lady]"; + mes "Who? What?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Excuse me, but can I ask you something?"; + next; + mes "[Bent Old Lady]"; + mes "What? I can't hear you."; + mes "Speak up!"; + next; + mes "["+strcharinfo(0)+"]"; + mes "I! Have! Something! To! Ask! You!"; + next; + mes "[Bent Old Lady]"; + mes "Oh~Yes dear~"; + mes "I'll tell you everything I know, dear~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Do you know anything about the hospital?"; + next; + mes "[Bent Old Lady]"; + mes "Hospital?"; + mes "........"; + next; + mes "[Bent Old Lady]"; + mes "Hospital?!?!?!?"; + next; + mes "[Bent Old Lady]"; + mes "That hospital is cursed!"; + mes "Something wicked is living there!"; + next; + mes "[Bent Old Lady]"; + mes "The thing took away my poor little girl."; + next; + switch(select("Ask about the hospital.:Ask about her daughter.")) { + case 1: + mes "[Bent Old Lady]"; + mes "Everybody was happy to hear about the hospital being built."; + next; + mes "[Bent Old Lady]"; + mes "We no longer had to go to other towns for medical care."; + next; + mes "[Bent Old Lady]"; + mes "But the one they built didn't work out so well."; + mes "It couldn't cure people."; + mes "I knew this would happen when they chopped down the old tree to build it."; + next; + mes "[Bent Old Lady]"; + mes "But the administrator wouldn't listen."; + mes "Far from curing people, they started to die."; + mes "So did my daughter..."; + set malaya_bang,17; + changequest 11297,11298; + close; + case 2: + mes "[Bent Old Lady]"; + mes "She suffered from nothing life threatening."; + mes "It was..."; + mes "Just a cold......"; + next; + mes "[Bent Old Lady]"; + mes "The wicked thing.... My daughter..."; + mes "There's something in that hospital."; + close; + } + } else if (malaya_bang == 17) { + select("Show her the stick."); + mes "[Bent Old Lady]"; + mes "What?"; + mes "Arghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh"; + emotion e_omg; + next; + mes "[Bent Old Lady]"; + mes "Arghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh"; + emotion e_omg; + next; + mes "[Bent Old Lady]"; + mes "Arghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh"; + emotion e_omg; + next; + mes "[Bent Old Lady]"; + mes "Arghhhhhhhhhh!!!!!!!!!!!"; + emotion e_omg; + next; + mes "[Bent Old Lady]"; + mes "What have you done!"; + mes "That... That was a talisman to stop the wicked thing!"; + next; + mes "[Bent Old Lady]"; + mes "If you pull them up, it will go after people again!"; + next; + mes "[Bent Old Lady]"; + mes "I saw it!"; + mes "I saw it when they closed the hospital saying that everybody had died."; + next; + mes "[Bent Old Lady]"; + mes "But they all knew."; + mes "The patients weren't all dead."; + next; + mes "[Bent Old Lady]"; + mes "Taken alive..."; + mes "By the thing that took my daughter..."; + next; + mes "[Bent Old Lady]"; + mes "Oh dear."; + next; + mes "Nurse Las may be in danger, standing alone in front of the hospital."; + mes "If I don't return quickly..."; + set malaya_bang,18; + changequest 11298,11299; + close; + } else if (malaya_bang == 18) { + mes "Nurse Las may be in danger, standing alone in front of the hospital."; + mes "If I don't return quickly..."; + close; + } else if (malaya_bang == 32) { + mes "[Bent Old Lady]"; + mes "Yes? The talisman?"; + mes "I asked the shaman up north of the village to make them,"; + next; + mes "[Bent Old Lady]"; + mes "Not famous, but a talented shaman."; + set malaya_bang,33; + changequest 11304,11305; + close; + } else { + mes "[Bent Old Lady]"; + mes "Ho ho ho ho~~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ma'am, excuse me, but can I ask you a question?"; + next; + mes "[Bent Old Lady]"; + mes "Ho ho ho ho~~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ma'am?"; + next; + mes "[Bent Old Lady]"; + mes "Ho ho ho ho~~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ma'am?"; + next; + mes "[Bent Old Lady]"; + mes "Ho ho ho ho~~"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Ma'am!!!!!!!!!"; + next; + mes "[Bent Old Lady]"; + mes "Who? What?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "Excuse me, but can I ask you something?"; + next; + mes "[Bent Old Lady]"; + mes "What? I can't hear you."; + mes "Speak up!"; + close; + } +} + +malaya,276,367,4 script Bent Shaman#ma 782,{ + if (malaya_hi < 20) { + mes "[Bent Shaman]"; + mes "Urgh Urgh Urghhhhhh"; + next; + mes "Doesn't give even a glance..."; + close; + } + mes "[Bent Shaman]"; + mes "Hmmmm..."; + mes "I feel, feel...."; + next; + mes "[Bent Shaman]"; + mes "I feel something bad from you..."; + if (malaya_bang == 33) { + next; + mes "[Bent Shaman]"; + mes "No no..."; + mes "You need not say anything!"; + mes "You'll be needing this."; + next; + mes "[Bent Shaman]"; + mes "It's okay."; + mes "No need for money."; + mes "It's the karma this village must face..."; + set malaya_bang,34; + changequest 11305,11306; + } + close; +} + +// Pintados Festival :: malaya_pintados +//============================================================ +/* +Description +----------- +The Pintados Festival begins when players have accumulated 1000 Lesser Agimats, +1000 Silver Crosses, and 300 dyestuffs, and lasts for 7 days. During that time, +players are able to create a tattoo. + +Global Variables +---------------- +$malaya_pintados_00 - Festival time limit, in 30-minute intervals. (range: 0~344) +$malaya_pintados_01 - Number of Lesser Agimats collected. (range: 0~1000) +$malaya_pintados_02 - Number of Silver Crosses collected. (range: 0~1000) +$malaya_pintados_03 - Number of dyestuffs collected. (range: 0~300) +$malaya_pintados_04$ - Last player to create a tattoo. +*/ + +ma_fild01,1,1,4 script Pintados Manager#pin 894,{ + if (callfunc("F_GM_NPC",1854,0) == 1) { + mes "Bingo!"; + next; + } else { + mes "Error occurred."; + close; + } + mes "Hi, I'm the Pintados Festival Manager. Please select an item."; + mes "Time Value: ("+$malaya_pintados_00+"/344)"; + mes "Lesser Agimat Value: ("+$malaya_pintados_01+"/1,000)"; + mes "Cross Value: ("+$malaya_pintados_02+"/1,000)"; + mes "Dyestuffs Value: ("+$malaya_pintados_03+"/300)"; + mes "Recent Tattoo Creator: "+$malaya_pintados_04$; + next; + switch(select("Eastern Medicine Button ? Start & End:Detail Button ? Adjust Value:Start Timer:End Timer")) { + case 1: + mes "This is the Eastern Medicine Control Button."; + mes "You can set the Start or End values for the festival."; + next; + switch(select("Start Pintados Festival:End Pintados Festival:NPC_ON:NPC_OFF")) { + case 1: + set $malaya_pintados_00,1; + donpcevent "Pintados Manager#pin::OnEnable"; + mes "Start the Pintados Festival."; + close; + case 2: + donpcevent "Pintados Manager#pin::OnDisable"; + mes "End the Pintados Festival."; + close; + case 3: + donpcevent "Pintados Manager#pin::OnEnableNPC"; + mes "Add an NPC."; + close; + case 4: + donpcevent "Pintados Manager#pin::OnDisableNPC"; + mes "Remove an NPC."; + close; + } + case 2: + mes "Adjust the global value. Please select the value to adjust."; + next; + while(1) { + switch(select("Complete Adjustment:Time ("+$malaya_pintados_00+"):Lesser Agimat ("+$malaya_pintados_01+"):Silver Cross ("+$malaya_pintados_02+"):Dyestuffs ("+$malaya_pintados_03+")")) { + case 1: + mes "Completed global adjustment."; + close; + case 2: + mes "Adjust Time [0~344]"; + mes "Global Increase by 1/30 min."; + mes "1 - 49 -> Day 1"; + mes "50 - 98 -> Day 2"; + mes "99 - 147 -> Day 3"; + mes "148 - 196 -> Day 4"; + mes "197 - 245 -> Day 5"; + mes "246 - 294 -> Day 6"; + mes "295 - 343 -> Day 7"; + mes "Global 1 = 1 hr."; + next; + input .@input; + if (.@input < 0 || .@input > 344) + close; + set $malaya_pintados_00, .@input; + break; + case 3: + mes "Adjust the accumulated value for the Lesser Agimat."; + mes "Values can be adjusted between 0 to 1000."; + next; + input .@input; + if (.@input < 0 || .@input > 1000) + close; + set $malaya_pintados_01, .@input; + break; + case 4: + mes "Adjust the accumulated value of the Silver Cross."; + mes "Values can be adjusted between 0 to 1000."; + next; + input .@input; + if (.@input < 0 || .@input > 1000) + close; + set $malaya_pintados_02, .@input; + break; + case 5: + mes "Adjust the accumulated value for the Dyestuff."; + mes "Values can be adjusted between 0 to 300."; + next; + input .@input; + if (.@input < 0 || .@input > 300) + close; + set $malaya_pintados_03, .@input; + break; + } + mes "Time Value: ("+$malaya_pintados_00+"/344)"; + mes "Lesser Agimat Value: ("+$malaya_pintados_01+"/1,000)"; + mes "Cross Value: ("+$malaya_pintados_02+"/1,000)"; + mes "Dyestuffs Value: ("+$malaya_pintados_03+"/300)"; + mes "This is the current value. Do you want to adjust it?"; + next; + } + case 3: + initnpctimer; + break; + case 4: + stopnpctimer; + break; + } + end; + +// Moved to individual NPCs for smoother processing. +//OnInit: +// if ($malaya_pintados_00 > 0) +// donpcevent "Pintados Manager#pin::OnEnableNPC"; +// end; + +OnTimer1800000: + set $malaya_pintados_00, $malaya_pintados_00; + if ($malaya_pintados_00 > 0 && $malaya_pintados_00 < 344) { + set $malaya_pintados_00,$malaya_pintados_00+1; + stopnpctimer; + initnpctimer; + } else { + set $malaya_pintados_00,0; + donpcevent "Pintados Manager#pin::OnDisable"; + } + end; +OnEnable: + initnpctimer; + donpcevent "Pintados Manager#pin::OnEnableNPC"; + announce "The 'Pintados Festival' will be held for a week in Baryo Mahiwaga.",bc_all,"0xFB9D04",FW_NORMAL,12; + end; +OnDisable: + stopnpctimer; + set $malaya_pintados_00,0; + set $malaya_pintados_01,0; + set $malaya_pintados_02,0; + set $malaya_pintados_03,0; + donpcevent "Pintados Manager#pin::OnDisableNPC"; + announce "The 'Pintados Festival' ended with great success.",bc_all,"0xFB9D04",FW_NORMAL,12; + end; +OnEnableNPC: + set .@str$, "::OnEnable"; +OnDisableNPC: + if (.@str$ == "") + set .@str$, "::OnDisable"; + donpcevent "Tourist#pin01"+.@str$; + donpcevent "Tourist#pin02"+.@str$; + donpcevent "Tourist#pin03"+.@str$; + donpcevent "Young Tattooist#pin04"+.@str$; + donpcevent "Tourist#pin05"+.@str$; + donpcevent "Drumming Young Man#pin06"+.@str$; + donpcevent "Drumming Young Man#pin07"+.@str$; + donpcevent "Drumming Young Man#pin08"+.@str$; + donpcevent "Beat Catching Boy#pin09"+.@str$; + donpcevent "Beat Catching Boy#pin10"+.@str$; + donpcevent "Beat Catching Boy#pin11"+.@str$; + end; +} + +ma_fild01,179,260,2 script Festival Helper Boy#pin 577,{ + if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { + mes "Cannot proceed because you have too many items in your possession."; + close; + } + if ($malaya_pintados_00 == 0) { + if ($malaya_pintados_01 > 999 && $malaya_pintados_02 > 999 && $malaya_pintados_03 > 299) { + set $malaya_pintados_00,1; + donpcevent "Pintados Manager#pin::OnEnable"; + emotion e_lv; + mes "[Isco]"; + mes "Many adventurers helped find festival items that I returned to the village."; + next; + emotion e_ho; + mes "[Isco]"; + mes "He he... Now we can hold the '^7A96E0Pintados Festival^000000'."; + close; + } + // fall through + } else { + mes "[Isco]"; + mes "He he... The fun '^7A96E0Pintados Festival^000000' is in full swing."; + next; + if ($malaya_pintados_00 > 0 && $malaya_pintados_00 < 50) { + emotion e_ho; + mes "[Isco]"; + mes "Today's the first day of the '^7A96E0Pintados Festival^000000'. The festival is held for 7 days, so have fun."; + close; + } else if ($malaya_pintados_00 > 49 && $malaya_pintados_00 < 99) { + mes "[Isco]"; + mes "Oh! Did you know?"; + mes "Village tattooists draw tattoos only during the '^7A96E0Pintados Festival^000000'."; + close; + } else if ($malaya_pintados_00 > 98 && $malaya_pintados_00 < 148) { + mes "[Isco]"; + mes "Today's the third day of the '^7A96E0Pintados Festival^000000'."; + next; + mes "[Isco]"; + mes "Villagers say that an adventurer named "+$malaya_pintados_04$+" got a tattoo at the festival."; + close; + } else if ($malaya_pintados_00 > 147 && $malaya_pintados_00 < 197) { + mes "[Isco]"; + mes "Villagers say that an adventurer named "+$malaya_pintados_04$+" got a tattoo at the festival."; + next; + mes "[Isco]"; + mes "The Tattooist is scary and doesn't draw tattoos for just anyone so the adventurer must be special."; + close; + } else if ($malaya_pintados_00 > 196 && $malaya_pintados_00 < 246) { + mes "[Isco]"; + mes "An adventurer named "+$malaya_pintados_04$+" is famous in the village."; + next; + mes "[Isco]"; + mes "Have you every seen ^FF8440Bakonawa^000000, the monster known to swallow the moon? They say he is really ferocious."; + close; + } else if ($malaya_pintados_00 > 245 && $malaya_pintados_00 < 295) { + emotion e_sob; + mes "[Isco]"; + mes "I'm so sad. Many adventurers helped to hold the '^7A96E0Pintados Festival^000000' and now only one day is left."; + close; + } else { + emotion e_sob; + mes "[Isco]"; + mes "Oh gosh! It's already the last day of the '^7A96E0Pintados Festival^000000'. Can't believe there won't be more festivities."; + close; + } + } + emotion e_spin; + mes "[Isco]"; + mes "Oh no. What will we do with the festival coming to an end."; + next; + switch(select("What is it?:How many did you collect?:Brought back a lost belonging.")) { + case 1: + mes "[Isco]"; + mes "There is a traditional festival held since ancient times"; + mes "in Baryo Mahiwaga called the '^7A96E0Pintados Festival^000000'."; + next; + emotion e_otl; + mes "[Isco]"; + mes "I don't think I'll make it to the festival this time."; + next; + select("Why?"); + mes "[Isco]"; + mes "I was going back to the village delivering 1000 Lesser Agimats, 1000 Silver Crosses, and 300 Dyestuffs as an errand from Port Malaya."; + next; + mes "[Isco]"; + mes "But '^FF8440Bongisungisu^000000' appeared out of nowhere and took the items away from me."; + next; + select("Are you hurt?"); + emotion e_sigh; + mes "[Isco]"; + mes "Fortunately not."; + next; + mes "[Isco]"; + mes "But I'm in deep trouble. The '^7A96E0Pintados Festival^000000' can't be held without those items. What should I do."; + close; + case 2: + mes "[Isco]"; + mes "Many adventurers are helping out but only collected..."; + next; + mes "[Isco]"; + mes "Lesser Agimat "+$malaya_pintados_01+", Silver Cross "+$malaya_pintados_02+", Dyestuff "+$malaya_pintados_03+" so far."; + next; + emotion e_sigh; + mes "[Isco]"; + mes "Sigh... We are still short of materials to start the '^7A96E0Pintados Festival^000000'."; + close; + case 3: + set .@str$, (Sex)?"Bro":"Sis"; + break; + } + emotion e_lv; + mes "[Isco]"; + mes "Oh~ Really? Wow!"; + mes "Thanks! "+strcharinfo(0)+" "+.@str$+"!!"; + mes "He he. What did you bring?"; + next; + set .@i, select( + "Lesser Agimat (^FF0000"+(($malaya_pintados_01 > 999)?"Collection complete":(1000 - $malaya_pintados_01)+" short")+"^000000):"+ + "Silver Cross (^FF0000"+(($malaya_pintados_02 > 999)?"Collection complete":(1000 - $malaya_pintados_02)+" short")+"^000000):"+ + "Dyestuff (^FF0000"+(($malaya_pintados_03 > 299)?"Collection complete":(300 - $malaya_pintados_03)+" short")+"^000000)" + ); + switch(.@i) { + case 1: + set .@item,6497; //Lesser_Agimat + set .@name$,"Lesser Agimats"; + set .@total,1000; + break; + case 2: + set .@item,6502; //Silver_Cross + set .@name$,"Silver Crosses"; + set .@total,1000; + break; + case 3: + setarray .@items[0],975,976,978,979,980,981,982,983; + set .@name$,"Dyestuffs"; + set .@total,300; + break; + } + mes "[Isco]"; + mes "Wow! "+.@str$+" You've brought "+.@name$+"!"; + next; + mes "[Isco]"; + mes "Wait. One... two..."; + if (getd("$malaya_pintados_0"+.@i) >= .@total) { + mes "Eh... oh? I already have all the "+.@name$+" I need. "+.@str$+"! But thank you for helping."; + close; + } + if (.@i < 3) { + mes "I am "+(.@total - getd("$malaya_pintados_0"+.@i))+" short of "+.@name$+". How many did you bring?"; + next; + switch(select("One?!:Enter quantity.")) { + case 1: + set .@amount,1; + mes "[Isco]"; + mes "He he... You've brought back one."; + next; + break; + case 2: + mes "[Isco]"; + mes "He he... I'm slow with numbers. I get lost when it's over 50. How many will you give me?"; + next; + input .@amount; + if (.@amount < 1 || .@amount > 50) { + mes "[Isco]"; + mes "Sigh~ I'm lost! I can't count if the numbers are weird."; + close; + } + break; + } + if (countitem(.@item) < .@amount) { + mes "[Isco]"; + mes "Sigh~ "+.@str$+"! Where is the "+getitemname(.@item)+"?"; + close; + } + } else { + mes "I am "+(.@total - getd("$malaya_pintados_0"+.@i))+" short of Dyestuffs. What kind of Dyestuff did you bring?"; + next; + for(set .@j,0; .@j<getarraysize(.@items); set .@j,.@j+1) + set .@menu$, .@menu$+getitemname(.@items[.@j])+" (^FF0000"+countitem(.@items[.@j])+"^000000):"; + set .@item, .@items[select(.@menu$)-1]; + if (countitem(.@item) == 0) { + mes "[Isco]"; + mes "Sigh~ You don't have any "+getitemname(.@item)+"."; + close; + } + mes "[Isco]"; + mes .@str$+"! How many Scarlet Dyestuffs can you give me from the "+countitem(.@item)+" you have?"; + next; + switch(select("Enter Quantity:All")) { + case 1: + mes "[Isco]"; + mes "He he... I'm slow with numbers. I get lost when it's over 50. How many will you give me?"; + next; + input .@amount; + if (.@amount < 1 || .@amount > 50) { + mes "[Isco]"; + mes "Sigh~ I told you I'm not good with numbers."; + close; + } + break; + case 2: + set .@amount, countitem(.@item); + break; + } + if (countitem(.@item) < .@amount) { + mes "[Isco]"; + mes "Sigh... I'm short of "+getitemname(.@item)+"."; + close; + } + } + delitem .@item,.@amount; + setd "$malaya_pintados_0"+.@i, getd("$malaya_pintados_0"+.@i)+.@amount; + set .@amount_left, .@total - getd("$malaya_pintados_0"+.@i); + mes "[Isco]"; + mes "He he... Thanks. "+.@str$+"!"; + if (.@amount_left <= 0) + mes "Whoa! We've collected all the "+.@name$+" we need. Happy~!"; + else + mes "I only need "+.@amount_left+" more "+.@name$+"."; + close; +} + +ma_fild01,172,223,6 script Tattooist#pin 574,{ + if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { + mes "Cannot proceed because you have too many items in your possession."; + close; + } + emotion e_what; + mes "[Tattooist]"; + mes "Why do you want a Tattoo?"; + next; + switch(select("What is a Tattoo?:I'm curious about the effect of Tattoos.:I need a Tattoo.")) { + case 1: + mes "[Tattooist]"; + mes "A Tattoo of a powerful monster is said to increase the ability of the holder."; + next; + select("Awesome. How can I get one?"); + mes "[Tattooist]"; + mes "Drawing a Tattoo is a very holy task."; + next; + mes "[Tattooist]"; + mes "10 Ancient Grudges to protect me while I draw Tattoos."; + next; + mes "[Tattooist]"; + mes "1 Doll that looks like a powerful monster."; + next; + mes "[Tattooist]"; + mes "And last but not least, 1 Spirit Piece to imbue the energy of a powerful monster into the Tattoo."; + next; + select("What kind of Tattoo will you draw?"); + mes "[Tattooist]"; + mes "I can draw 3 kinds of Tattoos."; + next; + mes "[Tattooist]"; + mes "Bangungot Agimat Tattoo for a powerful monster that comes from an old gigantic tree in Port Malaya."; + next; + mes "[Tattooist]"; + mes "Bakonawa Agimat Tattoo for a huge monster that can swallow the moon."; + next; + mes "[Tattooist]"; + mes "Buwaya Agimat Tattoo for a giant alligator that kidnaps people."; + next; + select("Where can I get the Spirit Pieces and Doll?"); + mes "[Tattooist]"; + mes "You can get these powerful items from Buwaya, Bangungot, and Bakonawa themselves but it won't be an easy task."; + next; + mes "[Tattooist]"; + mes "This holy task isn't done every day. Tattoos are drawn only during the '^7A96E0Pintados Festival^000000'."; + close; + case 2: + mes "[Tattooist]"; + mes "Which Tattoo's effect are you curious about?"; + next; + while(1) { + switch (select("Bangungot Agimat Tattoo:Buwaya Agimat Tattoo:Bakonawa Agimat Tattoo:I have no questions.")) { + case 1: + mes "[Tattooist]"; + mes "Need 10 Ancient Grudges, 1 Piece of Bangungot's Spirit, and 1 Bangungot Doll to create"; + next; + mes "[Tattooist]"; + mes "The Bangungot Agimat Tattoo holds the energy of an old gigantic tree in Port Malaya."; + next; + mes "[Tattooist]"; + mes "Increases the effect of healing others by 4% and healing from others by 7%."; + next; + break; + case 2: + mes "[Tattooist]"; + mes "Need 10 Ancient Grudges, 1 Piece of Buwaya's Spirit, and 1 Buwaya Doll to create"; + next; + mes "[Tattooist]"; + mes "The Buwaya Agimat Tattoo contains the energy from a giant alligator."; + next; + mes "[Tattooist]"; + mes "Increases MATK by +7% and decreases Fixed Casting by 7%."; + next; + break; + case 3: + mes "[Tattooist]"; + mes "Need 10 Ancient Grudges, 1 Piece of Bakonawa's Spirit, and 1 Bakonawa Doll to create"; + next; + mes "[Tattooist]"; + mes "The Bakonawa Agimat Tattoo holds the energy from a gigantic monster that can swallow the moon."; + next; + mes "[Tattooist]"; + mes "Increases ATK by +7% and ASPD by 10%."; + next; + break; + case 4: + mes "[Tattooist]"; + mes "Looks like you've got all the answers. Hope you enjoy your journey."; + close; + } + mes "[Tattooist]"; + mes "Do you have any questions about other Tattoo effects?"; + next; + } + case 3: + break; + } + if ($malaya_pintados_00 == 0) { + mes "[Tattooist]"; + mes "The holy task of drawing Tattoos is only done during the '^7A96E0Pintados Festival^000000'. Sorry but looks like the festival is not on."; + close; + } + mes "[Tattooist]"; + mes "You've come right on time during the '^7A96E0Pintados Festival^000000'."; + next; + mes "[Tattooist]"; + mes "There is no time like during the holy '^7A96E0Pintados Festival^000000' to draw Tattoos."; + next; + mes "[Tattooist]"; + mes "The festival doesn't last long so I should start drawing. What Tattoo do you need?"; + next; + switch(select("I will think it over.:Bangungot Agimat Tattoo:Buwaya Agimat Tattoo:Bakonawa Agimat Tattoo")) { + case 1: + mes "[Tattooist]"; + mes "Hope you enjoy the '^7A96E0Pintados Festival^000000'."; + close; + case 2: + set .@tattoo,2911; //Bangungot_Tattoo + set .@doll,6517; //Bangungot_Doll + set .@spirit,6524; //Bangungot_Spirit_Piece + set .@name$,"Bangungot"; + break; + case 3: + set .@tattoo,2907; //Buwaya_Tattoo + set .@doll,6518; //Buwaya_Doll + set .@spirit,6525; //Buwaya_Spirit_Piece + set .@name$,"Buwaya"; + break; + case 4: + set .@tattoo,2910; //Bakonawa_Tattoo + set .@doll,6516; //Bakonawa_Doll + set .@spirit,6523; //Bakonawa_Spirit_Piece + set .@name$,"Bakonawa"; + break; + } + if (countitem(6499) < 10 || countitem(.@spirit) == 0 || countitem(.@doll) == 0) { + mes "[Tattooist]"; + mes "I think you are short on materials."; + mes "Need 10 Ancient Grudges, 1 Piece of "+.@name$+"'s Spirit, and 1 "+.@name$+" Doll to create a ^EE1D11"+.@name$+" Agimat Tattoo^000000."; + close; + } + emotion e_flash; + mes "[Tattooist]"; + mes "The materials are full with holy energy. I'm sure we'll get a great Tattoo using these."; + next; + mes "[Tattooist]"; + mes "Please don't interrupt while I'm working on drawing a holy Tattoo if you want it to come out right."; + next; + mes "The Tattooist placed the Ancient Grudges around the workplace."; + next; + specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#01"; + specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#02"; + specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#03"; + specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#04"; + specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#05"; + mes "The Ancient Grudge lit up and tools starts to glow. He smiled satisfyingly at the glowing tools and materials."; + next; + mes "And then "+.@name$+" stared intensely at the doll as if to remember every detail of it in his head."; + next; + if(select("Aren't you going to start?:... ... ..") == 1) { + emotion e_an; + delitem 6499,5; //Ancient_Grudge + mes "[Tattooist]"; + mes "Oh no, now you ruined it."; + mes "I cannot draw a Tattoo for someone like you who doesn't understand art. You can take back the remaining materials."; + next; + mes "Received back 5 Ancient Grudges, "+.@name$+" Doll, and Piece of "+.@name$+"'s Spirit."; + close; + } + emotion e_bzz; + mes "Think he will melt the doll with his eyes?"; + next; + specialeffect EF_SONICBLOWHIT; + mes "He closed and opened his eyes slowly as if to memorize the doll in his head and then held up a glowing tool to start drawing."; + next; + mes "The "+.@name$+" Tattoo was completed almost instantly."; + next; + emotion e_an; + mes "But he kept on looking at each corner of the drawing as if he didn't like some of its details."; + next; + if(select("Looks good to me.:... ... ..") == 1) { + emotion e_an; + emotion e_ag; + delitem 6499,5; //Ancient_Grudge + mes "[Tattooist]"; + mes "Ergh! I told you not to interrupt!"; + next; + mes "The Tattooist ripped up the drawing irritably."; + next; + mes "[Tattooist]"; + mes "I can't continue like this. Maybe another time. You can take back the remaining materials."; + next; + mes "Received back 5 Ancient Grudges, "+.@name$+" Doll, and Piece of "+.@name$+"'s Spirit."; + close; + } + mes "He looked at the drawing intensely for a long time and then nodded with a satisfied smile."; + next; + mes "Looks like he is satisfied with the "+.@name$+" drawing."; + next; + emotion e_dum; + mes "But now he is staring at the sky without doing anything else. What is he waiting for?"; + next; + if(select("When will it be done?:... ... ..") == 1) { + emotion e_an; + emotion e_ag; + delitem 6499,5; //Ancient_Grudge + mes "[Tattooist]"; + mes "Ergh! I told you not to interrupt!"; + next; + mes "The Tattooist ripped up the drawing irritably."; + next; + mes "[Tattooist]"; + mes "I can't continue like this. Maybe another time. You can take back the remaining materials."; + next; + mes "Received back 5 Ancient Grudges, "+.@name$+" Doll, and Piece of "+.@name$+"'s Spirit."; + close; + } + emotion e_dots; + mes "[Tattooist]"; + mes "."; + next; + mes "[Tattooist]"; + mes ". ."; + next; + mes "[Tattooist]"; + mes ". . ."; + next; + emotion e_dots; + mes "[Tattooist]"; + mes ". . . ."; + next; + mes "[Tattooist]"; + mes ". . . . ."; + next; + mes "[Tattooist]"; + mes ". . . . . ."; + next; + mes "[Tattooist]"; + mes ". . . . . . ."; + next; + emotion e_flash; + mes "The Tattooist's eyes started to shine after staring at the sky for awhile, then he broke the Piece of "+.@name$+"'s Spirit with both his hands."; + next; + specialeffect EF_DETOXICATION; + mes "The Piece of "+.@name$+"'s Spirit is shattered into powder. The Tattooist's hands are glowing."; + next; + if(select("Why did you break the pieces...:... ... ..") == 1) { + delitem 6499,5; //Ancient_Grudge + delitem .@spirit,1; + emotion e_an; + emotion e_ag; + mes "[Tattooist]"; + mes "Ergh! I told you not to interrupt!"; + next; + mes "The glowing light from his hands faded away. He starred at his hands for a while and then ripped up the drawing irritably."; + next; + mes "[Tattooist]"; + mes "I was this close to completing a wonderful piece but you ruined it. Not in a good mood. You can take the remaining materials."; + next; + mes "Received back 5 Ancient Grudges and the doll."; + close; + } + mes "He held up the powder in both hands and then blew it onto the drawing."; + next; + specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#01"; + specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#02"; + specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#03"; + specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#04"; + specialeffect EF_FLAMELAUNCHER,AREA,"Ancient Grudge#05"; + mes "All Ancient Grudges started to burn and then the glowing light from the "+.@name$+" drawing faded away."; + next; + specialeffect EF_LIGHTSPHERE; + mes "Blinking light on top of the drawing."; + next; + mes "Light faded away and the "+.@name$+" drawing is no longer the simple one it was before."; + next; + mes "The "+.@name$+" drawing looks as if it is... alive."; + next; + mes "The Tattooist is finally satisfied and is all smiles."; + next; + emotion e_heh; + mes "[Tattooist]"; + mes "Ha ha. It came out great."; + next; + delitem 6499,10; //Ancient_Grudge + delitem .@spirit,1; + delitem .@doll,1; + getitem .@tattoo,1; + set $malaya_pintados_04$, strcharinfo(0); + mes "[Tattooist]"; + mes "I'm sorry you had to wait for a long time. But it was worth it cause I haven't created a Tattoo of this quality in a long time."; + next; + mes "[Tattooist]"; + mes "The ^EE1D11"+.@name$+" Agimat Tattoo^000000 you've waited for is now completed."; + next; + mes "[Tattooist]"; + mes "Hope you enjoy the '^7A96E0Pintados Festival^000000'."; + close; +} + +ma_fild01,171,224,0 script Ancient Grudge#01 139,{ end; } +ma_fild01,173,224,0 duplicate(Ancient Grudge#01) Ancient Grudge#02 139 +ma_fild01,173,223,0 duplicate(Ancient Grudge#01) Ancient Grudge#03 139 +ma_fild01,172,222,0 duplicate(Ancient Grudge#01) Ancient Grudge#04 139 +ma_fild01,171,223,0 duplicate(Ancient Grudge#01) Ancient Grudge#05 139 + +ma_fild01,192,200,8 script Tourist#pin01 58,{ + mes "[Tourist]"; + mes "I came from afar and dropped everything to come and enjoy the 'Pintados Festival'."; + next; + mes "[Tourist]"; + mes "I don't regret visiting but..."; + next; + mes "[Tourist]"; + mes "I don't like the Tattoo I got after all I've gone through to get it."; + next; + mes "[Tourist]"; + mes "I've looked at it in the light but I think the Tattooist made a mistake."; + next; + mes "[Tourist]"; + mes "This ruined my whole visit."; + next; + mes "[Tourist]"; + mes "Tsk!"; + close; +OnInit: + if (!$malaya_pintados_00) + disablenpc "Tourist#pin01"; + end; +OnEnable: + enablenpc "Tourist#pin01"; + end; +OnDisable: + disablenpc "Tourist#pin01"; + end; +} + +ma_fild01,211,200,6 script Tourist#pin02 775,{ + mes "[Tourist]"; + mes "I heard of the 'Pintados Festival' and came all the way from Gonryun."; + next; + mes "[Tourist]"; + mes "Just in case you might think otherwise, this is a mask on my face and not a tattoo."; + close; +OnInit: + if (!$malaya_pintados_00) + disablenpc "Tourist#pin02"; + end; +OnEnable: + enablenpc "Tourist#pin02"; + end; +OnDisable: + disablenpc "Tourist#pin02"; + end; +} + +ma_fild01,251,205,2 script Tourist#pin03 824,{ + mes "[Tourist]"; + mes "Hey, hear me. This isn't the Tattoo I wanted."; + next; + mes "[Tourist]"; + mes "I asked for a Bakonawa Tattoo but the more I look at it, this is Bangungot."; + next; + mes "[Tattooist]"; + mes "No... you said that you wanted that one. Don't be so difficult."; + next; + mes "[Tourist]"; + mes "Don't you know that customer is king? Huh? Do you want a bad reputation?"; + next; + mes "[Tattooist]"; + mes "Ugh... Can't believe this."; + close; +OnInit: + if (!$malaya_pintados_00) + disablenpc "Tourist#pin03"; + end; +OnEnable: + enablenpc "Tourist#pin03"; + end; +OnDisable: + disablenpc "Tourist#pin03"; + end; +} + +ma_fild01,249,206,6 script Young Tattooist#pin04 582,{ + mes "[Tattooist]"; + mes "Ah... I can't work with customers like this."; + next; + mes "[Tattooist]"; + mes "How many times do I have to tell you, you said you wanted a Bangungot."; + next; + mes "[Tattooist]"; + mes "Ouch, my throat... Shouting will get me nowhere."; + close; +OnInit: + if (!$malaya_pintados_00) + disablenpc "Young Tattooist#pin04"; + end; +OnEnable: + enablenpc "Young Tattooist#pin04"; + end; +OnDisable: + disablenpc "Young Tattooist#pin04"; + end; +} + +ma_fild01,162,235,6 script Tourist#pin05 815,{ + mes "[Tourist]"; + mes "They say the Pintados Festival will only be held for one week."; + next; + mes "[Tourist]"; + mes "I came from Louyang without knowing about the festival. Must be my lucky day."; + close; +OnInit: + if (!$malaya_pintados_00) + disablenpc "Tourist#pin05"; + end; +OnEnable: + enablenpc "Tourist#pin05"; + end; +OnDisable: + disablenpc "Tourist#pin05"; + end; +} + +ma_fild01,164,234,6 script Drumming Young Man#pin06 578,{ + mes "ba-dum-DUM- ba-dum-DUM"; + next; + mes "[Drumming Young Man]"; + mes "The Pintados Festival wouldn't be a festival without a drummer."; + next; + mes "[Drumming Young Man]"; + mes "Why don't you join?"; + close; +OnInit: + if (!$malaya_pintados_00) + disablenpc "Drumming Young Man#pin06"; + end; +OnEnable: + enablenpc "Drumming Young Man#pin06"; + end; +OnDisable: + disablenpc "Drumming Young Man#pin06"; + end; +} + +ma_fild01,170,231,4 script Drumming Young Man#pin07 578,{ + mes "ba-dum-DUM- ba-dum-DUM"; + next; + mes "[Drumming Young Man]"; + mes "The Pintados from Pintados Festival means painted in our language."; + next; + mes "[Drumming Young Man]"; + mes "So that is probably why we have people drawing special Tattoos during the festival."; + close; +OnInit: + if (!$malaya_pintados_00) + disablenpc "Drumming Young Man#pin07"; + end; +OnEnable: + enablenpc "Drumming Young Man#pin07"; + end; +OnDisable: + disablenpc "Drumming Young Man#pin07"; + end; +} + +ma_fild01,164,228,6 script Drumming Young Man#pin08 578,{ + mes "ba-dum-DUM- ba-dum-DUM"; + next; + mes "[Drumming Young Man]"; + mes "I don't remember it accurately, but they say the Pintados Festival was to celebrate a rich harvest."; + close; +OnInit: + if (!$malaya_pintados_00) + disablenpc "Drumming Young Man#pin08"; + end; +OnEnable: + enablenpc "Drumming Young Man#pin08"; + end; +OnDisable: + disablenpc "Drumming Young Man#pin08"; + end; +} + +ma_fild01,170,234,4 script Beat Catching Boy#pin09 577,{ + mes "ba-dum-TSH- ba-dum-TSH-"; + next; + mes "[Beat Catching Boy]"; + mes "I always get energetic when I hear drums and sticks in a rhythmic beat."; + next; + mes "[Beat Catching Boy]"; + mes "ba-dum-TSH- ba-dum-TSH- So much fun!"; + close; +OnInit: + if (!$malaya_pintados_00) + disablenpc "Beat Catching Boy#pin09"; + end; +OnEnable: + enablenpc "Beat Catching Boy#pin09"; + end; +OnDisable: + disablenpc "Beat Catching Boy#pin09"; + end; +} + +ma_fild01,164,231,6 script Beat Catching Boy#pin10 577,{ + mes "ba-dum-TSH- ba-dum-TSH-"; + next; + mes "[Beat Catching Boy]"; + mes "I may be using sticks to catch the beat right now but you never know if I'll grow big enough to play the drums, right?"; + close; +OnInit: + if (!$malaya_pintados_00) + disablenpc strnpcinfo(0); + end; +OnEnable: + enablenpc strnpcinfo(0); + end; +OnDisable: + disablenpc strnpcinfo(0); + end; +} +ma_fild01,170,228,4 duplicate(Beat Catching Boy#pin10) Beat Catching Boy#pin11 577 diff --git a/npc/re/quests/quests_mora.txt b/npc/re/quests/quests_mora.txt index 3e58961d2..9e6660c01 100644 --- a/npc/re/quests/quests_mora.txt +++ b/npc/re/quests/quests_mora.txt @@ -1,11 +1,9 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= Mora Quest NPCs //===== By: ================================================== //= Euphy //===== Current Version: ===================================== -//= 1.0 -//===== Compatible With: ===================================== -//= rAthena SVN +//= 1.1 //===== Description: ========================================= //= [Official Conversion] //= Quest NPCs related to Mora: @@ -15,9 +13,10 @@ //===== Additional Comments: ================================= //= 0.1 NPCs are currently placeholders. [Euphy] //= 1.0 Implemented all official quests. [Euphy] +//= 1.1 Added GM management function and NPCs. [Euphy] //============================================================ -// Theore's Request :: bs +// Theore's Request :: ep14_1_bs //============================================================ mid_camp,148,222,4 script Theore#ep14_1_bs 982,3,3,{ if (BaseLevel < 100) { @@ -509,12 +508,11 @@ spl_fild02,183,1,0 duplicate(#mora_bush_timer) Bush4Timer 440 spl_fild02,184,1,0 duplicate(#mora_bush_timer) Bush5Timer 440 spl_fild02,186,1,0 duplicate(#mora_bush_timer) Bush6Timer 440 -/* spl_fild02,187,1,0 script Field Bush Switch 440,{ + callfunc "F_GM_NPC"; donpcevent "Bush#ep14_1_bs1::OnEnable"; end; } -*/ splendide,183,117,4 script Tired-looking Fairy 438,{ if (!isequipped(2782)) { @@ -1444,7 +1442,23 @@ splendide,121,260,4 script Daphrer#ep14_1_bs 435,{ close; } -// Chesire's New Day :: cheshir2 +sec_in02,35,175,0 script Theore Set Guid 436,{ + callfunc "F_GM_NPC"; + switch(select("Set0:Set33:Set2_0")) { + case 1: + set ep14_1_bs,0; + end; + case 2: + set ep4_1_bs,3; + setquest 11183; + end; + case 3: + set ep14_1_bs2,0; + end; + } +} + +// Chesire's New Day :: ep14_1_cheshir2 //============================================================ dic_in01,262,191,0 script #ep14_1_xq02 139,0,3,{ end; @@ -1936,7 +1950,7 @@ OnTimer600000: end; } -// Helping Lope and Euridi :: rofe +// Helping Lope and Euridi :: ep14_1_rofe //============================================================ mora,117,66,3 script Euridi#pa 521,{ if (BaseLevel < 100) { @@ -2064,7 +2078,11 @@ mora,117,66,3 script Euridi#pa 521,{ mes "Euridi is standing staring blankly like someone who wasn't all there."; mes "Let's go show the letter to Pitt."; changequest 1112,1113; - delitem 6383,30; //Clue_Of_Lope + + //delitem 6383,30; //Clue_Of_Lope + set .@count, countitem(6383); + if (.@count) delitem 6383,((.@count > 30)?30:.@count); //Clue_Of_Lope + set ep14_1_rope,5; close; } else if (ep14_1_rope == 5) { @@ -2107,7 +2125,10 @@ mora,117,66,3 script Euridi#pa 521,{ mes "She starts to sing in a strained voice, still crying."; changequest 1116,1117; set ep14_1_rope,10; - delitem 6384,1; //Ring_Of_Lope + + //delitem 6384,1; //Ring_Of_Lope + if (countitem(6384)) delitem 6384,1; //Ring_Of_Lope + close; } } else if (ep14_1_rope > 9) { @@ -2483,7 +2504,7 @@ OnTouch: } } -// Find the Research Tools :: muk +// Find the Research Tools :: ep14_1_muk //============================================================ mora,31,138,6 script Raffle Researcher#ep14 522,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) { @@ -4333,7 +4354,7 @@ bif_fild02,65,109,0 duplicate(#mora_puddle) Puddle#ep14_muk02 844 bif_fild02,223,71,0 duplicate(#mora_puddle) Puddle#ep14_muk03 844 bif_fild02,113,340,0 duplicate(#mora_puddle) Puddle#ep14_muk04 844 -// Mora Daily Quests :: dealer +// Mora Daily Quests :: ep14_1_dealer //============================================================ mora,133,80,6 script Elephantine#pa0829 509,{ if (checkweight(1201,1) == 0) { @@ -5055,6 +5076,26 @@ mora,104,172,7 script Victim#pa0829 520,{ close; } +sec_in02,29,34,5 script Initializing Mora Sanjo 453,{ + callfunc "F_GM_NPC"; + mes "Enter your password"; + if (callfunc("F_GM_NPC","1854",1) == 0) { + mes "Hehe"; + close; + } else { + mes "[Initialization]"; + mes "14.1 Initializing all quest window include related daily quest and map and so on"; + freeloop(1); + for(set .@i,12225; .@i<=12353; set .@i,.@i+1) { + if (checkquest(.@i) > -1) + erasequest .@i; + } + freeloop(0); + set ep14_1_mistwoods,10; + close; + } +} + // Mora Daily Quests - Souls :: md_cadaver_in //============================================================ // callfunc "mora_remains",<quest ID>,<NPC name>,<Mora Coin amount>,<reward ID>,<max reward amount>; @@ -5093,7 +5134,7 @@ function script mora_remains { 1@mist,170,54,0 script Tsaihokin's Remains#33 844,{ callfunc "mora_remains",12251,"Tsaihokin",2,929,5; } //Immortal_Heart 1@mist,118,43,0 script Tuar's Remains#33 844,{ callfunc "mora_remains",12252,"Tuar",3,6380,20; } //Mora_Coin -// Knights of the Neighborhood :: mora_knight +// Knights of the Neighborhood :: ep14_1_mora_knight //============================================================ mora,118,166,6 script Knights Chief#mo 525,{ mes "[Order of the Knights Chief]"; diff --git a/npc/re/quests/quests_morocc.txt b/npc/re/quests/quests_morocc.txt index 95d2ef5e4..b1eb02a35 100644 --- a/npc/re/quests/quests_morocc.txt +++ b/npc/re/quests/quests_morocc.txt @@ -1,19 +1,52 @@ -//===== rAthena Script ======================================= +//===== Hercules Script ====================================== //= Morroc Quest NPCs //===== By: ================================================== //= Euphy //===== Current Version: ===================================== -//= 1.0a -//===== Compatible With: ===================================== -//= rAthena SVN +//= 1.1 //===== Description: ========================================= //= [Official Conversion] //= Quest NPCs related to Morroc. //===== Additional Comments: ================================= //= 1.0 First Version. //= 1.0a Gathered remaining dialogues. [Euphy] +//= 1.1 Added new warpers for Satan Morroc maps. [Euphy] //============================================================ +// Resurrection of Satan Morroc +// ============================================================ +- script Continental Guard#man -1,{ + mes "[Continental Guard]"; + mes "We've received orders from Headquarters to block access to this area since an unusual space-time phenomenon has been detected."; + next; + mes "[Continental Guard]"; + mes "If you really want to go to the next area, you'll be responsible for your own safety."; + next; + switch(select("Nevermind.:Enter the Field.")) { + case 1: + mes "[Continental Guard]"; + mes "Wise choice."; + mes "Have a safe journey."; + close; + case 2: + mes "[Continental Guard]"; + mes "I see."; + mes "I'll send you to the field shortly."; + close2; + warp "moc_fild20",208,207; + end; + } +} +moc_fild07,380,202,1 duplicate(Continental Guard#man) Continental Guard#man1 852 +moc_fild11,189,360,6 duplicate(Continental Guard#man) Continental Guard#man2 852 +prt_fild10,263,23,1 duplicate(Continental Guard#man) Continental Guard#man3 852 +prt_fild09,95,19,1 duplicate(Continental Guard#man) Continental Guard#man4 852 +prt_fild09,246,17,1 duplicate(Continental Guard#man) Continental Guard#man5 852 +moc_fild13,32,171,6 duplicate(Continental Guard#man) Continental Guard#man6 852 +moc_fild16,124,381,4 duplicate(Continental Guard#man) Continental Guard#man7 852 +moc_fild16,333,380,4 duplicate(Continental Guard#man) Continental Guard#man8 852 +moc_fild01,84,19,1 duplicate(Continental Guard#man) Continental Guard#man9 852 + // Pyramids Nightmare Mode //============================================================ moc_prydb1,103,54,3 script Suspicious Cat#night 547,{ diff --git a/npc/re/quests/quests_nameless.txt b/npc/re/quests/quests_nameless.txt new file mode 100644 index 000000000..ebe7a7cfd --- /dev/null +++ b/npc/re/quests/quests_nameless.txt @@ -0,0 +1,15 @@ +//===== Hercules Script ====================================== +//= Nameless Island Quests +//===== By: ================================================== +//= Euphy +//===== Current Version: ===================================== +//= 1.0 +//===== Description: ========================================= +//= [Official Conversion] +//= Contains: +//= - Muff's Loan +//===== Additional Comments: ================================= +//= 1.0 Moved Dorian to pre-re/re paths. +//============================================================ + +izlude_in,57,92,3 duplicate(Dorian_izlude) Dorian 878,2,2 diff --git a/npc/re/quests/quests_veins.txt b/npc/re/quests/quests_veins.txt index 0f3df7828..28e92d504 100644 --- a/npc/re/quests/quests_veins.txt +++ b/npc/re/quests/quests_veins.txt @@ -1,15 +1,13 @@ //===== Hercules Script ====================================== //= Quest NPCs located in Veins -//===== By: ================================================== +//===== By: ================================================== //= Euphy -//===== Current Version: ===================================== +//===== Current Version: ===================================== //= 1.0 -//===== Compatible With: ===================================== -//= Hercules -//===== Description: ========================================= +//===== Description: ========================================= //= Quests related to Veins. -//===== Additional Comments: ================================= +//===== Additional Comments: ================================= //= 1.0 First version. -//============================================================ +//============================================================ ve_fild02,337,314,4 duplicate(WincingOldMan_veins) Wincing Old Man#ve 945 diff --git a/npc/re/quests/skills/sage_skills.txt b/npc/re/quests/skills/sage_skills.txt deleted file mode 100644 index 64ebe20e3..000000000 --- a/npc/re/quests/skills/sage_skills.txt +++ /dev/null @@ -1,53 +0,0 @@ -//===== Hercules Script ====================================== -//= Sage Quest Skill's related NPCs -//===== By: ================================================== -//= Zopokx -//===== Current Version: ===================================== -//= 1.0 -//===== Description: ========================================= -//= Morocc/Payon Solution duplicate NPCs for Sage Quest Skill -//===== Additional Comments: ================================= -//= 1.0 First version -//============================================================ - -moc_ruins,91,150,0 script Ponka-Hontas 93,{ - mes "[Mage Guildsman]"; - mes "Would you like a Solution? Then please give me 50 Zeny and at least 1 Empty Testtube."; - next; - if (select("Alright, Deal.:Nah, forget it.") == 1) { - mes "[Mage Guildsman]"; - if (zeny < 50) { - mes "I'm sorry, but you don't have enough money to cover the 50 Zeny fee."; - close; - } - if (countitem(1092) == 0) { - mes "You can't carry liquids without using a bottle. Bring an Empty Test Tube the next time you see me."; - close; - } - delitem 1092,1; //Empty_Cylinder - set zeny,zeny-50; - getitem 1088,1; //Morocc_Potion - } - close; -} - -pay_arche,122,100,0 script Dollshoi 88,{ - mes "[Mage Guildsman]"; - mes "You want a Solution? Hmm, give me 50 Zeny and at least 1 Empty Test Tube."; - next; - if (select("Alright, Deal.:Nah, forget it.") == 1) { - mes "[Mage Guildsman]"; - if (Zeny < 50) { - mes "Hey! You don't have enough money to cover my 50 Zeny charge."; - close; - } - if (countitem(1092) == 0) { - mes "You can't carry solutions without a bottle! Bring me an Empty Test Tube."; - close; - } - delitem 1092,1; //Empty_Cylinder - set zeny,zeny-50; - getitem 1089,1; //Payon_Potion - } - close; -} |