Code: Select all
/c game.create_surface("test").spill_item_stack({0,0}, {name="iron-plate", count=1})
Code: Select all
/c game.surfaces[1].spill_item_stack({500000,500000},{name="iron-plate",count=1})
Expected behavior: any of 1) Lua error, 2) graceful failure and not creating the item-on-ground, or 3) give up on the search after a reasonable amount of time and create the item-on-ground at the specified position, since it appears to be okay to do so via create_entity.