diff options
author | lemongrass3110 <lemongrass3110@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2013-03-06 21:38:39 +0000 |
---|---|---|
committer | Streusel <advance_me@hotmail.de> | 2013-03-06 22:08:16 -0800 |
commit | 64dc4dbf9cb954f5359ba1fe932fb77042112464 (patch) | |
tree | b4b50de53562ad6a13dcb9bfbee962d573e617c5 /npc/re | |
parent | 7bafb75f42dd00364da646477cadbaf75652a4e2 (diff) | |
download | hercules-64dc4dbf9cb954f5359ba1fe932fb77042112464.tar.gz hercules-64dc4dbf9cb954f5359ba1fe932fb77042112464.tar.bz2 hercules-64dc4dbf9cb954f5359ba1fe932fb77042112464.tar.xz hercules-64dc4dbf9cb954f5359ba1fe932fb77042112464.zip |
Updated dewata to match the official scripts.
This commit includes a optional SQL upgrade file, that will reset all the dewata quests and the related variables, that your users have done.
Thanks to Euphy for helping me and additionally thanks to Flaid for taking his time to test our conversion.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17178 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/re')
-rw-r--r-- | npc/re/cities/dewata.txt | 1780 | ||||
-rw-r--r-- | npc/re/guides/guides_dewata.txt | 91 | ||||
-rw-r--r-- | npc/re/kafras/kafras.txt | 46 | ||||
-rw-r--r-- | npc/re/merchants/shops.txt | 15 | ||||
-rw-r--r-- | npc/re/quests/quests_dewata.txt | 3736 | ||||
-rw-r--r-- | npc/re/scripts_athena.conf | 4 | ||||
-rw-r--r-- | npc/re/warps/cities/dewata.txt | 13 |
7 files changed, 2799 insertions, 2886 deletions
diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt index 245de2d80..b528ad250 100644 --- a/npc/re/cities/dewata.txt +++ b/npc/re/cities/dewata.txt @@ -1,9 +1,9 @@ //===== rAthena Script ======================================= //= Dewata Town //===== By: ================================================== -//= Gennosuke Kouga +//= Gennosuke Kouga, Muad_Dib //===== Current Version: ===================================== -//= 1.2 +//= 1.3 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= @@ -12,1133 +12,1085 @@ //= 1.0 First version. //= 1.1 Standardized. [Euphy] //= 1.2 Fixed Zeny check. [Joseph] +//= 1.3 Updated to match the official script. [Lemongrass/Euphy] //============================================================ -dewata,181,88,6 script Young Man#dewata 536,{ - mes "[Young Man]"; - mes "Isn't ^C35817Dewata^000000 beach"; - mes "really beautiful?"; - mes "The children always play"; - mes "at this beach; it really"; - mes "reminds me of my youth."; +dewata,221,237,5 script Young Man#dew-1 536,{ + mes "[Fruit Fancier]"; + mes "What's wrong with your faaaaaace? You must really be clueless!"; next; - mes "[Young Man]"; - mes "In the evening, you can see"; - mes "fireworks from this beach."; - mes "With the ocean breeze, the crashing waves, and fireworks lighting"; - mes "the sky, the night is a time of beauty here!"; + mes "[Fruit Fancier]"; + mes "Let me drop some knowledge on ya."; + next; + mes "[Fruit Fancier]"; + mes "I may be a youngling, but no one knows more than I do about ^777700Palm fruit^000000. All right! What do you want to know?"; + next; + switch(select("About the shell...:About the pulp...:About the palm kernel...:No thanks.")) { + case 1: + mes "[Fruit Fancier]"; + mes "So you want to know about Palm fruit's pulp? Let me explain."; + next; + mes "[Fruit Fancier]"; + mes "Normally Palm fruit shell is used for making oil. Palm Oil is a useful ingredient for many dishes."; + next; + mes "[Fruit Fancier]"; + if (dew_drink > 0) + mes "Hmm... Have you met Memo already? Then it should be easy for you to understand."; + else + mes "If you want to know how to use Palm Oil, go find Memo on the north side of Dewata island. Everyday, he makes traditional drinks with Palm Oil."; + next; + mes "[Fruit Fancier]"; + mes "Anyways, we refer to the oil that comes from the Palm fruit as Palm oil or Coconut oil, which is well known for it's quality."; + next; + mes "[Fruit Fancier]"; + mes "The leftovers from oil production gets dried, and used for fuel in cooking or heating."; + next; + mes "[Fruit Fancier]"; + mes "It burns well and has a good smell, can't get better than that."; + next; + mes "[Fruit Fancier]"; + mes "Ok!! That is all about the pulp, it takes too long to explain all those useful effects for Palm fruit shells."; + next; + mes "[Fruit Fancier]"; + mes "It's not like this is the extent of my knowledge. Don't get me wrong!"; + close; + case 2: + mes "[Fruit Fancier]"; + mes "So you want to know about the Palm interior? Let me explain."; + next; + mes "[Fruit Fancier]"; + mes "Palm tree fruit has 2 layers of pulp. Outside is very rough, and the inside is smooth..."; + next; + mes "[Fruit Fancier]"; + mes "Hmm... Yes! the pulp of Palm tree fruit is a little bit harder than a walnut shell, must be the water it contains inside."; + next; + mes "[Fruit Fancier]"; + mes "Inside of the shell, there's about 300cc water which is useful in quenching people's thirst since Dewata island has very hot weather."; + next; + mes "[Fruit Fancier]"; + mes "And it's not like we just throw it away once we drink the water inside!!"; + next; + mes "[Fruit Fancier]"; + mes "We also can make a quality canteen out of it! Like I said, it has really thick outer shell enough and can act as a water bottle."; + next; + mes "[Fruit Fancier]"; + mes "It is also great to make charcoal. Charcoal made out of palm fruit is well known for long lasting and quality fire,"; + next; + mes "[Fruit Fancier]"; + mes "People love to cook seafoods and chicken with Palm fruit charcoal.."; + next; + mes "[Fruit Fancier]"; + mes "It has the extra bonus of being burning with a pleasant palm smell"; + next; + mes "[Fruit Fancier]"; + mes "Ok!! That is all for pulp information, it takes too long to explain all those useful effects."; + next; + mes "[Fruit Fancier]"; + mes "It's not like this is all I know. Don't get me wrong!"; + close; + case 3: + mes "[Fruit Fancier]"; + mes "So, you want to know about tender kernel inside? Let me explain for you"; + next; + mes "[Fruit Fancier]"; + mes "The kernel inside of the hard pulp is used as a natural digestive."; + next; + mes "[Fruit Fancier]"; + mes "Not much to say about the kernel inside.."; + next; + mes "[Fruit Fancier]"; + mes "but we do make sure to use every part of the palm fruit."; + next; + mes "[Fruit Fancier]"; + mes "Wouldn't you agree?"; + close; + case 4: + mes "[Fruit Fancier]"; + mes "Arrgg! You have no interest in the world!"; + close; + } +} + +dewata,114,243,6 script Lazy Young Man#dew 536,1,1,{ + if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) { + mes "[Lazy Young Man]"; + mes "Why are you carrying so much? Isn't it heavy?"; + close; + } + if (countitem(11534)) { + mes "[Lazy Young Man]"; + mes "Wewt~!! Isn't that Palm Juice?"; + mes "Can you give me that? I just woke"; + mes "up, and my throat is parched!"; + next; + switch(select("Give:Do not give")) { + case 1: + mes "[Lazy Young Man]"; + mes "Really? For me?? I'll give you this in return... Thanks... Hehe~"; + delitem 11534,1; //Coco_Juice + getrandgroupitem(IG_GiftBox),1; + close; + case 2: + mes "[Lazy Young Man]"; + mes "So be it~ Ok..."; + close; + } + } + mes "[Lazy Young Man]"; + mes "Ah~ Thristy~ Anyone have some Palm"; + mes "juice for me?~"; close; +OnTouch: + if (countitem(11534) == 0) { + mes "[Lazy Young Man]"; + mes "Arrgg~ I'm thirsty~~ so thirsty~~"; + mes "Give me Palm juice... Palm Juuiice~~"; + emotion e_an; + next; + emotion e_an; + next; + emotion e_an; + next; + emotion e_an; + close; + } + end; } -dewata,159,81,4 script Tourist#dewata 881,{ +dewata,159,81,4 script Tourist#dew-1 881,{ mes "[Nasolo]"; mes "Wow~ Pure ocean, a warm beach..."; - mes "Perfect for a date with a girlfriend.."; + mes "Perfect for a date with a girlfriend..."; next; - emotion e_sob; mes "[Nasolo]"; mes "If only I had one..."; - next; - emotion e_ohnoes; - mes "[Nasolo]"; - mes "I wonder when my princess will come.."; - close; -} - -dewata,154,107,4, script Sightseer#dewata 86,{ - mes "[Tourist]"; - mes "Wow..."; - mes "How many has he already eaten?"; - close; -} - -dewata,147,107,5 script Gourmet#dewata 85,{ emotion e_sob; - mes "[Gourmet]"; - mes "Oh.. it's like a party in my"; - mes "mouth... and everyone's invited!"; next; - emotion e_no1; - emotion e_sob,0,"Restauranteur#dewata"; - mes "[Gourmet]"; - mes "Master~ One more please~"; - next; - mes "[Gourmet]"; - mes "You must try this! The Food here is succulent~"; + mes "[Nasolo]"; + mes "I wonder when my princess will come..."; + emotion e_sigh; close; } -dewata,146,109,5 script Restauranteur#dewata 886,{ - set .@n$, "[Restauranteur]"; - mes .@n$; +dewata,146,109,5 script Restauranteur#dew 886,{ + if (checkweight(11532,1) == 0 || checkweight(11533,1) == 0 || MaxWeight - Weight < 500) { + mes "[Restauranteur]"; + mes "You came to taste my dish? It is always good to eat with an empty stomach."; + close; + } + mes "[Restauranteur]"; mes "Welcome to the island of Dewata."; mes "I hope you behave like a noble"; mes "traveler, unlike some of these"; - mes "teenage punks.."; + mes "teenage punks..."; next; switch(select("About Dewata dishes:Today's menu?:I'm okay.")) { + case 1: + mes "[Restauranteur]"; + mes "Need info about our foods? Well... I don't have much to talk about, but feel free to listen if you want."; + next; + mes "[Restauranteur]"; + mes "So much to cover, let me begin."; + next; + mes "[Restauranteur]"; + mes "First, Dewata dishes have special names based on each cooking recipe,"; + next; + mes "[Restauranteur]"; + mes "If dish name has 'Goreng' in it, then it is either stir or deep fried food."; + next; + mes "[Restauranteur]"; + mes "If it is a type of 'Bakar', then it is a grilled food."; + next; + mes "[Restauranteur]"; + mes "And if it's 'Satay', then you are eating a skewered dish."; + next; + mes "[Restauranteur]"; + mes "Second, we have dishes named after basic ingredients,"; + next; + mes "[Restauranteur]"; + mes "In Dewata island, we call rice as Nasi, noodle as Mie, bread as Roti, chicken as Ayam, fish as Ikan, and corn as Jagung."; + next; + mes "[Restauranteur]"; + mes "So, if rice is fried we call it 'Nasi Goreng', and fried noodle is 'Mie Goreng'."; + next; + mes "[Restauranteur]"; + mes "Well... This is enough to enjoy our foods in Dewata!! If you are hungry, we have our special set menu for only ^0000FF5000^000000 Zeny."; + close; + case 2: + mes "[Restauranteur]"; + mes "We have 2 items 'Nasi Goreng' and 'Satay'. Which one do you want?"; + next; + switch(select("Nasi Goreng:Satay")) { case 1: - mes .@n$; - mes "Need info about our foods? Well..."; - mes "I don't have much to talk about,"; - mes "but feel free to listen if you want."; - next; - mes .@n$; - mes "So much to cover, let me begin."; - next; - mes .@n$; - mes "First, Dewata dishes have special"; - mes "names based on each cooking recipe."; - next; - mes .@n$; - mes "If dish name has 'Goreng' in it,"; - mes "then it is either stir or deep"; - mes "fried food."; - next; - mes .@n$; - mes "If it is a type of 'Bakar', then"; - mes "it is a grilled food."; - next; - mes .@n$; - mes "And if it's 'Satay', then you are"; - mes "eating a skewered dish."; - next; - mes .@n$; - mes "Second, we have dishes named after"; - mes "basic ingredients."; - next; - mes .@n$; - mes "In Dewata island, we refer to rice"; - mes "as Nasi, noodle as Mie, bread as"; - mes "Roti, chicken as Ayam, fish as"; - mes "Ikan, and corn as Jagung."; - next; - mes .@n$; - mes "So, if rice is fried we call it"; - mes "'Nasi Goreng', and fried noodle is"; - mes "'Mie Goreng'."; - next; - mes .@n$; - mes "Well.. This is enough to enjoy our"; - mes "foods in Dewata! If you are"; - mes "hungry, we have our special set"; - mes "menu for only ^0000FF5000^000000 Zeny."; - close; + mes "[Restauranteur]"; + mes "This is Nasi Goreng fried with my special sauce plus egg fry on the top. It only costs ^0000FF5000^000000 Zeny."; + set .@food,11532; + break; case 2: - mes .@n$; - mes "We have 2 items, 'Nasi Goreng' and"; - mes "'Satay'. Which one do you want?"; - next; - if(select("Nasi Goreng:Satay")==2) { - mes .@n$; - mes "This is the Satay, a slice of meat"; - mes "skewered and grilled over Palm"; - mes "fruit charcoal. It costs only ^0000FF5000^000000 Zeny."; - next; - if(select("Taste:Walk away")==2) { - mes .@n$; - mes "It's a shame you won't taste this great dish.."; - close; } - if (Zeny < 5000) { - mes .@n$; - mes "Where's the money, kid? Sheesh!"; - mes "No free food here! Ok?"; - close; } - mes .@n$; - mes "Here's your Satay, you won't"; - mes "regret it!"; - getitem 11533,1; - set Zeny, Zeny-5000; - close; } - mes .@n$; - mes "This is Nasi Goreng fried with my"; - mes "special sauce and egg fry on the"; - mes "top. It only costs ^0000FF5000^000000 Zeny."; - next; - if(select("Taste:Walk away")==2) { - mes .@n$; - mes "It's a shame you won't taste this great dish.."; - close; } + mes "[Restauranteur]"; + mes "This is the Satay, a slice of meat skewered and grilled over Palm fruit charcoal. It costs only ^0000FF5000^000000 Zeny."; + set .@food,11533; + break; + } + next; + switch(select("Taste:Walk away")) { + case 1: if (Zeny < 5000) { - mes .@n$; - mes "Where's the money, kid? Sheesh!"; - mes "No free food here! Ok?"; - close; } - mes .@n$; - mes "Here's your Nasi Goreng. You won't"; - mes "regret it!"; - getitem 11532,1; - set Zeny, Zeny-5000; + mes "[Restauranteur]"; + mes "Where's the money kid? Sheesh! No free food here! Ok?"; + close; + } + mes "[Restauranteur]"; + mes "Here's your "+getitemname(.@food)+", you won't regret it!"; + set Zeny, Zeny - 5000; + getitem .@food,1; close; - case 3: - mes .@n$; - mes "Are you serious? This is not even funny."; + case 2: + mes "[Restauranteur]"; + mes "It's a shame you won't taste this great dish..."; close; + } + case 3: + mes "[Restauranteur]"; + mes "Are you serious? This is not even funny."; + close; } } -dewata,165,103,5 script Adventurer Semangat 534,{ - mes "[Adventurer Semangat]"; - mes "I also traveled around the world"; - mes "when I was young like you."; - mes "^FF0000Moneky, Cuttlefish"; - mes "Eagle, and Snake^000000,"; - mes "All were good friends I met"; - mes "during my travels."; +dewata,147,107,6 script Gourmet#dew 85,{ + mes "[Gourmet]"; + mes "Oh... it's like a party in my"; + mes "mouth... and everyone's invited!"; + emotion e_sob; next; - mes "[Adventurer Semangat]"; - mes "I still have passion for adventure"; - mes "and traveling."; - mes "But, I can't just leave"; - mes "my beloved wife and"; - mes "grandchildren behind..."; + mes "[Gourmet]"; + mes "Master~ One more please~"; + emotion e_no1; + emotion e_ok,0,"Restauranteur#dew"; next; - mes "[Adventurer Semangat]"; - mes "You will also have something"; - mes "or someone that is as precious"; - mes "in your heart someday."; - close; + mes "[Gourmet]"; + mes "You must try this! The Food here is succulent~"; + close; } -dewata,139,114,5 script Old Wife#dewata 535,{ - mes "[Semangat's Wife]"; - mes "Where's that old man"; - mes "gone off to again?"; - mes "Have you seen my husband around?"; - next; - if(select("I think I saw him there!:No, I haven't...")==2) { - mes "[Semangat's Wife]"; - mes "Oh. Please let me know"; - mes "if you ever see him around."; - close; } - mes "[Semangat's Wife]"; - mes "He ran away when I was"; - mes "looking for him. He should"; - mes "be somewhere, telling tall tales"; - mes "to some travelers, like always."; +dewata,154,107,4 script Sightseer#dew 86,{ + mes "[Tourist]"; + mes "Wow..."; + mes "How many has he already eaten?"; + emotion e_hmm; next; - mes "[Semangat's Wife]"; - mes "I apologize on behalf of"; - mes "my husband. Please don't"; - mes "believe his foolish stories,"; - mes "saying he met with ^FF0000Monkey and"; - mes "Snakes^000000, or that he fought alongside a ^FF0000Cuttlerfish^000000."; + mes "[Tourist]"; + mes "He must be big eater, not the gourmet..."; next; - mes "[Semangat's Wife]"; - mes "He has been living here"; - mes "for entire life."; - mes "Yet, he always finds some"; - mes "travelers who will listen to his made-up tales."; - close; -} - -dewata,249,87,4 script Mum#dewata 101,{ - mes "[Mum]"; - mes "Ukki~ Ukki~ Where did she go?"; - close; -} - -dewata,251,85,5 script Poppa#dewata 97,{ - mes "[Poppa]"; - mes "Honey, is Ukki lost again?"; + mes "[Tourist]"; + mes "Have you been to Prontera yet? I think I've seen him somewhere.."; close; } -dewata,227,129,4 script Sarr#dewata 538,{ - mes "[Sarr]"; - mes "They're hiding so I should seek."; - mes "I'll find them for sure!~"; - next; - mes "[Sarr]"; - mes "One~"; +dewata,95,203,6 script Travel Guide#dew 536,{ + mes "[Guide]"; + mes "This temple behind me is called Borobudur."; + mes "Borobudur temple was built in the 9th century"; + mes "to venerate the Great Buddha, an ancient religious figure."; + emotion e_swt2; next; - mes "[Sarr]"; - mes "Two~ Three~"; + mes "[Guide]"; + mes "This temple is made with 6 square platforms and 3 round platforms, and 2672 hand carved relief panels as well as 504 statue of various Buddhas."; + emotion e_swt2; next; - mes "[Sarr]"; - mes "Four~ Five~ Six~"; + mes "[Guide]"; + mes "The central stupa, or shrine is located at the center of high platform, which is surrounded by 72 more statues."; + emotion e_swt2; next; - mes "[Sarr]"; - mes "... ... ... ..."; + mes "[Guide]"; + mes "Even in modern times Borobudur temple is a pilgimage site for many monks worshiping the Buddha. It's also a major tourist attraction, as you can imagine."; + emotion e_swt2; next; - mes "[Sarr]"; - mes "Ninty nine~ One hundred!!! Now I'm coming~"; + mes "[Guide]"; + mes "That is all I have on Borobudur temple, are there any questions?"; + mes "If not, we can move to the next spot."; close; } -dewata,193,145,4 script Sipo#dewata 538,{ - mes "[Sipo]"; - mes "Sarr won't find me here, right?"; +dewata,97,207,4 script Tourist#dew1 803,{ + mes "[Tourist]"; + mes "Oh, dag-nabbit... I've gone and"; + mes "picked the wrong tour guide..."; next; - emotion e_omg,1; - emotion e_gg; - mes "[Sipo]"; - mes "I found Siyak!! Come out, come out!!"; + mes "[Tourist]"; + mes "This hombre is a real snooze..."; + mes "Why make it longer.."; + emotion e_spin; next; - mes "[Sipo]"; - mes "Hehe~ Now Siyak is IT~ I'll just keep hiding in here."; + mes "[Tourist]"; + mes "I need to change my travel agent..."; + emotion e_sigh; close; } -dewata,228,177,4 script Majya#dewata 538,{ - mes "[Majya]"; - mes "I was playing hide-and-seek with my friends..."; - next; - emotion e_hmm; - mes "[Majya]"; - mes "I've been just standing here, and"; - mes "they haven't found me for 3 hours..."; +dewata,100,206,4 script Tourist#dew2 59,{ + mes "[Tourist]"; + mes "Hey, let's go there! Hurry up,"; + mes "while the tour guide is explaining~"; next; - mes "[Majya]"; - mes "What should I do? Come out? I"; - mes "don't want to be IT!"; + mes "[Tourist]"; + mes "Come on... It doesn't sound like"; + mes "he's going to stop talking anytime soon."; close; } -dewata,269,208,5 script Little Kid in Town 538,{ - mes "[Kid]"; - mes "Hey bro, look at that man!"; +dewata,101,206,4 script Tourist#dew3 90,{ + mes "[Tourist]"; + mes "Aren't we going to get lost without the guide?"; next; - mes "[Kid]"; - mes "He's been lying there for a week doin' nothin'..."; + mes "[Tourist]"; + mes "We got lost already last time..."; + close; +} + +dewata,99,203,4 script Tourist#dew4 755,{ + mes "[Tourist]"; + mes "Oh~ This is very interesting. A"; + mes "temple that worships the Buddha..."; + emotion e_ok; next; - mes "[Kid]"; - mes "Who IS that man?"; + mes "[Tourist]"; + mes "But I don't really get all the"; + mes "symbology here."; next; - mes "[Kid]"; - mes "I sure don't want to be a lazybones like him when I grown up."; + mes "[Tourist]"; + mes "So beautiful... I wonder who built"; + mes "this place?"; close; } -dewata,279,213,4 script Tourist#dewata-1 887,{ - mes "[Reclining Tourist]"; - mes "Wow~ This is really comfy~"; - next; - mes "[Reclining Tourist]"; - mes "I'm having a great time just relaxing."; +dewata,67,186,8 script Monk#dew1 834,{ + mes "[Monk]"; + mes "I am a monk, content to spend my days in religious study."; next; - mes "[Reclining Tourist]"; - mes "You should lie down here, too."; - mes "Once you do, you'll never want to get up."; + mes "[Monk]"; + mes "I've just returned from a pilgrimage to Borobudur temple with my fellow monks..."; next; - emotion e_heh; - mes "[Reclining Tourist]"; - mes "That's why I haven't moved in a"; - mes "whole week! Hahahaha~"; + mes "[Monk]"; + mes "Borobudur temple has many pilgrims visiting, since it is one of few temples left for worshipping the Great Buddha."; close; } -dewata,280,236,5 script Settler#dewata 726,{ - mes "[Settler]"; - mes "I'm not really from ^C35817Dewata^000000."; - mes "But while traveling,"; - mes "I found this place..."; - mes "and made my decision"; - mes "to live in this beautiful town."; - next; - mes "[Settler]"; - mes "I've been happy to live here,"; - mes "to find and experience"; - mes "all these beautiful sights."; - mes "It's a dream come true!"; +dewata,65,188,8 script Monk#dew2 834,{ + mes "[Monk]"; + mes "Borobudur temple is one of few temples left for worshiping the Great Buddha."; next; - mes "[Settler]"; - mes "Would you ever think of settling here too?"; + mes "[Monk]"; + mes "I don't understand why there are only few temples left that follow our ways..."; close; } -dewata,221,237,5 script Young Man#dewata-2 536,{ - set .@n$, "[Fruit Fancier]"; - mes .@n$; - mes "What's wrong with your faaaaaace?"; - mes "You must really be clueless!"; +dewata,63,190,8 script Monk#dew3 834,{ + mes "[Monk]"; + mes "Are you a Tourist? You can make an offering and a wish to one of the shrines."; next; - mes .@n$; - mes "Let me drop some knowledge on ya."; + mes "[Monk]"; + mes "Our great Buddha may grant your wish.."; + close; +} + +dewata,62,192,8 script Monk#dew4 834,{ + mes "[Monk]"; + mes "Our great Buddha is the king of souls and the leader of all good Gods."; next; - mes .@n$; - mes "I may be a youngling, but no one"; - mes "knows more than I do about ^C7A317Palm"; - mes "Fruit^000000. All right! What do you want to know?"; + mes "[Monk]"; + mes "The Dewata tribes believes in Buddha, the strange thing is they all describe Buddha as different creatures."; next; - switch(select("About the shell...:About the pulp...:About the palm kernel...:No thanks.")) { - case 1: - mes .@n$; - mes "So you want to know about Palm"; - mes "Fruit's pulp? Let me explain."; - next; - mes .@n$; - mes "Normally Palm Fruit's shell is"; - mes "used for making oil. Palm Oil is a"; - mes "useful ingredient for many dishes."; - next; - mes .@n$; - mes "If you want to know how to use"; - mes "Palm Oil, go and find Memo on the"; - mes "north side of Dewata island. Every"; - mes "day he makes traditional drinks with Palm Oil."; - next; - mes .@n$; - mes "Anyway, we refer to the oil that"; - mes "comes from the Palm Fruit as Palm"; - mes "Oil or Coconut Oil, which is well"; - mes "known for its quality."; - next; - mes .@n$; - mes "The leftovers from oil production"; - mes "get dried, and are used for fuel"; - mes "in cooking or heating."; - next; - mes .@n$; - mes "It burns well and has a good smell. It can't get better than that."; - next; - mes .@n$; - mes "Ok!! That is all about pulp!"; - mes "It takes too long to explain all"; - mes "the useful effects of Palm Fruit shells."; - next; - mes .@n$; - mes "It's not like this is extent of"; - mes "my knowledge. Don't get me wrong!"; + mes "[Monk]"; + mes "I'm not really sure about the reason for that. Maybe because there are many different tribes in Dewata with different characteristics."; + close; +} + +dewata,89,191,6 script Small Shrine#dew1 844,{ + mes "There is a small shrine here. There are many people making wishes."; + next; + switch(select("Make a donation.:Make a wish.:Walk away.")) { + case 1: + mes "Donation case says:"; + mes "^FF00001,000 ~ 100,000 Zeny^000000"; + mes "How much do you want to donate?"; + next; + input .@input,0,100000; + if (.@input < 1000) { + mes "- Cancelled. -"; close; - case 2: - mes .@n$; - mes "So, you want to know about the"; - mes "Palm interior? Let me explain."; - next; - mes .@n$; - mes "Palm tree fruit has 2 layers of"; - mes "pulp. The outside is very rough,"; - mes "and the inside is smooth."; - next; - mes .@n$; - mes "Hmm... Yes! The pulp of the Palm"; - mes "tree fruit is a little harder than"; - mes "a walnut shell. It must be the"; - mes "water that it contains inside."; - next; - mes .@n$; - mes "Inside of the shell, there's about"; - mes "300cc water, which is useful in"; - mes "quenching people's thirst since"; - mes "Dewata island has very hot weather."; - next; - mes .@n$; - mes "And it's not like we just throw it"; - mes "away one we drink the water inside!!"; - next; - mes .@n$; - mes "We can also make a quality canteen"; - mes "out of it! Like i said, it has a"; - mes "really thick outer shell, enough"; - mes "to act as water bottle."; - next; - mes .@n$; - mes "It is also great to make charcoal."; - mes "Charcoal made out of palm fruit is"; - mes "well known for long-lasting and"; - mes "quality fire."; - next; - mes .@n$; - mes "People love to cook seafood and"; - mes "chicken with Palm Fruit charcoal."; - next; - mes .@n$; - mes "It has the extra bonus of"; - mes "burning with a pleasant palm smell."; - next; - mes .@n$; - mes "Ok!! That is all for pulp"; - mes "information. It takes too long to"; - mes "explain all the useful effects."; - next; - mes .@n$; - mes "It's not like this is all I know."; - mes "Don't get me wrong!"; + } else if (.@input <= 50000) + set .@good_luck, rand(1,10000); + else + set .@good_luck, rand(1,5000); + if (.@input > Zeny) { + mes "- Not enough Zeny. -"; close; - case 3: - mes .@n$; - mes "So, you want to know about tender"; - mes "kernel inside? Let me explain."; - next; - mes .@n$; - mes "Ther kernel inside of the hard pulp is used as a natural digestive."; - next; - mes .@n$; - mes "Not much to say about the kernel inside..."; + } + mes "What is your wish?"; + next; + input(.@wish$); + + setarray .@wishes$[0], + "Power","Strength", //1 + "Faster","Speed","Quickness","Agility", //2 + "Skillful Hands","Dex", //4 + "Healthy","Fitness","Vital", //8 + "Wisdom","Brain","Study","Int","1st place", //16 + "Luck","Wealth","Items","Get Item","Goods","Lotto", //32 + "Full Level","Level","LV", //64 + "Lover","Girl friend","Boy friend"; //128 + setarray .@index[0], + 1,1,2,2,2,2,4,4,8,8,8,16,16,16,16,16,32,32,32,32,32,32,64,64,64,128,128,128; + + if (.@good_luck == 7 || .@good_luck == 77 || .@good_luck == 777 || .@good_luck == 7777) + set .@bonus,1; + for(set .@i,0; .@i<getarraysize(.@wishes$); set .@i,.@i+1) { + if (compare(.@wish$,.@wishes$[.@i])) { + set .@stat, .@stat | .@index[.@i]; + break; + } + } + + mes "You make a wish for ^0000FF" + .@wish$ + "^000000 to the small shrine."; + next; + callsub L_Wish; + set Zeny, Zeny - .@input; + if (.@stat & 1 && .@bonus) + consumeitem 12043; //Str_Dish03 + else if (.@stat & 2 && .@bonus) + consumeitem 12058; //Agi_Dish03 + else if (.@stat & 4 && .@bonus) + consumeitem 12063; //Dex_Dish03 + else if (.@stat & 8 && .@bonus) + consumeitem 12053; //Vit_Dish03 + else if (.@stat & 16 && .@bonus) + consumeitem 12048; //Int_Dish03 + else if (.@stat & 32 && .@bonus) + consumeitem 12068; //Luk_Dish03 + else if (.@stat & 64) { + specialeffect2 EF_ANGEL; + mes "- A celestial entity gives you a blessing. -"; next; - mes .@n$; - mes "But we do make sure to use every"; - mes "part of the palm fruit."; + } else if (.@stat & 128) { + mes "- The shrine envelops you in a loving aura. -"; + if ((Sex == 0 && compare(.@wish$,.@wishes$[26])) || (Sex == 1 && compare(.@wish$,.@wishes$[27]))) + specialeffect2 EF_LIGHTSPHERE; next; - mes .@n$; - mes "Wouldn't you argee?"; - close; - case 4: - mes .@n$; - mes "Argh! You have no interest in the world!"; - close; + } + mes "It feels like this wish could come true."; + close; + case 2: + mes "What is your wish?"; + next; + input .@wish$; + mes "You have made your wish for ^0000FF" + .@wish$ + "^000000 to the small shrine."; + next; + callsub L_Wish; + mes "It feels like this wish could come true."; + close; + case 3: + close; } -} - -dewata,245,244,4 script Lodge Employee 536,{ - mes "[Lodge Employee]"; - mes "Argg~ This is really ticking me off!"; - close; -} -dewata,204,230,5 script Dieting Lady 537,{ - - if (!countitem(11533)) { - mes "[Dieting Lady]"; - mes "Ah~ I'm starving!!"; - mes "I should be on a diet now."; - mes "Why am I hungry?"; - next; - mes "[Dieting Lady]"; - mes "Don't talk to me too much!!"; - mes "I want to try that grilled ^348017Satay^000000"; - mes "so much~!!!!!"; - close; } - mes "[Dieting Lady]"; - mes "Is that mouth-watering"; - mes "^348017Satay^000000 for me?"; +L_Wish: + mes "Mysterious energy comes out from the shrine."; + specialeffect EF_FLASHER,AREA,"Small Shrine#dew1"; + specialeffect EF_FLASHER,AREA,"Small Shrine#dew2"; + specialeffect EF_FLASHER,AREA,"Small Shrine#dew3"; + specialeffect EF_FLASHER,AREA,"Small Shrine#dew4"; next; - if(select("Yes, want a taste?:No, it's for me!")==2) { - emotion e_pif; - mes "[Dieting Lady]"; - mes "Argh... You are so greedy!"; - mes "Since you don't want to share..."; - mes "I shouldn't cheat on my diet"; - mes "even for something that looks and"; - mes "smells so good..."; - close; } - mes "[Dieting Lady]"; - mes "Thank you so much!!"; - mes "I've been so hungry~!!"; - mes "The smell of this ^348017Satay^000000"; - mes "is so good~!"; - delitem 11533,1; + mes "You have received the shrine's blessing."; + specialeffect2 EF_BLESSING; next; - getitem 11533,1; - mes "[Dieting Lady]"; - mes "Ah... gotta come back to my senses."; - mes "Too much of a good thing is bad..."; - mes "I should stick with my diet."; - mes "Sorry, I'll give it back to you."; - close; + return; } +dewata,89,212,6 duplicate(Small Shrine#dew1) Small Shrine#dew2 844 +dewata,68,212,6 duplicate(Small Shrine#dew1) Small Shrine#dew3 844 +dewata,68,191,6 duplicate(Small Shrine#dew1) Small Shrine#dew4 844 -dewata,179,204,4 script Young Lady#dewata 537,{ - mes "[Young Lady]"; - mes "When you are outside of the town"; - mes "and meet ^FF0000Tiger, Monkey, or Pig^000000,"; - mes "make sure avoid them."; - next; - select("What do you mean?"); - mes "[Young Lady]"; - mes "I haven't seen yet,"; - mes "but legend says there's a"; - mes "cruel monster named ^FF0000Leak^000000"; - mes "which can transform into an animal"; - mes "and hypnotize people into killing."; +dewata,75,122,6 script Monk#dewt1 834,{ + mes "[Monk]"; + mes "You are a stranger here. What brings here to this quiet place?"; next; - mes "[Young Lady]"; - mes "You know the dangers of this world."; - mes "It never hurts to be careful,"; - mes "even if it's just an urban legend."; - close; + switch(select("I'm sightseeing.:No reason.")) { + case 1: + mes "[Monk]"; + mes "Oh, you are a tourist. This is the '^0000FFPagoda^000000' worshiping the great Buddha. Please be respectful of the monks praying here."; + close; + case 2: + mes "[Monk]"; + mes "Good day to you..."; + close; + } } -dewata,144,216,4 script Energetic Kid 538,{ - mes "[Energetic Kid]"; - mes "My parents used to tell me..."; - next; - mes "[Energetic Kid]"; - mes "^348017- Son, -"; - mes "- You should study hard. -"; - mes "- Be happy. -"; - mes "- Live a slow -"; - mes "- and safe life. -"; - mes "- The moutain over yonder -"; - mes "- will always be there for you. -^000000"; +dewata,69,101,6 script Monk#dewt2 834,{ + mes "[Monk]"; + mes "We have a pagoda for the worship of Buddhas. Each temple has one of these towers, though not many people come here besides other monks."; next; - mes "[Energetic Kid]"; - mes "Isn't it a great philosophy?"; - mes "I want to live that way"; - mes "and become a great person,"; - mes "and help all of the people in our"; - mes "town live happily ever after!"; - close; + switch(select("I see...:Explain about Buddhas:Ah, okay.")) { + case 1: + mes "[Monk]"; + mes "You must feel the compassion of our Buddha!"; + close; + case 2: + mes "[Monk]"; + mes "Buddha is our God from Dewata myth, he is the king of souls and also the leader of good Gods."; + next; + mes "[Monk]"; + mes "Buddha is the guardian of souls whom often described in traditional dance as fighting against the magician Rangda."; + next; + mes "[Monk]"; + mes "In Dewata we belive there are many deities protecting each island and tribal locale,"; + next; + mes "[Monk]"; + mes "so we do have different manifestations of the Buddha, usually described as a bear, tiger, dragon, snake, or lion"; + next; + mes "[Monk]"; + mes "Great Lion is one of famous Buddhas worshipped in Dewata."; + next; + mes "[Monk]"; + mes "Hope this was good explanation for you. Let me know if you have anything else you want to know."; + close; + case 3: + mes "[Monk]"; + mes "Good day to you..."; + close; + } } -dewata,117,156,5 script Dreaming Kid 538,{ - mes "[Dreaming Kid]"; - mes "My granny says"; - mes "there was once a bird named ^FF0000Garuda^000000"; - mes "who flew above this town."; - mes "Afterwards we had some great harvests"; - mes "and were able to live happily."; +dewata,71,79,6 script Monk#dewt3 834,{ + mes "[Monk]"; + mes "This tower is built on the edge of coastal cliff. You can pray with a cool ocean breeze in your hair."; next; - mes "[Dreaming Kid]"; - mes "I want to see that bird"; - mes "flying above our town again!"; - mes "Then my mom, dad"; - mes "granny, and grandpa"; - mes "can be happy like the old times."; - mes "What do you think?"; + mes "[Monk]"; + mes "Come, you should feel the compassion of our Buddha in this pleasant weather."; close; } -dewata,211,272,4 script Lodge Owner 534,{ +dewata,211,272,4 script Lodge Owner#dew 534,2,3,{ +OnTouch: mes "[Lodge Owner]"; - mes "These days we have many"; - mes "honeymooners visiting us."; + mes "These days, we have many honeymooners visiting here."; next; mes "[Lodge Owner]"; mes "It must be the beautiful scenery, right?"; next; mes "[Lodge Owner]"; - mes "I'm happy with my business. I hope"; - mes "we have a lot more visitors like that."; + mes "I'm happy with my business. Hope all we have a lot more visitors like that."; next; mes "[Lodge Owner]"; - mes "Ah! You should bring your lover to"; - mes "Dewata on your honeymoon."; - mes "I'll give you a good price~"; + mes "Ah! You should bring your lover to Dewata on your honeymoon."; + mes "I'll give you a good price-"; close; } -dewata,233,263,7 script Sweet Married Couple#1 828,{ - emotion e_kis; +dewata,245,244,4 script Lodge Employee#dew 536,2,3,{ +OnTouch: + mes "[Lodge employee]"; + mes "Argg~ This is really ticking me off!"; + emotion e_an; + next; + mes "[Lodge employee]"; + mes "How come more and more couples come here?"; + next; + mes "[Lodge employee]"; + mes "And why do they have act so lovey-dovey? What's up with that?"; + next; + mes "[Lodge employee]"; + mes "C'mon, show some respect to the people who work here..."; + close; +} + +dewata,233,263,8 script Sweet Married Couple#dew1 828,2,3,{ +OnTouch: mes "[Sweet Husband]"; - mes "You are the most beautiful thing in"; - mes "the world, baby~"; + mes "You are the most beautiful thing in the world baby~"; + emotion e_kis; next; - emotion e_kis2; mes "[Sweet Wife]"; - mes "Really? I'm that beautiful? I love"; - mes "you, honey~"; + mes "Really? I'm that beautiful? I love you, honey~"; + emotion e_kis2,0,"Sweet Married Couple#dew2"; next; - emotion e_heh; - emotion e_heh,1,"Sweet Married Couple#2"; mes "[Sweet Married Couple]"; - mes "Hahahahahahahahahahahahahahahahahah"; - mes "ahahahahahahahahahahahahahahahahahaha"; - mes "Hohohohohohohohohohohohohohohohohoh"; - mes "ohohohohohohohohohohohohohohohohohoho"; + mes "Hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha"; + mes "Hohohohohohohohohohohohohohohohohohohohohohohohohohohohohohohohohohohoho"; + emotion e_heh; + emotion e_heh,0,"Sweet Married Couple#dew2"; next; - mes "[Sweet Husband]"; mes "Come on now, I'm growing tired of this. Let's go."; close; } -dewata,234,263,7 script Sweet Married Couple#2 727,{ - emotion e_what; +dewata,234,263,8 script Sweet Married Couple#dew2 727,2,3,{ +OnTouch: mes "[Sweet Wife]"; mes "Baby~ You know what flower that is~?"; + emotion e_what; next; mes "[Sweet Husband]"; mes "Hmm? I don't know. But it's really pretty."; next; - emotion e_what; mes "[Sweet Wife]"; mes "Baby~ Who's prettier, me or the flower?"; + emotion e_what; next; - emotion e_kis; mes "[Sweet Husband]"; - mes "No matter how pretty the flower is,"; - mes "you are always more beautiful~"; + mes "No matter how pretty the flower is, you are always more beautiful~"; + emotion e_kis,0,"Sweet Married Couple#dew1"; next; - emotion e_kis2; mes "[Sweet Wife]"; mes "Really? I'm that pretty? I love you, sweetie~"; + emotion e_kis2; next; - emotion e_heh; - emotion e_heh,1,"Sweet Married Couple#1"; mes "[Sweet Married Couple]"; - mes "Hahahahahahahahahahahahahahahahahah"; - mes "ahahahahahahahahahahahahahahahahahaha"; - mes "Hohohohohohohohohohohohohohohohohoh"; - mes "ohohohohohohohohohohohohohohohohohoho"; + mes "Hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha"; + mes "Hohohohohohohohohohohohohohohohohohohohohohohohohohohohohohohohohohohoho"; + emotion e_heh,0,"Sweet Married Couple#dew1"; + emotion e_heh; next; - mes "[Sweet Wife]"; mes "Come on now, this bores me. Let's move on."; close; } -dewata,278,281,4 script Happily Married Grandpa 534,{ - mes "[Happily Married Grandpa]"; - mes "Today, I should ask my lady to"; - mes "cook me some ^348017fried rice^000000."; +dewata,279,213,4 script Tourist#dew-2 887,2,3,{ +OnTouch: + mes "[Reclining Tourist]"; + mes "Wow~ This is really comfy~"; next; - mes "[Happily Married Grandpa]"; - mes "My wife's ^348017fried rice^000000 is"; - mes "always very special!"; + mes "[Reclining Tourist]"; + mes "I'm having a great time just relaxing."; next; - emotion e_lv; - mes "[Happily Married Grandpa]"; - mes "It makes me love her even more."; - mes "You can't imagine the wonderful flavor!"; + mes "[Reclining Tourist]"; + mes "You should lie down here too."; + mes "Once you do, you'll never want to get up."; + next; + mes "[Reclining Tourist]"; + mes "That's why I haven't moved in a whole week! Hahahaha~"; + emotion e_heh; close; } -dewata,280,277,4 script Happily Married Grandma 535,{ - emotion e_swt2; - mes "[Happily Married Grandma]"; - mes "In my younger days,"; - mes "there were many gentleman"; - mes "who wanted to court me."; +dewata,269,208,4 script Little Kid in Town#dew 538,2,3,{ +OnTouch: + mes "[Kid]"; + mes "Hey "+((Sex)?"bro":"sis")+", look at that man!"; next; - mes "[Happily Married Grandma]"; - mes "Yet, I met just the right guy,"; - mes "and got married."; - mes "I asked what he likes best"; - mes "about me, he said it was"; - mes "my homemade ^348017fried rice^000000."; + mes "[Kid]"; + mes "He's been lying there for a week doin' nothin'..."; next; - mes "[Happily Married Grandma]"; - mes "And since then, he only asks me"; - mes "to make ^348017fried rice^000000 for dinner."; - mes "Over 40 years of marriage and"; - mes "he still doesn't get tired of it."; + mes "[Kid]"; + mes "Who IS that man?"; + emotion e_what; next; - emotion e_lv; - mes "[Happily Married Grandma]"; - mes "I always think it was lucky"; - mes "to be growing old with a guy"; - mes "who loves what I cook."; + mes "[Kid]"; + mes "I don't want to be a lazybones like him when I grow up."; close; } -dewata,114,243,5 script Lazy Young Man 536,1,1,{ - if (countitem(11534)) { - mes "[Lazy Young Man]"; - mes "Wewt~!! Isn't that Palm Juice?"; - mes "Can you give me that? I just woke"; - mes "up, and my throat is parched!"; - next; - if(select("Give:Don't give")==2) { - mes "[Lazy Young Man]"; - mes "So be it~ Ok..."; - close; } - mes "[Lazy Young Man]"; - mes "Really? For me?? I'll give you this in return... Thanks!"; - delitem 11534,1; - // Need more information - if (rand(1,2)==1) getitem 7034,1; // Red Stocking - else getitem 735,1; // Chung Jah - close; } - mes "[Lazy Young Man]"; - mes "Ah~ Thristy~ Anyone have some Palm"; - mes "juice for me?~"; - close; +dewata,227,129,4 script Sarr#dew 538,2,3,{ OnTouch: - if (countitem(11534)) end; - for(set .@i,0; .@i<4; set .@i,.@i+1) { - emotion e_an; - mes "[Lazy Young Man]"; - mes "Arrgg~ I'm thirsty~~ so thirsty~~"; - mes "Give me Palm juice... Palm Juuiice~~"; - if (.@i==3) close; - next; - } + mes "[Sarr]"; + mes "They're hiding so I should seek."; + mes "I'll find them for sure!-"; + next; + mes "[Sarr]"; + mes "One~"; + next; + mes "[Sarr]"; + mes "Two~ Three~"; + next; + mes "[Sarr]"; + mes "Four~ Five~ Six~"; + next; + mes "[Sarr]"; + mes "... ... ... ..."; + next; + mes "[Sarr]"; + mes "Ninty nine~ One hundred!!! Now I'm coming~"; + close; } -dewata,127,248,5 script Wishing Kid 539,{ - mes "[Wishing Kid]"; - mes "My family has been brewing"; - mes "traditional Dewata Wine for ages."; - mes "I want to drink it myself,"; - mes "but my dad says I'm too young."; - mes "He said I can drink it"; - mes "only after I sleep for over"; - mes "^FF0000100 days^000000."; +dewata,239,140,4 script Siyak#dew 539,2,3,{ +OnTouch: + mes "[Siyak]"; + mes "Hey come on, move over~ He's gonna find me~~"; next; - mes "[Wishing Kid]"; - mes "All grown-ups love to drink"; - mes "my dad's wine."; - mes "I want to try some so bad."; - mes "But, what should I do...?"; - mes "I've forgotten how many ^FF0000nights^000000"; - mes "I've already slept... boo hoo!"; + mes "[Sarr]"; + mes "I found Siyak!! Come out, come out!!"; + emotion e_gg,0,"Sarr#dew"; + emotion e_omg; + emotion e_gg,0,"Sipo#dew"; + emotion e_omg,1; + next; + mes "[Siyak]"; + mes "Arrgg!! This is all your fault~!!"; + emotion e_an; close; } -dewata,75,122,5 script Monk#dewata-1 834,{ - mes "[Monk]"; - mes "You are stranger here. What"; - mes "brings here to this quiet place?"; +dewata,193,145,4 script Sipo#dew 538,2,3,{ +OnTouch: + mes "[Sipo]"; + mes "Sarr won't find me here, right?"; next; - if(select("I'm sightseeing:No reason")==2) { - mes "[Monk]"; - mes "Good day to you..."; - close; } - mes "[Monk]"; - mes "Oh, you are a tourist. This is the"; - mes "'^0000FFPadoga^000000' worshiping the great"; - mes "Buddha. Please be respectful of"; - mes "the monks praying here."; + mes "[Sarr]"; + mes "I found Siyak!! Come out come out!!"; + emotion e_gg,0,"Sarr#dew"; + emotion e_omg,0,"Siyak#dew"; + emotion e_gg; + emotion e_omg,1; + next; + mes "[Sipo]"; + mes "Hehe~ Now Siyak is IT~ I'll just keep hiding in here."; close; } -dewata,71,79,0 script Monk#dewata-2 834,{ - mes "[Monk]"; - mes "This tower is built on the edge of a"; - mes "coastal cliff. You can pray with the"; - mes "cool ocean breeze in your hair."; +dewata,228,177,4 script Majya#dew 538,2,3,{ +OnTouch: + mes "[Majya]"; + mes "I was playing hide-and-seek with my friends..."; next; - mes "[Monk]"; - mes "Come, you should feel the"; - mes "compassion of our Buddha in this"; - mes "pleasant weather."; + mes "[Majya]"; + mes "I've been just standing here, and they haven't found me for 3 hours..."; + emotion e_hmm; + next; + mes "[Majya]"; + mes "What should I do? Come out? I don't want to be IT..."; close; } -dewata,69,101,5 script Monk#dewata-3 834,{ - mes "[Monk]"; - mes "We have the pagoda for the worship of"; - mes "Buddhas. Each temple has one of"; - mes "these towers, though not many"; - mes "people come here besides other monks."; +dewata,278,100,4 script Missing Child#dew 703,2,3,{ +OnTouch: + mes "[Ukki]"; + mes "WaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaa~"; + emotion e_sob; + emotion e_swt2; next; - switch(select("I see...:Explain about Buddhas:Ah, okay.")) { - case 1: - mes "[Monk]"; - mes "You must feel the compassion of our Buddha!"; - close; - case 2: - mes "[Monk]"; - mes "Buddha is our God from Dewata myth,"; - mes "the king of souls and also"; - mes "the leader of good gods."; - next; - mes "[Monk]"; - mes "Buddha is the guardian of souls,"; - mes "often described in traditional"; - mes "Dance fighting against the"; - mes "Magician Rangda."; - next; - mes "[Monk]"; - mes "In Dewata we believe there are many"; - mes "deities protecting each island and"; - mes "tribal locale."; - next; - mes "[Monk]"; - mes "So we do have different"; - mes "manifestations of the Buddha,"; - mes "usually described as a bear, tiger,"; - mes "dragon, snake, or lion."; - next; - mes "[Monk]"; - mes "Great Lion is one of the famous Buddhas"; - mes "worshipped in Dewata."; - next; - mes "[Monk]"; - mes "I hope this was a good explanation"; - mes "for you. Let me know if there is"; - mes "anything else you want to know."; - close; - case 3: - mes "[Monk]"; - mes "Good day to you..."; - close; - } + mes "["+strcharinfo(0)+"]"; + mes "Hey, kid..."; + next; + mes "[Ukki]"; + mes "WaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaaWaa~"; + emotion e_sob; + next; + mes "[Ukki]"; + mes "Mama~ Papa~ Where are youuu~ Waa~"; + emotion e_sob; + emotion e_swt2; + next; + mes "["+strcharinfo(0)+"]"; + mes "... ... ..."; + emotion e_dots,1; + close; } -dewata,67,186,7 script Monk#dewata-4 834,{ - mes "[Monk]"; - mes "I am a monk, content to spend my days in religious study."; +dewata,249,87,4 script Mum#dew 101,2,3,{ +OnTouch: + mes "[Mum]"; + mes "Ukki~ Ukki~ Where did she go?"; + emotion e_wah; next; - mes "[Monk]"; - mes "I've just returned from a"; - mes "pilgrimage to Borobudur temple with"; - mes "my fellow monks..."; + mes "[Mum]"; + mes "I can't take my eyes of her for a second..."; next; - mes "[Monk]"; - mes "Borobudur temple has many pilgrims"; - mes "visiting, since it is one of few"; - mes "temples left worshipping the"; - mes "Great Buddha."; + mes "[Mum]"; + mes "Ukki~"; + emotion e_wah; close; } -dewata,65,188,7 script Monk#dewata-5 834,{ - mes "[Monk]"; - mes "Borobudur temple is one of few"; - mes "temples left worshipping the"; - mes "Great Buddha."; +dewata,251,85,6 script Poppa#dew 97,2,3,{ +OnTouch: + mes "[Poppa]"; + mes "Honey, is Ukki lost again?"; + emotion e_what; next; - mes "[Monk]"; - mes "I' don't understand why there are"; - mes "only a few temples left that follow"; - mes "our ways..."; + mes "[Poppa]"; + mes "Arrgg... I can't go anywhere with her... How many times already?"; + emotion e_swt2; + next; + mes "[Daddy]"; + mes "She's gotten lost in Louyang, Amatsu, Moscovia, Brasilis, Kunlun,"; + mes "and in Ayothaya..."; + emotion e_swt2; + next; + mes "[Daddy]"; + mes "What!! It's already been 7 times including this time in Dewata... 7 times!!!!!!"; + emotion e_otl; close; } -dewata,63,190,7 script Monk#dewata-6 834,{ - mes "[Monk]"; - mes "Are you a Tourist? You can make an"; - mes "offering and a wish to one of the shrines."; +dewata,278,281,4 script Happily Married Grandpa#dew 534,{ + mes "[Happily Married Grandpa]"; + mes "Today, I should ask my lady to"; + mes "cook me some ^006400fried rice^000000."; next; - mes "[Monk]"; - mes "Our Great Buddha may grant your wish..."; + mes "[Happily Married Grandpa]"; + mes "My wife's ^006400fried rice^000000 is"; + mes "always very special!"; + next; + mes "[Happily Married Grandpa]"; + mes "It makes me love her even more."; + mes "You can't imagine the wonderful flavor!"; + emotion e_lv; close; } -dewata,61,192,7 script Monk#dewata-7 834,{ - mes "[Monk]"; - mes "Our Great Buddha is the king of"; - mes "souls and the leader of all good gods."; +dewata,280,277,4 script Happily Married Grandma#dew 535,{ + mes "[Happily Married Grandma]"; + mes "In my younger days,"; + mes "there were many gentleman callers"; + mes "who wanted to court me."; + emotion e_swt2; next; - mes "[Monk]"; - mes "The Dewata tribes believe in"; - mes "Buddha, but the strange thing is how they"; - mes "all describe Buddha as different creatures."; + mes "[Happily Married Grandma]"; + mes "Yet, I met just the right guy,"; + mes "and got married."; + mes "I asked what he likes best"; + mes "about me, he said it was"; + mes "my homemade ^006400fried rice^000000"; next; - mes "[Monk]"; - mes "I'm not really sure about the"; - mes "reason for that. Maybe because"; - mes "there are many different tribes in"; - mes "Dewata with different characteristics."; + mes "[Happily Married Grandma]"; + mes "And since then, he only asks me"; + mes "to make ^006400fried rice^000000 for dinner."; + mes "Over 40 years of marriage"; + mes "and he still doesn't get tired ot it."; + next; + mes "[Happily Married Grandma]"; + mes "I always think it was lucky"; + mes "to be growing old with a guy"; + mes "who loves what I cook."; + emotion e_lv; close; } -dewata,89,191,0 script Small Shrine#A::DewShrine 111,{ - mes "- There is a small shrine here. -"; - mes "There are many people making wishes."; +dewata,165,103,6 script Adventurer Semangat#dew 534,{ + mes "[Adventurer Semangat]"; + mes "I also traveled around the World"; + mes "When I was young like you."; + mes "^FF0000Monkey, Cuttlefish^000000"; + mes "^FF0000Eagle, and Snake^000000,"; + mes "all were good friends I met"; + mes "during my travels."; next; - switch(select("Make a donation:Make a wish:Walk away.")) { - case 1: - mes "Donation case says:"; - mes "^FF00001,000 ~ 100,000 Zeny^000000"; - mes "How much you want to donate?"; - next; - input .@donate,0,100000; - if (.@donate < 1000) { - mes "- Cancelled. -"; - close; } - if (.@donate > Zeny) { - mes "- Not enough Zeny. -"; - close; } - mes "- What do you wish for? -"; - next; - input .@wish$; - mes "You have donated to the small shrine and made the wish ^0000FF"+.@wish$+"^000000."; - next; - set Zeny, Zeny-.@donate; - specialeffect EF_FLASHER; - mes "- Mysterious energy comes out from the shrine. -"; - next; - skilleffect 34,0; sc_start SC_BLESSING,360000,10; - mes "- You have received the shrine's blessing. -"; - next; - mes "- It feels like this wish could come true. -"; - close; - case 2: - mes "- What is your wish? -"; - next; - input .@wish$; - mes "- You have made your wish for ^0000FF"+.@wish$+"^000000 at this small shrine. -"; - next; - specialeffect EF_FLASHER; - mes "- Mysterious energy comes out from the shrine. -"; - next; - skilleffect 34,0; sc_start SC_BLESSING,60000,1; - mes "- You have received the shrine's blessing. -"; - next; - mes "- It feels like this wish could come true. -"; - close; - case 3: - close; - } + mes "[Adventurer Semangat]"; + mes "I still have passion for adventure and traveling."; + mes "But, I can't just leave"; + mes "my beloved wife and"; + mes "grandchildren behind..."; + next; + mes "[Adventurer Semangat]"; + mes "You will also have something"; + mes "or someone that is as precious"; + mes "in your heart someday."; + close; } -dewata,89,212,0 duplicate(DewShrine) Small Shrine#B 111 -dewata,68,212,0 duplicate(DewShrine) Small Shrine#C 111 -dewata,68,191,0 duplicate(DewShrine) Small Shrine#D 111 - -dewata,78,192,5 script Borobudur Temple Manager 536,{ - mes "[Borobudur Temple Manager]"; - mes "The weather today is so beautiful."; - if (checkquest(9164)>=0 && countitem(11533)) { - next; - mes "[Borobudur Temple Manager]"; - mes "By the way, do you have"; - mes "something to tell me...?"; - next; - select("^0000FFTribal Chief Paiko^000000"); - mes "[Borobudur Temple Manager]"; - mes "I never knew such a thing had"; - mes "happened. If you had told me in"; - mes "advance, I could have helped at"; - mes "least a little bit."; - mes "Still, things have gone well with your help."; - next; - mes "[Borobudur Temple Manager]"; - mes "Ah, it is the ^4AA02CSatay^000000 that I"; - mes "sampled when the tribe invited me some time ago."; - next; - mes "[Borobudur Temple Manager]"; - mes "Good~ This is the same taste I"; - mes "remember. To give my thanks"; - mes "I will pass along story"; - mes "that may interest you."; - next; - mes "[Borobudur Temple Manager]"; - mes "Legend tells of a strange bird"; - mes "called ^FF0000Garuda^000000."; - mes "It has the torso, arms and legs of"; - mes "a human but has the head and beak"; - mes "of an eagle."; - next; - mes "[Borobudur Temple Manager]"; - mes "The Story of this bird describes"; - mes "it helping the gods exterminate"; - mes "wicked demons and snakes."; - next; - mes "[Borobudur Temple Manager]"; - mes "The tale has been passed down from"; - mes "generation to generation."; - mes "Quite interesting, isn't it?"; +dewata,139,114,6 script Semangat's Wife#dew 535,{ + mes "[Semangat's Wife]"; + mes "Where's that old man"; + mes "gone off to again?"; + mes "Have you seen my husband around?"; + next; + switch(select("I think I saw him there..:No I haven't..")) { + case 1: + mes "[Semangat's Wife]"; + mes "He ran away when"; + mes "I was looking for him."; + mes "Should be somewhere, telling tall tales"; + mes "to some travelers, like always."; next; - mes "[Borobudur Temple Manager]"; - mes "I am sure in the village of the"; - mes "^C35817Jaty Tribe^000000 there are many"; - mes "legendary stories."; - mes "When I get to meet the Chief, I"; - mes "will hear many such stories for sure."; + mes "[Semangat's Wife]"; + mes "I apologize"; + mes "on behalf of my husband."; + mes "Please don't believe his foolish stories"; + mes "saying he met with ^FF0000Monkeys and Snakes^000000, or"; + mes "that he fought alongside a ^FF0000Cuttlefish^000000."; next; - mes "[Borobudur Temple Manager]"; - mes "I am not certain when we will"; - mes "cross paths again, but I hope we"; - mes "will meet again someday."; - mes "I wish you a pleasant journey,"; - mes "young traveler."; - delitem 11533,1; - changequest 9164,9165; } - close; + mes "[Semangat's Wife]"; + mes "He has been living here"; + mes "for entire life."; + mes "Yet, always find some travelers,"; + mes "and who will listen to his made-up tales."; + close; + case 2: + mes "[Semangat's Wife]"; + mes "Oh. Please let me know"; + mes "if you ever see him around."; + close; + } } -dewata,95,203,5 script Travel Guide#dewata 536,{ - emotion e_swt2; - mes "[Travel Guide]"; - mes "This temple behind me is called"; - mes "Borobudur."; - mes "Borobudur temple was built in the"; - mes "9th century"; - mes "to venerate the Great Buddha, an"; - mes "ancient religious figure."; - next; - emotion e_swt2; - mes "[Travel Guide]"; - mes "This temple is made with 6 square"; - mes "platforms and 3 round platforms,"; - mes "and 2672 hand carved relief panels"; - mes "as well as 504 statues of various"; - mes "Buddhas."; - next; - emotion e_swt2; - mes "[Travel Guide]"; - mes "The central stupa, or shrine, is"; - mes "located at the center of the high"; - mes "platform, surrounded by 72"; - mes "more statues."; +dewata,181,88,6 script Young Man#dew-2 536,{ + mes "[Young Man]"; + mes "Isn't ^8B4513Dewata^000000 beach"; + mes "really beautiful?"; + mes "The children always play"; + mes "at this beach. It really"; + mes "reminds me of my youth." next; - emotion e_swt2; - mes "[Travel Guide]"; - mes "Even in modern times Borobudur"; - mes "temple is the pilgrimage site for many"; - mes "monks worshipping the Buddha. It's"; - mes "also a major tourist attraction, as"; - mes "you can imagine."; - next; - mes "[Travel Guide]"; - mes "That is all I have on Borobudur"; - mes "temple, are there any questions?"; - mes "If not, we can move to the next spot."; + mes "[Young Man]"; + mes "At the evening, you can see"; + mes "fireworks from the beach."; + mes "With ocean breeze, the crashing waves,"; + mes "and fireworks lighting the sky,"; + mes "the nighttime is a time of beauty here!"; close; } -dewata,97,207,4 script Tourist#dewata-2 803,{ - mes "[Tourist]"; - mes "Oh, dag-nabbit... I've gone and"; - mes "picked the wrong tour guide..."; +dewata,179,204,4 script Young Lady#dew 537,{ + mes "[Young Lady]"; + mes "When you are outside of the town,"; + mes "and meet ^FF0000Tiger, Monkey, or pig^000000,"; + mes "make sure to avoid them."; next; - emotion e_turn; - mes "[Tourist]"; - mes "This hombre is a real snooze..."; - mes "Why make it longer.."; + select("What do you mean?"); + mes "[Young Lady]"; + mes "I haven't seen yet,"; + mes "but legend says there's a"; + mes "cruel monster named ^FF0000Leak^000000"; + mes "which can transform into an animal"; + mes "and hypnotize people into killing."; next; - emotion e_sigh; - mes "[Tourist]"; - mes "I need to change my travel agent..."; + mes "[Young Lady]"; + mes "You know the dangers of this world."; + mes "It's never hurts to be careful"; + mes "even if it's just an urban legend."; + //emotion ET_SCRATCH; //TODO close; } -dewata,99,203,4 script Tourist#dewata-3 755,{ - emotion e_ok; - mes "[Tourist]"; - mes "Oh~ This is very interesting. A"; - mes "temple that worships the Buddha.."; +dewata,280,236,4 script Settler#dew 726,{ + mes "[Settler]"; + mes "I'm not really from ^8B4513Dewata^000000."; + mes "But while traveling,"; + mes "I found this place..."; + mes "And made my decision"; + mes "to live in this beautiful town."; next; - mes "[Tourist]"; - mes "But I don't really get all the"; - mes "symbology here."; + mes "[Settler]"; + mes "I've been happy to live here"; + mes "and to find and experience"; + mes "all these beautiful sights."; + mes "It's a dream come true."; next; - mes "[Tourist]"; - mes "So beautiful... I wonder who built"; - mes "this place?"; + mes "[Settler]"; + mes "Would you ever think of"; + mes "settling here too?"; close; } -dewata,101,206,4 script Tourist#dewata-4 90,{ - mes "[Tourist]"; - mes "Aren't we going to get lost without"; - mes "the guide?"; +dewata,204,230,6 script Dieting Lady#dew 537,{ + if (countitem(11533) == 0) { + mes "[Dieting Lady]"; + mes "Ah~ I'm starving!!"; + mes "I should be on a diet now."; + mes "Why am I still hungry?"; + next; + mes "[Dieting Lady]"; + mes "Don't talk to me too much!!"; + mes "I want to try that grilled ^006400Satay^000000"; + mes "so much~!!!!!"; + close; + } + mes "[Dieting Lady]"; + mes "Is that mouth-watering"; + mes "^006400Satay^000000 for me?"; next; - mes "[Tourist]"; - mes "We get lost already last time.."; - close; + switch(select("Yes, want a taste?:No, it's for me!")) { + case 1: + delitem 11533,1; //Satay + mes "[Dieting Lady]"; + mes "Thanks so much!"; + mes "I've been so hungry~!!"; + mes "This smell of this ^006400Satay^000000"; + mes "is so good~!"; + next; + getitem 11533,1; //Satay + mes "[Dieting Lady]"; + mes "Ah... gotta come back to my senses,"; + mes "too much of a good thing is bad..."; + mes "I should stick with my diet."; + mes "Sorry, I'll give it back to you."; + emotion e_sob; + close; + case 2: + mes "[Dieting Lady]"; + mes "Arrgg.. You are so greedy!"; + mes "Since you don't want to share."; + mes "Anyway, I shouldn't cheat on my diet"; + mes "even for something that looks and smells so good..."; + emotion e_pif; + close; + } } -dewata,100,206,4 script Tourist#dewata-5 59,{ - mes "[Tourist]"; - mes "Hey, let's go there! Hurry up,"; - mes "while the tour guide is explaining~"; +dewata,117,156,6 script Dreaming Kid#dew 538,{ + mes "[Dreaming Kid]"; + mes "My granny says"; + mes "There was once a bird named ^FF0000Garuda^000000"; + mes "who flew above this town."; + mes "Afterwards we had some great harvests"; + mes "and were able to live happily."; next; - mes "[Tourist]"; - mes "Come on... It doesn't sound like"; - mes "he's going to stop talking anytime soon."; + mes "[Dreaming Kid]"; + mes "I want to see that bird"; + mes "flying above our town again!"; + mes "Then my mom, dad"; + mes "granny, and grandpa"; + mes "can be happy like the old times."; + mes "What do you think?"; close; } -dewata,278,100,4 script Missing Child#dewata 703,{ - mes "[Ukki]"; - mes "WaaWaaWaaWaaWaaWaaWaaWaaWaaWaa"; - mes "WaaWaaWaaWaaWaaWaa~"; +dewata,144,216,4 script Energetic Kid#dew 538,{ + mes "[Energetic Kid]"; + mes "My parents used to tell me..."; next; - select("Hey, kid..."); - emotion e_sob; - mes "[Ukki]"; - mes "WaaWaaWaaWaaWaaWaaWaaWaaWaaWaa"; - mes "WaaWaaWaaWaaWaaWaa~"; + mes "- ^006400Son,^000000 -"; + mes "- ^006400You should study hard.^000000 -"; + mes "- ^006400Be happy.^000000 -"; + mes "- ^006400Live a slow^000000 -"; + mes "- ^006400and safe life.^000000 -"; + mes "- ^006400The mountain over yonder^000000 -"; + mes "- ^006400will always be there for you.^000000 -"; next; - emotion e_sob; - emotion e_swt2; - mes "[Ukki]"; - mes "Mama~ Papa~ Where are youuu~ Waa~"; + mes "[Energetic Kid]"; + mes "Isn't it a great philosophy?"; + mes "I want to live that way"; + mes "and become a great person,"; + mes "and help all of the people in our town"; + mes "live happily ever after!"; + close; +} + +dewata,127,248,6 script Wishing Kid#dew 539,{ + mes "[Kid wishing to be an adult]"; + mes "My family has been brewing"; + mes "traditional Dewata wine for ages."; + mes "I want to drink it myself,"; + mes "but my dad says I'm too young."; + mes "He said I can drink it"; + mes "only after I sleep for over ^FF0000100 days^000000."; next; - emotion e_dots,0; - select("... ... ..."); + mes "[Kid wishing to be an adult]"; + mes "All grown-ups love to drink"; + mes "my dad's wine."; + mes "I want to try some so bad."; + mes "But, what should I do...?"; + mes "I've forgotten how many ^FF0000nights^000000"; + mes "I've already slept... boo hoo!"; + emotion e_sob; close; } -dew_fild01,101,259,5 script Jaty Tribe Gatekeeper 541,{ +dew_fild01,101,259,6 script Jaty Tribe Gatekeeper#dew 541,{ mes "[Jaty Tribe Gatekeeper]"; - mes "Welcome to ^FF0000Jaty^000000 town,"; - mes "which reveres strength and bravery."; - mes "I wish you a safe and restful time here."; + mes "Welcome to ^FF0000Jaty^000000 town."; + mes "Our tribe reveres strength and bravery."; + mes "We wish you a safe and restful time here."; close; } diff --git a/npc/re/guides/guides_dewata.txt b/npc/re/guides/guides_dewata.txt new file mode 100644 index 000000000..f554186a4 --- /dev/null +++ b/npc/re/guides/guides_dewata.txt @@ -0,0 +1,91 @@ +//===== rAthena Script ======================================= +//= Dewata Guide +//===== By: ================================================== +//= Muad_Dib +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= [Official Conversion] +//= Guide for the city of Dewata. +//===== Additional Comments: ================================= +//= 1.0 First version. [Lemongrass] +//============================================================ + +dewata,202,106,4 script Dewata Guide#dewata01 535,{ + mes "[Dewata Guide]"; + mes "Welcome to ^8B4513Dewata Island^000000,"; + mes "a place with dazzling waves and charming views it's a great place to relax."; + mes "If you have any questions, please ask me."; + next; + mes "[Dewata Guide]"; + mes "Where can I guide you?"; + while (1) { + next; + switch(select("[ Kafra Employee ]:[ Weapon Dealer ]:[ Armor Dealer ]:[ Tool Dealer ]:[ Krakatau Gatekeeper ]:[ Lodge Owner ]:[ Alberta Sailor ]:Remove marks from Mini-Map:Cancel")) { + case 1: + callsub L_Mark,"^0000FFKafra Employee"; + viewpoint 1,202,184,0,0x000FFF; + break; + + case 2: + callsub L_Mark,"^008080Armor Dealer"; + viewpoint 1,218,163,1,0x008080; + break; + + case 3: + callsub L_Mark,"^008080Weapon Dealer"; + viewpoint 1,158,182,2,0x008080; + break; + + case 4: + callsub L_Mark,"^FF1493Tool Dealer"; + viewpoint 1,182,164,3,0xFF1493; + break; + + case 5: + callsub L_Mark,"^FF1493Krakau Gatekeeper"; + viewpoint 1,232,59,4,0xFF1493; + break; + + case 6: + callsub L_Mark,"^8A2BE2Lodge Owner"; + viewpoint 1,195,235,5,0x8A2BE2; + break; + + case 7: + callsub L_Mark,"^00BFFFAlberta Sailor"; + viewpoint 1,230,52,6,0x00BFFF; + break; + + case 8: + mes "[Dewata Guide]"; + mes "I'll remove all marks from your mini-map."; + mes "Is there anything else I can do for you?"; + viewpoint 2,202,184,0,0xFFFFFF; + viewpoint 2,218,163,1,0xFFFFFF; + viewpoint 2,158,182,2,0xFFFFFF; + viewpoint 2,182,164,3,0xFFFFFF; + viewpoint 2,232,59,4,0xFFFFFF; + viewpoint 2,195,235,5,0xFFFFFF; + viewpoint 2,230,52,6,0xFFFFFF; + break; + + case 9: + mes "[Dewata Guide]"; + mes "Enjoy your trip!!"; + close; + } + } + +L_Mark: + mes "[Dewata Guide]"; + mes "The "+getarg(0)+"^000000 is"; + mes "marked on your mini-map."; + mes "Check your mini-map."; + mes "Is there anything else I can do for you?"; + return; +} + +dewata,197,184,4 duplicate(Dewata Guide#dewata01) Dewata Guide#dewata02 535 diff --git a/npc/re/kafras/kafras.txt b/npc/re/kafras/kafras.txt new file mode 100644 index 000000000..eb4cd30d3 --- /dev/null +++ b/npc/re/kafras/kafras.txt @@ -0,0 +1,46 @@ +//===== rAthena Script ======================================= +//= Kafras (Cities/Dungeons/Fields) +//===== By: ================================================== +//= Joseph +//===== Current Version: ===================================== +//= 1.1 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Argument settings for callfunc "F_Kafra": +//= arg(0): 0 - Default Kafra message +//= 1 - Niflhiem Kafra message +//= 2 - Guild Kafra message +//= arg(1): 1 - Disable teleport menu +//= arg(2): 1 - Disable info menu +//= arg(3): Cost of Storage service +//= arg(4): Cost of Rent a Pushcart service +//===== Additional Comments: ================================= +//= 0.x Previous Authors: +//= - L0ne_W0lf, Daegaladh +//= 1.0 Merged and cleaned up Kafras. [Euphy] +//= 1.1 Added Dewata Kafra. [Lemongrass] +//============================================================ + +// Brasilis +//============================================================ +brasilis,197,221,4 script Kafra Employee::kaf_bra 117,{ + cutin "kafra_01",2; + callfunc "F_Kafra",0,3,0,80,700; + savepoint "brasilis",195,259; + callfunc "F_KafEnd",0,1,"in the city of Brasilis"; +} + +// Dewata +//============================================================ +dewata,202,184,6 script Kafra Employee::kaf_dewata 117,{ + cutin "kafra_01",2; + callfunc "F_Kafra",0,10,1,40,700; + savepoint "dewata",206,174; + callfunc "F_KafEnd",0,1,"on Dewata Island"; +} + + +// Izlude +//============================================================ +izlude,128,148,6 duplicate(kaf_izlude) Kafra Employee 117 diff --git a/npc/re/merchants/shops.txt b/npc/re/merchants/shops.txt index 77f1f8d68..9041ae2f3 100644 --- a/npc/re/merchants/shops.txt +++ b/npc/re/merchants/shops.txt @@ -3,7 +3,9 @@ //===== By: ================================================== //= rAthena Dev Team //===== Current Version: ===================================== -//= 1.3 +//= 1.5 +//===== Compatible With: ===================================== +//= Hercules //===== Description: ========================================= //= Renewal-specific town shop NPCs. //===== Additional Comments: ================================= @@ -11,7 +13,8 @@ //= 1.1 Added Dicastes merchants. [Joseph] //= 1.2 Moved more shops to Renewal file. [Euphy] //= 1.3 Added Malangdo tool dealer. [Euphy] -//= 1.4 Moved Izlude merchants to Official coordinates [Streusel] +//= 1.4 Moved Izlude merchants. [Streusel] +//= 1.5 Added Dewata merchants. [Lemongrass] //============================================================ //======================================================= @@ -21,6 +24,14 @@ comodo,106,213,5 shop Tropic Fruit Dealer 724,6258:-1 comodo,196,162,3 shop Harive#candy 479,11513:-1,6144:-1 //======================================================= +// Dewata +//======================================================= +dewata,218,164,4 shop Weapon Dealer 536,1207:-1,1216:-1,1107:-1,1122:-1,1116:-1,1154:-1,1407:-1,1457:-1,1354:-1,1519:-1 +dewata,182,164,6 shop Tool Dealer 536,611:-1,1750:-1,501:-1,502:-1,503:-1,504:-1,645:-1,656:-1,601:-1,602:-1,1065:-1,2239:-1,713:-1 +dewata,145,267,6 shop Fruit Gardener 535,512:-1,513:-1,515:-1,516:-1,535:-1 +dewata,158,182,6 shop Armor Dealer 536,2211:-1,2401:-1,2403:-1,2501:-1,2503:-1,2101:-1,2103:-1,2305:-1,2321:-1,2332:-1,2328:-1,2627:-1 + +//======================================================= // Einbroch //======================================================= einbroch,122,250,4 shop Black Marketeer#ein 49,2139:-1,2800:-1,2801:-1,2802:-1,2803:-1,2804:-1,2805:-1,2806:-1,2807:-1,18000:-1,18001:-1,18002:-1,18003:-1,18004:-1,12392:-1,12393:-1,12394:-1,6145:-1,6146:-1,6147:-1,6186:-1,2808:-1 diff --git a/npc/re/quests/quests_dewata.txt b/npc/re/quests/quests_dewata.txt index 8d27b1c09..ad986da6c 100644 --- a/npc/re/quests/quests_dewata.txt +++ b/npc/re/quests/quests_dewata.txt @@ -1,164 +1,585 @@ //===== rAthena Script ======================================= //= Dewata Quest NPCs //===== By: ================================================== -//= Gennosuke Kouga +//= Gennosuke Kouga, Muad_Dib //===== Current Version: ===================================== -//= 1.1 +//= 1.2 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= Quest NPCs related to Dewata: //== "Dewata Legend" -//== "Help The Old Man" -//== "The Enchantment Weapon" (Keris) +//== "Help Out the Old Man" +//== "Traditional Weapon" //===== Additional Comments: ================================= //= 1.0 First version. //= 1.1 Standardized. [Euphy] +//= 1.2 Updated to match the official script. [Lemongrass/Euphy] //============================================================ -// Entrance - Alberta Sailors +// Entrance //============================================================ - -alberta,240,47,5 script Alberta Sailor#alberta 536,{ - mes "[Alberta Sailor]"; - mes "Do ya want to visit ^C35817Dewata Island?^000000"; - mes "With dazzling waves and charming vistas, it's a great place to relax."; +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; - if(select("Yes:No")==2) { - mes "[Alberta Sailor]"; + 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; } - mes "[Alberta Sailor]"; - mes "Have a nice trip~"; - close2; - warp "dewata",232,53; - end; } -dewata,230,49,5 script Alberta Sailor#dewata 536,{ +dewata,229,49,6 script Alberta Sailor#dewata 536,{ mes "[Alberta Sailor]"; - mes "Want to go back to ^C35817Alberta^000000?"; + mes "Do you want to go back to Alberta?"; next; - if(select("Yes:No")==2) { + 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 "^C35817Dewata^000000 Island still has more to offer."; + mes "Have some more fun before you go."; + mes "^8B4513Dewata^000000 Island still has more to offer."; close; } - mes "[Alberta Sailor]"; - mes "I hope you had a lot of fun on your trip to ^C35817Dewata^000000 Island."; - close2; - warp "alberta",235,44; - end; } -dewata,235,56,4 script Gatekeeper of Krakatau#1 534,{ - mes "[Gatekeeper of Krakatau Volcano]"; - mes "^C35817Krakatau Volcano^000000 is a very dangerous area"; - mes "I cannot allow anyone to go inside."; - next; - if (checkquest(9162)>=0 && countitem(11533)) { - select("^0000FFTribal Chief Paiko^000000"); - mes "[Gatekeeper of Krakatau Volcano]"; - mes "Oh! I didn't know about that!"; - mes "This is some of the best news"; - mes "I have heard recently."; +// Dewata Legend Quest +//============================================================ +dew_fild01,57,274,0 script #hideout_legend 111,6,6,{ +OnTouch: + if (BaseLevel > 59 && dew_legend < 1) { + mes "- You hear a faint conversation going on inside. -"; next; - mes "[Gatekeeper of Krakatau Volcano]"; - mes "What is this wonderful smell?"; - mes "Of course, it's our ^4AA02CSatay^000000!"; - mes "I was sightly hungry..."; - mes "so this should fill me up."; + mes "[Tribal Chief Paiko]"; + mes "Once again, I have failed to"; + mes "make the ^8B4513Jaty Crown^000000..."; + mes "I was sure that I could do it this time."; + mes "Why won't it work?"; next; - mes "[Gatekeeper of Krakatau Volcano]"; - mes "Since you came all the way here"; - mes "I will share an interesting story."; + mes "[Sage Kasyapa]"; + mes "The ^006400Jaty Crown^000000 has been known to have miraculous power since the time of the ancients."; + mes "But it's been said only those who've earned a tribal honor"; + mes "would be able to use it."; next; - mes "[Gatekeeper of Krakatau Volcano]"; - mes "It has become a lost tradition in"; - mes "recent years, but until 10"; - mes "years ago in order to become a"; - mes "^C35817Jaty Tribe^000000 warrior you had to"; - mes "climb ^C35817Krakatau Volcano^000000 to prove your endurance."; + mes "[Tribal Chief Paiko]"; + mes "^0000FFKasyapa^000000!!"; + mes "Are you saying that even though I am the leader of our tribe, I have not yet received that honor?"; next; - mes "[Gatekeeper of Krakatau Volcano]"; - mes "The eyes of those warriors were"; - mes "anxious yet determined before going"; - mes "up ^C35817Krakatau Volcano^000000."; + mes "[Sage Kasyapa]"; + mes "Calm down ^0000FFChief Paiko^000000..."; + mes "As the Great and Powerful Chief, you should be more than enough to qualify."; next; - mes "[Gatekeeper of Krakatau Volcano]"; - mes "I still cannot forget that look in"; - mes "their eyes. I feel a little bit of"; - mes "the same emotion from you, Adventurer."; + mes "[Sage Kasyapa]"; + mes "In my younger years I could have easily solved the problem but this old man's mind cannot figure out what's missing."; next; - mes "[Gatekeeper of Krakatau Volcano]"; - mes "I want you to live long and"; - mes "prosper. Be heathly and safe."; - mes "Travel so you can live to tell"; - mes "the tale of your adventures."; - changequest 9162,9163; - delitem 11533,1; + mes "The conversation trails off and you don't hear any more."; + set dew_legend,1; close; } - if(select("Allow me through:I don't want to go in")==1) { - if(dewata_legend >= 5) { - mes "[Gatekeeper of Krakatau Volcano]"; - mes "You are the traveler who was"; - mes "acknowledged by tribe leader as a"; - mes "friend of the tribe and received a"; - mes "^4AA02CShining Cendrawasih Feather.^000000"; - next; - mes "[Gatekeeper of Krakatau Volcano]"; - mes "I will let you pass, but"; - mes "^C35817Krakatau Volcano^000000 is"; - mes "dangerous so please take care."; - close2; - warp "dew_dun01",289,160; - end; + end; +} + +dew_in01,15,33,0 script #hidein_legend 111,5,5,{ +OnTouch: + if (dew_legend == 3) { + mes "Kasyapa and Chief Paiko begin talking as you are about to leave..."; + next; + mes "[Sage Kasyapa]"; + mes "I am unsure of what is missing but that traveler could be big help in creating the ^006400Jaty Crown^000000."; + mes "Of this I am certain."; + mes "The reason is..."; + next; + mes "[Tribal Chief Paiko]"; + mes "What is the reason?"; + next; + mes "[Sage Kasyapa]"; + mes "This ^8B4513Cendrawasih Feather^000000 was owned by our first tribe leader when the crown was originally created."; + mes "It was stored as a treasured heirloom of our tribe."; + next; + mes "[Sage Kasyapa]"; + mes "But when the traveler came near, this feather started to shine, and I kept thinking that this is not just a coincidence."; + mes "This person will be the key to assisting us to make the crown."; + next; + mes "[Tribal Chief Paiko]"; + mes "Could it happen for sure?"; + mes "If so, I will give everything"; + mes "to support them..."; + set dew_legend,4; + close; + } + end; +} + +dew_in01,22,48,3 script Sage Kasyapa#dew 541,{ + if (dew_legend == 0) { + mes "[Sage Kasyapa]"; + mes "Ah, a stranger to our land."; + mes "Are you lost?"; + mes "I hope you did not encounter much danger on your journey here."; + close; + } else if (dew_legend == 1) { + mes "[Sage Kasyapa]"; + mes "Your earnest expression tells me"; + mes "that you have something to say"; + mes "you might as well tell me what it is."; + next; + if(select("I overheard talk about a crown?:Just looking for the gift shop.") == 2) { + mes "[Tribal Chief Paiko]"; + mes "Really?"; + mes "It looked as if your eyes"; + mes "wanted to say something."; + close; } - mes "[Gatekeeper of Krakatau Volcano]"; - mes "^C35817Krakatau Volcano^000000 is"; - mes "a very dangerous area,"; - mes "so I can't allow you in"; - mes "unless you qualify for entry."; + mes "[Sage Kasyapa]"; + mes "Oh, you heard about the crown, eh?"; + mes "Ah, this old man's got loose lips"; + mes "we should have used a little more discretion..."; + next; + select("Anything I can do to help?"); + mes "[Sage Kasyapa]"; + mes "I can see in your eyes"; + mes "that you are a trustworthy sort... but..."; + next; + mes "There is a brief twinkling of light ^0000FFKasyapa^000000 all of sudden seems to be taken aback."; + specialeffect2 EF_PNEUMA; + next; + mes "[Sage Kasyapa]"; + mes "Ah, the feather......!"; + mes "Instead of talking to me, why don't you talk to our tribe's leader, ^0000FFPaiko^000000."; + set dew_legend,2; + close; + } else if (dew_legend == 2) { + mes "[Sage Kasyapa]"; + mes "Instead of talking to me, why don't you talk to our tribe's leader, ^0000FFChief Paiko^000000."; + close; + } else if (dew_legend == 3) { + mes "[Sage Kasyapa]"; + mes "If that's what Chief ^0000FFPaiko^000000 wants"; + mes "I don't have any more to say."; + mes "Hmm...."; + mes "but...... this...."; + next; + mes "[Sage Kasyapa]"; + mes "Nevermind, please have a good trip."; + close; + } else if (dew_legend == 4) { + mes "[Sage Kasyapa]"; + mes "I've been wating for you traveler."; + mes "Our tribe's leader has a favor"; + mes "to ask of you."; + mes "Please talk to Chief ^0000FFPaiko^000000."; + close; + } else if (dew_legend == 5) { + mes "[Sage Kasyapa]"; + mes "I heard you could help making a crown"; + mes "for our tribe leader."; + mes "You will certainly be"; + mes "a big help to us..."; + mes "I trust my own eyes!"; + mes "And also the sparkling light..."; + next; + mes "[Sage Kasyapa]"; + mes "The symbol of Dayak Tribe"; + mes "and a famous mystical creature."; + mes "Find 15 of ^006400Cendrawasih Feather^000000"; + mes "and bring them to Chief ^0000FFPaiko^000000."; + close; + } else if (dew_legend == 6) { + mes "[Sage Kasyapa]"; + mes "With the feathers that you have brought creating a ^006400Jaty Crown^000000 is going much more smoothly."; + mes "Go see Chief ^0000FFPaiko^000000."; + close; + } else if (dew_legend == 7) { + mes "[Sage Kasyapa]"; + mes "There is somehing"; + mes "I wish to give to you"; + mes "as a reward for your help."; + mes "Please, it would honor us if you would take it."; + next; + if (checkweight(6406,1) == 0) { + if (Weight + getiteminfo(6406,6) > MaxWeight) { + mes "[Sage Kasyapa]"; + mes "You are carrying too much weight over the limit."; + mes "I cannot get you your reward unless you reduce the amount of weighty items you are carrying."; + close; + } else { + mes "[Sage Kasyapa]"; + mes "You are carrying too much in your inventory."; + mes "I will give you the reward once you unburden yourself and return."; + close; + } + } + set dew_legend,8; + getitem 6406,1; //Cendrawasih_SF + completequest 9157; + erasequest 9157; + mes "[Sage Kasyapa]"; + mes "The reason I asked you to embark on this important mission is because of this feather."; + mes "Handed down from generation to generation the legendary origin of the crown is this feather..."; + specialeffect2 EF_PNEUMA; + next; + mes "[Sage Kasyapa]"; + mes "I saw this feather begin to shine when you came here."; + mes "I knew you were a person who"; + mes "would endeavour to help us."; + mes "On behalf of my people"; + mes "I give my thanks."; + next; + mes "[Sage Kasyapa]"; + mes "Also, the feather you received isn't just valuable on its own, it also is an acknowledgment from our tribe."; + next; + mes "[Sage Kasyapa]"; + mes "Like ^8B4513Krakatau^000000 Volcano, when you venture into dangerous areas like that, if you display this feather, you can get help from the tribe."; + mes "Anyway, I really thank you."; + close; + } else { + mes "[Sage Kasyapa]"; + mes "Also, the feather you received isn't just valuable on its own, it also is an acknowledgment from our tribe."; + next; + mes "[Sage Kasyapa]"; + mes "Like ^8B4513Krakatau^000000 Volcano, when you venture into dangerous areas like that, if you display this feather, you can get help from the tribe."; + mes "Anyway, I really thank you."; close; } - mes "[Gatekeeper of Krakatau Volcano]"; - mes "You have choosen wisely."; - mes "^C35817Krakatau Volcano^000000 is"; - mes "an extremely dangerous area."; - close; } -dew_dun01,292,164,4 script Gatekeeper of Krakatau#2 541,{ - mes "[Gatekeeper of Krakatau Volcano]"; - mes "Want to go back to Dewata?"; +dew_in01,15,49,4 script Tribal Chief Paiko#dew 540,{ + if (dew_legend < 2) { + mes "[Tribal Chief Paiko]"; + mes "I am the leader of this tribe"; + mes "^0000FFPaiko^000000"; + close; + } else if (dew_legend == 2) { + mes "[Tribal Chief Paiko]"; + mes "I can see you are a traveler,"; + mes "from another land."; + mes "What brings you here?"; + next; + if(select("I overheard the story by accident:I have nothing to say.") == 2) { + mes "[Tribal Chief Paiko]"; + mes "You are wasting your time here."; + mes "There are many other attractions around our village."; + close; + } + mes "[Tribal Chief Paiko]"; + mes "What do you mean?"; + mes "You heard the story about a crown?"; + mes "You must have heard incorrectly."; + mes "I have nothing to say to you"; + mes "regarding such things."; + next; + select("Kasyapa was talking about a crown..."); + mes "[Tribal Chief Paiko]"; + mes "It seems that ^0000FFKasyapa^000000 has told you a tall tale and I appreciate your concern about our affairs."; + next; + mes "[Tribal Chief Paiko]"; + mes "It's not something that a stranger like you could understand so make like a tree, and get out of here."; + set dew_legend,3; + close; + } else if (dew_legend == 3) { + mes "[Tribal Chief Paiko]"; + mes "There are many other attractions around our village."; + next; + mes "[Tribal Chief Paiko]"; + mes "If it's about the crown I want you to stop asking about it."; + mes "Please leave."; + close; + } else if (dew_legend == 4) { + mes "[Tribal Chief Paiko]"; + mes "I've been wating for you, traveler"; + mes "according to sage ^0000FFKasyapa^000000"; + mes "You are willing to help us make a crown for our tribe."; + select("Crown-a-whatsis?"); + mes "[Tribal Chief Paiko]"; + mes "The Tribe leader has the duty of making and protecting the ^006400Jaty Crown^000000 to uphold the tribe's pride and honor."; + next; + mes "[Tribal Chief Paiko]"; + mes "But, ever since I became the tribe leader there have been difficulties making it."; + next; + mes "[Tribal Chief Paiko]"; + mes "According to Sage ^0000FFKasyapa^000000, you can help us create a ^006400Jaty Crown^000000."; + next; + mes "[Tribal Chief Paiko]"; + mes "Do you think you can help?"; + mes "Your efforts will not go unrewarded."; + next; + if(select("Ok, I will help:I am sorry, I cannot help now.") == 2) { + mes "[Tribal Chief Paiko]"; + mes "That's really sad."; + mes "If you ever change"; + mes "your mind, please"; + mes "come again."; + mes "I will be waiting."; + close; + } + mes "[Tribal Chief Paiko]"; + mes "Many thanks to you, stranger"; + mes "If Kasyapa trusts you then I know that you can help us make a"; + mes "^006400Jaty Crown^000000"; + mes "What you can do to"; + mes "help us is very simple."; + next; + mes "[Tribal Chief Paiko]"; + mes "The symbol of the Jaty Tribe is also a famous mystical creature."; + mes "Find 15 ^006400Cendrawasih Feather^000000s and bring them to me."; + mes "Our faith is in you, stranger."; + set dew_legend,5; + setquest 9155; + close; + } else if (dew_legend == 5) { + if (countitem(6405) < 15) { + mes "[Tribal Chief Paiko]"; + mes "It seems that you have yet to find the materials to make the ^006400Jaty Crown^000000."; + next; + mes "[Tribal Chief Paiko]"; + mes "The symbol of the Dayak Tribe is also a famous mystical creature."; + mes "Find 15 ^006400Cendrawasih Feather^000000s and bring them to me."; + close; + } + set dew_legend,6; + delitem 6405,15; //Cendrawasih_F + changequest 9155,9156; + mes "[Tribal Chief Paiko]"; + mes "Oh! You've found all of them. Look! The feathers you have found are sparkling. Aren't they?"; + mes "Alright, let me begin crafting the ^006400Jaty Crown^000000 I feel that I am ready."; + next; + mes "Suddenly, a large noise begins to boom as you and ^0000FFPaiko^000000 are surrounded by warm and bright sparkling energy like a thousand tinkling fireflies."; + specialeffect2 EF_BASH3D2; + close; + } else if (dew_legend == 6) { + mes "[Tribal Chief Paiko]"; + mes "With your help the ^006400Jaty Crown^000000 is coming along nicely."; + mes "It will take some time until the task is finished so please wait a little."; + next; + mes "[Tribal Chief Paiko]"; + mes "After the ^006400Jaty Crown^000000 is complete, there is a gift that I want to give to you."; + next; + mes "[Tribal Chief Paiko]"; + mes "Ah, also you should go see Sage ^0000FFKasyapa^000000 who really wants to reward you with something."; + set dew_legend,7; + changequest 9156,9157; + close; + } else if (dew_legend == 7) { + mes "[Tribal Chief Paiko]"; + mes "Ah, you should talk to Sage ^0000FFKasyapa^000000 who really wants to reward you with something."; + close; + } else if (dew_legend == 8) { + mes "[Tribal Chief Paiko]"; + mes "With your support I am not worrying about creating the ^006400Jaty Crown^000000."; + mes "I really appreciate it."; + next; + mes "[Tribal Chief Paiko]"; + mes "A delightful day like today should be celebrated. Don't you think?"; + mes "So I prepared to sample the special food of our tribe, called ^006400Satay^000000"; + next; + mes "[Tribal Chief Paiko]"; + mes "But, this ^006400Satay^000000 is too tasty for just the two of us to share so we would like to share it with people out in the village."; + next; + mes "[Tribal Chief Paiko]"; + mes "What do you think?"; + mes "In order to share news that"; + mes "the ^006400Jaty Crown^000000 is being successfully crafted and to share the delicious ^006400Satay^000000 with our friends, I need your help."; + next; + mes "[Tribal Chief Paiko]"; + mes "Are you up for a short delivery job?"; + next; + if(select("Of course, I can help:Sorry, I am too busy to help.") == 2) { + mes "[Tribal Chief Paiko]"; + mes "I believed you would definitely help me..."; + mes "It's a little disappointing."; + mes "If you ever change your mind"; + mes "come speak with me again."; + close; + } + mes "[Tribal Chief Paiko]"; + mes "Oh!, I knew you'd help."; + mes "Our tribe's warriors come to my mind before we share with anyone else."; + mes "Please share Satay with the warriors in the village."; + next; + mes "[Tribal Chief Paiko]"; + mes "For the moment I will give you 2 ^006400Satay^000000."; + next; + mes "[Tribal Chief Paiko]"; + mes "You may be tempted by the aroma of our ^006400Satay^000000 and you may eat one but, if you eat more than that you won't be able to share the ^006400Satay^000000"; + mes "with our village friends."; + set dew_legend,9; + getitem 11533,2; //Satay + setquest 9158; + close; + } else if (dew_legend == 9) { + callsub L_Delivery,0; + mes "[Tribal Chief Paiko]"; + mes "Our tribe warriors come to my mind to deliver the food to share Satay with warriors in the village."; + close; + } else if (dew_legend == 10) { + mes "[Tribal Chief Paiko]"; + mes "Ah, the next person whom I want the ^006400Satay^000000 delivered to is someone who stays across from the river, the ^0000FFTribe Manager^000000."; + next; + mes "[Tribal Chief Paiko]"; + mes "To this end, I will give you 2 more servings of ^006400Satay^000000."; + next; + mes "[Tribal Chief Paiko]"; + mes "If you are attracted by the aroma of the ^006400Satay^000000, you may eat one but, if you eat more you won't be able to share ^006400Satay^000000 with our friends."; + set dew_legend,11; + getitem 11533,2; //Satay + changequest 9159,9160; + close; + } else if (dew_legend == 11) { + callsub L_Delivery,0; + mes "[Tribal Chief Paiko]"; + mes "Second person to be delivered ^006400Satay^000000 is someone who stays across the river."; + next; + mes "That is the ^0000FFTribe Manager^000000."; + mes "Please deliver it to them before it cools down."; + close; + } else if (dew_legend == 12) { + mes "[Tribal Chief Paiko]"; + mes "Oh, you have delivered it already?"; + mes "The third person to deliver the ^006400Satay^000000 to is the ^0000FFGatekeeper of Krakatau Volcano^000000."; + next; + mes "[Tribal Chief Paiko]"; + mes "I'll give you 2 more servings of ^006400Satay^000000 for this delivery."; + next; + mes "[Tribal Chief Paiko]"; + mes "And just like before, don't give into the smell and try not to eat the ^006400Satay^000000."; + set dew_legend,13; + getitem 11533,2; //Satay + changequest 9161,9162; + close; + } else if (dew_legend == 13) { + callsub L_Delivery,1; + mes "[Tribal Chief Paiko]"; + mes "The third person to deliver the ^006400Satay^000000 to is the ^0000FFGatekeeper of Krakatau Volcano^000000."; + mes "Please deliver it before it cools down."; + close; + } else if (dew_legend == 14) { + mes "[Tribal Chief Paiko]"; + mes "Oh, You have delivered it"; + mes "Last person to deliver ^006400Satay^000000 to is the ^0000FFBorobudur Temple Manager^000000 who is on ^8B4513Dewata Island^000000."; + next; + mes "[Tribal Chief Paiko]"; + mes "I will give you 2 more ^006400Satay^000000"; + next; + mes "[Tribal Chief Paiko]"; + mes "And just like before, don't give into the smell and try not to eat the ^006400Satay^000000."; + set dew_legend,15; + getitem 11533,2; //Satay + changequest 9163,9164; + close; + } else if (dew_legend == 15) { + callsub L_Delivery,1; + mes "[Tribal Chief Paiko]"; + mes "The last person to be delivered ^006400Satay^000000 is"; + mes "^0000FFBorobudur Temple Manager^000000 who is in"; + mes "^8B4513Dewata Island^000000."; + mes "Please deliver it before it cools down."; + close; + } else if (dew_legend == 16) { + mes "[Tribal Chief Paiko]"; + mes "Oh, you have delivered it."; + mes "You've done good work."; + mes "It has been a good time for all of us to share and enjoy this happy occasion together. Thank you."; + next; + mes "[Tribal Chief Paiko]"; + mes "While you were on the way back from delivering the ^006400Satay^000000,"; + mes "the Jaty Crown has been made. Its ambience and radiance make it a truly flawless crown."; + next; + mes "[Tribal Chief Paiko]"; + mes "Also, you brought more than enough materials so after making the ^006400Jaty Crown^000000, we were able to craft a similar one for you to keep."; + next; + mes "[Tribal Chief Paiko]"; + mes "It's not the same as the original, but it has its own specialty. It is my reward to thank you for what you have done."; + next; + if (checkweight(18520,1) == 0) { + mes "[Tribal Chief Paiko]"; + mes "You are carrying too much weight to receive your reward."; + mes "Please reduce your carried weight and come back again."; + close; + } + mes "[Tribal Chief Paiko]"; + mes "Made with our tribe's secret marinade try the ^006400Satay^000000."; + mes "It was made with all our heart, especially for you, but don't forget to share it with friends."; + set dew_legend,17; + getitem 18520,1; //Jaty_C + getitem 11533,5; //Satay + completequest 9165; + erasequest 9165; + next; + } + mes "[Tribal Chief Paiko]"; + mes "You've done good work."; + mes "Whatever you do in the future, I wish for you to have a life which is full of fortune and joy."; + mes "As Chief of the ^8B4513Jaty Tribe^000000, I wish you the best of luck!!"; + close; +L_Delivery: + mes "[Tribal Chief Paiko]"; + if (getarg(0) == 0) { + mes "It seems that you have yet to deliver the ^006400Satay^000000."; + mes "Did you run into any problems?"; + } else { + mes "Haven't you delivered the ^006400Satay^000000 yet?"; + mes "Anything go wrong?"; + } next; - if(select("Yes:No")==2) { - mes "[Gatekeeper of Krakatau Volcano]"; - mes "^C35817Krakatau Volcano^000000 is"; - mes "a dangerous place."; - mes "You should go back now."; + switch(select("I ate them all.:Deliver to whom.:Nothing.")) { + case 1: + mes "[Tribal Chief Paiko]"; + mes "Huh... so you couldn't resist yourself, eh?"; + mes "Don't blame yourself too much. It is difficult to resist the ^006400Satay^000000's addicting aroma."; + next; + mes "[Tribal Chief Paiko]"; + mes "Our tribe is short on food supplies so we can't give out more of our ^006400Satay^000000, but there's a rumor that the restaurant owner in Dewata Island is making and selling their own ^006400Satay^000000."; + next; + mes "[Tribal Chief Paiko]"; + mes "It is not as tasty as our tribe's recipe, but this is an urgent task so just find it and deliver it."; + close; + case 2: + return; + case 3: + mes "[Tribal Chief Paiko]"; + mes "Alright! Deliver it right now!"; close; } - close2; - warp "dewata",232,53; - end; } -dew_fild01,78,288,5 script Jaty Tribe Warrior 541,{ +dew_fild01,78,288,6 script Jaty Tribe Warrior#dew 541,{ mes "[Jaty Tribe Warrior]"; mes "We revere strength and bravery."; - mes "We are the ^FF0000Jaty^000000 Tribe."; - if (checkquest(9158)==-1 || !countitem(11533)) close; + mes "We are ^FF0000Jaty^000000 Tribe."; + if (dew_legend != 9 || !countitem(11533)) + close; next; mes "[Jaty Tribe Warrior]"; mes "My trained eyes see that"; - mes "you are about to say something."; - mes "Speak, state your business."; + mes "you seem about to say something."; + mes "Speak, and state your business."; next; select("^0000FFTribal Chief Paiko^000000"); mes "[Jaty Tribe Warrior]"; @@ -168,357 +589,301 @@ dew_fild01,78,288,5 script Jaty Tribe Warrior 541,{ mes "I express my thanks to you."; next; mes "[Jaty Tribe Warrior]"; - mes "Also, thank you for the ^4AA02CSatay^000000."; - mes "My mouth is already watering..."; - mes "There is something I would like"; - mes "to share with you regarding our tribe."; + mes "Also, thank you for the ^006400Satay^000000"; + mes "My mouth is already watering thank you."; + mes "There is something I would like to share with you regarding our tribe."; + delitem 11533,1; //Satay + set dew_legend,10; + changequest 9158,9159; next; mes "[Jaty Tribe Warrior]"; - mes "Unlike the ancient times when our"; - mes "tribe's warriors fought and shed"; - mes "their blood, the world has become"; - mes "more peaceful nowadays. But our"; - mes "tribe's territory has shrunk drastically."; + mes "Unlike the ancient times when our tribe's warriors fought and shed their blood the world has become more peaceful nowadays but our tribe's territory has shrunk drastically."; next; mes "[Jaty Tribe Warrior]"; - mes "Nevertheless, we will continue"; - mes "keeping the warrior tradition of"; - mes "our tribe alive, and we will"; - mes "preserve the pride we have earned"; - mes "through the sacrifice of past warriors."; + mes "Nevertheless we will continue keeping the warrior tradition of our tribe alive and we will preserve the pride we have earned through the sacrifice of those past warriors."; next; mes "[Jaty Tribe Warrior]"; - mes "I hope that your perserverance and"; - mes "pride remain with you in your travels."; - changequest 9158,9159; - delitem 11533,1; + mes "I hope that your perserverance and pride remain with you in your travels."; close; } -dew_fild01,185,300,4 script Tribe Manager 541,{ +dew_fild01,185,300,6 script Tribe Manager#dew 541,{ mes "[Tribe Manager]"; - mes "Keeping our culture and tradition"; - mes "is very important."; - if(checkquest(9160)==-1 || !countitem(11533)) { - mes "Although it is a little boring..."; + mes "Keeping our culture and tradition is very important."; + if (dew_legend != 11 || !countitem(11533)) { + if (dew_legend < 11) + mes "Although it is a little boring..."; close; } next; mes "[Tribe Manager]"; - mes "It seems to me that you have"; - mes "something to say, don't you?"; + mes "It seems to me that you have something"; + mes "to say, don't you?"; next; select("^0000FFTribal Chief Paiko^000000"); mes "[Tribe Manager]"; mes "I didn't know that there was"; mes "such an effort being put forth"; mes "and that you took a key role in the effort..."; - mes "You are the hero of the ^C35817Jaty Tribe^000000!"; + mes "You are the hero of the^8B4513Jaty Tribe^000000."; next; mes "[Tribe Manager]"; mes "Wow~ the savory scent of"; - mes "delicious homemade ^4AA02CSatay^000000!"; + mes "delicious homemade ^006400Satay^000000!!"; mes "Thank you for the meal."; mes "Please give my regards"; mes "to our Tribe Leader."; + delitem 11533,1; //Satay + set dew_legend,12; + changequest 9160,9161; next; mes "[Tribe Manager]"; mes "There are few contacts between"; - mes "^C35817Dewata Island^000000 and ^C35817Jaty Tribe^000000."; + mes "^8B4513Dewata Island^000000 and ^8B4513Jaty tribe^000000."; mes "We used to have a stronger bond"; mes "in older times."; next; mes "[Tribe Manager]"; - mes "But with the new culture and"; - mes "foreigners flowing in,"; - mes "^C35817Dewata Island^000000 has became a"; - mes "tourist attraction and we"; - mes "have lost touch with them."; + mes "But with new culture and foreigners flowing in"; + mes "^8B4513Dewata Island^000000 has became a tourist attraction and we have lost touch with them."; next; mes "[Tribe Manager]"; - mes "The tourist attraction has"; - mes "expanded continously, but the"; - mes "reason it hasn't influenced us"; - mes "here is due to this small temple"; - mes "which I am managing."; + mes "The tourist attraction has expanded continously but the reason it hasn't influenced us here is due to this small temple which I am managing."; next; mes "[Tribe Manager]"; - mes "I couldn't let our tradition fade"; - mes "away like that so easily."; - mes "I hope keeping our tradition and"; - mes "culture alive lets people know how"; - mes "important these things are to us."; + mes "I couldn't let our tradition fade away like that easily."; + mes "I hope keeping our tradition and culture alive lets people know how important these things are to us."; next; mes "[Tribe Manager]"; - mes "From now on, I hope people from"; - mes "^C35817Dewata Island^000000 and ^C35817Jaty"; - mes "Tribe^000000 can get along and interact"; - mes "more often."; - changequest 9160,9161; - delitem 11533,1; + mes "From now on, I hope people from ^8B4513Dewata Island^000000 and ^8B4513Jaty Tribe^000000 can get along and interact more often."; close; } -// NPC - Memo -//============================================================ - -dewata,109,262,4 script Memo#dew_drink 534,{ - if(dewata_oldman >= 1) { - if (checkquest(5040) >= 0) { - mes "[Memo]"; - mes "So, what did Lero say?"; - next; - select("Palm tree... became."); - mes "- You explain the situation to"; - mes "Mr. Memo -"; - next; - mes "[Memo]"; - mes "Lero said sorry?"; - mes "Hmmm, it's okay."; - next; - mes "[Memo]"; - mes "That must be ^0000FFPoby^000000. If he has"; - mes "been hurt, that's why there wasn't"; - mes "any message. Lero actually"; - mes "cares about him a lot..."; - next; - changequest 5040,5041; - } - if (checkquest(5041) >= 0) { - mes "[Memo]"; - mes "He might be troublesome,"; - mes "but please visit Jaty village."; - mes "Lero must complete the oil."; - next; - mes "[Memo]"; - mes "If it is not, wait there and bring"; - mes "^FF000030 Bottle of Oil^000000 to me."; +//Original name: Gatekeeper of Krakatau Volcano +dewata,235,56,4 script Gatekeeper of Krakatau#1 534,{ + mes "[Gatekeeper of Krakatau Volcano]"; + mes "^8B4513Krakatau Volcano^000000 is"; + mes "a very dangerous area"; + mes "I cannot allow anyone to go in there."; + next; + if (dew_legend == 13 && countitem(11533)) + set .@menu$, ":^0000FFTribal Chief Paiko^000000"; + switch(select("Allow me through:I don't want to go in"+.@menu$)) { + case 1: + if (dew_legend < 8) { + mes "[Gatekeeper of Krakatau Volcano]"; + mes "^8B4513Krakatau Volcano^000000 is"; + mes "a very dangerous area"; + mes "so I can't allow you in"; + mes "unless you qualify for entry."; close; } - if (checkquest(5042) >= 0 && countitem(6401) >= 30) { - mes "[Memo]"; - mes "You brought the oil. Good job, and thank you."; - next; - mes "[Memo]"; - mes "Excuse me, but I have an urgent"; - mes "matter to attend to. Wait for a bit,"; - mes "then talk to me when I'm done."; - delitem 6401,30; - changequest 5042,5043; - set dewata_oldman,2; - close; - } else if (checkquest(5043,PLAYTIME) == 2) { - mes "[Memo]"; - mes "Did I make you wait too long?"; - next; - mes "[Memo]"; - mes "My family has been making Arks for four generations."; - next; - mes "[Memo]"; - mes "Grandfather had a hard living"; - mes "since he didn't get many good sales."; - next; - mes "[Memo]"; - mes "Dewata island people do not drink"; - mes "much in the hot weather."; - next; - mes "[Memo]"; - mes "When I was young, Dewata"; - mes "developed as a tourist atrraction,"; - mes "and that's when the tour package"; - mes "Ark started selling well."; - next; - mes "[Memo]"; - mes "Good liquid needs fresh oil,"; - mes "I was able to make a liquid"; - mes "for ten years and deliver it all on time."; - next; - mes "[Memo]"; - mes "Because today's oil has not"; - mes "arrived on time, I think I might"; - mes "have a hard time."; - next; - mes "[Memo]"; - mes "You helped me make the liquid correctly."; - next; - mes "[Memo]"; - mes "This proverb '^0000FFMengatakan mudah,"; - mes "mengerjakan susah^000000.' means it is"; - mes "easy to say something, but hard to"; - mes "do anything."; - next; - mes "[Memo]"; - mes "In other words, it's easy to say"; - mes "that we'll help others but its hard"; - mes "to actually do the action."; - next; - emotion e_thx; - mes "[Memo]"; - mes "You really did a great job. I like"; - mes "you because you are different from"; - mes "today's youngins."; - getitem 617,1; - getexp 50000,10000; - changequest 5043,5044; - next; - mes "[Memo]"; - mes "Will you help me with my work"; - mes "from time to time?"; - mes "I will pay you for what you do for me."; - close; - } else if (checkquest(5043,PLAYTIME) != -1) { - mes "[Memo]"; - mes "... ... ..."; - next; - mes "- Memo is making an ark -"; - close; - } else if (checkquest(5044,PLAYTIME) == 2) { - mes "[Memo]"; - mes "^FF0000" + strcharinfo(0) +"^000000? -"; - next; - if(select("Just came by to say hello...:I will help you.")==1) { - mes "[Memo]"; - mes "I guess you are busy."; - mes "If possible, will you get the oil"; - mes "from Lero? I appreciate it..."; - close; - } - mes "[Memo]"; - mes "Thank you, I know you're busy"; - mes "and helping me can be a chore."; - next; - mes "[Memo]"; - mes "Can you help Lero and bring back palm tree oil...?"; - erasequest 5044; - setquest 5045; - close; - } else if (checkquest(5044,PLAYTIME) != -1) { + mes "[Gatekeeper of Krakatau Volcano]"; + mes "You are the traveler who was acknowledged by tribe leader as a friend of the tribe and received a ^006400Shining Cendrawasih Feather^000000."; + next; + mes "[Gatekeeper of Krakatau Volcano]"; + mes "Well, I will let you pass but ^8B4513Krakatau Volcano^000000 is dangerous so please take care."; + close2; + warp "dew_dun01",289,160; + end; + case 2: + mes "[Gatekeeper of Krakatau Volcano]"; + mes "You have chosen wisely."; + mes "^8B4513Krakatau Volcano^000000 is"; + mes "an extremely dangerous area."; + close; + case 3: + mes "[Gatekeeper of Krakatau Volcano]"; + mes "Oh! I didn't know about that!"; + mes "This is some of the best news"; + mes "I have heard recently."; + next; + mes "[Gatekeeper of Krakatau Volcano]"; + mes "Um, what is this wonderful smell?"; + mes "Of course, it's our ^006400Satay^000000!"; + mes "I was slightly hungry"; + mes "so this should fill me up."; + delitem 11533,1; //Satay + set dew_legend,14; + changequest 9162,9163; + next; + mes "[Gatekeeper of Krakatau Volcano]"; + mes "Since you came all the way here"; + mes "I will share you an interesting story."; + next; + mes "[Gatekeeper of Krakatau Volcano]"; + mes "It has become a lost tradition in recent years but until 10 or more years ago in order to become a ^8B4513Jaty Tribe^000000 warrior you had to climb Krakatau Volcano to prove your endurance."; + next; + mes "[Gatekeeper of Krakatau Volcano]"; + mes "The eyes of those warriors were anxious yet determined before going up ^8B4513Krakatau Volcano^000000."; + next; + mes "[Gatekeeper of Krakatau Volcano]"; + mes "I still cannot forget that look in their eyes I feel a little bit the same emotion from you Adventurer."; + next; + mes "[Gatekeeper of Krakatau Volcano]"; + mes "I want you to live long and prosper."; + mes "Be healthy and safe, traveler so you can live to tell the tale of your adventures."; + close; + } +} + +//Original name: Gatekeeper of Krakatau Volcano +dew_dun01,292,164,4 script Gatekeeper of Krakatau#2 541,{ + mes "[Gatekeeper of Krakatau Volcano]"; + mes "Want to go back"; + mes "to Dewata?"; + next; + switch(select("Yes:No")) { + case 1: + close2; + warp "dewata",232,53; + end; + case 2: + mes "[Gatekeeper of Krakatau Volcano]"; + mes "^8B4513Krakatau Volcano^000000 is"; + mes "a dangerous place."; + mes "You should go back now."; + close; + } +} + +dewata,78,192,6 script Borobudur Temple Manager 536,{ + mes "[Borobudur Temple Manager]"; + mes "The weather today is so beautiful."; + if (dew_legend != 15 || !countitem(11533)) + close; + next; + mes "[Borobudur Temple Manager]"; + mes "By the way, do you have"; + mes "something to tell me...?"; + next; + select("^0000FFTribal Chief Paiko^000000"); + mes "[Borobudur Temple Manager]"; + mes "I never knew such a thing had happened."; + mes "If you had told me in advance, I could have helped at least a little bit."; + mes "Still things have gone well with your help."; + next; + mes "[Borobudur Temple Manager]"; + mes "Ah, it is the ^006400Satay^00000 that I sampled when the tribe invited me some time ago."; + next; + mes "[Borobudur Temple Manager]"; + mes "Good~~ This is the same taste I remember."; + mes "To give my thanks I will pass along a story that may interest you"; + delitem 11533,1; //Satay + set dew_legend,16; + changequest 9164,9165; + next; + mes "[Borobudur Temple Manager]"; + mes "Legend tells of a strange bird called ^FF0000Garuda^000000."; + mes "It has the torso, arms and legs of a human but has the head and beak of an eagle."; + next; + mes "[Borobudur Temple Manager]"; + mes "The Story of this bird describes it helping the gods exterminate wicked demons and snakes."; + next; + mes "[Borobudur Temple Manager]"; + mes "The tale has been passed down from generation to generation."; + mes "Quite interesting, isn't it?"; + next; + mes "[Borobudur Temple Manager]"; + mes "I am sure in the village of the ^8B4513Jaty Tribe^000000 there are many legendary stories."; + mes "When I get to meet the Chief, I will hear many such stories for sure."; + next; + mes "[Borobudur Temple Manager]"; + mes "I am not certain of when we will cross paths again but I hope we will meet again someday."; + mes "I wish you a pleasant journey, young traveler."; + close; +} + +// Help Out the Old Man +//============================================================ +dewata,109,262,4 script Memo#dew_drink 534,{ + if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) { + if (dew_drink) { mes "[Memo]"; - mes "Will you help me tomorrow?"; - mes "Poby still has a back pain."; - mes "Backaches don't just go away"; - mes "after one day..."; + mes "Why are you carrying so much? Doesn't that hurt your back?"; close; - } else if (checkquest(5045) >= 0) { + } else { mes "[Memo]"; - mes "Can you help Lero and bring back palm tree oil...?"; + mes "Is it a trend for youngsters to carry heavy things?"; close; - } else if (checkquest(5047) >= 0 || checkquest(5049) >= 0 || checkquest(5051) >= 0) { - mes "[Memo]"; - mes "Oh, you brought the oil! Good job!"; - next; - mes "[Memo]"; - mes "You must have had a hard time"; - mes "bringing the oil, so take this drink."; - next; - mes "[Memo]"; - mes "Ark is famous for tourists. A guy"; - mes "bought many bottles by himself."; - next; + } + } + set .@playtime, checkquest(5044,PLAYTIME); + if (.@playtime == 0) { + mes "[Memo]"; + mes "Will you help me again tomorrow?"; + mes "Poby still has a back pain."; + mes "Backaches don't just go away after one day."; + close; + } else if (.@playtime == 1) { + erasequest 5044; + } else if (.@playtime == 2) { + completequest 5044; + erasequest 5044; + } + if (BaseLevel < 60) { + mes "[Memo]"; + mes "Dewata is always crowded but today is quiet."; + close; + } + if (dew_drink == 0) { + if (rand(3)) { mes "[Memo]"; - mes "Worrying that he'll drink alone?"; - mes "Too much drink always becomes poisonous."; + mes "Oh god! We don't have a message from the Jaty tribe yet."; + emotion e_swt2; next; mes "[Memo]"; - mes "I want you to help me this time."; + mes "They have never broken a promise for 10 years, I do not know the reason. What's happening?"; next; mes "[Memo]"; - mes "Poby still has back pains and it"; - mes "will take some days for him to"; - mes "recover."; - if (checkquest(5047)>=0) { - delitem 6401,10; - getitem 11534,2; - erasequest 5047; - setquest 5044; - } else if (checkquest(5049)>=0) { - delitem 6401,15; - getitem 11534,2; - erasequest 5049; - setquest 5044; - } else if (checkquest(5051)>=0) { - delitem 6401,20; - getitem 11534,2; - erasequest 5051; - setquest 5044; - } + mes "I might spoil all the liquid if it is going on like this."; + emotion e_sob; close; } mes "[Memo]"; - mes "So, what did Lero say?"; - next; - emotion e_dots; - mes "[Memo]"; - mes "... ... ..."; - next; - mes "[Memo]"; - mes "You didn't find out what happened?"; - next; - mes "[Memo]"; - mes "Find the best oil master. His name is ^0000FFLero^000000."; - close; - } - if(rand(1,5) == 1) { - mes "[Memo]"; - mes "What should I do? I still don't"; - mes "have any news from the Jaty tribe."; + mes "What should I do? I still don't have any news from the Jaty tribe."; + emotion e_swt2; next; mes "[Memo]"; mes "Oh no~ All the liquid is going to spoil..."; next; select("What happened?"); - emotion e_what; mes "[Memo]"; mes "Who are you?"; + emotion e_what; next; mes "[Memo]"; - mes "You're an adventurer, right?"; - mes "As you can see from the jars around"; - mes "me, I am making ^0000FFtraditional wine^000000"; - mes "for a living."; + mes "You are an adventurer, right?"; + mes "As you can see from the jars around me, I am making ^0000FFtraditional wine^000000 for a living."; next; mes "[Memo]"; - mes "Everyone knows about this, so"; - mes "^0000FFDewata Island^000000 attracts many"; - mes "tourists."; + mes "Everyone knows about this, so ^0000FFDewata island^000000 attracts many tourists."; next; mes "[Memo]"; - mes "Especially this traditional wine, which"; - mes "has been made for four generations!"; - mes "But ^FF0000Ark^000000 is short of supply."; - mes "Ark needs ^0000FFPalm Oils^000000, made"; - mes "from Oil Palm Fruit."; + mes "Especially this traditional wine, which has been made for four generations! But ^FF0000Ark^000000 is short of supply."; + mes "Ark needs ^0000FFPalm Oils^000000, made from Oil Palm Fruit."; next; mes "[Memo]"; - mes "Unfortunately, we haven't been"; - mes "getting ^0000FFPalm Oil^000000 from the Jaty"; - mes "tribe village lately."; - mes "The ingredients might be useless"; - mes "if it is delivered too late."; + mes "Unfortunately, we haven't been getting ^0000FFPalm Oil^000000 from the Jaty tribe village lately."; + mes "The ingredients might be useless if it is delivered too late."; next; - select("Sound like a big problem."); + select("Sounds like a big problem."); mes "[Memo]"; - mes "It is more of a problem than you"; - mes "think. Sales are credit, but if we"; - mes "do not make due today we'll lose"; - mes "the credit, the ingredients, and"; - mes "the tourists who do not get the"; - mes "Ark. So it's quite damaging."; + mes "It is more of a problem than you think. Sales are credit, but if we do not make due today, we'll lose the credit, the ingredients, and the tourists who do not get the Ark. So it's quite damaging."; next; - emotion e_dots; mes "[Memo]"; mes "... ..."; + emotion e_dots; next; emotion e_gasp; mes "[Memo]"; mes "Ah, right! Are you busy now?"; next; - if(select("Sorry, I am busy.:No, I am not busy.")==1) { - emotion e_pif; + if(select("Sorry, I am busy.:No, I am not busy.") == 1) { mes "[Memo]"; mes "Hmm, I have no choice."; - mes "You don't care that others are in"; - mes "trouble. What has this world come to?"; + mes "You don't care that others are in trouble. What has this world come to?"; + emotion e_pif; close; } mes "[Memo]"; @@ -526,148 +891,276 @@ dewata,109,262,4 script Memo#dew_drink 534,{ mes "So since you are wandering here..."; next; mes "[Memo]"; - mes "Do you mind if I ask a favor~?"; - mes "Actually, I have visited the Jaty"; - mes "Tribe, but this unmatured ^FF0000Ark^000000"; - mes "won't let me leave."; + mes "Do you mind if I ask you a favor~? Actually I have to visit the Jaty Tribe, but this unmatured ^FF0000Ark^000000 won't let me leave."; next; mes "[Memo]"; - mes "Will you go to Jaty village and"; - mes "ask ^0000FFLero^000000 what happened?"; + mes "Will you go to Jaty village and ask ^0000FFLero^000000 what happened?"; next; mes "[Memo]"; - mes "This guy has never broken a"; - mes "promise for 10 years, so he must have"; - mes "a really good reason not to come."; + mes "This guy has never broken a promise for 10 years, so he must have a really good reason not to come."; + set dew_drink,1; setquest 5035; - set dewata_oldman,1; next; mes "[Memo]"; mes "Find the best oil master."; - mes "His name again is ^0000FFLero^000000... Remember it!"; + mes "His name again is ^0000FFLero^000000."; close; - } else { - emotion e_swt2; + } else if (dew_drink < 5) { mes "[Memo]"; - mes "Oh God! We don't have a message"; - mes "from the Jaty tribe yet."; + mes "So, what did Lero say?"; next; mes "[Memo]"; - mes "They have never broken a promise"; - mes "for 10 years, and I don't know the"; - mes "reason. What's happening...?"; + mes "... ... ... ..."; + emotion e_dots; next; - emotion e_sob; mes "[Memo]"; - mes "I might soil all the liquid if it"; - mes "is going on like this."; + mes "You didn't find out what happened?"; + next; + mes "[Memo]"; + mes "Find the best oil master. His name is ^0000FFLero^000000."; close; - } -} - -// NPC - Lero -//============================================================ - -dew_fild01,114,275,4 script Lero#dew_drink 536,{ - if(dewata_oldman == 2) { - if (checkquest(5045) >= 0) { - mes "[Lero]"; - mes "Hey, I've been waiting for you."; - mes "I didn't know that Poby's injury"; - mes "would make my life so difficult."; + } else if (dew_drink == 5) { + mes "[Memo]"; + mes "So, what did Lero say?"; + next; + select("Palm tree... became."); + mes "- You explain the situation to Mr. Memo -"; + next; + mes "[Memo]"; + mes "Lero said sorry?"; + mes "Hmm, it's okay."; + next; + mes "[Memo]"; + mes "That must be ^0000FFPoby^000000. If he has been hurt, that's why there wasn't any message. Lero actually cares about him a lot..."; + next; + mes "[Memo]"; + mes "He might be troublesome, but please visit the Jaty village. Lero must complete the oil."; + next; + mes "[Memo]"; + mes "If it is not, wait there and bring ^FF000030 bottles of oil^000000 to me."; + set dew_drink,6; + changequest 5040,5041; + close; + } else if (dew_drink == 6) { + mes "[Memo]"; + mes "He might be troublesome, but please visit the Jaty village. Lero must complete the oil."; + next; + mes "[Memo]"; + mes "If it is not, wait there and bring ^FF000030 bottles of oil^000000 to me."; + close; + } else if (dew_drink == 7) { + if (countitem(6401) < 30) { + mes "[Memo]"; + mes "Oh, didn't I tell you to bring 30 bottles of oil? Did you forget?"; next; - set .@dailylero,rand(1,3); - if (.@dailylero == 1) changequest 5045,5046; - else if (.@dailylero == 2) changequest 5045,5048; - else if (.@dailylero == 3) changequest 5045,5050; - mes "[Lero]"; - mes "I'm ashamed to ask you this, but"; - if (checkquest(5048) >= 0) - mes "could you bring ^0000FF30 pieces of oil palm nuts^000000?"; - else if (checkquest(5046) >= 0) - mes "could you bring ^0000FF20 pieces of oil palm nuts^000000?"; - else if (checkquest(5050) >= 0) - mes "could you bring ^0000FF40 pieces of oil palm nuts^000000?"; + mes "[Memo]"; + mes "Go back to Lero and get more, he will give you more if it was your mistake."; + close; + } + mes "[Memo]"; + mes "You brought the oil. Good job, and thank you."; + next; + mes "[Memo]"; + mes "Excuse me, but I have an urgent matter to attend to. Can you wait for a while and talk to me when I'm done?"; + delitem 6401,30; //Palm_O + changequest 5042,5043; + set dew_drink,8; + close; + } else if (dew_drink == 8) { + if (checkquest(5043,PLAYTIME) == 0) { + mes "[Memo]"; + mes "... ... ..."; + emotion e_swt2; next; - L_Wait: - if (checkquest(5046) >= 0 && countitem(6402) > 19) { - callsub L_Count,20; - changequest 5046,5047; - close; - } else if (checkquest(5048) >= 0 && countitem(6402) > 29) { - callsub L_Count,30; - changequest 5048,5049; + mes "- Memo is making an ark. -"; + close; + } else if (checkquest(5043,PLAYTIME) == -1) { + mes "- There is error in the quest. -"; + close; + } + mes "[Memo]"; + mes "Did I make you wait too long?"; + next; + mes "[Memo]"; + mes "My family has been making Arks for four generations."; + next; + mes "[Memo]"; + mes "Grandfather had a hard living since he didn't get many good sales."; + next; + mes "[Memo]"; + mes "Dewata island people do not drink much in the hot weather."; + next; + mes "[Memo]"; + mes "When I was young, Dewata developed as a tourist attraction and that's when the ^FF00FFtour package^000000 Ark started selling well."; + next; + mes "[Memo]"; + mes "Good liquid needs fresh oil. I was able to make liquid for ten years and deliver it all on time."; + next; + mes "[Memo]"; + mes "Because today's oil has not arrived on time, I think I might have a hard time."; + next; + mes "[Memo]"; + mes "You helped me to make the liquid correctly."; + next; + mes "[Memo]"; + mes "This proverb ^0000FF'Mengatakan mudah, mengerjakan susah.'^000000 means it is easy to say something but hard to do anything."; + next; + mes "[Memo]"; + mes "In other words, it's easy to say that we'll help others but it's hard to actually do the action."; + next; + emotion e_thx; + mes "[Memo]"; + mes "You really did a great job. I like you because you are different from today's youngins."; + changequest 5043,5044; + set dew_drink,10; + getexp 50000,10000; + getitem 617,1; //Old_Violet_Box + next; + mes "[Memo]"; + mes "Will you help me with my work from time to time?"; + mes "I will pay you for what you do for me."; + close; + } else if (dew_drink == 10) { + for(set .@i,0; .@i<7; set .@i,.@i+1) + if (checkquest(5045+.@i) > -1) + set .@j, .@j | (1<<.@i); + if (.@j == 0) { + mes "[Memo]"; + mes strcharinfo(0)+", to what do I owe the pleasure?"; + next; + switch(select("Just came by to say hello.:I will help you.")) { + case 1: + mes "[Memo]"; + mes "I guess you are busy."; + mes "If possible, will you get the oil from Lero? I will appreciate it..."; close; - } else if (checkquest(5050) >= 0 && countitem(6402) > 39) { - callsub L_Count,40; - changequest 5050,5051; + case 2: + mes "[Memo]"; + mes "Thank you. I know that you're busy and helping me can be a chore."; + next; + mes "[Memo]"; + mes "Can you help Lero and bring back palm tree oil...?"; + setquest 5045; close; - } - mes "[Lero]"; - mes "Once you bring the oil palm nuts,"; - mes "Mr. Memo will exchange them with oil."; + } + } else if ((.@j & 1) || (.@j & 2) || (.@j & 8) || (.@j & 32)) { + mes "[Memo]"; + mes "Can you help Lero and bring back palm tree oil...?"; close; - } - else if (checkquest(5046) >= 0 || checkquest(5048) >= 0 || checkquest(5050) >= 0) goto L_Wait; - else if (checkquest(5047) >= 0 || checkquest(5049) >= 0 || checkquest(5051) >= 0) { - mes "[Lero]"; - mes "As I told you before, it is heavier"; - mes "than you might think, so be careful"; - mes "when carrying this."; + } else if ((.@j & 4) || (.@j & 16) || (.@j & 64)) { + + // .@i[]: <required amount>,<quest ID>,<reward amount> + if (.@j & 4) + setarray .@i[0],10,5047,1; + else if (.@j & 16) + setarray .@i[0],15,5049,2; + else + setarray .@i[0],20,5051,3; + + if (countitem(6401) < .@i[0]) { + mes "[Memo]"; + mes "You haven't brought enough oil."; + next; + mes "... ... ... ..."; + next; + mes "[Memo]"; + mes "Poby owes me a few things, he'll give you some."; + close; + } + mes "[Memo]"; + mes "Oh you brought the oil, good job."; + next; + mes "[Memo]"; + mes "You must've had a hard time bringing the oil so here take this drink."; + delitem 6401,.@i[0]; //Palm_O + erasequest .@i[1]; + setquest 5044; + getitem 11534,.@i[2]; //Coco_Juice + next; + switch(rand(4)) { + case 0: + mes "[Memo]"; + mes "Ark is famous for tourists, a guy bought many bottles by himself."; + next; + mes "[Memo]"; + mes "Worrying that he'll drink alone? Too much drink always becomes poisonous."; + break; + case 1: + mes "[Memo]"; + mes "The sun always rises in the East. The well known laziness wakes up early in the morning."; + next; + mes "[Memo]"; + mes "Does he come to reality? He is good but lazy."; + break; + case 2: + mes "[Memo]"; + mes "The first blow is half the battle."; + next; + mes "[Memo]"; + mes "I think that you're destined to do great things."; + break; + case 3: + mes "[Memo]"; + mes "There's a man saying blow hot and cold, it seems that a word is easy but it is not."; + next; + mes "[Memo]"; + mes "I believe that you will hold true to your promise."; + break; + } + next; + mes "[Memo]"; + mes "I want you to help me this time."; + next; + mes "[Memo]"; + mes "Poby still has back pains and it will take some days for him to recover."; close; } + } else { // Should never happen. + mes "[Memo]"; + mes "Dewata island is always crowded but today is quiet."; + close; + } +} + +dew_fild01,114,275,4 script Lero#dew_drink 536,{ + if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) { mes "[Lero]"; - mes "What happened? I didn't get a memo"; - mes "from Mr. Memo someone was coming."; + mes "You're carrying too many things..."; close; } - if (checkquest(5035) >= 0) { - emotion e_an; + if (dew_drink == 1) { mes "[Lero]"; - mes "Oh no! I have so many orders and"; - mes "I'm running out of ingredients."; - mes "Not yet? What's going on, Poby?"; - mes "Where did he go?"; + mes "Oh no! I have so many orders and I'm running out of ingredients."; + mes "Not yet? What's going on, Poby? Where did he go?"; + emotion e_an; next; - emotion e_ag; select("Excuse me, but are you Lero?"); mes "[Lero]"; - mes "When Poby gets back here, I'm"; - mes "gonna give him a beating he'll never forget!"; + mes "When Poby gets back here, I'm gonna give him a beating he'll never forget!"; + emotion e_ag; next; - mes "- Lero seems pretty mad at someone"; - mes "and ignores you -"; + mes "- Lero seems pretty mad at someone and ignores you -"; next; mes "[Lero]"; mes "Oops. Who are you?"; + emotion e_what; next; select("Memo sent me here."); mes "[Lero]"; - mes "Ah, right! I forgot about Memo"; - mes "because the workers who gather"; - mes "nuts have not come yet. Sorry."; + mes "Ah, right! I forgot about Memo because the workers who gather nuts have not come yet. Sorry."; next; mes "[Lero]"; - mes "To make fresh palm oils, I need"; - mes "fresh Palm Oil Fruit. Then I'll be"; - mes "able able to get more from its"; - mes "fresh fruit."; + mes "To make fresh palm oils, I need fresh Palm Oil Fruit. Then I'll be able to get more fresh oil from its fresh fruit."; next; mes "[Lero]"; - mes "Between you and me, Mr.Memo is so"; - mes "fussy that he will not use any"; - mes "unfresh oil."; + mes "Between you and me, Mr. Memo is so fussy that he will not use any unfresh oil."; next; mes "[Lero]"; - mes "To make fresh oil, he always sends"; - mes "the workers to the palm tree forest,"; - mes "but... the guys sent at dawn have"; - mes "not come back yet."; + mes "To make fresh oil, he always sends the workers to palm tree forest, but... the guys sent at dawn have not come back yet."; next; mes "[Lero]"; - mes "First, I thought that he was lazy"; - mes "and it made me very uneasy."; - mes "Can you find the workers in palm forest?"; + mes "First, I thought that he was lazy and it made me very uneasy."; + mes "Can you find the workers in the palm forest?"; next; select("Yes, I will find them."); mes "[Lero]"; @@ -675,1563 +1168,809 @@ dew_fild01,114,275,4 script Lero#dew_drink 536,{ mes "Find Poby."; next; mes "[Lero]"; - mes "Poby might in ^0000FFPalm Forest^000000."; - mes "The crop is best at the southern part of the forest."; + mes "Poby might in ^0000FFPalm Forest^000000. The crop is best at the southern part of the forest."; + set dew_drink,2; changequest 5035,5036; close; - } else if (checkquest(5036) >= 0) { - emotion e_what; + } else if (dew_drink == 2) { mes "[Lero]"; mes "Did you find Poby?"; + emotion e_what; next; mes "[Lero]"; mes "... ... ..."; next; mes "[Lero]"; - mes "Oh, you haven't visited the east"; - mes "of ^0000FFPalm Forest^000000 yet. I'm pretty"; - mes "worried..."; + mes "Oh, you haven't visited the east of ^0000FFPalm Forest^000000 yet. I'm pretty worried."; close; - } else if (checkquest(5037) >= 0) { - emotion e_what; + } else if (dew_drink == 3) { mes "[Lero]"; mes "You're back... and... Poby..."; mes "How is Poby?"; + emotion e_what; next; - select("Pobu..."); + select("Poby....."); mes "[Lero]"; - mes "Ah! I didn't know that. I always"; - mes "tell Poby '^0000FFKemarau setahun rusak sehari.'^000000"; + mes "Ah! I didn't know that. I always tell Poby ^0000FF'Kemarau setahun rusak sehari.'^000000"; next; mes "[Lero]"; - mes "He climbed the tree without any"; - mes "safety equipment, so he might've"; - mes "fallen down and gotten injured."; + mes "He climbed the tree without any safety equipment, so he might've fallen down and gotten injured."; next; mes "[Lero]"; - mes "Hmm... Sorry I couln't get the"; - mes "Palm Oil right now."; + mes "Hmm... Sorry I couldn't get the Palm Oil right now."; next; mes "[Lero]"; - mes "Will you deliver the message to"; - mes "Mr. Memo that it is impossible"; - mes "to get the oil due do to a"; - mes "lack of ingredients?"; - mes "No artisans can create anything"; - mes "without ingredients."; + mes "Will you deliver the message to Mr. Memo that it is impossible to get the oil due do to a lack of ingredients?"; + mes "No artisans can create anything without ingredients."; next; select("Why don't I get the ingredients?"); mes "[Lero]"; - mes "Ah, that can be a good way, but it"; - mes "will be hard to gather nuts as a starter."; + mes "Ah, that can be a good way, but it will be hard to gather nuts as a starter."; next; mes "[Lero]"; mes "Hmm!!!"; mes "I have a good idea."; next; mes "[Lero]"; - mes "You can ask Poby about the best"; - mes "method of gathering nuts where you"; - mes "met him in forest. He should be"; - mes "able to teach you the technique."; + mes "You can ask Poby about the best method of gathering nuts where you met him in the forest. He should be able to teach you the technique."; + set dew_drink,4; changequest 5037,5038; next; mes "[Lero]"; - mes "Although he is lazy and rather"; - mes "careless, he is the best worker."; - close; - } else if (checkquest(5038) >= 0) { - mes "[Lero]"; - mes "You can ask Poby about the best"; - mes "method of gathering nuts where you"; - mes "met him in forest. He should be"; - mes "able to tell you the technique."; - next; - mes "[Lero]"; - mes "Although he is lazy and rather"; - mes "careless, he is the best worker."; + mes "Although he is lazy and rather careless, he is the best worker."; close; - } else if (checkquest(5039) >= 0) { - if(countitem(6402) > 59) { + } else if (dew_drink == 4) { + if (checkquest(5038) > -1) { mes "[Lero]"; - mes "One two three four,...."; + mes "You can ask Poby about the best method of gathering nuts where you met him in the forest. He should be able to teach you the technique."; next; mes "[Lero]"; - mes "60 pieces of nuts, exactly. I will"; - mes "press the oil right now."; + mes "Although he is lazy and rather careless, he is the best worker."; + close; + } else if (checkquest(5039) > -1) { + if (countitem(6402) < 60) { + mes "[Lero]"; + mes "Did you gather the nuts already?"; + next; + mes "[Lero]"; + mes "One, two..."; + next; + mes "[Lero]"; + mes "This isn't the number I ordered from Poby."; + next; + mes "[Lero]"; + mes "It's going to be difficult if it is delayed more, so hurry up and bring me 60."; + close; + } + mes "[Lero]"; + mes "One, two, three, four, . . . ."; + next; + mes "[Lero]"; + mes "60 pieces of nuts, exactly. I will press the oil right now."; next; emotion e_sry; mes "[Lero]"; - mes "It takes sometime, so go back to"; - mes "Mr. Memo and tell him the"; - mes "situation. Alse tell him that I'm"; - mes "sorry for the delay."; - delitem 6402,60; + mes "It takes some time, so go back to Mr. Memo and tell him the situation. Also tell him that I'm sorry for the delay."; + delitem 6402,60; //Oil_Palm_F + set dew_drink,5; changequest 5039,5040; close; } + } else if (dew_drink == 5) { mes "[Lero]"; - mes "Did you gather the nuts already?"; - next; - mes "[Lero]"; - mes "One, two...."; - next; - mes "[Lero]"; - mes "This isn't the number I ordered from Poby."; - next; - mes "[Lero]"; - mes "It's going to be difficult if it is"; - mes "delayed more, so hurry up and bring me ^FF000060^000000 ^0000FFPalm Oil Fruit^000000."; - close; - } else if (checkquest(5040) >= 0) { - mes "[Lero]"; - mes "It takes sometime, so go back to"; - mes "Mr. Memo and tell him the"; - mes "situation. Alse tell him that I'm"; - mes "sorry for the delay."; + mes "It takes some time, so go back to Mr. Memo and tell him the situation. Also tell him that I'm sorry for the delay."; close; - } else if (checkquest(5041) >= 0) { + } else if (dew_drink == 6) { + if (checkweight(1201,1) == 0 || MaxWeight - Weight < 15000) { + mes "[Lero]"; + mes "You are carrying too much right now to continue."; + close; + } mes "[Lero]"; - mes "You've come at the right time."; - mes "I just finished making the palm tree oil."; + mes "You've come at the right time. I just finished making the palm tree oil."; next; mes "[Lero]"; - mes "It is heavier than you might think,"; - mes "so be careful when carrying it."; + mes "It is heavier than you might think, so be careful when carrying it."; next; emotion e_sry; mes "[Lero]"; - mes "Oh, tell Mr. Memo that I'm sorry"; - mes "for the late delivery, and explain"; - mes "that it wasn't my fault."; + mes "Oh, tell Mr. Memo that I'm sorry for the late delivery, and explain that it wasn't my fault."; changequest 5041,5042; - getitem 6401,30; + set dew_drink,7; + getitem 6401,30; //Palm_O close; - } else if (checkquest(5042) >= 0) { + } else if (dew_drink == 7) { + if (checkquest(5042) > -1 && countitem(6401) > 29) { + mes "[Lero]"; + mes "It is heavier than you might think, so be careful when carrying it."; + next; + emotion e_sry; + mes "[Lero]"; + mes "Oh, tell Mr. Memo that I'm sorry for the late delivery, and explain that it wasn't my fault."; + close; + } else { + set .@num, 30 - countitem(6401); + if (checkweight(6401,.@num) == 0) { + mes "[Lero]"; + mes "You are carrying too much right now to continue."; + close; + } + mes "[Lero]"; + mes "I clearly remembered giving you 30 bottles of palm tree oil, did you lose it all?"; + next; + select("Sorry, it's my fault..."); + emotion e_an; + mes "[Lero]"; + mes "This is the palm tree oil which was in short supply. Be careful pease. It was really hard to get this..."; + getitem 6401,.@num; //Palm_O + close; + } + } else if (dew_drink == 8) { mes "[Lero]"; - mes "It is heavier than you might think,"; - mes "so be careful when carrying it."; + mes "What did Mr. Memo say?"; + emotion e_what; + next; + mes "["+strcharinfo(0)+"]"; + emotion e_loud,1; + mes "... ... ... ..."; next; - emotion e_sry; mes "[Lero]"; - mes "Oh, tell Mr. Memo that I'm sorry"; - mes "for the late delivery, and explain"; - mes "that it wasn't my fault."; + mes "Ah... I understand..."; + emotion e_ok; close; + } else if (dew_drink == 10) { + for(set .@i,0; .@i<7; set .@i,.@i+1) + if (checkquest(5045+.@i) > -1) + set .@j, .@j | (1<<.@i); + if (.@j == 0) { + mes "[Lero]"; + mes "What happened? I didn't get a memo from Mr. Memo that he was going to send someone here."; + close; + } else if (.@j & 1) { + mes "[Lero]"; + mes "Hey, I've been waiting for you. I didn't know that Poby's injury would make my life so difficult."; + next; + set .@quest,rand(3); + mes "[Lero]"; + mes "I'm ashamed to ask you this, but can you bring ^0000FF"+(20+(.@quest*10))+" pieces of oil palm nuts^000000 please?"; + changequest 5045,5046+(.@quest*2); + next; + mes "[Lero]"; + mes "Once you bring the oil palm nuts, Mr. Memo will exchange them with oil."; + close; + } else if ((.@j & 2) || (.@j & 8) || (.@j & 32)) { + + // .@i[]: <required amount>,<quest ID>,<reward amount>,<free weight> + if (.@j & 2) + setarray .@i[0],20,5046,10,5000; + else if (.@j & 8) + setarray .@i[0],30,5048,15,7500; + else + setarray .@i[0],40,5050,20,10000; + + if (countitem(6402) < .@i[0]) { + mes "[Lero]"; + mes "Once you bring the "+.@i[0]+" pieces of oil palm nuts, Mr. Memo will exchange them with oil."; + close; + } + if (checkweight(1201,1) == 0 || MaxWeight - Weight < .@i[3]) { + mes "[Lero]"; + mes "You're carrying too much right now to continue."; + close; + } + mes "[Lero]"; + mes "One, two, three, four, . . . ."; + next; + mes "[Lero]"; + mes "Exactly "+.@i[0]+" pieces of oil palm nuts. Let you exchange them with oil right now."; + changequest .@i[1], .@i[1]+1; + delitem 6402,.@i[0]; //Oil_Palm_F + getitem 6401,.@i[2]; //Palm_O + next; + mes "[Lero]"; + mes "As I told you before, it is heavier than you might think, so be careful when carrying this."; + close; + } else if ((.@j & 4) || (.@j & 16) || (.@j & 64)) { + mes "[Lero]"; + mes "As I told you before, it is heavier than you might think, so be careful when carrying this."; + close; + } } mes "[Lero]"; - mes "What's going on with Poby...?"; - mes "Why hasn't he come back...?"; + mes "What's going on with Poby...? Why hasn't he come back...?"; next; - mes "- Seems like he is waitting for someone -"; + mes "- Seems that he is waiting for someone-"; close; - -L_Count: - mes "[Lero]"; - mes "One, two, three, four...."; - next; - mes "[Lero]"; - mes "Extracly "+getarg(0)+" pieces of oil palm"; - mes "nuts. Let you exchange them with oil right now."; - next; - mes "[Lero]"; - mes "As I told you before, it is"; - mes "heavier than you might think, so"; - mes "be careful when carrying this."; - delitem 6402, getarg(0); - getitem 6401, getarg(0)/2; - return; } -// NPC - Poby -//============================================================ - dew_fild01,259,48,4 script Poby#dew_drink 538,{ - - if(dewata_oldman >= 2) { - mes "[Poby]"; - mes "Oh? ^FF0000" + strcharinfo(0) +"^000000, we meet again. What's going on?"; - next; - if(select("Why'd you come here?:I want to know how to get fruit.")==2) { - mes "[Memo]"; - mes "It is easy for a beginner like"; - mes "you. All you have to do is"; - mes "shake or kick the tree."; - next; - mes "[Memo]"; - mes "It might be dangerous, so you"; - mes "must always wear a ^0000FFSafety Helmet^000000."; + if (checkweight(1201,1) == 0 || MaxWeight - Weight < 500) { + if (dew_drink > 0) { + mes "[Poby]"; + mes "Why are you carrying so much?"; + close; + } else { + mes "[Poby]"; + mes "You're going to regret it if you are carrying so much."; close; } - mes "[Poby]"; - mes "I'm taking a walk because I think"; - mes "it will make my back ache less."; - close; } - if (checkquest(5036) >= 0) { - emotion e_swt2; + if (dew_drink == 2) { mes "[Poby]"; - mes "Ah~ backache.."; + mes "Ah~ backache..."; + emotion e_swt2; next; select("Are you Poby?"); mes "[Poby]"; mes "Who are you?"; next; mes "[Poby]"; - mes "I don't know you, but"; + mes "I do not know you, but"; mes "are you a fan of mine?"; - mes "I'm Poby, the best fruit"; - mes "hunter in the Jaty tribe."; + mes "I'm Poby, the best fruit hunter in the Jaty tribe."; next; - emotion e_what; mes "[Poby]"; - mes "You're here for my autograph?"; + mes "You here for my autograph?"; + emotion e_what; next; select("Lero made me come here."); mes "[Poby]"; - mes "Ah! Mr.Lero made you come here. I"; - mes "can't move because I hurt my back"; - mes "while climbing a tree."; + mes "Ah! Mr. Lero made you come here. I can't move because I hurt my back while climbing a tree."; next; - emotion e_sob; mes "[Poby]"; - mes "!#@$*&!@$&!@$%!$#*&!@#$"; + mes "!#@$*&%!@$&!$%!$#*&!@#$"; + emotion e_sob; next; mes "[Poby]"; mes "And I've still never had a girlfriend..."; next; - emotion e_sob; mes "[Poby]"; - mes "!#@$*&!@$&!@$%!$#*&!@#$"; + mes "!#@$*&%!@$&!$%!$#*&!@#$"; + emotion e_sob; next; mes "[Poby]"; - mes "Ah! Sorry. Tell Mr. Lero that I'll"; - mes "go back if I can find a way to move."; + mes "Ah! Sorry. Tell Mr. Lero that I will go back if I can find a way to move."; changequest 5036,5037; + set dew_drink,3; next; mes "[Poby]"; mes "I can't move at all 'cuz of this backache..."; close; - } else if (checkquest(5037) >= 0) { + } else if (dew_drink == 3) { mes "[Poby]"; - mes "Ah! Sorry. Tell Mr. Lero that I'll"; - mes "go back if I can find a way to move."; + mes "Ah! Sorry. Tell Mr. Lero that I will go back if I can find a way to move."; next; - emotion e_swt2; mes "[Poby]"; mes "I can't move at all 'cuz of this backache..."; - close; - } else if (checkquest(5038) >= 0) { emotion e_swt2; + close; + } else if (dew_drink == 4) { + if (checkquest(5039) > -1) { + if (countitem(6402) > 59) { // Oil_Palm_F + mes "[Poby]"; + mes "You got all the fruits. Bring them to Mr. Lero."; + close; + } else { + mes "[Poby]"; + mes "It's easiest for beginners like you to shake or kick the tree."; + next; + mes "[Poby]"; + mes "It might be dangerous, so always wear a ^0000FFSafety Helmet^000000."; + next; + mes "[Poby]"; + mes "Gather ^FF000060 ^0000FFPalm Oil Fruit^000000 and bring them to Mr. Lero."; + close; + } + } mes "[Poby]"; - mes "Ah~ Backache.."; + mes "Ah~ backache..."; + emotion e_swt2; next; mes "[Poby]"; mes "Oh!! You're-- Let me guess..."; next; - emotion e_dots; mes "[Poby]"; mes "... ... ... ..."; + emotion e_dots; next; mes "[Poby]"; - mes "...you're back! You plan to"; - mes "catch ^0000FFPalm Oil Fruit^000000 instead of me, right?"; + mes "...you're back! You plan to catch ^0000FFPalm Oil Fruit^000000 instead of me, right?"; next; mes "[Poby]"; - mes "It is hard for beginners to catch"; - mes "the fruit like me. No, it's"; - mes "impossible."; + mes "It is hard for beginners to catch the fruit like me. No it's impossible."; next; mes "[Poby]"; - mes "Masters usually climb the tree to"; - mes "catch the fruit, but you're a"; - mes "beginner..."; + mes "Masters usually climb the tree to catch the fruit, but you're a beginner..."; next; mes "[Poby]"; - mes "It's easiest for beginners"; - mes "to shake or kick the tree."; - mes "It might be dangerous, so remember to wear a ^0000FFSafety Helmet^000000."; + mes "It's easiest for beginners to shake or kick the tree. It might be dangerous, so remember to wear a ^0000FFSafety Helmet^000000."; changequest 5038,5039; next; - emotion e_gasp; mes "[Poby]"; - mes "Ok! Gather ^FF000060 ^0000FFPalm Oil Fruit^000000 and"; - mes "bring it to Mr. Lero."; + mes "Ok! Gather ^FF000060^0000FF ^0000FFPalm Oil Fruit^000000 and bring that amount to Mr. Lero."; + emotion e_gasp; close; - } else if (checkquest(5039) >= 0) { - if(countitem(6402) > 59) { - mes "[Poby]"; - mes "You've got all the fruits."; - mes "Bring them to Mr. Lero."; - close; - } + } else if (dew_drink == 10) { mes "[Poby]"; - mes "It's easiest for beginners like"; - mes "you to shake or kick the tree."; - next; - mes "[Poby]"; - mes "It might be dangerous, so always"; - mes "wear a ^0000FFSafety Helmet^000000."; - next; - mes "[Poby]"; - mes "Gather ^FF000060 ^0000FFPalm Oil Fruit^000000 and"; - mes "bring it to Mr. Lero."; - close; - } - emotion e_sob; - mes "[Poby]"; - mes "Ah~ my freakin' back is killing me."; - close; -} - -// NPC - Tribal Chief Paiko -//============================================================ + mes "Oh! "+strcharinfo(0)+", we meet again. What's going on?"; -dew_in01,15,49,5 script Tribal Chief Paiko#dew_ 540,{ - set .@n$, "[Tribal Chief Paiko]"; - if(dewata_legend == 2) { - mes .@n$; - mes "I can see you are a traveler"; - mes "from another land."; - mes "What brings you here?"; - next; - if(select("I overheard the story by accident:I have nothing to say.")==2) { - mes .@n$; - mes "You are wasting your time here."; - mes "There are many other attractions"; - mes "around our village."; - close; - } - mes .@n$; - mes "What do you mean?"; - mes "You heard the story about the crown?"; - mes "You must have heard incorrectly."; - mes "I have nothing to say to you"; - mes "regarding such things."; - next; - select("Kasyapa was talking about a crown..."); - mes .@n$; - mes "It seems that ^0000FFKasyapa^000000 has told you"; - mes "a tall tale, and I appreciate your"; - mes "concern about our affairs."; - next; - mes .@n$; - mes "It's not something that a stranger"; - mes "like you could understand. Make"; - mes "like a tree, and get out of here."; - set dewata_legend,3; - close; - } else if(dewata_legend == 3) { - mes .@n$; - mes "There are many other attractions around our village."; - next; - mes .@n$; - mes "If it's about the crown, I want"; - mes "you to stop asking about it."; - mes "Please leave."; - close; - } else if(dewata_legend == 4) { - if (checkquest(9155) >= 0) { - if(countitem(6405) > 14) { - mes .@n$; - mes "Oh! You've found all of them."; - mes "Look! The feathers you have found"; - mes "are sparkling, aren't they?"; - mes "Alright, let me begin crafting"; - mes "the ^4AA02CJaty Crown^000000. I feel that"; - mes "I am ready."; - next; - specialeffect EF_MAPPILLAR3; - mes "- Suddenly, a large noise begins"; - mes "to boom as you and ^0000FFPaiko^000000 are"; - mes "surrounded by warm and bright"; - mes "sparkling energy like a thousand"; - mes "tinkling fireflies. -"; - changequest 9155,9156; - delitem 6405,15; + if (checkquest(5047) > -1) + set .@count,10; + else if (checkquest(5049) > -1) + set .@count,15; + else if (checkquest(5051) > -1) + set .@count,20; + if (.@count) { + if (countitem(6401) >= .@count) { + // Custom translation + mes "[Poby]"; + mes "Good work! Be careful while delivering them~"; close; } - mes .@n$; - mes "It seems that you have yet to find"; - mes "the materials to make the ^4AA02CJaty Crown^000000."; + set .@new_count, .@count-countitem(6401); + mes "- You explain the situation. -"; next; - mes .@n$; - mes "The symbol of the Jaty Tribe is"; - mes "also a famous mystical creature."; - mes "Find ^FF000015 ^4AA02CCendrawasih Feathers^000000 and"; - mes "bring them to me."; - close; - } else if (checkquest(9156) >= 0) { - mes .@n$; - mes "With your help the ^4AA02CJaty Crown^000000 is"; - mes "coming along nicely."; - mes "It will take some time until the"; - mes "task is finished, so please wait a little."; - next; - mes .@n$; - mes "After the ^4AA02CJaty Crown^000000 is complete,"; - mes "there is a gift that I want to give"; - mes "to you."; - next; - mes .@n$; - mes "Ah, you should go see ^0000FFSage"; - mes "Kasyapa^000000, who really wants to"; - mes "reward you with something."; - changequest 9156,9157; - close; - } else if (checkquest(9157) >= 0) { - mes .@n$; - mes "Ah, you should go see ^0000FFSage"; - mes "Kasyapa^000000, who really wants to"; - mes "reward you with something."; - close; - } - mes .@n$; - mes "I've been waiting for you."; - mes "According to ^0000FFSage Kasyapa^000000,"; - mes "you are willing to help us make"; - mes "a crown for our tribe."; - next; - select("Crown-a-what's it?"); - mes .@n$; - mes "The tribe leader has the duty of"; - mes "making and protecting the ^4AA02CJaty"; - mes "Crown^000000 to uphold the tribe's pride"; - mes "and honor."; - next; - mes .@n$; - mes "But ever since I became the tribe"; - mes "leader, there have been difficulties"; - mes "making it."; - next; - mes "[Tribale Chief Paiko]"; - mes "According to ^0000FFSage Kasyapa^000000, you can"; - mes "help us create a ^4AA02CJaty Crown^000000."; - next; - mes .@n$; - mes "Do you think you can help?"; - mes "Your efforts will not go"; - mes "unrewarded."; - next; - if(select("I will help.:Sorry, I cannot help now.")==2) { - mes .@n$; - mes "That's really sad."; - mes "If you ever change"; - mes "your mind, please come again."; - mes "I will be waiting."; - close; - } - mes .@n$; - mes "Many thanks to you, stranger"; - mes "If Kasyapa trusts you, then I know"; - mes "that you can help us make a"; - mes "^4AA02CJaty Crown^000000."; - mes "What you can do to"; - mes "help us is very simple."; - next; - mes .@n$; - mes "The symbol of the Jaty Tribe is"; - mes "also a famous mystical creature."; - mes "Find ^FF000015 ^4AA02CCendrawasih Feathers^000000 and"; - mes "bring them to me."; - mes "Our faith is in you, stranger."; - setquest 9155; - close; - } else if(dewata_legend == 5) { - if (checkquest(9158) >= 0) { - L_Request: - mes .@n$; - mes "It seems that you haven't"; - mes "delivered the ^4AA02CSatay^000000 yet."; - if (checkquest(9158) >= 0) mes "Did you run into any problems?"; - else if (checkquest(9160) >= 0) mes "Is there something wrong?"; - else if (checkquest(9162) >= 0) mes "Anything happened?"; - else if (checkquest(9163) >= 0) mes "Anything go wrong?"; + mes "[Poby]"; + mes "Right... I owed Memo's grandfather. Wait, I hid some oil around here."; next; - switch(select("I ate them all.:Who do I deliver this to...?:Nothing.")) { - case 1: - if (checkquest(9158) >= 0 || checkquest(9160) >= 0) { - mes .@n$; - mes "Huh... so you couldn't resist"; - mes "yourself, eh?"; - mes "Don't blame yourself too much. It"; - mes "is difficult resist the ^4AA02CSatay^000000's"; - mes "addicting aroma."; - } else if (checkquest(9162) >= 0 || checkquest(9164) >= 0) { - mes .@n$; - mes "I warned you not to give in"; - mes "to the sweet smells of the ^4AA02CSatay^000000."; - } - next; - mes .@n$; - mes "Our tribe is short on food"; - mes "supplies so we can't give out more"; - mes "of our ^4AA02CSatay^000000. But there's a rumor"; - mes "that the restaurant owner in"; - mes "Dewata Island is making and"; - mes "selling their own ^4AA02CSatay^000000."; - next; - mes .@n$; - mes "It is not as tasty as our tribe's"; - mes "recipe, but this is an urgent task."; - mes "Just find and deliver it."; - close; - case 2: - if (checkquest(9158) >= 0) { - mes .@n$; - mes "Our tribe warriors come to mind"; - mes "to deliver the food to share ^4AA02CSatay^000000"; - mes "with warriors in the village."; - } else if (checkquest(9160) >= 0) { - mes .@n$; - mes "The second person to deliver the"; - mes "^4AA02CSatay^000000 to is someone who stays"; - mes "across the river."; - next; - mes .@n$; - mes "That is the ^0000FFTribe Manager^000000."; - mes "Please deliver it to him before it cools down."; - } else if (checkquest(9162) >= 0) { - mes .@n$; - mes "The third person to deliver the"; - mes "^4AA02CSatay^000000 to is the ^0000FFGatekeeper"; - mes "of Krakatau Volcano^000000."; - mes "Please deliver it to him before it cools down."; - } else if (checkquest(9164) >= 0) { - mes .@n$; - mes "The last person to deliver the"; - mes "^4AA02CSatay^000000 to is the ^0000FFBorobudur"; - mes "Temple Manager^000000, who is in"; - mes "^C35817Dewata Island^000000."; - mes "Please deliver it to him before it cools down."; - } - close; - case 3: - mes .@n$; - mes "Alright! Deliver it right now!"; + if (checkweight(6401,.@new_count) == 0) { + mes "[Poby]"; + mes "I have some, but you seem to have too much stuff with you."; close; } - } else if (checkquest(9159) >= 0) { - mes .@n$; - mes "Ah, the next person whom I want"; - mes "the ^4AA02CSatay^000000 delivered to is someone"; - mes "who stays across from the river,"; - mes "the ^0000FFTribe Manager^000000."; - next; - mes .@n$; - mes "To this end, I will give you 2"; - mes "more servings of ^4AA02CSatay^000000."; - next; - mes .@n$; - mes "If you are attracted by the aroma"; - mes "of the ^4AA02CSatay^000000, you may eat one."; - mes "But if you eat more you won't be"; - mes "able to share ^4AA02CSatay^000000 with our friends."; - changequest 9159,9160; - getitem 11533,2; - close; - } - else if (checkquest(9160) >= 0) goto L_Request; - else if (checkquest(9161) >= 0) { - mes .@n$; - mes "Oh, you delivered it already?"; - mes "The third person to deliver the"; - mes "^4AA02CSatay^000000 to is the ^0000FFGatekeeper of Krakatau Volcano^000000."; + mes "- rummaging... rummaging... -"; next; - mes .@n$; - mes "I'll give you 2 more servings"; - mes "of ^4AA02CSatay^000000 for this delivery."; + mes "[Poby]"; + mes "Ah! Here is another one. Take care not to lose it again. And keep it a secret from Mr. Lero."; + getitem 6401,.@new_count; //Palm_O next; - mes .@n$; - mes "And just like before, don't give"; - mes "in to the smell and try not to eat the ^4AA02CSatay^000000."; - changequest 9161,9162; - getitem 11533,2; + mes "[Poby]"; + mes "Please~ "+strcharinfo(0)+"."; close; } - else if (checkquest(9162) >= 0) goto L_Request; - else if (checkquest(9163) >= 0) { - mes .@n$; - mes "Oh, you delivered it!"; - mes "Last person to deliver ^4AA02CSatay^000000 to is"; - mes "the ^0000FFBorobudur Temple Manager^000000, who is"; - mes "on ^C35817Dewata Island^000000."; - next; - mes .@n$; - mes "I will give you 2 more ^4AA02CSatay^000000."; - next; - mes .@n$; - mes "And just like before, don't give"; - mes "in to the smell and try not to eat the ^4AA02CSatay^000000."; - changequest 9163,9164; - getitem 11533,2; + next; + switch(select("Why'd you come here?:I want to know how to get fruit.")) { + case 1: + mes "[Poby]"; + mes "I'm taking a walk because I think it will make my back ache less."; close; - } - else if (checkquest(9164) >= 0) goto L_Request; - else if (checkquest(9165) >= 0) { - mes .@n$; - mes "Oh, you delivered it!"; - mes "You've done good work."; - mes "It has been a good time for"; - mes "all of us to share and enjoy"; - mes "this happy occasion together."; - mes "Thank you."; - next; - mes .@n$; - mes "While you were on the way back"; - mes "from delivering the ^4AA02CSatay^000000,"; - mes "the ^4AA02CJaty Crown^000000 has been made."; - mes "Its ambience and radiance make it a"; - mes "truly flawless crown."; - next; - mes .@n$; - mes "Also, you brought more than enough"; - mes "materials, so after making the ^4AA02CJaty"; - mes "Crown^000000 we were able to craft a"; - mes "similar one for you to keep."; - next; - mes .@n$; - mes "It's not the same as the original,"; - mes "but it has its own specialty. It is"; - mes "my reward to thank you for what you"; - mes "have done."; - next; - mes .@n$; - mes "Made with our tribe's secret"; - mes "marinade, try the ^4AA02CSatay^000000."; - mes "It was made with all our heart"; - mes "especially for you, but don't"; - mes "forget to share it with friends."; + case 2: + mes "[Poby]"; + mes "It's easiest for beginners to shake or kick the tree."; next; - mes .@n$; - mes "You've done good work."; - mes "Whatever you do in the future, I"; - mes "wish for you to have a life which"; - mes "is full of fortune and joy"; - mes "As Chief of the ^C35817Jaty Tribe^000000, I wish"; - mes "you the best of luck!!"; - set dewata_legend,6; - erasequest 9165; - getitem 11533,5; - getitem 18520,1; - close; - } - mes .@n$; - mes "With your support I am not"; - mes "worried about creating the"; - mes "^4AA02CJaty Crown^000000. I really appreciate it."; - next; - mes .@n$; - mes "A delightful day like today should"; - mes "be celebrated. Don't you think?"; - mes "So I prepared to sample the"; - mes "special food of our tribe, called ^4AA02CSatay^000000."; - next; - mes .@n$; - mes "But, this ^4AA02CSatay^000000 is too tasty for"; - mes "just the two of us to share, so we"; - mes "would like to share it with people"; - mes "out in the village."; - next; - mes .@n$; - mes "What do you think?"; - mes "In order to share news that"; - mes "the ^4AA02CJaty Crown^000000 is being"; - mes "sucessfully crafted, and to share"; - mes "the delicious ^4AA02CSatay^000000 with our"; - mes "friends, I need your help."; - next; - mes .@n$; - mes "Are you up for a short delivery job?"; - next; - if(select("Of course, I can help:Sorry, I am too busy to help.")==2) { - mes .@n$; - mes "I believed you would definitely help me..."; - mes "It's a little disappointing."; - mes "If you ever change your mind"; - mes "come speak with me again."; + mes "[Poby]"; + mes "It might be dangerous, so always wear a ^0000FFSafety Helmet^000000."; close; } - mes .@n$; - mes "Oh!, I knew you'd help."; - mes "Our tribe's warriors come to my"; - mes "mind before we share with anyone else."; - mes "Please share ^4AA02CSatay^000000 with the"; - mes "warriors in the village."; - next; - mes .@n$; - mes "For the moment I will give you 2 ^4AA02CSatay^000000."; - next; - mes .@n$; - mes "You may be tempted by the aroma"; - mes "of our ^4AA02CSatay^000000, and you may eat one."; - mes "But if you eat more than that you won't"; - mes "be able to share the ^4AA02CSatay^000000"; - mes "with our village friends."; - setquest 9158; - getitem 11533,2; - close; - } else if(dewata_legend == 6) { - mes .@n$; - mes "You've done good work."; - mes "Whatever you do in the future, I"; - mes "wish for you to have a life which"; - mes "is full of fortune and joy."; - mes "As Chief of the ^C35817Jaty Tribe^000000, I wish"; - mes "you the best of luck!!"; - close; } - mes .@n$; - mes "I am the leader of this ^0000FFPaiko^000000 tribe."; + mes "[Poby]"; + mes "Ah~ my freakin' back is killing me."; + emotion e_sob; close; } -// NPC - Sage Kasyapa -//============================================================ - -dew_in01,22,48,3 script Sage Kasyapa#dew_ 541,{ +- script ::DewataPalm -1,{ + if (checkweight(1201,1) == 0 || MaxWeight - Weight < 5000) { + mes "You are carrying too much."; + close; + } - if(dewata_legend == 2 || dewata_legend == 3) { - mes "[Sage Kasyapa]"; - mes "Instead of talking to me, why"; - mes "don't you talk to our tribe's"; - mes "leader, ^0000FFChief Paiko^000000?"; - close; - } else if(dewata_legend == 4) { - if (checkquest(9155) >= 0) { - mes "[Sage Kasyapa]"; - mes "I heard you could help making"; - mes "a crown for our tribe leader."; - mes "You will certainly be a big"; - mes "help to us... I trust my"; - mes "own eyes and the"; - mes "sparking light..."; - next; - mes "[Sage Kasyapa]"; - mes "The symbol of the Dayak Tribe"; - mes "and a famous mystical creature."; - mes "Find ^FF000015 ^4AA02CCendrawasih Feathers^000000"; - mes "and bring them to ^0000FFChief Paiko^000000."; - close; - } else if (checkquest(9156) >= 0) { - mes "[Sage Kasyapa]"; - mes "With the feathers that you have"; - mes "brought, creating a ^4AA02CJaty Crown^000000 is"; - mes "going much more smoothly."; - mes "Go see ^0000FFChief Paiko^000000."; - close; - } else if (checkquest(9157) >= 0) { - mes "[Sage Kasyapa]"; - mes "There is something"; - mes "I wish to give to you"; - mes "as a reward for your help."; - mes "Please, it would honor us if you would take it."; - next; - specialeffect2 EF_PNEUMA; - mes "[Sage Kasyapa]"; - mes "The reason I asked you to embark"; - mes "on this important mission is"; - mes "because of this feather."; - mes "Handed down from generation to"; - mes "generation, the legendary origin of"; - mes "the crown is this feather..."; - next; - mes "[Sage Kasyapa]"; - mes "I saw this feather begin to shine"; - mes "when you came here."; - mes "I knew you were a person who"; - mes "would endeavour to help us."; - mes "On behalf of my people,"; - mes "I give my thanks."; - next; - mes "[Sage Kasyapa]"; - mes "Also, the feather you received"; - mes "isn't just valuable on it's own,"; - mes "it also is an acknowledgment from our tribe."; - next; - mes "[Sage Kasyapa]"; - mes "Like ^C35817Krakatau Volcano^000000, when you"; - mes "venture into dangerous areas like"; - mes "that, if you display this feather,"; - mes "you can get help from the tribe."; - mes "Anyway, I really thank you."; - set dewata_legend,5; - erasequest 9157; - getitem 6406,1; - close; - } - mes "[Sage Kasyapa]"; - mes "I've been waiting for you."; - mes "Our tribe's leader has a favor"; - mes "to ask of you."; - mes "Please talk to ^0000FFChief Paiko^000000."; + if (checkquest(5039) > -1) set .@count,60; + else if (checkquest(5046) > -1) set .@count,20; + else if (checkquest(5048) > -1) set .@count,30; + else if (checkquest(5050) > -1) set .@count,40; + if (.@count == 0) { + mes "There's a palm tree"; + mes "facing the cool wind."; close; - } else if(dewata_legend >= 5) { - mes "[Sage Kasyapa]"; - mes "Also, the feather you received"; - mes "isn't just valuable on it's own,"; - mes "it also is an acknowledgment from our tribe."; - next; - mes "[Sage Kasyapa]"; - mes "Like ^C35817Krakatau Volcano^000000, when you"; - mes "venture into dangerous areas like"; - mes "that, if you display this feather"; - mes "you can get help from the tribe."; - mes "Anyway, I really thank you."; + } else if (countitem(6402) >= .@count) { + mes "The palm tree denies"; + mes "your greedy hands."; close; } - mes "[Sage Kasyapa]"; - mes "Your earnest expression tells me"; - mes "that you have something to say"; - mes "you might as well tell me what it is."; - next; - if(select("I overheard talk about a crown...:Just looking for the gift shop.")==2) { - emotion e_hmm,0,"Tribal Chief Paiko#dew_"; - mes .@n$; - mes "Really?"; - mes "It looked as if your eyes"; - mes "wanted to say something."; - close; + + if (isequipped(5009)) { // Safety_Helmet + mes "There's a palm tree with fruits and flowers hanging from its branches."; + mes "Be sure to wear a Safety Helmet while trying to pick the fruit."; + } else { + mes "There's a palm tree."; + mes "You can kick or shake it."; + mes "What do you want to do?"; } - mes "[Sage Kasyapa]"; - mes "Oh, you heard about the crown, eh?"; - mes "Ah, this old man's got loose lips."; - mes "We should have used a little more"; - mes "discretion..."; - next; - select("Anything I can do to help?"); - mes "[Sage Kasyapa]"; - mes "I can see in your eyes"; - mes "that you are a trustworthy sort... but..."; next; - specialeffect EF_PNEUMA; - mes "- There is a brief twinkling"; - mes "of light. All of a sudden ^0000FFKasyapa^000000"; - mes "seems taken aback. -"; + switch(select("Shake the tree:Kick the tree")) { + case 1: + specialeffect EF_HITLINE2; + set .@message$, "As you shake the palm tree..."; + mes "You shake the palm tree."; + break; + case 2: + specialeffect EF_BASH; + set .@message$, "As you give the palm tree a quick kick to its proverbial shin..."; + mes "You kick the palm tree swiftly with all you might."; + break; + } next; - mes "[Sage Kasyapa]"; - mes "Ah, the feather......!"; - mes "Instead of talking to me, why don't"; - mes "you talk to our tribe's leader,"; - mes "^0000FFPaiko^000000?"; - set dewata_legend,2; - close; -} - -// NPC - Palm Tree -//============================================================ - -- script Palm Tree -1,{ - - if (checkquest(5039) >= 0 || checkquest(5046) >= 0 || checkquest(5048) >= 0 || checkquest(5050) >= 0) { - if ((checkquest(5039) >= 0) && countitem(6402) > 59 || (checkquest(5046) >= 0 && countitem(6402) > 19) || (checkquest(5048) >= 0 && countitem(6402) > 29) || (checkquest(5050) >= 0 && countitem(6402) > 39)) { - mes "- The palm tree denies your greedy hands. -"; - close; - } - mes "There's palm tree."; - mes "You can kick or shake it."; - mes "What do you want to do?"; + mes "... ... ..."; next; - switch(select("Shake the tree:Kick the tree")) { - case 1: - specialeffect EF_HITLINE2; - mes "You shake the palm tree."; - next; - mes "... ... ..."; - next; - set .@palm_rand,rand(1,20); - if (.@palm_rand > 0 && .@palm_rand < 5) { - set .@pstone,rand(1,3); - if (.@pstone == 1) { - mes "As you shake the palm tree like a"; - mes "polaroid picture..."; - mes "a ^FF0000stone^000000 falls out."; - } else if (.@pstone == 2) { - mes "As you shake the palm tree"; - mes "enough to move its branchs..."; - mes "a ^FF0000Stone^000000 falls out."; - } else if (.@pstone == 3) { - mes "As you shake the palm tree like"; - mes "a crazed Alchemist..."; - mes "a ^FF0000Stone^000000 falls out."; - } - getitem 7049,1; - } else if (.@palm_rand == 13 || .@palm_rand == 12) { - if(getequipid(EQI_HEAD_TOP) == 5009) { - mes "- Something smashes down on your"; - mes "head, right where that soft spot"; - mes "is, but it's ok, you're safe!"; - mes "'cuz you already equipped ^0000FFSafety Helmet^000000. -"; - close2; - specialeffect EF_BASH; - initnpctimer; - disablenpc "Palm Tree#"+strnpcinfo(2); - end; - } - mes "As you shake the palm tree with"; - mes "wreckless abandon..."; - mes "something smashes down on your"; - mes "head, right where that soft spot"; - mes "is, $#*@! that's a one in a million shot."; - close2; - initnpctimer; - disablenpc "Palm Tree#"+strnpcinfo(2); - warp "dew_fild01",371,211; - percentheal -10,0; - end; - } else if (.@palm_rand >= 5 && .@palm_rand < 9) { - set .@pleaf,rand(1,3); - if (.@pleaf == 1) { - mes "As you shake the palm tree like a"; - mes "salt shaker..."; - mes "a ^FF0000Great Leaf^000000 falls out."; - } else if (.@pleaf == 2) { - mes "As you shake the palm tree with"; - mes "furious violence..."; - mes "a ^FF0000Great Leaf^000000 falls out."; - } else if (.@pleaf == 3) { - mes "As you shake the palm tree"; - mes "enough to move its branchs..."; - mes "a ^FF0000Great Leaf^000000 falls out."; - } - getitem 7198,1; - } else if (.@palm_rand >= 9 && .@palm_rand < 12) { - set .@pfruit,rand(1,6); - if (.@pfruit == 1) { - mes "Once shaking a palm tree"; - mes "an ^0000FFOil Palm Fruit^000000 falls out."; - mes "- Fell in a Hurly-Burly.. -"; - mes "- Fell in a Hurly-Burly.. -"; - } else if (.@pfruit == 2) { - mes "As you shake the palm tree with"; - mes "all of your strength..."; - mes "tons of ^0000FFOil Palm Fruit^000000 crashes down from the tree."; - } else if (.@pfruit == 3) { - mes "As you shake the palm tree like"; - mes "a disobedient child..."; - mes "an ^0000FFOil Palm Fruit^000000 falls out."; - } else if (.@pfruit == 4) { - mes "As you shake the palm tree"; - mes "enough to move its branchs..."; - mes "an ^0000FFOil Palm Fruit^000000 falls out."; - } else if (.@pfruit == 5) { - mes "Once shaking a palm tree"; - mes "an ^0000FFOil Palm Fruit^000000 falls out."; - } else if (.@pfruit == 6) { - mes "As you shake the palm tree like"; - mes "a crazed Alchemist..."; - mes "an ^0000FFOil Palm Fruit^000000 falls out."; - } - getitem 6402,rand(1,5); - } else if (.@palm_rand > 13 && .@palm_rand < 17) { - set .@pworm,rand(1,3); - if (.@pworm == 1){ - mes "As you shake the palm tree like"; - mes "a disobedient child..."; - mes "a ^FF0000Worm Peeling^000000 falls out"; - } else if (.@pworm == 2) { - mes "As you shake the palm tree like"; - mes "a crazed Alchemist..."; - mes "a ^FF0000Worm Peeling^000000 falls out."; - } else if (.@pworm == 3) { - mes "As you shake the palm tree with"; - mes "all of your strength..."; - mes "tons of ^FF0000Worm Peeling^000000 crashes down from the tree."; - } - getitem 955,1; - } else if (.@palm_rand >= 17 && .@palm_rand <= 19) { - set .@pnothing,rand(1,3); - if (.@pnothing == 1) { - mes "As you shake the palm tree like"; - mes "a crazed Alchemist..."; - mes "but nothing happens."; - } else if (.@pnothing == 2) { - mes "As you shake the palm tree"; - mes "with wreckless abandon..."; - mes "but nothing happens."; - } else if (.@pnothing == 3) { - mes "As you shake the palm tree"; - mes "enough to move its branchs..."; - mes "but nothing happens."; - } - } - close2; - specialeffect EF_BASH; - initnpctimer; - disablenpc "Palm Tree#"+strnpcinfo(2); - end; - case 2: - specialeffect EF_BASH; - mes "You kick the palm tree swiftly with"; - mes "all your might."; - next; - mes "... ... ..."; - next; - set .@palm_rand,rand(1,20); - if (.@palm_rand > 0 && .@palm_rand < 5) { - set .@pstone,rand(1,3); - if (.@pstone == 1) { - mes "As you give the palm tree"; - mes "a big boot..."; - mes "a ^FF0000Stone^000000 falls out."; - } else if (.@pstone == 2) { - mes "As you give the palm tree"; - mes "a strong kick like a scorned"; - mes "woman..."; - mes "a ^FF0000stone^000000 falls out."; - } else if (.@pstone == 3) { - mes "As you give the palm tree"; - mes "a good'ole football punt..."; - mes "a ^FF0000stone^000000 falls out."; - } - getitem 7049,1; - } else if (.@palm_rand == 13 || .@palm_rand == 12) { - if(getequipid(EQI_HEAD_TOP) == 5009) { - mes "- Something smashes down on your"; - mes "head, right where that soft spot"; - mes "is, but it's ok, you're safe!"; - mes "'cuz you already equipped ^0000FFSafety Helmet^000000. -"; - close2; - specialeffect EF_BASH; - initnpctimer; - disablenpc "Palm Tree#"+strnpcinfo(2); - end; - } - mes "As you shake the palm tree with"; - mes "wreckless abandon..."; - mes "something smashes down on your"; - mes "head, right where that soft spot"; - mes "is, $#*@! that's a one in a million shot."; - close2; - initnpctimer; - disablenpc "Palm Tree#"+strnpcinfo(2); - warp "dew_fild01",371,211; - percentheal -10,0; - end; - } else if (.@palm_rand >= 5 && .@palm_rand < 9) { - set .@pleaf,rand(1,3); - if (.@pleaf == 1) { - mes "Once kicking a palm tree"; - mes "with all power"; - mes "a ^FF0000Great Leaf^000000 falls out."; - } else if (.@pleaf == 2) { - mes "As you give the palm tree"; - mes "a good'ole football punt..."; - mes "a ^FF0000Great Leaf^000000 falls out."; - } else if (.@pleaf == 3) { - mes "As you give the palm tree"; - mes "a quick kick to it's"; - mes "proverbial shin..."; - mes "a ^FF0000Great Leaf^000000 falls out."; - } - getitem 7198,1; - } else if (.@palm_rand >= 9 && .@palm_rand < 12) { - set .@pfruit,rand(1,6); - if (.@pfruit == 1) { - mes "Once kicking a palm tree"; - mes "with all power..."; - mes "an ^0000FFOil Palm Tree^000000 falls out."; - mes "- Fell in a Hurly-Burly.. -"; - mes "- Fell in a Hurly-Burly.. -"; - } else if (.@pfruit == 2) { - mes "As you give the palm tree"; - mes "a quick kick to it's"; - mes "proverbial shin..."; - mes "an ^0000FFOil Palm Fruit^000000 falls out."; - } else if (.@pfruit == 3) { - mes "As you give the palm tree"; - mes "a good 'ole punt..."; - mes "tons of ^0000FFOil Palm Fruit^000000 crashs down"; - mes "from the tree."; - } else if (.@pfruit == 4) { - mes "As you give the palm tree"; - mes "a chuck norris kick..."; - mes "an ^0000FFOil Palm Fruit^000000 falls out."; - } else if (.@pfruit == 5) { - mes "As you give the palm tree"; - mes "a strong dropkick..."; - mes "tons of ^0000FFOil Palm Fruit^000000 crashs down"; - mes "from the tree."; - } else if (.@pfruit == 6) { - mes "As you give the palm tree"; - mes "a good'ole football punt..."; - mes "an ^0000FFOil Palm Fruit^000000 falls out."; - } - getitem 6402,rand(1,5); - } else if (.@palm_rand > 13 && .@palm_rand < 17) { - set .@pworm,rand(1,3); - if (.@pworm == 1) { - mes "As you give the palm tree"; - mes "a strong dropkick..."; - mes "a ^FF0000Worm Peeling^000000 falls out"; - } else if (.@pworm == 2) { - mes "Once kicking a palm tree"; - mes "with all power..."; - mes "a ^FF0000Worm Peeling^000000 falls out."; - } else if (.@pworm == 3) { - mes "As you give the palm tree"; - mes "a chuck norris kick..."; - mes "tons of ^FF0000Worm Peeling^000000 crashes down from the tree."; - } - getitem 955,1; - } else if (.@palm_rand >= 17 && .@palm_rand <= 19) { - set .@pnothing,rand(1,3); - if (.@pnothing == 1) { - mes "As you give the palm tree"; - mes "a good'ole roundhouse..."; - mes "but nothing happens."; - } else if (.@pnothing == 2) { - mes "As you give the palm tree"; - mes "a strong kick like a scormed"; - mes "woman..."; - mes "but nothing happens."; - } else if (.@pnothing == 3) { - mes "As you give the palm tree"; - mes "a thunderous kick..."; - mes "but nothing happens."; - } - } + mes .@message$; + switch(rand(1,20)) { + case 1: + case 2: + case 3: + mes "a ^FF0000stone^000000 falls out."; + getitem 7049,1; //Stone + break; + case 6: + case 7: + mes "a ^FF0000Great Leaf^000000 falls out."; + getitem 7198,1; //Great_Leaf + break; + case 8: + case 9: + mes "a ^FF0000Worm Peeling^000000 falls out."; + getitem 955,1; //Worm_Peelings + break; + case 4: + case 5: + case 11: + case 12: + case 13: + mes "an ^0000FFOil Palm Fruit^000000 falls out."; + getitem 6402,1; //Oil_Palm_F + break; + case 14: + case 16: + case 20: + specialeffect2 EF_BASH; + if (isequipped(5009)) { //Safety_Helmet + mes "something falls on your head, but since you're wearing a Safety Helmet you're safe and sound."; + emotion e_no1,1; + break; + } else { + mes "something smashes down on your head, right where that soft spot is, $#*@! that's a one in a million shot."; + percentheal -30,0; close2; - specialeffect EF_BASH; - initnpctimer; - disablenpc "Palm Tree#"+strnpcinfo(2); + donpcevent strnpcinfo(0)+"::OnDisable"; + warp "dew_fild01",371,211; end; } - } else { - mes "- There's a palm tree facing the cool wind. -"; - close; + case 10: + case 17: + if (countitem(6402) <= .@count-5) { + mes "tons of ^0000FFOil Palm Fruit^000000 crashes down from the tree."; + getitem 6402,1; //Oil_Palm_F + getitem 6402,1; //Oil_Palm_F + getitem 6402,1; //Oil_Palm_F + getitem 6402,1; //Oil_Palm_F + getitem 6402,1; //Oil_Palm_F + } else { + mes "an ^0000FFOil Palm Fruit^000000 falls out."; + getitem 6402,1; //Oil_Palm_F + } + break; + default: + mes "but nothing happens."; + break; } + close2; + donpcevent strnpcinfo(0)+"::OnDisable"; end; - -OnTimer60000: - enablenpc "Palm Tree#"+strnpcinfo(2); +OnEnable: + enablenpc strnpcinfo(0); stopnpctimer; end; +OnDisable: + disablenpc strnpcinfo(0); + initnpctimer; + end; +OnTimer60000: +OnTimer180000: +OnTimer120000: +OnTimer240000: + if(rand(2)) + donpcevent strnpcinfo(0)+"::OnEnable"; + end; +OnTimer300000: + donpcevent strnpcinfo(0)+"::OnEnable"; + end; } -dew_fild01,209,201,0 duplicate(Palm Tree) Palm Tree#drink01 844 -dew_fild01,338,121,0 duplicate(Palm Tree) Palm Tree#drink02 844 -dew_fild01,247,62,0 duplicate(Palm Tree) Palm Tree#drink03 844 -dew_fild01,358,136,0 duplicate(Palm Tree) Palm Tree#drink04 844 -dew_fild01,276,73,0 duplicate(Palm Tree) Palm Tree#drink05 844 -dew_fild01,326,147,0 duplicate(Palm Tree) Palm Tree#drink06 844 -dew_fild01,278,63,0 duplicate(Palm Tree) Palm Tree#drink07 844 -dew_fild01,334,107,0 duplicate(Palm Tree) Palm Tree#drink08 844 -dew_fild01,301,88,0 duplicate(Palm Tree) Palm Tree#drink09 844 -dew_fild01,307,146,0 duplicate(Palm Tree) Palm Tree#drink10 844 -dew_fild01,314,72,0 duplicate(Palm Tree) Palm Tree#drink11 844 -dew_fild01,325,159,0 duplicate(Palm Tree) Palm Tree#drink12 844 -dew_fild01,320,68,0 duplicate(Palm Tree) Palm Tree#drink13 844 -dew_fild01,339,163,0 duplicate(Palm Tree) Palm Tree#drink14 844 -dew_fild01,345,88,0 duplicate(Palm Tree) Palm Tree#drink15 844 -dew_fild01,346,193,0 duplicate(Palm Tree) Palm Tree#drink16 844 -dew_fild01,344,71,0 duplicate(Palm Tree) Palm Tree#drink17 844 -dew_fild01,355,193,0 duplicate(Palm Tree) Palm Tree#drink18 844 -dew_fild01,358,93,0 duplicate(Palm Tree) Palm Tree#drink19 844 -dew_fild01,341,261,0 duplicate(Palm Tree) Palm Tree#drink20 844 -dew_fild01,70,196,0 duplicate(Palm Tree) Palm Tree#drink21 844 -dew_fild01,363,219,0 duplicate(Palm Tree) Palm Tree#drink22 844 -dew_fild01,289,302,0 duplicate(Palm Tree) Palm Tree#drink23 844 -dew_fild01,97,145,0 duplicate(Palm Tree) Palm Tree#drink24 844 -dew_fild01,299,107,0 duplicate(Palm Tree) Palm Tree#drink25 844 -dew_fild01,206,99,0 duplicate(Palm Tree) Palm Tree#drink26 844 -dew_fild01,355,113,0 duplicate(Palm Tree) Palm Tree#drink27 844 -dew_fild01,188,72,0 duplicate(Palm Tree) Palm Tree#drink28 844 -dew_fild01,278,136,0 duplicate(Palm Tree) Palm Tree#drink29 844 -dew_fild01,238,80,0 duplicate(Palm Tree) Palm Tree#drink30 844 -dew_fild01,258,128,0 duplicate(Palm Tree) Palm Tree#drink31 844 -dew_fild01,252,97,0 duplicate(Palm Tree) Palm Tree#drink32 844 -dew_fild01,240,125,0 duplicate(Palm Tree) Palm Tree#drink33 844 -dew_fild01,256,98,0 duplicate(Palm Tree) Palm Tree#drink34 844 -dew_fild01,225,117,0 duplicate(Palm Tree) Palm Tree#drink35 844 -dew_fild01,119,42,0 duplicate(Palm Tree) Palm Tree#drink36 844 -dew_fild01,219,121,0 duplicate(Palm Tree) Palm Tree#drink37 844 -dew_fild01,279,93,0 duplicate(Palm Tree) Palm Tree#drink38 844 -dew_fild01,209,137,0 duplicate(Palm Tree) Palm Tree#drink39 844 -dew_fild01,206,156,0 duplicate(Palm Tree) Palm Tree#drink40 844 +dew_fild01,247,62,0 duplicate(DewataPalm) Palm Tree#drink01 844 +dew_fild01,276,73,0 duplicate(DewataPalm) Palm Tree#drink02 844 +dew_fild01,278,63,0 duplicate(DewataPalm) Palm Tree#drink03 844 +dew_fild01,301,88,0 duplicate(DewataPalm) Palm Tree#drink04 844 +dew_fild01,314,72,0 duplicate(DewataPalm) Palm Tree#drink05 844 +dew_fild01,320,68,0 duplicate(DewataPalm) Palm Tree#drink06 844 +dew_fild01,334,107,0 duplicate(DewataPalm) Palm Tree#drink07 844 +dew_fild01,345,88,0 duplicate(DewataPalm) Palm Tree#drink08 844 +dew_fild01,344,71,0 duplicate(DewataPalm) Palm Tree#drink09 844 +dew_fild01,358,93,0 duplicate(DewataPalm) Palm Tree#drink10 844 +dew_fild01,338,121,0 duplicate(DewataPalm) Palm Tree#drink11 844 +dew_fild01,358,136,0 duplicate(DewataPalm) Palm Tree#drink12 844 +dew_fild01,326,147,0 duplicate(DewataPalm) Palm Tree#drink13 844 +dew_fild01,307,146,0 duplicate(DewataPalm) Palm Tree#drink14 844 +dew_fild01,325,159,0 duplicate(DewataPalm) Palm Tree#drink15 844 +dew_fild01,339,163,0 duplicate(DewataPalm) Palm Tree#drink16 844 +dew_fild01,346,193,0 duplicate(DewataPalm) Palm Tree#drink17 844 +dew_fild01,355,193,0 duplicate(DewataPalm) Palm Tree#drink18 844 +dew_fild01,363,219,0 duplicate(DewataPalm) Palm Tree#drink19 844 +dew_fild01,341,261,0 duplicate(DewataPalm) Palm Tree#drink20 844 +dew_fild01,289,302,0 duplicate(DewataPalm) Palm Tree#drink21 844 +dew_fild01,70,196,0 duplicate(DewataPalm) Palm Tree#drink22 844 +dew_fild01,97,145,0 duplicate(DewataPalm) Palm Tree#drink23 844 +dew_fild01,119,42,0 duplicate(DewataPalm) Palm Tree#drink24 844 +dew_fild01,188,72,0 duplicate(DewataPalm) Palm Tree#drink25 844 +dew_fild01,238,80,0 duplicate(DewataPalm) Palm Tree#drink26 844 +dew_fild01,252,97,0 duplicate(DewataPalm) Palm Tree#drink27 844 +dew_fild01,256,98,0 duplicate(DewataPalm) Palm Tree#drink28 844 +dew_fild01,279,93,0 duplicate(DewataPalm) Palm Tree#drink29 844 +dew_fild01,299,107,0 duplicate(DewataPalm) Palm Tree#drink30 844 +dew_fild01,355,113,0 duplicate(DewataPalm) Palm Tree#drink31 844 +dew_fild01,278,136,0 duplicate(DewataPalm) Palm Tree#drink32 844 +dew_fild01,258,128,0 duplicate(DewataPalm) Palm Tree#drink33 844 +dew_fild01,240,125,0 duplicate(DewataPalm) Palm Tree#drink34 844 +dew_fild01,225,117,0 duplicate(DewataPalm) Palm Tree#drink35 844 +dew_fild01,219,121,0 duplicate(DewataPalm) Palm Tree#drink36 844 +dew_fild01,226,99,0 duplicate(DewataPalm) Palm Tree#drink37 844 +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 -// NPC - Hideouts +// Traditional Weapon Quest //============================================================ - -dew_fild01,57,273,0 script #hideout 45,1,1,{ - if(dewata_legend >= 1) { - warp "dew_in01",16,34; - end; +dew_fild01,127,240,4 script Gatti#weapon 813,{ + if (checkweight(1201,1) == 0 || MaxWeight - Weight < 10000) { + mes "- Hold it right there!! -"; + mes "- You're carrying too many items and don't have enough inventory space to receive any rewards. -"; + mes "- Please make more inventory space available and come back to take this challenge. -"; + close; } - mes "- You hear a faint conversation going on inside -"; - next; - mes "[Tribal Chief Paiko]"; - mes "Once again, I have failed to"; - mes "make the ^E66C2CJaty Crown^000000..."; - mes "I was sure that I could do it this time."; - mes "Why won't it work?"; - next; - mes "[Sage Kasyapa]"; - mes "The ^4AA02CJaty Crown^000000 has been known to"; - mes "have miraculous power since the"; - mes "time of the ancients."; - mes "But it's been said that only those"; - mes "who've earned a tribal honor"; - mes "would be able to use it."; - next; - mes "[Tribal Chief Paiko]"; - mes "^0000FFKasyapa^000000!!"; - mes "Are you saying that even though I"; - mes "am the leader of our tribe, I have"; - mes "not yet received that honor?"; - next; - mes "[Sage Kasyapa]"; - mes "Calm down, ^0000FFChief Paiko^000000..."; - mes "As the Great and Powerful Chief,"; - mes "you should be more than enough to qualify."; - next; - mes "[Sage Kasyapa]"; - mes "In my younger years I could have"; - mes "easily solved the problem, but this"; - mes "old man's mind cannot figure out"; - mes "what's missing."; - next; - mes "- The conversation trails off and"; - mes "you don't hear anymore. -"; - set dewata_legend,1; - close; -} - -dew_in01,16,31,0 script #hidein 45,1,1,{ - if(dewata_legend != 3) { - warp "dew_fild01",60,273; - end; + if (BaseLevel < 60) { + mes "[Gatti]"; + mes "Where in the hell am I? Everybody here is avoiding me."; + close; } - mes "- Kasyapa and Chief Paiko begin"; - mes "talking as you are about to"; - mes "leave... -"; - next; - mes "[Sage Kasyapa]"; - mes "I am unsure of what is missing, but"; - mes "that traveler could be a big help in"; - mes "creating the ^4AA02CJaty Crown^000000."; - mes "Of this I am certain."; - mes "The reason is..."; - next; - mes "[Tribal Chief Paiko]"; - mes "What is the reason?"; - next; - mes "[Sage Kasyapa]"; - mes "This ^E56717Cendrawasih Feather^000000 was owned"; - mes "by our first tribe leader when the"; - mes "crown was originally created."; - mes "It was stored as a treasured"; - mes "heirloom of our tribe."; - next; - mes "[Sage Kasyapa]"; - mes "But when the traveler came near,"; - mes "this feather started to shine, and"; - mes "I kept thinking that this is not"; - mes "just a coincidence"; - mes "This person will be the key to"; - mes "assisting us to make the crown."; - next; - mes "[Tribal Chief Paiko]"; - mes "Could it happen for sure?"; - mes "If so, I will give everything"; - mes "to support them..."; - set dewata_legend,4; - close; -} - -// NPC - Mastersmith Gatti -//============================================================ - -dew_fild01,127,240,4 script Gatti#weapon 813,{ - if (checkquest(5052) >= 0) { + if (dew_weapon == 0) { mes "[Gatti]"; - mes "Were you recognized by the natives?"; + mes "Hey there, young "+((Sex)?"man":"lady")+"~ Are you from around here?"; next; + select("No, I'm not."); mes "[Gatti]"; - mes "... ... ..."; + mes "I'd like to ask"; + mes "you a question."; + mes "Where is this place?"; next; - if (dewata_legend >= 5) { - mes "[Gatti]"; - mes "Oh yes! Finally."; - mes "You also possess a strong energy."; - mes "Did you finally get the recognition from natives?"; - next; - select("Yes."); - mes "[Gatti]"; - mes "Oh! Just as I expected!"; - mes "I was so lucky to meet you."; - mes "Everything is going so well."; - next; + mes "- He seems to be asking for the Island name. -"; + next; + input .@island_name$; + next; + mes "["+strcharinfo(0)+"]"; + mes "It's called "+ .@island_name$ +". What's wrong?"; + next; + if (.@island_name$ == "Dewata Island") { mes "[Gatti]"; - mes "I know I have no right to ask"; - mes "you for this, but a meeting like"; - mes "this is destiny..."; + mes "This is Dewata Island? You're sure this is Dewata Island?"; next; mes "[Gatti]"; - mes "- Gatti mumbles. -"; + mes "Hahahahahahahahaha...!!!"; next; + mes "- The old man started to laugh like a crazy person after hearing the name of the Island. You decide to ask a little bit later. -"; + set dew_weapon,1; + close; + } else { mes "[Gatti]"; - mes "The weapon material that I so"; - mes "longed for is ^0000FFComodo Leather^000000."; - mes "Please get me 100 of them."; + mes "Is that so... "+ .@island_name$ +"? "+ .@island_name$ +"... "+ .@island_name$ +"... "+ .@island_name$ +"..."; next; - mes "[Gatti]"; - mes "I'm so eager to make the weapon in"; - mes "the weapon blueprint."; + mes "- The old man gave a deep sigh of resignation and continued speaking. -"; next; mes "[Gatti]"; - mes "Please, before my passion fades out."; + mes "Damn... My plan is ruined. I invested all my fortunes to get there, but I failed. I can't do anything now, my boat has been wrecked."; next; - mes "[Gatti]"; - mes "Oh! And the Comodo Dragon is a very"; - mes "powerful monster, so please be careful."; - changequest 5052,5053; + mes "- The old man starts to cry. -"; + mes "- Feeling awkward, you quickly leave. -"; close; } + } else if (dew_weapon == 1) { + select("Well... Sir..."); mes "[Gatti]"; - mes "Not yet, I guess. I'm asking around"; - mes "everywhere, but I couldn't find a"; - mes "way to get recognition from natives."; - mes "I don't know when I can finish"; - mes "making this weapon."; + mes "Cough... cough..."; next; mes "[Gatti]"; - mes "If you get recognition before"; - mes "me, please DON'T forget to visit"; - mes "me."; - close; - } else if (checkquest(5053) >= 0) { - if (countitem(6403) > 99) { - mes "[Gatti]"; - mes "By the looks of your walk, you must"; - mes "have brought me 100 Comodo Leather. Hand it over to me."; - next; - mes "- Gatti takes the Comodo Leather from you. -"; - erasequest 5053; - set dewata_gatti,2; - delitem 6403,100; - close; - } - mes "[Gatti]"; - mes "Please be careful. The Comodo"; - mes "Dragon is very powerful monster."; - mes "And don't forget to bring me 100"; - mes "Comodo Leather on your"; - mes "way back."; - close; - } - if (dewata_gatti == 0) { + mes "Oh... Sorry~ Sorry. I was so happy that I finally arrived at Dewata Island."; + next; mes "[Gatti]"; - mes "Hey there, young man~ Are you from here?"; + mes "This is not a short story. Oh! I have to introduce myself first. I am Mastersmtih Gatti, also an Adventurer."; next; - select("No, I'm not."); mes "[Gatti]"; - mes "I'd like to ask you a question."; - mes "Where is this place?"; + mes "I found a mysterious Weapon blueprint, but I don't remember exactly when I acquired it."; next; - mes "- He seems to be asking for the"; - mes "Island name. -"; + mes "["+strcharinfo(0)+"]"; + mes "Weapon Blueprint?"; next; - input .@dewataname$; - if (.@dewataname$ != "Dewata Island") { - mes "[Gatti]"; - mes "Is that so... "+.@dewataname$+"? "+.@dewataname$+"... "+.@dewataname$+"..."; - mes ""+.@dewataname$+"..."; - next; - mes "- The old man gave a deep sign of resignation and countinued speaking. -"; - next; - mes "[Gatti]"; - mes "Damn... My plan is ruined. I"; - mes "invested all my fortunes to get"; - mes "there, but I failed. I can't do"; - mes "anything now, my boat has been"; - mes "wrecked."; - next; - mes "- The old man starts to cry. -"; - mes "- Feeling awkward, you quickly leave. -"; - close; - } mes "[Gatti]"; - mes "This is Dewata Island? You're sure"; - mes "this is Dewata Island?"; + mes "Yes! I traveled all around to find the materials for the weapon, but..."; next; - mes "[Gatti]"; - mes "Hahahahahahahahaha...!!!"; + mes "["+strcharinfo(0)+"]"; + mes "But?"; next; - mes "- The old man started to laugh"; - mes "like a crazy person after"; - mes "hearing the name of the island."; - mes "You decide to ask a little bit later. -"; - set dewata_gatti,1; - close; - } else if (dewata_gatti == 1) { - select("Well, sir..."); mes "[Gatti]"; - mes "Cough... cough..."; + mes "I coudn't find the last material anywhere."; next; mes "[Gatti]"; - mes "Oh... Sorry~ Sorry. I was so happy"; - mes "that I finally arrived at Dewata"; - mes "Island."; + mes "I was about to give up, but there was some fine print on the blueprint saying that it could be found on the Dewata Island."; next; mes "[Gatti]"; - mes "This is not a short story. Oh! I"; - mes "have to introduce myself first. I"; - mes "am Mastersmith Gatti, also an"; - mes "Adventurer."; + mes "I don't know why somebody put such an important thing in fine print. Anyway, after reading that, I invested all my fortunes to find that Island."; next; - mes "[Gatti]"; - mes "I found a mysterious weapon"; - mes "blueprint, but I don't remember"; - mes "exactly when I acquired it."; + mes "["+strcharinfo(0)+"]"; + mes "Oh... Is that so?"; next; - select("Weapon blueprint...?"); mes "[Gatti]"; - mes "Yes! I traveled all around to find"; - mes "the materials for the weapon, but..."; + mes "This island is strange. I arrived here a week ago, and everybody here has been avoiding me."; next; - select("But what?"); mes "[Gatti]"; - mes "I couldn't find the last material anywhere."; + mes "Last week was so hard, but you saved me by telling me this is Dewata Island."; + mes "Thank you for telling me, and thank you for passing here at just the right time."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Uh... No problem."; next; mes "[Gatti]"; - mes "It was about to give up, but there"; - mes "was some fine print on the"; - mes "blueprint saying that it could be"; - mes "found on Dewata Island."; + mes "Well... There was a little problem of my ship getting wrecked, but that's neither here nor there."; next; mes "[Gatti]"; - mes "I don't know why somebody put such"; - mes "an important thing in fine print."; - mes "Anyway, after reading that, I"; - mes "invested all my fortunes to find"; - mes "that Island."; + mes "Now that I found out this is Dewata Island, I should find the material for this great weapon."; next; - select("Oh... Is that so?"); mes "[Gatti]"; - mes "This island is strange. I arrived"; - mes "here a week ago, and everybody here"; - mes "has been avoiding me."; + mes "... ... ... ... ..."; next; + if (dew_legend < 9) { + mes "[Gatti]"; + mes "Ah! the material that I am looking for is Comodo Leather."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Comodo Leather?"; + next; + mes "[Gatti]"; + mes "Yes. In the blueprint, it's written that only the recognized few of the Dewata Natives are worthy enough to fight against the Comodo Dragon."; + next; + mes "[Gatti]"; + mes "In order to fight the Comodo Dragon, you have to get recognized by the natives. I assume it'll be hard to get the recognition."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Of course, it must be..."; + next; + mes "[Gatti]"; + mes "Let me ask you a favor. If you get the recognition first, please don't forget to visit me."; + close2; + setquest 5052; + set dew_weapon,2; + end; + } mes "[Gatti]"; - mes "Last week was so hard, but you"; - mes "saved me by telling me this is"; - mes "Dewata Island."; - mes "Thank you for telling me, and"; - mes "thank you for passing here at"; - mes "just the right time."; - next; - select("Uh... No problem."); + if(Sex == 0) + mes "Lady, you possess a strong energy."; + else + mes "You possess a strong energy."; + mes "Have you seen a monster called a Comodo Dragon on this Island?"; + next; + select("Yes, I have."); mes "[Gatti]"; - mes "Well... There was a little problem"; - mes "of my ship getting wrecked, but"; - mes "that's neither here nor there."; + mes "Oh! Really?"; + mes "I'm so lucky to have met you. This is going so well."; next; mes "[Gatti]"; - mes "Now that I found out this is"; - mes "Dewata Island, I should find"; - mes "the material for this great weapon."; + mes "Would you please help me?"; next; mes "[Gatti]"; - mes "... ... ... ..."; + mes "The weapon material that I was looking for is ^0000FFComodo Leather^000000. Bring me 100 of them, and I will make you a fancy weapon."; + setquest 5053; + set dew_weapon,3; next; mes "[Gatti]"; - mes "Ah! The material that I am looking"; - mes "for is ^FF0000Comodo Leather^000000."; + mes "I heard Comodo Dragons are very powerful monsters. Please be careful."; + close; + } else if (dew_weapon == 2) { + if (dew_legend < 9) { + mes "[Gatti]"; + mes "Did you get recognized by the natives?"; + next; + mes "[Gatti]"; + mes "... .... ..."; + next; + mes "[Gatti]"; + mes "I guess not yet. I'm asking around everywhere, but I couldn't find a way to get recognized from natives. I don't know when I could finish making this weapon."; + next; + mes "[Gatti]"; + mes "If you get the recognition before me, please DON'T forget to visit me."; + close; + } + mes "[Gatti]"; + mes "So, did you get recognized by the natives?"; next; - select("^FF0000Comodo Leather?^000000"); mes "[Gatti]"; - mes "Yes. In the blueprint, it's"; - mes "written that only a few"; - mes "of the Dewata Natives are"; - mes "worthy enough to fight"; - mes "against the Comodo Dragon."; + mes "... .... ..."; next; mes "[Gatti]"; - mes "In order to fight the Comodo"; - mes "Dragon, you have to get recognized"; - mes "by the natives. I assume it'll be"; - mes "hard to get the recognition."; + mes "Oh yes! Finally."; + if (Sex == 0) + mes "Lady, you also possess a strong energy."; + else + mes "You also possess a strong energy."; + mes "Did you finally get the recognition from natives?"; next; - select("Of course, it must be..."); + select("Yes."); mes "[Gatti]"; - mes "Let me ask you a favor."; - mes "If you get the recognition first,"; - mes "please don't forget to visit me."; - setquest 5052; - close; - } else if (dewata_gatti == 2) { + mes "Oh! Just as I expected!"; + mes "I was so lucky to meet you. Everything is going so well."; + next; mes "[Gatti]"; - mes "Oh~ Look at this. How resilient.. So soft."; + mes "I know I have no right to ask you for this, but meeting like this is a destiny..."; + next; + mes "- Gatti mumbles. -"; next; mes "[Gatti]"; - mes "Comodo Leather is the best material ever."; + mes "The weapon material that I so longed for is ^0000FFComodo Leather^000000. Please get me 100 of them."; next; mes "[Gatti]"; - mes "Hmm... Like this?"; + mes "I'm so eager to make the weapon in the weapon blueprint."; + changequest 5052,5053; + set dew_weapon,3; next; mes "[Gatti]"; - mes "Or like this? Yes! This is the way!"; + mes "Please, before my passion fades out."; next; - mes "- Mastersmith Gatti enjoys"; - mes "processing the Leathers you've"; - mes "brought to make the weapon. -"; - mes "- You should wait a little while. -"; - set dewata_gatti,3; + mes "[Gatti]"; + mes "Oh! And Comodo Dragon is a very powerful monster, so please be careful."; close; - } else if (dewata_gatti == 3) { - if (checkquest(5054) >= 0) { - mes "[Gatti]"; - mes "You brought all the material already?"; - mes "You were also curious about the finished weapon? Haha."; - next; + } else if (dew_weapon == 3) { + if (countitem(6403) > 99) { mes "[Gatti]"; - mes ".... .... ...."; + mes "By the looks of your walk, you must have brought me 100 Comodo Leather. Hand it over to me."; + delitem 6403,100; + erasequest 5053; + set dew_weapon,4; next; - if (countitem(6403)>99 && countitem(999)>19 && countitem(984)>9 && countitem(6404)) { - mes "[Gatti]"; - mes "Great, we have enough. Wait a little."; - next; - specialeffect EF_REFINEOK; - mes "[Gatti]"; - mes "I finished making the weapon. This"; - mes "is called ^FF0000Keris^000000, according to the blueprint."; - next; - mes "[Gatti]"; - mes "I keep finding new stuff when I"; - mes "lay my eyes on this blueprint."; - next; - mes "[Gatti]"; - mes "I've learned how to make the"; - mes "weapon, so ask me anytime if you need it."; - set dewata_gatti,4; - getitem 13067,1; - delitem 6403,100; - delitem 999,20; - delitem 984,10; - delitem 6404,1; - erasequest 5054; - close; - } + mes "- Gatti takes the Comodo Leather from you. -"; + close; + } else if (countitem(6403)) { mes "[Gatti]"; - mes "Hmm... I need more of those."; - mes "If my ship didn't get wrecked."; - mes "I could made it on my own, but..."; - next; - mes "- Gatti mumbles to himself. -"; + mes "So, that is the Comodo Leather. But not enough."; next; mes "[Gatti]"; - mes "100 Comodo Leather, 20 Steel,"; - mes "and 10 Oridecon are what I need."; - next; + mes "I know I'm asking you a favor, but I need 100 of them."; + close; + } else { mes "[Gatti]"; - mes "If you bring them all,"; - mes "I'll make the best weapon ever."; + mes "Please be careful because Comodo Dragon is very powerful monster. And don't forget to bring me 100 Comodo Leather on your way back."; close; } - select("Well... Gatti?"); + } else if (dew_weapon == 4) { mes "[Gatti]"; - mes "Oh! Sorry, sorry! This leather is"; - mes "so interesting."; + mes "Oh~ Look at this. How resilient... So soft."; + next; + mes "[Gatti]"; + mes "Comodo Leather is the best material ever."; + next; + mes "[Gatti]"; + mes "Yes, how should I process this?"; + next; + mes "[Gatti]"; + mes "Hmm... Like this?"; + next; + mes "[Gatti]"; + mes "Or like that? Yes! This is the way!"; + next; + mes "- Mastersmith Gatti is enjoying to process the Leathers you've brought to make the weapon. -"; + mes "- You should wait a little while. -"; + set dew_weapon,5; + close; + } else if (dew_weapon == 5) { + mes "["+strcharinfo(0)+"]"; + mes "Well... Gatti?"; + next; + mes "[Gatti]"; + mes "Oh! Sorry, sorry! This leather is so interesting."; next; mes "[Gatti]"; mes "I made a hilt out of the leather you brought me."; @@ -2239,222 +1978,293 @@ dew_fild01,127,240,4 script Gatti#weapon 813,{ mes "[Gatti]"; mes ".... .... .... ...."; next; - select("Hilt?"); + mes "["+strcharinfo(0)+"]"; + mes "Hilt?"; + next; mes "[Gatti]"; - mes "You don't know what a hilt is?"; - mes "That's what you call the handle of a weapon."; + mes "You don't know what a hilt is? That's what you call the handle of a weapon."; next; - mes "- Gatti shows a thing that looks like the handle of a weapon. -"; + mes "- Gatti shows a thing that looks like a handle of a weapon. -"; next; mes "[Gatti]"; - mes "I tried making it like what's"; - mes "written in the blueprint, but"; - mes "I need more material."; + mes "I tried making it like what's written in the blueprint, but I need more material."; + next; + mes "["+strcharinfo(0)+"]"; + mes "Really?"; next; - select("Really?"); mes "[Gatti]"; - mes ".... .... .... ...."; + mes "... ... ... ..."; next; mes "[Gatti]"; - mes "Yes... To be frank with you,"; - mes "I ruined a lot of them trying"; - mes "different things."; + mes "Yes... To be frank with you, I ruined a lot of them trying different things."; next; mes "[Gatti]"; - mes "I know this is alot to ask,"; - mes "but can you get me 100 more"; - mes "Comodo Leather, 20 Steel, and 10 Oridecon?"; + mes "I know this is a lot to ask, but can you get me 100 more Comodo Leather, 20 Steel, and 10 Oridecon?"; next; mes "[Gatti]"; mes "I'll make you a best weapon ever."; + setquest 5054; + set dew_weapon,6; + getitem 6404,1; //Caress_H next; mes "[Gatti]"; - mes "Oh! I almost forgot. Don't forget"; - mes "to bring the hilt that I just made you."; + mes "Oh! I almost forgot. Don't forget to bring the hilt that I just made you."; next; mes "[Gatti]"; mes "A weapon must have a handle."; - getitem 6404,1; - setquest 5054; close; - } else if (dewata_gatti >= 4) { + } else if (dew_weapon == 6) { + disable_items; + mes "[Gatti]"; + mes "You brought all the material already?"; + mes "You were also curious about the finished weapon? Haha."; + next; mes "[Gatti]"; - mes "You're ^FF0000"+strcharinfo(0)+"^000000?"; - mes "So, how's the Keris that I made it for you?"; + mes ".... .... ...."; next; - switch(select("It's great!:I need another Keris.:Can I make it stronger?")) { + if (countitem(6403) < 100 || countitem(999) < 20 || countitem(984) < 10 || countitem(6404) < 1) { + mes "[Gatti]"; + mes "Hmm... I need more of those. If my ship didn't get wrecked, I could made it on my own, but..."; + next; + mes "- Gatti mumbles to himself. -"; + next; + mes "[Gatti]"; + mes "100 Comodo Leather, 20 Steel, and 10 Oridecon are what I need."; + next; + mes "[Gatti]"; + mes "If you bring them all, I'll make the best weapon ever."; + close; + } + mes "[Gatti]"; + mes "Great! We have enough. Wait a little."; + next; + specialeffect2 EF_REPAIRWEAPON; + next; + emotion e_swt2; + next; + mes "[Gatti]"; + mes "I finished making the weapon. This is called Caress according to the blueprint."; + next; + mes "[Gatti]"; + mes "I keep finding new stuffs when I lay my eyes on this blueprint."; + next; + mes "[Gatti]"; + mes "Now, I learned how to make the weapon, ask me any time if you need it."; + erasequest 5054; + set dew_weapon,7; + delitem 6403,100; //Comodo_L + delitem 999,20; //Steel + delitem 984,10; //Oridecon + delitem 6404,1; //Caress_H + getitem 13067,1; //Caress + close; + } else if (dew_weapon >= 7) { + mes "[Gatti]"; + mes "You're "+strcharinfo(0)+","; + mes "So, how's the Caress that I made you?"; + switch(select("It's great!:I need another Caress.:Can I make it stronger?")) { case 1: mes "[Gatti]"; mes "Yes, yes of course it's great."; - mes "I made that weapon so it must be good."; + mes "I made that weapon so it should be good."; close; case 2: - if (countitem(6404) == 1) { - if (countitem(6403)>69 && countitem(999)>19 && countitem(984)>9) { + disable_items; + if (countitem(6404)) { + if (countitem(6403) < 70 || countitem(984) < 10 || countitem(999) < 20 || countitem(6404) < 1) { mes "[Gatti]"; - mes "You have all materials."; - mes "Wait just a little."; + mes "You only have a Hilt. You'll need to bring me 10 Oridecon, 20 Steel, and 70 Comodo Leather."; next; - specialeffect EF_REFINEOK; mes "[Gatti]"; - mes "Here is the Keris! Ask me anytime."; - getitem 13067,1; - delitem 6404,1; - delitem 6403,70; - delitem 999,20; - delitem 984,10; + mes "If you bring them, I'll make a brand new Caress."; close; } mes "[Gatti]"; - mes "You only have a Hilt. You'll need"; - mes "to bring me 10 Oridecon, 20 Steel,"; - mes "and 70 Comodo Leather."; + mes "You have all the materials. Wait just a little."; next; - mes "[Gatti]"; - mes "If you bring them, I'll make a"; - mes "brand new Keris."; - close; - } else if (countitem(6404) > 1) { - mes "[Gatti]"; - mes "You already have 1 Hilt in your inventory. What do you need 1 more Hilt for?"; - close; - } else if (countitem(6403)>49 && countitem(7201)) { - mes "[Gatti]"; - mes "You bought the material for the"; - mes "Hilt. I'll make it right away."; + specialeffect2 EF_REPAIRWEAPON; next; - mes "[Gatti]"; - mes "Put in here, and process it like this..."; + emotion e_swt2; next; mes "[Gatti]"; - mes "Here you go. I can make a Keris if"; - mes "you bring me 10 Oridecon, 20 Steel,"; - mes "and 70 Comodo Leather."; - getitem 6404,1; - delitem 6403,50; - delitem 7201,1; + mes "Here is the Caress! Ask me any time."; + delitem 6403,70; //Comodo_L + delitem 999,20; //Steel + delitem 984,10; //Oridecon + delitem 6404,1; //Caress_H + getitem 13067,1; //Caress close; - } - mes "[Gatti]"; - mes "You want me to make one more"; - mes "Keris for you? In that case I"; - mes "need a Hilt, 50 Comodo Leather,"; - mes "and 1 Log. These are what I need to make a Hilt."; - close; - case 3: - mes "[Gatti]"; - mes "So, you want to enchant your"; - mes "weapon? The weapon gets broken"; - mes "from time to time during the"; - mes "process, but it doesn't"; - mes "happen that often."; - next; - mes "[Gatti]"; - mes "In another case, the enchantment"; - mes "may be applied to an item which"; - mes "you didn't mean to enchant."; - mes "So just bring ^5555ffONE Weapon^000000"; - mes "if you want the enchantment to be safe."; - next; - switch(select("Please enchant the weapon.","Things you need to know.","Maybe next time.")) { - case 1: - mes "[Gatti]"; - mes "^FFA500To enchant your Weapon^000000:"; - mes "- 100,000 Zeny"; - mes "- ^FF0000Weapon will lose refines and cards^000000."; - next; - if (countitem(13067) > 1) { + } else { + if (countitem(6403) < 50 || countitem(7201) < 1) { mes "[Gatti]"; - mes "Please come back with just ONE equipment to be enchanted."; + mes "You want me to make one more Caress for you? In that case I need a Hilt. 50 Comodo Leather, and 1 Log. These are what I need to make a Hilt."; close; } mes "[Gatti]"; - mes "You want to enchant your"; - mes "^FF0000" + getitemname(13067) + "^000000?"; - mes "The cost of this work is ^0000FF100,000^000000 Zeny."; + mes "You brought the material for the Hilt. I'll make it right away."; next; - if(select("Do it, please!:May be next time..")==2) close; - if (Zeny < 100000) { - mes "[Gatti]"; - mes "I'd like to go ahead with this enchant attempt, but you're missing a few things."; - mes "You sure that you have enough Zeny."; - close; - } - delitem 13067,1; - set Zeny, Zeny-100000; - close2; - specialeffect2 EF_REPAIRWEAPON; - progressbar "FFFF00",3; - set .@Enchant_3,rand(4760,4802); - set .@Enchant_4,rand(4760,4802); - set .@ERate, rand(100); - if (.@ERate < 14) { // -- 14% Break chance - mes "[Gatti]"; - mes "Wah! I am so sorry, but it failed."; - mes "However, I am completely innocent."; - mes "This is your luck, and it was destined by god, okay?"; - mes "Don't be so disappointed, and try next time."; - next; - mes "[Gatti]"; - mes "I wish you good luck next time!"; - close; - } - getitem2 13067,1,1,0,0,0,0,.@Enchant_3,.@Enchant_4; mes "[Gatti]"; - mes "Great, your weapon received the enchant."; - mes "It looks pretty well done. Congratulations!"; + mes "Put this here, and process it like this..."; next; mes "[Gatti]"; - mes "See you again, adventurer!"; + mes "Here you go. I can make a Caress if you bring me 10 Oridecon, 20 Steel, and 70 Comodo Leather."; + delitem 6403,50; //Comodo_L + delitem 7201,1; //Log + getitem 6404,1; //Caress_H close; - case 2: - mes "[Gatti]"; - mes "If you want to do it, I'll"; - mes "have to tell you some cautionary"; - mes "things before enchanting the"; - mes "weapon."; - next; - mes "[Gatti]"; - mes "I need 1 weapon of level"; - mes "3 or 4, and maximum slot of 2."; - mes "And 100,000 Zeny too."; - mes "As you know, I don't have any"; - mes "money right now because my"; - mes "ship got wrecked."; - next; - mes "[Gatti]"; - mes "If you have a weapon that is"; - mes "refined or inserted with cards"; - mes "in your inventory which you"; - mes "don't want to enchant, it"; - mes "could get destroyed."; - next; - mes "[Gatti]"; - mes "Or its upgrades could get"; - mes "changed during the"; - mes "enchantment process."; - next; - mes "[Gatti]"; - mes "If you don't want that to"; - mes "happen, put the refined"; - mes "weapon elsewhere before the enchantment."; - next; + } + case 3: + mes "[Gatti]"; + mes "So, you want to reinforce your weapon? The weapon gets broken from time to time during the process, but it doesn't happen that often."; + if(select("Please reinforce the weapon.:May be next time.") == 2) { mes "[Gatti]"; - mes "Sometimes the enchantment"; - mes "fails. The weapon doesn't get"; - mes "destroyed every time you fail."; - mes "However, you should know that"; - mes "the weapon gets destroyed from"; - mes "time to time."; + mes "Whenever you want to reinforce the Caress, just bring me the Caress and 100,000 zeny."; close; - case 3: + } + mes "[Gatti]"; + mes "If you want to do it, I'll have to tell you some cautionary things before reinforcing the Caress."; + next; + mes "[Gatti]"; + mes "^FF0000First!^009977 I need 1 Caress and 100,000 zeny to reinforce the Caress. As you know, I don't have any money right now because my ship got wrecked.^000000"; + next; + mes "[Gatti]"; + mes "^FF0000Second!^009977 If you have a Caress that is refined or inserted with cards in your inventory which you don't want to reinforce, it could get destroyed or it's upgrades can get changed during the reinforcing process."; + next; + mes "[Gatti]"; + mes "If you don't want that to happen, put the refined Caress elsewhere before the reinforcing.^000000"; + next; + mes "[Gatti]"; + mes "^FF0000Third!^009977 Sometimes reinfocing fails. The weapon doesn't get destroyed everytime you fail. However you should know that the weapon gets destroyed from time to time if you fail.^000000"; + next; + if(select("Please reinforce the weapon.:Maybe next time.") == 2) { mes "[Gatti]"; - mes "Whenever you want to enchant"; - mes "weapon, just bring me the"; - mes "weapon you want to enchant"; - mes "and 100,000 Zeny."; + mes "Whenever you want to reinforce the Caress, just bring me the Caress and 100,000 zeny."; close; } + break; + } + + if (countitem(13067) < 1 || Zeny < 100000) { + mes "[Gatti]"; + mes "You don't have all the materials. It's impossible to reinforce if you don't have them all. If you want to reinforce, bring 100,000 zeny and 1 Caress."; + close; } + specialeffect2 EF_REPAIRWEAPON; + progressbar "0xFFFF00",3; + set Zeny, Zeny - 100000; + + // Socket 3 + set .@i, rand(4300); + if (.@i < 150) set .@s3,4700; // STR + 1 + else if (.@i < 300) set .@s3,4730; // AGI + 1 + else if (.@i < 450) set .@s3,4740; // VIT + 1 + else if (.@i < 600) set .@s3,4710; // INT + 1 + else if (.@i < 750) set .@s3,4720; // DEX + 1 + else if (.@i < 900) set .@s3,4750; // LUK + 1 + else if (.@i < 1050) set .@s3,4761; // MATK + 2% + else if (.@i < 1200) set .@s3,4764; // CRIT + 5 + else if (.@i < 1350) set .@s3,4786; // MDEF + 2 + else if (.@i < 1500) set .@s3,4791; // DEF + 3 + else if (.@i < 1650) set .@s3,4795; // HP + 100 + else if (.@i < 1750) set .@s3,4800; // SP + 50 + else if (.@i < 1850) set .@s3,4797; // HP + 300 + else if (.@i < 1950) set .@s3,4793; // DEF + 9 + else if (.@i < 2050) set .@s3,4788; // MDEF + 6 + else if (.@i < 2150) set .@s3,4752; // LUK + 3 + else if (.@i < 2250) set .@s3,4722; // DEX + 3 + else if (.@i < 2350) set .@s3,4712; // INT + 3 + else if (.@i < 2450) set .@s3,4742; // VIT + 3 + else if (.@i < 2550) set .@s3,4732; // AGI + 3 + else if (.@i < 2650) set .@s3,4702; // STR + 3 + else if (.@i < 2700) set .@s3,4703; // STR + 4 + else if (.@i < 2750) set .@s3,4733; // AGI + 4 + else if (.@i < 2800) set .@s3,4743; // VIT + 4 + else if (.@i < 2850) set .@s3,4713; // INT + 4 + else if (.@i < 2900) set .@s3,4723; // DEX + 4 + else if (.@i < 2950) set .@s3,4753; // LUK + 4 + else if (.@i < 3000) set .@s3,4789; // MDEF + 8 + else if (.@i < 3001) set .@s3,4704; // STR + 5 + else if (.@i < 3002) set .@s3,4734; // AGI + 5 + else if (.@i < 3003) set .@s3,4744; // VIT + 5 + else if (.@i < 3004) set .@s3,4714; // INT + 5 + else if (.@i < 3005) set .@s3,4724; // DEX + 5 + else if (.@i < 3006) set .@s3,4754; // LUK + 5 + else if (.@i < 3007) set .@s3,4806; // MATK + 3% + else if (.@i < 3008) set .@s3,4765; // CRIT + 7 + else if (.@i < 3009) set .@s3,4766; // ATK + 2% + else if (.@i < 3010) set .@s3,4801; // SP + 100 + else if (.@i < 3140) set .@s3,4796; // HP + 200 + else if (.@i < 3270) set .@s3,4792; // DEF + 6 + else if (.@i < 3400) set .@s3,4787; // MDEF + 4 + else if (.@i < 3530) set .@s3,4751; // LUK + 2 + else if (.@i < 3660) set .@s3,4721; // DEX + 2 + else if (.@i < 3790) set .@s3,4711; // INT + 1 + else if (.@i < 3920) set .@s3,4741; // VIT + 2 + else if (.@i < 4050) set .@s3,4731; // AGI + 2 + else if (.@i < 4180) set .@s3,4701; // STR + 2 + else set .@s3,0; + + // Socket 4 + set .@j, rand(4100); + if (.@j < 130) set .@s4,4700; // STR + 1 + else if (.@j < 260) set .@s4,4730; // AGI + 1 + else if (.@j < 390) set .@s4,4740; // VIT + 1 + else if (.@j < 520) set .@s4,4710; // INT + 1 + else if (.@j < 650) set .@s4,4720; // DEX + 1 + else if (.@j < 780) set .@s4,4750; // LUK + 1 + else if (.@j < 910) set .@s4,4760; // MATK + 1% + else if (.@j < 1040) set .@s4,4764; // CRIT + 5 + else if (.@j < 1170) set .@s4,4766; // ATK + 2% + else if (.@j < 1300) set .@s4,4786; // MDEF + 2 + else if (.@j < 1430) set .@s4,4791; // DEF + 3 + else if (.@j < 1560) set .@s4,4795; // HP + 100 + else if (.@j < 1690) set .@s4,4800; // SP + 50 + else if (.@j < 1790) set .@s4,4796; // HP + 200 + else if (.@j < 1890) set .@s4,4792; // DEF + 6 + else if (.@j < 1990) set .@s4,4787; // MDEF + 4 + else if (.@j < 2090) set .@s4,4767; // ATK + 3% + else if (.@j < 2190) set .@s4,4765; // CRIT + 7 + else if (.@j < 2290) set .@s4,4751; // LUK + 2 + else if (.@j < 2390) set .@s4,4721; // DEX + 2 + else if (.@j < 2490) set .@s4,4711; // INT + 2 + else if (.@j < 2590) set .@s4,4741; // VIT + 2 + else if (.@j < 2690) set .@s4,4731; // AGI + 2 + else if (.@j < 2790) set .@s4,4701; // STR + 2 + else if (.@j < 2860) set .@s4,4702; // STR + 3 + else if (.@j < 2930) set .@s4,4732; // AGI + 3 + else if (.@j < 3000) set .@s4,4742; // VIT + 3 + else if (.@j < 3140) set .@s4,4712; // INT + 3 + else if (.@j < 3210) set .@s4,4722; // DEX + 3 + else if (.@j < 3280) set .@s4,4788; // MDEF + 8 + else if (.@j < 3350) set .@s4,4793; // DEF + 9 + else if (.@j < 3420) set .@s4,4797; // HP + 300 + else if (.@j < 3490) set .@s4,4801; // SP + 100 + else if (.@j < 3540) set .@s4,4798; // HP + 400 + else if (.@j < 3590) set .@s4,4789; // MDEF + 8 + else if (.@j < 3640) set .@s4,4753; // LUK + 4 + else if (.@j < 3690) set .@s4,4723; // DEX + 4 + else if (.@j < 3740) set .@s4,4713; // INT + 4 + else if (.@j < 3790) set .@s4,4743; // VIT + 4 + else if (.@j < 3840) set .@s4,4733; // AGI + 4 + else if (.@j < 3890) set .@s4,4703; // STR + 4 + else if (.@j < 3900) set .@s4,4704; // STR + 5 + else if (.@j < 3910) set .@s4,4734; // AGI + 5 + else if (.@j < 3920) set .@s4,4744; // VIT + 5 + else if (.@j < 3930) set .@s4,4714; // INT + 5 + else if (.@j < 3940) set .@s4,4724; // DEX + 5 + else if (.@j < 3950) set .@s4,4754; // LUK + 5 + else set .@s4,0; + + delitem 13067,1; //Caress + if (.@s3 == 0 && .@s4 == 0) { + mes "[Gatti]"; + mes "Oh my~~ Almost succeeded... But failed. Sorry, sorry..."; + emotion e_omg; + close; + } + getitem2 13067,1,1,0,0,0,0,.@s3,.@s4; + mes "[Gatti]"; + mes "Reinforcing the Caress has been successful. See you later."; + close; } } diff --git a/npc/re/scripts_athena.conf b/npc/re/scripts_athena.conf index 04330ac3b..f65d08561 100644 --- a/npc/re/scripts_athena.conf +++ b/npc/re/scripts_athena.conf @@ -22,6 +22,8 @@ npc: npc/re/guides/guides_amatsu.txt npc: npc/re/guides/guides_ayothaya.txt npc: npc/re/guides/guides_brasilis.txt npc: npc/re/guides/guides_comodo.txt +npc: npc/re/guides/guides_dewata.txt +npc: npc/re/guides/guides_dicastes.txt npc: npc/re/guides/guides_einbroch.txt npc: npc/re/guides/guides_geffen.txt npc: npc/re/guides/guides_gonryun.txt @@ -83,4 +85,4 @@ npc: npc/re/quests/quests_lighthalzen.txt npc: npc/re/quests/quests_malangdo.txt npc: npc/re/quests/quests_veins.txt npc: npc/re/quests/monstertamers.txt -npc: npc/re/quests/quests_13_1.txt
\ No newline at end of file +npc: npc/re/quests/quests_13_1.txt diff --git a/npc/re/warps/cities/dewata.txt b/npc/re/warps/cities/dewata.txt index d5c0b7f93..9ca29688c 100644 --- a/npc/re/warps/cities/dewata.txt +++ b/npc/re/warps/cities/dewata.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Chilly //===== Current Version: ===================================== -//= 1.1 +//= 1.2 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= @@ -11,11 +11,12 @@ //===== Additional Comments: ================================= //= 1.0 First version //= 1.1 Disabled warps that clash with quest warps. [Euphy] +//= 1.2 Updated to match official scripts. [Lemongrass] //============================================================ -dewata,44,252,0 warp dewata0001 1,1,dew_fild01,372,212 -dew_fild01,375,212,0 warp dewata0002 1,1,dewata,47,252 -//dew_fild01,57,273,0 warp dewata0003 1,1,dew_in01,16,34 -//dew_in01,16,31,0 warp dewata0004 1,1,dew_fild01,60,273 +dewata,44,252,0 warp dewata0001 1,1,dew_fild01,373,212 +dew_fild01,375,212,0 warp dewata0002 1,1,dewata,46,251 +//dew_fild01,57,273,0 warp dewata0003 1,1,dew_in01,15,33 +//dew_in01,16,31,0 warp dewata0004 1,1,dew_fild01,59,273 dew_fild01,48,65,0 warp dewata0005 1,1,dew_dun02,302,30 -dew_dun02,305,30,0 warp dewata0006 1,1,dew_fild01,51,65 +dew_dun02,305,30,0 warp dewata0006 1,1,dew_fild01,50,65 |