Fixed occassional crashes of Power Tests and continued TDD

This commit is contained in:
Timmeey86
2018-11-27 21:27:35 +01:00
parent 11e071289b
commit f56e1933a6
7 changed files with 72 additions and 37 deletions

View File

@@ -19,17 +19,17 @@ public class PowerBlocks extends BlockList implements ContentList{
thermalGenerator = new LiquidHeatGenerator("thermal-generator"){{
maxLiquidGenerate = 4f;
// TODO: Adapt to new power system
powerProduction = -1;
powerPerLiquid = 0.1f;
// TODO: Balance
powerProduction = 0.17f;
liquidPowerMultiplier = 0.1f;
generateEffect = BlockFx.redgeneratespark;
size = 2;
}};
turbineGenerator = new TurbineGenerator("turbine-generator"){{
// TODO: Adapt to new power system
// TODO: Balance
powerProduction = 0.28f;
powerPerLiquid = 0.1f;
liquidPowerMultiplier = 0.3f;
itemDuration = 30f;
consumes.liquid(Liquids.water, 0.05f);
size = 2;