Remove redundant read-only VV from datafields (#12626)

This commit is contained in:
DrSmugleaf
2022-11-16 20:22:11 +01:00
committed by GitHub
parent fb892cb374
commit 7fbc2608e8
179 changed files with 171 additions and 462 deletions

View File

@@ -1,6 +1,6 @@
using Content.Shared.Storage;
using System.Threading;
using Content.Shared.Construction.Prototypes;
using Content.Shared.Storage;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
@@ -64,7 +64,7 @@ namespace Content.Server.Medical.BiomassReclaimer
/// <summary>
/// The base yield per mass unit when no components are upgraded.
/// </summary>
[ViewVariables, DataField("baseYieldPerUnitMass")]
[DataField("baseYieldPerUnitMass")]
public float BaseYieldPerUnitMass = 0.4f;
/// <summary>
@@ -90,7 +90,7 @@ namespace Content.Server.Medical.BiomassReclaimer
/// The base time per mass unit that it takes to process a mob
/// when no components are upgraded.
/// </summary>
[ViewVariables, DataField("baseProcessingTimePerUnitMass")]
[DataField("baseProcessingTimePerUnitMass")]
public float BaseProcessingTimePerUnitMass = 0.5f;
/// <summary>
@@ -103,7 +103,7 @@ namespace Content.Server.Medical.BiomassReclaimer
/// How much the machine part quality affects the yield.
/// Going up a tier will multiply the speed by this amount.
/// </summary>
[ViewVariables, DataField("partRatingSpeedMultiplier")]
[DataField("partRatingSpeedMultiplier")]
public float PartRatingSpeedMultiplier = 1.35f;
/// <summary>

View File

@@ -1,7 +1,7 @@
using System.Threading;
using Content.Server.UserInterface;
using Content.Shared.MedicalScanner;
using Content.Shared.Disease;
using Content.Shared.MedicalScanner;
using Robust.Server.GameObjects;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
@@ -18,7 +18,6 @@ namespace Content.Server.Medical.Components
/// How long it takes to scan someone.
/// </summary>
[DataField("scanDelay")]
[ViewVariables]
public float ScanDelay = 0.8f;
/// <summary>
/// Token for interrupting scanning do after.