This work: game.player.print(game.player.selected.getitemcount())
but this doesn't: game.player.selected.removeitem({name="iron-gear-wheel",count=2}) when I print result I get 0 -> it mean no item removed
My cursor is above assembly machine mk2 which produces iron-gear-wheel.
In this assembly currently are: 0 iron plate and 3 iron-gear-wheel.
I wish to remove iron-gear-wheel from assembly machine... completely remove (delete), not move to inventory.
Is it possible to create new entity (assembly machine) and order it thru the script to craft some specific item?
Please help, need this to my 3rd mod
