summaryrefslogtreecommitdiff
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
parenta076469a7e7494ef72db1c888a7ddca79d476c4e (diff)
downloadclientdata-a3c39a3b922745efe2b32d60c01342c97ff51bdf.tar.gz
clientdata-a3c39a3b922745efe2b32d60c01342c97ff51bdf.tar.bz2
clientdata-a3c39a3b922745efe2b32d60c01342c97ff51bdf.tar.xz
clientdata-a3c39a3b922745efe2b32d60c01342c97ff51bdf.zip
Chef Gado quest. Quest vars implemented, 1st step complete (WIP).
-rw-r--r--db/const.txt3
-rw-r--r--db/questvars.txt3
-rw-r--r--npc/000-2-1/chefgado.txt24
3 files changed, 26 insertions, 4 deletions
diff --git a/db/const.txt b/db/const.txt
index e5652392..f883daeb 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -216,4 +216,5 @@ ShipQuests_Gulukan 12
ShipQuests_Jalad 13
ShipQuests_QMuller 14
ShipQuests_Tibbo 15
-ShipQuests_Gugli 16 \ No newline at end of file
+ShipQuests_Gugli 16
+ShipQuests_ChefGado 17
diff --git a/db/questvars.txt b/db/questvars.txt
index 21d5f4d7..e969a7cd 100644
--- a/db/questvars.txt
+++ b/db/questvars.txt
@@ -23,4 +23,5 @@ ShipQuests,1,1048576 // ShipQuests_Gulukan 12
ShipQuests,1,2097152 // ShipQuests_Jalad 13
ShipQuests,1,4194304 // ShipQuests_QMuller 14
ShipQuests,1,8388608 // ShipQuests_Tibbo 15
-ShipQuests,3,16777216 // ShipQuests_Gugli 16 \ No newline at end of file
+ShipQuests,3,16777216 // ShipQuests_Gugli 16
+ShipQuests,7,67108864 // ShipQuests_ChefGado 17
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;
}