Files
crystall-punk-14/Content.Server/Chemistry/Components/ChemMasterComponent.cs

28 lines
996 B
C#
Raw Permalink Normal View History

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;
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))]
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;
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
[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
}
}