summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-16 14:32:16 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-16 14:32:16 -0300
commit5c3c32b51d3254ee2e16e1f0394e84078d1937d9 (patch)
tree7840d882958a712638c24dd1e49de3395c511172
parenta5b4a7ceacb426801b3ac28d8c82dfb02114d085 (diff)
downloadserverdata-5c3c32b51d3254ee2e16e1f0394e84078d1937d9.tar.gz
serverdata-5c3c32b51d3254ee2e16e1f0394e84078d1937d9.tar.bz2
serverdata-5c3c32b51d3254ee2e16e1f0394e84078d1937d9.tar.xz
serverdata-5c3c32b51d3254ee2e16e1f0394e84078d1937d9.zip
Now I only need the reward stage, and Anwar quest is complete! B-)
-rw-r--r--npc/003-1/eomie.txt28
-rw-r--r--npc/004-1/anwar.txt15
2 files changed, 43 insertions, 0 deletions
diff --git a/npc/003-1/eomie.txt b/npc/003-1/eomie.txt
index cd38c5b10..58aa07d5c 100644
--- a/npc/003-1/eomie.txt
+++ b/npc/003-1/eomie.txt
@@ -8,6 +8,7 @@
003-1,68,24,0 script Eomie NPC_ELF_F,{
.@q=getq(TulimsharQuest_AnwarField);
+ if (.@q == 7) goto L_FirstAid;
if (.@q == 1) goto L_NotMe;
hello;
@@ -28,6 +29,33 @@ L_NotMe:
setq TulimsharQuest_AnwarField, 2;
close;
+L_FirstAid:
+ mesn;
+ mesq l("The crops are under attack? That's terrible!");
+ next;
+ mesn;
+ mesq l("I can do a bug bomb right away, but I still need a few things for it!");
+ next;
+ mesn;
+ mesq l("Do you, perchance, have 2 @@ and 3 @@?", getitemlink(ScorpionClaw), getitemlink(Moss));
+ if (askyesno() != ASK_YES)
+ close;
+ mes "";
+
+ if (countitem(ScorpionClaw) < 2 ||
+ countitem(Moss) < 3) {
+ mesn;
+ mesq l("The situation is too serious to you be lying... Please, go fetch the items...");
+ }
+
+ delitem ScorpionClaw, 2;
+ delitem Moss, 3;
+ setq TulimsharQuest_AnwarField, 8;
+
+ mesn;
+ mesq l("Quick, deliver this to Anwar!");
+ close;
+
OnInit:
.@npcId = getnpcid(0, .name$);
//setunitdata(.@npcId, UDT_HEADTOP, PinkieHat);
diff --git a/npc/004-1/anwar.txt b/npc/004-1/anwar.txt
index eb6f1ed91..d89a8d166 100644
--- a/npc/004-1/anwar.txt
+++ b/npc/004-1/anwar.txt
@@ -14,6 +14,7 @@
if (.@q >= 11) goto L_GiveTinris;
if (.@q == 10) goto L_GiftMaterial;
*/
+ if (.@q == 8) goto L_SecondTry;
if (.@q >= 6) goto L_FirstTry;
if (.@q == 5) goto L_TryIt;
if (.@q >= 1) goto L_FirstTry;
@@ -69,6 +70,20 @@ L_TryIt:
close;
+L_SecondTry:
+ mesn strcharinfo(0);
+ mesq l("Here is the bug bomb! Eomie just gave me. Hurry up!");
+ next;
+ getexp 20, 0;
+ specialeffect(51);
+ setq TulimsharQuest_AnwarField, 9;
+ mesn;
+ mesq l("Thanks God... The crops are safe. Not only that, but the fertilizer works!");
+ next;
+ mesn;
+ mesq l("Ah, that was tiresome... I'll go make a reward for them, talk to me again later.");
+ close;
+
L_Weak:
hello;
end;