Conditional Item Properties
This page lists all custom conditional item properties that are added ontop of the vanilla ones.
All/And (catharsis:all)
Check if a list of conditions are true, useful for chaining conditions.
additional fields:
- conditions: a list of conditions to check through.
Any/Or (catharsis:any)
Check if any in list of conditions are true, useful for chaining conditions.
additional fields:
- conditions: a list of conditions to check through.
Data Type (catharsis:datatype)
Check against a specific boolean data type.
additional fields:
- data_type: defines the data type to use. all supported types
Has Data Type (catharsis:has_data_type)
Returns true if the item has a specified data type.
additional fields:
- data_type: defines the data type to use. all supported types
Has Gemstones (catharsis:has_gemstones)
Returns true if the item has specified amount of gemstones.
additional fields:
- amount: the amount of gemstones to check for.
- slot: Optional. The slot the gemstones can fit it, by default will act as universal slot.
- quality: Optional. The quality of the gemstones, by default any quality is accepted.
In Area (catharsis:in_area)
Returns true if the player is in the specified area.
additional fields:
- area: The id of the area as defined here
Is Hovered (catharsis:hovered)
Returns true if the item is hovered.