generated from fgardt/factorio-mod-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.lua
28 lines (27 loc) · 751 Bytes
/
settings.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
local const = require("constants")
data:extend({
{
type = "int-setting",
name = const.setting.volume_size,
setting_type = "startup",
default_value = 250000,
minimum_value = 1000,
order = "a"
},
{
type = "string-setting",
name = const.setting.graphic_mode,
setting_type = "startup",
default_value = "transparent",
allowed_values = { "transparent", "small window", "closed" },
order = "b"
},
{
type = "string-setting",
name = const.setting.update_rate,
setting_type = "runtime-global",
default_value = "fast",
allowed_values = { "slow", "normal", "fast", "insane" },
order = "a"
}
})