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