/* Ammo Maker by STIMP_TM */

module Base {

/* MAKE BULLET RECIPES */

	/* MAKE BULLET RIFLE RECIPES */

	craftRecipe MakeBulletsRifleS
	{
		timedAction = Making,
		Time = 200,
		Tags = PrimitiveFurnace;CanBeDoneFromFloor,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		OnCreate = RecipeCodeOnCreate.MakeBullets,
		xpAward = Blacksmith:10,
		ToolTip = Tooltip_Recipe_MakeBulletsRifleS,
		inputs
		{
			item 1 [ammomaker.ammomaker_MoldBulletsRifleS] mode:destroy,
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
            item 1 [Base.CeramicCrucible;Base.CeramicCrucibleSmall] mode:keep,
            item 1 tags[base:crudetongs;base:tongs] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 100 ammomaker.ammomaker_BulletRifleS,
			item 1 ammomaker.ammomaker_Mold,
		}
	}

	craftRecipe MakeBulletsRifleSAP
	{
		timedAction = Making,
		Time = 200,
		Tags = PrimitiveFurnace;CanBeDoneFromFloor,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		OnCreate = RecipeCodeOnCreate.MakeBullets,
		xpAward = Blacksmith:10,
		ToolTip = Tooltip_Recipe_MakeBulletsRifleSAP,
		inputs
		{
			item 1 [ammomaker.ammomaker_MoldBulletsRifleS] mode:destroy,
			item 1 tags[base:smeltablesteelsmall] flags[ItemCount] mode:destroy,
            item 1 [Base.CeramicCrucible;Base.CeramicCrucibleSmall] mode:keep,
            item 1 tags[base:crudetongs;base:tongs] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 100 ammomaker.ammomaker_BulletRifleSAP,
			item 1 ammomaker.ammomaker_Mold,
		}
	}

	craftRecipe MakeBulletsRifleM
	{
		timedAction = Making,
		Time = 200,
		Tags = PrimitiveFurnace;CanBeDoneFromFloor,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		OnCreate = RecipeCodeOnCreate.MakeBullets,
		xpAward = Blacksmith:10,
		ToolTip = Tooltip_Recipe_MakeBulletsRifleM,
		inputs
		{
			item 1 [ammomaker.ammomaker_MoldBulletsRifleM] mode:destroy,
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
            item 1 [Base.CeramicCrucible;Base.CeramicCrucibleSmall] mode:keep,
            item 1 tags[base:crudetongs;base:tongs] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 50 ammomaker.ammomaker_BulletRifleM,
			item 1 ammomaker.ammomaker_Mold,
		}
	}

	craftRecipe MakeBulletsRifleL
	{
		timedAction = Making,
		Time = 200,
		Tags = PrimitiveFurnace;CanBeDoneFromFloor,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		OnCreate = RecipeCodeOnCreate.MakeBullets,
		xpAward = Blacksmith:10,
		ToolTip = Tooltip_Recipe_MakeBulletsRifleL,
		inputs
		{
			item 1 [ammomaker.ammomaker_MoldBulletsRifleL] mode:destroy,
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
            item 1 [Base.CeramicCrucible;Base.CeramicCrucibleSmall] mode:keep,
            item 1 tags[base:crudetongs;base:tongs] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 25 ammomaker.ammomaker_BulletRifleL,
			item 1 ammomaker.ammomaker_Mold,
		}
	}

	/* MAKE BULLET HANDGUN RECIPES */

	craftRecipe MakeBulletsHandgunS
	{
		timedAction = Making,
		Time = 200,
		Tags = PrimitiveFurnace;CanBeDoneFromFloor,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		OnCreate = RecipeCodeOnCreate.MakeBullets,
		xpAward = Blacksmith:10,
		ToolTip = Tooltip_Recipe_MakeBulletsHandgunS,
		inputs
		{
			item 1 [ammomaker.ammomaker_MoldBulletsHandgunS] mode:destroy,
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
            item 1 [Base.CeramicCrucible;Base.CeramicCrucibleSmall] mode:keep,
            item 1 tags[base:crudetongs;base:tongs] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 100 ammomaker.ammomaker_BulletHandgunS,
			item 1 ammomaker.ammomaker_Mold,
		}
	}

