Skip to content

Commit

Permalink
tweak: increase milk cell enrgy from milk by 4x
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarden-zamir committed Nov 11, 2024
1 parent 2f21113 commit 37087ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubejs/startup_scripts/spoutsFillEnergyCells.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ CreateEvents.spoutHandler((event) => {
event.add("fill_battery", "ae2:energy_cell", (block, fluid, simulate) => {
if (
fluid.id == "minecraft:milk" &&
fluid.amount >= 1000 &&
fluid.amount >= 250 &&
block.entityData.internalCurrentPower < 200000.0 - amount - 1
) {
if (!simulate) {
fillBattery(block, amount);
}
return 1000;
return 250;
}
return 0;
});
Expand Down

0 comments on commit 37087ef

Please sign in to comment.