/tg/ Station 13 - Modules - TypesVar Details - Proc Details

erp_belly_prefshelper

Helper for managing preferences independent of an equipped belly.

Vars

debug_ui_nameTracker for this helper's client. Tracker for this helper's associated belly function, if it's in-round. Tracker for whether or not this helper's associated preferences datum had changes made; keeps us from doing save_preferences every time.

Procs

build_size_dataFills the shared belly-size readout fields (calculated_size, base_size_max, maxsize) from a set of base sizes. Used identically by the local and character-prefs tabs.
confirm_syncStandard "sync this change to your live belly?" prompt. Returns TRUE on Yes. Safe to call with a null belly (returns FALSE without prompting).

Var Details

debug_ui_name

Tracker for this helper's client. Tracker for this helper's associated belly function, if it's in-round. Tracker for whether or not this helper's associated preferences datum had changes made; keeps us from doing save_preferences every time.

Proc Details

build_size_data

Fills the shared belly-size readout fields (calculated_size, base_size_max, maxsize) from a set of base sizes. Used identically by the local and character-prefs tabs.

confirm_sync

Standard "sync this change to your live belly?" prompt. Returns TRUE on Yes. Safe to call with a null belly (returns FALSE without prompting).