GibOnTriggerComponent.cs 474 B

12345678910111213141516
  1. namespace Content.Server.Explosion.Components;
  2. /// <summary>
  3. /// Gibs on trigger, self explanatory.
  4. /// Also in case of an implant using this, gibs the implant user instead.
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class GibOnTriggerComponent : Component
  8. {
  9. /// <summary>
  10. /// Should gibbing also delete the owners items?
  11. /// </summary>
  12. [ViewVariables(VVAccess.ReadWrite)]
  13. [DataField("deleteItems")]
  14. public bool DeleteItems = false;
  15. }