fish-station/Content.Shared/Trigger/Components/Triggers/TriggerOnIngestedComponent.cs
ScarKy0 2ef64bd5cc
TriggerOnIngested (#41875)
* init

* nobody will ever know i copy paste

* i hate these names

* comment

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
2025-12-16 23:45:34 +00:00

17 lines
562 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Trigger.Components.Triggers;
/// <summary>
/// Triggers when the owner of this component is ingested, like a pill or food.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class TriggerOnIngestedComponent : BaseTriggerOnXComponent
{
/// <summary>
/// Whether the fed entity is the user.
/// If false, the entity feeding will be the user.
/// </summary>
[DataField, AutoNetworkedField]
public bool EatingIsUser = true;
}