has_inventory_space
Passes when the player has at least one free slot across the checked slot types.
Categories: player
Optional arguments
| Key(s) | Description | Type | Default |
|---|---|---|---|
include_armor_slots | Whether to count empty armor slots as free space. Defaults to true. | BOOLEAN | true |
include_offhand | Whether to count an empty offhand slot as free space. Defaults to true. | BOOLEAN | true |
Example
conditions:
- id: has_inventory_space
args:
include_armor_slots: true # ← Optional
include_offhand: true # ← Optional