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). --- npc/000-2-1/chefgado.txt | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'npc') 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