Revert "Make hotspots go out easier. (#29805)" (#30136)

This reverts commit c0acf193a0.
This commit is contained in:
Mason
2025-09-19 14:22:52 -07:00
committed by GitHub
parent 0a50f63fda
commit 9eb7618a3f
8 changed files with 6 additions and 65 deletions
-3
View File
@@ -111,9 +111,6 @@
/proc/create_hotspot(turf/T, hotspot_temperature, hotspot_volume)
return RUSTLIB_CALL(milla_create_hotspot, T, hotspot_temperature, hotspot_volume)
/proc/extinguish_hotspot(turf/T)
RUSTLIB_CALL(milla_extinguish_hotspot, T)
/proc/track_pressure_tiles(atom/A, radius)
var/turf/T = get_turf(A)
if(istype(T))
+3 -4
View File
@@ -75,16 +75,15 @@
if(!found)
return
var/datum/milla_safe/quench/milla = new()
var/datum/milla_safe/turf_cool/milla = new()
milla.invoke_async(src, delta, divisor)
/datum/milla_safe/quench
/datum/milla_safe/turf_cool
/datum/milla_safe/quench/on_run(turf/T, delta, divisor)
/datum/milla_safe/turf_cool/on_run(turf/T, delta, divisor)
var/datum/gas_mixture/air = get_turf_air(T)
air.set_temperature(max(min(air.temperature()-delta * divisor,air.temperature() / divisor), TCMB))
air.react()
extinguish_hotspot(T)
/*
* Makes a turf slippery using the given parameters