Exemple #1
0
 public void chooseEquipment()
 {
     if (leq.getType() == EquipmentRacks.NONE)
     {
         availableRacks = EquipmentRackRegistry.getAvailableRacks();
         showGui        = true;
     }
     else
     {
         setEquipment(LabEquipment.getNullObject());
         Events["chooseEquipment"].guiName = "Add Lab Equipment";
     }
 }
Exemple #2
0
 public void chooseEquipment()
 {
     if (leq.getType() == EquipmentRacks.NONE)
     {
         availableRacks = EquipmentRackRegistry.getAvailableRacks();
         showAddGui();
     }
     else
     {
         setEquipment(LabEquipment.getNullObject());
         Events["chooseEquipment"].guiName = Localizer.GetStringByTag("#ne_Add_Lab_Equipment");
     }
 }