23 lines
625 B
C#
23 lines
625 B
C#
using Content.Shared._CP14.ModularCraft.Prototypes;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared._CP14.ModularCraft.Components;
|
|
|
|
[RegisterComponent, Access(typeof(CP14SharedModularCraftSystem))]
|
|
public sealed partial class CP14ModularCraftPartComponent : Component
|
|
{
|
|
[DataField(required: true)]
|
|
public HashSet<ProtoId<CP14ModularCraftPartPrototype>> PossibleParts = new();
|
|
|
|
[DataField]
|
|
public float DoAfter = 1f;
|
|
|
|
/// <summary>
|
|
/// Attaching this piece adds an additional price to the target object.
|
|
/// </summary>
|
|
[DataField]
|
|
public double AddPrice = 5;
|
|
|
|
//TODO: Sound
|
|
}
|