module Base

{
    craftRecipe chevyCUCVMakeTire1
	{
        timedAction = Making,
        time = 200,
        Tags = InHandCraft,
        category = Mechanical,
        xpAward = Mechanics:2,
        SkillRequired = Mechanics:2,
        OnCreate = DAMN.OnCreate.PassSecondCond,

        inputs
        {
            item 1 [damnCraft.SteelRimSmall],
            item 1 [damnCraft.TireRubberNewSmall;damnCraft.TireRubberUsedSmall;damnCraft.TireRubberDestroyedSmall] mode:destroy,
            item 1 [Base.Crowbar] mode:keep,
        }
        outputs
        {
            item 1 Base.86chevyCUCVTire1,
        }
	}

    craftRecipe chevyCUCVMakeTire2
	{
        timedAction = Making,
        time = 200,
        Tags = InHandCraft,
        category = Mechanical,
        xpAward = Mechanics:2,
        SkillRequired = Mechanics:2,
        OnCreate = DAMN.OnCreate.PassSecondCond,

        inputs
        {
            item 1 [damnCraft.SteelRimSmall],
            item 1 [damnCraft.TireRubberNewSmall;damnCraft.TireRubberUsedSmall;damnCraft.TireRubberDestroyedSmall] mode:destroy,
            item 1 [Base.Crowbar] mode:keep,
        }
        outputs
        {
            item 1 Base.86chevyCUCVTire2,
        }
	}

    craftRecipe chevyCUCVMakeDoubleTires
	{
        timedAction = Making,
        time = 250,
        Tags = InHandCraft,
        category = Mechanical,
        xpAward = Mechanics:2,
        SkillRequired = Mechanics:2,
        OnCreate = DAMN.OnCreate.CombineFirstTwo,

        inputs
        {
            item 2 [Base.86chevyCUCVTire2],
            item 2 [Base.Screws],
            item 1 [Base.Crowbar] mode:keep,
        }
        outputs
        {
            item 1 Base.86chevyCUCVDoubleTires2,
        }
	}

    craftRecipe chevyCUCVDismantleDoubleTires
	{
        timedAction = Making,
        time = 250,
        Tags = InHandCraft,
        category = Mechanical,
        xpAward = Mechanics:2,
        SkillRequired = Mechanics:2,
        OnCreate = DAMN.OnCreate.UnpackStuff,

        inputs
        {
            item 1 [Base.86chevyCUCVDoubleTires2],
            item 1 [Base.Crowbar;Base.CrowbarForged] mode:keep,
        }
        outputs
        {
            item 2 Base.86chevyCUCVTire2,
        }
	}

    craftRecipe chevyCUCVMakeFrontBullbar
	{
        timedAction = Welding,
        time = 200,
        Tags = InHandCraft;Welding,
        category = Armoring,
        xpAward = MetalWelding:20,
        SkillRequired = MetalWelding:5,

        inputs
        {
            item 1 [Base.3rdGenChevyCKseriesBumperFront0;Base.3rdGenChevyCKseriesBumperFront1],
            item 1 [Base.SheetMetal],
            item 6 [Base.SmallSheetMetal],
            item 2 [Base.Screws],
			item 10 [Base.BlowTorch],
            item 1 tags[WeldingMask] mode:keep,
        }
        outputs
        {
            item 1 Base.86chevyCUCVBullbarFrontA,
        }
	}
}