Merge pull request #11078 from Fox-McCloud/goonchem-reagent-temperature

[Goonchem] Reagent Temperature and Pyrotechnics
This commit is contained in:
variableundefined
2019-03-24 17:50:07 +08:00
committed by GitHub
84 changed files with 744 additions and 343 deletions
@@ -7,6 +7,7 @@
icon_state = "smoke"
density = FALSE
opacity = FALSE
layer = ABOVE_MOB_LAYER
animate_movement = NO_STEPS
var/matrix/first = matrix()
var/matrix/second = matrix()
@@ -84,7 +84,10 @@
// foam disolves when heated
// except metal foams
/obj/effect/particle_effect/foam/temperature_expose(datum/gas_mixture/air, exposed_temperature, exposed_volume)
/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
if(!metal && prob(max(0, exposed_temperature - 475)))
flick("[icon_state]-disolve", src)