summaryrefslogtreecommitdiff
path: root/npc/000-2-1/chefgado.txt
diff options
context:
space:
mode:
authorHal9OOO (Francesco Miglietta) <miglietta.francesco@gmail.com>2012-10-08 19:23:35 +0200
committerHal9OOO (Francesco Miglietta) <miglietta.francesco@gmail.com>2012-10-08 19:23:35 +0200
commita3c39a3b922745efe2b32d60c01342c97ff51bdf (patch)
tree31c37b3d8106f6fe40cb0f60ceaa98973e86602c /npc/000-2-1/chefgado.txt
parenta076469a7e7494ef72db1c888a7ddca79d476c4e (diff)
downloadserverdata-a3c39a3b922745efe2b32d60c01342c97ff51bdf.tar.gz
serverdata-a3c39a3b922745efe2b32d60c01342c97ff51bdf.tar.bz2
serverdata-a3c39a3b922745efe2b32d60c01342c97ff51bdf.tar.xz
serverdata-a3c39a3b922745efe2b32d60c01342c97ff51bdf.zip
Chef Gado quest. Quest vars implemented, 1st step complete (WIP).
Diffstat (limited to 'npc/000-2-1/chefgado.txt')
-rw-r--r--npc/000-2-1/chefgado.txt24
1 files changed, 22 insertions, 2 deletions
diff --git a/npc/000-2-1/chefgado.txt b/npc/000-2-1/chefgado.txt
index ef93a7c3..0263d45e 100644
--- a/npc/000-2-1/chefgado.txt
+++ b/npc/000-2-1/chefgado.txt
@@ -3,9 +3,19 @@
// Hal9000
// Description:
// La Johanne Chef.
+// Variable:
+// ShipQuests_ChefGado
+// Values:
+// 0 Default, no quest given.
+// 1 Quest accepted.
+// 2 Ingredients collected, ready to poison Julia.
+// 3 Quest accomplished.
000-2-1.gat,17,28,0,1 script Chef Gado 318;2,{
+ set @q, getq(ShipQuests_ChefGado);
+ if (@q > 0) goto OnQuestAccepted;
+
mesn;
mesq l("So it seems I have another stomach to fill. Those bastards have no respect for who feeds them every damn day!");
next;
@@ -46,12 +56,22 @@ l_Rude:
next;
menu
- l("Sure why not?"), l_Sure,
+ l("Sure why not?"), OnSure,
l("Aquada!? I will not help you with your evil plan!"), -;
close;
-l_Sure:
+OnSure:
+ setq ShipQuests_ChefGado, 1;
+ mes "";
+ mesq l("Well done! Collect all the ingredients and then come back here. You will be rewarded once they have understood who rules this ship!");
+
+ close;
+
+OnQuestAccepted:
+ mesn;
+ mesq l("Quest accepted..[WIP]");
+
close;
}