From 7141defde6a8f156e26f914510f6b8a313f66730 Mon Sep 17 00:00:00 2001 From: "Hal9OOO (Francesco Miglietta)" Date: Tue, 9 Oct 2012 19:35:45 +0200 Subject: Chef Gado quest. Julia dialogue added (WIP). --- npc/000-2-0/julia.txt | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) (limited to 'npc') diff --git a/npc/000-2-0/julia.txt b/npc/000-2-0/julia.txt index 92e3d46b..912a5405 100644 --- a/npc/000-2-0/julia.txt +++ b/npc/000-2-0/julia.txt @@ -6,11 +6,16 @@ // Allows to change language and talks about what happened to him. // 2 Bits Array: // ShipQuests -// Variable: +// Variables: // ShipQuests_Julia -// Values: +// ShipQuests_ChefGado +// Values ShipQuests_Julia: // 1 Already touched. // 2 First touch. +// Values ShipQuests_ChefGado: +// 2 Ingredients collected, ready to poison Julia. +// 3 Julia poisoned. +// 5 Quest aborted. 000-2-0.gat,27,24,0,0 script Julia 304,2,10;5,{ @@ -20,6 +25,9 @@ mesq l("What do you want today?"); next; + set @q2, getq(ShipQuests_ChefGado); + if (@q2 == 2 && countitem("PoisonedDish") > 0) goto l_PoisonJulia; + set @s$, l("I don't want to change my language, sorry."); l_Menu: @@ -179,4 +187,34 @@ OnTouch: close; +l_PoisonJulia: + menu + l("I have brought you a tasty present for your delicate mouth."), -, + l("Well...No wait you shouldn't eat it. Better I bring it back."), l_Regret; + + mes ""; + mesq l("Seems yummy! Let me taste it!"); + next; + mesq l("Hmmm, hm...Cough Cough, Burp, Cough. What is that!?...Cough, Burp...Damn Gado...Cough"); + if (countitem("PoisonedDish") > 0), delitem "PoisonedDish", 1; + setq ShipQuests_ChefGado, 3; + + close; + +l_Regret: + mes ""; + mesq l("Why? And who should you bring it back to?"); + next; + + menu + l("Ehm he was really upset for some past stories."), -; + + mes ""; + mesq l("Gado!! That coward lives in the past, I will ask Nard to punish him again!"); + next; + mesq l("Take this money for your wise choise. But do not try it again. Water has been mercifull with you once...Do not tempt fate twice!"); + setq ShipQuests_ChefGado, 5; + + close; + } -- cgit v1.2.3-70-g09d2