Skip to content

Commit

Permalink
infinite water cover tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
TechLord22 committed Aug 13, 2021
1 parent 9a7af7d commit 1b3c241
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/java/gregtech/common/covers/CoverInfiniteWater.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public void update() {
.filter(tank -> Optional.ofNullable(tank.getContents())
.orElse(Lava.getFluid(1)).isFluidEqual(Water.getFluid(1)) && tank.getCapacity() > 64000)
.findFirst()
.ifPresent($ -> fluidHandler.fill(Water.getFluid(64000), true));
int amount = fluidStack != null ? Math.max(64000 - fluidStack.amount, 0) : 64000;
.ifPresent($ -> fluidHandler.fill(Water.getFluid(16000), true));
int amount = fluidStack != null ? Math.max(16000 - fluidStack.amount, 0) : 16000;
fluidHandler.fill(Water.getFluid(amount), true);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/assets/gregtech/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ metaitem.cover.solar.panel.lv.name=Solar Panel (LV)
metaitem.cover.solar.panel.lv.tooltip=Low Voltage Solar Panel

metaitem.cover.infinite_water.name=Infinite Water Cover
metaitem.cover.infinite_water.tooltip=Creates 64 Buckets of Water every second (as Cover)
metaitem.cover.infinite_water.tooltip=Creates 16 Buckets of Water every second (as Cover)

metaitem.gelled_toluene.name=Gelled Toluene
metaitem.gelled_toluene.tooltip=Raw Explosive
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"animation":{
"frametime":2
"frametime": 5
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1b3c241

Please sign in to comment.