Files
tbd-station-14/Content.Shared/Nutrition/Components/CreamPieComponent.cs
Vera Aguilera Puerto c5f7c61041 Fix some friend access violations by allowing others access. (#8594)
Rename Friend attribute to Access attribute.
Updates submodule to v0.21.0.0 as well.
2022-06-07 11:30:27 +02:00

22 lines
590 B
C#

using Content.Shared.Nutrition.EntitySystems;
using Content.Shared.Sound;
namespace Content.Shared.Nutrition.Components
{
[Access(typeof(SharedCreamPieSystem))]
[RegisterComponent]
public sealed class CreamPieComponent : Component
{
[ViewVariables]
[DataField("paralyzeTime")]
public float ParalyzeTime { get; } = 1f;
[ViewVariables]
[DataField("sound")]
public SoundSpecifier Sound { get; } = new SoundCollectionSpecifier("desecration");
[ViewVariables]
public bool Splatted { get; set; } = false;
}
}