Skip to content
nhmkdev edited this page Jan 2, 2014 · 11 revisions

The save system is a collection of partitioned values.

  • Flags - non-negative numeric values
  • Tags - Strings

When a value is set in the save it is also partitioned based on the type of data.

Pseudo Code

Save.setFlag(partition, name, 4);
... behind the scenes simplification:
Save[flags][partition][name] = 4;

temp partition

The 't' partition is automatically wiped on level load and are never persisted to the actual save game. (TODO: verify the previous statement :))

Clone this wiki locally