ChemMasterComponent.cs 1.1 KB

123456789101112131415161718192021222324252627282930
  1. using Content.Server.Chemistry.EntitySystems;
  2. using Content.Shared.Chemistry;
  3. using Robust.Shared.Audio;
  4. namespace Content.Server.Chemistry.Components
  5. {
  6. /// <summary>
  7. /// An industrial grade chemical manipulator with pill and bottle production included.
  8. /// <seealso cref="ChemMasterSystem"/>
  9. /// </summary>
  10. [RegisterComponent]
  11. [Access(typeof(ChemMasterSystem))]
  12. public sealed partial class ChemMasterComponent : Component
  13. {
  14. [DataField("pillType"), ViewVariables(VVAccess.ReadWrite)]
  15. public uint PillType = 0;
  16. [DataField("mode"), ViewVariables(VVAccess.ReadWrite)]
  17. public ChemMasterMode Mode = ChemMasterMode.Transfer;
  18. [DataField]
  19. public ChemMasterSortingType SortingType = ChemMasterSortingType.None;
  20. [DataField("pillDosageLimit", required: true), ViewVariables(VVAccess.ReadWrite)]
  21. public uint PillDosageLimit;
  22. [DataField("clickSound"), ViewVariables(VVAccess.ReadWrite)]
  23. public SoundSpecifier ClickSound = new SoundPathSpecifier("/Audio/Machines/machine_switch.ogg");
  24. }
  25. }