Fixed missed fluid localization

This commit is contained in:
kordum committed 2017-06-18 13:31:40 +03:00
1 parent ee467ae88b
commit bdd1bbd530
12 files changed
+18 -19

No files matched your search

@@ -133,7 +133,8 @@ public class ComponentTankContainer extends MachineComponent implements ITankMac
public boolean isLiquidValidForTank(FluidStack liquid, int tank) {
TankSlot slot = getTankSlot(tank);
return slot != null
&& (slot.isValid(liquid) && !slot.isReadOnly());
&& slot.isValid(liquid)
&& !slot.isReadOnly();
}
@Override
@@ -46,7 +46,7 @@ public enum GeneticLiquid implements IFluidType {
@Override
public String getName() {
return I18N.localise("fluid." + name);
return I18N.localise("fluid.binnie." + name);
}
@Override
@@ -10,4 +10,5 @@ public class Genepool {
public static final int TIME_PERIOD = 400;
public static final float ENZYME_PER_PROCESS = 0.25f;
public static final float ETHANOL_PER_PROCESS = 50.0f;
public static final int POWER_CAPACITY = 1600;
}
@@ -53,7 +53,7 @@ public class GenepoolPackage extends PackageGeneticBase implements IMachineInfor
ComponentInventoryTransfer transfer = new ComponentInventoryTransfer(machine);
transfer.addRestock(Genepool.SLOT_RESERVE, Genepool.SLOT_BEE, 1);
new ComponentPowerReceptor(machine, 1600);
new ComponentPowerReceptor(machine, Genepool.POWER_CAPACITY);
new GenepoolComponentLogic(machine);
ComponentChargedSlots chargedSlots = new ComponentChargedSlots(machine);
chargedSlots.addCharge(Genepool.SLOT_ENZYME);
@@ -13,6 +13,6 @@ class DnaValidator extends Validator<FluidStack> {
@Override
public String getTooltip() {
return I18N.localise("fluid.rawDNA");
return I18N.localise("fluid.binnie.dna.raw");
}
}
@@ -13,6 +13,6 @@ class PolymerisingBacteriaValidator extends Validator<FluidStack> {
@Override
public String getTooltip() {
return I18N.localise("fluid.bacteriaPoly");
return I18N.localise("fluid.binnie.bacteriaPoly");
}
}