using Content.Shared.Chemistry.Components; using Content.Shared.Chemistry.Reagent; using Content.Shared.FixedPoint; using Content.Shared.Tools.Components; using Robust.Shared.Audio; using Robust.Shared.Prototypes; namespace Content.Server.Tools.Components { [RegisterComponent] public sealed partial class WelderComponent : SharedWelderComponent { /// /// Name of . /// [DataField("fuelSolution"), ViewVariables(VVAccess.ReadWrite)] public string FuelSolutionName = "Welder"; /// /// Solution on the entity that contains the fuel. /// [DataField("fuelSolutionRef")] public Entity? FuelSolution = null; /// /// Reagent that will be used as fuel for welding. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public ProtoId FuelReagent = "WeldingFuel"; /// /// Fuel consumption per second while the welder is active. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public FixedPoint2 FuelConsumption = FixedPoint2.New(2.0f); /// /// A fuel amount to be consumed when the welder goes from being unlit to being lit. /// [DataField, ViewVariables(VVAccess.ReadWrite)] public FixedPoint2 FuelLitCost = FixedPoint2.New(0.5f); /// /// Sound played when refilling the welder. /// [DataField] public SoundSpecifier WelderRefill = new SoundPathSpecifier("/Audio/Effects/refill.ogg"); /// /// Whether the item is safe to refill while lit without exploding the tank. /// [DataField] public bool TankSafe = false; //I have no idea what I'm doing } }