CatStation/Content.Shared/Atmos/Rotting/RotIntoComponent.cs
deltanedas cf7fde3d62
Big prototype and datafield cleanup (#45202)
* giant protoid cleanup

* yml changes

* !

---------

Co-authored-by: deltanedas <@deltanedas:goida.zip>
2026-08-12 02:07:22 +00:00

25 lines
664 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Atmos.Rotting;
/// <summary>
/// Lets an entity rot into another entity.
/// Used by raw meat to turn into rotten meat.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class RotIntoComponent : Component
{
/// <summary>
/// Entity to rot into.
/// </summary>
[DataField(required: true)]
public EntProtoId Entity;
/// <summary>
/// Rotting stage to turn at, this is a multiplier of the total rot time.
/// 0 = rotting, 1 = bloated, 2 = extremely bloated
/// </summary>
[DataField]
public int Stage;
}