mutant_bodypart 
Vars | |
| colors | The triplet of color strings for each color index. |
|---|---|
| default_colors | The default list of colors |
| emissive_list | The triplet of booleans for which color indices are emissive. |
| name | The name of the corresponding sprite_accessory |
Procs | |
| get_emissive_tri_bool_list | Returns the emissive tri-boolean list for this mutant bodypart. |
| set_colors | Sets the color list for this mutant bodypart. |
| set_emissive_tri_bool_list | Sets the emissive tri-boolean list for this mutant bodypart. |
Var Details
colors 
The triplet of color strings for each color index.
default_colors 
The default list of colors
emissive_list 
The triplet of booleans for which color indices are emissive.
name 
The name of the corresponding sprite_accessory
Proc Details
get_emissive_tri_bool_list
Returns the emissive tri-boolean list for this mutant bodypart.
Returns:
- list: The emissive list for this bodypart.
set_colors
Sets the color list for this mutant bodypart.
Accepts either:
- A list of colors
- A single color string, which will be replicated to all color slots
Arguments:
- new_colors: A list of colors or a single color string.
Crashes:
- If passed an empty list.
- If passed a value that is not a list or string.
set_emissive_tri_bool_list
Sets the emissive tri-boolean list for this mutant bodypart.
Expects exactly three boolean arguments representing emissive channels.
Arguments:
- ...: Three booleans indicating emissive state per channel.
Crashes:
- If not passed exactly three arguments.