i feel great pain inside
This commit is contained in:
@@ -43,7 +43,6 @@ namespace Content.Server.GameObjects.Components.Chemistry
|
|||||||
public class ChemMasterComponent : SharedChemMasterComponent, IActivate, IInteractUsing, ISolutionChange
|
public class ChemMasterComponent : SharedChemMasterComponent, IActivate, IInteractUsing, ISolutionChange
|
||||||
{
|
{
|
||||||
[ViewVariables] private ContainerSlot _beakerContainer = default!;
|
[ViewVariables] private ContainerSlot _beakerContainer = default!;
|
||||||
[ViewVariables] private string _packPrototypeId = "";
|
|
||||||
[ViewVariables] private bool HasBeaker => _beakerContainer.ContainedEntity != null;
|
[ViewVariables] private bool HasBeaker => _beakerContainer.ContainedEntity != null;
|
||||||
[ViewVariables] private bool _bufferModeTransfer = true;
|
[ViewVariables] private bool _bufferModeTransfer = true;
|
||||||
|
|
||||||
@@ -53,17 +52,6 @@ namespace Content.Server.GameObjects.Components.Chemistry
|
|||||||
|
|
||||||
[ViewVariables] private BoundUserInterface? UserInterface => Owner.GetUIOrNull(ChemMasterUiKey.Key);
|
[ViewVariables] private BoundUserInterface? UserInterface => Owner.GetUIOrNull(ChemMasterUiKey.Key);
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Shows the serializer how to save/load this components yaml prototype.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="serializer">Yaml serializer</param>
|
|
||||||
public override void ExposeData(ObjectSerializer serializer)
|
|
||||||
{
|
|
||||||
base.ExposeData(serializer);
|
|
||||||
|
|
||||||
serializer.DataField(ref _packPrototypeId, "pack", string.Empty);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Called once per instance of this component. Gets references to any other components needed
|
/// Called once per instance of this component. Gets references to any other components needed
|
||||||
/// by this component and initializes it's UI and other data.
|
/// by this component and initializes it's UI and other data.
|
||||||
|
|||||||
Reference in New Issue
Block a user