Items in hand
Posted: Tue Jan 09, 2018 11:14 pm
Hi,
I'd like to check the number of items of the player.
There is the call "get_inventory(defines.inventory.player_main)" that gives access and number of items.
But when the player selects items from that, taking it in hand that amount is removed from the inventory.
Is there a way to get the items "in hand" ?
I'd like to check the number of items of the player.
There is the call "get_inventory(defines.inventory.player_main)" that gives access and number of items.
But when the player selects items from that, taking it in hand that amount is removed from the inventory.
Is there a way to get the items "in hand" ?