Page 1 of 1

[2.0.72] Radius method of find_asteroid_chunks_filtered fails to find

Posted: Mon Dec 22, 2025 9:02 pm
by thesixthroc
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})

Re: [2.0.72] Radius method of find_asteroid_chunks_filtered fails to find

Posted: Mon Dec 22, 2025 9:17 pm
by Bilka
Indeed, the method doesn't support that argument: https://lua-api.factorio.com/latest/cla ... s_filtered