1
0

RattleComponent.cs 680 B

123456789101112131415161718192021
  1. using Content.Shared.Radio;
  2. using Robust.Shared.GameStates;
  3. using Robust.Shared.Prototypes;
  4. namespace Content.Shared.Implants.Components;
  5. [RegisterComponent, NetworkedComponent]
  6. public sealed partial class RattleComponent : Component
  7. {
  8. // The radio channel the message will be sent to
  9. [DataField]
  10. public ProtoId<RadioChannelPrototype> RadioChannel = "Syndicate";
  11. // The message that the implant will send when crit
  12. [DataField]
  13. public LocId CritMessage = "deathrattle-implant-critical-message";
  14. // The message that the implant will send when dead
  15. [DataField("deathMessage")]
  16. public LocId DeathMessage = "deathrattle-implant-dead-message";
  17. }