Omnitool fixes (#12476)
Fix https://github.com/space-wizards/space-station-14/issues/11203
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
using Content.Shared.Tools;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
namespace Content.Server.MachineLinking.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
@@ -8,5 +12,13 @@ namespace Content.Server.MachineLinking.Components
|
||||
|
||||
[ViewVariables]
|
||||
public EntityUid? SavedReceiver;
|
||||
|
||||
/// <summary>
|
||||
/// Optional tool quality required for linker to work.
|
||||
/// If linker entity doesn't have this quality it will ignore any interaction.
|
||||
/// </summary>
|
||||
[DataField("requiredQuality", customTypeSerializer: typeof(PrototypeIdSerializer<ToolQualityPrototype>))]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public string? RequiredQuality;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user