head ![code/modules/surgery/bodyparts/head.dm 1](git.png)
Vars | |
facial_hair_alpha | Facial hair alpha |
---|---|
facial_hair_color | Facial hair color |
facial_hair_hidden | Is the facial hair currently hidden by something? |
facial_hairstyle | Facial hair style |
fixed_hair_color | An override that cannot be cleared under any circumstances, affects both hair and facial hair |
gradient_colors | Gradient colors, if any |
gradient_styles | Gradient styles, if any |
hair_alpha | Hair alpha |
hair_color | Hair colour and style |
hair_hidden | Is the hair currently hidden by something? |
hair_masks | Lazy initialized hashset of all hair masks that should be applied |
hairstyle | Hair style |
head_flags | Flags related to appearance, such as hair, lips, etc |
lip_color | Lipstick color |
lip_style | Type of lipstick being used, basically |
override_hair_color | An override color that can be cleared later, affects both hair and facial hair |
real_name | Replacement name |
show_debrained | Draw this head as "debrained" |
show_eyeless | Draw this head as missing eyes |
show_organs_on_examine | Do we show the information about missing organs upon being examined? Defaults to TRUE, useful for Dullahan heads. |
stored_lipstick_trait | Current lipstick trait, if any (such as TRAIT_KISS_OF_DEATH) |
teeth_count | How many teeth the head's species has, humans have 32 so that's the default. Used for a limit to dental pill implants. |
worn_ears_offset | Offset to apply to equipment worn on the ears |
worn_face_offset | Offset to apply to overlays placed on the face |
worn_glasses_offset | Offset to apply to equipment worn on the eyes |
worn_head_offset | Offset to apply to equipment worn on the head |
worn_mask_offset | Offset to apply to equipment worn on the mouth |
Procs | |
get_debrain_overlay | Returns an appropriate debrained overlay |
get_eyeless_overlay | Returns an appropriate missing eyes overlay |
get_gradient_overlay | Returns an appropriate hair/facial hair gradient overlay |
update_hair_and_lips | Part of update_limb() , basically does all the head specific icon stuff. |
Var Details
facial_hair_alpha ![code/modules/surgery/bodyparts/head.dm 54](git.png)
Facial hair alpha
facial_hair_color ![code/modules/surgery/bodyparts/head.dm 52](git.png)
Facial hair color
facial_hair_hidden ![code/modules/surgery/bodyparts/head.dm 56](git.png)
Is the facial hair currently hidden by something?
facial_hairstyle ![code/modules/surgery/bodyparts/head.dm 50](git.png)
Facial hair style
fixed_hair_color ![code/modules/surgery/bodyparts/head.dm 72](git.png)
An override that cannot be cleared under any circumstances, affects both hair and facial hair
gradient_colors ![code/modules/surgery/bodyparts/head.dm 64](git.png)
Gradient colors, if any
gradient_styles ![code/modules/surgery/bodyparts/head.dm 59](git.png)
Gradient styles, if any
hair_alpha ![code/modules/surgery/bodyparts/head.dm 43](git.png)
Hair alpha
hair_color ![code/modules/surgery/bodyparts/head.dm 41](git.png)
Hair colour and style
hair_hidden ![code/modules/surgery/bodyparts/head.dm 45](git.png)
Is the hair currently hidden by something?
hair_masks ![code/modules/surgery/bodyparts/head.dm 47](git.png)
Lazy initialized hashset of all hair masks that should be applied
hairstyle ![code/modules/surgery/bodyparts/head.dm 39](git.png)
Hair style
head_flags ![code/modules/surgery/bodyparts/head.dm 36](git.png)
Flags related to appearance, such as hair, lips, etc
lip_color ![code/modules/surgery/bodyparts/head.dm 77](git.png)
Lipstick color
lip_style ![code/modules/surgery/bodyparts/head.dm 75](git.png)
Type of lipstick being used, basically
override_hair_color ![code/modules/surgery/bodyparts/head.dm 70](git.png)
An override color that can be cleared later, affects both hair and facial hair
real_name ![code/modules/surgery/bodyparts/head.dm 34](git.png)
Replacement name
show_debrained ![code/modules/surgery/bodyparts/head.dm 97](git.png)
Draw this head as "debrained"
show_eyeless ![code/modules/surgery/bodyparts/head.dm 100](git.png)
Draw this head as missing eyes
show_organs_on_examine ![code/modules/surgery/bodyparts/head.dm 30](git.png)
Do we show the information about missing organs upon being examined? Defaults to TRUE, useful for Dullahan heads.
stored_lipstick_trait ![code/modules/surgery/bodyparts/head.dm 79](git.png)
Current lipstick trait, if any (such as TRAIT_KISS_OF_DEATH)
teeth_count ![code/modules/surgery/bodyparts/head.dm 82](git.png)
How many teeth the head's species has, humans have 32 so that's the default. Used for a limit to dental pill implants.
worn_ears_offset ![code/modules/surgery/bodyparts/head.dm 85](git.png)
Offset to apply to equipment worn on the ears
worn_face_offset ![code/modules/surgery/bodyparts/head.dm 93](git.png)
Offset to apply to overlays placed on the face
worn_glasses_offset ![code/modules/surgery/bodyparts/head.dm 87](git.png)
Offset to apply to equipment worn on the eyes
worn_head_offset ![code/modules/surgery/bodyparts/head.dm 91](git.png)
Offset to apply to equipment worn on the head
worn_mask_offset ![code/modules/surgery/bodyparts/head.dm 89](git.png)
Offset to apply to equipment worn on the mouth
Proc Details
get_debrain_overlay
Returns an appropriate debrained overlay
get_eyeless_overlay
Returns an appropriate missing eyes overlay
get_gradient_overlay
Returns an appropriate hair/facial hair gradient overlay
update_hair_and_lips
Part of update_limb()
, basically does all the head specific icon stuff.