summaryrefslogtreecommitdiff
path: root/npc/000-2-3
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-09-17 00:24:26 +0200
committerReid <reidyaro@gmail.com>2012-09-17 00:24:54 +0200
commitc05713f1ee062e5ac6c51d21d02115d8fca3b9c8 (patch)
treebdcdd709154a7c3665149784392f5993c9d28c0a /npc/000-2-3
parent8e18a985ee45cc818e65c202ec3d5af20a279df3 (diff)
downloadserverdata-c05713f1ee062e5ac6c51d21d02115d8fca3b9c8.tar.gz
serverdata-c05713f1ee062e5ac6c51d21d02115d8fca3b9c8.tar.bz2
serverdata-c05713f1ee062e5ac6c51d21d02115d8fca3b9c8.tar.xz
serverdata-c05713f1ee062e5ac6c51d21d02115d8fca3b9c8.zip
Add basic of Gugli quest.
Diffstat (limited to 'npc/000-2-3')
-rw-r--r--npc/000-2-3/nard.txt29
1 files changed, 24 insertions, 5 deletions
diff --git a/npc/000-2-3/nard.txt b/npc/000-2-3/nard.txt
index 82d4f37f..064a6527 100644
--- a/npc/000-2-3/nard.txt
+++ b/npc/000-2-3/nard.txt
@@ -9,20 +9,26 @@
// ShipQuests
// Variable:
// ShipQuests_Nard
+// ShipQuests_Gugli
// Values:
-// 0 Introduction of the box and Nard. This is displayed when the player never spoke to Nard or his box.
-// 1 Nard spoke and gave access to the outdoor of the ship.
-// 2 Completed the quest.
-// 3 Opened the chest and finished the introduction.
+// 00 Introduction of the box and Nard. This is displayed when the player never spoke to Nard or his box.
+// 01 Nard spoke and gave access to the outdoor of the ship.
+// 02 Completed the quest.
+// 03 Opened the chest and finished the introduction.
+// 10 Never talked with Gugli.
+// 11 Gugli gives you the task.
+// 12 Gave all of the box to Gugli.
000-2-3.gat,25,26,0,1 script Nard 306;5,{
set @q, getq(ShipQuests_Nard);
+ set @a, getq(ShipQuests_Gugli);
l_Checker:
if (@q == 1) goto l_NotYet;
if (@q == 2) goto l_Give;
if (@q > 2) goto l_Already;
+ if (@a == 2) goto l_Done;
mesn;
mesq l("Hello.");
@@ -135,7 +141,20 @@ l_Give:
l_Already:
mesn;
- mesq l("I don't need any help right now, come back later.");
+ mesq l("I don't need any help right now, come back later.");
+
+ close;
+
+l_Done:
+ mesn;
+ mesq l("Hi @@.", strcharinfo(0));
+ next;
+ mesq l("Elmo and Gugli reported me that you done the ccccccccccccccccccccccccccccccccccccccccccccc IIIIIIIIIIICCCCCCCCCCCCCCCCIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII ");
+ next;
+
+
+
+ setq ShipQuests_Nard, 2;
close;
}