summaryrefslogtreecommitdiff
path: root/npc/012-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-14 09:42:56 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-14 09:42:56 -0300
commit6780708659f8ae45c897d8f92911749d1153eec9 (patch)
tree8b5dff891f6caac84e8dc3fde465d7f0be3c2859 /npc/012-7
parent6ebb76b4b457e35901e4a7c1d9dcd64c095e159b (diff)
downloadserverdata-6780708659f8ae45c897d8f92911749d1153eec9.tar.gz
serverdata-6780708659f8ae45c897d8f92911749d1153eec9.tar.bz2
serverdata-6780708659f8ae45c897d8f92911749d1153eec9.tar.xz
serverdata-6780708659f8ae45c897d8f92911749d1153eec9.zip
Scythe quest complete
Diffstat (limited to 'npc/012-7')
-rw-r--r--npc/012-7/_import.txt1
-rw-r--r--npc/012-7/airlia.txt42
2 files changed, 43 insertions, 0 deletions
diff --git a/npc/012-7/_import.txt b/npc/012-7/_import.txt
index f38d358e6..e02dd58c7 100644
--- a/npc/012-7/_import.txt
+++ b/npc/012-7/_import.txt
@@ -1,4 +1,5 @@
// Map 012-7: Town Hall
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/012-7/_warps.txt",
+"npc/012-7/airlia.txt",
"npc/012-7/celestia.txt",
diff --git a/npc/012-7/airlia.txt b/npc/012-7/airlia.txt
new file mode 100644
index 000000000..c85014a40
--- /dev/null
+++ b/npc/012-7/airlia.txt
@@ -0,0 +1,42 @@
+// TMW2 Script
+// Author:
+// Jesusalva
+// Description:
+// Town Mayor Daughter
+
+012-7,52,58,0 script Hinnak NPC_ELF_F,{
+ .@q1=getq(HurnscaldQuest_Farmers);
+ if (strcharinfo(0) == $MOST_HEROIC$) mesn;
+ if (strcharinfo(0) == $MOST_HEROIC$) mesq l("Ah, if it isn't @@? You're the talk of the town!", $MOST_HEROIC$);
+ if (strcharinfo(0) == $MOST_HEROIC$) next;
+ if (.@q1 == 4) goto L_Letter;
+ mesq l("Oh, a visitor. Welcome to the city hall. Please, enjoy your stay.");
+ close;
+
+L_Letter:
+ mesq l("You're the savior of Hurnscald crops. Half from the world would die from famine, weren't for you.");
+ next;
+ mesn;
+ mesq l("We're currently the biggest exporter of food. We may be a small town, but Tulimshar and Halinarzo can barely hold themselves.");
+ next;
+ mesn;
+ mesq l("Here, take this Scythe. This is the proof that you've helped Hurnscald greatly. This shall open new opportunities to you.");
+ setq HurnscaldQuest_Farmers, 5;
+ getitem Scythe, 1;
+ getexp 0, 100;
+ close;
+
+OnInit:
+ .@npcId = getnpcid(0, .name$);
+ setunitdata(.@npcId, UDT_HEADTOP, Earmuffs);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, RedknightArmor);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, Boots);
+ setunitdata(.@npcId, UDT_WEAPON, Skirt);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 20);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 5);
+
+ .sex = G_MALE;
+ .distance = 5;
+ end;
+}
+