remove a bunch of instances of component reference (#13164)
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
using Content.Shared.Configurable;
|
||||
using Content.Shared.Tools;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.Configurable;
|
||||
|
||||
[RegisterComponent]
|
||||
[ComponentReference(typeof(SharedConfigurationComponent))]
|
||||
public sealed class ConfigurationComponent : SharedConfigurationComponent
|
||||
{
|
||||
[DataField("config")]
|
||||
public readonly Dictionary<string, string> Config = new();
|
||||
|
||||
[DataField("qualityNeeded", customTypeSerializer: typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
|
||||
public string QualityNeeded = "Pulsing";
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
using Content.Shared.Configurable;
|
||||
using Content.Shared.Interaction;
|
||||
using Content.Shared.Tools.Components;
|
||||
using Robust.Server.GameObjects;
|
||||
using Robust.Shared.Containers;
|
||||
using static Content.Shared.Configurable.SharedConfigurationComponent;
|
||||
using static Content.Shared.Configurable.ConfigurationComponent;
|
||||
|
||||
namespace Content.Server.Configurable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user