Get custom outfits

From Kolmafia
Revision as of 01:17, 25 November 2014 by imported>Bale (r12062)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Syntax

string [int] get_custom_outfits()

This function returns a list of all currently defined custom outfits. This list begins with " - No Change - " which is not really an outfit.

Code Sample

The following code will print the list of all custom outfits.

foreach x, outfit_name in get_custom_outfits()
   if(outfit_name != " - No Change - ")
      print(outfit_name);

CLI Equivalent

The CLI command outfit list will print a list of official KoL outfits to the CLI. There isn't a CLI command to show custom outfits.

See Also

have_outfit() | outfit_pieces() | is_wearing_outfit() | get_outfits()