/* Ammo Maker by STIMP_TM */

module ammomaker {

	imports
	{
		Base
	}

/* Recipes Ammo EK2 */

	recipe Make 5.8x42mm [EK2]
	{
		OnTest:Recipe.OnTest.isActivated_EK2,
		
		ammomaker_GunPowderGrains=56,
		ammomaker_PartsBottleneckS=1,
		keep Hammer/BallPeenHammer,

		Result:223Bullets=1,
		Sound:MakeAmmo,
		Time:50.0,
        Category:AmmoMakerAmmo,
		OnGiveXP:Recipe.OnGiveXP.Reloading3,
		NeedToBeLearn:false,
		IsHidden:true,
	}

	recipe Make 7.62x39 [EK2]
	{
		OnTest:Recipe.OnTest.isActivated_EK2,
		
		ammomaker_GunPowderGrains=50,
		ammomaker_PartsBottleneckS=1,
		keep Hammer/BallPeenHammer,

		Result:308Bullets=1,
		Sound:MakeAmmo,
		Time:50.0,
        Category:AmmoMakerAmmo,
		OnGiveXP:Recipe.OnGiveXP.Reloading3,
		NeedToBeLearn:false,
		IsHidden:true,
	}

	recipe Make 8.6mm BLK [EK2]
	{
		OnTest:Recipe.OnTest.isActivated_EK2,
		
		ammomaker_GunPowderGrains=90,
		ammomaker_PartsBottleneckM=1,
		keep Hammer/BallPeenHammer,

		Result:Bullets38=1,
		Sound:MakeAmmo,
		Time:50.0,
        Category:AmmoMakerAmmo,
		OnGiveXP:Recipe.OnGiveXP.Reloading3,
		NeedToBeLearn:false,
		IsHidden:true,
	}

	recipe Make .50 BMG [EK2]
	{
		OnTest:Recipe.OnTest.isActivated_EK2,

		ammomaker_GunPowderGrains=440,
		ammomaker_PartsBottleneckL=1,
		keep Hammer/BallPeenHammer,

		Result:Bullets50=1,
		Sound:MakeAmmo,
		Time:50.0,
        Category:AmmoMakerAmmo,
		OnGiveXP:Recipe.OnGiveXP.Reloading3,
		NeedToBeLearn:false,
		IsHidden:true,
	}

	recipe Make 40mm HE [EK2]
	{
		OnTest:Recipe.OnTest.isActivated_EK2,

		GunPowder=4,
		ammomaker_PartsGrenade=1,
		keep Hammer/BallPeenHammer,

		Result:GrenadeAmmo=1,
		Sound:MakeAmmo,
		Time:50.0,
        Category:AmmoMakerAmmo,
		OnGiveXP:Recipe.OnGiveXP.Reloading3,
		NeedToBeLearn:false,
		IsHidden:true,
	}

}