2021-08-21 09:18:23 +02:00
|
|
|
using Content.Shared.Nutrition.EntitySystems;
|
2022-07-29 14:13:12 +12:00
|
|
|
using Robust.Shared.Audio;
|
2021-08-21 09:18:23 +02:00
|
|
|
|
|
|
|
|
namespace Content.Shared.Nutrition.Components
|
|
|
|
|
{
|
2022-06-07 15:26:28 +02:00
|
|
|
[Access(typeof(SharedCreamPieSystem))]
|
2021-08-21 09:18:23 +02:00
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class CreamPieComponent : Component
|
2021-08-21 09:18:23 +02:00
|
|
|
{
|
|
|
|
|
[DataField("paralyzeTime")]
|
2023-08-22 18:14:33 -07:00
|
|
|
public float ParalyzeTime { get; private set; } = 1f;
|
2021-08-21 09:18:23 +02:00
|
|
|
|
|
|
|
|
[DataField("sound")]
|
2023-08-22 18:14:33 -07:00
|
|
|
public SoundSpecifier Sound { get; private set; } = new SoundCollectionSpecifier("desecration");
|
2021-08-21 09:18:23 +02:00
|
|
|
|
|
|
|
|
[ViewVariables]
|
|
|
|
|
public bool Splatted { get; set; } = false;
|
2023-02-05 23:07:51 +03:00
|
|
|
|
|
|
|
|
public const string PayloadSlotName = "payloadSlot";
|
2021-08-21 09:18:23 +02:00
|
|
|
}
|
|
|
|
|
}
|