/datum/hud/critter
Highly modular HUD for critters.
Vars | |
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 |
Procs | |
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 |
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