-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompatibility.lua
More file actions
27 lines (23 loc) · 908 Bytes
/
compatibility.lua
File metadata and controls
27 lines (23 loc) · 908 Bytes
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
local cmu = require("collision-mask-util")
-- IndustrialRevolution3
-- do
-- local distance = 1.2 - 1/256
-- local vaporiser = data.raw["furnace"]["steel-vaporiser"]
-- if vaporiser then
-- vaporiser.fluid_boxes[1].pipe_connections[1].position[1] = -distance
-- vaporiser.fluid_boxes[2].pipe_connections[1].position[1] = distance
-- end
-- local cleaner = data.raw["assembling-machine"]["steel-cleaner"]
-- if cleaner then
-- cleaner.fluid_boxes[1].pipe_connections[1].position[2] = -distance
-- cleaner.fluid_boxes[2].pipe_connections[1].position[2] = distance
-- end
-- end
-- RealisticReactors
do
local prototype = data.raw["constant-combinator"]["realistic-reactor-interface"]
if prototype then
prototype.collision_mask = cmu.get_mask(prototype)
cmu.remove_layer(prototype.collision_mask, "player-layer")
end
end