fakedeath
Vars | |
fakedeath_duration | How long it takes for revival to ready upon entering stasis. The changeling can opt to stay in fakedeath for longer, though. |
---|---|
revive_ready | If TRUE, we're ready to revive and can click the button to heal. |
Procs | |
disable_stasis_and_fakedeath | Removes the signals for fakedeath and listening for hapless doctors healing a changeling who went into stasis after actually dying, and also removes changeling stasis |
enable_fakedeath | Used to enable fakedeath and register relevant signals / start timers |
enable_revive | Sets [revive_ready] to TRUE and updates the button icons. |
fakedeath_reset | Signal proc to stop the revival process if the changeling exits their stasis early. |
on_stat_change | Signal proc to exit fakedeath early if we're revived from being previously dead |
reset_chemical_cost | This proc is called to reset the chemical cost of the revival as well as the revive ready flag and button states. |
try_to_sting | We wait until after we actually deduct chemical cost (or don't deduct if it's the 0 cost we get for revival) before we reset the chemical cost |
Var Details
fakedeath_duration
How long it takes for revival to ready upon entering stasis. The changeling can opt to stay in fakedeath for longer, though.
revive_ready
If TRUE, we're ready to revive and can click the button to heal.
Proc Details
disable_stasis_and_fakedeath
Removes the signals for fakedeath and listening for hapless doctors healing a changeling who went into stasis after actually dying, and also removes changeling stasis
enable_fakedeath
Used to enable fakedeath and register relevant signals / start timers
enable_revive
Sets [revive_ready] to TRUE and updates the button icons.
fakedeath_reset
Signal proc to stop the revival process if the changeling exits their stasis early.
on_stat_change
Signal proc to exit fakedeath early if we're revived from being previously dead
reset_chemical_cost
This proc is called to reset the chemical cost of the revival as well as the revive ready flag and button states.
try_to_sting
We wait until after we actually deduct chemical cost (or don't deduct if it's the 0 cost we get for revival) before we reset the chemical cost