diff options
Diffstat (limited to 'npc/012-7/airlia.txt')
-rw-r--r-- | npc/012-7/airlia.txt | 25 |
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: |