module AutoTurret 
{
    imports
    {
        Base
    }
    item BeginnerTurretBook
	{
		Weight		=	0.5,
		Type		=	Literature,
		DisplayName	=	BeginnerTurretBook,
		Icon		=	TurretBookLV1,
		TeachedRecipes  =   	Craft_762MainBaseGround;Craft_9mmMainBaseGround;Place_762Turret;Place_9mmTurret,
        ReplaceOnUse    =   	BeginnerTurretBook,
		DisplayCategory	=   SkillBook,
		StaticModel = Book,
		WorldStaticModel = BookBrown_Ground,
	}
    item 762MainBaseGround{
        DisplayCategory = VehicleMaintenance,
        Weight	=	5,
        Type	=	Normal,
        DisplayName	=	MainBaseGround,
        Icon	=	MainBaseGround,
        
    }
    item 9mmMainBaseGround{
        DisplayCategory = VehicleMaintenance,
        Weight	=	5,
        Type	=	Normal,
        DisplayName	=	9mmMainBaseGround,
        Icon	=	MainBaseGround,
    }

    recipe Craft_762MainBaseGround{
        EngineParts = 3,
        SmallSheetMetal=2,
        SheetMetal=2,
        BlowTorch=5,
        Category:AutoTurret,
        keep [Recipe.GetItemTypes.WeldingMask],
        SkillRequired:MetalWelding=3;Electricity=2,
        Result:AutoTurret.762MainBaseGround,
        CanBeDoneFromFloor:true,
        NeedToBeLearn:true,
        Time:30.0,
    }
    recipe Craft_9mmMainBaseGround{
        EngineParts = 3,
        SmallSheetMetal=2,
        SheetMetal=2,
        Category:AutoTurret,
        BlowTorch=5,
        keep [Recipe.GetItemTypes.WeldingMask],
        SkillRequired:MetalWelding=3;Electricity=2,
        Result:AutoTurret.9mmMainBaseGround,
        NeedToBeLearn:true,
        CanBeDoneFromFloor:true,
        Time:30.0,
    }
    recipe Place_762Turret
	{
		762MainBaseGround,
		Result 		: 762MainBaseGround,
		Time 		: 1,
        NeedToBeLearn:true,
        Category:AutoTurret,
        RemoveResultItem 		: TRUE,
        OnCreate 		: Recipe.OnCreate.Place_762Turret,
	}
    recipe Place_9mmTurret
    {
        9mmMainBaseGround,
        Result 		: 9mmMainBaseGround,
        NeedToBeLearn:true,
        Category:AutoTurret,
        Time 		: 1,
        RemoveResultItem 		: TRUE,
        OnCreate 		: Recipe.OnCreate.Place_9mmTurret,
    }
}
	