mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
steam function fixed once and for all
This commit is contained in:
parent
6cf657ef22
commit
61aea864fa
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user