Proto-kinetic crusher (#16277)
Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
This commit is contained in:
@@ -79,6 +79,12 @@ public partial class GunComponent : Component
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Whether this gun is shot via the use key or the alt-use key.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("useKey"), AutoNetworkedField]
|
||||
public bool UseKey = true;
|
||||
|
||||
/// <summary>
|
||||
/// Where the gun is being requested to shoot.
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Weapons.Ranged.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that this gun requires wielding to be useable.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class GunRequiresWieldComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using Content.Shared.Timing;
|
||||
using Content.Shared.Weapons.Ranged.Systems;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Weapons.Ranged.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Applies UseDelay whenever the entity shoots.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, Access(typeof(UseDelayOnShootSystem))]
|
||||
public sealed class UseDelayOnShootComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user