Difference between revisions of "Have outfit"

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
m (Filled in the info requested by the RFI.)
imported>Bale
m
Line 5: Line 5:
 
FunctionPage|
 
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
function_category=Equipment|
 
  
 
function1={{Function|
 
function1={{Function|
Line 24: Line 23:
 
special=Note that this function does not check for miscellaneous requirements such as Torso Awaregness.|
 
special=Note that this function does not check for miscellaneous requirements such as Torso Awaregness.|
 
}}
 
}}
 +
 +
[[Category:Equipment]]

Revision as of 22:12, 21 May 2010

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.