/* Ammo Maker by STIMP_TM */

module ammomaker {

	imports
	{
		Base
	}

/* Recipes Ammo PSA */

	recipe Make 5.45x39 [PSA]
	{
		OnTest:Recipe.OnTest.isActivated_PSA,
		
		ammomaker_GunPowderGrains=56,
		ammomaker_PartsBottleneckS=1,
		keep Hammer/BallPeenHammer,

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

	recipe Make .22 LR [PSA]
	{
		OnTest:Recipe.OnTest.isActivated_PSA,
		
		ammomaker_GunPowderGrains=4,
		ammomaker_PartsStraightSRim=1,
		keep Hammer/BallPeenHammer,

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

	recipe Make 7.62x25 Tok [PSA]
	{
		OnTest:Recipe.OnTest.isActivated_PSA,
		
		ammomaker_GunPowderGrains=12,
		ammomaker_PartsBottleneckS=1,
		keep Hammer/BallPeenHammer,

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

	recipe Make 7.62x38 R Nag [PSA]
	{
		OnTest:Recipe.OnTest.isActivated_PSA,
		
		ammomaker_GunPowderGrains=8,
		ammomaker_PartsStraightMRim=1,
		keep Hammer/BallPeenHammer,

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

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

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

	recipe Make 7.62x54 R [PSA]
	{
		OnTest:Recipe.OnTest.isActivated_PSA,
		
		ammomaker_GunPowderGrains=100,
		ammomaker_PartsBottleneckMRim=1,
		keep Hammer/BallPeenHammer,

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

	recipe Make 9x39 [PSA]
	{
		OnTest:Recipe.OnTest.isActivated_PSA,
		
		ammomaker_GunPowderGrains=20,
		ammomaker_PartsBottleneckS=1,
		keep Hammer/BallPeenHammer,

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

	recipe Make 9x18 Mak [PSA]
	{
		OnTest:Recipe.OnTest.isActivated_PSA,
		
		ammomaker_GunPowderGrains=6,
		ammomaker_PartsStraightS=1,
		keep Hammer/BallPeenHammer,

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

	recipe Make 4 G Buck 00 [PSA]
	{
		OnTest:Recipe.OnTest.isActivated_PSA,
		
		ammomaker_GunPowderGrains=120,
		ammomaker_HullShotgunL=1,
		ammomaker_Ball00=30,
		keep Hammer/BallPeenHammer,

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

}