steam function fixed once and for all

This commit is contained in:
Vaern 2021-11-28 14:27:22 -08:00
parent 6cf657ef22
commit 61aea864fa

View File

@ -224,8 +224,8 @@ public class TileEntityReactorZirnox extends TileEntityMachineBase implements IF
private void generateSteam() {
// function of SHS produced per tick
// heat% * 64 * 10 (should get rid of any rounding errors)
int Water = (int) (((float)heat / maxHeat) * 64);
// heat% * 10 * 10 (should get rid of any rounding errors)
int Water = (int) (((float)heat / maxHeat) * 15);
int Steam = Water * 10;
water.setFill(water.getFill() - Water);