Game dev
Saved & recent

Quest facts

Related terms: story flags, narrative state, conditions, events

Named values that record what has happened in the story. Rescuing a prisoner might set rescued = 1; a conversation can check that value to unlock a new reply. Facts can also count progress, such as three clues found, rather than only storing true or false.

A fact stores information; the quest, dialogue or script that reads it decides what happens next. The Witcher’s REDkit exposes a facts database shared by these systems. Save the relevant facts through serialization so returning to the game does not undo remembered choices.

Source
CD Projekt RED: facts in REDkit
Further reading
Inkle: Writing with ink
third beacon write saved quest fact beacons 3 read read new dialogue ferry quest shared story state
Activating the third beacon writes a saved count. A conversation and a later quest can both read the same fact.

View in the full Game dev collection