33 lines
588 B
Plaintext
33 lines
588 B
Plaintext
GETWORN
|
|
|
|
NAME
|
|
GetWorn()
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
LIB_BODY: varargs object array GetWorn(string limb) LIB_EQUIP: string array GetWorn()
|
|
|
|
|
|
DESCRIPTION
|
|
LIB_BODY: Without an argument, returns an array of all worn and wielded objects in the creature's inventory. With a limb as an argument, returns an array of all worn and wielded objects on that limb. LIB_EQUIP: Returns a positive integer if the item is currently being worn, 0 otherwise.
|
|
|
|
|
|
EXAMPLES
|
|
|
|
|
|
|
|
|
|
LOCATION
|
|
/lib/body
|
|
/lib/props/equip
|
|
|
|
|
|
SEE ALSO
|
|
SetWorn, GetEquippedLimbs
|
|
|
|
Author
|
|
Cratylus
|
|
|
|
|