mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Added l18n to ZIRNOX tooltips
This commit is contained in:
parent
0c34901864
commit
ffce09b080
@ -3,6 +3,7 @@ package com.hbm.items.machine;
|
||||
import java.util.List;
|
||||
|
||||
import com.hbm.util.BobMathUtil;
|
||||
import com.hbm.util.I18nUtil;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@ -17,8 +18,10 @@ public class ItemZirnoxBreedingRod extends ItemZirnoxRod {
|
||||
@Override
|
||||
public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) {
|
||||
|
||||
list.add(EnumChatFormatting.YELLOW + "[ZIRNOX Breeding Rod]");
|
||||
list.add(EnumChatFormatting.DARK_AQUA + " Place next to fuel rods to breed");
|
||||
list.add(EnumChatFormatting.DARK_AQUA + " Lasts " + BobMathUtil.getShortNumber(lifeTime) + " ticks");
|
||||
String[] descLocs = I18nUtil.resolveKeyArray("desc.item.zirnoxBreedingRod", BobMathUtil.getShortNumber(lifeTime));
|
||||
|
||||
for(String loc : descLocs) {
|
||||
list.add(loc);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -3,6 +3,7 @@ package com.hbm.items.machine;
|
||||
import java.util.List;
|
||||
|
||||
import com.hbm.util.BobMathUtil;
|
||||
import com.hbm.util.I18nUtil;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@ -20,8 +21,10 @@ public class ItemZirnoxRod extends ItemFuelRod {
|
||||
@Override
|
||||
public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean bool) {
|
||||
|
||||
list.add(EnumChatFormatting.YELLOW + "[ZIRNOX Fuel Rod]");
|
||||
list.add(EnumChatFormatting.DARK_AQUA + " Generates " + heat + " heat per tick");
|
||||
list.add(EnumChatFormatting.DARK_AQUA + " Lasts " + BobMathUtil.getShortNumber(lifeTime) + " ticks");
|
||||
String[] descLocs = I18nUtil.resolveKeyArray("desc.item.zirnoxRod", heat, BobMathUtil.getShortNumber(lifeTime));
|
||||
|
||||
for(String loc : descLocs) {
|
||||
list.add(loc);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -567,6 +567,8 @@ desc.item.pileRod=§eUse on drilled graphite to insert$§eUse screwdriver to ext
|
||||
desc.item.rtgDecay=Decays to: %s
|
||||
desc.item.rtgHeat=Power Level: %s
|
||||
desc.item.wasteCooling=Cool in a Spent Fuel Pool Drum
|
||||
desc.item.zirnoxBreedingRod=§2[ZIRNOX Breeding Rod]$§ePlace next to fuel rods to breed$§eLasts %d ticks
|
||||
desc.item.zirnoxRod=§a[ZIRNOX Fuel Rod]$§eGenerates %1$d heat per tick$§eLasts %2$d ticks
|
||||
desc.gui.assembler.warning=§cError:§r This machine requires an assembly template!
|
||||
desc.gui.chemplant.warning=§cError:§r This machine requires an chemistry template!
|
||||
desc.gui.gasCent.enrichment=§2Enrichment§r$Uranium enrichment requires cascades.$Two-centrifuge cascades will give$uranium fuel, four-centrifuge cascades$will give total separation.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user