Chem stuff QoL (#321)

This commit is contained in:
Aviu00
2023-08-23 15:12:11 +03:00
committed by Aviu00
parent 0d9c472aea
commit 87b0fb3e04
12 changed files with 215 additions and 7 deletions

View File

@@ -9,7 +9,7 @@ namespace Content.Server.Chemistry.Components
/// <seealso cref="ChemMasterSystem"/>
/// </summary>
[RegisterComponent]
[Access(typeof(ChemMasterSystem))]
[Access(typeof(ChemMasterSystem), typeof(ReagentDispenserSystem))] // WD EDIT
public sealed partial class ChemMasterComponent : Component
{
[DataField("pillType"), ViewVariables(VVAccess.ReadWrite)]
@@ -23,5 +23,12 @@ namespace Content.Server.Chemistry.Components
[DataField("clickSound"), ViewVariables(VVAccess.ReadWrite)]
public SoundSpecifier ClickSound = new SoundPathSpecifier("/Audio/Machines/machine_switch.ogg");
// WD START
public const string ChemMasterPort = "ChemMasterReceiver";
[ViewVariables]
public EntityUid? ConnectedDispenser;
// WD END
}
}