From 37eeca7a2ab758cd93d271b32dbe6e0b86944c5b Mon Sep 17 00:00:00 2001 From: Stop-Signs Date: Tue, 12 Nov 2024 09:18:48 -0600 Subject: [PATCH] Reviewed Changes --- Content.Server/Weapons/Ranged/Systems/GunSystem.cs | 4 ++-- Content.Shared/Weapons/Ranged/HitscanPrototype.cs | 2 +- .../Entities/Objects/Weapons/Guns/Projectiles/hitscan.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Content.Server/Weapons/Ranged/Systems/GunSystem.cs b/Content.Server/Weapons/Ranged/Systems/GunSystem.cs index a4ececc251c..a9e435990ff 100644 --- a/Content.Server/Weapons/Ranged/Systems/GunSystem.cs +++ b/Content.Server/Weapons/Ranged/Systems/GunSystem.cs @@ -4,7 +4,7 @@ using Content.Server.Interaction; using Content.Server.Power.EntitySystems; using Content.Server.Stunnable; -using Content.Server.Temperature.Systems; +using Content.Server.Temperature.Systems;// DeltaV Heat Change system using Content.Server.Weapons.Ranged.Components; using Content.Shared.Damage; using Content.Shared.Damage.Systems; @@ -41,7 +41,7 @@ public sealed partial class GunSystem : SharedGunSystem [Dependency] private readonly StaminaSystem _stamina = default!; [Dependency] private readonly StunSystem _stun = default!; [Dependency] private readonly SharedContainerSystem _container = default!; - [Dependency] private readonly TemperatureSystem _temperature = default!; + [Dependency] private readonly TemperatureSystem _temperature = default!; // DeltaV Heat change system private const float DamagePitchVariation = 0.05f; public const float GunClumsyChance = 0.5f; diff --git a/Content.Shared/Weapons/Ranged/HitscanPrototype.cs b/Content.Shared/Weapons/Ranged/HitscanPrototype.cs index ad3dac1a734..53218254959 100644 --- a/Content.Shared/Weapons/Ranged/HitscanPrototype.cs +++ b/Content.Shared/Weapons/Ranged/HitscanPrototype.cs @@ -19,7 +19,7 @@ public sealed partial class HitscanPrototype : IPrototype, IShootable /// /// DeltaV: Changes the target's temperature by this amount when hit. /// - [ViewVariables(VVAccess.ReadWrite), DataField("heatChange")] + [DataField] public float HeatChange; [ViewVariables(VVAccess.ReadWrite), DataField("damage")] diff --git a/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Guns/Projectiles/hitscan.yml b/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Guns/Projectiles/hitscan.yml index 70bbb23dcb6..496637f3186 100644 --- a/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Guns/Projectiles/hitscan.yml +++ b/Resources/Prototypes/DeltaV/Entities/Objects/Weapons/Guns/Projectiles/hitscan.yml @@ -28,4 +28,4 @@ impactFlash: sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi state: impact_omni - heatChange: -50000 \ No newline at end of file + heatChange: -50000