[2.0.58] Beacon radius visualisation displays incorrectly when supply_area_distance is 0
Posted: Sun Jul 06, 2025 10:12 pm
I have a a mod with a beacon defined like this:
Beacon supply radius is defined as distance from collision box
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
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