Goliath mob (#30839)
* Goliath mob * Update asteroid.yml * mcfuck yourself * add cloak * fixes * Update materials.yml
This commit is contained in:
23
Content.Shared/Stunnable/StunOnContactComponent.cs
Normal file
23
Content.Shared/Stunnable/StunOnContactComponent.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Content.Shared.Whitelist;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Stunnable;
|
||||
|
||||
[RegisterComponent, NetworkedComponent, Access(typeof(SharedStunSystem))]
|
||||
public sealed partial class StunOnContactComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The fixture the entity must collide with to be stunned
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string FixtureId = "fix";
|
||||
|
||||
/// <summary>
|
||||
/// The duration of the stun.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public TimeSpan Duration = TimeSpan.FromSeconds(5);
|
||||
|
||||
[DataField]
|
||||
public EntityWhitelist Blacklist = new();
|
||||
}
|
||||
Reference in New Issue
Block a user