mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
[MIRROR] [NO GBP] Fix fireplace smoke particles to work properly with all directions [MDB IGNORE] (#24744)
* [NO GBP] Fix fireplace smoke particles to work properly with all directions (#79417) ## About The Pull Request I wasn't aware we had different icon dir states for fireplaces. Although it seems that no icon state exists for `NORTH` dir fireplaces. Fixes https://github.com/Skyrat-SS13/Skyrat-tg/issues/24626 ## Why It's Good For The Game  ## Changelog 🆑 fix: Fix fireplace smoke particles to work properly with all directions /🆑 * [NO GBP] Fix fireplace smoke particles to work properly with all directions --------- Co-authored-by: Tim <timothymtorres@gmail.com>
This commit is contained in:
@@ -18,9 +18,6 @@
|
||||
/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)
|
||||
|
||||
@@ -167,7 +167,17 @@
|
||||
fuel_added = 0
|
||||
update_appearance()
|
||||
adjust_light()
|
||||
particles = new /particles/smoke/burning/fireplace()
|
||||
particles = new /particles/smoke/burning()
|
||||
|
||||
switch(dir)
|
||||
if(SOUTH)
|
||||
particles.position = list(0, 29, 0)
|
||||
if(EAST)
|
||||
particles.position = list(-20, 9, 0)
|
||||
if(WEST)
|
||||
particles.position = list(20, 9, 0)
|
||||
if(NORTH) // there is no icon state for SOUTH
|
||||
QDEL_NULL(particles)
|
||||
|
||||
/obj/structure/fireplace/proc/put_out()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
|
||||
Reference in New Issue
Block a user