public InstrumentSlot(ConfigNode node)
 {
     node.TryGetValue("name", ref SlotName);
     node.TryGetValue("Instrument", ref InstrumentName);
     if (InstrumentName != "None")
     {
         Instrument = SpaceDustInstruments.Instance.GetInstrument(InstrumentName);
     }
 }
 public InstrumentSlot(string name, string inst)
 {
     SlotName       = name;
     InstrumentName = inst;
     if (InstrumentName != "None")
     {
         Instrument = SpaceDustInstruments.Instance.GetInstrument(InstrumentName);
     }
 }
 public void Load()
 {
     ConfigNode[] SpaceDustInstrument = GameDatabase.Instance.GetConfigNodes("SPACEDUST_INSTRUMENT");
     Instruments = new Dictionary <string, SpaceDustInstrument>();
     foreach (ConfigNode node in SpaceDustInstrument)
     {
         SpaceDustInstrument newInst = new SpaceDustInstrument(node);
         Instruments.Add(newInst.Name, newInst);
         Utils.Log($"[SpaceDustInstruments]: Added {newInst.Name} to database");
     }
     Utils.Log($"[SpaceDustInstruments]: Loaded {Instruments.Count} telescope instruments");
 }