mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Increases temp threshold and reduces animation time for HE pipes (#30314)
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user