Files
tbd-station-14/Content.Shared/StatusEffectNew/Components/RejuvenateRemovedStatusEffectComponent.cs
Perry Fraser b0e1ce7c0c feat: add a component for rejuvenateable status effects (#39025)
* feat: add a component for rejuvenateable effects

* feat: let god mode'd entities get buffs

* fix: handle old status effect system

Didn't realize BeforeStatusEffectAddedEvent was called by both systems,
oops.

* refactor: rename to RejuvenateRemovedStatusEffect

* fix: make forced sleeping a debuff again

Missed in rebase.

* refactor: make BeforeStatusEffectAdded two events
2025-07-24 17:13:29 +02:00

15 lines
584 B
C#

using Content.Shared.Damage.Components;
using Content.Shared.Rejuvenate;
using Robust.Shared.GameStates;
namespace Content.Shared.StatusEffectNew.Components;
/// <summary>
/// Marker component for a status effect that should be removed on rejuvenation
/// and should not be applied on targets with <see cref="GodmodeComponent" />.
/// Only applies to effects using the new <see cref="StatusEffectsSystem" />.
/// </summary>
/// <seealso cref="RejuvenateEvent"/>
[RegisterComponent, NetworkedComponent]
public sealed partial class RejuvenateRemovedStatusEffectComponent : Component;