Page 1 of 1

Allow tile names in find_entities_filtered ghost_name filter

Posted: Thu May 21, 2026 7:31 am
by asher_sky
https://lua-api.factorio.com/latest/con ... lters.html

I think that the ghost_name field on EntitySearchFilters should accept tile-ghost names (TileID), not just entity-ghost names (EntityID).

I want to find all landfill ghosts nearby, but since landfill isn't an EntityID find_entities_filtered errors:

surface.find_entities_filtered {
area = area,
force = player_force,
type = "tile-ghost",
ghost_name = "landfill",
}

Re: Allow tile names in find_entities_filtered ghost_name filter

Posted: Fri May 22, 2026 2:50 am
by asher_sky
And/Or, add a ghost_name filter for find_tiles_filtered?