	craftRecipe MakeBulletsHandgunM
	{
		timedAction = Making,
		Time = 200,
		Tags = PrimitiveFurnace;CanBeDoneFromFloor,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		OnCreate = RecipeCodeOnCreate.MakeBullets,
		xpAward = Blacksmith:10,
		ToolTip = Tooltip_Recipe_MakeBulletsHandgunM,
		inputs
		{
			item 1 [ammomaker.ammomaker_MoldBulletsHandgunM] mode:destroy,
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
            item 1 [Base.CeramicCrucible;Base.CeramicCrucibleSmall] mode:keep,
            item 1 tags[base:crudetongs;base:tongs] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 50 ammomaker.ammomaker_BulletHandgunM,
			item 1 ammomaker.ammomaker_Mold,
		}
	}

	craftRecipe MakeBulletsHandgunL
	{
		timedAction = Making,
		Time = 200,
		Tags = PrimitiveFurnace;CanBeDoneFromFloor,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		OnCreate = RecipeCodeOnCreate.MakeBullets,
		xpAward = Blacksmith:10,
		ToolTip = Tooltip_Recipe_MakeBulletsHandgunL,
		inputs
		{
			item 1 [ammomaker.ammomaker_MoldBulletsHandgunL] mode:destroy,
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
            item 1 [Base.CeramicCrucible;Base.CeramicCrucibleSmall] mode:keep,
            item 1 tags[base:crudetongs;base:tongs] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 25 ammomaker.ammomaker_BulletHandgunL,
			item 1 ammomaker.ammomaker_Mold,
		}
	}

	/* MAKE BULLET SHOTGUN RECIPES */

	craftRecipe MakeBalls00
	{
		timedAction = Making,
		Time = 200,
		Tags = PrimitiveFurnace;CanBeDoneFromFloor,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		OnCreate = RecipeCodeOnCreate.MakeBullets,
		xpAward = Blacksmith:10,
		ToolTip = Tooltip_Recipe_MakeBalls00,
		inputs
		{
			item 1 [ammomaker.ammomaker_MoldBalls00] mode:destroy,
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
            item 1 [Base.CeramicCrucible;Base.CeramicCrucibleSmall] mode:keep,
            item 1 tags[base:crudetongs;base:tongs] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 3 ammomaker.ammomaker_Balls00,
			item 1 ammomaker.ammomaker_Mold,
		}
	}

	craftRecipe MakeSlugs12
	{
		timedAction = Making,
		Time = 200,
		Tags = PrimitiveFurnace;CanBeDoneFromFloor,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		OnCreate = RecipeCodeOnCreate.MakeBullets,
		xpAward = Blacksmith:10,
		ToolTip = Tooltip_Recipe_MakeSlugs12,
		inputs
		{
			item 1 [ammomaker.ammomaker_MoldSlugs12] mode:destroy,
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
            item 1 [Base.CeramicCrucible;Base.CeramicCrucibleSmall] mode:keep,
            item 1 tags[base:crudetongs;base:tongs] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 35 ammomaker.ammomaker_Slug12,
			item 1 ammomaker.ammomaker_Mold,
		}
	}

	/* MAKE PROJECTILE GRENADE RECIPES */

	craftRecipe MakeProjectile40HE
	{
		timedAction = MakingHammer_Surface,
		Time = 400,
		Tags = AdvancedForge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:9,
		xpAward = Blacksmith:100,
		ToolTip = Tooltip_Recipe_MakeProjectile40HE,
		inputs
		{
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
			item 1500 [ammomaker.ammomaker_GunPowderGrains],
			item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 1 ammomaker.ammomaker_Projectile40HE,
		}
	}

	craftRecipe MakeProjectile40INC
	{
		timedAction = MakingHammer_Surface,
		Time = 400,
		Tags = AdvancedForge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:9,
		xpAward = Blacksmith:100,
		ToolTip = Tooltip_Recipe_MakeProjectile40INC,
		inputs
		{
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
			item 750 [ammomaker.ammomaker_GunPowderGrains],
			item 1 [*],
			-fluid 0.1 [Petrol],
			item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 1 ammomaker.ammomaker_Projectile40INC,
		}
	}

	craftRecipe MakeProjectile40MPB
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = Forge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:6,
		xpAward = Blacksmith:75,
		ToolTip = Tooltip_Recipe_MakeProjectile40MPB,
		inputs
		{
			item 1 tags[base:smeltableironsmall] flags[ItemCount] mode:destroy,
			item 27 [ammomaker.ammomaker_Balls00],
			item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 1 ammomaker.ammomaker_Projectile40MPB,
		}
	}

