using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
namespace Content.Shared.Tools.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class WeldableComponent : Component
{
/// <summary>
/// Tool quality for welding.
/// </summary>
[DataField]
public ProtoId<ToolQualityPrototype> WeldingQuality = "Welding";
/// How much time does it take to weld/unweld entity.
[DataField, AutoNetworkedField]
public TimeSpan Time = TimeSpan.FromSeconds(1f);
/// How much fuel does it take to weld/unweld entity.
public float Fuel = 3f;
/// Shown when welded entity is examined.
public LocId? WeldedExamineMessage = "weldable-component-examine-is-welded";
/// Is this entity currently welded shut?
public bool IsWelded;
}
[Serializable, NetSerializable]
public enum WeldableVisuals : byte
IsWelded
public enum WeldableLayers : byte
BaseWelded