Code: Select all
local prototype = data.raw["assembling-machine"]["assembling-machine-1"]
prototype.tile_buildability_rules = prototype.tile_buildability_rules or {}
table.insert(prototype.tile_buildability_rules, {
area = prototype.collision_box,
colliding_tiles = {layers = {lava_tile = true}},
})
observed behavior: the assembling machine cannot be placed anywhere anymore.
When you comment out the colliding_tiles part you get the "At least one of 'required_tiles' or 'colliding_tiles' must be set." message which suggests that you can use colliding_tiles without required_tiles, so i believe this is a bug.