]> git.smokeofanarchy.ru Git - space-station-14.git/commit
feat: add a component for rejuvenateable status effects (#39025)
authorPerry Fraser <perryprog@users.noreply.github.com>
Thu, 24 Jul 2025 15:13:29 +0000 (11:13 -0400)
committerGitHub <noreply@github.com>
Thu, 24 Jul 2025 15:13:29 +0000 (17:13 +0200)
commitb0e1ce7c0c4ef4bade1791107fb5fabe43578e72
tree3791cfadec13f32ca35703b9b5082627d5bfcd8c
parent82c0f63d50d30ce62da96b25199c93491e531b41
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
Content.Shared/Damage/Systems/SharedGodmodeSystem.cs
Content.Shared/StatusEffect/StatusEffectsSystem.cs
Content.Shared/StatusEffectNew/Components/RejuvenateRemovedStatusEffectComponent.cs [new file with mode: 0644]
Content.Shared/StatusEffectNew/StatusEffectSystem.Relay.cs
Content.Shared/StatusEffectNew/StatusEffectsSystem.cs
Resources/Prototypes/Entities/StatusEffects/misc.yml
Resources/Prototypes/Entities/StatusEffects/movement.yml