18 lines
526 B
C#
18 lines
526 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Trigger.Components.Effects;
|
|
|
|
/// <summary>
|
|
/// Will gib the entity when triggered.
|
|
/// If TargetUser is true the user will be gibbed instead.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class GibOnTriggerComponent : BaseXOnTriggerComponent
|
|
{
|
|
/// <summary>
|
|
/// Should gibbing also delete the owners items?
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public bool DeleteItems = false;
|
|
}
|