diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index b26c3baaa..311cc0272 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -75,6 +75,18 @@ function script HUB_Logout { deltimer(.@n$+"::OnE11"); deltimer(.@n$+"::OnE12"); } + // Died or logged out on Player Story 6 - Forgotten Shrine + if (compare(.@mapa$, "brb3")) { + //.@n$=instance_npcname("#Core02331"); + .@q=getq(LoFQuest_Barbara); + // Reset quest to: Forgotten Chamber Puzzle incomplete + if (.@q < 4) { + setq1 LoFQuest_Barbara, 1; + setq3 LoFQuest_Barbara, 1; + dispbottom col(l("WARNING: You died at Forgotten Shrine and the Shrine defense triggered."), 1); + dispbottom col(l("WARNING: Your progress on the quest was lost!"), 1); + } + } // Died or logged out during Sagratha Fight if (compare(.@mapa$, "sgt2")) { setq1 HurnscaldQuest_Sagratha, 3; |