2023-08-10 21:29:47 +07:00
|
|
|
namespace Content.Server.Explosion.Components;
|
2022-11-20 01:49:37 -05:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gibs on trigger, self explanatory.
|
|
|
|
|
/// Also in case of an implant using this, gibs the implant user instead.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class GibOnTriggerComponent : Component
|
2022-11-20 01:49:37 -05:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Should gibbing also delete the owners items?
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("deleteItems")]
|
|
|
|
|
public bool DeleteItems = false;
|
|
|
|
|
}
|