Container.canCollectAll
Checks if the container can collect a set of items.
Kind: Function
Environments: Game
Game
container:canCollectAll( uuids, quantities )
Parameters:
| Name | Type | Description |
|---|---|---|
container |
Container | The container. |
uuids |
table | The uuids of items to check. |
quantities |
table | The number of items of each uuid. Needs to match the number of uuids. |
Returns:
| Type | Description |
|---|---|
| boolean | Indicates if the action is possible. |