End Story with Epilogue

Files
Epilogues should go in the data/misc directory. You can name your own epilogue files; it is recommended that you name them using only lower-case letters, numbers, and underscores. Epilogues must have an extension of .txt. For example, "ending_good.txt".

Note that you cannot directly create epilogues within the Editor, you must make them with an external text editor like Notepad or TextEdit. After adding an epilogue, you must edit and restart the game and editor for it to become available.

Epilogues are not available through a drop-down; instead, you must choose "Click to Enter Text" and then type in the name of your epilogue, omitting the ".txt" extension. In the above example, the trigger would look like "End Story with Epilogue ending_good and Credits".

Contents

 * You cannot use text expansions like $(l.name) or $(story.winner) in an epilogue.
 * Epilogues cannot display special characters like curly quotation marks or certain accented characters. Be careful as some text editors (like WordPad or TextEdit) automatically replace simple characters with special ones.
 * If the player has enabled "HI RES SCALE MODE" in their options, the epilogue text will show in a larger font. You should test in this larger mode to make sure your epilogue fits on the screen.
 * The epilogue screen does not have a scrollbar, so any content that does not fit will not be visible to the player.

File Location
Credits are optional. If you wish to display them, create the file data/misc/credits.txt. As with epilogues, you must do this in an external editor.

Contents

 * Your module's credits will be prepended to the official game credits. Players will see your credits first, immediately followed by the ones from Harebrained Schemes.
 * Each line of credits will be horizontally centered in the screen. You can't display two-column credits like in the official campaign.
 * Credit lines are not automatically wrapped. If a credit line is too long, the front and back will be truncated.
 * You cannot style credits to show different text colors, italics, etc.
 * You cannot use text expansion variables in your credits.