change components
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ namespace Content.Shared._White.WeaponModules;
|
||||
|
||||
public abstract class SharedWeaponModulesSystem : EntitySystem
|
||||
{
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
SubscribeLocalEvent<WeaponModulesComponent, GunMuzzleFlashAttemptEvent>(OnMuzzleFlashEvent);
|
||||
|
||||
@@ -6,13 +6,13 @@ namespace Content.Shared._White.WeaponModules;
|
||||
/// <summary>
|
||||
/// Base Module Component
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public partial class WeaponModulesComponent : Component
|
||||
{
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField]
|
||||
public List<EntityUid> Modules = new();
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField, AutoNetworkedField]
|
||||
[ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
|
||||
public bool UseEffect;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user