Increases temp threshold and reduces animation time for HE pipes (#30314)

This commit is contained in:
Migratingcocofruit
2025-08-28 20:58:56 +00:00
committed by GitHub
parent 8b8181e18a
commit 4801aa4579
@@ -37,7 +37,7 @@
//Heat causes pipe to glow
if(pipe_air.temperature() && (icon_temperature > 500 || pipe_air.temperature() > 500)) //glow starts at 500K
if(abs(pipe_air.temperature() - icon_temperature) > 10)
if(abs(pipe_air.temperature() - icon_temperature) > 50)
icon_temperature = pipe_air.temperature()
var/h_r = heat2color_r(icon_temperature)
@@ -50,7 +50,7 @@
h_g = 64 + (h_g - 64) * scale
h_b = 64 + (h_b - 64) * scale
animate(src, color = rgb(h_r, h_g, h_b), time = 20, easing = SINE_EASING)
animate(src, color = rgb(h_r, h_g, h_b), time = 5, easing = SINE_EASING)
//burn any mobs buckled based on temperature
if(has_buckled_mobs())