Skip to main content

Module text

Module text 

Source
Expand description

The settings file as name=value lines, for tools that run without the game (the mod manager). It keeps every value it reads, so writing the file back changes only what was set. The game reads the same file through its own Persistence.

Structs§

TextSettings
The settings as names and values, in name order (as the game writes them).

Functions§

settings_path
The game’s settings file: BANISHED_SETTINGS if set, else settings.txt in the banished-wasm folder of the platform’s configuration folder, as the game reads it.