mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
* giant protoid cleanup * yml changes * ! --------- Co-authored-by: deltanedas <@deltanedas:goida.zip>
25 lines
908 B
C#
25 lines
908 B
C#
using Content.Shared.Whitelist;
|
|
using Content.Shared.Containers.ItemSlots;
|
|
using Content.Server.Chemistry.EntitySystems;
|
|
using Content.Shared.Chemistry;
|
|
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Server.Chemistry.Components
|
|
{
|
|
/// <summary>
|
|
/// A machine that dispenses reagents into a solution container from containers in its storage slots.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[Access(typeof(ReagentDispenserSystem))]
|
|
public sealed partial class ReagentDispenserComponent : Component
|
|
{
|
|
[DataField]
|
|
public ItemSlot BeakerSlot = new();
|
|
|
|
[DataField("clickSound"), ViewVariables(VVAccess.ReadWrite)]
|
|
public SoundSpecifier ClickSound = new SoundPathSpecifier("/Audio/Machines/machine_switch.ogg");
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public ReagentDispenserDispenseAmount DispenseAmount = ReagentDispenserDispenseAmount.U10;
|
|
}
|
|
}
|