Make platform.destroy_asteroid_chunks() return how many chunks are destroyed

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
RockPaperKatana
Inserter
Inserter
Posts: 24
Joined: Thu Dec 23, 2021 4:59 am
Contact:

Make platform.destroy_asteroid_chunks() return how many chunks are destroyed

Post by RockPaperKatana »

Currently the only way to access this information is by calling find_asteroid_chunks_filtered() and count the table size before calling destroy_asteroid_chunks(), which is not performance-friendly.
protocol_1903
Fast Inserter
Fast Inserter
Posts: 189
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: Make platform.destroy_asteroid_chunks() return how many chunks are destroyed

Post by protocol_1903 »

+1
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
Post Reply

Return to “Modding interface requests”