summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/000-1/darlin.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/000-1/darlin.txt b/npc/000-1/darlin.txt
index fab9ea17..60b40f57 100644
--- a/npc/000-1/darlin.txt
+++ b/npc/000-1/darlin.txt
@@ -77,6 +77,8 @@ OnStart:
next;
l_Menu:
+ set @q, getq(ShipQuests_Darlin);
+
menu
l("Maybe you can come down to talk?"), l_GoDown,
l("I'm looking for Gugli, where is he?"), -,
@@ -89,7 +91,7 @@ l_Menu:
next;
mesq l("HE IS AT THE BOTTOM OF THE SHIP, DOWN THE STAIRS. YOU CAN'T MISS HIM!");
restorecam;
-
+
close;
l_GoDown:
@@ -143,8 +145,8 @@ OnQuestGiven:
next;
menu
- l("I forgot where it was..."), -,
- rif(getq(ShipQuests_Darlin) == 2, l("Yes, it's a chest.")), l_Chest,
+ rif(@q == 1, l("I forgot where it was...")), -,
+ rif(@q == 2, l("Yes, it's a chest.")), l_Chest,
l("Oh, nothing important."), l_Nothing;
mes "";
@@ -156,6 +158,7 @@ OnQuestGiven:
goto l_Menu;
l_Nothing:
+ if (@q == 2) setq ShipQuests_Darlin, 3;
mes "";
mesn;
mesq l("OH, OK!");