Have outfit

From Kolmafia
Revision as of 22:12, 21 May 2010 by imported>Bale
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

boolean have_outfit(string name )

  • name is an outfit to check for

This function returns true if you have all parts of the outfit name and meet all of the stat requirements to equip it. Only in-game outfits are currently supported, not custom outfits.

CLI Equivalent

The CLI command command "outfit" with the parameter "list" gives information on the in-game outfits you have available (but does not list custom outfits or check for whether the outfit can be equipped).

See Also

outfit()

Special

Note that this function does not check for miscellaneous requirements such as Torso Awaregness.