All normal outfits

From Kolmafia
Revision as of 01:10, 24 September 2015 by imported>Relyk (Created page with "{{ #vardefine:name|get_custom_outfits}}{{ #vardefine:return_type|string [int]}}{{ #vardefine:aggregate|yes}}{{ FunctionPage| name={{#var:name}}| function1={{Function| name={...")
(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 available in-game outfits.

Code Sample

The following code will print the list of available outfits.

foreach x,outfit_name in all_normal_outfits()
   {
      print("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()