Putting the player on a small moving space platform and running the following three commands will return values X, X and 0 respectively. The third command fails to count the number of chunks.
/c game.print(#game.player.surface.platform.find_asteroid_chunks_filtered{})
/c game.print(#game.player.surface.platform.find_asteroid_chunks_filtered{area={{-1000,-1000},{1000,1000}}})
/c game.print(#game.player.surface.platform.find_asteroid_chunks_filtered{position = game.player.position, radius = 5000})
[2.0.72] Radius method of find_asteroid_chunks_filtered fails to find
-
thesixthroc
- Fast Inserter

- Posts: 135
- Joined: Wed Apr 29, 2020 9:53 pm
- Contact:
Re: [2.0.72] Radius method of find_asteroid_chunks_filtered fails to find
Indeed, the method doesn't support that argument: https://lua-api.factorio.com/latest/cla ... s_filtered
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
