Files
tbd-station-14/Content.Shared/Zombies/ZombieEvents.cs
Nemanja d55cd23b0a Zombie Mode 𝓡𝓮𝓭𝓾𝔁 (#18199)
* zombie mode redux

* the great zombie changes

* fix this

* 65 down to 50

* empty

* Changes to address stalling

* make zombie nukies no longer nukies

* actually work
2023-07-25 15:31:35 -06:00

27 lines
668 B
C#

using Content.Shared.Actions;
namespace Content.Shared.Zombies;
/// <summary>
/// Event that is broadcast whenever an entity is zombified.
/// Used by the zombie gamemode to track total infections.
/// </summary>
[ByRefEvent]
public readonly struct EntityZombifiedEvent
{
/// <summary>
/// The entity that was zombified.
/// </summary>
public readonly EntityUid Target;
public EntityZombifiedEvent(EntityUid target)
{
Target = target;
}
};
/// <summary>
/// Event raised when a player zombifies themself using the "turn" action
/// </summary>
public sealed class ZombifySelfActionEvent : InstantActionEvent { };