0
0
Fork 0
This repository has been archived on 2024-05-09. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
factorio-spaghetti-lockdown/settings.lua
2019-02-24 15:18:05 -08:00

34 lines
No EOL
865 B
Lua

local options = require("options")
data:extend{
{
type = "double-setting",
name = "duration-until-lockdown-scalar",
setting_type = "runtime-global",
order = "a-a",
minimum_value = 0,
default_value = 15,
},
{
type = "string-setting",
name = "duration-until-lockdown-unit",
setting_type = "runtime-global",
order = "a-b",
default_value = options.durationUnit[2],
allowed_values = options.durationUnit,
},
{
type = "bool-setting",
name = "lockdown-minable",
setting_type = "runtime-global",
order = "a-c",
default_value = true,
},
{
type = "bool-setting",
name = "lockdown-rotatable",
setting_type = "runtime-global",
order = "a-d",
default_value = true,
},
}