2021-12-26 05:32:01 +03:00
|
|
|
using Content.Server.Kitchen.EntitySystems;
|
2021-06-09 22:19:39 +02:00
|
|
|
using Content.Shared.Kitchen.Components;
|
2020-09-26 14:28:55 +01:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Server.Kitchen.Components
|
2020-09-26 14:28:55 +01:00
|
|
|
{
|
2023-02-14 00:29:34 +11:00
|
|
|
[RegisterComponent, Access(typeof(KitchenSpikeSystem)), ComponentReference(typeof(SharedKitchenSpikeComponent))]
|
2022-05-12 05:05:16 -07:00
|
|
|
public sealed class KitchenSpikeComponent : SharedKitchenSpikeComponent
|
2020-09-26 14:28:55 +01:00
|
|
|
{
|
2022-08-05 23:16:17 -04:00
|
|
|
public List<string?>? PrototypesToSpawn;
|
2021-12-08 17:17:12 +01:00
|
|
|
|
2022-02-16 00:23:23 -07: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 = "?";
|
2022-03-28 09:58:13 -07:00
|
|
|
public string Victim = "?";
|
2020-09-26 14:28:55 +01:00
|
|
|
|
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;
|
2020-09-26 14:28:55 +01:00
|
|
|
}
|
|
|
|
|
}
|