Implanters and Subdermal Implants (#11840)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Content.Shared.MobState;
|
||||
|
||||
namespace Content.Server.Explosion.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Use where you want something to trigger on mobstate change
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class TriggerOnMobstateChangeComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// What state should trigger this?
|
||||
/// </summary>
|
||||
[DataField("mobState", required: true)]
|
||||
public DamageState MobState = DamageState.Alive;
|
||||
}
|
||||
Reference in New Issue
Block a user