Files
tbd-station-14/Content.Server/Construction/Components/WelderRefinableComponent.cs
Nemanja a47c5561a9 add fuel costs back to finishing welding (#27030)
* add fuel costs back to welding

* ack

* meh

* eek!
2024-04-19 19:20:30 -04:00

25 lines
596 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;
[DataField]
public ProtoId<ToolQualityPrototype> QualityNeeded = "Welding";
}