summaryrefslogtreecommitdiff
path: root/npc/000-1
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-10-11 23:55:07 +0200
committerReid <reidyaro@gmail.com>2012-10-12 00:05:42 +0200
commit60af13de056893f9aecb147aae7760cf3155496e (patch)
treecb6a4b949ff132e59507c181527eb205dec3d984 /npc/000-1
parent8bbb40835b7be273d4536c88e863c7e18a6fd51a (diff)
downloadserverdata-60af13de056893f9aecb147aae7760cf3155496e.tar.gz
serverdata-60af13de056893f9aecb147aae7760cf3155496e.tar.bz2
serverdata-60af13de056893f9aecb147aae7760cf3155496e.tar.xz
serverdata-60af13de056893f9aecb147aae7760cf3155496e.zip
Correct some fails on darlin script.
Diffstat (limited to 'npc/000-1')
-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!");