From a3c0819e8091ab99a5ab8f53b59c4687e5b2f2cf Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 28 May 2022 14:54:31 +0200 Subject: [PATCH] [MIRROR] Removes (in) smoke and foam reactions [MDB IGNORE] (#13963) * Removes (in) smoke and foam reactions (#67270) * Removes smoke and foam reactions Turns out when you let reagents react in foam/smoke, people put bombs in them. This behavior was initially added to just smoke, accidentially in (56f7ac0c0a29e8f898c4aab35947d027952b43f7) accidentialy (thalpy tried to make both foam and smoke instant react, but instead made smoke's temporary holder reagent instant instead. hhhhhhh) Assuming this was intentional it was then extended to foam in (1879e2d338c9bf5f191cef6c39944b26a41e6092) Basically, we're idiots. Anyway lets just walk this all back to instant reaction on smoke/foam formation. Hate you people * Removes another source of gunpowder smoke Temporal told me about this. Gunpowder uses an ex_act signal as a starter, and that also counts for smoke objects. Really don't want instant detonation smoke bombs, so let's just... not shall we? * Removes (in) smoke and foam reactions Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> --- .../objects/effects/effect_system/fluid_spread/_fluid_spread.dm | 2 ++ .../objects/effects/effect_system/fluid_spread/effects_foam.dm | 2 +- .../objects/effects/effect_system/fluid_spread/effects_smoke.dm | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/game/objects/effects/effect_system/fluid_spread/_fluid_spread.dm b/code/game/objects/effects/effect_system/fluid_spread/_fluid_spread.dm index 1e1df733396..9f9929f53c9 100644 --- a/code/game/objects/effects/effect_system/fluid_spread/_fluid_spread.dm +++ b/code/game/objects/effects/effect_system/fluid_spread/_fluid_spread.dm @@ -90,6 +90,8 @@ var/tmp/spread_bucket /obj/effect/particle_effect/fluid/Initialize(mapload, datum/fluid_group/group, obj/effect/particle_effect/fluid/source) + // We don't pass on explosions. Don't wanna set off a chain reaction in our reagents + flags_1 |= PREVENT_CONTENTS_EXPLOSION_1 . = ..() if(!group) group = source?.group || new diff --git a/code/game/objects/effects/effect_system/fluid_spread/effects_foam.dm b/code/game/objects/effects/effect_system/fluid_spread/effects_foam.dm index 90451a5b0ae..f9934409462 100644 --- a/code/game/objects/effects/effect_system/fluid_spread/effects_foam.dm +++ b/code/game/objects/effects/effect_system/fluid_spread/effects_foam.dm @@ -38,7 +38,7 @@ /obj/effect/particle_effect/fluid/foam/Initialize(mapload) . = ..() - create_reagents(1000) + create_reagents(1000, REAGENT_HOLDER_INSTANT_REACT) playsound(src, 'sound/effects/bubbles2.ogg', 80, TRUE, -3) AddElement(/datum/element/atmos_sensitive, mapload) SSfoam.start_processing(src) diff --git a/code/game/objects/effects/effect_system/fluid_spread/effects_smoke.dm b/code/game/objects/effects/effect_system/fluid_spread/effects_smoke.dm index f25d99d295c..f4caa15e4f3 100644 --- a/code/game/objects/effects/effect_system/fluid_spread/effects_smoke.dm +++ b/code/game/objects/effects/effect_system/fluid_spread/effects_smoke.dm @@ -22,7 +22,7 @@ /obj/effect/particle_effect/fluid/smoke/Initialize(mapload, datum/fluid_group/group, ...) . = ..() - create_reagents(1000) + create_reagents(1000, REAGENT_HOLDER_INSTANT_REACT) setDir(pick(GLOB.cardinals)) AddElement(/datum/element/connect_loc, loc_connections) SSsmoke.start_processing(src)