Code bundle that simplifies adding new game settings for other modders.
## Features
* Provides a small api for declaring new options and reading their current values
* Adds the setting to the in-game (or shell) ui
* Handles all reading and writing from localStorage
* Adds namespaces to keep options between mods separate (all mods must currently share one localStorage key)
* Leaves options created by other mods in place
* Conforms to the game's Settings workflow, allowing players to cancel changes with no effect and reset default values just like normal settings
## Installation
Not installable by itself. Requires integration into new mods. See instructions on github below.
## Example mod
Choose Starting Layers mod
## Using this in your mod
Instructions on github
## Features
* Provides a small api for declaring new options and reading their current values
* Adds the setting to the in-game (or shell) ui
* Handles all reading and writing from localStorage
* Adds namespaces to keep options between mods separate (all mods must currently share one localStorage key)
* Leaves options created by other mods in place
* Conforms to the game's Settings workflow, allowing players to cancel changes with no effect and reset default values just like normal settings
## Installation
Not installable by itself. Requires integration into new mods. See instructions on github below.
## Example mod
Choose Starting Layers mod
## Using this in your mod
Instructions on github