RuleFunction_Quality - arkayenro/arkinventory GitHub Wiki

Rule Functions > Quality

quality( arg1, ..., argN )

Checks if any of the supplied arguments match an items quality

Alias

  • q

Arguments

  • arg1..N (numeric or string) = item quality

Remarks

  • you can use either the numeric or text value as an argument

  • text values must be in the clients language

  • no argument will generate an error

Notes

  • 0 or "Poor" = grey

  • 1 or "Common" = white

  • 2 or "Uncommon" = green

  • 3 or "Rare" = blue

  • 4 or "Epic" = purple

  • 5 or "Legendary" = orange

  • 6 or "Artifact" = red

  • 7 or "Heirloom" = gold

Examples

epic items

q( 4 )

poor items

q( "poor" )

legendary and artifact items

q( 5, "artifact" )