DamageRandomPopupComponent.cs 407 B

12345678910111213
  1. using Content.Server.Damage.Systems;
  2. namespace Content.Server.Damage.Components;
  3. [RegisterComponent, Access(typeof(DamageRandomPopupSystem))]
  4. /// <summary>
  5. /// Outputs a random pop-up from the list when an object receives damage
  6. /// </summary>
  7. public sealed partial class DamageRandomPopupComponent : Component
  8. {
  9. [DataField, ViewVariables(VVAccess.ReadWrite)]
  10. public List<LocId> Popups = new();
  11. }