select_equipment 
Vars | |
| cached_dummy_icon | Cached flat icon of the dummy wearing selected_outfit, so ui_data() doesn't redraw the sprite on every refresh when it doesn't need to |
|---|---|
| cached_for_identifier | The selected_identifier cached_dummy_icon was last rendered for. |
Procs | |
| outfit_entry | Packs up data about an outfit as an assoc list to send to the UI as an outfit entry. |
Var Details
cached_dummy_icon 
Cached flat icon of the dummy wearing selected_outfit, so ui_data() doesn't redraw the sprite on every refresh when it doesn't need to
cached_for_identifier 
The selected_identifier cached_dummy_icon was last rendered for.
Proc Details
outfit_entry
Packs up data about an outfit as an assoc list to send to the UI as an outfit entry.
Args:
-
category (string) - The tab it will be under
-
identifier (typepath or ref) - This will sent this back to ui_act to preview or spawn in an outfit.
-
Must be unique between all entries.
-
name (string) - Will be the text on the button
-
priority (bool)(optional) - If True, the UI will sort the entry to the top, right below favorites.
-
custom_entry (bool)(optional) - Send the identifier with a "ref" keyword instead of "path",
-
for the UI to tell apart custom outfits from normal ones.
Returns (list) An outfit entry