Add tether gun (#16430)
This commit is contained in:
16
Content.Shared/Weapons/Misc/TetheredComponent.cs
Normal file
16
Content.Shared/Weapons/Misc/TetheredComponent.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Weapons.Misc;
|
||||
|
||||
/// <summary>
|
||||
/// Added to entities tethered by a tethergun.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class TetheredComponent : Component
|
||||
{
|
||||
[DataField("tetherer"), AutoNetworkedField]
|
||||
public EntityUid Tetherer;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("originalAngularDamping"), AutoNetworkedField]
|
||||
public float OriginalAngularDamping;
|
||||
}
|
||||
Reference in New Issue
Block a user