CatStation/Content.Shared/Changeling/Components/RecentlyDevouredComponent.cs
Pok e8f4975f46
Changeling gaining DNA (#43759)
* changeling-gain-DNA

* review

* Return IsUniqueDevour

* oops

* Update SharedChangelingIdentitySystem.cs

* Store data in ChangelingIdentityData + fixes

List of changes:
- Whether an identity granted devour is now tracked in ChangelingIdentityData
- Made devoured shutdown cleanup again
- Made server set the mind to null if it never found one, instead of being invalid

Fixes:
- Fixed name being networked as empty if original was deleted

---------

Co-authored-by: ScarKy0 <scarky0@onet.eu>
2026-04-27 20:10:39 +00:00

9 lines
324 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Changeling.Components;
/// <summary>
/// Marker component for entities that were devoured recently and cannot be devoured again until revived.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class RecentlyDevouredComponent : Component;