Quoting yourself:
Perusing your code 'cause I'm nosy, saw an issue:
I noticed on autoplace menu some icons are off (sulfur) and angels infinite ores show the dear auld icons, so....
In entity.ores.ores-updates.lua
--[[
local ores = {
-- Pure Bob's
"ground-water",
"lithia-water",
"lead-ore",
"rutile-ore",
"sulfur",
"thorium-ore",
"tin-ore",
"bauxite-ore",
"cobalt-ore",
"gold-ore",
"nickel-ore",
"quartz",
"silver-ore",
"tungsten-ore",
"zinc-ore",
}
for _, name in pairs(ores) do
-- Check for autoplace controls, skip if it does not exist
local control = data.raw["autoplace-control"][name]
local control_infinite = data.raw["autoplace-control"]["infinite-" .. name]
if not control then goto continue end
if not control_infinite then goto continue end
-- Setup rich text localized name
control.localised_name = {"", "[item=".. name .."] ", {"entity-name.".. name}}
if mods ["angelsinfiniteores"] then
control_infinite.localised_name = {"", "[item=".. name .."] ", {"entity-name.".. "infinite-" .. name}}
end
-- Label to skip to next iteration
::continue::
end
--]]
Changing the source image for rich text from entity to item fixes the issue.
BTW these few lines of code helped me a lot in understanding how for loops work, thanks man