EmaggableMedibotComponent.cs 616 B

12345678910111213141516171819
  1. using Content.Shared.Mobs;
  2. using Robust.Shared.Audio;
  3. using Robust.Shared.GameStates;
  4. namespace Content.Shared.Silicons.Bots;
  5. /// <summary>
  6. /// Replaces the medibot's meds with these when emagged. Could be poison, could be fun.
  7. /// </summary>
  8. [RegisterComponent, NetworkedComponent]
  9. [Access(typeof(MedibotSystem))]
  10. public sealed partial class EmaggableMedibotComponent : Component
  11. {
  12. /// <summary>
  13. /// Treatments to replace from the original set.
  14. /// </summary>
  15. [DataField(required: true), ViewVariables(VVAccess.ReadWrite)]
  16. public Dictionary<MobState, MedibotTreatment> Replacements = new();
  17. }