/**
   Copyright 2012 John Cummens (aka Shadowmage, Shadowmage4513)
   This software is distributed under the terms of the GNU General Public License.
   Please see COPYING for precise license information.

   This file is part of Ancient Warfare.

   Ancient Warfare is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   Ancient Warfare is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with Ancient Warfare.  If not, see <http://www.gnu.org/licenses/>.
 */
package shadowmage.ancient_warfare.common.research.general;

import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import shadowmage.ancient_warfare.common.research.ResearchGoal;
import shadowmage.ancient_warfare.common.vehicles.materials.VehicleMaterial;

public class ResearchEfficiencyIron extends ResearchGoal
{


VehicleMaterial material;
/**
 * @param num
 */
public ResearchEfficiencyIron(int num, int level)
  {
  super(num);

  this.displayName = "research."+num;
  this.detailedDescription.add("research."+num+".description");
  this.material = VehicleMaterial.materialIron;
  this.displayName = "Efficiency: Iron Materials" + (level+1);
  this.researchTime = 1200 * (level+1);
  this.detailedDescription.add("Researching Efficieny Iron allows for decreasing" +
      " the total amount of resources necessary for the construction of iron-" +
      "based vehicles.  Higher ranks increase the efficiency bonus and further" +
      " decrease the material requirements.");
  this.addResource(new ItemStack(Item.paper, (level+1)*2), false, false);
  this.addResource(new ItemStack(Item.dyePowder, level+1, 0), false, false);
  this.addResource(new ItemStack(Block.torchWood, level+1), false, false);
  }

}
