module Base
{
   /* Double Tires */

    craftRecipe Convert_KI5Tire_To_Vanilla
    {
		Time = 15,
		NeedToBeLearn = false,
		OnCreate = rSemiTruck.DoubleTireRecipePatch.OnCreateConvertDamnTire,
		Tags = InHandCraft;CanBeDoneFromFloor,
        category = W900,

        inputs
        {
        }
        outputs
       {
        }
    }

    craftRecipe Dismantle_Valu_Double_Tires
    {
		timedAction = SmithingHammer,
		Time = 150,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:2,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 1 [Base.DoubleOldTire2],
			item 1 tags[LugWrench] mode:keep,
        }
        outputs
       {
           item 2 Base.OldTire2,
       }
    }


    craftRecipe Make_Valu_Double_Tires
    {
		timedAction = SmithingHammer,
		Time = 150,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:2,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 2 [Base.OldTire2],
			item 1 tags[LugWrench] mode:keep,
        }
        outputs
       {
           item 1 Base.DoubleOldTire2,
       }
    }

    craftRecipe Dismantle_Regular_Valu_Double_Tires
    {
		timedAction = SmithingHammer,
		Time = 150,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:2,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 1 [Base.DoubleNormalTire2],
			item 1 tags[LugWrench] mode:keep,
        }
        outputs
       {
           item 2 Base.NormalTire2,
       }
    }



    craftRecipe Make_Regular_Double_Tires
    {
		timedAction = SmithingHammer,
		Time = 150,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:2,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 2 [Base.NormalTire2],
			item 1 tags[LugWrench] mode:keep,
        }
        outputs
       {
           item 1 Base.DoubleNormalTire2,
       }
    }


    craftRecipe Dismantle_Performance_Valu_Double_Tires
    {
		timedAction = SmithingHammer,
		Time = 150,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:2,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 1 [Base.DoubleModernTire2],
			item 1 tags[LugWrench] mode:keep,
        }
        outputs
       {
           item 2 Base.ModernTire2,
       }
    }	

    craftRecipe Make_Performance_Double_Tires
    {
		timedAction = SmithingHammer,
		Time = 150,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:2,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 2 [Base.ModernTire2],
			item 1 tags[LugWrench] mode:keep,
        }
        outputs
       {
           item 1 Base.DoubleModernTire2,
       }
    }	

        craftRecipe Make_SemiTrailerArmor
    {
        timedAction = Welding,
		Time = 1000,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:2,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 8 [Base.BlowTorch],
			item 1 tags[WeldingMask] mode:keep,
			item 6 [Base.SheetMetal],
			item 4 [Base.MetalPipe],
			item 50 [Base.Screws],
        }
        outputs
        {
            item 1 Base.SemiTrailerArmor2,
        }
    }	
        craftRecipe Make_W900_Front_Door_Armor
    {
        timedAction = Welding,
		Time = 1000,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:2,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 5 [Base.BlowTorch],
			item 1 tags[WeldingMask] mode:keep,
			item 2 [Base.SmallSheetMetal],
			item 2 [Base.MetalPipe],
			item 10 [Base.Screws],
        }
        outputs
        {
            item 1 Base.SemiTruckArmorDoor_Item2,
        }
    }	

		craftRecipe Make_W900_Makeshift_Windshield_Armor
    {
        timedAction = Welding,
		Time = 1000,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:3,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 3 [Base.BlowTorch],
			item 1 tags[WeldingMask] mode:keep,
			item 2 [Base.SmallSheetMetal],
			item 1 [Base.SheetMetal],
			item 2 [Base.MetalPipe],
			item 10 [Base.Screws],
        }
        outputs
        {
            item 1 Base.SemiTruckArmorFront_Item2,
        }
    }	

		craftRecipe Make_W900_Makeshift_Rear_Windshield_Armor
    {
        timedAction = Welding,
		Time = 1000,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:3,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 3 [Base.BlowTorch],
			item 1 tags[WeldingMask] mode:keep,
			item 2 [Base.SmallSheetMetal],
			item 1 [Base.SheetMetal],		
			item 2 [Base.MetalPipe],
			item 10 [Base.Screws],
        }
        outputs
        {
            item 1 Base.SemiTruckArmorRear_Item2,
        }
    }	

		craftRecipe Make_W900_Bullbar
    {
        timedAction = Welding,
		Time = 1000,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:4,
		Tags = InHandCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:75,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 20 [Base.BlowTorch],
			item 1 tags[WeldingMask] mode:keep,
			item 4 [Base.SmallSheetMetal],
			item 2 [Base.SheetMetal],			
			item 4 [Base.MetalPipe],
			item 20 [Base.Screws],
        }
        outputs
        {
            item 1 Base.SemiTruckBullbar_Item2,
        }
    }

    craftRecipe Make_W900_Wheel_Chain_From_Scratch
    {
        timedAction = Welding,
		Time = 1000,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:4,
		Tags = AnySurfaceCraft;Welding;CanBeDoneFromFloor,
        category = W900,
		xpAward = MetalWelding:75,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
			item 2 [Base.BlowTorch],
			item 1 tags[WeldingMask] mode:keep,
			item 4 [Base.IronPiece],	
			item 1 [Base.HeavyChain],
			item 12 [Base.Screws],
        }
        outputs
        {
            item 1 Base.SemiTruckArmorTires_Item2,
        }
    }

    craftRecipe Make_W900_Wheel_Chain_With_Chains
    {
        timedAction = SmithingHammer,
		Time = 650,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:2,
		Tags = AnySurfaceCraft,
        category = W900,
		xpAward = MetalWelding:35,
		AutoLearnAny = MetalWelding:3,
        
        inputs
        {
			item 2 [Base.BlowTorch],
			item 1 tags[WeldingMask] mode:keep,
			item 1 [ATA2.ATAProtectionWheelsChain],
			item 24 [Base.Screws],
        }
        outputs
        {
            item 2 Base.SemiTruckArmorTires_Item2,
        }
    }
       craftRecipe Craft_Freezer_System
    {
		timedAction = Welding,
		Time = 400,
		NeedToBeLearn = false,
		SkillRequired = MetalWelding:2;Electricity:5;Mechanics:3,
		Tags = InHandCraft;Welding;AnySurfaceCraft,
        category = W900,
		xpAward = MetalWelding:45;Electricity:45;Mechanics:45,
        Tooltip = Tooltip_Recipe_Freezersystemcraft,
        inputs
        {
			item 1 [ATA2.TransportFreezer],
			item 1 tags[LugWrench] mode:keep,
            item 5 [Base.BlowTorch],
            item 1 tags[WeldingMask] mode:keep,
            item 10 [Base.Screws],
            item 5 [Base.MetalPipe],
            item 3 [Base.SheetMetal],
            item 6 [Base.ElectricWire],
            item 10 [Base.ElectronicsScrap],
        }
        outputs
       {
           item 1 Base.TransportFreezerSystem,
       }
    }	
	craftRecipe CraftTank125
	{
        timedAction = Welding,
        time = 300,
        Tags = AnySurfaceCraft;Welding,
        category = W900,
        xpAward = MetalWelding:15;Mechanics:25,
        SkillRequired = MetalWelding:2;Mechanics:3;Maintenance:1,
        NeedToBeLearn = false,
		
        inputs
        {
		item 2 [Base.NutsBolts],
		item 6 [Base.Screws],
		item 6 [Base.SmallSheetMetal],
		item 6 [Base.IronPiece;Base.SteelPiece;Base.ScrapMetal],
		item 4 [Base.Wire],
		item 4 [Base.Epoxy;Base.Glue;Base.Woodglue],
		item 1 [Base.BlowTorch] mode:keep flags[Prop1],
		item 2 [Base.WeldingRods],
		item 1 tags[base:screwdriver] mode:keep,
		item 1 tags[base:wrench] mode:keep flags[MayDegradeVeryLight],
		item 1 tags[base:weldingmask] mode:keep,

	}
        outputs
        {
		item 1 Base.Tank125_2,
        }
	}
    craftRecipe ConvertTank2000Type
	{
        timedAction = Making,
        time = 50,
        Tags = InHandCraft;AnySurfaceCraft,
        category = W900,
        SkillRequired = Mechanics:3,
        NeedToBeLearn = false,
		
        inputs
        {
            item 1 [Base.Tank2000_2;Base.Tank2000W_2] mode:destroy flags[IsEmpty;InheritCondition;ItemCount] mappers[Tank2000TypeMapper],
            item 1 tags[base:wrench] mode:keep flags[MayDegradeVeryLight;Prop1],
	}
        outputs
        {
            item 1 mapper:Tank2000TypeMapper,
        }
        itemMapper Tank2000TypeMapper
        {
            Base.Tank2000W_2 = Base.Tank2000_2,
            Base.Tank2000_2 = Base.Tank2000W_2,
        }
	}
}