summaryrefslogtreecommitdiff
path: root/npc/003-1/eomie.txt
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 /npc/003-1/eomie.txt
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-)
Diffstat (limited to 'npc/003-1/eomie.txt')
-rw-r--r--npc/003-1/eomie.txt28
1 files changed, 28 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);