change components

This commit is contained in:
CaYpeN1
2024-03-22 17:01:21 +05:00
parent 4b79f1e2e0
commit 330b1502be
8 changed files with 3 additions and 8 deletions

View File

@@ -1,11 +0,0 @@
namespace Content.Server._White.WeaponModules;
/// <summary>
/// This is used for...
/// </summary>
[RegisterComponent]
public sealed partial class AcceleratorModuleComponent : Shared._White.WeaponModules.WeaponModulesComponent
{
[ViewVariables(VVAccess.ReadWrite), DataField]
public float OldFireRate;
}

View File

@@ -1,9 +0,0 @@
namespace Content.Server._White.WeaponModules;
/// <summary>
/// This is used for...
/// </summary>
[RegisterComponent]
public sealed partial class FlameHiderModuleComponent : Shared._White.WeaponModules.WeaponModulesComponent
{
}

View File

@@ -1,10 +0,0 @@
namespace Content.Server._White.WeaponModules;
/// <summary>
/// This is used for...
/// </summary>
[RegisterComponent]
public sealed partial class LaserModuleComponent : Shared._White.WeaponModules.WeaponModulesComponent
{
}

View File

@@ -1,11 +0,0 @@
namespace Content.Server._White.WeaponModules;
/// <summary>
/// LightModuleComponent
/// </summary>
[RegisterComponent]
public sealed partial class LightModuleComponent : Shared._White.WeaponModules.WeaponModulesComponent
{
[ViewVariables(VVAccess.ReadWrite)]
public bool Enabled;
}

View File

@@ -1,13 +0,0 @@
using Robust.Shared.Audio;
namespace Content.Server._White.WeaponModules;
/// <summary>
/// This is used for...
/// </summary>
[RegisterComponent]
public sealed partial class SilencerModuleComponent : Shared._White.WeaponModules.WeaponModulesComponent
{
[ViewVariables(VVAccess.ReadWrite), DataField]
public SoundSpecifier? OldSoundGunshot;
}

View File

@@ -1,13 +1,9 @@
using System.Linq;
using Content.Shared._White.Chemistry;
using Content.Shared._White.WeaponModules;
using Content.Shared._White.WeaponModules;
using Content.Shared.Weapons.Ranged.Components;
using Content.Shared.Weapons.Ranged.Events;
using Content.Shared.Weapons.Ranged.Systems;
using Robust.Server.GameObjects;
using Robust.Shared.Audio;
using Robust.Shared.Containers;
using Robust.Shared.Prototypes;
namespace Content.Server._White.WeaponModules;