Remove kitchen spike component references (#15221)
This commit is contained in:
40
Content.Shared/Kitchen/Components/KitchenSpikeComponent.cs
Normal file
40
Content.Shared/Kitchen/Components/KitchenSpikeComponent.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Kitchen.Components;
|
||||
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[Access(typeof(SharedKitchenSpikeSystem))]
|
||||
public sealed class KitchenSpikeComponent : Component
|
||||
{
|
||||
[DataField("delay")]
|
||||
public float SpikeDelay = 7.0f;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("sound")]
|
||||
public SoundSpecifier SpikeSound = new SoundPathSpecifier("/Audio/Effects/Fluids/splat.ogg");
|
||||
|
||||
public List<string?>? PrototypesToSpawn;
|
||||
|
||||
// TODO: Spiking alive mobs? (Replace with uid) (deal damage to their limbs on spiking, kill on first butcher attempt?)
|
||||
public string MeatSource1p = "?";
|
||||
public string MeatSource0 = "?";
|
||||
public string Victim = "?";
|
||||
|
||||
// Prevents simultaneous spiking of two bodies (could be replaced with CancellationToken, but I don't see any situation where Cancel could be called)
|
||||
public bool InUse;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum KitchenSpikeVisuals : byte
|
||||
{
|
||||
Status
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum KitchenSpikeStatus : byte
|
||||
{
|
||||
Empty,
|
||||
Bloody
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user