summaryrefslogtreecommitdiff
path: root/npc/020-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-21 11:20:15 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-21 11:20:15 -0300
commita4b989e4fcd5b5f1c2c4a9ec377cda33155b13f2 (patch)
tree8a00630f02e3259037827240fa75dd893e8dd6e9 /npc/020-7
parenteb0fd3aefb542174f3eb9ae4d825bf9897627cee (diff)
downloadserverdata-a4b989e4fcd5b5f1c2c4a9ec377cda33155b13f2.tar.gz
serverdata-a4b989e4fcd5b5f1c2c4a9ec377cda33155b13f2.tar.bz2
serverdata-a4b989e4fcd5b5f1c2c4a9ec377cda33155b13f2.tar.xz
serverdata-a4b989e4fcd5b5f1c2c4a9ec377cda33155b13f2.zip
Elias now sends player back to Oskari. #24 - Blue Sage Investigation state 8/12 (2/3 complete)
Diffstat (limited to 'npc/020-7')
-rw-r--r--npc/020-7/elias.txt37
1 files changed, 29 insertions, 8 deletions
diff --git a/npc/020-7/elias.txt b/npc/020-7/elias.txt
index e29121e09..162cb7b89 100644
--- a/npc/020-7/elias.txt
+++ b/npc/020-7/elias.txt
@@ -101,19 +101,21 @@ L_Main:
// .@q is preserved when you use goto
switch (.@q) {
case 1:
- //case 12:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
eliasQuestion();
break;
- case 3:
case 6:
- case 9:
eliasWorry();
break;
- case 4:
case 7:
- case 10:
+ case 8:
eliasConfirmed();
break;
+ case 9:
+ case 10:
case 11:
eliasThankyou();
break;
@@ -124,7 +126,13 @@ L_Main:
}
close;
+// Elias is worried with visitor and asks for insights
function eliasWorry {
+ .@q2=getq2(NivalisQuest_BlueSage);
+ if (.@q2 == BS_NPCALL) {
+ setq1 NivalisQuest_BlueSage, 7;
+ eliasConfirmed();
+ }
mesn;
mesq l("After your questions I'm really getting worried about this guy with the mask. In retrospect it really seems suspicous.");
next;
@@ -133,15 +141,19 @@ function eliasWorry {
return;
}
+// Suspections Confirmed, report back
function eliasConfirmed {
mesn;
mesq l("I heard your investigations reminded other people that they observed suspicious behaviour too.");
next;
mesn;
mesq l("It's all my fault, I should've paid more attention! You should talk to Chief Oskari about this.");
+ if (getq(NivalisQuest_BlueSage) == 7)
+ setq1 NivalisQuest_BlueSage, 8;
return;
}
+// Waiting quest to end
function eliasThankyou {
mesn;
mesq l("Now that Chief Oskari knows about the sequence of events, the Sage will take care of it. It's really a shame how malicious people can be.");
@@ -151,9 +163,10 @@ function eliasThankyou {
return;
}
+// Main question to Elias
function eliasQuestion {
select
- l("Can you tell me if there were any unusual visitors before the accident?"),
+ l("Peetu thinks someone put Silk Cocoon along the ingredients."),
l("Thanks, pal. I still got some matters to discuss with the Blue Sage if you excuse me.");
mes "";
if (@menu == 2) {
@@ -162,7 +175,13 @@ function eliasQuestion {
close;
}
mesn;
- mesq l("Now that Chief Oskari knows about the sequence of events, the Sage will take care of it. It's really a shame how malicious people can be.");
+ mesq l("So, Peetu didn't check the ingredients before casting? That's... Well, I don't know.");
+ next;
+ mesn;
+ mesq l("But that is unlikely, we have no reason to sabotage our own work! You saw the mess it caused. Everyone knew it was important.");
+ next;
+ mesn strcharinfo(0);
+ mesq l("Hmm, it might be a hunch but... Can you tell me if there were any unusual visitors before the accident?");
next;
mesn;
mesq l("Mh, let me think. There were quite a few visitors with different concerns, but that's usual at this time of the year.");
@@ -176,7 +195,9 @@ function eliasQuestion {
mesn;
mesc l("Elias gets a bit excited.");
mesq l("Do you think he may have had something to do with the accident? We're a very hospitable house, so I didn't see a reason to deny him the entrance. I mean, his mask might have been a bit unusual, but hey, there could've been many reasons why someone would wear a mask, don't you think?");
- setq1 NivalisQuest_BlueSage, .@q + 1;
+ setq1 NivalisQuest_BlueSage, 6;
+ next;
+ eliasWorry();
return;
}