summaryrefslogtreecommitdiff
path: root/world/map/npc/048-2/helperAccused.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/048-2/helperAccused.txt')
-rw-r--r--world/map/npc/048-2/helperAccused.txt139
1 files changed, 139 insertions, 0 deletions
diff --git a/world/map/npc/048-2/helperAccused.txt b/world/map/npc/048-2/helperAccused.txt
new file mode 100644
index 00000000..5cd15965
--- /dev/null
+++ b/world/map/npc/048-2/helperAccused.txt
@@ -0,0 +1,139 @@
+// Part of Blue Sage quests
+// author: Jenalya
+// see bluesageConfig for detailed quest description
+// Peetu is the person who caused the accident
+// involved investigation subquest
+
+048-2.gat,25,135,0|script|Peetu|366,{
+
+ set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT);
+
+ if (@investigate >= 12) goto L_Thank;
+ if (@investigate > 4) goto L_Investigate;
+ if (@investigate > 1) goto L_Query;
+ if (@investigate == 1) goto L_Help;
+
+ mes "You see a rather stressed helper, mumbering to himself.";
+ if (BaseLevel < $@Q_BlueSageMinimumLevel)
+ goto L_Close;
+ mes "[Peetu]";
+ mes "\"How could this have happened? I don't understand it... I'm sure I did the sealing correctly, maybe the ingredients... but that doesn't make sense, they're checked regularly and...\"";
+ next;
+ mes "He startles as he notices you.";
+ mes "[Peetu]";
+ mes "\"Oh, hello. What are you doing here? Ahm, visitors usually don't come up here. I mean, I don't mean to be rude, of course. I'm just surprised to see you here.\"";
+ menu
+ "I'm just having a look around.",L_Close,
+ "Sorry, I didn't mean to bother you.",L_Close,
+ "Why aren't you downstairs, helping everyone to clean up?",-;
+ mes "[Peetu]";
+ mes "\"I would! But I'm ... under preliminary suspension.\"";
+ mes "He looks close to tears.";
+ next;
+ mes "[Peetu]";
+ mes "\"It's all my fault! It was my job to seal the slimes away for the night, but I somehow messed it up! How could this have happened? And now I'm going to lose my job and I'll have to leave here and no other sage would give me a new appointment and I don't know what else to do, I mean, I spent my whole life on this so far, I don't even know anything else to do.\"";
+ next;
+ mes "He seems to have a nervous breakdown, he latches onto you and starts sobbing on your shoulder.";
+ menu
+ "(Try to solace him)",-,
+ "(Shake him and tell him to pull himself together)",-,
+ "(Push him away from you and leave.)",L_Close;
+ mes "He calms down a bit.";
+ mes "[Peetu]";
+ mes "\"Uh. You're probably right. I'm very sorry. I'm just... You know, I wanted to become a scholar of the sages, studying and... Oh, how could I messed that up? Did you see the library? It caused so much damage! What else should they do than kicking me out?\"";
+ menu
+ "Maybe you should talk to your chief about that?",-,
+ "It doesn't make much sense to draw overhasty conclusions.",-,
+ "Do you have a clue about what went wrong?",-;
+ mes "[Peetu]";
+ mes "\"Well... but... I mean... I don't know... ";
+ mes "I have an idea! Would you... ahm, would you talk to Chief Oskari for me? And ask him what he plans to do about me? I... I just don't feel capable of doing that myself right now. I'll try to pull myself together in the meanwhile.\"";
+ set @investigate, 1;
+ callfunc "updateBlueSageInvestigate";
+ goto L_Close;
+
+L_Help:
+ mes "[Peetu]";
+ mes "\"Please talk to Chief Oskari for me and find out if I'll get fired.";
+ mes "You can probably find him in his office on the second floor.\"";
+ goto L_Close;
+
+L_Query:
+ mes "[Peetu]";
+ mes "\"Did you talk to Chief Oskari?\"";
+ menu
+ "Yes, and he doesn't plan to fire you.",-,
+ "Not yet.",L_Close;
+ mes "You tell Peetu that Chief Oskari has a good opinion on him and explains about your task to find out what exactly happened.";
+ next;
+ mes "[Peetu]";
+ mes "\"Alright, I understand. You see, I'm very confused too, because I usually pay a lot of attention on my work. Especially when doing something as delicate as sealing away the slimes for the night.\"";
+ menu
+ "Can you describe me what exactly you did?",-;
+ mes "[Peetu]";
+ mes "\"Well, ok, sure. So, as you know we're doing some researches on the nature of slimes, their connection to minerals and gemstones, their breeding behaviour, and, well, ahm, doing some magical experiments to analyze their reactions on different kinds of magic.";
+ mes "This experiments caused some ... mutations, and the Blue and White Slimes developed some behaviour different from the slimes usual behaviour, making them more dangerous.\"";
+ next;
+ mes "\"This is the reason why they have to be magically sealed away for the night, since we didn't want them to get out in the wilderness... Oh, if I imagine what damage they do to the environment!\"";
+ mes "He sighs.";
+ next;
+ mes "\"However, the sealing involves several steps. I usually start to prepare it while the helpers are still working on their researches and experiments. So when they're done, they can just come and place the slimes under the seal.";
+ mes "I take the ingredients for the spell from the shelves, mix them together and cast the spell shortly before the other helpers finish their daily work.\"";
+ next;
+ mes "\"You can imagine the seal as something like a magical cage. This is a simplified explanation of course, it's rather advanced magic, a modified version of a shield spell, rather focused on the components that reduce the targets ability to move and... Oh, I seem to confuse you. Nevermind.";
+ mes "However, I create and open the 'cage', then I wait for all the helpers to drop in the slimes and close it when all are in. When it is closed, I additionally cast a guarding spell to prevent unauthorized access.\"";
+ next;
+ mes "\"That night when the slimes escaped, I did all of this as usual. Everything seemed alright after I cast the guarding spell, so I went to bed. But I woke up in the middle of the night because I felt the spells... oh, it's hard to describe... it seems the spell which defines the magical cage started to... inflate itself, causing the guarding spells to vanish, since they're intended against threads from the outside, not the inside.";
+ mes "While expanding, the cage went thinner and thinner until it just... faded.\"";
+ next;
+ mes "\"This left all the slimes free in the workshop, right next to the library. Of course I hasted there as fast as I could, yelling to wake up everyone, but that caused so much confusion that we fell over each other in the corridor and when we finally reached the librabry, the slimes were already spread all over the room, eating the books and dripping out of the windows.\"";
+ next;
+ mes "\"We tried to block the windows to prevent them escaping, but as most of the helpers aren't experienced in fighting and only some of us have a higher magical education, the slimes are rather dangerous for most of them.";
+ mes "We weren't able to get the situation under control until most of the slimes had escaped.\"";
+ next;
+ mes "\"Since it was my responsibility to sealing them away, I was preliminarily suspended and sent to my room. Since then I've been thinking over and over again about the happenings and how I cast the spell, trying to find the mistake I did.";
+ mes "But now that I described you the spells, I'm sure I casted it correctly. Thinking again about the effect of the sealing inflating, I suppose it might have to do with the ingredients I used for the spell.\"";
+ next;
+ mes "\"I never tried it, because it makes no sense to do that, but theoretically adding some Silk Cocoons could have such an effect. That's pretty basic nature magic.";
+ mes "But... how should that have gotten into the ingredients?\"";
+ set @investigate, @investigate + 3;
+ callfunc "updateBlueSageInvestigate";
+ goto L_Close;
+
+L_Investigate:
+ mes "[Peetu]";
+ mes "\"Hello. Did you find out anything more yet?\"";
+ if (@investigate != 11)
+ menu
+ "I'm still collecting information.",L_Close;
+ if (@inventorylist_count == 100)
+ goto L_TooMany;
+ menu
+ "Yes, I already talked with Chief Oskari.",-,
+ "Not yet.",L_Close;
+ mes "You explain your gained insights to Peetu and what conclusions Chief Oskari drew.";
+ mes "[Peetu]";
+ mes "\"Oh, I'm so relieved!";
+ mes "I mean, this are alarming news, but I'm so glad that this isn't my fault and that I deserve keep my job.\"";
+ next;
+ mes "\"It isn't much, but please take this Silk Gloves. We use those when we have to protect our hands, but still need to perform magic.\"";
+ getitem "SilkGloves", 1;
+ set @investigate, 12;
+ callfunc "updateBlueSageInvestigate";
+ goto L_Close;
+
+L_Thank:
+ mes "[Peetu]";
+ mes "\"Thanks for all your help.\"";
+ goto L_Close;
+
+L_TooMany:
+ mes "[Peetu]";
+ mes "\"Wow, you have a lot of stuff with you! Isn't that uncomfortable?\"";
+ goto L_Close;
+
+L_Close:
+ set @investigate, 0;
+ set @inventorylist_count, 0;
+ close;
+}