Remove diseases (#15684)
This commit is contained in:
23
Content.Server/Zombies/PendingZombieComponent.cs
Normal file
23
Content.Server/Zombies/PendingZombieComponent.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
|
||||
namespace Content.Server.Zombies;
|
||||
|
||||
/// <summary>
|
||||
/// Temporary because diseases suck.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class PendingZombieComponent : Component
|
||||
{
|
||||
[DataField("damage")] public DamageSpecifier Damage = new()
|
||||
{
|
||||
DamageDict = new Dictionary<string, FixedPoint2>()
|
||||
{
|
||||
{ "Blunt", FixedPoint2.New(1) }
|
||||
}
|
||||
};
|
||||
|
||||
[DataField("nextTick", customTypeSerializer:typeof(TimeOffsetSerializer))]
|
||||
public TimeSpan NextTick;
|
||||
}
|
||||
Reference in New Issue
Block a user