Does the "area" on find_entities_filtered have to be a square or can I make it a circle?
I currently have:
Code: Select all
items = collector.surface.find_entities_filtered({area = {{x = collector.position.x - artifactCollectorRadius, y = collector.position.y - artifactCollectorRadius}, {x = collector.position.x + artifactCollectorRadius, y = collector.position.y + artifactCollectorRadius}}, name = "item-on-ground"})
Is that possible?
Thanks.