using Godot; using Nocturnis.Enigmos.Ports; using Nocturnis.Inventories.ItemSlots.ItemSlots; namespace Enigmos.Manual; public partial class PortFixer : Control { private bool InitFlag { get; set; } public void Init(IBasePort port) { RelatedPort = port; InitFlag = true; } private IBasePort RelatedPort { get; set; } private IChemicalItemSlot MaterialSlot { get; set; } public Button FixPort { get; set; } private Label PortLabel { get; set; } private Label QualityLabel { get; set; } private Label ConditionLabel { get; set; } public override void _Ready() { if (!InitFlag) throw new Exception("TODO - NOT INIT"); MaterialSlot = GetNode("MaterialSlot"); PortLabel = GetNode