RuleFunction_Location - arkayenro/arkinventory GitHub Wiki
Rule Functions > Location
location( arg1, ..., argN )
Checks if any of the supplied arguments match the location an item is in.
Allows for customising a rule so it only works for a specific location.
Alias
loc
Arguments
- arg1...N (string or number)
Remarks
-
the english text (listed in the notes below) will work for all languages
-
you can use localised text for non english clients if you want
-
string values that do not match any of those listed below will not match anything. use the numeric value for locations that do not have a string value
Notes
-
Bag = 1, or
"bag", or localised string -
Bank = 3, or
"bank", or localised string -
Guild Bank = 4, or
"guild bank", or"vault", or localised string -
Mail = 5, or
"mail", or localised string -
Wearing = 6, or
"wearing", or"gear", or localised string -
Pet = 7, or
"pet", or localised string -
Mount = 8, or
"mount", or localised string -
Token = 9, or
"token", or"currency", or localised string -
Auction = 10
-
Void Storage = 11
-
ToyBox = 13
-
Heirloom = 15
-
Reputation = 16, or
"reputation", or"rep", or localised string
Examples
loc( "bag", "bank" )
loc( "gear" )
french client:
loc( "sac" )