[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
(56f7ac0c0a) 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
(1879e2d338)

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>
This commit is contained in:
SkyratBot
2022-05-28 13:54:31 +01:00
committed by GitHub
co-authored by LemonInTheDark
parent 07dbad1e83
commit a3c0819e80
3 changed files with 4 additions and 2 deletions
@@ -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
@@ -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)
@@ -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)