diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-14 17:28:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-14 17:28:03 -0300 |
commit | 891e03910f5416ed20669fb72fc8273d390853c6 (patch) | |
tree | 9b719e1a37170589d666eef9caae27ca6bcdef3d /npc/020-7-1/nea.txt | |
parent | 7d7e022c350ca528d8f68a9e6d362fa9d12b52da (diff) | |
download | serverdata-891e03910f5416ed20669fb72fc8273d390853c6.tar.gz serverdata-891e03910f5416ed20669fb72fc8273d390853c6.tar.bz2 serverdata-891e03910f5416ed20669fb72fc8273d390853c6.tar.xz serverdata-891e03910f5416ed20669fb72fc8273d390853c6.zip |
Split 020-7-1/janitors.txt
Diffstat (limited to 'npc/020-7-1/nea.txt')
-rw-r--r-- | npc/020-7-1/nea.txt | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/npc/020-7-1/nea.txt b/npc/020-7-1/nea.txt new file mode 100644 index 000000000..90c84f3ed --- /dev/null +++ b/npc/020-7-1/nea.txt @@ -0,0 +1,78 @@ +// TMW2 scripts. +// Authors: +// Jesusalva +// TMW Org. +// Description: +// In charge to clear the mess +// helperCleaning* + helperJanitor + +// Quest: NivalisQuest_BlueSageSlimes +// 1: Acception state (0 - Not accepted, 1 - Accepted, 2 - Complete) +// 2: Killed Slimes Control +// 3: Killed Nests Control + +020-7-1,53,39,0 script Nea NPC_BLUESAGEWORKER_FA,{ + function askQuestion; + mesn; + mesq l("Oh, hello. If I were you I wouldn't go deeper into the library. There are still some of those monsters left. Slipping between the bookshelves."); + askQuestion(); + close; + +function askQuestion { + do { + .@q=getq(NivalisQuest_BlueSage); + .@q2=getq2(NivalisQuest_BlueSage); + .@q3=getq3(NivalisQuest_BlueSage); + .@qs=BSQuestion(getq(NivalisQuest_BlueSage)); + .@qt=getq3(NivalisQuest_BlueSageSlimes); + next; + if (.@qt >= 255) { + mesn; + mesq l("I feel much safer now that you defeated the slimes. Thanks so much! Do you need anything else?"); + } else if (.@qt) { + mesn; + mesq l("\"Oh, I'm so glad you're taking care of those scary slimes. You're so brave! How many of them are still left, do you think? Will it be safe to go there soon?"); + } else { + mesn; + mesc l("She shudders."); + mesq l("And they can explode! Nothing in the world could make me go in there. I'll just do my work right here, clean the floor and tidy up the books, and I'm keeping my eyes open in case they get over here."); // Cleaning the floor, aham. ¬.¬ + next; + mesn; + mesq l("Do you need anything else?"); + } + mes ""; + select + rif(.@qt < BS_SNESTALL, ""), + rif(.@qs & BS_QVISITOR, l("Do you know anything about the strange visitor?")), + rif(.@qs & BS_QHELPER, l("What's your opinion of Peetu and his work?")), + any(l("I need to leave."), l("See you."), l("Bye.")); + mes ""; + switch (@menu) { + case 2: + mesn; + mesq l("With a mask? Mh, I think I know who are you talking about. I vaguely remember that there was someone with a mask... but I can't recall any details, I wasn't really paying attention."); + close; + break; + case 3: + mesn; + mesq l("Petu? Yeah, he's the kind of person who always wants to do things perfectly. That makes it a bit difficult to work with him, since his expectations for others are as high as for himself."); + next; + mesn; + mesq l("I really wonder how that accident could've happened. I'd have never expected him to mess something up like that."); + if (!(.@q3 & .bsId)) + setq3 NivalisQuest_BlueSage, .@q3 | .bsId; + close; + break; + } + } while (@menu != 4); + close; +} + +OnInit: + .bsId=BS_NPC05; + .sex=G_FEMALE; + .distance=5; + npcsit; + end; +} + |