Trigger Refactor (#39034)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user