summaryrefslogtreecommitdiff
path: root/npc/020-7-1/pagemakers.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-20 15:17:33 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-20 15:17:33 -0300
commitd890751e6fad356e92c01839aa638378e0c48967 (patch)
tree16c2d567575280cbb266766451be104abc2b3b72 /npc/020-7-1/pagemakers.txt
parent8e2e752da8739b4c8bda1209365924183ac176cf (diff)
downloadserverdata-d890751e6fad356e92c01839aa638378e0c48967.tar.gz
serverdata-d890751e6fad356e92c01839aa638378e0c48967.tar.bz2
serverdata-d890751e6fad356e92c01839aa638378e0c48967.tar.xz
serverdata-d890751e6fad356e92c01839aa638378e0c48967.zip
Rework Blue Sage logic
Diffstat (limited to 'npc/020-7-1/pagemakers.txt')
-rw-r--r--npc/020-7-1/pagemakers.txt23
1 files changed, 16 insertions, 7 deletions
diff --git a/npc/020-7-1/pagemakers.txt b/npc/020-7-1/pagemakers.txt
index 1158b62d6..e54a7641b 100644
--- a/npc/020-7-1/pagemakers.txt
+++ b/npc/020-7-1/pagemakers.txt
@@ -96,6 +96,8 @@ function askQuestion {
.@qs=BSQuestion(getq(NivalisQuest_BlueSage));
do {
.@q=getq(NivalisQuest_BlueSage);
+ .@q2=getq2(NivalisQuest_BlueSage);
+ .@q3=getq3(NivalisQuest_BlueSage);
.@qt=getq2(NivalisQuest_BlueSagePagemaker);
next;
select
@@ -115,8 +117,8 @@ function askQuestion {
next;
mesn;
mesq l("That's why I'm really confused about this situation, since he was the one performing the sealing of the slimes. I wonder what went wrong.");
- if (is_between(4, 7, .@q))
- setq1 NivalisQuest_BlueSage, .@q + 3;
+ if (!(.@q3 & .bsId))
+ setq3 NivalisQuest_BlueSage, .@q3 | .bsId;
break;
case 4:
close;
@@ -126,6 +128,7 @@ function askQuestion {
}
OnInit:
+ .bsId=BS_NPC02;
.sex=G_MALE;
.distance=5;
npcsit;
@@ -198,6 +201,8 @@ function askQuestion {
.@qs=BSQuestion(getq(NivalisQuest_BlueSage));
do {
.@q=getq(NivalisQuest_BlueSage);
+ .@q2=getq2(NivalisQuest_BlueSage);
+ .@q3=getq3(NivalisQuest_BlueSage);
.@qt=getq2(NivalisQuest_BlueSagePagemaker);
next;
select
@@ -214,9 +219,8 @@ function askQuestion {
mesn;
mesc l("She shakes her head.");
mesq l("Sometimes I think it'd be better not to allow visitors here. But Nikolai set a high value on keeping contact with the population. Politics.");
- // It's safe in this context, don't worry
- if (.@q % 3 == 0)
- setq1 NivalisQuest_BlueSage, .@q + 1;
+ if (!(.@q2 & .bsId))
+ setq2 NivalisQuest_BlueSage, .@q2 | .bsId;
break;
case 3:
mesn;
@@ -229,6 +233,7 @@ function askQuestion {
return;
}
OnInit:
+ .bsId=BS_NPC02;
.sex=G_FEMALE;
.distance=5;
end;
@@ -263,6 +268,7 @@ OnInit:
end;
OnInit:
+ .bsId=BS_NPC03;
.sex=G_MALE;
.distance=5;
npcsit;
@@ -336,6 +342,8 @@ function askQuestion {
.@qs=BSQuestion(getq(NivalisQuest_BlueSage));
do {
.@q=getq(NivalisQuest_BlueSage);
+ .@q2=getq2(NivalisQuest_BlueSage);
+ .@q3=getq3(NivalisQuest_BlueSage);
.@qt=getq2(NivalisQuest_BlueSagePagemaker);
next;
select
@@ -355,8 +363,8 @@ function askQuestion {
next;
mesn;
mesq l("I really wonder what went wrong. I can't imagine Peetu messing up something so important.");
- if (is_between(4, 7, .@q))
- setq1 NivalisQuest_BlueSage, .@q + 3;
+ if (!(.@q3 & .bsId))
+ setq3 NivalisQuest_BlueSage, .@q3 | .bsId;
break;
case 4:
mesn;
@@ -368,6 +376,7 @@ function askQuestion {
}
OnInit:
+ .bsId=BS_NPC04;
.sex=G_MALE;
.distance=5;
end;