From 0fe05e27c0d491187e187bfc916ad6eed76ae6d9 Mon Sep 17 00:00:00 2001 From: HappyRoach <117393350+HappyRoach@users.noreply.github.com> Date: Sat, 6 Jun 2026 18:29:16 +0300 Subject: [PATCH] Radiation Outburst Fix (#438) --- .../Events/RadiationOutburstRuleSystem.cs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Content.Server/_Wega/StationEvents/Events/RadiationOutburstRuleSystem.cs b/Content.Server/_Wega/StationEvents/Events/RadiationOutburstRuleSystem.cs index 35b9e18d23..fb5d4f78ed 100644 --- a/Content.Server/_Wega/StationEvents/Events/RadiationOutburstRuleSystem.cs +++ b/Content.Server/_Wega/StationEvents/Events/RadiationOutburstRuleSystem.cs @@ -1,5 +1,4 @@ using Content.Server.StationEvents.Components; -using Content.Server.Construction.Components; using Robust.Shared.Random; using Robust.Shared.Prototypes; using Robust.Shared.Containers; @@ -8,7 +7,6 @@ using Content.Shared.GameTicking.Components; using Content.Shared.Item; using Content.Shared.Mobs.Components; using Content.Shared.Tag; -using Content.Shared.Construction.Components; using Content.Shared.Stacks; using Content.Shared.Ghost; @@ -23,10 +21,6 @@ public sealed partial class RadiationOutburstRuleSystem : StationEventSystem _mobStateQuery; private EntityQuery _ghostQuery; private static readonly ProtoId HighRiskItemTag = "HighRiskItem"; - private static readonly ProtoId OreTag = "Ore"; - private static readonly ProtoId ConstructionMaterialTag = "ConstructionMaterial"; - private static readonly ProtoId RawMaterialTag = "RawMaterial"; - private static readonly ProtoId MaterialsThrophyTag = "MaterialsThrophy"; public override void Initialize() { @@ -58,8 +52,8 @@ public sealed partial class RadiationOutburstRuleSystem : StationEventSystem(targetUid)) continue; // анти педали айтем @@ -101,7 +95,6 @@ public sealed partial class RadiationOutburstRuleSystem : StationEventSystem(target); - // radiationComp.Intensity += rads; пока легенько Dirty(target, radiationComp); Log.Debug($"RadiationOutburst: {target} теперь излучает +{rads} (всего: {radiationComp.Intensity})");