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

quirk_constant_data

A singleton datum representing constant data and procs used by quirks.

Vars

abstract_typeAbstract in OOP terms. If this is our type, we will not be instantiated.
associated_typepathThe typepath of the quirk we will be associated with in the global list. This is what we represent.
customization_optionsA lazylist of preference datum typepaths. Any character pref put in here will be rendered in the quirks page under a dropdown.

Procs

get_customization_dataReturns a list of savefile_keys derived from the preference typepaths in [customization_options]. Used in quirks middleware to supply the preferences to render.
is_customizableIs this quirk customizable? If true, a button will appear within the quirk's description box in the quirks page, and upon clicking it, will open a customization menu for the quirk.

Var Details

abstract_type

Abstract in OOP terms. If this is our type, we will not be instantiated.

associated_typepath

The typepath of the quirk we will be associated with in the global list. This is what we represent.

customization_options

A lazylist of preference datum typepaths. Any character pref put in here will be rendered in the quirks page under a dropdown.

Proc Details

get_customization_data

Returns a list of savefile_keys derived from the preference typepaths in [customization_options]. Used in quirks middleware to supply the preferences to render.

is_customizable

Is this quirk customizable? If true, a button will appear within the quirk's description box in the quirks page, and upon clicking it, will open a customization menu for the quirk.