/tg/ Station 13 - Modules - Types — Define Details

code/__DEFINES/~aphelion_defines/cyborg_customization.dm

CYBORG_LAYOUT_SCHEMA_VERSIONVersion of the layout tree's shape. A slot saved by a newer one is kept as it is and never edited
CYBORG_LAYOUT_MAX_PRESETSThe most presets one character slot can save
CYBORG_LAYOUT_MAX_PRESET_NAME_LENGTHThe longest preset name, in characters
CYBORG_LAYOUT_MAX_MODEL_DEFAULTSSaved model defaults per character slot, which keeps a slot's decoded tree small however compact its text is
CYBORG_LAYOUT_MAX_SLOT_BYTESOne character slot's save text - its active layout, presets and model defaults together. Any single layout fits
CYBORG_LAYOUT_MAX_SIDECAR_BYTESThe account's whole cyborg_customization.json, shared by all its characters. A character that would pass it isn't saved, and a bigger file is neither written nor read
CYBORG_LAYOUT_SAVE_SPACINGThe shortest time between two writes of one account's cyborg layouts. Saves asked for sooner wait, and write the latest state
CYBORG_PREVIEW_MAX_IDENTIFIER_LENGTHThe longest preview identifier the editor takes - they hold model type paths and skin names from the server catalog
CYBORG_LAYOUT_MIN_PIXEL_OFFSETThe lowest pixel offset a part can have on either axis
CYBORG_LAYOUT_MAX_PIXEL_OFFSETThe highest pixel offset a part can have on either axis
CYBORG_LAYOUT_MIN_SPRITE_SIZEThe smallest sprite size a part can pick
CYBORG_LAYOUT_MAX_SPRITE_SIZEThe largest sprite size a part can pick
CYBORG_CARDINAL_DIRECTIONThe cardinal a part is drawn for - a diagonal takes its north or south, then its east or west

Define Details

CYBORG_CARDINAL_DIRECTION

The cardinal a part is drawn for - a diagonal takes its north or south, then its east or west

CYBORG_LAYOUT_MAX_MODEL_DEFAULTS

Saved model defaults per character slot, which keeps a slot's decoded tree small however compact its text is

CYBORG_LAYOUT_MAX_PIXEL_OFFSET

The highest pixel offset a part can have on either axis

CYBORG_LAYOUT_MAX_PRESETS

The most presets one character slot can save

CYBORG_LAYOUT_MAX_PRESET_NAME_LENGTH

The longest preset name, in characters

CYBORG_LAYOUT_MAX_SIDECAR_BYTES

The account's whole cyborg_customization.json, shared by all its characters. A character that would pass it isn't saved, and a bigger file is neither written nor read

CYBORG_LAYOUT_MAX_SLOT_BYTES

One character slot's save text - its active layout, presets and model defaults together. Any single layout fits

CYBORG_LAYOUT_MAX_SPRITE_SIZE

The largest sprite size a part can pick

CYBORG_LAYOUT_MIN_PIXEL_OFFSET

The lowest pixel offset a part can have on either axis

CYBORG_LAYOUT_MIN_SPRITE_SIZE

The smallest sprite size a part can pick

CYBORG_LAYOUT_SAVE_SPACING

The shortest time between two writes of one account's cyborg layouts. Saves asked for sooner wait, and write the latest state

CYBORG_LAYOUT_SCHEMA_VERSION

Version of the layout tree's shape. A slot saved by a newer one is kept as it is and never edited

CYBORG_PREVIEW_MAX_IDENTIFIER_LENGTH

The longest preview identifier the editor takes - they hold model type paths and skin names from the server catalog