RuleFunction_Category - arkayenro/arkinventory GitHub Wiki
Rule Functions > Category
category( arg1, ..., argN )
Checks if any of the supplied arguments match the default category of an item.
Alias
cat
Arguments
- arg1...N (number matching a default category)
Remarks
-
requires version 3.10.27 Alpha 7 onwards
-
no argument will generate an error
-
check the item debug properties or bar/item category assignment to find the category numbers
-
rules do not apply to items that have been assigned a custom, or hardcoded system, category. as such you will never be able to collect those items with this rule function. ie this function cannot be used to override those types of assignments.
Examples
items that have a default category of consumables > food and drink
category( 437 )