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
{
///
/// Tool quality for welding.
///
[DataField]
public ProtoId 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.
///
[DataField]
public float Fuel = 3f;
///
/// Shown when welded entity is examined.
///
[DataField]
public LocId? WeldedExamineMessage = "weldable-component-examine-is-welded";
///
/// Is this entity currently welded shut?
///
[DataField, AutoNetworkedField]
public bool IsWelded;
}
[Serializable, NetSerializable]
public enum WeldableVisuals : byte
{
IsWelded
}
[Serializable, NetSerializable]
public enum WeldableLayers : byte
{
BaseWelded
}