forked from dimonft/Vehicle-Wagon-2
-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.lua
98 lines (96 loc) · 2.14 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
--[[ Copyright (c) 2020 robot256 (MIT License)
* Project: Vehicle Wagon 2 rewrite
* File: settings.lua
* Description: Settings to control Vehicle Wagon prototypes and operation.
--]]
data:extend({
{
type = "string-setting",
name = "vehicle-wagon-inventory-slots",
order = "aa",
setting_type = "startup",
default_value = "none",
allowed_values = {
"full-and-empty",
"full-only",
"none",
},
},
{
type = "bool-setting",
name = "vehicle-wagon-compatibility-entities",
order = "ab",
setting_type = "startup",
default_value = false,
},
{
type = "bool-setting",
name = "vehicle-wagon-use-custom-weights",
order = "ba",
setting_type = "startup",
default_value = true
},
{
type = "double-setting",
name = "vehicle-wagon-maximum-weight",
order = "baa",
setting_type = "startup",
default_value = 75000,
minimum_value = 1000,
maximum_value = math.huge
},
{
type = "double-setting",
name = "vehicle-wagon-empty-weight-factor",
order = "bb",
setting_type = "startup",
default_value = 0.25,
minimum_value = 0.1,
maximum_value = 2.0
},
{
type = "double-setting",
name = "vehicle-wagon-vehicle-weight-factor",
order = "bc",
setting_type = "startup",
default_value = 1.0,
minimum_value = 0,
maximum_value = 5.0
},
{
type = "double-setting",
name = "vehicle-wagon-braking-factor",
order = "bd",
setting_type = "startup",
default_value = 2.0,
minimum_value = 0.5,
maximum_value = 5.0
},
{
type = "double-setting",
name = "vehicle-wagon-empty-friction-factor",
order = "be",
setting_type = "startup",
default_value = 0.25,
minimum_value = 0.1,
maximum_value = 5.0
},
{
type = "double-setting",
name = "vehicle-wagon-loaded-friction-factor",
order = "bf",
setting_type = "startup",
default_value = 1.5,
minimum_value = 0.1,
maximum_value = 5.0
},
})
data:extend({
{
type = "bool-setting",
name = "vehicle-wagon-use-GCKI-permissions",
order = "cc",
setting_type = "runtime-global",
default_value = true
},
})