summaryrefslogtreecommitdiff
path: root/npc/003-1/eomie.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/003-1/eomie.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/003-1/eomie.txt')
-rw-r--r--npc/003-1/eomie.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/npc/003-1/eomie.txt b/npc/003-1/eomie.txt
index 58aa07d5c..43e9a8ad5 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 == 10) goto L_Gift;
if (.@q == 7) goto L_FirstAid;
if (.@q == 1) goto L_NotMe;
@@ -56,6 +57,28 @@ L_FirstAid:
mesq l("Quick, deliver this to Anwar!");
close;
+
+L_Gift:
+ .@q2=getq2(TulimsharQuest_AnwarField);
+ if (.@q2 & 2) {
+ mesn;
+ mesq l("Thanks for the nice gift!");
+ close;
+ }
+ // Tip. WHAT DID YOU DID WITH THE BOUND ITEM? IT SHOULD BE HARD TO GET RID OF IT...
+ if (countitem(TortugaShell) < 1) {
+ mesn;
+ mesq l("Ah, I wish I got something for helping people out...");
+ close;
+ }
+ mesn strcharinfo(0);
+ mesq l("Anwar sent you this, erm, hum... @@.", getitemlink(TortugaShell));
+ next;
+ setq2 TulimsharQuest_AnwarField, .@q2+2;
+ mesn;
+ mesq l("WOW, THIS IS AWESOME! Many, many thanks!!");
+ close;
+
OnInit:
.@npcId = getnpcid(0, .name$);
//setunitdata(.@npcId, UDT_HEADTOP, PinkieHat);