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

modular_aphelion/modules/fitness/code/fitness_limbs.dm

/proc/init_fitness_limb_familiesReturns GLOB.fitness_limb_families, built from the size subtypes.
/proc/init_fitness_limb_sheetsReturns GLOB.fitness_limb_sheets. Sheets are files, so it is built here rather than written as a list literal.
/proc/init_fitness_definition_sheetsReturns GLOB.fitness_definition_sheets.
MUSCLE_SIZE_NAMEThe name a muscle size goes by in the definition overlays' states.
FITNESS_ICON_KEYA fitness limb's icon cache key, written out for the sizes and steps there are so a redraw doesn't build the text.
FITNESS_LIMB_DRAWINGGives a limb family's fitness subtypes (family/fitness and its sizes) the overrides they draw with. They sit on the fitness subtypes rather than on /obj/item/bodypart, so a plain limb's redraw runs none of them.

Define Details

FITNESS_ICON_KEY

A fitness limb's icon cache key, written out for the sizes and steps there are so a redraw doesn't build the text.

FITNESS_LIMB_DRAWING

Gives a limb family's fitness subtypes (family/fitness and its sizes) the overrides they draw with. They sit on the fitness subtypes rather than on /obj/item/bodypart, so a plain limb's redraw runs none of them.

Arguments:

MUSCLE_SIZE_NAME

The name a muscle size goes by in the definition overlays' states.