Container.canCollect
Checks if sm.container.collect is allowed using the same parameters.
Kind: Function
Environments: Game
Game
container:canCollect( itemUuid, quantity )
Parameters:
| Name | Type | Description |
|---|---|---|
container |
Container | The container. |
itemUuid |
Uuid | The uuid of the item. |
quantity |
integer | The number of items. |
Returns:
| Type | Description |
|---|---|
| boolean | Indicates if the action is possible. |