Makes tools and welders ECS, add ToolQualityPrototype. (#4741)
This commit is contained in:
committed by
GitHub
parent
f2760d0002
commit
365c7da4dc
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Tools.Components
|
||||
{
|
||||
[NetworkedComponent]
|
||||
public class SharedMultipleToolComponent : Component
|
||||
{
|
||||
public override string Name => "MultipleTool";
|
||||
}
|
||||
|
||||
[NetSerializable, Serializable]
|
||||
public class MultipleToolComponentState : ComponentState
|
||||
{
|
||||
public string QualityName { get; }
|
||||
|
||||
public MultipleToolComponentState(string qualityName)
|
||||
{
|
||||
QualityName = qualityName;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user