summaryrefslogtreecommitdiff
path: root/npc/004-1/anwar.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-16 14:49:51 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-16 14:49:51 -0300
commit69d2a7a7eba1cbf296626d33f1d54b606537eb98 (patch)
treedaa5bb56173964d3575782c4387a88eaf63814d4 /npc/004-1/anwar.txt
parent5c3c32b51d3254ee2e16e1f0394e84078d1937d9 (diff)
downloadserverdata-69d2a7a7eba1cbf296626d33f1d54b606537eb98.tar.gz
serverdata-69d2a7a7eba1cbf296626d33f1d54b606537eb98.tar.bz2
serverdata-69d2a7a7eba1cbf296626d33f1d54b606537eb98.tar.xz
serverdata-69d2a7a7eba1cbf296626d33f1d54b606537eb98.zip
Anwar quest should be complete, with 2 or 3 entirely EXPERIMENTAL code lines.
So it may not work.
Diffstat (limited to 'npc/004-1/anwar.txt')
-rw-r--r--npc/004-1/anwar.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/npc/004-1/anwar.txt b/npc/004-1/anwar.txt
index d89a8d166..4462fb1c4 100644
--- a/npc/004-1/anwar.txt
+++ b/npc/004-1/anwar.txt
@@ -14,6 +14,9 @@
if (.@q >= 11) goto L_GiveTinris;
if (.@q == 10) goto L_GiftMaterial;
*/
+ if (.@q > 10) goto L_Complete;
+ if (.@q == 10) goto L_SecondReward;
+ if (.@q == 9) goto L_FirstReward;
if (.@q == 8) goto L_SecondTry;
if (.@q >= 6) goto L_FirstTry;
if (.@q == 5) goto L_TryIt;
@@ -25,6 +28,14 @@
l("Sure!"),L_Sure,
l("I'm busy, sorry."),L_Close;
+L_Complete:
+ mesn;
+ mesq l("Thanks for saving Tulimshar from a famine. I'll be forever grateful.");
+ next;
+ mesn;
+ mesq l("Dealing with elves is too bothersome to me.");
+ close;
+
L_Sure:
mes "";
mesn;
@@ -84,6 +95,27 @@ L_SecondTry:
mesq l("Ah, that was tiresome... I'll go make a reward for them, talk to me again later.");
close;
+L_FirstReward:
+ mesn;
+ mesq l("Here are two @@. Please deliver it to them. I'm hope they'll like it.", getitemlink(TortugaShell));
+ setq TulimsharQuest_AnwarField, 10, 0;
+ getitembound(TortugaShell, 2, 4); // Prevent accidental item loss
+ close;
+
+L_SecondReward:
+ .@q2=getq2(TulimsharQuest_AnwarField);
+ if (.@q2 < 3){
+ mesn;
+ mesq l("Please deliver the two @@ to Tinris and Eomie, and then I'll give you something for your help.", getitemlink(TortugaShell));
+ close;
+ }
+ setq TulimsharQuest_AnwarField, 11, 0;
+ getitem2(CottonTrousers, 1, 1, 0, 0, OrangeDye, 0,0,0); // EXPERIMENTAL, required for Inspector Quest
+ getexp 100, 0;
+ mesn;
+ mesq l("Many thanks for your help! Here, take this. I'm sure it can be very useful later. It always is.");
+ close;
+
L_Weak:
hello;
end;