-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
data-updates.lua
49 lines (42 loc) · 1.57 KB
/
data-updates.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
local constants = require("libs/Constants")
-- data.raw.fluid["alien-goo"].emissions_multiplier = 3
-- data.raw.fluid["alien-goo"].fuel_value = "2.5MJ"
-- data.raw["assembling-machine"]["centrifuge"].fluid_boxes =
-- {
-- {
-- production_type = "input",
-- pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = -1,
-- pipe_connections = {{ type="input", position = {-1, -2} }}
-- },
-- {
-- production_type = "input",
-- pipe_covers = pipecoverspictures(),
-- base_area = 10,
-- base_level = -1,
-- pipe_connections = {{ type="input", position = {1, -2} }}
-- },
-- {
-- production_type = "output",
-- pipe_covers = pipecoverspictures(),
-- base_level = 2,
-- pipe_connections = {{ position = {-1, 2} }}
-- },
-- {
-- production_type = "output",
-- pipe_covers = pipecoverspictures(),
-- base_level = 2,
-- pipe_connections = {{ position = {1, 2} }}
-- }
-- }
if mods["hardened_pipes"] then
local entity = data.raw["pipe"]["PCHP-hardened-pipe"]
entity.resistances[#entity.resistances+1] = {type="laser",percent=80}
entity.resistances[#entity.resistances+1] = {type="electric",percent=80}
entity.resistances[#entity.resistances+1] = {type="poison",percent=80}
entity = data.raw["pipe-to-ground"]["PCHP-hardened-pipe-to-ground"]
entity.resistances[#entity.resistances+1] = {type="laser",percent=80}
entity.resistances[#entity.resistances+1] = {type="electric",percent=80}
entity.resistances[#entity.resistances+1] = {type="poison",percent=80}
end