16 lines
512 B
C#
16 lines
512 B
C#
using Content.Shared._RMC14.Attachable.Systems;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared._RMC14.Attachable.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(AttachableToggleableSystem))]
|
|
public sealed partial class AttachableToggleablePreventShootComponent : Component
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public bool ShootWhenActive = true;
|
|
|
|
[DataField, AutoNetworkedField]
|
|
public string Message = "You can't shoot this right now!";
|
|
}
|