RuleFunction_ItemType - arkayenro/arkinventory GitHub Wiki

Rule Functions > Item Type

itemtype( arg1, ..., argN )

Checks if any of the supplied arguments matches an items type

Alias

  • type

Arguments

  • arg1...N = item type (string or number)

Remarks

  • text values must be in the clients language

  • an items type can be found on the debug info menu for that item

  • no argument will generate an error

Examples

type( "armor", "weapon" )
type( "gem" )
type( "recipe" )