Add chunk.area to the chunk
Posted: Fri Aug 02, 2019 7:51 am
Hi devs!
Link: https://lua-api.factorio.com/latest/Lua ... rator.html
Can you please add chunk.area for chunks? The direct area call is really helpful:
Where the area is a BoundingBox https://lua-api.factorio.com/latest/Con ... oundingBox
Link: https://lua-api.factorio.com/latest/Lua ... rator.html
Can you please add chunk.area for chunks? The direct area call is really helpful:
Code: Select all
for chunk in some_surface.get_chunks() do
game.print("area: " .. serpent.line (chunk.area))
end