blood_type 
Vars | |
blood_color_matrix | The cached color matrix for blood with a lightness_mult. We only need to calculate this once since blood types are singletons |
---|---|
color | Shown color of the blood type. |
compatible_types | Blood types that are safe to use with people that have this blood type (for blood transfusions) |
desc | A description of the blood type. |
id | Unique identifier for the blood type in the global list of singletons. Typically this is just the name, but some blood types might have the same name (e.g. evil blood) |
is_species_universal | If this blood type is meant to persist across species changes |
lightness_mult | Additional lightness multiplier for the blood color, useful for when the default lightness from the greyscaling doesn't cut it and you want something more vibrant. When set, color will be transformed into a matrix with coefficients multiplied by this value |
name | Name of the blood type. |
no_bleed_overlays | Whether or not this blood type should create blood trails, blood sprays, etc |
reagent_type | What reagent is represented by this blood type? |
restoration_chem | What chem is used to restore this blood type (outside of itself, of course)? |
root_abstract_type | Exclude abstract root types from being initialized by defining them here |
Procs | |
get_color | Returns blood color or color matrix Useful when you want to have a blood color with values out of normal hex bounds for that acidic look set dynamic to TRUE to redo the matrix each time (e.g. for clown blood dynamically shifting each time) |
type_key | Key used to identify this blood type in compatible_types |
Var Details
blood_color_matrix 
The cached color matrix for blood with a lightness_mult. We only need to calculate this once since blood types are singletons
color 
Shown color of the blood type.
compatible_types 
Blood types that are safe to use with people that have this blood type (for blood transfusions)
desc 
A description of the blood type.
id 
Unique identifier for the blood type in the global list of singletons. Typically this is just the name, but some blood types might have the same name (e.g. evil blood)
is_species_universal 
If this blood type is meant to persist across species changes
lightness_mult 
Additional lightness multiplier for the blood color, useful for when the default lightness from the greyscaling doesn't cut it and you want something more vibrant. When set, color will be transformed into a matrix with coefficients multiplied by this value
name 
Name of the blood type.
no_bleed_overlays 
Whether or not this blood type should create blood trails, blood sprays, etc
reagent_type 
What reagent is represented by this blood type?
restoration_chem 
What chem is used to restore this blood type (outside of itself, of course)?
root_abstract_type 
Exclude abstract root types from being initialized by defining them here
Proc Details
get_color
Returns blood color or color matrix Useful when you want to have a blood color with values out of normal hex bounds for that acidic look set dynamic to TRUE to redo the matrix each time (e.g. for clown blood dynamically shifting each time)
type_key
Key used to identify this blood type in compatible_types
Allows for more complex or dynamically generated blood types