mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Some more easter egg names
This commit is contained in:
parent
213b2988fd
commit
773f8c0196
1 changed files with 34 additions and 17 deletions
|
@ -95,27 +95,44 @@ public final class BookletUtils{
|
||||||
strg = TextFormatting.DARK_GREEN+StringUtil.localize("info."+ModUtil.MOD_ID+".booklet.manualName.2");
|
strg = TextFormatting.DARK_GREEN+StringUtil.localize("info."+ModUtil.MOD_ID+".booklet.manualName.2");
|
||||||
booklet.getFontRenderer().drawString(strg, booklet.guiLeft+booklet.xSize/2-booklet.getFontRenderer().getStringWidth(strg)/2-3, booklet.guiTop+12+booklet.getFontRenderer().FONT_HEIGHT, 0);
|
booklet.getFontRenderer().drawString(strg, booklet.guiLeft+booklet.xSize/2-booklet.getFontRenderer().getStringWidth(strg)/2-3, booklet.guiTop+12+booklet.getFontRenderer().FONT_HEIGHT, 0);
|
||||||
|
|
||||||
String version;
|
String versionStrg;
|
||||||
String playerName = Minecraft.getMinecraft().thePlayer.getName();
|
String playerName = Minecraft.getMinecraft().thePlayer.getName();
|
||||||
if(playerName.equalsIgnoreCase("dqmhose")){
|
|
||||||
version = "Pants Edition";
|
if(Util.isDevVersion()){
|
||||||
}
|
versionStrg = "Dev's Edition";
|
||||||
else if(playerName.equalsIgnoreCase("TwoOfEight") || playerName.equalsIgnoreCase("BootyToast")){
|
|
||||||
version = "Illustrator's Edition";
|
|
||||||
}
|
|
||||||
else if(playerName.equalsIgnoreCase("KittyVanCat")){
|
|
||||||
version = "Cat's Edition";
|
|
||||||
}
|
|
||||||
else if(playerName.equalsIgnoreCase("canitzp")){
|
|
||||||
version = "P's Edition";
|
|
||||||
}
|
|
||||||
else if(playerName.equalsIgnoreCase("Ellpeck") || Util.isDevVersion()){
|
|
||||||
version = "Dev's Edition";
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
version = StringUtil.localize("info."+ModUtil.MOD_ID+".booklet.edition")+" "+Util.getMajorModVersion();
|
String modVersion = Util.getMajorModVersion();
|
||||||
|
if(playerName.equalsIgnoreCase("dqmhose")){
|
||||||
|
versionStrg = "Pants Edition";
|
||||||
}
|
}
|
||||||
strg = TextFormatting.GOLD+TextFormatting.ITALIC.toString()+"-"+version+"-";
|
else if(playerName.equalsIgnoreCase("TwoOfEight") || playerName.equalsIgnoreCase("BootyToast")){
|
||||||
|
versionStrg = "Illustrator's Edition";
|
||||||
|
}
|
||||||
|
else if(playerName.equalsIgnoreCase("KittyVanCat")){
|
||||||
|
versionStrg = "Cat's Edition";
|
||||||
|
}
|
||||||
|
else if(playerName.equalsIgnoreCase("canitzp")){
|
||||||
|
versionStrg = "P's Edition";
|
||||||
|
}
|
||||||
|
else if(playerName.equalsIgnoreCase("Ellpeck")){
|
||||||
|
versionStrg = "Dev's Edition";
|
||||||
|
}
|
||||||
|
else if(playerName.equalsIgnoreCase("direwolf20")){
|
||||||
|
versionStrg = "Edition 20";
|
||||||
|
}
|
||||||
|
else if(playerName.equalsIgnoreCase("dannydjdk") || playerName.equalsIgnoreCase("andrew_period")){
|
||||||
|
versionStrg = "Derp's Edition";
|
||||||
|
}
|
||||||
|
else if(playerName.equalsIgnoreCase("mezz")){
|
||||||
|
versionStrg = "Just Enough Edition";
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
versionStrg = StringUtil.localize("info."+ModUtil.MOD_ID+".booklet.edition")+" "+modVersion;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
strg = TextFormatting.GOLD+TextFormatting.ITALIC.toString()+"-"+versionStrg+"-";
|
||||||
booklet.getFontRenderer().drawString(strg, booklet.guiLeft+booklet.xSize/2-booklet.getFontRenderer().getStringWidth(strg)/2-3, booklet.guiTop+33, 0);
|
booklet.getFontRenderer().drawString(strg, booklet.guiLeft+booklet.xSize/2-booklet.getFontRenderer().getStringWidth(strg)/2-3, booklet.guiTop+33, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue