localization & input fixes, fuel radiation modifier changed

This commit is contained in:
Vaern 2022-06-20 13:45:45 -07:00
parent ffce09b080
commit aa7e20f3e2
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ float target;
if(stack.getItem() instanceof ItemFuelRod) { if(stack.getItem() instanceof ItemFuelRod) {
ItemFuelRod fuel = (ItemFuelRod) stack.getItem(); ItemFuelRod fuel = (ItemFuelRod) stack.getItem();
double depletion = fuel.getDurabilityForDisplay(stack); double depletion = Math.pow(fuel.getDurabilityForDisplay(stack), 0.4D);
level = (float) (level + (this.target - level) * depletion); level = (float) (level + (this.target - level) * depletion);

View File

@ -111,7 +111,7 @@ public class TileEntityReactorZirnox extends TileEntityMachineBase implements IF
ItemStack stack = inv.getStackInSlot(i); ItemStack stack = inv.getStackInSlot(i);
if(stack != null && stack.getItem() instanceof ItemZirnoxRod) { if(stack != null && stack.getItem() instanceof ItemZirnoxRod) {
for(int j = 0; j < 23; j++) { for(int j = 0; j < 24; j++) {
//ZIRNOX rods cannot stack higher than 1 anyway //ZIRNOX rods cannot stack higher than 1 anyway
if(slots[j] == null) { if(slots[j] == null) {
slots[j] = stack.copy(); slots[j] = stack.copy();