module Base
{
    /************************ Seats ************************/

    craftRecipe USMIL.MakeMilitaryVehicleSeatST1
    {
        timedAction = Making,
        time        = 400,
        NeedToBeLearn = True,
        Tags = AnySurfaceCraft,
        category = Mechanical,
        xpAward = Mechanics:2,

        inputs
        {
            item 1 [damnCraft.SeatFabric],
            item 2 [damnCraft.SeatFoam],
            item 1 [damnCraft.SeatFrameLarge],
            item 1 [Base.Screws],
            item 1 tags[Screwdriver] mode:keep flags[MayDegradeLight;NoBrokenItems],
        }
        outputs
        {
            item 1 USMIL.Seat0,
        }
    }

    craftRecipe USMIL.MakeMilitaryVehicleSeatST2
    {
        timedAction = Making,
        time        = 400,
        NeedToBeLearn = True,
        Tags = AnySurfaceCraft,
        category = Mechanical,
        xpAward = Mechanics:2,

        inputs
        {
            item 1 [damnCraft.SeatFabric],
            item 2 [damnCraft.SeatFoam],
            item 1 [damnCraft.SeatFrameLarge],
            item 1 [Base.Screws],
            item 1 tags[Screwdriver] mode:keep flags[MayDegradeLight;NoBrokenItems],
        }
        outputs
        {
            item 1 USMIL.Seat1front,
        }
    }

    craftRecipe USMIL.MakeMilitaryVehicleSeatST2R
    {
        timedAction = Making,
        time        = 400,
        NeedToBeLearn = True,
        Tags = AnySurfaceCraft,
        category = Mechanical,
        xpAward = Mechanics:2,

        inputs
        {
            item 1 [damnCraft.SeatFabric],
            item 2 [damnCraft.SeatFoam],
            item 1 [damnCraft.SeatFrameLarge],
            item 1 [Base.Screws],
            item 1 tags[Screwdriver] mode:keep flags[MayDegradeLight;NoBrokenItems],
        }
        outputs
        {
            item 1 USMIL.Seat1rear,
        }
    }

    craftRecipe USMIL.MakeMilitaryVehicleSeatST3
    {
        timedAction = Making,
        time        = 400,
        NeedToBeLearn = True,
        Tags = AnySurfaceCraft,
        category = Mechanical,
        xpAward = Mechanics:2,

        inputs
        {
            item 1 [damnCraft.SeatFabric],
            item 1 [damnCraft.SeatFoam],
            item 1 [damnCraft.SeatFrameSmall],
            item 1 [Base.Screws],
            item 1 tags[Screwdriver] mode:keep flags[MayDegradeLight;NoBrokenItems],
        }
        outputs
        {
            item 1 USMIL.Seat2,
        }
    }

    /************************ Crates ************************/

	craftRecipe USMIL.MakeWoodenCrate
    {
        timedAction = Making,
        time        = 500,
        tags = AnySurfaceCraft;Carpentry,
        category = Carpentry,
        xpAward = Woodwork:5,
        SkillRequired = Woodwork:3,

        inputs
        {
            item 4 [Base.Plank],
            item 8 [Base.Nails],
            item 1 tags[Hammer] mode:keep flags[MayDegradeLight],
        }
        outputs
        {
            item 1 USMIL.Crate0,
        }
    }

    craftRecipe USMIL.MakeMilitaryWoodenCrate
    {
        timedAction = Making,
        time        = 200,
        tags = InHandCraft;Carpentry,
        category = Carpentry,

        inputs
        {
            item 1 [USMIL.Crate0],
            item 1 [Base.Paintbrush] mode:keep,
        }
        outputs
        {
            item 1 USMIL.Crate0military,
        }
    }

    craftRecipe USMIL.MakeOpenMilitaryWoodenCrate
    {
        timedAction = Making,
        time        = 200,
        tags = InHandCraft;Carpentry,
        category = Carpentry,

        inputs
        {
            item 1 [USMIL.Crate0Open],
            item 1 [Base.Paintbrush] mode:keep,
        }
        outputs
        {
            item 1 USMIL.Crate0militaryOpen,
        }
    }

    craftRecipe USMIL.PryOpenWoodenCrate
    {
        timedAction = Making,
        time        = 200,
        tags = InHandCraft;Carpentry,

        inputs
        {
            item 1 [USMIL.Crate0],
            item 1 [Base.Crowbar] mode:keep,
        }
        outputs
        {
            item 1 USMIL.Crate0Open,
        }
    }

