--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/show-buildable/data-final-fixes.lua Sat Jul 05 00:35:41 2025 +0300 @@ -0,0 +1,16 @@ +require"sb-util" + +-- in case something changes conditions or collision masks in the meantime +for _, entity_type in pairs (entity_categories) +do + for _, base_entity in pairs (data.raw[entity_type] or {}) + do + local ct = data.raw["assembling-machine"]["collision-tester-"..base_entity.name] + if ct + then + ct.collision_mask = table.deepcopy(base_entity.collision_mask) + ct.collision_box = table.deepcopy(base_entity.collision_box) + ct.surface_conditions = table.deepcopy(base_entity.surface_conditions) + end + end +end \ No newline at end of file