From b3330a48ab553afe4a56fec2e11745571eb5ca6c Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 12 Jul 2015 15:52:08 +0200 Subject: [PATCH] Added Armor Localization and Recipes --- .../crafting/ToolCrafting.java | 40 +++++++++++++++++++ .../assets/actuallyadditions/lang/en_US.lang | 18 +++++++++ 2 files changed, 58 insertions(+) diff --git a/src/main/java/ellpeck/actuallyadditions/crafting/ToolCrafting.java b/src/main/java/ellpeck/actuallyadditions/crafting/ToolCrafting.java index 6e08fd874..7b7f57040 100644 --- a/src/main/java/ellpeck/actuallyadditions/crafting/ToolCrafting.java +++ b/src/main/java/ellpeck/actuallyadditions/crafting/ToolCrafting.java @@ -43,6 +43,26 @@ public class ToolCrafting{ "EE", " S", " S", 'E', "gemEmerald", 'S', new ItemStack(Items.stick))); + + //Helm + GameRegistry.addRecipe(new ItemStack(InitItems.itemHelmEmerald), + "OOO", "O O", + 'O', new ItemStack(Items.emerald)); + + //Chest + GameRegistry.addRecipe(new ItemStack(InitItems.itemChestEmerald), + "O O", "OOO", "OOO", + 'O', new ItemStack(Items.emerald)); + + //Legs + GameRegistry.addRecipe(new ItemStack(InitItems.itemPantsEmerald), + "OOO", "O O", "O O", + 'O', new ItemStack(Items.emerald)); + + //Boots + GameRegistry.addRecipe(new ItemStack(InitItems.itemBootsEmerald), + "O O", "O O", + 'O', new ItemStack(Items.emerald)); } if(ConfigCrafting.TOOL_OBSIDIAN.isEnabled()){ @@ -75,6 +95,26 @@ public class ToolCrafting{ "EE", " S", " S", 'E', new ItemStack(Blocks.obsidian), 'S', new ItemStack(Items.stick)); + + //Helm + GameRegistry.addRecipe(new ItemStack(InitItems.itemHelmObsidian), + "OOO", "O O", + 'O', new ItemStack(Blocks.obsidian)); + + //Chest + GameRegistry.addRecipe(new ItemStack(InitItems.itemChestObsidian), + "O O", "OOO", "OOO", + 'O', new ItemStack(Blocks.obsidian)); + + //Legs + GameRegistry.addRecipe(new ItemStack(InitItems.itemPantsObsidian), + "OOO", "O O", "O O", + 'O', new ItemStack(Blocks.obsidian)); + + //Boots + GameRegistry.addRecipe(new ItemStack(InitItems.itemBootsObsidian), + "O O", "O O", + 'O', new ItemStack(Blocks.obsidian)); } //Paxels diff --git a/src/main/resources/assets/actuallyadditions/lang/en_US.lang b/src/main/resources/assets/actuallyadditions/lang/en_US.lang index 5801a707c..6a37326bf 100644 --- a/src/main/resources/assets/actuallyadditions/lang/en_US.lang +++ b/src/main/resources/assets/actuallyadditions/lang/en_US.lang @@ -495,6 +495,24 @@ tooltip.actuallyadditions.itemDustQuartz.desc=Quartz! Crushed in the Crusher! tooltip.actuallyadditions.itemDustCoal.desc=Coal! Crushed in the Crusher! tooltip.actuallyadditions.itemDustQuartzBlack.desc=Black Quartz! Crushed in the Crusher! +item.actuallyadditions.itemHelmObsidian.name=Obsidian Helm +tooltip.actuallyadditions.itemHelmObsidian.desc=It feels a bit heavy.. +item.actuallyadditions.itemChestObsidian.name=Obsidian Chestplate +tooltip.actuallyadditions.itemChestObsidian.desc=It seems to be pretty hard. +item.actuallyadditions.itemPantsObsidian.name=Obsidian Pants +tooltip.actuallyadditions.itemPantsObsidian.desc="Pants" is "Hose" in German! +item.actuallyadditions.itemBootsObsidian.name=Obsidian Boots +tooltip.actuallyadditions.itemBootsObsidian.desc=I hope they fit good.. I hate it when boots don't fit.. + +item.actuallyadditions.itemHelmEmerald.name=Emerald Helm +tooltip.actuallyadditions.itemHelmEmerald.desc=I like the color.. it's so SHINY! +item.actuallyadditions.itemChestEmerald.name=Emerald Chestplate +tooltip.actuallyadditions.itemChestEmerald.desc=That color.. it's... soooo... awesoooome °___° +item.actuallyadditions.itemPantsEmerald.name=Emerald Pants +tooltip.actuallyadditions.itemPantsEmerald.desc="Pants" is "Hose" in German! +item.actuallyadditions.itemBootsEmerald.name=Emerald Boots +tooltip.actuallyadditions.itemBootsEmerald.desc=I hope they fit good.. I hate it when boots don't fit.. + info.actuallyadditions.gui.animals=Animals info.actuallyadditions.gui.enoughToBreed=Enough to breed! info.actuallyadditions.gui.tooMany=Too many to breed!