summaryrefslogtreecommitdiff
path: root/npc/004-1/anwar.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-02 16:53:03 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-02 16:53:03 -0300
commit328f1b9fef0d06bc2d12648f2cf45f6a91bcfe58 (patch)
treea073b4617961a89b741fdc1dc5b580b9c35daee9 /npc/004-1/anwar.txt
parentc5bdd2669c8348aa1d8b0084685370219a062dc0 (diff)
downloadserverdata-328f1b9fef0d06bc2d12648f2cf45f6a91bcfe58.tar.gz
serverdata-328f1b9fef0d06bc2d12648f2cf45f6a91bcfe58.tar.bz2
serverdata-328f1b9fef0d06bc2d12648f2cf45f6a91bcfe58.tar.xz
serverdata-328f1b9fef0d06bc2d12648f2cf45f6a91bcfe58.zip
Backup data before I get AFK
Diffstat (limited to 'npc/004-1/anwar.txt')
-rw-r--r--npc/004-1/anwar.txt52
1 files changed, 50 insertions, 2 deletions
diff --git a/npc/004-1/anwar.txt b/npc/004-1/anwar.txt
index 265ee94c5..f97e1e1e2 100644
--- a/npc/004-1/anwar.txt
+++ b/npc/004-1/anwar.txt
@@ -5,8 +5,56 @@
// Description:
// Part of Anwar Field quest
-004-1,107,67,0 script Anwar NPC_PLAYER,{
+004-1,107,67,0 script Anwar NPC_RAIJIN,{
.@q=getq(TulimsharQuest_AnwarField);
- hello;
+
+ /*
+ if (.@q >= 15) goto L_Done;
+ if (.@q >= 13) goto L_GiveEomie;
+ if (.@q >= 11) goto L_GiveTinris;
+ if (.@q == 10) goto L_GiftMaterial;
+ if (.@q >= 5) goto L_SecondTry;
+ */
+ if (.@q >= 1) goto L_FirstTry;
+
+ mesn;
+ mesq l("Hi. Could you perhaps be interested in doing some small errand for me?");
+ menu
+ l("Sure!"),L_Sure,
+ l("I'm busy, sorry."),L_Close;
+
+
+L_Sure:
+ mes "";
+ mesn;
+ mesq l("Great! Eomie, the girl on Tulimshar's magic academy, is an alchemist. She makes fertilizers.");
+ next;
+ mesn;
+ mesq l("This farm is dying due constant monster attacks, and without them, Tulimshar might face a famine.");
+ next;
+ mesn;
+ mesq l("Please, talk to her. Maybe she understands the direness of the situation and help... But you know. Elves.");
+ setq TulimsharQuest_AnwarField, 1;
+ close;
+
+L_FirstTry:
+ mesn;
+ mesq l("Good luck getting the fertilizer from Eomie! Many elves simply refuse to cooperate until it affects them directly.");
+ close;
+
+L_Close:
+ close;
+
+OnInit:
+ .@npcId = getnpcid(0, .name$);
+ //setunitdata(.@npcId, UDT_HEADTOP, 2929); // TODO: This NPC is an Elf and therefore, CANNOT use NPCEyes.
+ setunitdata(.@npcId, UDT_HEADMIDDLE, ArtisTankTop);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, CottonTrousers);
+ setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots); // Boots
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 6);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 14);
+
+ .sex = G_MALE;
+ .distance = 4;
end;
}