From e4e39cba0afdf47e029926638e25f87c019a4ec5 Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+AnArgonianLizardThatStealsPRs@users.noreply.github.com> Date: Wed, 25 Oct 2023 23:16:44 +0300 Subject: [PATCH] [MIRROR] Add smoke particles to fireplace [MDB IGNORE] (#287) * Add smoke particles to fireplace (#79228) --------- Co-authored-by: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Co-authored-by: Tim --- code/game/objects/effects/particles/smoke.dm | 3 +++ code/game/objects/structures/fireplace.dm | 2 ++ 2 files changed, 5 insertions(+) diff --git a/code/game/objects/effects/particles/smoke.dm b/code/game/objects/effects/particles/smoke.dm index 4f31ffc0869..cd42f702ef9 100644 --- a/code/game/objects/effects/particles/smoke.dm +++ b/code/game/objects/effects/particles/smoke.dm @@ -18,6 +18,9 @@ /particles/smoke/burning position = list(0, 0, 0) +/particles/smoke/burning/fireplace + position = list(0, 29, 0) + /particles/smoke/burning/small spawning = 1 scale = list(0.8, 0.8) diff --git a/code/game/objects/structures/fireplace.dm b/code/game/objects/structures/fireplace.dm index 8c9d09585c9..379e58fb64c 100644 --- a/code/game/objects/structures/fireplace.dm +++ b/code/game/objects/structures/fireplace.dm @@ -167,6 +167,7 @@ fuel_added = 0 update_appearance() adjust_light() + particles = new /particles/smoke/burning/fireplace() /obj/structure/fireplace/proc/put_out() STOP_PROCESSING(SSobj, src) @@ -175,6 +176,7 @@ update_appearance() adjust_light() desc = initial(desc) + QDEL_NULL(particles) #undef LOG_BURN_TIMER #undef PAPER_BURN_TIMER