/
data.lua
259 lines (242 loc) · 11.5 KB
/
data.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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
require("__stdlib__/stdlib/data/data").Util.create_data_globals()
local GIR = require("__pycoalprocessing__/prototypes/functions/functions")
require("prototypes/item-groups")
require("prototypes/recipe-categories")
require('prototypes/items/items')
-- (( Circuit Connector Definitions )) --
require('prototypes/circuit-connector-definitions')
-- ))
--(( RESOURCES ))--
require("prototypes.ores.oil-sand")
require("prototypes.ores.tar-patch")
require("prototypes.ores.oil-mk01")
require("prototypes.ores.oil-mk02")
require("prototypes.ores.oil-mk03")
require("prototypes.ores.oil-mk04")
require("prototypes.ores.sulfur-patch")
require("prototypes.ores.natural-gas")
require("prototypes.ores.bitumen-seep")
--(( Technology ))--
require("prototypes.technologies.technologies")
require("prototypes.technologies.oil-machines")
require("prototypes.technologies.tholins")
require("prototypes.technologies.light-oil")
require("prototypes.technologies.heavy-oil")
require("prototypes.technologies.petroleum-gas")
require("prototypes.technologies.coalbed")
require("prototypes.technologies.fracking")
require("prototypes.technologies.kerogen")
require("prototypes.technologies.guar")
require("prototypes.technologies.small-parts")
require("prototypes.technologies.drilling-fluid")
require("prototypes.technologies.hot-air")
require("prototypes.technologies.oil-distillation")
--require("prototypes/technologies/tar-processing")
require("prototypes/technologies/vanadium-processing")
--(( BUILDINGS ))--
require("prototypes.buildings.oil-sand-extractor-mk01")
require("prototypes.buildings.oil-sand-extractor-mk02")
require("prototypes.buildings.oil-sand-extractor-mk03")
require("prototypes.buildings.oil-sand-extractor-mk04")
require("prototypes.buildings.heavy-oil-refinery-mk01")
require("prototypes.buildings.heavy-oil-refinery-mk02")
require("prototypes.buildings.heavy-oil-refinery-mk03")
require("prototypes.buildings.heavy-oil-refinery-mk04")
require("prototypes.buildings.upgrader-mk01")
require("prototypes.buildings.upgrader-mk02")
require("prototypes.buildings.upgrader-mk03")
require("prototypes.buildings.upgrader-mk04")
require("prototypes.buildings.tanks-10000")
require("prototypes.buildings.tanks-9000")
require("prototypes.buildings.cracker-mk01")
require("prototypes.buildings.cracker-mk02")
require("prototypes.buildings.cracker-mk03")
require("prototypes.buildings.cracker-mk04")
require("prototypes.buildings.reformer-mk01")
require("prototypes.buildings.reformer-mk02")
require("prototypes.buildings.reformer-mk03")
require("prototypes.buildings.reformer-mk04")
require("prototypes.buildings.rhe")
require("prototypes.buildings.tholin-atm-mk01")
require("prototypes.buildings.tholin-atm-mk02")
require("prototypes.buildings.tholin-atm-mk03")
require("prototypes.buildings.tholin-atm-mk04")
require("prototypes.buildings.pumpjack-mk01")
require("prototypes.buildings.pumpjack-mk02")
require("prototypes.buildings.pumpjack-mk03")
require("prototypes.buildings.pumpjack-mk04")
require("prototypes.buildings.tholin-plant-mk01")
require("prototypes.buildings.tholin-plant-mk02")
require("prototypes.buildings.tholin-plant-mk03")
require("prototypes.buildings.tholin-plant-mk04")
require("prototypes.buildings.lor-mk01")
require("prototypes.buildings.lor-mk02")
require("prototypes.buildings.lor-mk03")
require("prototypes.buildings.lor-mk04")
require("prototypes.buildings.coalbed-mk01")
require("prototypes.buildings.coalbed-mk02")
require("prototypes.buildings.coalbed-mk03")
require("prototypes.buildings.coalbed-mk04")
require("prototypes.buildings.gas-refinery-mk01")
require("prototypes.buildings.gas-refinery-mk02")
require("prototypes.buildings.gas-refinery-mk03")
require("prototypes.buildings.gas-refinery-mk04")
require("prototypes.buildings.sulfur-mine")
require("prototypes.buildings.guar-gum-plantation")
require("prototypes.buildings.guar-gum-plantation-mk02")
require("prototypes.buildings.guar-gum-plantation-mk03")
require("prototypes.buildings.guar-gum-plantation-mk04")
require("prototypes.buildings.fracking-rig")
require("prototypes.buildings.retorter")
--seeps and extractors
require("prototypes.buildings.oil-derrick-mk01")
require("prototypes.buildings.oil-derrick-mk02")
require("prototypes.buildings.oil-derrick-mk03")
require("prototypes.buildings.oil-derrick-mk04")
require("prototypes.buildings.tar-extractor-mk01")
require("prototypes.buildings.tar-extractor-mk02")
require("prototypes.buildings.tar-extractor-mk03")
require("prototypes.buildings.tar-extractor-mk04")
require("prototypes.buildings.natural-gas-extractor-mk01")
require("prototypes.buildings.natural-gas-extractor-mk02")
require("prototypes.buildings.natural-gas-extractor-mk03")
require("prototypes.buildings.natural-gas-extractor-mk04")
require("prototypes.buildings.oil-boiler-mk01")
--((space buildings))--
--[[
require("prototypes.buildings.space-factory-mk01")
require("prototypes.buildings.antenna")
require("prototypes.buildings.pod")
require("prototypes.buildings.landing-pad")
]]--
--(( RECIPES ))--
require("prototypes.recipes.recipes")
require("prototypes.recipes.improved-recipes")
require("prototypes.recipes.oil-sand-recipes")
require("prototypes.recipes.pumpjack-recipes")
require("prototypes.recipes.tholin-recipes")
require("prototypes.recipes.coalbed-recipes")
require("prototypes.recipes.fracking-recipes")
require("prototypes/recipes/kerogen-recipes")
require("prototypes/recipes/distillate-high-recipes")
require("prototypes/recipes/distillate-medium-recipes")
require("prototypes/recipes/distillate-low-recipes")
require("prototypes/recipes/residual-oil-recipes")
require("prototypes/recipes/atmo-distill-recipes")
require("prototypes/recipes/syngas-recipes")
require("prototypes/recipes/coal-tar-recipes")
require("prototypes/recipes/tar-distillation-recipes")
require("prototypes/recipes/guar")
--(( FLUIDs ))--
require("prototypes.fluids.oil-sand-slurry")
require("prototypes.fluids.bitumen-froth")
require("prototypes.fluids.bitumen")
require("prototypes.fluids.scrude")
require("prototypes.fluids.fuel-oil")
require("prototypes.fluids.natural-gas")
require("prototypes.fluids.naphtha")
require("prototypes.fluids.polybutadiene")
require("prototypes.fluids.hot-air")
require("prototypes.fluids.styrene")
require("prototypes.fluids.btx")
require("prototypes.fluids.tholins")
require("prototypes.fluids.proto-tholins")
require("prototypes.fluids.processed-light-oil")
require("prototypes.fluids.hot-reaction-gas")
require("prototypes.fluids.coalbed-gas")
require("prototypes.fluids.ethylene-glycol")
require("prototypes.fluids.chloroethanol")
require("prototypes.fluids.ethylene-chlorohydrin")
require("prototypes.fluids.condensates")
require("prototypes.fluids.raw-gas")
require("prototypes.fluids.refined-natural-gas")
require("prototypes.fluids.purified-natural-gas")
require("prototypes.fluids.pure-natural-gas")
require("prototypes.fluids.residual-gas")
require("prototypes.fluids.drilling-fluid-0")
require("prototypes.fluids.drilling-fluid-1")
require("prototypes.fluids.drilling-fluid-2")
require("prototypes.fluids.drilling-fluid-3")
require("prototypes.fluids.dirty-syngas")
require("prototypes.fluids.hot-syngas")
require("prototypes.fluids.residual-oil")
require("prototypes.fluids.low-distillate")
require("prototypes.fluids.medium-distillate")
require("prototypes.fluids.high-distillate")
require("prototypes.fluids.stripped-distillate")
require("prototypes.fluids.condensed-distillate")
require("prototypes.fluids.residual-mixture")
require("prototypes.fluids.hot-residual-mixture")
--require("prototypes.fluids.drilling-waste")
require("prototypes/fluids/anthracene-oil")
require("prototypes/fluids/carbolic-oil")
require("prototypes/fluids/naphthalene-oil")
require("prototypes/fluids/pitch")
require("prototypes/fluids/middle-oil")
if mods['pyrawores'] then
require("prototypes.fluids.purified-syngas")
data.raw.fluid["purified-syngas"].fuel_value = "1MJ"
else
require("prototypes/fluids/hydrogen")
end
--(( TILES ))--
--require("prototypes.tiles.space-plate")
--require("prototypes.tiles.space-plate-test")
--require("prototypes.tiles.space")
--pyph fluids
data.raw.fluid["bitumen"].fuel_value = "1MJ"
data.raw.fluid["scrude"].fuel_value = "0.5MJ"
data.raw.fluid["fuel-oil"].fuel_value = "0.8MJ"
data.raw.fluid["natural-gas"].fuel_value = "90KJ"
data.raw.fluid["naphtha"].fuel_value = "0.6MJ"
data.raw.fluid["btx"].fuel_value = "1MJ"
data.raw.fluid["processed-light-oil"].fuel_value = "1MJ"
data.raw.fluid["coalbed-gas"].fuel_value = "0.2MJ"
data.raw.fluid["condensates"].fuel_value = "0.2MJ"
data.raw.fluid["raw-gas"].fuel_value = "0.2MJ"
data.raw.fluid["refined-natural-gas"].fuel_value = "0.3MJ"
data.raw.fluid["purified-natural-gas"].fuel_value = "0.4MJ"
data.raw.fluid["pure-natural-gas"].fuel_value = "0.5MJ"
data.raw.fluid["residual-gas"].fuel_value = "0.2MJ"
data.raw.fluid["dirty-syngas"].fuel_value = "0.2MJ"
data.raw.fluid["hot-syngas"].fuel_value = "1MJ"
data.raw.fluid["residual-oil"].fuel_value = "0.3MJ"
data.raw.fluid["low-distillate"].fuel_value = "0.4MJ"
data.raw.fluid["medium-distillate"].fuel_value = "0.4MJ"
data.raw.fluid["high-distillate"].fuel_value = "0.4MJ"
data.raw.fluid["stripped-distillate"].fuel_value = "0.4MJ"
data.raw.fluid["condensed-distillate"].fuel_value = "0.5MJ"
data.raw.fluid["residual-mixture"].fuel_value = "0.1MJ"
data.raw.fluid["hot-residual-mixture"].fuel_value = "0.1MJ"
data.raw.fluid["anthracene-oil"].fuel_value = "0.25MJ"
data.raw.fluid["carbolic-oil"].fuel_value = "0.35MJ"
data.raw.fluid["naphthalene-oil"].fuel_value = "0.3MJ"
data.raw.fluid["pitch"].fuel_value = "0.1MJ"
data.raw.fluid["middle-oil"].fuel_value = "0.2MJ"
if mods["pyrawores"] then
require("prototypes.fluids.pressured-hydrogen")
require("prototypes.recipes.hot-stone-brick-recipes")
else
data.raw.fluid["hydrogen"].fuel_value = "20KJ"
end
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'syngas', damage_modifier = 1.2})
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'refsyngas', damage_modifier = 1.2})
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'methanol', damage_modifier = 1.2})
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'combustion-mixture1', damage_modifier = 1.2})
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'oleochemicals', damage_modifier = 1.2})
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'olefin', damage_modifier = 2})
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'btx', damage_modifier = 1.2})
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'scrude', damage_modifier = 1.2})
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'natural-gas', damage_modifier = 1.2})
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'fuel-oil', damage_modifier = 1.2})
--pyht
if mods['pyhightech'] then
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'methane', damage_modifier = 1.2})
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'benzene', damage_modifier = 1.2})
end
--pyal
if mods['pyalienlife'] then
table.insert(data.raw['fluid-turret']['flamethrower-turret'].attack_parameters.fluids, {type = 'ethanol', damage_modifier = 1.2})
end
--(( OTHERS ))--
-- GIR.global_item_replacer("iron-gear-wheel","small-parts-01",{"iron-gear-wheel","small-parts-01","casting-gear"})