Feature/code improve (#221)

* Code improvement for genetics.api
Code improvement for genetics.core
Fix missed localization for info of Lab Stand
* Code improvement for genetics.genetics package
This commit is contained in:
Alexander Kornilov authored and mezz committed 2017-07-16 18:08:38 -07:00
1 parent 9e1ec59b86
commit 3ff4957a10
105 files changed
+1500 -1443

No files matched your search

@@ -28,12 +28,12 @@ import binnie.genetics.machine.ModuleMachine;
public class PackageGenepool extends GeneticMachine.PackageGeneticBase implements IMachineInformation {
public PackageGenepool() {
super("genepool", GeneticsTexture.Genepool, 12661942, true);
super("genepool", GeneticsTexture.GENEPOOL, 12661942, true);
}
@Override
public void createMachine(final Machine machine) {
new ComponentGeneticGUI(machine, GeneticsGUI.Genepool);
new ComponentGeneticGUI(machine, GeneticsGUI.GENEPOOL);
ComponentInventorySlots inventory = new ComponentInventorySlots(machine);
InventorySlot slotEnzyme = inventory.addSlot(Genepool.SLOT_ENZYME, "enzyme");
slotEnzyme.setValidator(new SlotValidator.Item(GeneticsItems.Enzyme.get(1), ModuleMachine.spriteEnzyme));