mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
localization & input fixes, fuel radiation modifier changed
This commit is contained in:
parent
ffce09b080
commit
aa7e20f3e2
@ -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);
|
||||||
|
|
||||||
|
|||||||
@ -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();
|
||||||
|
|||||||
@ -2916,8 +2916,8 @@ item.rod_zirnox_lithium.name=ZIRNOX Lithium Rod
|
|||||||
item.rod_zirnox_tritium.name=ZIRNOX Tritium Rod
|
item.rod_zirnox_tritium.name=ZIRNOX Tritium Rod
|
||||||
item.rod_zirnox_zfb_mox.name=ZIRNOX ZFB MOX Fuel Rod
|
item.rod_zirnox_zfb_mox.name=ZIRNOX ZFB MOX Fuel Rod
|
||||||
item.rod_zirnox_natural_uranium_fuel_depleted.name=Depleted ZIRNOX Natural Uranium Fuel Rod
|
item.rod_zirnox_natural_uranium_fuel_depleted.name=Depleted ZIRNOX Natural Uranium Fuel Rod
|
||||||
item.rod_zirnox_uranium_fuel_depleted.name= DepletedZIRNOX Uranium Fuel Rod
|
item.rod_zirnox_uranium_fuel_depleted.name= Depleted ZIRNOX Uranium Fuel Rod
|
||||||
item.rod_zirnox_thorium_fuel_depleted.name= DepletedZIRNOX Thorium Fuel Rod
|
item.rod_zirnox_thorium_fuel_depleted.name= Depleted ZIRNOX Thorium Fuel Rod
|
||||||
item.rod_zirnox_mox_fuel_depleted.name=Depleted ZIRNOX MOX Fuel Rod
|
item.rod_zirnox_mox_fuel_depleted.name=Depleted ZIRNOX MOX Fuel Rod
|
||||||
item.rod_zirnox_plutonium_fuel_depleted.name=Depleted ZIRNOX Plutonium Fuel Rod
|
item.rod_zirnox_plutonium_fuel_depleted.name=Depleted ZIRNOX Plutonium Fuel Rod
|
||||||
item.rod_zirnox_u233_fuel_depleted.name=Depleted ZIRNOX Uranium-233 Fuel Rod
|
item.rod_zirnox_u233_fuel_depleted.name=Depleted ZIRNOX Uranium-233 Fuel Rod
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user