forked from jpanther/dectorio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
203 lines (188 loc) · 14.5 KB
/
config.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
-- Dectorio configuration
local DECT = {}
DECT.CONFIG = {}
-- CONFIGURABLE OPTIONS
-- ---------------------------------
-- These options can be changed to suit individual play-style
-- If playing multiplayer, ensure the same config.lua is used on each player's system
-- ---------------------------------
DECT.CONFIG.SIGNALS = {
-- All the signal colors to be changed/added
-- RGBA values from 0 to 1, alpha is optional
-- The order of the virtual signals is the order they will appear in-game
-- NOTE: New virtual signals will need localised names to be provided in '/locale/[language]/dectorio.cfg'
-- Color names are from Name That Color (http://chir.ag/projects/name-that-color/)
{type="virtual", name="signal-red", color={r=1.00,g=0.16,b=0.10,a=1.00}}, -- Scarlet
{type="virtual", name="signal-orange", color={r=0.99,g=0.44,b=0.22,a=1.00}}, -- Orange
{type="virtual", name="signal-tangerine", color={r=1.00,g=0.58,b=0.14,a=1.00}}, -- Tree Poppy
{type="virtual", name="signal-yellow", color={r=1.00,g=0.96,b=0.27,a=1.00}}, -- Lemon Yellow
{type="virtual", name="signal-green", color={r=0.00,g=0.95,b=0.17,a=1.00}}, -- Free Speech Green
{type="virtual", name="signal-cyan", color={r=0.01,g=0.98,b=1.00,a=1.00}}, -- Aqua
{type="virtual", name="signal-aqua", color={r=0.05,g=0.67,b=0.99,a=1.00}}, -- Spiro Disco Ball
{type="virtual", name="signal-blue", color={r=0.07,g=0.35,b=0.98,a=1.00}}, -- Crayon Blue
{type="virtual", name="signal-purple", color={r=0.65,g=0.38,b=0.99,a=1.00}}, -- Lavender Indigo
{type="virtual", name="signal-pink", color={r=1.00,g=0.42,b=0.99,a=1.00}}, -- Ultra Pink
{type="virtual", name="signal-maroon", color={r=0.50,g=0.00,b=0.00,a=1.00}}, -- Burnt Umber
{type="virtual", name="signal-brown", color={r=0.60,g=0.39,b=0.14,a=1.00}}, -- Cape Palliser
{type="virtual", name="signal-olive", color={r=0.50,g=0.50,b=0.01,a=1.00}}, -- Trendy Green
{type="virtual", name="signal-emerald", color={r=0.17,g=0.54,b=0.25,a=1.00}}, -- Goblin
{type="virtual", name="signal-teal", color={r=0.28,g=0.60,b=0.56,a=1.00}}, -- Breaker Bay
{type="virtual", name="signal-navy", color={r=0.00,g=0.00,b=0.50,a=1.00}}, -- Jacksons Purple
{type="virtual", name="signal-violet", color={r=0.56,g=0.12,b=0.70,a=1.00}}, -- Vivid Violet
{type="virtual", name="signal-black", color={r=0.22,g=0.13,b=0.56,a=1.00}}, -- Blue Gem
{type="virtual", name="signal-grey", color={r=0.80,g=0.80,b=0.80,a=1.00}}, -- Iron
{type="virtual", name="signal-white", color={r=1.00,g=1.00,b=1.00,a=1.00}}, -- White
{type="item", name="wood", color={r=0.57,g=0.36,b=0.12,a=0.86}}, -- Afghan Tan
{type="item", name="coal", color={r=0.17,g=0.17,b=0.17,a=0.86}}, -- Bunker
{type="item", name="stone", color={r=0.64,g=0.50,b=0.30,a=0.86}}, -- Muesli
{type="item", name="iron-ore", color={r=0.24,g=0.80,b=0.99,a=0.86}}, -- Picton Blue
{type="item", name="iron-plate", color={r=0.63,g=0.64,b=0.64,a=0.86}}, -- Grey Chateau
{type="item", name="steel-plate", color={r=0.80,g=0.80,b=0.80,a=0.86}}, -- Iron
{type="item", name="copper-ore", color={r=0.91,g=0.58,b=0.13,a=0.86}}, -- Carrot Orange
{type="item", name="copper-plate", color={r=0.92,g=0.59,b=0.46,a=0.86}}, -- Dark Salmon
{type="item", name="uranium-ore", color={r=0.69,g=0.96,b=0.18,a=0.86}}, -- Green Yellow
{type="item", name="automation-science-pack", color={r=0.71,g=0.05,b=0.09,a=1.00}}, -- Cornell Red
{type="item", name="logistic-science-pack", color={r=0.18,g=0.60,b=0.11,a=1.00}}, -- Forest Green
{type="item", name="chemical-science-pack", color={r=0.15,g=0.65,b=0.75,a=1.00}}, -- Blue Green
{type="item", name="military-science-pack", color={r=0.23,g=0.27,b=0.31,a=1.00}}, -- Limed Spruce
{type="item", name="production-science-pack", color={r=0.58,g=0.11,b=0.76,a=1.00}}, -- Dark Orchid
{type="item", name="utility-science-pack", color={r=0.81,g=0.69,b=0.08,a=1.00}}, -- Galliano
{type="item", name="space-science-pack", color={r=0.96,g=0.96,b=0.96,a=1.00}}, -- White Smoke
{type="item", name="transport-belt", color={r=0.90,g=0.75,b=0.10,a=0.92}}, -- Sunflower
{type="item", name="underground-belt", color={r=0.90,g=0.75,b=0.10,a=0.92}}, -- Sunflower
{type="item", name="splitter", color={r=0.90,g=0.75,b=0.10,a=0.92}}, -- Sunflower
{type="item", name="fast-transport-belt", color={r=0.84,g=0.08,b=0.02,a=0.92}}, -- Rosso Corsa
{type="item", name="fast-underground-belt", color={r=0.84,g=0.08,b=0.02,a=0.92}}, -- Rosso Corsa
{type="item", name="fast-splitter", color={r=0.84,g=0.08,b=0.02,a=0.92}}, -- Rosso Corsa
{type="item", name="express-transport-belt", color={r=0.02,g=0.60,b=0.83,a=0.92}}, -- Rich Electric Blue
{type="item", name="express-underground-belt", color={r=0.02,g=0.60,b=0.83,a=0.92}},-- Rich Electric Blue
{type="item", name="express-splitter", color={r=0.02,g=0.60,b=0.83,a=0.92}}, -- Rich Electric Blue
{type="item", name="electronic-circuit", color={r=0.18,g=0.60,b=0.00,a=0.92}}, -- Napier Green
{type="item", name="advanced-circuit", color={r=0.72,g=0.00,b=0.00,a=0.92}}, -- Guardsman Red
{type="item", name="processing-unit", color={r=0.27,g=0.26,b=1.00,a=0.92}}, -- Neon Blue
{type="item", name="burner-inserter", color={r=0.38,g=0.31,b=0.26,a=0.92}}, -- Saddle
{type="item", name="inserter", color={r=0.78,g=0.51,b=0.20,a=0.92}}, -- Golden Bell
{type="item", name="long-handed-inserter", color={r=0.76,g=0.20,b=0.13,a=0.92}}, -- Dark Pastel Red
{type="item", name="fast-inserter", color={r=0.27,g=0.45,b=0.58,a=0.92}}, -- Jelly Bean
{type="item", name="filter-inserter", color={r=0.45,g=0.27,b=0.54,a=0.92}}, -- Affair
{type="item", name="stack-inserter", color={r=0.56,g=0.63,b=0.16,a=0.92}}, -- Citron
{type="item", name="stack-filter-inserter", color={r=0.70,g=0.70,b=0.69,a=0.92}}, -- Magnesium
{type="fluid", name="water", color={r=0.00,g=0.43,b=0.75,a=0.68}}, -- French Blue
{type="fluid", name="crude-oil", color={r=0.10,g=0.10,b=0.10,a=0.68}}, -- Rangoon Green
{type="fluid", name="heavy-oil", color={r=0.63,g=0.05,b=0.00,a=0.68}}, -- Dark Candy Apple Red
{type="fluid", name="light-oil", color={r=0.71,g=0.42,b=0.00,a=0.68}}, -- Ginger
{type="fluid", name="petroleum-gas", color={r=0.38,g=0.13,b=0.38,a=0.68}}, -- Palatinate Purple
{type="fluid", name="sulfuric-acid", color={r=0.94,g=0.82,b=0.13,a=0.68}}, -- Broom
{type="fluid", name="lubricant", color={r=0.00,g=0.75,b=0.30,a=0.68}}, -- Dark Pastel Green
{type="fluid", name="steam", color={r=0.92,g=0.92,b=0.92,a=0.68}}, -- Gallery
}
-- ---------------------------------
-- STOP HERE! DO NOT CHANGE BELOW THIS LINE!
-- ---------------------------------
-- INTERNAL CONFIGURATION
-- ---------------------------------
-- In-game configurable settings
DECT.ENABLED = {
["signals"] = settings.startup["dectorio-signals"].value,
["walls"] = settings.startup["dectorio-walls"].value,
["landscaping"] = settings.startup["dectorio-landscaping"].value,
["waterfill"] = settings.startup["dectorio-waterfill"].value,
["wood-floor"] = settings.startup["dectorio-flooring"].value,
["concrete"] = settings.startup["dectorio-flooring"].value,
["gravel"] = settings.startup["dectorio-gravel"].value,
["painted-concrete"] = settings.startup["dectorio-painted-concrete"].value,
["signs"] = settings.startup["dectorio-signs"].value,
["decoratives"] = settings.startup["dectorio-decoratives"].value,
["item-group"] = settings.startup["dectorio-item-group"].value,
}
-- The subgroups for all items in the mod
DECT.ITEM_GROUP = DECT.ENABLED["item-group"] and "dectorio" or "logistics"
DECT.CONFIG.SETTINGS = {
["decorative_removal_probability"] = settings.startup["dectorio-decorative-removal-probability"].value,
["vanilla_hazard_concrete"] = settings.startup["dectorio-vanilla-hazard-concrete-style"].value,
["landscaping_blueprintable"] = settings.startup["dectorio-landscaping-blueprintable"].value,
["flooring_stack_size"] = settings.startup["dectorio-flooring-stack-size"].value,
["landscaping_stack_size"] = settings.startup["dectorio-landscaping-stack-size"].value,
["walls_stack_size"] = settings.startup["dectorio-walls-stack-size"].value,
}
DECT.CONFIG.PAINT_VARIANTS = {
{name="danger", color={r=0.81,g=0.31,b=0.31}},
{name="emergency", color={r=0.86,g=0.36,b=0.38}},
{name="caution", color={r=0.85,g=0.56,b=0.26}},
{name="radiation", color={r=0.86,g=0.56,b=0.78}},
{name="defect", color={r=0.47,g=0.50,b=1.00}},
{name="operations", color={r=0.37,g=0.37,b=0.37}},
{name="safety", color={r=0.61,g=0.77,b=0.40}},
}
DECT.CONFIG.GRAVEL_VARIANTS = {
{name="stone", color={r=0.57,g=0.57,b=0.57}},
{name="iron-ore", color={r=0.45,g=0.54,b=0.64}},
{name="copper-ore", color={r=0.64,g=0.46,b=0.45}},
{name="coal", color={r=0.33,g=0.33,b=0.33}},
}
DECT.CONFIG.SIGN_CATEGORIES = {"item", "fluid", "tool", "ammo", "armor", "capsule", "gun", "mining-tool", "module"}
DECT.CONFIG.SIGN_BLACKLIST = {"barrel", "loader", "simple%-entity", "player%-port", "computer", "coin", "small%-plane", "railgun", "vehicle%-machine%-gun", "tank%-machine%-gun", "factory%-1%-", "factory%-2%-", "factory%-3%-", "signpost", "dect%-signal%-", "infinity%-chest"}
DECT.CONFIG.BASE_TILES = {"dry-dirt", "dirt-1", "dirt-2", "dirt-3", "dirt-4", "dirt-5", "dirt-6", "dirt-7", "sand-1", "sand-2", "sand-3", "grass-1", "grass-2", "grass-3", "grass-4", "red-desert-0", "red-desert-1", "red-desert-2", "red-desert-3"}
DECT.CONFIG.BASE_WATER_TILES = {"water", "deepwater", "water-green", "deepwater-green"}
DECT.CONFIG.BASE_TREES = {"tree-01", "tree-02", "tree-03", "tree-04", "tree-05", "tree-06", "tree-07", "tree-08", "tree-09", "dead-dry-hairy-tree", "dead-grey-trunk", "dead-tree-desert", "dry-hairy-tree", "dry-tree"}
DECT.CONFIG.BASE_ROCKS = {"rock-huge", "rock-big", "sand-rock-big"}
DECT.CONFIG.ALIEN_BIOMES = {
"mineral-purple-dirt-1", "mineral-purple-dirt-2", "mineral-purple-dirt-3", "mineral-purple-dirt-4", "mineral-purple-dirt-5", "mineral-purple-dirt-6", "mineral-purple-sand-1", "mineral-purple-sand-2", "mineral-purple-sand-3",
"mineral-violet-dirt-1", "mineral-violet-dirt-2", "mineral-violet-dirt-3", "mineral-violet-dirt-4", "mineral-violet-dirt-5", "mineral-violet-dirt-6", "mineral-violet-sand-1", "mineral-violet-sand-2", "mineral-violet-sand-3",
"mineral-red-dirt-1", "mineral-red-dirt-2", "mineral-red-dirt-3", "mineral-red-dirt-4", "mineral-red-dirt-5", "mineral-red-dirt-6", "mineral-red-sand-1", "mineral-red-sand-2", "mineral-red-sand-3",
"mineral-brown-dirt-1", "mineral-brown-dirt-2", "mineral-brown-dirt-3", "mineral-brown-dirt-4", "mineral-brown-dirt-5", "mineral-brown-dirt-6", "mineral-brown-sand-1", "mineral-brown-sand-2", "mineral-brown-sand-3",
"mineral-tan-dirt-1", "mineral-tan-dirt-2", "mineral-tan-dirt-3", "mineral-tan-dirt-4", "mineral-tan-dirt-5", "mineral-tan-dirt-6", "mineral-tan-sand-1", "mineral-tan-sand-2", "mineral-tan-sand-3",
"mineral-aubergine-dirt-1", "mineral-aubergine-dirt-2", "mineral-aubergine-dirt-3", "mineral-aubergine-dirt-4", "mineral-aubergine-dirt-5", "mineral-aubergine-dirt-6", "mineral-aubergine-sand-1", "mineral-aubergine-sand-2", "mineral-aubergine-sand-3",
"mineral-dustyrose-dirt-1", "mineral-dustyrose-dirt-2", "mineral-dustyrose-dirt-3", "mineral-dustyrose-dirt-4", "mineral-dustyrose-dirt-5", "mineral-dustyrose-dirt-6", "mineral-dustyrose-sand-1", "mineral-dustyrose-sand-2", "mineral-dustyrose-sand-3",
"mineral-beige-dirt-1", "mineral-beige-dirt-2", "mineral-beige-dirt-3", "mineral-beige-dirt-4", "mineral-beige-dirt-5", "mineral-beige-dirt-6", "mineral-beige-sand-1", "mineral-beige-sand-2", "mineral-beige-sand-3",
"mineral-cream-dirt-1", "mineral-cream-dirt-2", "mineral-cream-dirt-3", "mineral-cream-dirt-4", "mineral-cream-dirt-5", "mineral-cream-dirt-6", "mineral-cream-sand-1", "mineral-cream-sand-2", "mineral-cream-sand-3",
"mineral-black-dirt-1", "mineral-black-dirt-2", "mineral-black-dirt-3", "mineral-black-dirt-4", "mineral-black-dirt-5", "mineral-black-dirt-6", "mineral-black-sand-1", "mineral-black-sand-2", "mineral-black-sand-3",
"mineral-grey-dirt-1", "mineral-grey-dirt-2", "mineral-grey-dirt-3", "mineral-grey-dirt-4", "mineral-grey-dirt-5", "mineral-grey-dirt-6", "mineral-grey-sand-1", "mineral-grey-sand-2", "mineral-grey-sand-3",
"mineral-white-dirt-1", "mineral-white-dirt-2", "mineral-white-dirt-3", "mineral-white-dirt-4", "mineral-white-dirt-5", "mineral-white-dirt-6", "mineral-white-sand-1", "mineral-white-sand-2", "mineral-white-sand-3",
"vegetation-turquoise-grass-1", "vegetation-turquoise-grass-2", "vegetation-turquoise-grass-3", "vegetation-turquoise-grass-4",
"vegetation-green-grass-1", "vegetation-green-grass-2", "vegetation-green-grass-3", "vegetation-green-grass-4",
"vegetation-olive-grass-1", "vegetation-olive-grass-2",
"vegetation-yellow-grass-1", "vegetation-yellow-grass-2",
"vegetation-orange-grass-1", "vegetation-orange-grass-2",
"vegetation-red-grass-1", "vegetation-red-grass-2",
"vegetation-violet-grass-1", "vegetation-violet-grass-2",
"vegetation-purple-grass-1", "vegetation-purple-grass-2",
"vegetation-mauve-grass-1", "vegetation-mauve-grass-2",
"vegetation-blue-grass-1", "vegetation-blue-grass-2",
"volcanic-orange-heat-1", "volcanic-orange-heat-2", "volcanic-orange-heat-3", "volcanic-orange-heat-4",
"volcanic-green-heat-1", "volcanic-green-heat-2", "volcanic-green-heat-3", "volcanic-green-heat-4",
"volcanic-blue-heat-1", "volcanic-blue-heat-2", "volcanic-blue-heat-3", "volcanic-blue-heat-4",
"volcanic-purple-heat-1", "volcanic-purple-heat-2", "volcanic-purple-heat-3", "volcanic-purple-heat-4",
"frozen-snow-0", "frozen-snow-1", "frozen-snow-2", "frozen-snow-3", "frozen-snow-4", "frozen-snow-5", "frozen-snow-6", "frozen-snow-7", "frozen-snow-8", "frozen-snow-9"
}
DECT.INCOMPATIBLE = {}
DECT.INCOMPATIBLE.MODS = {
["Expanded_Color_Lamps"] = {
name = "Expanded_Color_Lamps",
component = "signals",
reason = "signals"
},
["Updated_Expanded_Color_Lamps"] = {
name = "Updated_Expanded_Color_Lamps",
component = "signals",
reason = "signals"
},
["Reinforced-Walls-016"] = {
name = "Reinforced-Walls",
component = "walls",
reason = "tech"
},
["concrete-and-stone-016"] = {
name = "concrete-and-stone",
component = "walls",
reason = "tech"
},
["PickerTweaks"] = {
name = "PickerTweaks",
component = "signals",
reason = "item",
setting = {type="startup", name="picker-better-lamp-colors", value=true}
},
}
DECT.DEBUG = false
return DECT