forked from squidy5/cargo_ships
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.lua
115 lines (113 loc) · 2.27 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
--local choices = require("choices")
data:extend({
{
type = "bool-setting",
name = "deep_oil",
setting_type = "startup",
default_value = true,
order = "a-a"
},
{
type = "string-setting",
name = "oil_richness",
setting_type = "startup",
default_value = "regular",
allowed_values = {
"very-poor",
"poor",
"regular",
"good",
"very-good"
},
order = "a-b"
},
{
type = "int-setting",
name = "oil_rig_capacity",
setting_type = "startup",
minimum_value = 1,
default_value = 100,
maximum_value = 500,
order = "a-c"
},
{
type = "bool-setting",
name = "no_oil_for_oil_rig",
setting_type = "startup",
default_value = false,
order = "a-d"
},
{
type = "bool-setting",
name = "no_oil_on_land",
setting_type = "startup",
default_value = false,
order = "a-e"
},
{
type = "double-setting",
name = "speed_modifier",
setting_type = "startup",
default_value = 1,
minimum_value = 0.5,
maximum_value = 2,
order = "b-a"
},
{
type = "double-setting",
name = "fuel_modifier",
setting_type = "startup",
default_value = 2,
minimum_value = 1,
maximum_value = 10,
order = "b-b"
},
{
type = "int-setting",
name = "tanker_capacity",
setting_type = "startup",
minimum_value = 100,
default_value = 250,
maximum_value = 500,
order = "b-c"
},
{
type = "bool-setting",
name = "no_catching_fish",
setting_type = "startup",
default_value = true,
minimum_value = 0.5,
order = "c-a"
},
{
type = "bool-setting",
name = "use_dark_blue_waterways",
setting_type = "startup",
default_value = false,
--hidden = true,
order = "c-b"
},
{
type = "int-setting",
name = "waterway_reach_increase",
setting_type = "runtime-global",
minimum_value = 0,
default_value = 100,
maximum_value = 1000,
order = "a-a"
},
{
type = "bool-setting",
name = "indestructible_buoys",
setting_type = "runtime-global",
default_value = false,
order = "a-b"
},
{
type = "bool-setting",
name = "prevent_waterway_rail_connections",
setting_type = "runtime-global",
default_value = true,
order = "a-c"
}
})