mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-29 11:14:09 +00:00
16 lines
409 B
Plaintext
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)
|