From 60af13de056893f9aecb147aae7760cf3155496e Mon Sep 17 00:00:00 2001 From: Reid Date: Thu, 11 Oct 2012 23:55:07 +0200 Subject: Correct some fails on darlin script. --- npc/000-1/darlin.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'npc/000-1/darlin.txt') 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!"); -- cgit v1.2.3-70-g09d2