/* MAKE CASING RECIPES */

	/* MAKE CASING BOTTLENECK RECIPES */

	craftRecipe MakeCasingsBottleneckS
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = AdvancedForge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:8,
		xpAward = Blacksmith:92,
		ToolTip = Tooltip_Recipe_MakeCasingsBottleneckS,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 25 ammomaker.ammomaker_CasingBottleneckS,
		}
	}

	craftRecipe MakeCasingsBottleneckM
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = AdvancedForge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:8,
		xpAward = Blacksmith:92,
		ToolTip = Tooltip_Recipe_MakeCasingsBottleneckM,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 15 ammomaker.ammomaker_CasingBottleneckM,
		}
	}

	craftRecipe MakeCasingsBottleneckL
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = AdvancedForge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:8,
		xpAward = Blacksmith:92,
		ToolTip = Tooltip_Recipe_MakeCasingsBottleneckL,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 8 ammomaker.ammomaker_CasingBottleneckL,
		}
	}

	/* MAKE CASING BOTTLENECK RIMMED RECIPES */

	craftRecipe MakeCasingsBottleneckMRim
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = AdvancedForge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:7,
		xpAward = Blacksmith:84,
		ToolTip = Tooltip_Recipe_MakeCasingsBottleneckMRim,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 12 ammomaker.ammomaker_CasingBottleneckMRim,
		}
	}

	/* MAKE CASINGS STRAIGHT RECIPES */

	craftRecipe MakeCasingsStraightS
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = Forge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:6,
		xpAward = Blacksmith:75,
		ToolTip = Tooltip_Recipe_MakeCasingsStraightS,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 50 ammomaker.ammomaker_CasingStraightS,
		}
	}

	craftRecipe MakeCasingsStraightM
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = Forge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:6,
		xpAward = Blacksmith:75,
		ToolTip = Tooltip_Recipe_MakeCasingsStraightM,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 25 ammomaker.ammomaker_CasingStraightM,
		}
	}

	craftRecipe MakeCasingsStraightL
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = Forge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:6,
		xpAward = Blacksmith:75,
		ToolTip = Tooltip_Recipe_MakeCasingsStraightL,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 10 ammomaker.ammomaker_CasingStraightL,
		}
	}

	/* MAKE CASING STRAIGHT RIMMED RECIPES */

	craftRecipe MakeCasingsStraightSRim
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = Forge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:5,
		xpAward = Blacksmith:65,
		ToolTip = Tooltip_Recipe_MakeCasingsStraightSRim,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 50 ammomaker.ammomaker_CasingStraightSRim,
		}
	}

	craftRecipe MakeCasingsStraightMRim
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = Forge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:5,
		xpAward = Blacksmith:65,
		ToolTip = Tooltip_Recipe_MakeCasingsStraightMRim,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 25 ammomaker.ammomaker_CasingStraightMRim,
		}
	}

	craftRecipe MakeCasingsStraightLRim
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = Forge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:5,
		xpAward = Blacksmith:65,
		ToolTip = Tooltip_Recipe_MakeCasingsStraightLRim,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 10 ammomaker.ammomaker_CasingStraightLRim,
		}
	}

	/* MAKE HULL SHOTGUN RECIPES */

	craftRecipe MakeHullsShotgunS
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = Forge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:5,
		xpAward = Blacksmith:65,
		ToolTip = Tooltip_Recipe_MakeHullsShotgunS,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
			item 1 [ammomaker.ammomaker_RecPlastic],
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 20 ammomaker.ammomaker_HullShotgunS,
		}
	}

	craftRecipe MakeHullsShotgunL
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = Forge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:6,
		xpAward = Blacksmith:75,
		ToolTip = Tooltip_Recipe_MakeHullsShotgunL,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
			item 1 [ammomaker.ammomaker_RecPlastic],
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 10 ammomaker.ammomaker_HullShotgunL,
		}
	}

	/* MAKE CASING GRENADE RECIPES */

	craftRecipe MakeCasingGrenade
	{
		timedAction = MakingHammer_Surface,
		Time = 200,
		Tags = AdvancedForge,
		NeedToBeLearn = False,
		category = AmmoMakerParts,
		SkillRequired = Blacksmith:8,
		xpAward = Blacksmith:92,
		ToolTip = Tooltip_Recipe_MakeCasingGrenade,
		inputs
		{
			item 1 [ammomaker.ammomaker_BrassSheet] mode:destroy,
            item 1 tags[base:ballpeenhammer] mode:keep flags[Prop1],
            item 1 tags[base:tongs;base:metalworkingpliers] mode:keep flags[Prop2],
            item 1 tags[base:metalworkingpunch] mode:keep,
			item 1 tags[base:charcoal],
		}
		outputs
		{
			item 8 ammomaker.ammomaker_CasingGrenade,
		}
	}

}