settings.lua 808 Bytes
data:extend({
    {
        type = "int-setting",
		default_value = 2,
		minimum_value = 0,
		maximum_value = 10,
        name = "calcui-decimal-places",
        setting_type = "runtime-per-user"
    },
	{
        type = "bool-setting",
		default_value = false,
        name = "calcui-clear-on-calc",
        setting_type = "runtime-per-user"
    },
    {
        type = "bool-setting",
        default_value = false,
        name = "calcui-shortcut-close",
        setting_type = "runtime-per-user"
    },
    {
        type = "bool-setting",
        default_value = false,
        name = "calcui-nilaus-mode",
        setting_type = "runtime-per-user"
    },
    {
        type = "bool-setting",
        default_value = false,
        name = "calcui-sfx",
        setting_type = "runtime-per-user"
    }
})