Settings

The  object is an interface to read config files in the format of , which replaces the deprecated   functions. Note that you can use settingtypes.txt file to add your mod settings to the configuration in the main menu.

Methods

 * : returns a value
 * : returns a boolean
 * : returns a NoiseParams table
 * : returns a boolean ( for success)
 * : returns
 * : returns a boolean ( for success)
 * : returns
 * : returns
 * : returns a boolean ( for success)
 * : returns

Bugs and Caveats
As of 5.0.0, while option value is not set by player manually, settings interface will show default value from settingtypes.txt but  will return.

That means you can't simply rely on default value from settingtypes.txt and this code could result in ModError: