module Base
{
	craftRecipe Guns93SimpleCrudeAutoTrigger
	{
		timedAction = SawOffShotgun,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:1,
		Tags = InHandCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:3,
		inputs
		{
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
			item 1 [Base.MAC10Trigger;Base.UziTrigger;Base.TEC9;Base.R1022Trigger;Base.Marlin60Trigger;Base.MarlinPPCTrigger] mappers[smiplecrudetriggertype],
		}
		outputs
		{
			item 1 mapper:smiplecrudetriggertype,
		}
			itemMapper smiplecrudetriggertype
		{
			Base.CrudeMAC10AutoTrigger = Base.MAC10Trigger,
			Base.CrudeUziAutoTrigger = Base.UziTrigger,
			Base.CrudeTEC9AutoTrigger = Base.TEC9Trigger,
			Base.CrudeR1022AutoTrigger = Base.R1022Trigger,
			Base.CrudeMarlin60AutoTrigger = Base.Marlin60Trigger,
			Base.CrudeMarlinPPCAutoTrigger = Base.MarlinPPCTrigger,
		}
	}

	craftRecipe Guns93CrudeAutoTrigger
	{
		timedAction = SawOffShotgun,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:3,
		Tags = InHandCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:5,
		inputs
		{
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
			item 1 [Base.AR15Trigger;Base.AR15MatchTrigger;Base.AKTrigger;Base.AR180Trigger;Base.M14Trigger;Base.M14MatchTrigger;Base.M1CarTrigger;Base.HKTrigger;Base.CalicoTrigger;Base.Mini14Trigger;Base.Mini14TriggerSS;Base.SKSTrigger;Base.FALTrigger] mappers[crudetriggertype],
		}
		outputs
		{
			item 1 mapper:crudetriggertype,
		}
			itemMapper crudetriggertype
		{
			Base.CrudeM16Trigger = Base.AR15Trigger,
			Base.CrudeM16Trigger = Base.AR15MatchTrigger,
			Base.CrudeAKAutoTrigger = Base.AKTrigger,
			Base.CrudeAR18Trigger = Base.AR180Trigger,
			Base.CrudeM14Trigger = Base.M14Trigger,
			Base.CrudeM14Trigger = Base.M14MatchTrigger,
			Base.CrudeM1CarTrigger = Base.M1CarTrigger,
			Base.CrudeAR18Trigger = Base.HKTrigger,
			Base.CrudeCalicoAutoTrigger = Base.CalicoTrigger,
			Base.CrudeMini14AutoTrigger = Base.Mini14Trigger,
			Base.CrudeMini14AutoTriggerSS = Base.Mini14TriggerSS,
			Base.CrudeSKSAutoTrigger = Base.SKSTrigger,
			Base.CrudeFALAutoTrigger = Base.FALTrigger,
		}
	}
	craftRecipe Guns93SimpleAutoTrigger
	{
		timedAction = SawOffShotgun,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:3,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:5,
		inputs
		{
			item 1 [Base.ScrapMetal],
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
			item 1 [Base.MAC10Trigger;Base.UziTrigger] mappers[simpleautotriggertype],
		}
		outputs
		{
			item 1 mapper:simpleautotriggertype,
		}
			itemMapper simpleautotriggertype
		{
			Base.MAC10AutoTrigger = Base.MAC10Trigger,
			Base.UziAutoTrigger = Base.UziTrigger,
		}
	}

	craftRecipe Guns93AutoTrigger
	{
		timedAction = SawOffShotgun,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:5,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:6,
		inputs
		{
			item 1 [Base.ScrapMetal],
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
			item 1 [Base.AR15Trigger;Base.AR15MatchTrigger;Base.AKTrigger;Base.AR180Trigger;Base.HKTrigger;Base.FALTrigger] mappers[autotriggertype],
		}
		outputs
		{
			item 1 mapper:autotriggertype,
		}
			itemMapper autotriggertype
		{
			Base.M16Trigger = Base.AR15Trigger,
			Base.M16Trigger = Base.AR15MatchTrigger,
			Base.AKAutoTrigger = Base.AKTrigger,
			Base.AR180Trigger = Base.AR180Trigger,
			Base.HKAutoTrigger = Base.HKTrigger,
			Base.FALAutoTrigger = Base.FALTrigger,
		}
	}

