using Content.Shared.Storage;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Content.Shared.Tools.Systems;
namespace Content.Shared.Tools.Components;
///
/// Used for something that can be refined by welder.
/// For example, glass shard can be refined to glass sheet.
///
[RegisterComponent, NetworkedComponent, Access(typeof(ToolRefinablSystem))]
public sealed partial class ToolRefinableComponent : 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 = 3f;
///
/// The tool type needed in order to refine this item.
///
[DataField]
public ProtoId QualityNeeded = "Welding";
}