Has Inventory Space
Description
Checks how many empty slots the target player's inventory has, against a range. Only players are matched.
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| amount | a | The number of empty inventory slots to require. Supports range syntax (e.g. >0, >=5, 2to10) |
>0 |
Examples
Conditions:
- hasInventorySpace{amount=>=1} @self
Skills:
- giveAmmo{...} @self ~onUse ?hasInventorySpace{a=>0}