From: Prole <172158352+Prole0@users.noreply.github.com> Date: Wed, 20 Aug 2025 23:35:38 +0000 (-0700) Subject: Moving Zombie Components to Shared (#39791) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=f78280501a1757e7c6f124d1efc1bc7c2e470767;p=space-station-14.git Moving Zombie Components to Shared (#39791) * Moving Comps to Shared * Requested Changes --- diff --git a/Content.Server/Zombies/ZombifyOnDeathComponent.cs b/Content.Server/Zombies/ZombifyOnDeathComponent.cs deleted file mode 100644 index dff17c4613..0000000000 --- a/Content.Server/Zombies/ZombifyOnDeathComponent.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Content.Server.Zombies -{ - [RegisterComponent] - public sealed partial class ZombifyOnDeathComponent : Component - { - //this is not the component you are looking for - } -} diff --git a/Content.Server/Zombies/ZombieImmuneComponent.cs b/Content.Shared/Zombies/ZombieImmuneComponent.cs similarity index 60% rename from Content.Server/Zombies/ZombieImmuneComponent.cs rename to Content.Shared/Zombies/ZombieImmuneComponent.cs index 76a8ab9e67..18ad228363 100644 --- a/Content.Server/Zombies/ZombieImmuneComponent.cs +++ b/Content.Shared/Zombies/ZombieImmuneComponent.cs @@ -1,9 +1,11 @@ -namespace Content.Server.Zombies; +using Robust.Shared.GameStates; + +namespace Content.Shared.Zombies; /// /// Entities with this component cannot be zombified. /// -[RegisterComponent] +[RegisterComponent, NetworkedComponent] public sealed partial class ZombieImmuneComponent : Component { //still no diff --git a/Content.Shared/Zombies/ZombifyOnDeathComponent.cs b/Content.Shared/Zombies/ZombifyOnDeathComponent.cs new file mode 100644 index 0000000000..138ea6e409 --- /dev/null +++ b/Content.Shared/Zombies/ZombifyOnDeathComponent.cs @@ -0,0 +1,12 @@ +using Robust.Shared.GameStates; + +namespace Content.Shared.Zombies; + +/// +/// Entities with this component zombify on death. +/// +[RegisterComponent, NetworkedComponent] +public sealed partial class ZombifyOnDeathComponent : Component +{ + //this is not the component you are looking for +}