@@ -1,5 +1,6 @@
|
|||||||
using Content.Shared.Damage.Systems;
|
using Content.Shared.Damage.Systems;
|
||||||
using Robust.Shared.Audio;
|
using Robust.Shared.Audio;
|
||||||
|
using Robust.Shared.GameStates;
|
||||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||||
|
|
||||||
namespace Content.Shared.Damage.Components;
|
namespace Content.Shared.Damage.Components;
|
||||||
@@ -7,7 +8,7 @@ namespace Content.Shared.Damage.Components;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Should the entity take damage / be stunned if colliding at a speed above MinimumSpeed?
|
/// Should the entity take damage / be stunned if colliding at a speed above MinimumSpeed?
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[RegisterComponent, Access(typeof(DamageOnHighSpeedImpactSystem))]
|
[RegisterComponent, NetworkedComponent, Access(typeof(DamageOnHighSpeedImpactSystem))]
|
||||||
public sealed partial class DamageOnHighSpeedImpactComponent : Component
|
public sealed partial class DamageOnHighSpeedImpactComponent : Component
|
||||||
{
|
{
|
||||||
[DataField("minimumSpeed"), ViewVariables(VVAccess.ReadWrite)]
|
[DataField("minimumSpeed"), ViewVariables(VVAccess.ReadWrite)]
|
||||||
|
|||||||
Reference in New Issue
Block a user