mud/lib/doc/lfun/all/GetWorn
2020-09-06 05:43:07 -07:00

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