Get custom outfits

From Kolmafia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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()