summaryrefslogtreecommitdiff
path: root/npc/020-7-1/janitors.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-25 17:10:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-25 17:10:13 -0300
commit4b2c057fc2cea88047d3356da3345f8f69a02fff (patch)
tree6765fc0ec164fd74cd354a26bf25d708b4b5ebd9 /npc/020-7-1/janitors.txt
parent7c26a7ee15b00e1076e80039398def3a041dcdc3 (diff)
downloadserverdata-4b2c057fc2cea88047d3356da3345f8f69a02fff.tar.gz
serverdata-4b2c057fc2cea88047d3356da3345f8f69a02fff.tar.bz2
serverdata-4b2c057fc2cea88047d3356da3345f8f69a02fff.tar.xz
serverdata-4b2c057fc2cea88047d3356da3345f8f69a02fff.zip
Drafts about Pyry - NOT READY AND BUGGY
Diffstat (limited to 'npc/020-7-1/janitors.txt')
-rw-r--r--npc/020-7-1/janitors.txt52
1 files changed, 43 insertions, 9 deletions
diff --git a/npc/020-7-1/janitors.txt b/npc/020-7-1/janitors.txt
index 72a4b5a0b..4606ef5b2 100644
--- a/npc/020-7-1/janitors.txt
+++ b/npc/020-7-1/janitors.txt
@@ -12,9 +12,16 @@
// 3: Killed Nests Control
020-7-1,50,63,6 script Pyry NPC_BLUESAGEWORKER_MB,{
- npctalk3 l("I warn about dangers and controls the fights.");
function askQuestion;
- mesc l("ERROR TODO blame Jesusalva"), 1;
+ .@qt=getq3(NivalisQuest_BlueSageSlimes);
+ mesn;
+ if (.@qt == BS_SNESTALL)
+ mesq l("It seems all of the slimes are gone now. I'm so glad! Thanks for your help. I mentioned your assistance to Nikolai.");
+ else if (.@qt > 0)
+ mesq l("It's very brave of you to fight against those slimes deeper in the library. Remember that you have to kill the entire group to prevent them from breeding. And do it @@!", b(l("Alone")));
+ else
+ mesq l("Welcome to the library of Sage Nikolai. I'm very sorry, but as you see it's not in a good shape at the moment. Most of the books were eaten by the slimes or damaged and we're working hard on cleaning up the mess.");
+
askQuestion();
close;
@@ -24,7 +31,8 @@ function askQuestion {
.@q2=getq2(NivalisQuest_BlueSage);
.@q3=getq3(NivalisQuest_BlueSage);
.@qs=BSQuestion(getq(NivalisQuest_BlueSage));
- .@qt=getq2(NivalisQuest_BlueSageSlimes);
+ .@qo=getq(NivalisQuest_BlueSageSlimes);
+ .@qt=getq3(NivalisQuest_BlueSageSlimes);
next;
mes "";
select
@@ -36,7 +44,33 @@ function askQuestion {
switch (@menu) {
case 1:
mesn;
- mesq l("TODO!");
+ mesq l("Resting. I've been slaying slime nests the whole day.");
+ next;
+ if (.@qo) {
+ mesn;
+ mesq l("There are some slimes around in the deeper parts of the library. Remember to kill them alone, and beware, if they kill themselves it won't count.");
+ } else {
+ mesn;
+ mesq l("Do you want to help? I promise you no reward, so you will do it of your own will.");
+ next;
+ if (askyesno() == ASK_YES) {
+ mesn;
+ mesq l("Great! Now, listen carefully: This library is laid out in nine squares.");
+ next;
+ mesn;
+ mesq l("You have to kill, alone, and this means without the help of the slimes either, nine nests. One in each quadrant.");
+ next;
+ mesn;
+ mesq l("Be careful when walking, because you may change quadrands and then... It won't count. You'll need to start over again.");
+ next;
+ mesn;
+ mesq l("I wish you good luck!");
+ setq NivalisQuest_BlueSageSlimes, 1, 0, 0;
+ } else {
+ mesn;
+ mesq l("Alright. Then please don't go too deep on the library, it is dangerous.");
+ }
+ }
break;
case 2:
mesn;
@@ -123,7 +157,7 @@ function askQuestion {
.@q2=getq2(NivalisQuest_BlueSage);
.@q3=getq3(NivalisQuest_BlueSage);
.@qs=BSQuestion(getq(NivalisQuest_BlueSage));
- .@qt=getq2(NivalisQuest_BlueSageSlimes);
+ .@qt=getq3(NivalisQuest_BlueSageSlimes);
next;
if (.@qt >= 255) {
mesn;
@@ -241,7 +275,7 @@ function askQuestion {
.@q2=getq2(NivalisQuest_BlueSage);
.@q3=getq3(NivalisQuest_BlueSage);
.@qs=BSQuestion(getq(NivalisQuest_BlueSage));
- .@qt=getq2(NivalisQuest_BlueSageSlimes);
+ .@qt=getq3(NivalisQuest_BlueSageSlimes);
next;
mes "";
select
@@ -331,7 +365,7 @@ function askQuestion {
.@q2=getq2(NivalisQuest_BlueSage);
.@q3=getq3(NivalisQuest_BlueSage);
.@qs=BSQuestion(getq(NivalisQuest_BlueSage));
- .@qt=getq2(NivalisQuest_BlueSageSlimes);
+ .@qt=getq3(NivalisQuest_BlueSageSlimes);
next;
if (.@qt >= 255) {
mesn;
@@ -433,7 +467,7 @@ function askQuestion {
.@q2=getq2(NivalisQuest_BlueSage);
.@q3=getq3(NivalisQuest_BlueSage);
.@qs=BSQuestion(getq(NivalisQuest_BlueSage));
- .@qt=getq2(NivalisQuest_BlueSageSlimes);
+ .@qt=getq3(NivalisQuest_BlueSageSlimes);
next;
mes "";
select
@@ -446,7 +480,7 @@ function askQuestion {
case 1:
mesn;
mesq l("Not yet, blame Jesusalva, your reward was with them");
- //setq2 NivalisQuest_BlueSageSlimes, 256; // TODO
+ //setq2 NivalisQuest_BlueSageSlimes, 256; // TODO Give reward
break;
case 2:
mesn;