when using the toggle visibility of tall entities, the belt-ramp became unselectable which is expected, but doesn't get translucent.
It's expected that an entity which is tall would get translucent
Code: Select all
data:extend {
{
type = "linked-belt",
name = "belt-ramp",
tall = true,
icons = { { icon = "__elevated-logistics__/graphics/icons/belt-elevator.png", icon_size = 64 } },
flags = { "placeable-neutral", "player-creation" },
minable = { mining_time = 0.1, result = "belt-ramp" },
max_health = 100,
corpse = "small-remnants",
collision_box = { { -0.4, -0.4 }, { 0.4, 0.4 } },
collision_mask = collision_mask,
selection_box = { { -0.5, -0.5 }, { 0.5, 0.5 } },
water_reflection = build_water_reflection({ "0013", "0014", "0015", "0016" }),
structure = {
direction_in = {
north = build_layers("0013", color, {0,-0.5}),
east = build_layers("0014", color, {0.5, 0}),
south = build_layers("0015", color, {0, 0.5}),
west = build_layers("0016", color, {-0.5,0})
},
direction_out = {
north = build_layers("0017", color, {0,-0.5}),
east = build_layers("0018", color, {0.5, 0}),
south = build_layers("0019", color, {0, 0.5}),
west = build_layers("0020", color, {-0.5,0})
}
},
belt_animation_set = base_belt.belt_animation_set,
animation_speed_coefficient = base_belt.animation_speed_coefficient,
speed = base_belt.speed
}
}
