From da014e76778d55f0c90f47e07a2d66715d51099f Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Thu, 16 Feb 2012 00:37:49 +0100 Subject: Blue sage quests --- world/map/npc/048-2/helperCleaning5.txt | 71 +++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 world/map/npc/048-2/helperCleaning5.txt (limited to 'world/map/npc/048-2/helperCleaning5.txt') diff --git a/world/map/npc/048-2/helperCleaning5.txt b/world/map/npc/048-2/helperCleaning5.txt new file mode 100644 index 00000000..7ca7af4b --- /dev/null +++ b/world/map/npc/048-2/helperCleaning5.txt @@ -0,0 +1,71 @@ +// Part of Blue Sage quests +// author: Jenalya +// see bluesageConfig for detailed quest description +// Mirjami is searching for some cleaning supplies +// can give second hint about visitor in investigation subquest + +048-2.gat,100,125,0|script|Mirjami|363,{ + + set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT); + set @slimes, ((QUEST_BlueSage & $@Q_BlueSageSlimes_MASK) >> $@Q_BlueSageSlimes_SHIFT); + + if (@slimes == 255) goto L_Thank; + + mes "[Mirjami]"; + mes "\"Where is it? Everything's upside down. These terrible slimes.\""; + menu + "What are you doing?",-; + mes "[Mirjami]"; + mes "\"Oh? I'm just searching for some cleaning supplies. They must be somewhere around here, but everything got upside down when the slimes escaped.\""; + goto L_Investigate; + +L_Thank: + mes "[Mirjami]"; + mes "\"I heard you fought the slimes that were still roaming between the bookshelves. Thank you!\""; + next; + mes "\"I was a bit worried that they might baffle our efforts by just messing everything up again after we just cleaned.\""; + goto L_Investigate; + +L_Investigate: + if ((@investigate == 3) || (@investigate == 4)) goto L_Ask_Visitor; + if ((@investigate == 5) || (@investigate == 8)) goto L_Ask_Helper; + if ((@investigate == 6) || (@investigate == 7) || (@investigate == 9) || (@investigate == 10)) goto L_Ask_Both; + goto L_Close; + +L_Ask_Visitor: + menu + "Can you tell me something about the visitor with the mask?",L_Visitor, + "I need to leave.",L_Close; + +L_Ask_Helper: + menu + "What's your impression about Peetu and how he does his work?",L_Helper, + "See you later.",L_Close; + +L_Ask_Both: + menu + "Can you tell me something about the visitor with the mask?",L_Visitor, + "What's your impression about Peetu and how does he do his work?",L_Helper, + "Bye.",L_Close; + +L_Visitor: + mes "[Mirjami]"; + mes "\"Ohh, I think I know who you mean. That was a strange guy. He always came over here in the workshop, said he's very interested in the researches. I suppose that's ok, but he didn't keep his hands by himself, but touched some experiments and I catched him on some storage rack.\""; + next; + mes "\"Visitors should keep away from that!\""; + if ((@investigate != 3) && (@investigate != 6) && (@investigate != 9)) + goto L_Close; + set @investigate, @investigate + 1; + callfunc "updateBlueSageInvestigate"; + goto L_Close; + +L_Helper: + mes "[Mirjami]"; + mes "\"Oh, eh, why are you asking me? I'm here only since a short while and don't really know all the people well enough yet.\""; + goto L_Close; + +L_Close: + set @investigate, 0; + set @slimes, 0; + close; +} -- cgit v1.2.3-60-g2f50