mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
25 lines
664 B
C#
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;
|
|
}
|