2024-01-27 15:19:52 +03:00
|
|
|
|
using Content.Shared.Containers.ItemSlots;
|
|
|
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
|
|
|
|
|
|
2024-01-29 01:02:37 +07:00
|
|
|
|
namespace Content.Shared._White.Cult.Components;
|
2024-01-27 15:19:52 +03:00
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
|
public sealed partial class ConstructShellComponent : Component
|
|
|
|
|
|
{
|
|
|
|
|
|
[DataField("shardSlot", required: true)]
|
|
|
|
|
|
public ItemSlot ShardSlot = new();
|
|
|
|
|
|
|
|
|
|
|
|
public readonly string ShardSlotId = "Shard";
|
|
|
|
|
|
|
|
|
|
|
|
[DataField("constructForms", customTypeSerializer: typeof(PrototypeIdListSerializer<EntityPrototype>))]
|
|
|
|
|
|
public List<string> ConstructForms = new();
|
|
|
|
|
|
}
|