according to the api-doc map_gen_settings.height and width is writable but the value is not saved and so not returned:
Code: Select all
/c game.player.surface.map_gen_settings.width=42
/c game.player.print(game.player.surface.map_gen_settings.width)
Cu, steinio.