17 lines
469 B
C#
17 lines
469 B
C#
|
|
namespace Content.Server.Explosion.Components;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Gibs on trigger, self explanatory.
|
|||
|
|
/// Also in case of an implant using this, gibs the implant user instead.
|
|||
|
|
/// </summary>
|
|||
|
|
[RegisterComponent]
|
|||
|
|
public sealed class GibOnTriggerComponent : Component
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Should gibbing also delete the owners items?
|
|||
|
|
/// </summary>
|
|||
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|||
|
|
[DataField("deleteItems")]
|
|||
|
|
public bool DeleteItems = false;
|
|||
|
|
}
|