mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 12:02:31 +01:00
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:
co-authored by
Fluffy
Cody Brittain
parent
f81de5387e
commit
40e5d511d5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user