Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/hud/critter

Highly modular HUD for critters.

Vars

bleedingbleeding hud element
bodytemptemperature hud element
equipmentlist of equipment hud elements
firefire hud element
handslist of holders of hand hud elements
healthhealth hud element
hud_iconhud icons to use
intentattack intent hud element
left_offsetoffset for a screen location to the left
masterhud owner mob
mintentmovement intent hud element
oxygenoxygen hud element
pullingpulling hud element
radradiation hud element
resistresist hud element
restingresting hud element
right_offsetoffset for a screen location to the right
staminastamina hud element
stamina_backbackdrop of stamina hud element
statusUiElementsAssoc. List STATUS EFFECT INSTANCE : UI ELEMENT add_screen(atom/movable/screen/S). Used to hold the ui elements since they shouldnt be on the status effects themselves.
throwingthrowing hud element
top_right_offsetoffset for a screen location in the top right (generally where health and status icons go)
toxintoxic gas hud element
wraparound_offset_leftstatus effect left offset
wraparound_offset_rightstatus effect right offset

Procs

clear_masterclears owner mob
get_leftreturns the left offset correctly formatted for a screen loc
get_rightreturns the right offset correctly formatted for a screen loc
loc_leftgets the leftmost screen loc
loc_rightgets the rightmost screen loc
next_leftgives an offset for the next left screen element, and then increases the magnitude of the next offset
next_rightgives an offset for the next right screen element, and then increases the magnitude of the next offset
next_toprightgives an offset for the next top-right screen element, and then increases the magnitude of the next offset
relay_clickreceives clicks from the screen hud objects
set_breathing_firesets the breathing fire icon on the hud to show breathing fire status
set_sprintupdates stamina sprinting icon state
set_suffocatingsets the suffocation icon on the hud to show suffocation status
update_blood_indicatorupdates bleeding hud element
update_breathing_indicatorsupdate the oxygen and tox indicators based on status
update_handsupdates the hand icon(s) to reflect which hand is active
update_healthupdates health hud element
update_intentupdates intent hud element
update_mintentupdates movement intent hud element
update_pullingupdates pull hud element
update_rad_indicatorupdates radiation hud element
update_restingupdates resting status
update_status_effectsupdates all status effect hud elements
update_temp_indicatorupdates temperature hud element
update_throwingupdates the throwing icon to show whether or not throwing is active
update_tox_indicatorupdates toxic gas hud element

Var Details

bleeding

bleeding hud element

bodytemp

temperature hud element

equipment

list of equipment hud elements

fire

fire hud element

hands

list of holders of hand hud elements

health

health hud element

hud_icon

hud icons to use

intent

attack intent hud element

left_offset

offset for a screen location to the left

master

hud owner mob

mintent

movement intent hud element

oxygen

oxygen hud element

pulling

pulling hud element

rad

radiation hud element

resist

resist hud element

resting

resting hud element

right_offset

offset for a screen location to the right

stamina

stamina hud element

stamina_back

backdrop of stamina hud element

statusUiElements

Assoc. List STATUS EFFECT INSTANCE : UI ELEMENT add_screen(atom/movable/screen/S). Used to hold the ui elements since they shouldnt be on the status effects themselves.

throwing

throwing hud element

top_right_offset

offset for a screen location in the top right (generally where health and status icons go)

toxin

toxic gas hud element

wraparound_offset_left

status effect left offset

wraparound_offset_right

status effect right offset

Proc Details

clear_master

clears owner mob

get_left

returns the left offset correctly formatted for a screen loc

get_right

returns the right offset correctly formatted for a screen loc

loc_left

gets the leftmost screen loc

loc_right

gets the rightmost screen loc

next_left

gives an offset for the next left screen element, and then increases the magnitude of the next offset

next_right

gives an offset for the next right screen element, and then increases the magnitude of the next offset

next_topright

gives an offset for the next top-right screen element, and then increases the magnitude of the next offset

relay_click

receives clicks from the screen hud objects

set_breathing_fire

sets the breathing fire icon on the hud to show breathing fire status

set_sprint

updates stamina sprinting icon state

set_suffocating

sets the suffocation icon on the hud to show suffocation status

update_blood_indicator

updates bleeding hud element

update_breathing_indicators

update the oxygen and tox indicators based on status

update_hands

updates the hand icon(s) to reflect which hand is active

update_health

updates health hud element

update_intent

updates intent hud element

update_mintent

updates movement intent hud element

update_pulling

updates pull hud element

update_rad_indicator

updates radiation hud element

update_resting

updates resting status

update_status_effects

updates all status effect hud elements

update_temp_indicator

updates temperature hud element

update_throwing

updates the throwing icon to show whether or not throwing is active

update_tox_indicator

updates toxic gas hud element