Add WelderComponent back
This commit is contained in:
@@ -25,17 +25,23 @@ namespace Content.Shared.GameObjects.Components.Interactable
|
||||
[NetSerializable, Serializable]
|
||||
public class ToolComponentState : ComponentState
|
||||
{
|
||||
public float FuelCapacity { get; }
|
||||
public float Fuel { get; }
|
||||
public bool Activated { get; }
|
||||
public Tool Behavior { get; }
|
||||
|
||||
public ToolComponentState(Tool behavior) : base(ContentNetIDs.TOOL)
|
||||
{
|
||||
Behavior = behavior;
|
||||
}
|
||||
}
|
||||
|
||||
public ToolComponentState(float fuelCapacity, float fuel, bool activated) : base(ContentNetIDs.TOOL)
|
||||
[NetSerializable, Serializable]
|
||||
public class WelderComponentState : ComponentState
|
||||
{
|
||||
public float FuelCapacity { get; }
|
||||
public float Fuel { get; }
|
||||
public bool Activated { get; }
|
||||
public Tool Behavior { get; }
|
||||
|
||||
public WelderComponentState(float fuelCapacity, float fuel, bool activated) : base(ContentNetIDs.WELDER)
|
||||
{
|
||||
FuelCapacity = fuelCapacity;
|
||||
Fuel = fuel;
|
||||
|
||||
@@ -37,12 +37,13 @@
|
||||
public const uint HUMANOID_APPEARANCE = 1032;
|
||||
public const uint INSTRUMENTS = 1033;
|
||||
public const uint TOOL = 1034;
|
||||
public const uint STACK = 1035;
|
||||
public const uint HANDHELD_LIGHT = 1036;
|
||||
public const uint PAPER = 1037;
|
||||
public const uint REAGENT_INJECTOR = 1038;
|
||||
public const uint GHOST = 1039;
|
||||
public const uint MICROWAVE = 1040;
|
||||
public const uint GRAVITY_GENERATOR = 1041;
|
||||
public const uint WELDER = 1035;
|
||||
public const uint STACK = 1036;
|
||||
public const uint HANDHELD_LIGHT = 1037;
|
||||
public const uint PAPER = 1038;
|
||||
public const uint REAGENT_INJECTOR = 1039;
|
||||
public const uint GHOST = 1040;
|
||||
public const uint MICROWAVE = 1041;
|
||||
public const uint GRAVITY_GENERATOR = 1042;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user