mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
This reverts commit c0acf193a0.
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user