Difference between revisions of "Have outfit"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 23: Line 23:
 
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).|
 
}}
 
}}
{{RFI|Does this function check for misc. requirements such as torso & chefstaff wielding ability?|The custom outfit part was already listed; but how? (It doesn't work for me, is a specific prefix required? What?)}}
+
{{RFI|Does this function check for misc. requirements such as torso & chefstaff wielding ability? (If outfits with such exist...)}}

Revision as of 21:21, 8 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()


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific question has been raised:

  • Does this function check for misc. requirements such as torso & chefstaff wielding ability? (If outfits with such exist...)