LuaSurface.find_entity talks about "type"
Posted: Sun Dec 10, 2023 10:39 pm
https://lua-api.factorio.com/1.1.100/cl ... ind_entity
It should say name, as that is by what it searches. It leans towards name later in the description (a type doesn't have a bounding-box e.g.), and uses a name in the example, but it doesn't explicitly use "name" anywhere.Find an entity of the given type at the given position.
...
Find an entity of the given type at the given position. This checks both the exact position and the bounding box of the entity.