using Content.Shared.Storage;
using Content.Shared.Tools;
using Robust.Shared.Prototypes;
namespace Content.Server.Construction.Components;
///
/// Used for something that can be refined by welder.
/// For example, glass shard can be refined to glass sheet.
///
[RegisterComponent, Access(typeof(RefiningSystem))]
public sealed partial class WelderRefinableComponent : Component
{
///
/// The items created when the item is refined.
///
[DataField(required: true)]
public List RefineResult = new();
///
/// The amount of time it takes to refine a given item.
///
[DataField]
public float RefineTime = 2f;
///
/// The amount of fuel it takes to refine a given item.
///
[DataField]
public float RefineFuel;
///
/// The tool type needed in order to refine this item.
///
[DataField]
public ProtoId QualityNeeded = "Welding";
}