Container.getItem
Returns a table containing item uuid, quantity (and instance id for tools) at given slot.
Kind: Function
Environments: Game
Game
container:getItem( slot )
Parameters:
| Name | Type | Description |
|---|---|---|
container |
Container | The container. |
slot |
integer | The slot. |
Returns:
| Type | Description |
|---|---|
| table | Table containg item {uuid = Uuid, instance = integer, quantity = integer}. |