modular_aphelion/modules/custom_sprites/code/saved_styles.dm 
| CUSTOM_STYLE_MAX_PREFERENCES_BYTES | The largest preferences.json custom_style_read_file() reads back, 8 MiB. |
|---|---|
| /proc/custom_style_key | The key a style is stored under: the target, or markings:zone. |
| /proc/custom_style_previous_validate | Previous styles are trusted disk data, but still pass the strict package validator. |
| /proc/custom_style_copy_previous | Keep each previous package's native record array independent and JSON-serializable. |
| /proc/custom_style_hair_preference_types | Every preference a head target's base look is saved in: its fields, plus head hair's opacity toggle. |
| /proc/custom_style_normal_color | A colour as the preference writer stores it, black when invalid. |
| /proc/custom_style_normal_opacity | Keep explicit opacity, including fully opaque hair on naturally translucent species. |
| /proc/custom_style_live_hair_context | A body's live base look for a head target, read from its head when it has one. |
| /proc/custom_style_markings_slot_data | Copy a character's saved native markings and replace exactly the selected zone, including Clear. |
| /proc/custom_style_hair_slot_data | Returns an updated copy of a character's save data, or null when that slot has no data. |
| /proc/custom_style_read_file | A file's text, or null when it's missing or larger than max_bytes. |
Define Details
CUSTOM_STYLE_MAX_PREFERENCES_BYTES 
The largest preferences.json custom_style_read_file() reads back, 8 MiB.