summaryrefslogtreecommitdiff
path: root/npc/020-7/elias.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/020-7/elias.txt')
-rw-r--r--npc/020-7/elias.txt18
1 files changed, 8 insertions, 10 deletions
diff --git a/npc/020-7/elias.txt b/npc/020-7/elias.txt
index 2c60ce465..14f171ef9 100644
--- a/npc/020-7/elias.txt
+++ b/npc/020-7/elias.txt
@@ -10,11 +10,10 @@
// NivalisQuest_BlueSage STRUCTURE
// FIELD 1:
// INVESTIGATION
-// 1 - ACCESS GRANTED
-// 2~11 - FOLLOW LOGIC
+// 1 - STBY OUTSIDE
+// 2 - ACCESS GRANTED
+// 3 - QUEST ASSIGNED BY PEETU
// 12 - COMPLETE
-// 13 - STDBY OUTSIDE
-// 14 - STDBY INSIDE
// FIELD 2:
// Bitwise (BS_QVISITOR)
// FIELD 3:
@@ -23,7 +22,7 @@
020-7,44,41,0 script #BlueSageEntry NPC_HIDDEN,1,1,{
OnTouch:
.@q=getq(NivalisQuest_BlueSage);
- if (!.@q || .@q == 13) {
+ if (.@q < 2) {
slide 42, 43;
doevent "Elias::OnAccessDenied";
}
@@ -38,9 +37,8 @@ OnTouch:
function eliasConfirmed;
mesn;
mesq l("Hello, and welcome to Blue Sage's Residence, Library, and Nivalis Townhall.");
- // TODO
.@q=getq(NivalisQuest_BlueSage);
- if (.@q && .@q != 13)
+ if (.@q >= 2)
goto L_Main;
next;
mesn;
@@ -50,7 +48,7 @@ OnTouch:
select
l("That's sad to hear."),
rif(.@qn == 10 && !.@q, l("I have a letter from Rakinorf.")),
- rif(.@q == 13, l("So? How was it?")),
+ rif(.@q == 1, l("So? How was it?")),
l("What happened?");
mes "";
switch (@menu) {
@@ -60,7 +58,7 @@ OnTouch:
next;
mesn;
mesq l("Please wait here a short while.");
- setq NivalisQuest_BlueSage, 13, 0, 0;
+ setq NivalisQuest_BlueSage, 1, 0, 0;
break;
case 3:
mesn;
@@ -71,7 +69,7 @@ OnTouch:
next;
mesn;
mesq l("You may pass. The Sage is on the library waiting for you.");
- setq NivalisQuest_BlueSage, 14, 0, 0;
+ setq NivalisQuest_BlueSage, 2, 0, 0;
break;
case 4:
mesn;