2021-10-07 13:01:27 +02:00
|
|
|
using Content.Shared.Tools;
|
2024-04-19 19:20:30 -04:00
|
|
|
using Robust.Shared.Prototypes;
|
2020-11-22 07:05:30 +03:00
|
|
|
|
2024-04-19 19:20:30 -04:00
|
|
|
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
|
2020-11-22 07:05:30 +03:00
|
|
|
{
|
2024-04-19 19:20:30 -04:00
|
|
|
[DataField]
|
|
|
|
|
public HashSet<EntProtoId>? RefineResult = new();
|
|
|
|
|
|
|
|
|
|
[DataField]
|
|
|
|
|
public float RefineTime = 2f;
|
2021-10-07 13:01:27 +02:00
|
|
|
|
2024-04-19 19:20:30 -04:00
|
|
|
[DataField]
|
|
|
|
|
public float RefineFuel;
|
2020-11-22 07:05:30 +03:00
|
|
|
|
2024-04-19 19:20:30 -04:00
|
|
|
[DataField]
|
|
|
|
|
public ProtoId<ToolQualityPrototype> QualityNeeded = "Welding";
|
2020-11-22 07:05:30 +03:00
|
|
|
}
|