mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Merge pull request #11078 from Fox-McCloud/goonchem-reagent-temperature
[Goonchem] Reagent Temperature and Pyrotechnics
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user