summaryrefslogtreecommitdiff
path: root/npc/000-2-0/julia.txt
diff options
context:
space:
mode:
authorHal9OOO (Francesco Miglietta) <miglietta.francesco@gmail.com>2012-10-09 19:35:45 +0200
committerHal9OOO (Francesco Miglietta) <miglietta.francesco@gmail.com>2012-10-09 19:35:45 +0200
commit7141defde6a8f156e26f914510f6b8a313f66730 (patch)
tree3d0396e80c0a97a9b634c2db9f2b02b3e0fdd2cd /npc/000-2-0/julia.txt
parentd5340f478fdd2f8db12ac19e5154a61810fcea0f (diff)
downloadserverdata-7141defde6a8f156e26f914510f6b8a313f66730.tar.gz
serverdata-7141defde6a8f156e26f914510f6b8a313f66730.tar.bz2
serverdata-7141defde6a8f156e26f914510f6b8a313f66730.tar.xz
serverdata-7141defde6a8f156e26f914510f6b8a313f66730.zip
Chef Gado quest. Julia dialogue added (WIP).
Diffstat (limited to 'npc/000-2-0/julia.txt')
-rw-r--r--npc/000-2-0/julia.txt42
1 files changed, 40 insertions, 2 deletions
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;
+
}