the entity prototype concerned by the bug :
Code: Select all
{
type = "decorative",
name = "air-vent",
flags = {"placeable-neutral", "not-on-map"},
collision_mask = { "item-layer", "object-layer", "player-layer", "water-tile"},
icon = "__Subsurface__/graphics/icons/air_vent_11_icon.png",
minable = {mining_time = 1, result = "air-vent"},
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
collision_box = {{-0.4, -0.4}, {0.4, 0.4}},
render_layer = "decorative",
max_health = 350,
order = "z",
pictures =
{
{
filename = "__Subsurface__/graphics/entities/air_vent_11.png",
width = 64,
height = 64,
}
},
},
(player does not walk through the entity and does not crash the game)