module Base
{

/*******VRO Salvage Returns and GiveXP*******/

/************************ Doors ************************/

	craftRecipe Salvage Vehicle Doors
	{
		timedAction = Welding,
		time = 1000,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLargeMetals,
	    
		inputs
		{

	       item 4 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Military or Large Doors ************************/

	craftRecipe Salvage Military or Large Vehicle Doors
	{
		timedAction = Welding,
		time = 1200,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:5,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsArmourLargeMetals,
		
		inputs
		{

	       item 5 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Trunk Doors ************************/

	craftRecipe Salvage Vehicle Trunk Doors
	{
		timedAction = Welding,
		time = 1000,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:4,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLargeMetals,
		
		inputs
		{

	       item 4 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Hoods ************************/

	craftRecipe Salvage Vehicle Hoods or Metal Covers
	{
		timedAction = Welding,
		time = 1000,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLargeMetals,
		
		inputs
		{

	       item 4 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Military or Large Hoods (Armor) ************************/

	craftRecipe Salvage Military Vehicle Hoods or Armor
	{
		timedAction = Welding,
		time = 1200,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:25,
		SkillRequired = MetalWelding:4,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsArmourLargeMetals,
		
		inputs
		{

	       item 5 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

	craftRecipe Salvage Wooden Vehicle Parts
	{
		timedAction = SawLogs,
		time = 700,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = Woodwork:5,
		SkillRequired = Woodwork:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsWooden,
		
		inputs
		{

			item 1 tags[Saw] mode:keep flags[MayDegradeLight;Prop1],
		}
		outputs
		{
		}
	}

/************************ Gas Tank ************************/
	
	craftRecipe Salvage Vehicle Gas Tanks
	{
		timedAction = Welding,
		time = 1000,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLargeMetals,
		
		inputs
		{

	       item 5 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

	craftRecipe Salvage Small Vehicle Gas Tanks
	{
		timedAction = Welding,
		time = 700,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSmall,
		
		inputs
		{

	       item 3 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Mufflers ************************/

	craftRecipe Salvage Vehicle Mufflers
	{
		timedAction = Welding,
		time = 1000,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:4,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsMufflers,
		
		inputs
		{

	       item 5 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}
	
/************************ Suspension ************************/

	craftRecipe Salvage Vehicle Suspension
	{
		timedAction = Welding,
		time = 1000,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:4,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSuspension,
		
		inputs
		{

	       item 4 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}
	
/************************ Brakes ************************/

	craftRecipe Salvage Vehicle Brakes
	{
		timedAction = Welding,
		time = 600,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSmall,
		
		inputs
		{

	       item 3 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Seats ************************/

	craftRecipe Salvage Vehicle Seats
	{
		timedAction = RipClothing,
		time = 600,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = Tailoring:5,
		SkillRequired = Tailoring:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsFabrics,
		
		inputs
		{

	       item 1 tags[Scissors;SharpKnife] mode:keep flags[IsNotDull;MayDegradeLight],
		}
		outputs
		{
		}
	}

/************************ Tires ************************/

	craftRecipe Salvage Vehicle Tires
	{
		timedAction = Welding,
		time = 700,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:10,
		SkillRequired = MetalWelding:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsTires,
		
		inputs
		{

	       item 2 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Misc Salvage Small bar parts ************************/

	craftRecipe Salvage Vehicle Bars
	{
		timedAction = Welding,
		time = 700,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:10,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSuspension,
		
		inputs
		{

	       item 3 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Salvage Fabrics/SaddleBags ************************/

	craftRecipe Salvage Vehicle Saddlebags or Misc Fabrics
	{
		timedAction = RipClothing,
		time = 600,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = Tailoring:5,
		SkillRequired = Tailoring:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLeathers,
		
		inputs
		{

	       item 1 tags[Scissors;SharpKnife] mode:keep flags[IsNotDull;MayDegradeLight],
		}
		outputs
		{
		}
	}

	craftRecipe Salvage Hard Vehicle Saddlebags
	{
		timedAction = Welding,
		time = 700,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:10,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSuspension,
		
		inputs
		{

	       item 3 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/******************* Salvage SoftTops ************************/

	craftRecipe Salvage Vehicle Soft-tops
	{
		timedAction = RipClothing,
		time = 800,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = Tailoring:5,
		SkillRequired = Tailoring:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSoftTops,
		
		inputs
		{

	       item 1 tags[Scissors;SharpKnife] mode:keep flags[IsNotDull;MayDegradeLight],
		}
		outputs
		{
		}
	}

/******************* Salvage Vehicle Containers and Panels ************************/

	craftRecipe Salvage Small Misc Vehicle Panels
	{
		timedAction = Welding,
		time = 800,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:3,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSmall,
		
		inputs
		{

	       item 3 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}
	
/******************* Salvage Large Container Tanks ************************/

	craftRecipe Salvage Large Container Tanks
	{
		timedAction = Welding,
		time = 1000,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:20,
		SkillRequired = MetalWelding:4,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsLargeMetals,
		
		inputs
		{

	       item 5 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}

/************************ Misc electrics ************************/

	craftRecipe Salvage Vehicle Electronics
	{
		timedAction = Welding,
		time = 500,
		Tags = InHandCraft,
		category = Salvage,
		xpAward = MetalWelding:10,
		SkillRequired = MetalWelding:2,
		OnCreate = RecipeCodeOnCreate.SalvageModuleReturnsSmallElectrics,
		
		inputs
		{

	       item 2 [Base.BlowTorch],
	       item 1 tags[WeldingMask] mode:keep,
		}
		outputs
		{
		}
	}
}