    craftRecipe USMIL.PryOpenMilitaryWoodenCrate
    {
        timedAction = Making,
        time        = 200,
        tags = InHandCraft;Carpentry,

        inputs
        {
            item 1 [USMIL.Crate0military],
            item 1 [Base.Crowbar] mode:keep,
        }
        outputs
        {
            item 1 USMIL.Crate0militaryOpen,
        }
    }

    /************************ Viewports ************************/

   craftRecipe USMIL.MakeSmallViewport
    {
        timedAction = Welding,
        time        = 300,
        Tags = InHandCraft;Welding,
        category = Metalworking,
        xpAward = MetalWelding:10,
        SkillRequired = MetalWelding:5,

        inputs
        {
            item 1 [Base.GlassPanel],
            item 1 [Base.SmallSheetMetal],
			item 1 [Base.BlowTorch],
            item 1 tags[WeldingMask] mode:keep,
        }
        outputs
        {
            item 1 USMIL.SmallViewport0,
        }
    }

    craftRecipe USMIL.PackSmallViewports
    {
        timedAction = Making,
		Time = 25,
		Tags = InHandCraft;Packing,
        category = Packing,
        OnCreate = DAMN.OnCreate.PackStuff,

		inputs
		{
            item 4 [USMIL.SmallViewport0],
            item 1 [Base.ScrapMetal],
			
		}
		outputs
		{
            item 1 USMIL.SmallViewportPack0,
		}
    }

    craftRecipe USMIL.UnpackSmallViewports
    {
        timedAction = Making,
		Time = 25,
		Tags = InHandCraft;Packing,
        category = Packing,
        OnCreate = DAMN.OnCreate.UnpackStuff,

		inputs
		{
			item 1 [USMIL.SmallViewportPack0],
		}
		outputs
		{
            item 4 USMIL.SmallViewport0,
		}
    }

    craftRecipe USMIL.MakeLargeViewport
    {
        timedAction = Welding,
        time        = 400,
        Tags = InHandCraft;Welding,
        category = Metalworking,
        xpAward = MetalWelding:10,
        SkillRequired = MetalWelding:5,

        inputs
        {
            item 1 [Base.GlassPanel],
            item 2 [Base.SmallSheetMetal],
			item 1 [Base.BlowTorch],
            item 1 tags[WeldingMask] mode:keep,
        }
        outputs
        {
            item 1 USMIL.LargeViewport0,
        }
    }

    craftRecipe USMIL.PackLargeViewports
    {
        timedAction = Making,
		Time = 25,
		Tags = InHandCraft;Packing,
        category = Packing,
        OnCreate = DAMN.OnCreate.PackStuff,

		inputs
		{
            item 4 [USMIL.LargeViewport0],
            item 1 [Base.ScrapMetal],
			
		}
		outputs
		{
            item 1 USMIL.LargeViewportPack0,
		}
    }

    craftRecipe USMIL.UnpackLargeViewports
    {
        timedAction = Making,
		Time = 25,
		Tags = InHandCraft;Packing,
        category = Packing,
        OnCreate = DAMN.OnCreate.UnpackStuff,

		inputs
		{
			item 1 [USMIL.LargeViewportPack0],
		}
		outputs
		{
            item 4 USMIL.LargeViewport0,
		}
    }

    /************************ Gas Cans ************************/

    craftRecipe USMIL.MakeMilitaryGasCan
    {
        timedAction = Welding,
        time        = 500,
        Tags = InHandCraft;Welding,
        category = Metalworking,
        xpAward = MetalWelding:10,
        SkillRequired = MetalWelding:5,

        inputs
        {
            item 3 [Base.SheetMetal],
            item 2 [Base.SmallSheetMetal],
			item 5 [Base.BlowTorch],
            item 1 tags[WeldingMask] mode:keep,
        }
        outputs
        {
            item 1 USMIL.GasCan0,
        }
    }

    craftRecipe USMIL.MakeMilitaryWaterCan
    {
        timedAction = Welding,
        time        = 500,
        Tags = InHandCraft;Welding,
        category = Metalworking,
        xpAward = MetalWelding:10,
        SkillRequired = MetalWelding:5,

        inputs
        {
            item 3 [Base.SheetMetal],
            item 2 [Base.SmallSheetMetal],
			item 5 [Base.BlowTorch],
            item 1 tags[WeldingMask] mode:keep,
        }
        outputs
        {
            item 1 USMIL.WaterCan0,
        }
    }
}