Have outfit: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>Heeheehee
m Filled in the info requested by the RFI.
Line 22: Line 22:
see_also={{SeeAlso|outfit}}|
see_also={{SeeAlso|outfit}}|
cli_equiv=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).|
cli_equiv=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).|
special=Note that this function does not check for miscellaneous requirements such as Torso Awaregness.|
}}
}}
{{RFI|Does this function check for misc. requirements such as torso & chefstaff wielding ability? (If outfits with such exist...)}}

Revision as of 03:22, 17 March 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.