diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-20 15:17:33 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-20 15:17:33 -0300 |
commit | d890751e6fad356e92c01839aa638378e0c48967 (patch) | |
tree | 16c2d567575280cbb266766451be104abc2b3b72 /npc/020-7-1/pagefinders.txt | |
parent | 8e2e752da8739b4c8bda1209365924183ac176cf (diff) | |
download | serverdata-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/pagefinders.txt')
-rw-r--r-- | npc/020-7-1/pagefinders.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/npc/020-7-1/pagefinders.txt b/npc/020-7-1/pagefinders.txt index 0a9defcee..719b7da6b 100644 --- a/npc/020-7-1/pagefinders.txt +++ b/npc/020-7-1/pagefinders.txt @@ -18,6 +18,7 @@ end; OnInit: + .bsId=BS_NPC07; .sex=G_MALE; .distance=5; npcsit; @@ -56,6 +57,8 @@ OnInit: function askQuestion { do { .@q=getq(NivalisQuest_BlueSage); + .@q2=getq2(NivalisQuest_BlueSage); + .@q3=getq3(NivalisQuest_BlueSage); .@qs=BSQuestion(getq(NivalisQuest_BlueSage)); .@qt=getq3(NivalisQuest_BlueSage); next; @@ -150,6 +153,8 @@ OnInit: function askQuestion { do { .@q=getq(NivalisQuest_BlueSage); + .@q2=getq2(NivalisQuest_BlueSage); + .@q3=getq3(NivalisQuest_BlueSage); .@qs=BSQuestion(getq(NivalisQuest_BlueSage)); .@qt=getq3(NivalisQuest_BlueSage); next; @@ -178,8 +183,8 @@ function askQuestion { next; mesn; mesq l("But to be fair, from what I've seen Peetu was always very attentive and dutiful."); - if (is_between(4, 7, .@q)) - setq1 NivalisQuest_BlueSage, .@q + 3; + if (!(.@q3 & .bsId)) + setq3 NivalisQuest_BlueSage, .@q3 | .bsId; break; } } while (@menu != 4); @@ -187,6 +192,7 @@ function askQuestion { } OnInit: + .bsId=BS_NPC07; .sex=G_MALE; .distance=5; npcsit; |