diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
commit | cf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch) | |
tree | f9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/017-4/orum.txt | |
parent | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff) | |
download | serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2 serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip |
Override
Diffstat (limited to 'npc/017-4/orum.txt')
-rwxr-xr-x | npc/017-4/orum.txt | 821 |
1 files changed, 821 insertions, 0 deletions
diff --git a/npc/017-4/orum.txt b/npc/017-4/orum.txt new file mode 100755 index 00000000..771b3469 --- /dev/null +++ b/npc/017-4/orum.txt @@ -0,0 +1,821 @@ + +017-4,211,32,0 script Orum NPC158,{ + // first flower + @AMOUNT_SMALLMUSHROOM = 5; + @AMOUNT_ASH = 5; + @RECOMPENSATION_1 = 5000; + // second flower + @AMOUNT_PINKPETAL = 5; + @AMOUNT_STINGER = 5; + @RECOMPENSATION_2 = 10000; + // third flower + @AMOUNT_WHITEFUR = 5; + @AMOUNT_REDSTINGER = 5; + @RECOMPENSATION_3 = 20000; + // fourth flower + @AMOUNT_HARDSPIKE = 5; + @AMOUNT_ANGRYSTINGER = 5; + @RECOMPENSATION_4 = 40000; + // fifth flower + @AMOUNT_ACORN = 20; + @AMOUNT_PEARL = 3; + @AMOUNT_BLACKSTINGER = 5; + @RECOMPENSATION_5 = 80000; + + @REWARD_MONEY = 100000; + @Reward_Exp = 100000; + + if (OrumQuest > 31) goto L_Done; + + if (OrumQuest == 31) goto L_PlacedFifthFlower; + if (OrumQuest == 30) goto L_PlaceFifthFlower; + if (OrumQuest == 29) goto L_FailedFifthFlower; + if (OrumQuest == 28) goto L_FifthFlower; + + if (OrumQuest == 27) goto L_PlacedFourthFlower; + if (OrumQuest == 26) goto L_PlaceFourthFlower; + if (OrumQuest == 25) goto L_FourthFlower; + + if (OrumQuest == 24) goto L_PlacedThirdFlower; + if (OrumQuest == 23) goto L_PlaceThirdFlower; + if (OrumQuest == 22) goto L_ThirdFlower; + + if (OrumQuest == 21) goto L_PlacedSecondFlower; + if (OrumQuest == 20) goto L_PlaceSecondFlower; + if (OrumQuest == 19) goto L_SecondFlower; + + if (OrumQuest == 18) goto L_PlacedFirstFlower; + if (OrumQuest == 17) goto L_PlaceFirstFlower; + if (OrumQuest == 16) goto L_FirstFlower; + + if (OrumQuest == 15) goto L_InitialTalk; + + goto L_Banish; + +L_InitialTalk: // 15: Persuaded the Guarding Spirit to let you into the cave + mes "[Orum]"; + mes "\"I... My Guarding Spirit... You... What...\""; + mes "[Waric]"; + mes "\"Pull yourself together!\""; + next; + mes "[Orum]"; + mes "\"Y-yes, master.\""; + mes "He turns to you."; + mes "\"I told you not to follow us! Are you so eager to die?\""; + menu + "I'm here to offer my services...", L_Next, + "Ha! You thought you could hide from me?", L_Banish, + "Keep calm, I want to work with you.", L_Next, + "D-d-die?!", L_Banish; + +L_Next: + mes "[Orum]"; + mes "\"You want to help us?\""; + mes "Waric raises his eyebrows."; + next; + mes "[Orum]"; + mes "\"I don't think that's a good idea.\""; + menu + "You won't know until you try.", L_Next1, + "You have no choice, I've found your hideout!", L_Banish; + +L_Next1: + mes "[Orum]"; + mes "\"Well, why not? Here is a simple enough task to prove you're serious."; + mes "Bring me " + @AMOUNT_SMALLMUSHROOM + " Small Mushrooms, " + @AMOUNT_ASH + " Piles of Ash and one Orange Tulip.\""; + + OrumQuest = 16; + menu + "Sure!", L_close, + "Why do you need that?", L_Next2; + +L_Next2: + mes "[Orum]"; + mes "\"Don't ask stupid questions! Do as you're told.\""; + mes "..."; + mes "\"Those things are ingredients for a magical artifact. You don't need to know more at the moment.\""; + goto L_close; + +L_Banish: + mes "[Orum]"; + mes "\"This will be the last mistake you did...\""; + mes "He starts mumbling under his breath and you suddenly feel weirdly weightless. Your vision fades..."; + mes "The last thing you hear is Waric shouting something about untalented apprentices."; + Hp = 1 + rand(5); + warp "017-1", 0, 0; + goto L_close; + +L_FirstFlower: // 16: Got task to bring materials for first magical flower + mes "[Orum]"; + mes "\"So? Where are the " + @AMOUNT_SMALLMUSHROOM + " Small Mushrooms, " + @AMOUNT_ASH + " Piles of Ash and Orange Tulip you should've brought?\""; + menu + "I have everything you want!", L_Next3, + "I don't have it yet.", L_close; + +L_Next3: + if ((countitem("SmallMushroom") < @AMOUNT_SMALLMUSHROOM) + || (countitem("PileOfAsh") < @AMOUNT_ASH) + || (countitem("OrangeTulip") < 1)) + goto L_NoItem; + + delitem "SmallMushroom", @AMOUNT_SMALLMUSHROOM; + delitem "PileOfAsh", @AMOUNT_SMALLMUSHROOM; + delitem "OrangeTulip", 1; + getitem "OrangeSummonFlower", 1; + OrumQuest = 17; + + mes "Orum takes the items and starts crushing them, using a very old-looking mortar and pestle. As they turn into a fine powder, he mixes some of it together in the cauldron and finally dips the tulip into it, mumbling enchantements. The tulip changes its appearance. Then he hands it over to you."; + mes "[Orum]"; + mes "\"Phew, done. Now I feel exhausted. You need to place it at its destination.\""; + next; + goto L_WayFirstFlower; + +L_WayFirstFlower: + mes "\"We prepared a place for this in the forest outside the caves. When you leave the cave, go a couple of steps to the east and you'll find a spot of grass with flowers on a small hill. You have to place it there, right in the middle.\""; + goto L_close; + +L_PlaceFirstFlower: // 17: Got task to place the first magical flower + mes "[Orum]"; + mes "\"Go ahead and place the first magical flower.\""; + menu + "Okay, I'll do that.", L_close, + "Could you explain where to place it, one more time?", L_WayFirstFlower, + "I... I lost it.", L_Next4; + +L_Next4: + mes "[Orum]"; + mes "\"What?! I can't believe this! How could you handle a powerful magical artifact in such a careless way?\""; + next; + mes "\"This behaviour shouldn't remain unpunished. Pay a recompensation fee of " + @RECOMPENSATION_1 + " GP, and I'm going to allow you to continue helping us. So?\""; + menu + "Okay.", L_Next5, + "No way, that's too much!", L_NoRecompensation; + +L_Next5: + if (Zeny < @RECOMPENSATION_1) + goto L_NoMoney; + Zeny = Zeny - @RECOMPENSATION_1; + OrumQuest = 16; + + mes "[Orum]"; + mes "\"Very well. Now bring me " + @AMOUNT_SMALLMUSHROOM + " Small Mushrooms, " + @AMOUNT_ASH + " Piles of Ash and one Orange Tulip again, so we can start over.\""; + goto L_close; + +L_PlacedFirstFlower: // 18: Placed first magical flower + mes "[Orum]"; + mes "\"I felt the eruption of magical power when you placed it! Wonderful! Let's start with the next one right now.\""; + menu + "Okay, what should I do now?", L_Next6, + "Weird monsters appeared when I placed it!", L_AskMonsters; + +L_Next6: + OrumQuest = 19; + goto L_SecondFlower; + +L_AskMonsters: + mes "[Orum]"; + mes "\"Oh, right. Well, that was to be expected, some of the power seeped out when you placed it. I hope those monsters didn't harm you."; + mes "However, we should continue.\""; + OrumQuest = 19; + next; + goto L_SecondFlower; + +L_SecondFlower: // 19: Got task to bring materials for second magical flower + mes "[Orum]"; + mes "\"Bring me " + @AMOUNT_PINKPETAL + " Pink Petals, " + @AMOUNT_STINGER + " Scorpion Stingers and one Pink Tulip.\""; + menu + "I have it.", L_Next7, + "All right, I'll get it.", L_close, + "What's the purpose of this?", L_AskPurpose; + +L_Next7: + if ((countitem("PinkPetal") < @AMOUNT_PINKPETAL) + || (countitem("ScorpionStinger") < @AMOUNT_STINGER) + || (countitem("PinkTulip") < 1)) + goto L_NoItem; + + delitem "PinkPetal", @AMOUNT_PINKPETAL; + delitem "ScorpionStinger", @AMOUNT_STINGER; + delitem "PinkTulip", 1; + getitem "PurpleSummonFlower", 1; + OrumQuest = 20; + + mes "Orum starts to work on the materials you've gathered, in the same manner he did the first time. Suddenly something from the mortar gets on his hand and it makes a nasty sizzling noise. He yells in pain, clutching his hand to his chest. After cleaning his hand he continues. In the end he gives you another magical flower while rubbing his hand."; + next; + mes "[Orum]"; + mes "\"Ouch, it still hurts. I need some time to recover. In the meantime, go and place the flower.\""; + next; + goto L_WaySecondFlower; + +L_WaySecondFlower: + mes "[Orum]"; + mes "\"The next spot is in the Woodland Hills. When you leave our caves, go south until you come out of the forest. Then walk west, past the hut of that old man."; + mes "The spot where you have to place it is on higher ground, so you'll have to find a way through the caves to reach it.\""; + goto L_close; + +L_AskPurpose: + mes "[Orum]"; + mes "\"Purpose? Well... We're building a pentagram.\""; + goto L_close; + +L_PlaceSecondFlower: // 20: Got task to place the second magical flower + mes "[Orum]"; + mes "\"Go and place the second magical flower.\""; + menu + "I'm on my way.", L_close, + "Where do I have to put it again?", L_WaySecondFlower, + "Sorry, I've lost it.", L_Next8; + +L_Next8: + mes "[Orum]"; + mes "\"What?! You incompetent dunderhead! I got hurt while creating this powerful magical artifact and you managed to lose it!?\""; + next; + mes "\"This behaviour shouldn't remain unpunished. Pay a recompensation fee of " + @RECOMPENSATION_2 + " GP, and I'm going to allow you to continue helping us. So?\""; + menu + "Ok.", L_Next9, + "No way, that's too much!", L_NoRecompensation; + +L_Next9: + if (Zeny < @RECOMPENSATION_2) + goto L_NoMoney; + Zeny = Zeny - @RECOMPENSATION_2; + OrumQuest = 19; + + mes "[Orum]"; + mes "\"Okay, now that this is settled, bring me " + @AMOUNT_PINKPETAL + " Pink Petals, " + @AMOUNT_STINGER + " Scorpion Stingers and one Pink Tulip again.\""; + goto L_close; + +L_PlacedSecondFlower: // 21: Placed second magical flower + mes "[Orum]"; + mes "\"Very good. You placed the second flower, right? I could feel it here."; + mes "Everything is going very well.\""; + mes "Orum grins contently."; + menu + "What do you need next?", L_Next10, + "How can we build a pentagram by randomly planting flowers?", L_AskPentagram; + +L_Next10: + OrumQuest = 22; + goto L_ThirdFlower; + +L_AskPentagram: + mes "[Orum]"; + mes "\"Randomly? The spots for the flowers have been very carefully chosen! You see, it's going to be a very LARGE pentagram.\""; + OrumQuest = 22; + next; + goto L_ThirdFlower; + +L_ThirdFlower: // 22: Got task to bring materials for third magical flower + mes "[Orum]"; + mes "\"Now we need " + @AMOUNT_WHITEFUR + " White Furs, " + @AMOUNT_REDSTINGER + " Red Scorpion Stingers and one White Tulip.\""; + menu + "I got everything you want.", L_Next11, + "I'm still trying to gather what you need.", L_close, + "And what is the pentagram going to do?", L_AskPentaEffect; + +L_Next11: + if ((countitem("WhiteFur") < @AMOUNT_WHITEFUR) + || (countitem("RedScorpionStinger") < @AMOUNT_REDSTINGER) + || (countitem("WhiteTulip") < 1)) + goto L_NoItem; + + delitem "WhiteFur", @AMOUNT_WHITEFUR; + delitem "RedScorpionStinger", @AMOUNT_REDSTINGER; + delitem "WhiteTulip", 1; + + mes "Orum takes the materials out of your hands and starts preparing them."; + mes "[Orum]"; + mes "\"This time you're going to help me. It's safer when I don't have to handle all of it myself. Okay, listen.\""; + next; + mes "\"Here is the rheological additive that you have to pour on it when the reaction between the powders is on its peak level. I'm going to slowly add a little more of the powder, which will make it react faster. Got it?\""; + menu + "Rheo-what?", L_Next12, + "Okay, let's try.", L_Next12, + "I'm not sure I understand...", L_Next12; + +L_Next12: + mes "[Orum]"; + mes "\"Well, just pour when it's bubbling really hard.\""; + mes "He starts to mix the powders together in the caldron."; + next; + + setarray @bubblingLevels$, "calmly", "slightly", "noticeably", "heavily"; + @bubblingLevel = rand(10); + goto L_EasyMinigame; + +L_EasyMinigame: + mes "The mixture is bubbling " + @bubblingLevels$[@bubblingLevel/7] + ". What do you want to do?"; + menu + "Wait.", L_Next13, + "Pour.", L_EasyCheck; + +L_Next13: + if (@menu == 1) + @bubblingLevel = @bubblingLevel + rand(1,10); + if (@bubblingLevel > 27) + goto L_EasyTooHigh; + mes "Orum adds some more powder."; + goto L_EasyMinigame; + +L_EasyCheck: + @bubblingLevel = @bubblingLevel + 3 - rand(7); + if (@bubblingLevel < 21) + goto L_EasyTooEarly; + if (@bubblingLevel > 27) + goto L_EasyTooLate; + goto L_EasySuccess; + +L_EasyTooLate: + mes "You are about to pour in the additive, but just before you do it..."; + next; + goto L_EasyTooHigh; + +L_EasyTooHigh: + mes "Suddenly the mixture glows brightly. Then it calms down very quickly and turns into a weird greyish color."; + mes "[Orum]"; + mes "\"Are you sleeping? Now it's ruined. You waited too long.\""; + next; + mes "\"You have to collect all the ingredients again, now.\""; + goto L_close; + +L_EasyTooEarly: + mes "You pour the liquid Orum gave you into the mixture."; + mes "It stops bubbling and gets thicker... and thicker... and thicker..."; + mes "[Orum]"; + mes "\"No! That was too early. Look at what you've done! It's hard as a rock now.\""; + next; + mes "\"How annoying! You have to gather new ingredients.\""; + goto L_close; + +L_EasySuccess: + getitem "WhiteSummonFlower", 1; + OrumQuest = 23; + + mes "As you pour the liquid into the bubbling mixture, it calms down and becomes viscous. Orum takes the tulip and dips it into the mixture."; + mes "[Orum]"; + mes "\"Excellent! Here it is.\""; + next; + goto L_WayThirdFlower; + +L_WayThirdFlower: + mes "[Orum]"; + mes "\"This flower needs to be placed on top of the Hurnscald mines. It might be a bit hard to reach, but I'm sure you'll do fine.\""; + goto L_close; + +L_AskPentaEffect: + mes "[Orum]"; + mes "\"Don't you know anything about Astral magic? A pentagram is used for summoning, of course.\""; + goto L_close; + +L_PlaceThirdFlower: // 23: Completed easy minigame and got task to place the third magical flower + mes "[Orum]"; + mes "\"What are you waiting for? Place the third flower where it's supposed to go.\""; + menu + "Okay.", L_close, + "I forgot where to put it.", L_WayThirdFlower, + "Unfortunately... I don't have it anymore.", L_Next14; + +L_Next14: + mes "Orum sighs."; + mes "[Orum]"; + mes "\"I hope this is a joke. No, you're serious? What impudence! This was a valuable and powerful magical artifact.\""; + next; + mes "\"This behaviour shouldn't remain unpunished. Pay a recompensation fee of " + @RECOMPENSATION_3 + " GP, and I'm going to allow you to continue helping us. So?\""; + menu + "Here it is.", L_Next15, + "That's too much!", L_NoRecompensation; + +L_Next15: + if (Zeny < @RECOMPENSATION_3) + goto L_NoMoney; + Zeny = Zeny - @RECOMPENSATION_3; + OrumQuest = 22; + + mes "[Orum]"; + mes "\"Once again we need " + @AMOUNT_WHITEFUR + " White Furs, " + @AMOUNT_REDSTINGER + " Red Scorpion Stingers and one White Tulip.\""; + goto L_close; + +L_PlacedThirdFlower: // 24: Placed third magical flower + mes "[Orum]"; + mes "\"We're making very good progress. Now that you've placed the third magical flower, only two more are left."; + mes "But we shouldn't become careless now, with each flower the procedure gets more difficult.\""; + menu + "Understood! What's next?", L_Next16, + "What are we going to summon with that pentagram?", L_AskSummon; + +L_Next16: + OrumQuest = 25; + goto L_FourthFlower; + +L_AskSummon: + mes "[Orum]"; + mes "\"Beings from the astral plane, of course. Some of them are already coming through the rift when you place the flowers."; + mes "But that is NOTHING compared to what will happen when the pentagram is complete! Hahaha!\""; + OrumQuest = 25; + next; + goto L_FourthFlower; + +L_FourthFlower: // 25: Got task to bring materials for fourth magical flower + mes "[Orum]"; + mes "\"Now we need " + @AMOUNT_HARDSPIKE + " Hard Spikes, " + @AMOUNT_ANGRYSTINGER + " Angry Scorpion Stingers and one Yellow Rose.\""; + menu + "I managed to get everything.", L_Next17, + "I'll go and gather the items.", L_close, + "Won't it be dangerous to summon so many aggressive monsters?", L_AskDanger; + +L_Next17: + if ((countitem("HardSpike") < @AMOUNT_HARDSPIKE) + || (countitem("AngryScorpionStinger") < @AMOUNT_ANGRYSTINGER) + || (countitem("YellowRose") < 1)) + goto L_NoItem; + + delitem "HardSpike", @AMOUNT_HARDSPIKE; + delitem "AngryScorpionStinger", @AMOUNT_ANGRYSTINGER; + delitem "YellowRose", 1; + + mes "Orum takes the materials and starts to pulverize them once again. You notice that his movements are slower this time and he seems to be really concentrating."; + mes "[Orum]"; + mes "\"Okay. We're going to do it together again, but this time we'll switch the roles. You're going to mix the powders and I'm going to pour the rheological additive into the mixture.\""; + next; + mes "\"This is because... ahm, because you will learn something from it, yes."; + mes "But remember to handle the powders carefuly, they're highly vitriolic.\""; + next; + mes "\"You have two powders, one of them will make the mixture turn yellow, the other one will make it turn red."; + mes "You need to make it a clear, strong orange and hold that for a moment. That way I'll have enough time to pour the rheological additive.\""; + menu + "Let's try it.", L_Next18, + "I'm not sure what to do...", L_Next18; + +L_Next18: + mes "[Orum]"; + mes "\"Just use the red powder when it's too bright, and the yellow powder when it's too dark. And be careful how much powder you use. The mixture will randomly fluctuate a bit, too, so keep that in mind.\""; + mes "He mixes together a few of each ingredients and then hands you two small bowls with the powders."; + next; + + setarray @colorLevels$, "red", "light red", "dark orange", "orange", "light orange", "dark yellow", "yellow"; + @colorLevel = rand(49); + @goodColor = 0; + goto L_HardMinigame; + +L_HardMinigame: + mes "The color of the mixture is " + @colorLevels$[@colorLevel/7] + ". What do you want to do?"; + menu + "Add a small portion of Red Powder.", L_MenuItems, + "Add a large portion of Red Powder.", L_MenuItems, + "Add a small portion of Yellow Powder.", L_MenuItems, + "Add a large portion of Yellow Powder.", L_MenuItems; + +L_MenuItems: + if (@menu == 1) + @colorLevel = @colorLevel - rand(1,3); + if (@menu == 2) + @colorLevel = @colorLevel - rand(6,8); + if (@menu == 3) + @colorLevel = @colorLevel + rand(1,3); + if (@menu == 4) + @colorLevel = @colorLevel + rand(6,8); + + if (@colorLevel > 48) + goto L_TooYellow; + if (@colorLevel < 0) + goto L_TooRed; + + mes "Due to your addition, the mixture is now " + @colorLevels$[@colorLevel/7] + "."; + + if ((@colorLevel > 20) && (@colorLevel < 28)) + goto L_Good; + goto L_HardRandom; + +L_HardRandom: + @colorLevel = @colorLevel + 3 - rand(6); + mes "The mixture sizzles and bubbles."; + + if ((@colorLevel < 21) || (@colorLevel > 27)) + @goodColor = 0; + + if (@colorLevel > 48) + goto L_TooYellow; + if (@colorLevel < 0) + goto L_TooRed; + next; + goto L_HardMinigame; + +L_Good: + @goodColor = @goodColor + 1; + if (@goodColor == 3) + goto L_HardSuccess; + mes "Hold it like this for a moment!"; + next; + goto L_HardRandom; + +L_TooYellow: + next; + mes "The mixture can't get any more yellow. The bubbling increases and most of the liquid quickly turns into steam that makes you cough."; + goto L_HardTooExtreme; +L_TooRed: + next; + mes "The mixture can't get any more red. Suddenly, the bubbling gets even more violent. It seems to be corroding the cauldron! Orum hastily pours the rheological additive on it to make it stop."; + goto L_HardTooExtreme; + +L_HardTooExtreme: + mes "[Orum]"; + mes "\"What are you doing? It is supposed to turn orange. You have to use both powders for that!\""; + next; + mes "\"This is ruined now. Go and collect new ingredients.\""; + goto L_close; + +L_HardSuccess: + getitem "YellowSummonFlower", 1; + OrumQuest = 26; + + mes "Orum pours the rheological additive on the mixture and then dips the flower into the cauldron."; + mes "[Orum]"; + mes "\"Excellent! Wonderful. Here's the flower. I need to clean up the cauldron, so in the meantime go place the flower.\""; + next; + goto L_WayFourthFlower; + +L_WayFourthFlower: + mes "[Orum]"; + mes "\"To find the place: go south after leaving our cave, and then follow the path to the east. Watch out for that nasty forest witch living there, she doesn't like humans."; + mes "You have to place the flower on a small island in front of the coast. To get there, you have to find a way through the caves that connect it with the mainland.\""; + goto L_close; + +L_AskDanger: + mes "[Orum]"; + mes "\"Dangerous? Well, not really, since Waric and I are going to stay here in the cave.\""; + menu + "That's... very comforting.", L_Next19, + "And what about everyone outside? Like me!?", L_Next19; + +L_Next19: + mes "[Orum]"; + mes "\"Umm, well. You won't be in the center of it where the monsters will appear, of course."; + mes "And you can handle a few of them, right?\""; + goto L_close; + +L_PlaceFourthFlower: // 26: Completed difficult minigame and got task to place the fourth magical flower + mes "[Orum]"; + mes "\"I can't wait! Everything is going so well! Why are you wasting time? Go and place the fourth magical flower!\""; + menu + "All right.", L_close, + "Please describe where to place it again.", L_WayFourthFlower, + "The magical flower... I lost it.", L_Next20; + +L_Next20: + mes "Orum shakes his head in disbelief."; + mes "[Orum]"; + mes "\"Lost it? Unbelievable! How could you lose it?\""; + next; + mes "\"This behaviour shouldn't remain unpunished. Pay a recompensation fee of " + @RECOMPENSATION_4 + " GP, and I will to allow you to continue helping us. So?\""; + menu + "Here it is.", L_Next21, + "That's too expensive!", L_NoRecompensation; + +L_Next21: + if (Zeny < @RECOMPENSATION_4) + goto L_NoMoney; + Zeny = Zeny - @RECOMPENSATION_4; + OrumQuest = 25; + + mes "[Orum]"; + mes "\"Now bring " + @AMOUNT_HARDSPIKE + " Hard Spikes, " + @AMOUNT_ANGRYSTINGER + " Angry Scorpion Stingers and one Yellow Rose again.\""; + goto L_close; + +L_PlacedFourthFlower: // 27: Placed fourth magical flower + mes "[Orum]"; + mes "\"Oh, almost! Only the last flower needs to be placed. Don't lose your focus now!"; + mes "This last flower is the most complicated one. Pay attention.\""; + menu + "Tell me what you need!", L_Next22, + "Why do you want to summon so many beings?", L_AskReason; + +L_Next22: + OrumQuest = 28; + goto L_FifthFlower; + +L_AskReason: + mes "[Orum]"; + mes "\"Let's say... it's about paying back an old debt."; + mes "I'll give you a hint: think about what's in the center of the pentagram. Or rather who is.\""; + next; + mes "\"Anyway, let's get back to business!\""; + OrumQuest = 28; + next; + goto L_FifthFlower; + +L_FifthFlower: // 28: Got task to bring materials for fifth magical flower + mes "[Orum]"; + mes "\"For the last flower we need " + @AMOUNT_ACORN + " Acorns, " + @AMOUNT_PEARL + " Pearls, " + @AMOUNT_BLACKSTINGER + " Black Scorpion Stingers and 1 Red Rose.\""; + menu + "Here it is.", L_Next23, + "Understood.", L_close, + "Sagatha is the target of the spell, right?", L_AskSagatha; + +L_Next23: + if ((countitem("Acorn") < @AMOUNT_ACORN) + || (countitem("Pearl") < @AMOUNT_PEARL) + || (countitem("BlackScorpionStinger") < @AMOUNT_BLACKSTINGER) + || (countitem("RedRose") < 1)) + goto L_NoItem; + + delitem "Acorn", @AMOUNT_ACORN; + delitem "Pearl", @AMOUNT_PEARL; + delitem "BlackScorpionStinger", @AMOUNT_BLACKSTINGER; + delitem "RedRose", 1; + + mes "Orum takes the materials and draws a deep breath. He then begins to prepare them similarly to the materials for the other flowers."; + mes "[Orum]"; + mes "\"Well, basically, we need to do the same as with the other flowers. We need to be careful, however, because this mixture is a bit more delicate. Would you like to do the add the rheological additive or mix the powders?\""; + menu + "I'll handle the additive.", L_Additive, + "Let me mix the powders.", L_Pulvers; + +L_Additive: + mes "Orum agrees and starts mixing the powders. You're ready to pour in the additive once the mixture reached a high level of bubbling."; + next; + mes "The next dash of powder Orum adds causes the mixture to sputter and splash. Some of the hot liquid lands on the back of your hand!"; + heal -5, 0; + menu + "Ouch!",L_Next24, + "Aah!", L_Next24, + "Urgh!", L_Next24; + +L_Next24: + mes "As you step back from the cauldron you jostle Orum, and the Red Rose falls out of his pocket into the cauldron."; + goto L_FlowerHat; + +L_Pulvers: + mes "You start mixing the powders together. It bubbles much more than during the previous brewing."; + next; + mes "The next dash of powder you add causes the mixture to bubble and splash. Some of the hot liquid lands on Orum's hand! He screams and jumps back while waving his hand around."; + next; + mes "This causes the flower to fall out of his pocket, landing right into the cauldron."; + next; + mes "Orum stares at it."; + goto L_FlowerHat; + +L_FlowerHat: + mes "[Orum]"; + mes "\"Fool! See what you've done? It's ruined!\""; + next; + mes "\"Though, we still have enough of the materials left to start over. Here, take this garbage out and get a new Red Rose!\""; + getitem "RedRoseHat", 1; + OrumQuest = 29; + goto L_close; + +L_AskSagatha: + mes "[Orum]"; + mes "\"Ah, clever. Yes, you're right."; + mes "That self-righteous forest witch thinks she's better than other people. She thinks that gives her the right to stick her nose into other mages' affairs.\""; + next; + mes "\"What's even worse, she thinks she can punish other mages for actions she considers wrong - \""; + mes "[Waric]"; + mes "\"Orum! You do not need to get into the details of this.\""; + next; + mes "[Orum]"; + mes "\"Oh, heh, of course. However, we'll teach her a lesson."; + mes "You are going to help us.\""; + goto L_close; + +L_FailedFifthFlower: // 29: Failed unbeatable minigame and got the flower hat + mes "[Orum]"; + mes "\"Did you get a new Red Rose, so we can create the last magical flower?\""; + menu + "Yes.", L_Next25, + "Not yet.", L_close, + "Will those monsters hurt Sagatha? Or kill her?", L_AskHurtSagatha; + +L_Next25: + if (countitem("RedRose") < 1) + goto L_NoItem; + + delitem "RedRose", 1; + mes "[Orum]"; + mes "\"Finally! This time I'll do it all by myself. You and your clumsy fingers need to take a step back so it won't get ruined again.\""; + next; + mes "You watch while Orum carefully prepares the last magic flower."; + next; + getitem "RedSummonFlower", 1; + OrumQuest = 30; + mes "[Orum]"; + mes "\"Here it is. We're almost done. Don't mess it up!\""; + next; + goto L_WayFifthFlower; + +L_WayFifthFlower: + mes "[Orum]"; + mes "\"To place the last flower: go east and follow the road. At some point it might be difficult to get through, since the road isn't used anymore, and the forest is growing back."; + mes "But you have to find a way and reach a clearing with a very old and tall tree. There you'll find another prepared spot with some flowers.\""; + goto L_close; + +L_AskHurtSagatha: + mes "[Orum]"; + mes "\"Oh, are you getting scared? I thought you wanted to support us.\""; + next; + mes "\"However, no need to worry. Sagatha is much too powerful to get seriously injured by this, sadly.\""; + next; + mes "\"If wanted to actually harm her, we'd need to summon some greater powers. That'd be risky in the best case, and devastatingly costly in the worst.\""; + next; + mes "\"Unless... well, I assume you're not open to donating your soul for a pact with a higher astral being, are you?\""; + goto L_close; + +L_PlaceFifthFlower: // 30: Got task to place the fifth flower + mes "[Orum]"; + mes "\"What are you waiting for? We've almost reached our goal! Go and place the last magical flower to finish the pentagram!\""; + menu + "Yes.", L_close, + "Where do I have to place it?", L_WayFifthFlower, + "Please keep calm, but I lost the flower.", L_Next26; + +L_Next26: + mes "[Orum]"; + mes "\"Lost it? You incompetent excuse for a servant! What do you think you're doing?\""; + next; + mes "\"This behaviour shouldn't remain unpunished. Pay a recompensation fee of " + @RECOMPENSATION_5 + " GP, and I'm going to allow you to continue helping us. You also have to bring the necessary materials for a new flower.\""; + menu + "Okay, here it is.", L_Next27, + "What materials do we need?", L_MaterialFifth, + "That's too expensive!", L_NoRecompensation; + +L_Next27: + if (Zeny < @RECOMPENSATION_5) + goto L_NoMoney; + if ((countitem("Acorn") < @AMOUNT_ACORN) + || (countitem("Pearl") < @AMOUNT_PEARL) + || (countitem("BlackScorpionStinger") < @AMOUNT_BLACKSTINGER) + || (countitem("RedRose") < 1)) + goto L_NoItem; + + Zeny = Zeny - @RECOMPENSATION_5; + delitem "Acorn", @AMOUNT_ACORN; + delitem "Pearl", @AMOUNT_PEARL; + delitem "BlackScorpionStinger", @AMOUNT_BLACKSTINGER; + delitem "RedRose", 1; + getitem "RedSummonFlower", 1; + + mes "Orum takes the materials and prepares a new flower."; + mes "[Orum]"; + mes "\"Here is another flower. Don't mess it up this time, understood?\""; + goto L_close; + +L_MaterialFifth: + mes "[Orum]"; + mes "\"For the last flower we need " + @AMOUNT_ACORN + " Acorns, " + @AMOUNT_PEARL + " Pearls, " + @AMOUNT_BLACKSTINGER + " Black Scorpion Stingers and 1 Red Rose.\""; + goto L_close; + +L_PlacedFifthFlower: // 31: Placed fifth flower + mes "[Orum]"; + mes "\"Hahahaha! Wonderful! We were able to hear Sagatha's screaming and ranting here in the cave!\""; + next; + mes "\"Well done, really. I think you've earned yourself a small reward. Here, take this.\""; + Zeny = Zeny + @REWARD_MONEY; + getexp @Reward_Exp, 0; + OrumQuest = 32; + goto L_close; + +L_Done: + mes "[Orum]"; + mes "\"Ah, whenever I think of Sagatha's reaction, it brings a smile to my face. You've done a very good job.\""; + goto L_close; + +L_NoRecompensation: + mes "[Orum]"; + mes "\"Well, you could still try to recover the magical flower instead. It's your decision.\""; + goto L_close; + +L_NoMoney: + mes "[Orum]"; + mes "\"Hey, you don't have enough money!\""; + goto L_close; + +L_NoItem: + mes "[Orum]"; + mes "\"Hey, you don't have it!\""; + goto L_close; + +L_close: + @AMOUNT_SMALLMUSHROOM = 0; + @AMOUNT_ASH = 0; + @RECOMPENSATION_1 = 0; + @AMOUNT_PINKPETAL = 0; + @AMOUNT_STINGER = 0; + @RECOMPENSATION_2 = 0; + @AMOUNT_WHITEFUR = 0; + @AMOUNT_REDSTINGER = 0; + @RECOMPENSATION_3 = 0; + @bubblingLevel = 0; + cleararray @bubblingLevels$[0], "", 4; + @AMOUNT_HARDSPIKE = 0; + @AMOUNT_ANGRYSTINGER = 0; + @RECOMPENSATION_4 = 0; + @colorLevel = 0; + @goodColor = 0; + cleararray @colorLevels$[0], "", 7; + @AMOUNT_ACORN = 0; + @AMOUNT_PEARL = 0; + @AMOUNT_BLACKSTINGER = 0; + @RECOMPENSATION_5 = 0; + @REWARD_MONEY = 0; + @Reward_Exp = 0; + close; +} |