summaryrefslogtreecommitdiff
path: root/npc/003-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1')
-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);