Consequences
Every game decides what death means, how saving works and what the world remembers. Edit > Project Settings > Consequences holds the answers, and the New Project window's Consequences tab asks the same questions when a project is made. Each answer is a line in game.vdc, its key in brackets below. A key that is absent keeps the old rule, and no template changes them.
Death
- Death (
death) - Rekindle at the Spawn: stand again at the map's Player Start after the respawn delay. Return to the Last Save: load the last save (with no save yet, rekindle). The Run Ends: the run is over and the main menu returns.
- Respawn delay
- Seconds she lies fallen before she stands again. 2 unless changed.
- Screen dim, Dim fade time
- How dark the world goes while she is down, and how fast.
- Death message (
deathmessage) - A line shown while she is down. Empty shows nothing.
- Enemies come back (
deathreset) - The map's enemies come back when she stands again.
- Gold lost (
deathgold) - None, a tenth, a quarter, half or all of the main currency, lost at the fall. The Currencies page shows the same setting as the first row's Lost on death; every other currency has its own there.
- Experience lost (
deathxp) - None, the progress toward the next level, or one level.
- Dropped where she fell (
deathdrop) - The lost money, of every currency, lies where she fell, for her to pick up.
The three timings live in assets/data/tuning.vfa rather than game.vdc.
While she is down, her death clip plays, a fall keeps falling, and nothing she presses acts. Every condition on her ends when she stands again.
Saving
- Saving (
saving) - Anywhere: the save key and the pause screen's Save both work. At Save Points: only the
savepointverb saves; put it on a shrine's[use]section. Automatic Only: no saving by hand; the game saves on every map change. One Save, Erased on Death: one save, written on every map change and erased at the fall. - Save when changing maps (
autosave) - Save on every
travel. Always on for Automatic Only and One Save. - Respawn in the pause menu (
pauserespawn) - The pause menu has a Respawn button. It asks Respawn? and puts her back at the map's Player Start with her health and items kept and nothing lost: a way out for a player stuck in the world. Off unless turned on. It works only where saving is Anywhere, and not in a cutscene. A painted pause screen gets the button under its last button; a button of its own with the link
respawndoes the same and stands where it was put.
Companions and gear
- When a companion falls (
companiondeath) - Up After the Fight: a downed companion stands with 1 health after a won fight. Down Until Healed: they stay down until healed. Gone for Good: they leave the party.
- Gear wears out (
durability) - Gear wears with use.
- Lasting injuries (
injuries) - Each fall leaves a wound: 10% off maximum health, up to five. The
healverb clears them.
The world's memory
- Killers earn names (
foes) - Enemies who kill the player earn names and remember it.
- Reputation (
reputation) - Off: no party keeps a standing; deeds are not judged.
- Actions change standing (
repactions) - Off:
witnessandrumourdo nothing; only a scriptedstandingmoves a party. - Reputation after death (
repdeath) - Reset: every standing goes back to its start in
factions.vfaat the fall. Kept leaves them.
Factions
- Word travels on its own (
worldnews) - News moves between parties with no script asking, from the start of a game. The
worldnewsverb switches it in play. - Faction clock (
newsevery) - Seconds between the faction clock's beats, 1 to 60. Each beat carries news along, reads every quest's needs again and, with promotion When earned, hands out ranks. 1 unless changed.
- Guild membership (
guilds) - One at a time, or Several (still only one guild from each group).
- Promotion (
promotion) - By hand, or When earned: on each beat, a member with the esteem for the next rank is given it.
Scripts on death
assets/events/death.run runs its [death] section (or on death block) at the fall, and respawn.run its [respawn] section after she stands again. Anything the page does not cover goes there: gold -50, dismiss bryn, travel shrine, uishow death_screen.
From a script, player hurt 20 (or player hurt 20 raw, past her armour), player kill and respawn do what the item steps of the same names do; a script is the maker's own, so its respawn is not held back by the saving rule.
From a script, death reads all the death settings back; death rekindle, death delay 3, death dim 0.5, death message You fell. change them.