*whistles*

This commit is contained in:
Vasco Lavos committed 2014-07-09 01:11:58 +01:00
1 parent dce27b8bc5
commit 2b96dad946
2 files changed
+10 -4

No files matched your search

@@ -64,7 +64,9 @@ public class RenderLexicon implements IItemRenderer {
GL11.glRotatef(180F, 0F, 0F, 0F);
GL11.glTranslatef(-0.3F, -0.2F, 0.07F);
GL11.glScalef(0.0035F, 0.0035F, 0.0035F);
boolean bevo = Minecraft.getMinecraft().thePlayer.getCommandSenderName().equals("BevoLJ");
boolean bevo = Minecraft.getMinecraft().thePlayer.getCommandSenderName().equalsIgnoreCase("BevoLJ");
boolean saice = Minecraft.getMinecraft().thePlayer.getCommandSenderName().equalsIgnoreCase("saice");
String title = ModItems.lexicon.getItemStackDisplayName(null);
String origTitle = title;
@@ -72,7 +74,9 @@ public class RenderLexicon implements IItemRenderer {
title = Minecraft.getMinecraft().thePlayer.getCurrentEquippedItem().getDisplayName();
if(title.equals(origTitle) && bevo)
title = StatCollector.translateToLocal("item.botania:lexicon.bevo");
if(title.equals(origTitle) && saice)
title = StatCollector.translateToLocal("item.botania:lexicon.saice");
font.drawString(font.trimStringToWidth(title, 80), 0, 0, 0xD69700);
GL11.glTranslatef(0F, 10F, 0F);
GL11.glScalef(0.6F, 0.6F, 0.6F);
@@ -95,9 +99,9 @@ public class RenderLexicon implements IItemRenderer {
font.drawString(StatCollector.translateToLocal("botaniamisc.lexiconcover2"), 0, 0, 0x79ff92);
GL11.glTranslatef(0F, 10F, 0F);
font.drawString(EnumChatFormatting.ITALIC + StatCollector.translateToLocal("botaniamisc.lexiconcover3"), 0, 0, 0x79ff92);
if(bevo) {
if(bevo || saice) {
GL11.glTranslatef(0F, 10F, 0F);
font.drawString(StatCollector.translateToLocal("botaniamisc.lexiconcover4"), 0, 0, 0x79ff92);
font.drawString(StatCollector.translateToLocal("botaniamisc.lexiconcover" + (bevo ? 4 : 5)), 0, 0, 0x79ff92);
}
}
+2
View File
@@ -33,6 +33,7 @@ botaniamisc.lexiconcover1=Botanical needs
botaniamisc.lexiconcover2=From Bestselling author
botaniamisc.lexiconcover3=Lizbeth "Vazkii" Rika
botaniamisc.lexiconcover4=Edited by BevoLJ
botaniamisc.lexiconcover5=Edited by Saice
botaniamisc.shiftinfo=Hold &bSHIFT&7 for more info
botaniamisc.knowledgeTypesSingular=Contains %s School of Knowledge
botaniamisc.knowledgeTypesPlural=Contains %s Schools of Knowledge
@@ -403,6 +404,7 @@ tile.botania:flower.daffomill.reference=Cook's Assistant
# ITEM NAMES
item.botania:lexicon.name=Lexica Botania
item.botania:lexicon.bevo=Lexica Botana
item.botania:lexicon.saice=Lexica Botonia
item.botania:petal0.name=Mystical White Petal
item.botania:petal1.name=Mystical Orange Petal
item.botania:petal2.name=Mystical Magenta Petal