]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Zombies keep their anomalies on zombification (#33867)
authorPatrik Caes-Sayrs <heartofgoldfish@gmail.com>
Tue, 17 Dec 2024 11:56:47 +0000 (04:56 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Dec 2024 11:56:47 +0000 (14:56 +0300)
commit8f2d16aabf8fd29e077f59099ccbc9f5a5402d4d
tree5d8c3425d7fdf42f58ddd367dfe415adabafbc99
parent67e5cc21048be655436f760f560a9344ac22e6fc
Zombies keep their anomalies on zombification (#33867)

* Zombies keep their anomalies on zombification

* Refactor anombies to isolate anomalies and zombies

InnerBodyAnomalies now send an event when the host dies.
Zombies cancels this event if the host is turning into a zombie.

* Anomazombies: deprecate CancellableEntityEventArgs

CancellableEntityEventArgs is deprecated. Use structs
with bool Cancelled instead.
Content.Server/Anomaly/Effects/InnerBodyAnomalySystem.cs
Content.Server/Zombies/ZombieSystem.cs
Content.Shared/Anomaly/Components/InnerBodyAnomalyComponent.cs