diff options
Diffstat (limited to 'npc/048-2/helperResting1.txt')
-rwxr-xr-x | npc/048-2/helperResting1.txt | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/npc/048-2/helperResting1.txt b/npc/048-2/helperResting1.txt new file mode 100755 index 00000000..ae6fb407 --- /dev/null +++ b/npc/048-2/helperResting1.txt @@ -0,0 +1,63 @@ + +048-2,36,26,0 script Lenita NPC363,{ + @bookpages = ((QUEST_BlueSage & $@Q_BlueSageBookPages_MASK) >> $@Q_BlueSageBookPages_SHIFT); + + if (@bookpages == 254) goto L_Thank; + if (@bookpages > 0) goto L_Progress; + + mes "[Lenita]"; + mes "\"Oh, hello. You didn't choose a good time to visit. The library is a total mess. The slimes got out of control and ate most of the books.\""; + next; + mes "\"We're trying to repair some of the valuable and important books. It's so much work!"; + mes "I was up until late last night, and woke up so early today... I'm having a break right now.\""; + goto L_Investigate; + +L_Progress: + mes "[Lenita]"; + mes "\"Teuvo said you're helping to collect some of the missing bookpages to repair the books. That's very kind of you! It's so much work to do, so every bit of help is welcome.\""; + goto L_Investigate; + +L_Thank: + mes "[Lenita]"; + mes "\"Wow, Ensio told me you collected so many of the lost book pages.\""; + goto L_Investigate; + +L_Investigate: + if ((QL_BSAGE_INVESTIGATE == 3) || (QL_BSAGE_INVESTIGATE == 4)) goto L_Ask_Visitor; + if ((QL_BSAGE_INVESTIGATE == 5) || (QL_BSAGE_INVESTIGATE == 8)) goto L_Ask_Helper; + if ((QL_BSAGE_INVESTIGATE == 6) || (QL_BSAGE_INVESTIGATE == 7) || (QL_BSAGE_INVESTIGATE == 9) || (QL_BSAGE_INVESTIGATE == 10)) goto L_Ask_Both; + goto L_close; + +L_Ask_Visitor: + menu + "Can you tell me anything about the visitor with the mask?",L_Visitor, + "I need to leave.",L_close; + +L_Ask_Helper: + menu + "What's your opinion of Peetu and how he does his work?",L_Helper, + "See you later.",L_close; + +L_Ask_Both: + menu + "Can you tell me anything about the visitor with the mask?",L_Visitor, + "What's your opinion of Peetu and how he does his work?",L_Helper, + "Bye.",L_close; + +L_Visitor: + mes "[Lenita]"; + mes "\"With a mask? Yeah, I remember. That was a strange guy. He came to visit the library, but he lurked around at the workshop area and they had to send him back to the books.\""; + if ((QL_BSAGE_INVESTIGATE != 3) && (QL_BSAGE_INVESTIGATE != 6) && (QL_BSAGE_INVESTIGATE != 9)) + goto L_close; + QL_BSAGE_INVESTIGATE = QL_BSAGE_INVESTIGATE + 1; + goto L_close; + +L_Helper: + mes "[Lenita]"; + mes "\"Mh, I can't really tell since I usually work in the library while he works at the workshop. Maybe you should ask around among the people who work there.\""; + goto L_close; + +L_close: + @bookpages = 0; + close; +} |