All normal outfits

From Kolmafia
Revision as of 01:15, 24 September 2015 by imported>Relyk
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Syntax

string [int] all_normal_outfits()

This function returns a list of all available in-game outfits.

Code Sample

The following code will print the list of available outfits you own and their components.

foreach x,outfit_name in all_normal_outfits()
{
   if( have_outfit(outfit_name) )
   {
      foreach x,piece in outfit_pieces(outfit_name)
         print("=> " + piece);
   }
}

CLI Equivalent

The CLI command outfit list will print a list of official KoL outfits to the CLI.

See Also

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