Code: Select all
/c game.player.surface.create_entity{
name = "item-on-ground",
stack = {name="iron-ore",count=50},
position = {1.5,1.5}
}
The stack count is lost and the item becomes just a single item. You can see this by mining the belt (you only get 1 iron ore), or by checking `get_transport_line(n).get_contents()`.
I realise that item-on-ground with a count > 1 is non-standard, but mining it normally works just fine - and inserter can grab items from the stack too - so it should interact with transport belts in some way that makes sense and doesn't result in loss of stuff.