From a3c39a3b922745efe2b32d60c01342c97ff51bdf Mon Sep 17 00:00:00 2001 From: "Hal9OOO (Francesco Miglietta)" Date: Mon, 8 Oct 2012 19:23:35 +0200 Subject: Chef Gado quest. Quest vars implemented, 1st step complete (WIP). --- db/const.txt | 3 ++- db/questvars.txt | 3 ++- npc/000-2-1/chefgado.txt | 24 ++++++++++++++++++++++-- 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; } -- cgit v1.2.3-70-g09d2