CatStation/Content.Shared/Actions/Components/EntityEffectActionComponent.cs
Pok 61f98c14d3
Changeling reagent stings (#43805)
* Changeling-Stings

* update yml

* attempt failed dead

* sprite and ChangelingNeurodepressantSting

* Update changeling_catalog.yml

* merge

* update

* review

* review 2

* clean up, remove non-blind stings

* fix stuff

* lethal, cryogenic, hallucination + armblade  nerf

* validate deez

* a

* review

---------

Co-authored-by: ScarKy0 <scarky0@onet.eu>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2026-06-04 19:29:21 +00:00

23 lines
847 B
C#

using Content.Shared.EntityEffects;
using Robust.Shared.GameStates;
namespace Content.Shared.Actions.Components;
/// <summary>
/// An action component that applies a list of entity effects to the target when performed.
/// Requires <see cref="EntityTargetActionComponent"/> and <see cref="ActionComponent"/>.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(EntityEffectActionSystem))]
public sealed partial class EntityEffectActionComponent : Component
{
/// <summary>
/// List of entity effects to apply to the target when this action is performed.
/// </summary>
[DataField(required: true)]
public List<EntityEffect> Effects = [];
}
/// <summary>
/// Event raised when an entity effect action is performed.
/// </summary>
public sealed partial class EntityEffectActionEvent : EntityTargetActionEvent;