module AutoTurret 
{
    imports
    {
        Base
    }
    item MoveableTurretBook
	{
		Weight		=	0.5,
		Type		=	Literature,
		DisplayName	=	MoveableTurretBook,
		Icon		=	TurretBookLV1,
		TeachedRecipes  =   	    Place_Flak38;Craft_Flak38MainBaseGround,
        ReplaceOnUse    =   	MoveableTurretBook,
		DisplayCategory	=   SkillBook,
		StaticModel = Book,
		WorldStaticModel = BookBrown_Ground,
	}
    item Flak38MainBaseGround
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	5,
        Type	=	Normal,
        DisplayName	=	Flak38MainBaseGround,
        Icon	=	Flak38MainBaseGround,
    }
craftRecipe Craft_Flak38MainBaseGround
    {
        timedAction = CrushLimestone,
        Tags = AnySurfaceCraft,
        time            = 140,
        category = AutoTurret,
        SkillRequired = MetalWelding=5;Electricity=2,
        
        needTobeLearn = true,
        inputs
        {
            item 10 [Base.EngineParts],
            item 10 [Base.SmallSheetMetal],
            item 5 [Base.SheetMetal],
            item 5 [Base.BlowTorch],
            item 1 tags[WeldingMask] mode:keep,
        }
        outputs
        {
           item 1 AutoTurret.Flak38MainBaseGround,
        }
    }
    craftRecipe Place_Flak38
    {
        timedAction = CrushLimestone,
        time            = 140,
        category = AutoTurret,
        SkillRequired = MetalWelding=5;Electricity=3,
        OnCreate = Recipe.OnCreate.Place_Flak38,
        Tags = InHandCraft,
        needTobeLearn = true,
        inputs
        {
            item 1 [AutoTurret.Flak38MainBaseGround],
        }
        outputs
        {
          
        }
    }
}
	