Page 1 of 1

LuaSurface.find_entity talks about "type"

Posted: Sun Dec 10, 2023 10:39 pm
by Honktown
https://lua-api.factorio.com/1.1.100/cl ... ind_entity
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.
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.

Re: LuaSurface.find_entity talks about "type"

Posted: Mon Dec 11, 2023 3:49 pm
by Bilka
Thanks for noting this, fixed for the next version.