code/modules/surgery/bodyparts/bodypart_effects.dm 
GET_BODYPART_COEFFICIENT | For scaling the effectiveness of certain effects to the total bodypart count |
---|---|
IS_FULL_BODY | Check if it's full body. These are mostly here so we can change just one place when we ever add more limbs (?) |
/datum/status_effect/grouped/bodypart_effect | Effects added to a carbon focused on the bodyparts itself, such as adding a photosynthesis component that |
/datum/status_effect/grouped/bodypart_effect/photosynthesis | This limb regens in light! Only BODYTYPE_PLANT limbs will heal, but limbs without the flag (and with the effect) still contribute to healing of the other limbs |
/datum/status_effect/grouped/bodypart_effect/nyxosynthesis | This limb heals in darkness and dies in light! Only BODYTYPE_SHADOW limbs will heal, but limbs without the flag (and with the effect) still contribute to healing of the other limbs |
Define Details
GET_BODYPART_COEFFICIENT 
For scaling the effectiveness of certain effects to the total bodypart count
IS_FULL_BODY 
Check if it's full body. These are mostly here so we can change just one place when we ever add more limbs (?)