metas/af/investigatethefactions.af
2026-06-09 22:02:49 +02:00

130 lines
3.2 KiB
Text

~~
~~ Investigate the Factions - Radiant Blood path
~~
~~ Quest flow:
~~ 1. Travel to Zaikhal, talk to Jondor Torgren
~~ 2. Travel to Graveyard east, talk to Jawaq ibn Janath
~~ 3. Kill Blight Lictor in the Blight Revenant Pit south of Jawaq
~~ 4. Return to Jawaq and give him the Blight Lictor's Head
~~ 5. Travel to Ayan Baqur
~~ 6. Give Radiant Blood Letter of Introduction to Vierana du Canamorra
~~
~~ ============================================================
~~ STATE MACHINE
~~ ============================================================
STATE: {Default}
IF: Death
DO: SetState {Death}
IF: Always
DO: SetState {GoToJondor}
~~ Step 1: Travel to Zaikhal and talk to Jondor Torgren
STATE: {GoToJondor}
IF: Death
DO: SetState {Death}
IF: ChatMatch {^Jondor Torgren tells you,}
DO: SetState {GoToJawaq}
IF: Always
DO: DoAll
Chat {/vt nav load nav_jondortorgren}
SetWatchdog 10.0 300.0 {Stuck}
~~ Step 2: Travel to Jawaq ibn Janath and talk to him
STATE: {GoToJawaq}
IF: Death
DO: SetState {Death}
IF: ChatMatch {^Jawaq ibn Janath tells you,}
DO: SetState {GoToLictorPit}
IF: Always
DO: DoAll
Chat {/vt nav load nav_jawaqibnjanath}
SetWatchdog 10.0 300.0 {Stuck}
~~ Step 3: Move to the Blight Revenant Pit
STATE: {GoToLictorPit}
IF: Death
DO: SetState {Death}
IF: All
NavEmpty
Expr {testvar[navLoaded]}
DO: DoAll
DoExpr {clearvar[navLoaded]}
SetState {HuntLictor}
IF: Always
DO: DoAll
Chat {/vt nav load nav_translictor}
DoExpr {touchvar[navLoaded]}
SetWatchdog 10.0 120.0 {Stuck}
~~ Step 4: Kill Blight Lictor
STATE: {HuntLictor}
IF: Death
DO: SetState {Death}
IF: ItemCountGE 1 {Blight Lictor's Head}
DO: SetState {GiveHead}
IF: Always
DO: DoAll
Chat {/vt nav load nav_lictorhead}
SetWatchdog 10.0 600.0 {Stuck}
~~ Step 5: Return to Jawaq and give him the head
~~ nav_givehead walks back to Jawaq and issues /ub give via cht node
~~ Advance when letter appears in inventory
STATE: {GiveHead}
IF: Death
DO: SetState {Death}
IF: ItemCountGE 1 {Radiant Blood Letter of Introduction}
DO: SetState {TravelToAB}
IF: Always
DO: DoAll
Chat {/vt nav load nav_givehead}
SetWatchdog 10.0 300.0 {Stuck}
~~ Step 6: Travel to Ayan Baqur
STATE: {TravelToAB}
IF: Death
DO: SetState {Death}
IF: All
NavEmpty
Expr {testvar[navLoaded]}
DO: DoAll
DoExpr {clearvar[navLoaded]}
SetState {GoToVierana}
IF: Always
DO: DoAll
Chat {/vt nav load nav_ab}
DoExpr {touchvar[navLoaded]}
SetWatchdog 10.0 300.0 {Stuck}
~~ Step 7: Walk to Vierana du Canamorra and give letter
~~ nav_vieranaducanamorra walks to Vierana and issues /ub give via cht node
STATE: {GoToVierana}
IF: Death
DO: SetState {Death}
IF: All
NavEmpty
Expr {testvar[navLoaded]}
DO: DoAll
DoExpr {clearvar[navLoaded]}
SetState {Done}
IF: Always
DO: DoAll
Chat {/vt nav load nav_vieranaducanamorra}
DoExpr {touchvar[navLoaded]}
SetWatchdog 10.0 300.0 {Stuck}
STATE: {Done}
IF: Always
DO: Chat {Investigate the Factions (Radiant Blood) complete!}
STATE: {Stuck}
IF: Always
DO: DoAll
Chat {/ub face}
SetState {Default}
STATE: {Death}
IF: ExitPortal
DO: SetState {Default}