summaryrefslogtreecommitdiff
path: root/npc/000-1/gulukan.txt
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-09-15 01:18:28 +0200
committerReid <reidyaro@gmail.com>2012-09-15 01:18:28 +0200
commit39d03c0ab3443569129610994bb012067566ff86 (patch)
tree1a12e31576c4b219002b406f210c995dcf3d5e71 /npc/000-1/gulukan.txt
parentb7a812ee488f98432cb1417d6c517f0bbfda5a45 (diff)
downloadserverdata-39d03c0ab3443569129610994bb012067566ff86.tar.gz
serverdata-39d03c0ab3443569129610994bb012067566ff86.tar.bz2
serverdata-39d03c0ab3443569129610994bb012067566ff86.tar.xz
serverdata-39d03c0ab3443569129610994bb012067566ff86.zip
Add new dialogues on Gulukan script,
Correct some problems on Astapolos script.
Diffstat (limited to 'npc/000-1/gulukan.txt')
-rw-r--r--npc/000-1/gulukan.txt44
1 files changed, 42 insertions, 2 deletions
diff --git a/npc/000-1/gulukan.txt b/npc/000-1/gulukan.txt
index ba4f7856..4b7cfd33 100644
--- a/npc/000-1/gulukan.txt
+++ b/npc/000-1/gulukan.txt
@@ -6,9 +6,49 @@
000-1.gat,54,90,0,1 script Gulukan 111;2,{
- mesn;
- mesq l("Hello world!");
+ set @q, getq(ShipQuests_Gulukan);
+ if (@q == 1) goto l_CallFunc;
+
+// Some dialogues will be here.
+ setq ShipQuests_Gulukan, 1;
+// And here too.
+
+l_CallFunc:
+ callfunc "SailorFood";
+
+ menu
+ rif(getq(ShipQuests_Gulukan) == 1, l("I'm still busy, I need to find the other sailors.")), -,
+ l("Who are you?"), l_Who;
+
+ mes "";
+ mesn;
+ mesq l("Who yeye is searching?");
+ next;
+
+ menu
+ rif(getq(ShipQuests_Ale) == 0, l("Ale.")), l_Top,
+ rif(getq(ShipQuests_Astapolos) == 0, l("Astapolos.")), l_Top,
+ rif(getq(ShipQuests_Jalad) == 0, l("Jalad.")), l_Top,
+ rif(getq(ShipQuests_QMuller) == 0, l("QMuller.")), l_Top,
+ rif(getq(ShipQuests_Tibbo) == 0, l("Tibbo.")), l_Bottom,
+ l("Nobody."), -;
close;
+l_Bottom:
+ mes "";
+ mesn;
+ mesq l("Yeye seen this yoiis at the bottom of the island, check around.");
+
+ close;
+
+l_Top:
+ mes "";
+ mesn;
+ mesq l("Yeye seen this yoiis at the top of the island.");
+ next;
+ mesq l("You yoiis should walk to the north.");
+
+ close;
+
}