Allow tile names in find_entities_filtered ghost_name filter
Posted: Thu May 21, 2026 7:31 am
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",
}
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",
}