Settings Library

The settings library allows addons to manage json settings files with ease.

The following functions are exposed by this library:

string file.normalize_path(string path);

string file.path_from_dir(string dir);

boolean settings:save(string name, table settings);

table settings:load(string name);