summaryrefslogtreecommitdiff
path: root/npc/012-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-07 01:03:26 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-07 01:03:26 -0200
commit9d5db4c9b4bbb05153b29ee7340acbd35ed226bf (patch)
treef17340f29fb5250cbc47434ae6a4c4c55b37ee81 /npc/012-7
parent94299b1a9eb27f37c37ad3dcc09b57b174df4f33 (diff)
downloadserverdata-9d5db4c9b4bbb05153b29ee7340acbd35ed226bf.tar.gz
serverdata-9d5db4c9b4bbb05153b29ee7340acbd35ed226bf.tar.bz2
serverdata-9d5db4c9b4bbb05153b29ee7340acbd35ed226bf.tar.xz
serverdata-9d5db4c9b4bbb05153b29ee7340acbd35ed226bf.zip
Rakinorf Initial Version (Main Storyline 2-2)
Diffstat (limited to 'npc/012-7')
-rw-r--r--npc/012-7/airlia.txt25
1 files changed, 18 insertions, 7 deletions
diff --git a/npc/012-7/airlia.txt b/npc/012-7/airlia.txt
index 732232f78..fad5f1f15 100644
--- a/npc/012-7/airlia.txt
+++ b/npc/012-7/airlia.txt
@@ -18,7 +18,7 @@
.@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 == 3) goto L_Mayor;
+ if (.@n >= 3 && .@n < 6) goto L_Mayor;
mesn;
mesq l("Oh, a visitor. Welcome to the city hall. Please, enjoy your stay.");
close;
@@ -42,10 +42,21 @@ L_Letter:
// Main Storyline & Airlia Quest
L_Mayor:
.@q=getq2(General_Narrator);
- if (.@q == 3) goto L_In4;
- if (.@q == 2) goto L_In3;
- if (.@q == 1) goto L_In2;
- if (.@q == 0) goto L_In1;
+
+ // 3 - Quest Not Assigned
+ if (.@n == 3)
+ goto L_In1;
+
+ // 4 - Airlia doesn't wants to talk about </3
+ if (.@n == 4) {
+ if (.@q == 2) goto L_In3;
+ if (.@q == 1) goto L_In2;
+ }
+
+ // 5 - Access to Rakinorf was granted
+ if (.@n == 5)
+ goto L_In4;
+
mesc l("Script Error"), 1;
close;
@@ -58,7 +69,7 @@ L_In1:
next;
mesn;
mesq l("Anyway, he is not available at the moment. Try your luck again later.");
- setq2 General_Narrator, 1;
+ setq General_Narrator, 4, 1;
close;
L_In2:
@@ -89,7 +100,7 @@ L_In3:
next;
mesn;
mesq l("Usually only sponsors are allowed up there, but I'll make an exception today. Go meet the mayor.");
- setq2 General_Narrator, 3;
+ setq General_Narrator, 5, 0;
close;
L_In4: