mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +00:00
* Powered stasis bed prevents body decay
* Update following CR comments
* Remove unused import
* Simplify if-statements
* Change implementation following CR suggestions
* Add comment & remove explicit get/set
(cherry picked from commit e97fd47a87)
23 lines
653 B
C#
23 lines
653 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Atmos.Rotting;
|
|
|
|
/// <summary>
|
|
/// Perishable entities buckled to an entity with this component will stop rotting.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class AntiRotOnBuckleComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Does this component require power to function.
|
|
/// </summary>
|
|
[DataField("requiresPower"), ViewVariables(VVAccess.ReadWrite)]
|
|
public bool RequiresPower = true;
|
|
|
|
/// <summary>
|
|
/// Whether this component is active or not.
|
|
/// </summarY>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public bool Enabled = true;
|
|
}
|