Delta-v/Content.Shared/_DV/Surgery/SurgeryCleansDirtComponent.cs

30 lines
739 B
C#

using Content.Shared.FixedPoint;
using Robust.Shared.GameStates;
namespace Content.Shared._DV.Surgery;
/// <summary>
/// For items that can clean up surgical dirtiness
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class SurgeryCleansDirtComponent : Component
{
/// <summary>
/// How long it takes to wipe prints/blood/etc. off of things using this entity
/// </summary>
[DataField]
public float CleanDelay = 4.0f;
/// <summary>
/// How much dirt is removed per clean
/// </summary>
[DataField]
public FixedPoint2 DirtAmount = 5.0;
/// <summary>
/// How many DNAs are removed per clean
/// </summary>
[DataField]
public int DnaAmount = 1;
}