summaryrefslogtreecommitdiff
path: root/npc/019-3
diff options
context:
space:
mode:
Diffstat (limited to 'npc/019-3')
-rw-r--r--npc/019-3/guards.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/npc/019-3/guards.txt b/npc/019-3/guards.txt
index 7dbd0f9ee..385426ec9 100644
--- a/npc/019-3/guards.txt
+++ b/npc/019-3/guards.txt
@@ -8,7 +8,7 @@
mesn;
mesq l("Are you done yet?");
select
- rif(0, l("Yes")),
+ rif(@QNL3, l("Yes")),
l("No");
if (@menu == 2)
close;
@@ -19,8 +19,10 @@
.@q2=getq2(Q_NivalisLibday);
.@q3=getq3(Q_NivalisLibday);
- // TODO: Calculate score
+ // Calculate score (You have 3 minutes)
.@score=0;
+ .@time=gettimetick(2);
+ .@score+=max(180-(.@time-.@q3), 0)/5;
// Update Total Score
setq2 Q_NivalisLibday, .@q2+.@score;
@@ -37,6 +39,10 @@
closedialog;
close;
+OnBegin:
+ npctalk l("Begin!");
+ end;
+
OnInit:
.sex = G_MALE;
.distance = 5;