summaryrefslogtreecommitdiff
path: root/world/map/npc/048-2/helperCleaning5.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2012-02-16 00:37:49 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2012-04-21 12:27:52 +0200
commitda014e76778d55f0c90f47e07a2d66715d51099f (patch)
tree62002fceea412e438060340b214e0871e00ba0c8 /world/map/npc/048-2/helperCleaning5.txt
parent9f096abc9e427fee702b7bd9075febb09ffd3078 (diff)
downloadserverdata-da014e76778d55f0c90f47e07a2d66715d51099f.tar.gz
serverdata-da014e76778d55f0c90f47e07a2d66715d51099f.tar.bz2
serverdata-da014e76778d55f0c90f47e07a2d66715d51099f.tar.xz
serverdata-da014e76778d55f0c90f47e07a2d66715d51099f.zip
Blue sage quests
Diffstat (limited to 'world/map/npc/048-2/helperCleaning5.txt')
-rw-r--r--world/map/npc/048-2/helperCleaning5.txt71
1 files changed, 71 insertions, 0 deletions
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;
+}