diff options
Diffstat (limited to 'world/map/npc/048-2/helperCleaning3.txt')
-rw-r--r-- | world/map/npc/048-2/helperCleaning3.txt | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/world/map/npc/048-2/helperCleaning3.txt b/world/map/npc/048-2/helperCleaning3.txt new file mode 100644 index 00000000..3d80dcaa --- /dev/null +++ b/world/map/npc/048-2/helperCleaning3.txt @@ -0,0 +1,80 @@ +// Part of Blue Sage quests +// author: Jenalya +// see bluesageConfig for detailed quest description +// Arvo works on cleaning the library +// can give second hint about the visitor in investigation subquest + +048-2.gat,139,99,0|script|Arvo|366,{ + + set @slimes, ((QUEST_BlueSage & $@Q_BlueSageSlimes_MASK) >> $@Q_BlueSageSlimes_SHIFT); + set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT); + + if (@slimes == 255) goto L_Thank; + if (@slimes > 0) goto L_Progress; + + mes "[Arvo]"; + mes "\"Oh, this is so much work... I can't believe they let this happen! You would think they're carful when playing around with such powerful forces. Hah! Big mistake!\""; + goto L_Investigate; + +L_Progress: + mes "[Arvo]"; + mes "\"We really appreciate your help with the slimes.\""; + mes "He sighs."; + goto L_Investigate; + +L_Thank: + mes "[Arvo]"; + mes "\"Good work with the slimes. This will make our task much easier.\""; + mes "He sighs and has a careful look around."; + next; + mes "[Arvo]"; + mes "\"But it shows that Nikolai's position isn't what it used to be. There's disturbance in the great circle of our Sages and things change. About one year ago the helpers of Nikolai wouldn't have needed help of a mere adventurer - no offense.\""; + next; + mes "\"But it seems we were focusing too much on researches and this lead to neglect of other duties of a Sage's household. This is dangerous in times of changes. I'm worried about the future.\""; + 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 "[Arvo]"; + mes "\"Yes, I remember that one! I welcomed him in the libary and showed him around. But I didn't have the impression he was really listening to what I was selling, though that's hard to tell with the mask.\""; + next; + mes "\"But when I left him to look at the books on his own, he sneaked over to the workshop area. Visitors are allowed to have a look there, but only if they don't interfere with any researches and experiments. But it seems he was rather disturbing, they sent them back to the library part.\""; + next; + mes "\"I tried to have a look at him after that, but when I got distracted by some newly arriving visitor he went over to the workshop again! Usually I enjoy my job, because I like talking to people, but this guy... was a pain, really.\""; + if ((@investigate != 3) && (@investigate != 6) && (@investigate != 9)) + goto L_Close; + set @investigate, @investigate + 1; + callfunc "updateBlueSageInvestigate"; + goto L_Close; + +L_Helper: + mes "[Arvo]"; + mes "\"Peetu? That's one of the high rank helpers, as far as I know he's very talented with magic and takes part in some important researches. But I don't really know about those things.\""; + goto L_Close; + +L_Close: + set @investigate, 0; + set @slimes, 0; + close; +} |