	craftRecipe Guns93BurstTrigger
	{
		timedAction = SawOffShotgun,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:5,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:6,
		inputs
		{
			item 1 [Base.ScrapMetal],
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
			item 1 [Base.AR15Trigger;Base.AR15MatchTrigger;Base.HKTrigger] mappers[bursttriggertype],
		}
		outputs
		{
			item 1 mapper:bursttriggertype,
		}
			itemMapper bursttriggertype
		{
			Base.AR15BurstTrigger = Base.AR15Trigger,
			Base.AR15BurstTrigger = Base.AR15MatchTrigger,
			Base.HKBurstTrigger = Base.HKTrigger,
		}
	}

	craftRecipe Guns93BurstOnlyTrigger
	{
		timedAction = SawOffShotgun,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:5,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:6,
		inputs
		{
			item 1 [Base.ScrapMetal],
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
			item 1 [Base.AR15Trigger;Base.AR15MatchTrigger] mappers[onlybursttriggertype],
		}
		outputs
		{
			item 1 mapper:onlybursttriggertype,
		}
			itemMapper onlybursttriggertype
		{
			Base.M16A2Trigger = Base.AR15Trigger,
			Base.M16A2Trigger = Base.AR15MatchTrigger,
		}
	}

	craftRecipe AR15LightLink
	{
		timedAction = CutWire,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:1,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:2,
		inputs
		{
			item 1 [Base.SmallSheetMetal],
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
		}
		outputs
		{
			item 1 Base.LightLink,
		}
	}

	craftRecipe AR15DIYAutoSear
	{
		timedAction = CutWire,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:2,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:4,
		inputs
		{
            item 1 tags[base:pliers] mode:keep flags[MayDegradeLight],
            item 1 tags[base:hammer] mode:keep flags[MayDegradeVeryLight],
            item 1 [Base.Wire;Base.SmallSheetMetal] mappers[diyautosearmapper],
		}
		outputs
		{
			item 1 mapper:diyautosearmapper,
		}
			itemMapper diyautosearmapper
		{
			Base.WireAutoSear = Base.Wire,
			Base.SwiftLink = Base.SmallSheetMetal,
		}
	}

	craftRecipe AR15DIAS
	{
		timedAction = Welding,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:5,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:6,
		inputs
		{
			item 1 [Base.ScrapMetal],
            item 1 tags[base:drillmetal] mode:keep flags[MayDegrade],
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
		}
		outputs
		{
			item 1 Base.RDIAS,
		}
	}

	craftRecipe M14AutoPart
	{
		timedAction = Welding,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:5,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:6,
		inputs
		{
			item 1 [Base.ScrapMetal],
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
		}
		outputs
		{
			item 1 Base.M14AutoPart,
		}
	}

	craftRecipe Mini14AutoPart
	{
		timedAction = Welding,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:5,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:6,
		inputs
		{
			item 1 [Base.ScrapMetal],
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
		}
		outputs
		{
			item 1 Base.Mini14AutoPart,
		}
	}

	craftRecipe Mini14AutoBurstPart
	{
		timedAction = Welding,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:7,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:6,
		inputs
		{
			item 1 [Base.ScrapMetal],
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
		}
		outputs
		{
			item 1 Base.Mini14AutoBurstPart,
		}
	}

	craftRecipe M1CarAutoPart
	{
		timedAction = Welding,
		Time = 200,
        Tooltip = Tooltip_Recipe_NeedSawMetal,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:5,
		Tags = AnySurfaceCraft;Welding,
        category = Metalworking,
		xpAward = MetalWelding:25,
		AutoLearnAny = Aiming:6,
		inputs
		{
			item 1 [Base.ScrapMetal],
			item 1 tags[base:file] mode:keep flags[MayDegrade],
			item 1 tags[base:metalsaw;base:smallsaw] mode:keep flags[MayDegrade],
		}
		outputs
		{
			item 1 Base.M2CarPart,
		}
	}
}