Files
OldThink/Content.Server/Kitchen/Components/KitchenSpikeComponent.cs

27 lines
985 B
C#
Raw Normal View History

2021-12-26 05:32:01 +03:00
using Content.Server.Kitchen.EntitySystems;
2021-06-09 22:19:39 +02:00
using Content.Shared.DragDrop;
using Content.Shared.Kitchen.Components;
2021-06-09 22:19:39 +02:00
namespace Content.Server.Kitchen.Components
{
[RegisterComponent, Access(typeof(KitchenSpikeSystem))]
public sealed class KitchenSpikeComponent : SharedKitchenSpikeComponent
{
public List<string>? PrototypesToSpawn;
2021-12-08 17:17:12 +01:00
// TODO: Spiking alive mobs? (Replace with uid) (deal damage to their limbs on spiking, kill on first butcher attempt?)
2021-12-26 05:32:01 +03:00
public string MeatSource1p = "?";
public string MeatSource0 = "?";
public string Victim = "?";
2021-12-26 05:32:01 +03:00
// 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;
2021-12-26 05:32:01 +03:00
// ECS this out!, when DragDropSystem and InteractionSystem refactored
public override bool DragDropOn(DragDropEvent eventArgs)
{
return true;
}
}
}