summaryrefslogtreecommitdiff
path: root/npc/000-2-1
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-12-25 16:05:36 +0100
committerReid <reidyaro@gmail.com>2012-12-25 16:05:36 +0100
commit67364edd07cb24bc351815f553973f812b78dfcc (patch)
tree5014635cf2fe68e350aa845a53f52b1cb3590268 /npc/000-2-1
parent11c3a581a29a7897a7a5314ef0c6da96062b4af3 (diff)
downloadserverdata-67364edd07cb24bc351815f553973f812b78dfcc.tar.gz
serverdata-67364edd07cb24bc351815f553973f812b78dfcc.tar.bz2
serverdata-67364edd07cb24bc351815f553973f812b78dfcc.tar.xz
serverdata-67364edd07cb24bc351815f553973f812b78dfcc.zip
Add some missing chefgado dialogues.
Reported by: Hongwen Qiu.
Diffstat (limited to 'npc/000-2-1')
-rw-r--r--npc/000-2-1/chefgado.txt28
1 files changed, 26 insertions, 2 deletions
diff --git a/npc/000-2-1/chefgado.txt b/npc/000-2-1/chefgado.txt
index fb81b399..953245b4 100644
--- a/npc/000-2-1/chefgado.txt
+++ b/npc/000-2-1/chefgado.txt
@@ -12,7 +12,8 @@
// 2 Ingredients collected, ready to poison Julia.
// 3 Julia poisoned.
// 4 Quest complete.
-// 5 Quest aborted. Julia wins.
+// 5 PoisonDish Return.
+// 6 Quest aborted. Julia wins.
000-2-1.gat,27,28,0,1 script Chef Gado 318;2,{
@@ -22,7 +23,8 @@
if (@q == 2) goto l_PoisonAccepted;
if (@q == 3) goto l_PoisonJulia;
if (@q == 4) goto l_QuestComplete;
- if (@q == 5) goto l_QuestAborted;
+ if (@q == 5 && countitem("PoisonedDish") > 0) goto l_Aborting;
+ if (@q > 4) goto l_QuestAborted;
if (@n == 3) goto l_QuestStart;
mesn;
@@ -165,6 +167,28 @@ l_QuestComplete:
close;
+l_Aborting:
+ mesn;
+ mesq l("Wait? Why do you still have this dish with you?");
+ next;
+
+ menu
+ l("I informed Julia about your plan."), -,
+
+ mes "";
+ mesn;
+ mesq l("Are you crazy?");
+ next;
+ mesq l("Give me back this dish now, you dirty liar.");
+
+ if (countitem("PoisonedDish") > 0), delitem "PoisonedDish", 1;
+ setq ShipQuests_ChefGado, 6;
+
+ next;
+ mesq l("You're like the rest of this crew, I can't count on you!");
+
+ close;
+
l_QuestAborted:
mesn;
mesq lg("You dirty liar. I will add your name on the traitors list.");