Files
crystall-punk-14/Content.Server/_CP14/MapDamage/CP14MapDamageComponent.cs

25 lines
554 B
C#
Raw Normal View History

using Content.Shared.Damage;
using Content.Shared.FixedPoint;
namespace Content.Server._CP14.MapDamage;
/// <summary>
/// The map deals damage to entities that are on it (not on the grid)
/// </summary>
[RegisterComponent]
public sealed partial class CP14MapDamageComponent : Component
{
//Damage every second
[DataField]
public DamageSpecifier Damage = new()
{
DamageDict = new Dictionary<string, FixedPoint2>()
{
{"Asphyxiation", 5}
}
};
[DataField]
public float StaminaDamage = 7f;
}