medical scanner machine upgrading (#12487)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using Content.Shared.Construction.Prototypes;
|
||||
using Content.Shared.DragDrop;
|
||||
using Content.Shared.MedicalScanner;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.Medical.Components
|
||||
{
|
||||
@@ -11,6 +13,15 @@ namespace Content.Server.Medical.Components
|
||||
public ContainerSlot BodyContainer = default!;
|
||||
public EntityUid? ConnectedConsole;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public float CloningFailChanceMultiplier = 1f;
|
||||
|
||||
[DataField("machinePartCloningFailChance", customTypeSerializer: typeof(PrototypeIdSerializer<MachinePartPrototype>))]
|
||||
public string MachinePartCloningFailChance = "ScanningModule";
|
||||
|
||||
[DataField("partRatingCloningFailChanceMultiplier")]
|
||||
public float PartRatingFailMultiplier = 0.75f;
|
||||
|
||||
// ECS this out!, when DragDropSystem and InteractionSystem refactored
|
||||
public override bool DragDropOn(DragDropEvent eventArgs)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user