module Base
{
	craftRecipe ThreadBarrel
	{
		timedAction = CraftWeapon1H,
		Time = 200,
		AllowBatchCraft = False,
		SkillRequired = MetalWelding:3,
		OnTest = Guns93OnTestGuns93BarrelThreading,
		Tags = AnySurfaceCraft,
        category = Metalworking,
		xpAward = MetalWelding:15,
        OnCreate = Guns93OnCreateThreadBarrel,
		inputs
		{
			item 1 tags[guns93:ThreadBarrel] mode:keep flags[Prop1],
			item 1 [Base.TapDie] mode:keep,
		}
		outputs
		{
		}
	}

	craftRecipe ThreadBarrelCanon
	{
		timedAction = CraftWeapon1H,
		Time = 200,
		AllowBatchCraft = False,
		SkillRequired = MetalWelding:3,
		OnTest = Guns93OnTestGuns93BarrelThreading,
		Tags = AnySurfaceCraft,
        category = Metalworking,
		xpAward = MetalWelding:15,
        OnCreate = Guns93OnCreateThreadBarrelCanon,
		inputs
		{
			item 1 tags[guns93:CanonThread] mode:keep flags[Prop1],
			item 1 [Base.TapDie] mode:keep,
			item 1 tags[base:MetalSaw] mode:keep flags[MayDegrade],
		}
		outputs
		{
		}
	}

	craftRecipe BarrelThreadExtension
	{
		timedAction = CraftWeapon1H,
		Time = 200,
		AllowBatchCraft = False,
		SkillRequired = MetalWelding:3,
		OnTest = Guns93OnTestGuns93BarrelThreading,
		Tags = AnySurfaceCraft,
        category = Metalworking,
		xpAward = MetalWelding:15,
        OnCreate = Guns93OnCreateBarrelThreadExtension,
		inputs
		{
			item 1 tags[guns93:ThreadExtension] mode:keep flags[Prop1],
			item 1 [Base.TapDie] mode:keep,
			item 1 tags[base:File] mode:keep flags[MayDegrade],
			item 1 [Base.SmallSheetMetal],
			item 1 [Base.BlowTorch],
			item 1 tags[base:MetalSaw] mode:keep flags[MayDegrade],
		}
		outputs
		{
		}
	}

	craftRecipe BoreThread
	{
		timedAction = CraftWeapon1H,
		Time = 200,
		AllowBatchCraft = False,
		SkillRequired = MetalWelding:3,
		OnTest = Guns93OnTestGuns93BarrelThreading,
		Tags = AnySurfaceCraft,
        category = Metalworking,
		xpAward = MetalWelding:15,
        OnCreate = Guns93OnCreateBoreThread,
		inputs
		{
			item 1 tags[guns93:BoreThread] mode:keep flags[Prop1],
			item 1 [Base.TapDie] mode:keep,
		}
		outputs
		{
		}
	}
}