Files
S.P.L.U.R.T-Station-13/modular_sand/code/modules/mob/mob.dm

16 lines
409 B
Plaintext

// Only Clients should have a panel for them, okay?
/mob/Login()
. = ..()
AddComponent(/datum/component/interaction_menu_granter)
/mob/Logout()
qdel(GetComponent(/datum/component/interaction_menu_granter))
. = ..()
///Adjust the thirst of a mob
/mob/proc/adjust_thirst(change, max = THIRST_LEVEL_THRESHOLD)
thirst = clamp(thirst + change, 0, max)
/mob/proc/set_thirst(change)
thirst = max(0, change)