/tg/ Station 13 - Modules - Types — Var Details - Proc Details

char_preview

A preview of a character for use in the preferences menu

Vars

bodyThe body that is displayed
body_staleSet while the body waits to be rebuilt for a change; see defer_rebuild().
preferencesThe preferences this refers to
show_job_clothesWhether we show current job clothes or nude/loadout only
silicon_previewThe image render_new_preview_appearance() returned instead of dressing the dummy, if any: a silicon job's.
turnsHow many turns the body has had, so a drawing waiting for one knows when it has come.

Procs

defer_rebuildA change to the preferences preview mob. With character setup open, marks the mob stale and asks the window for a drawing, which rebuilds it first, and returns TRUE. Otherwise returns FALSE, and the mob is rebuilt at once.
update_bodyUpdates the currently displayed body

Var Details

body

The body that is displayed

body_stale

Set while the body waits to be rebuilt for a change; see defer_rebuild().

preferences

The preferences this refers to

show_job_clothes

Whether we show current job clothes or nude/loadout only

silicon_preview

The image render_new_preview_appearance() returned instead of dressing the dummy, if any: a silicon job's.

turns

How many turns the body has had, so a drawing waiting for one knows when it has come.

Proc Details

defer_rebuild

A change to the preferences preview mob. With character setup open, marks the mob stale and asks the window for a drawing, which rebuilds it first, and returns TRUE. Otherwise returns FALSE, and the mob is rebuilt at once.

update_body

Updates the currently displayed body