@title-screen
End the playthrough and return to the title screen (after a bad end and so on). With the kind of ending in ending, the screen fades to black and shows the kind's wording (BAD END and so on) with the name in title, then returns to the title when the player presses (the Studio flowchart also shows it as an ending)
- Built-in
card
Parameters
endingText (such as bad / normal / good / true / other)
Kind of ending: bad, normal, good, true, other (no wording of its own; only title is shown) and kinds added with endingKinds in liminalia.json. The wording on screen comes from the kind (BAD END for bad and so on)
titleText
Name of this ending only (such as "Silence"). Shown with the kind's wording
textText
End mark shown below the name (the Japanese mark for "the end" if omitted; The End when playing in English)
cardtrue / false
Default: trueWith ending, show the ending's name before returning to the title. false returns right away (use commandDefaults to turn it off for the whole project)
Guides that use this command
- Split the script into several filesMake a file for each chapter and connect them with jumps
- Run a single line on a conditionWrite if=(expression) at the end of a command line, and skip that line when the condition isn't met
- Add achievementsMake the list of achievements on the Project screen and unlock them in the scenario, including achievements that count and the completion rate in Extras
- Write script testsWrite down the choices to pick and what should happen in the tests folder, and check them all at once with lim test
- Play an exported game to the end automaticallyUse lim playtest to have the exported browser version play automatically from New Game to the end, and report errors and where it got stuck