[Info]
Title=Play Past Ending
Description=This MOD allows you to keep playing after completion of the main quest.
NumOperations=1
FileName1=PROGRAMQUESTSquests_reaction.c
[Search1]
**Begin**
case "Story_KillTheFinalBoss_2":
bQuestDisableMapEnter = false;
bMainMenuLaunchAfterVideo = true;
InterfaceStates.Buttons.Resume.enable = false;
InterfaceStates.Buttons.Save.enable = false;
GameOver("finish");
DelEventHandler(EVENT_END_VIDEO,"LaunchMainMenu_afterVideo");
bMainMenuLaunchAfterVideo = true;
PostVideoAndQuest("ending",100, "credits");
break;
case "credits":
PostEvent("DoInfoShower",100,"s","");
PostVideoAndQuest("credits", 1, "end_game");
break;
case "end_game":
LaunchMainMenu();
Characters[GetCharacterIndex("researcher")].Dialog.CurrentNode = "First time";
Characters[GetCharacterIndex("danielle")].Dialog.CurrentNode = "First time";
break;
**End**
[Replace1]
**Begin**
case "Story_KillTheFinalBoss_2":
bQuestDisableMapEnter = false;
DelEventHandler(EVENT_END_VIDEO,"LaunchMainMenu_afterVideo"); PostVideoAndQuest("ending",100, "credits");
break;
case "credits":
PostEvent("DoInfoShower",100,"s","");
PostVideoAndQuest("credits", 1, "end_game");
break;
case "end_game":
Characters[GetCharacterIndex("researcher")].Dialog.CurrentNode = "First time"; Characters[GetCharacterIndex("danielle")].Dialog.CurrentNode = "First time";
break;
**End**