From 9b6d0dd660bc987a1fcab50c831127f117894d2f Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Sun, 15 Jun 2014 16:42:40 +0100 Subject: [PATCH] lolbevo --- .../botania/client/render/item/RenderLexicon.java | 10 ++++++++++ resources/assets/botania/lang/en_US.lang | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/MODSRC/vazkii/botania/client/render/item/RenderLexicon.java b/MODSRC/vazkii/botania/client/render/item/RenderLexicon.java index 107776df0..7f0b12078 100644 --- a/MODSRC/vazkii/botania/client/render/item/RenderLexicon.java +++ b/MODSRC/vazkii/botania/client/render/item/RenderLexicon.java @@ -64,9 +64,15 @@ 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"); String title = ModItems.lexicon.getItemStackDisplayName(null); + String origTitle = title; + if(Minecraft.getMinecraft().thePlayer.getCurrentEquippedItem() != null) title = Minecraft.getMinecraft().thePlayer.getCurrentEquippedItem().getDisplayName(); + if(title.equals(origTitle) && bevo) + title = StatCollector.translateToLocal("item.botania:lexicon.bevo"); + font.drawString(font.trimStringToWidth(title, 80), 0, 0, 0xD69700); GL11.glTranslatef(0F, 10F, 0F); GL11.glScalef(0.6F, 0.6F, 0.6F); @@ -89,6 +95,10 @@ 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) { + GL11.glTranslatef(0F, 10F, 0F); + font.drawString(StatCollector.translateToLocal("botaniamisc.lexiconcover4"), 0, 0, 0x79ff92); + } } GL11.glPopMatrix(); diff --git a/resources/assets/botania/lang/en_US.lang b/resources/assets/botania/lang/en_US.lang index 0d712b648..edc542f41 100644 --- a/resources/assets/botania/lang/en_US.lang +++ b/resources/assets/botania/lang/en_US.lang @@ -32,6 +32,7 @@ botaniamisc.lexiconcover0=Your guide to all botaniamisc.lexiconcover1=Botanical needs botaniamisc.lexiconcover2=From Bestselling author botaniamisc.lexiconcover3=Lizbeth "Vazkii" Rika +botaniamisc.lexiconcover4=Edited by BevoLJ botaniamisc.shiftinfo=Hold &bSHIFT&7 for more info botaniamisc.knowledgeTypesSingular=Contains %s School of Knowledge botaniamisc.knowledgeTypesPlural=Contains %s Schools of Knowledge @@ -82,7 +83,7 @@ botania.versioning.flavour10=Two hundred updates, that's why they call me Mister botania.versioning.flavour11=Perry the Platypus, I present to you, Botania-update-inator. botania.versioning.flavour12=Botania updated. #hoennconfirmed botania.versioning.flavour13=You activated my Trap Card! I play Botania Update! -botania.versioning.flavour14=Let's play a drinking game. have a drink every time Botania updates. +botania.versioning.flavour14=Let's play a drinking game, have a drink every time Botania updates. *hic* botania.versioning.flavour15=Pay no attention to the Botania update behind the curtain. botania.versioning.outdated=You are running Botania build %s, the latest is build %s. botania.versioning.updateMessage=["Click for... [",{"text":"Download","color":"green","hoverEvent":{"action":"show_text","value":{"text":"Click this to automatically download the latest version","color":"green"}},"clickEvent":{"action":"run_command","value":"/botania-download-latest %version%"}},"] [",{"text":"Website","color":"green","hoverEvent":{"action":"show_text","value":{"text":"Click this to go to the mod's website","color":"green"}},"clickEvent":{"action":"open_url","value":"http://vazkii.us/mod/Botania/downloads.php"}},"] [",{"text":"Changelog","color":"green","hoverEvent":{"action":"show_text","value":{"text":"Click this to go to the version's Changelog","color":"green"}},"clickEvent":{"action":"open_url","value":"http://vazkii.us/mod/Botania/changelog.php#%version%"}},"]"] @@ -299,6 +300,7 @@ tile.botania:flower.loonium.reference=Hold it up above your head # ITEM NAMES item.botania:lexicon.name=Lexica Botania +item.botania:lexicon.bevo=Lexica Botnia item.botania:petal0.name=Mystical White Petal item.botania:petal1.name=Mystical Orange Petal item.botania:petal2.name=Mystical Magenta Petal