// TMW2 Script
// Author:
// Saulc
// Jesusalva
// Description:
// Part of Anwar Field quest
// Notes: Eomie did the bug bomb at Candor
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;
end;
L_NotMe:
mesn strcharinfo(0);
mesq l("Hello Ms. Eomie, kind sir Anwar sent me to fetch some fertilizers to save Tulimshar from famine, if you may?");
next;
mesn;
mesq lg("Sorry kind sir @@, but no.", "Sorry kind lady @@, but no.", strcharinfo(0));
next;
mesn;
mesq l("Or rather, I can't. I would love to help you, just like everybody else, but I don't know how to make fertilizers.");
next;
mesn;
mesq l("Tinris probably could do that, he is young but very talented. He is a greedy elf, but if you help him, he'll likely help you back.");
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);
setunitdata(.@npcId, UDT_HEADMIDDLE, ValentineDress);
setunitdata(.@npcId, UDT_HEADBOTTOM, CottonTrousers);
//setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots); // Boots
setunitdata(.@npcId, UDT_HAIRSTYLE, 10);
setunitdata(.@npcId, UDT_HAIRCOLOR, 12);
.sex = G_FEMALE;
.distance = 5;
end;
}