2022-07-29 14:13:12 +12:00
|
|
|
using Robust.Shared.Audio;
|
2023-02-14 00:29:34 +11:00
|
|
|
using Robust.Shared.GameStates;
|
2021-10-03 00:43:47 +01:00
|
|
|
using Robust.Shared.Serialization;
|
2021-02-18 14:49:50 +07:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Shared.Kitchen.Components
|
2021-02-18 14:49:50 +07:00
|
|
|
{
|
2023-02-14 00:29:34 +11:00
|
|
|
[NetworkedComponent]
|
|
|
|
|
public abstract class SharedKitchenSpikeComponent : Component
|
2021-02-18 14:49:50 +07:00
|
|
|
{
|
2021-03-08 21:24:34 +11:00
|
|
|
[DataField("delay")]
|
2022-02-18 15:57:42 -07:00
|
|
|
public float SpikeDelay = 7.0f;
|
2021-03-08 21:24:34 +11:00
|
|
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("sound")]
|
2021-12-26 05:32:01 +03:00
|
|
|
public SoundSpecifier SpikeSound = new SoundPathSpecifier("/Audio/Effects/Fluids/splat.ogg");
|
2021-02-18 14:49:50 +07:00
|
|
|
|
2021-10-03 00:43:47 +01:00
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public enum KitchenSpikeVisuals : byte
|
|
|
|
|
{
|
|
|
|
|
Status
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public enum KitchenSpikeStatus : byte
|
|
|
|
|
{
|
|
|
|
|
Empty,
|
|
|
|
|
Bloody
|
|
|
|
|
}
|
2021-02-18 14:49:50 +07:00
|
|
|
}
|
|
|
|
|
}
|