2021-10-29 13:40:15 +01:00
|
|
|
using Content.Server.Chemistry.EntitySystems;
|
2022-09-06 07:06:47 +02:00
|
|
|
using Content.Shared.Chemistry;
|
2020-07-17 15:41:19 -05:00
|
|
|
using Robust.Shared.Audio;
|
2022-03-12 13:26:06 -05:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Server.Chemistry.Components
|
2020-07-17 15:41:19 -05:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-09-06 07:06:47 +02:00
|
|
|
/// An industrial grade chemical manipulator with pill and bottle production included.
|
|
|
|
|
/// <seealso cref="ChemMasterSystem"/>
|
2020-07-17 15:41:19 -05:00
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2022-09-06 07:06:47 +02:00
|
|
|
[Access(typeof(ChemMasterSystem))]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class ChemMasterComponent : Component
|
2020-07-17 15:41:19 -05:00
|
|
|
{
|
2022-09-06 07:06:47 +02:00
|
|
|
[DataField("pillType"), ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public uint PillType = 0;
|
2021-11-26 22:44:36 -08:00
|
|
|
|
2022-09-06 07:06:47 +02:00
|
|
|
[DataField("mode"), ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public ChemMasterMode Mode = ChemMasterMode.Transfer;
|
2020-07-17 15:41:19 -05:00
|
|
|
|
2022-09-14 17:10:12 -07:00
|
|
|
[DataField("pillDosageLimit", required: true), ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public uint PillDosageLimit;
|
2020-07-17 15:41:19 -05:00
|
|
|
|
2022-09-06 07:06:47 +02:00
|
|
|
[DataField("clickSound"), ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public SoundSpecifier ClickSound = new SoundPathSpecifier("/Audio/Machines/machine_switch.ogg");
|
2020-07-17 15:41:19 -05:00
|
|
|
}
|
|
|
|
|
}
|