/tg/ Station 13 - Modules - TypesVar Details - Proc Details

heart

Vars

beatingWhether the heart is currently beating. Do not set this directly. Use Restart() and Stop() instead.
operatedwhether the heart's been operated on to fix some of its damages
playing_heartbeat_sfxTracks what sfx is currently playing
random_bpm_modifierKeeps the random variation on BPM consistent so it doesn't look weird

Procs

get_blood_pressureReturns the average blood pressure of the heart, from a combination of bpm + strength + vessel status.
get_heart_rateGets the heart rate of the heart (resting 80, varies between 0 and 200+)
get_heart_strengthReturns the strength of the heart as a multiplier (0 to 1+)
get_heart_vessel_statusReturns whether vessels are vasodialated (0.5 to 1) or vasoconstricted (1 to 2)
is_beatingChecks 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.