Code: Select all
data:extend{{
type = 'beacon',
name = 'beacon2',
selection_priority = 80,
selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
collision_box = {{-0.4, -0.4}, {0.4, 0.4}},
collision_mask = {layers = {}},
supply_area_distance = 0,
module_slots = 1,
allowed_effects = {'productivity'},
distribution_effectivity = 1,
energy_source = { type = 'void' },
energy_usage = '1W',
radius_visualisation_picture = {
filename = '__base__/graphics/entity/beacon/beacon-radius-visualization.png',
priority = 'extra-high-no-scale',
width = 10,
height = 10
},
}}
When supply_area_distance is 1, the visualisation (yellow rectangle) looks correctly. When supply_area_distance is 0, the visualisation is not visible Yet the actual area of effect transmission is the same size as the collision box, and machines are affected by the beacon correctly