This commit is contained in:
Anuken
2020-11-24 10:23:28 -05:00
parent 058b2ddfce
commit 7d43856735
8 changed files with 22 additions and 6 deletions

View File

@@ -92,6 +92,11 @@ public class ItemLiquidGenerator extends PowerGenerator{
return generateTime > 0;
}
@Override
public float ambientVolume(){
return Mathf.clamp(productionEfficiency);
}
@Override
public void updateTile(){
//Note: Do not use this delta when calculating the amount of power or the power efficiency, but use it for resource consumption if necessary.