Improve cryo tubes (#17919)

* Improve cryo tubes

* JS --> TSX

* Fix lack of type

* Cryo tube improvements

* Update code/game/machinery/cryo.dm

Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>

---------

Co-authored-by: Cody Brittain <cbrittain10@live.com>
Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
This commit is contained in:
Cody Brittain
2023-12-22 20:03:41 +00:00
committed by GitHub
co-authored by Fluffy Cody Brittain
parent f81de5387e
commit 40e5d511d5
7 changed files with 505 additions and 111 deletions
@@ -261,6 +261,11 @@
else
. = 80 * (1 - bodytemperature / species.cold_level_3)
. = max(20, .)
if(istype(loc, /obj/machinery/atmospherics/unary/cryo_cell))
var/obj/machinery/atmospherics/unary/cryo_cell/cryo = loc
if(cryo.current_stasis_mult)
var/gcf_stasis_mult = cryo.current_stasis_mult
. = . * gcf_stasis_mult
return round(.)
// Martial Art Helpers