bodypart_effect  
Effects added to a carbon focused on the bodyparts itself, such as adding a photosynthesis component that
| Vars | |
| bodyparts | List of bodyparts contributing to this effect | 
|---|---|
| is_active | Are we currently active? We don't NEED to track it, but it's a lot easier and faster if we do | 
| minimum_bodyparts | Minimum amount of bodyparts required for on_apply to be called. When tipping below, on_remove is called | 
| Procs | |
| Destroy | Clean up all references and self-destruct | 
| activate | Activate some sort of effect when a threshold is reached | 
| add_bodypart | Merge a bodypart into the effect | 
| deactivate | Remove an effect whenever a threshold is no longer reached | 
| on_bodypart_destroyed | Signal called when a bodypart is destroyed. Destruction of a bodypart doesn't necessarily drop it | 
| on_bodypart_removed | Signal called when a bodypart is removed | 
| remove_bodypart | Remove a bodypart from the effect. Deleting = TRUE is used during clean-up phase | 
Var Details
bodyparts  
List of bodyparts contributing to this effect
is_active 
Are we currently active? We don't NEED to track it, but it's a lot easier and faster if we do
minimum_bodyparts 
Minimum amount of bodyparts required for on_apply to be called. When tipping below, on_remove is called
Proc Details
Destroy
Clean up all references and self-destruct
activate
Activate some sort of effect when a threshold is reached
add_bodypart
Merge a bodypart into the effect
deactivate
Remove an effect whenever a threshold is no longer reached
on_bodypart_destroyed
Signal called when a bodypart is destroyed. Destruction of a bodypart doesn't necessarily drop it
on_bodypart_removed
Signal called when a bodypart is removed
remove_bodypart
Remove a bodypart from the effect. Deleting = TRUE is used during clean-up phase