heart 
Vars | |
| beating | Whether the heart is currently beating. Do not set this directly. Use Restart() and Stop() instead. |
|---|---|
| operated | whether the heart's been operated on to fix some of its damages |
| playing_heartbeat_sfx | Tracks what sfx is currently playing |
| random_bpm_modifier | Keeps the random variation on BPM consistent so it doesn't look weird |
Procs | |
| get_blood_pressure | Returns the average blood pressure of the heart, from a combination of bpm + strength + vessel status. |
| get_heart_rate | Gets the heart rate of the heart (resting 80, varies between 0 and 200+) |
| get_heart_strength | Returns the strength of the heart as a multiplier (0 to 1+) |
| get_heart_vessel_status | Returns whether vessels are vasodialated (0.5 to 1) or vasoconstricted (1 to 2) |
| is_beating | Checks if the heart is beating. Can be overridden to add more conditions for more complex hearts. |
Var Details
beating 
Whether the heart is currently beating. Do not set this directly. Use Restart() and Stop() instead.
operated 
whether the heart's been operated on to fix some of its damages
playing_heartbeat_sfx 
Tracks what sfx is currently playing
random_bpm_modifier 
Keeps the random variation on BPM consistent so it doesn't look weird
Proc Details
get_blood_pressure
Returns the average blood pressure of the heart, from a combination of bpm + strength + vessel status.
get_heart_rate
Gets the heart rate of the heart (resting 80, varies between 0 and 200+)
get_heart_strength
Returns the strength of the heart as a multiplier (0 to 1+)
get_heart_vessel_status
Returns whether vessels are vasodialated (0.5 to 1) or vasoconstricted (1 to 2)
is_beating
Checks if the heart is beating. Can be overridden to add more conditions for more complex hearts.