/* Ammo Maker by STIMP_TM, based on HFE HFE_Weapon_recipes.txt by Mackus103 */

module Base {

/* Adjust HFE Ammunition Recipes */

    recipe Craft Crossbow Bolts 
    {
		OnTest:Recipe.OnTest.isActivated_HFE,

		ammomaker_ArrowFletching=6,
		ammomaker_ArrowHead=2,
		ScrapMetal=2,
		BlowTorch=1,
		keep Hammer/BallPeenHammer,

        Result               : CrossbowBolt=2,
        Time                 : 50,
        Sound                : Hammering,
        AnimNode             : Disassemble,
        Prop1                : Hammer,
        CanBeDoneFromFloor   : false,
        NeedToBeLearn        : false,
		IsHidden			 : true,
		Override             : true,
    }

    recipe Craft Wood Crossbow Bolts
    {
		OnTest:Recipe.OnTest.isActivated_HFE,

		ammomaker_ArrowFletching=6,
		ammomaker_ArrowHead=2,
		WoodenStick=1,
		keep [Recipe.GetItemTypes.SharpKnife]/MeatCleaver,

        Result               : WoodCrossbowBolt=2,
        Time                 : 50,
        Sound                : Hammering,
        AnimNode             : Disassemble,
        Prop1                : Hammer,
        CanBeDoneFromFloor   : false,
        NeedToBeLearn        : false,
		IsHidden			 : true,
		Override             : true,
    }

    recipe Craft Blunderbuss Ammo with Scrap Metal
    {
		OnTest:Recipe.OnTest.isActivated_HFE,

		ammomaker_GunPowderGrains=750,
		ScrapMetal=4,
		Doodle/Newspaper/SheetPaper2,
		BlowTorch=1,
		keep Hammer/BallPeenHammer,

        Result               : BlunderbussBullets=2,
        Time                 : 50,
        AnimNode             : Disassemble,
        CanBeDoneFromFloor   : false,
        NeedToBeLearn        : false,
		IsHidden			 : true,
		Override             : true,
    }

    recipe Craft Blunderbuss Ammo with Nails
    {
		OnTest:Recipe.OnTest.isActivated_HFE,

		ammomaker_GunPowderGrains=750,
		Nails=8,
		Doodle/Newspaper/SheetPaper2,
		BlowTorch=1,
		keep Hammer/BallPeenHammer,

        Result               : BlunderbussBullets=2,
        Time                 : 50,
        AnimNode             : Disassemble,
        CanBeDoneFromFloor   : false,
        NeedToBeLearn        : false,
		IsHidden			 : true,
		Override             : true,
    }

    recipe Craft Blunderbuss Ammo with Screws
    {
		OnTest:Recipe.OnTest.isActivated_HFE,

		ammomaker_GunPowderGrains=750,
		Screws=8,
		Doodle/Newspaper/SheetPaper2,
		BlowTorch=1,
		keep Hammer/BallPeenHammer,

        Result               : BlunderbussBullets=2,
        Time                 : 50,
        AnimNode             : Disassemble,
        CanBeDoneFromFloor   : false,
        NeedToBeLearn        : false,
		IsHidden			 : true,
		Override             : true,
    }

    recipe Craft Blowgun Darts 
    {
		OnTest:Recipe.OnTest.isActivated_HFE,

		ammomaker_ArrowFletching=16,
		ammomaker_ArrowHead=4,
		ScrapMetal=2,
		BlowTorch=1,
		keep Hammer/BallPeenHammer,

        Result               : BlowgunDart=4,
        Time                 : 50,
        Sound                : Hammering,
        AnimNode             : Disassemble,
        Prop1                : Hammer,
        CanBeDoneFromFloor   : false,
        NeedToBeLearn        : false,
		IsHidden			 : true,
		Override             : true,
    }

/* Remove HFE Ammunition Recipes */

    recipe Craft Blunderbuss Ammo with Minie Balls
    {
		OnTest:Recipe.OnTest.disabled,

        MinieBall=10,
        Doodle/Newspaper/SheetPaper2,
        GunPowder=100,

        Result               : BlunderbussBullets,
        Time                 : 150,
        AnimNode             : Disassemble,
        CanBeDoneFromFloor   : false,
        NeedToBeLearn        : false,
		IsHidden			 : true,
		Override             : true,
    }

    recipe Gather Gunpowder HFO
    {
		OnTest:Recipe.OnTest.disabled,

		22Bullets/3006Bullets/380Bullets/545Bullets/57Bullets/762Bullets/762x51Bullets/762x54rBullets/792Bullets/792x33Bullets/50BMGBullets/9x39Bullets/BlunderbussBullets/ShotgunShellsBirdshot/ShotgunShellsSlug,

		Result:GunPowder,
		Time:30.0,
		IsHidden			 : true,
		Override             : true,
    }

}