From 99be7d476a981a9601ae4d0bf19ad7981fea2408 Mon Sep 17 00:00:00 2001 From: LordME <58342752+TheLordME@users.noreply.github.com> Date: Wed, 3 Apr 2024 23:57:19 +0200 Subject: [PATCH] Cryo cell fluid changes opacity (#6364) ## About The Pull Request ## Why It's Good For The Game ## Changelog :cl: tweak: cryo cell fuild to change opacity the cooler it gets /:cl: --- code/game/machinery/cryo.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/machinery/cryo.dm b/code/game/machinery/cryo.dm index b574db389871..7a01a6e8a9ab 100644 --- a/code/game/machinery/cryo.dm +++ b/code/game/machinery/cryo.dm @@ -69,6 +69,7 @@ temperature_archived = air_contents.temperature heat_gas_contents() expel_gas() + update_icon() if(abs(temperature_archived-air_contents.temperature) > 1) network.update = TRUE @@ -214,6 +215,7 @@ /obj/machinery/atmospherics/component/unary/cryo_cell/update_icon() cut_overlay(fluid) fluid.color = null + fluid.alpha = max(255 - air_contents.temperature, 50) if(on) if(beaker) fluid.color = beaker.reagents.get_color()