From e54195575be0abca75f3c0fb07a7e0a5cffaeb77 Mon Sep 17 00:00:00 2001 From: Pancake Date: Sun, 23 Jan 2022 12:40:27 -0800 Subject: [PATCH] Readjust radiation collectors. (#6255) Co-authored-by: moonheart08 --- .../Singularity/Components/RadiationCollectorComponent.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Content.Server/Singularity/Components/RadiationCollectorComponent.cs b/Content.Server/Singularity/Components/RadiationCollectorComponent.cs index cb48749b24..f0bc6c2c02 100644 --- a/Content.Server/Singularity/Components/RadiationCollectorComponent.cs +++ b/Content.Server/Singularity/Components/RadiationCollectorComponent.cs @@ -33,6 +33,9 @@ namespace Content.Server.Singularity.Components } } + [ViewVariables(VVAccess.ReadWrite)] + public float ChargeModifier = 30000f; + bool IInteractHand.InteractHand(InteractHandEventArgs eventArgs) { var curTime = _gameTiming.CurTime; @@ -67,7 +70,7 @@ namespace Content.Server.Singularity.Components // This still won't stop things being potentially hilarously unbalanced though. if (_entMan.TryGetComponent(Owner, out var batteryComponent)) { - batteryComponent.CurrentCharge += frameTime * radiation.RadsPerSecond * 3000f; + batteryComponent.CurrentCharge += frameTime * radiation.RadsPerSecond * ChargeModifier; } }