module AutoTurret 
{
    imports
    {
        Base
    }
    item MediumTurretBook
	{
		Weight		=	0.5,
		Type		=	Literature,
		DisplayName	=	MediumTurretBook,
		Icon		=	TurretBookLV1,
		TeachedRecipes  =   	Craft_30mmMainBaseGround;Craft_30mmFireMainBaseGround;Craft_50mmMainBaseGround;Place_30mmTurret;Place_30mmFireTurret;Place_50mmTurret,
        ReplaceOnUse    =   	MediumTurretBook,
		DisplayCategory	=   SkillBook,
		StaticModel = Book,
		WorldStaticModel = BookBrown_Ground,
	}
    item 30mmMainBaseGround{
        DisplayCategory = VehicleMaintenance,
        Weight	=	5,
        Type	=	Normal,
        DisplayName	=	30mmMainBaseGround,
        Icon	=	30mmMainBaseGround,
    }
    item 30mmFireMainBaseGround{
        DisplayCategory = VehicleMaintenance,
        Weight	=	5,
        Type	=	Normal,
        DisplayName	=	30mmFireMainBaseGround,
        Icon	=	30mmFireMainBaseGround,
    }
    item 50mmMainBaseGround{
        DisplayCategory = VehicleMaintenance,
        Weight	=	5,
        Type	=	Normal,
        DisplayName	=	50mmMainBaseGround,
        Icon	=	50mmMainBaseGround,
    }
    craftRecipe Craft_30mmMainBaseGround
    {
        timedAction = CrushLimestone,
        Tags = AnySurfaceCraft,
        time            = 140,
        category = AutoTurret,
        SkillRequired = MetalWelding=5;Electricity=2,
        CanBeDoneFromFloor:true,
        needTobeLearn = true,
        inputs
        {
            item 10 [Base.EngineParts],
            item 5 [Base.SmallSheetMetal],
            item 2 [Base.SheetMetal],
            item 5 [Base.BlowTorch],
            item 1 tags[WeldingMask] mode:keep,
        }
        outputs
        {
           item 1 AutoTurret.30mmMainBaseGround,
        }
    }
    craftRecipe Craft_30mmFireMainBaseGround
    {
        timedAction = CrushLimestone,
        Tags = AnySurfaceCraft,
        time            = 140,
        category = AutoTurret,
        SkillRequired = MetalWelding=5;Electricity=2,
        CanBeDoneFromFloor:true,
        needTobeLearn = true,
        inputs
        {
            item 10 [Base.EngineParts],
            item 5 [Base.SmallSheetMetal],
            item 2 [Base.SheetMetal],
            item 5 [Base.BlowTorch],
            item 1 tags[WeldingMask] mode:keep,
        }
        outputs
        {
           item 1 AutoTurret.30mmFireMainBaseGround,
        }
    }
    craftRecipe Craft_50mmMainBaseGround
    {
        timedAction = CrushLimestone,
        Tags = AnySurfaceCraft,
        time            = 140,
        category = AutoTurret,
        SkillRequired = MetalWelding=5;Electricity=2,
        CanBeDoneFromFloor:true,
        needTobeLearn = true,
        inputs
        {
            item 10 [Base.EngineParts],
            item 5 [Base.SmallSheetMetal],
            item 2 [Base.SheetMetal],
            item 5 [Base.BlowTorch],
            item 1 tags[WeldingMask] mode:keep,
        }
        outputs
        {
           item 1 AutoTurret.50mmMainBaseGround,
        }
    }
    craftRecipe Place_30mmFireTurret
    {
        timedAction = CrushLimestone,
        time            = 140,
        category = AutoTurret,
        SkillRequired = MetalWelding=5;Electricity=2,
        OnCreate = Recipe.OnCreate.Place_30mmFireTurret,
        CanBeDoneFromFloor:true,
        Tags = InHandCraft,
        needTobeLearn = true,
        inputs
        {
            item 1 [AutoTurret.30mmFireMainBaseGround],
        }
        outputs
        {
           
        }

    }
    craftRecipe Place_30mmTurret
    {
        timedAction = CrushLimestone,
        time            = 140,
        category = AutoTurret,
        SkillRequired = MetalWelding=5;Electricity=2,
        OnCreate = Recipe.OnCreate.Place_30mmTurret,
        CanBeDoneFromFloor:true,
        Tags = InHandCraft,
        needTobeLearn = true,
        inputs
        {
            item 1 [AutoTurret.30mmMainBaseGround],
        }
        outputs
        {
           
        }

    }
    craftRecipe Place_50mmTurret
    {
        timedAction = CrushLimestone,
        time            = 140,
        Tags = InHandCraft,
        category = AutoTurret,
        SkillRequired = MetalWelding=5;Electricity=2,
        OnCreate = Recipe.OnCreate.Place_50mmTurret,
        CanBeDoneFromFloor:true,
        needTobeLearn = true,
        inputs
        {
            item 1 [AutoTurret.50mmMainBaseGround],
        }
        outputs
        {
            
        }
    }
}
	