once 2.x drops do not expect new 1.x mods from me, mods will be slowly ported based on my needs and/or requests from the community, thx for playing!
The most obvious way of tracking chunks per surface is inaccurate, this mod does the heavy lifting.
note: due to the lack of an on_chunk_created
event the count can lag behind table_size(surface.get_chunks())
.
/c game.print(serpent.block( remote.call("chunk-count", "get", {surface_index = game.player.surface.index}) ))
/c game.print(serpent.block( remote.call("chunk-count", "get") ))
Debugged and developed on the factorio discord with the help of: (in order of reacting)
- justarandomgeek
- JanSharp
- _CodeGreen