Zombie Mode [New Game Mode] (#8501)

Co-authored-by: Kara <lunarautomaton6@gmail.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Nemanja
2022-07-05 23:42:51 -04:00
committed by GitHub
parent ab12345168
commit 836c0bb1c4
43 changed files with 821 additions and 51 deletions

View File

@@ -0,0 +1,25 @@
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>
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 { };