Files
OldThink/Content.Server/Construction/Components/WelderRefinableComponent.cs

25 lines
632 B
C#

using Content.Shared.Tools;
using Robust.Shared.Prototypes;
namespace Content.Server.Construction.Components;
/// <summary>
/// Used for something that can be refined by welder.
/// For example, glass shard can be refined to glass sheet.
/// </summary>
[RegisterComponent]
public sealed partial class WelderRefinableComponent : Component
{
[DataField]
public HashSet<EntProtoId>? RefineResult = new();
[DataField]
public float RefineTime = 2f;
[DataField]
public float RefineFuel = 3f; // WD ahead of wizden upstream
[DataField]
public ProtoId<ToolQualityPrototype> QualityNeeded = "Welding";
}