[2.0.72] Radius method of find_asteroid_chunks_filtered fails to find
Posted: Mon Dec 22, 2025 9:02 pm
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})
/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})