Converts most common particle sources to use our new pooling system (#88048)

## About The Pull Request

Closes #83370
Converted most cases where we could benefit from using shared particles
(aka when there's probably more than 3 uses of that particle in a round)
to use the new shared particle system. Should provide significant
clientside performance in particle-heavy areas like botany (or sometimes
kitchen)

## Changelog
🆑
refactor: Converted most common particle sources to use our new pooling
system.
/🆑
This commit is contained in:
SmArtKar
2024-11-21 18:16:12 +01:00
committed by GitHub
parent fac6f1cfff
commit 742729fa0a
16 changed files with 125 additions and 101 deletions
+5 -1
View File
@@ -817,7 +817,11 @@
/obj/item/drake_remains/Initialize(mapload)
. = ..()
particles = new /particles/bonfire()
add_shared_particles(/particles/bonfire)
/obj/item/drake_remains/Destroy(force)
remove_shared_particles(/particles/bonfire)
return ..()
/obj/item/clothing/glasses/godeye
name = "eye of god"