using Content.Shared.Mobs; namespace Content.Server.Explosion.Components; /// /// Use where you want something to trigger on mobstate change /// [RegisterComponent] public sealed class TriggerOnMobstateChangeComponent : Component { /// /// What state should trigger this? /// [ViewVariables] [DataField("mobState", required: true)] public List MobState = new(); /// /// If true, prevents suicide attempts for the trigger to prevent cheese. /// [ViewVariables] [DataField("preventSuicide")] public bool PreventSuicide = false; }