/tg/ Station 13 - Modules - Types

modular_aphelion/modules/cyborg_customization/code/accessories.dm

/proc/cyborg_dynamic_accessory_suffixNative icon operations and bounded immutable outputs replace donor per-pixel loops. Reuses Meridian accessories: no physical organ or bodypart overlay is constructed.
/proc/cyborg_dynamic_accessory_has_sizeWhether a genital accessory has art at this size, in any layer or color channel
/proc/cyborg_accessory_size_valuesReturns the sizes an accessory has art for, cached by slot and choice. The caller gets its own copy
/proc/cyborg_accessory_effective_sizeReturns the requested size when the accessory has art for it, or else the first size it has
/proc/cyborg_accessory_color_channelsReturns the color channels an accessory's art uses at this size and arousal state, by channel number
/proc/cyborg_accessory_metadataReturns what the editor shows for a part's sprite - its color channels and its sizes, with a thumbnail of each unless include_icons is off
/proc/cyborg_accessory_renderReturns a part's colored art as an icon and its base64, or null when it has none. Cached, up to 128 images and 2 MiB
/proc/cyborg_direct_accessoriesThe silicon-only accessories of a slot by name, null for a slot without any - these donor sheets never enter human accessory selection
/proc/cyborg_direct_accessory_renderReturns a silicon-only accessory's colored art as an icon and its base64, or null when it has none. Keeps the last 32