Added this code after line 184 in data-updates.lua:
-- adjust items with no subgroup into the "other" subgroup
if not skip then
item_proto.subgroup = item_proto.subgroup or "other"
end
-- Normalize icon fields so SE's icon-stacking helpers see an explicit icon_size
-- instead of guessing wrong. IMPORTANT: Factorio's own default icon_size is 64 —
-- only fill in 64 when nothing is declared, so we don't change how any
-- correctly-64px item actually renders.
if not skip then
if not item_proto.icon_size then
item_proto.icon_size = 64
end
if item_proto.icon and not item_proto.icons then
item_proto.icons = {
{
icon = item_proto.icon,
icon_size = item_proto.icon_size,
}
}
end
end
The mod now loads all recipes correctly.
This fixes 2 bugs, The break on load, and an icon bug where some icon sizes were incorrectly defined.
Patch made with claude, for a claude made mod.