Code: Select all
/c for _ = 1,100 do game.player.surface.spill_item_stack(game.player.position, {name="empty-barrel", count = 1}, false, nil, false) end
Top picture is with lower height and width spilling items as expected. Bottom picture shows the same command run on a surface with the larger height and width settings with 92 barrels stacked in the center. Save file is also attached with surfaces created with different map_gen_settings. Nauvis, Nostos, Eostre, Fornax, Geras all work as expected. The other surfaces do not.