summaryrefslogtreecommitdiff
path: root/npc/012-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-06 12:51:28 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-06 12:51:28 -0300
commit2bf931dd55f19973a616247313d199b761b938c7 (patch)
tree36bcea0aef7e84a9cf63bff2b35e08afbbaedd85 /npc/012-7
parent3160880728833f5d8bf4b32589f7aa3b3f44e7fd (diff)
downloadserverdata-2bf931dd55f19973a616247313d199b761b938c7.tar.gz
serverdata-2bf931dd55f19973a616247313d199b761b938c7.tar.bz2
serverdata-2bf931dd55f19973a616247313d199b761b938c7.tar.xz
serverdata-2bf931dd55f19973a616247313d199b761b938c7.zip
Prepare Airlia background story, and also add a node for the Char Main Storyline.
This is TBD atm, sorry.
Diffstat (limited to 'npc/012-7')
-rw-r--r--npc/012-7/airlia.txt25
1 files changed, 23 insertions, 2 deletions
diff --git a/npc/012-7/airlia.txt b/npc/012-7/airlia.txt
index 7b018a042..a8262ff23 100644
--- a/npc/012-7/airlia.txt
+++ b/npc/012-7/airlia.txt
@@ -3,17 +3,25 @@
// Jesusalva
// Description:
// Former Town's Mayor Daughter.
-// The old Town Mayor was now forced to take care of graveyard or whatever,
-// Just reshape Airlia as you wish.
+// Have a grudge against current mayor.
+// Her father was banished from the town after the famine and the Monster Attack (Siege)
+// TODO: Remember to use disablenpc() and enablenpc() to keep consistency with Hurns Liberation Day
+// A new mayor was elected, which was her family political enemy. She misses her father,
+// which she doesn't knows where he is because the banishment. Main storyline unlocks
+// this side quest, but the main storyline keeps going forward regardless of that.
+// NOTE: Here, 'main storyline' is character story, do not mistake with world main storyline.
012-7,52,58,0 script Airlia NPC_ELF_F,{
.@q1=getq(HurnscaldQuest_Farmers);
+ .@n = getq(General_Narrator);
if (strcharinfo(0) == $MOST_HEROIC$) npctalk3 l("Ah, if it isn't @@? You're the talk of the town!", $MOST_HEROIC$);
if (.@q1 == 4) goto L_Letter;
+ if (.@n == 4) goto L_Mayor;
mesn;
mesq l("Oh, a visitor. Welcome to the city hall. Please, enjoy your stay.");
close;
+// Hurnscald Farmers Quest
L_Letter:
mesn;
mesq l("You're the savior of Hurnscald crops. Half from the world would die from famine, weren't for you.");
@@ -23,11 +31,24 @@ L_Letter:
next;
mesn;
mesq l("Here, take this @@. This is the proof that you've helped Hurnscald greatly. This shall open new opportunities to you.", getitemlink(Scythe));
+ inventoryplace Scythe, 1;
setq HurnscaldQuest_Farmers, 5;
getitem Scythe, 1;
getexp 0, 100;
close;
+// Main Storyline & Airlia Quest
+L_Mayor:
+ mesn strcharinfo(0);
+ mesq l("Hello! Could I see the Mayor?");
+ next;
+ mesn;
+ mesq l("Ah... The mayor. The current mayor. Why do you even want to talk to him, anyway?");
+ next;
+ mesn;
+ mesq l("Anyway, he is not available at the moment. Try your luck again later.");
+ close;
+
OnInit:
.@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADTOP, Earmuffs);