Oh, there was a mistake, I somehow didn’t check everything right away, because... installed several mods at the same time :(
Yes, I found a mod that changes the names of stations (including), thanks for the tip.
https://mods.factorio.com/mod/Circuit_Repeater
The code looks like this:
local built_filters = {
{filter = "name", name = "mini-radar"},
{filter = "ghost", ghost_name = "mini-radar"}
}
local function OnEntityCreated(event)
local entity = event.entity or event.destination
local tower_id = string.format("%.2f%.2f", entity.position.x, entity.position.y)
local count = 0
for _ in tower_id:gmatch("%-") do
count = count + 1
end
local result = tower_id:gsub("%-", "")
result = result:gsub("%..", "")
entity.backer_name = "ID: " .. count .. result
end
script.on_event(defines.events.on_built_entity, OnEntityCreated, built_filters)
script.on_event(defines.events.on_robot_built_entity, OnEntityCreated, built_filters)
script.on_event(defines.events.script_raised_built, OnEntityCreated, built_filters)
script.on_event(defines.events.on_entity_cloned, OnEntityCreated, built_filters)
script.on_event(defines.events.script_raised_revive, OnEntityCreated, built_filters)
script.on_event(defines.events.on_space_platform_built_entity, OnEntityCreated, built_filters)
I'm not good at this, and I wrote to the author of the mod, but I don't know when he will fix it.
P.S. Let me remind you that we are waiting for a video with instructions :))))