hemophage
Vars | |
bloodloss_rate | What is the current rate (per second) at which the tumor is consuming blood? |
---|---|
is_dormant | Are we currently dormant? Defaults to PULSATING_TUMOR_ACTIVE (so FALSE). |
Procs | |
can_heal_owner_damage | Whether or not we should be applying the healing status effect for the owner. |
in_closet | Simple helper proc that returns whether or not the given hemophage is in a closet subtype (but not in any bodybag subtype). |
in_total_darkness | Simple helper proc that returns whether or not the given hemophage is in total darkness. |
toggle_dormant_state | Simple helper proc that toggles the dormant state of the tumor, which also switches its appearance to reflect said change. |
toggle_dormant_tumor_vulnerabilities | Simple helper to toggle the hemophage's vulnerability (or lack thereof) based on the status of their tumor. This proc contains no check whatsoever, to avoid redundancy of null checks and such. That being said, it shouldn't be used by anything but the tumor, if you have to call it outside of that, you probably have gone wrong somewhere. |
Var Details
bloodloss_rate
What is the current rate (per second) at which the tumor is consuming blood?
is_dormant
Are we currently dormant? Defaults to PULSATING_TUMOR_ACTIVE (so FALSE).
Proc Details
can_heal_owner_damage
Whether or not we should be applying the healing status effect for the owner.
in_closet
Simple helper proc that returns whether or not the given hemophage is in a closet subtype (but not in any bodybag subtype).
in_total_darkness
Simple helper proc that returns whether or not the given hemophage is in total darkness.
toggle_dormant_state
Simple helper proc that toggles the dormant state of the tumor, which also switches its appearance to reflect said change.
toggle_dormant_tumor_vulnerabilities
Simple helper to toggle the hemophage's vulnerability (or lack thereof) based on the status of their tumor. This proc contains no check whatsoever, to avoid redundancy of null checks and such. That being said, it shouldn't be used by anything but the tumor, if you have to call it outside of that, you probably have gone wrong somewhere.