mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* 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>
23 lines
847 B
C#
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;
|