mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
SSair performance improvements (#28271)
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
gender = PLURAL
|
||||
layer = OBJ_LAYER + 0.9
|
||||
animate_movement = NO_STEPS
|
||||
cares_about_temperature = TRUE
|
||||
/// How many times this one bit of foam can spread around itself
|
||||
var/spread_amount = 3
|
||||
/// How long it takes this to initially start spreading after being dispersed
|
||||
@@ -121,7 +122,7 @@
|
||||
/obj/effect/particle_effect/foam/fire_act(datum/gas_mixture/air, exposed_temperature, exposed_volume, global_overlay = TRUE) //Don't heat the reagents inside
|
||||
return
|
||||
|
||||
/obj/effect/particle_effect/foam/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume) // overriden to prevent weird behaviors with heating reagents inside
|
||||
/obj/effect/particle_effect/foam/temperature_expose(exposed_temperature, exposed_volume) // overriden to prevent weird behaviors with heating reagents inside
|
||||
if(prob(max(0, exposed_temperature - 475)))
|
||||
flick("[icon_state]-disolve", src)
|
||||
QDEL_IN(src, 0.5 SECONDS)
|
||||
@@ -155,7 +156,7 @@
|
||||
M.metal = metal_kind
|
||||
M.update_state()
|
||||
|
||||
/obj/effect/particle_effect/foam/metal/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume)
|
||||
/obj/effect/particle_effect/foam/metal/temperature_expose(exposed_temperature, exposed_volume)
|
||||
return
|
||||
|
||||
/obj/effect/particle_effect/foam/metal/on_atom_entered(datum/source, atom/movable/entered)
|
||||
|
||||
Reference in New Issue
Block a user