Skip to content

Commit

Permalink
Fix Jerky stacking, adjust saturation
Browse files Browse the repository at this point in the history
  • Loading branch information
mDiyo committed Sep 11, 2013
1 parent c125b0f commit 9b42cdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tconstruct/common/TContent.java
Expand Up @@ -1831,7 +1831,7 @@ void addCraftingRecipes()
DryingRackRecipes.addDryingRecipe(Item.fishRaw, 20 * 60 * 5, new ItemStack(jerky, 1, 4));
DryingRackRecipes.addDryingRecipe(Item.rottenFlesh, 20 * 60 * 5, new ItemStack(jerky, 1, 5));

DryingRackRecipes.addDryingRecipe(new ItemStack(jerky, 1, 5), 20 * 60 * 10, Item.leather);
//DryingRackRecipes.addDryingRecipe(new ItemStack(jerky, 1, 5), 20 * 60 * 10, Item.leather);

//Slabs
for (int i = 0; i < 7; i++)
Expand Down
3 changes: 2 additions & 1 deletion src/tconstruct/items/Jerky.java
Expand Up @@ -12,12 +12,13 @@ public class Jerky extends SpecialFood
public static String[] textureNames = new String[] { "beef", "chicken", "pork", "mutton", "fish", "monster" };
public static String[] itemNames = new String[] { "jerky.beef", "jerky.chicken", "jerky.pig", "jerky.sheep", "jerky.fish", "jerky.zombie" };
public static int[] hunger = new int[] { 8, 6, 8, 6, 5, 4 };
public static float[] saturation = new float[] { 0.8f, 0.6f, 0.8f, 0.6f, 0.6f, 0.4f };
public static float[] saturation = new float[] { 1.0f, 0.8f, 1.0f, 0.8f, 0.8f, 0.4f };
public static int[] overhaulHunger = new int[] { 1, 1, 1, 1, 1, 1 };

public Jerky(int id, boolean hungerOverhaul)
{
super(id, hungerOverhaul ? overhaulHunger : hunger, saturation, itemNames, textureNames);
this.setHasSubtypes(true);
}

@SideOnly(Side.CLIENT)
Expand Down

0 comments on commit 9b42cdd

Please sign in to comment.