Console/Globals

Global variables are a core part of how and  keep track of the state of the game, quests, and the decisions that have been made by the player. They are used frequently in dialogue checks and quests to change the world in reaction to the player. This page is intended to list all global variables, providing a description of each one, the quests or conversations they are used, and the conditions required to set them.

About
All variables are key-value pairs where the key is a string, the "tag", and the value is an signed 32-bit integer. Currently two types of variable exist: However, the game doesn't make much of a distinction between them, nor is there anything preventing a boolean "type" value from being anything other than a 0 or 1, and vice versa. This distinction is purely for informational purposes.
 * Boolean - tag is prefixed with a "b". Valid values are 0 (false) or 1 (true)
 * Number - tag is prefixed with a "n". Valid values are -2,147,483,648 to 2,147,483,647 (32-bit signed integer range)

In addition, each variable has an initial value, which is the value the variable will be set to by default. Only a few dozen variables have an initial value other than 0 - these have been listed beside the tag in brackets.

The variables in thankfully have developer comments explaining each of the possible values and what they mean in context. However the variables in do not have comments, or they were stripped out prior to release.

The console can be used to manipulate global variables. You can print the value of a global with, set the value of a global with , and increment a global with. Only global variables that are actually defined can be referenced in the console.