module Base
{

    model 83amgeneralM923windshield
    {
        mesh = vehicles/Vehicles_83amgeneralM923_Body|m923_windshield,
        shader = damn_vehicle_shader,
        scale = 0.1,
    }

	template vehicle M923Windshield
	{

        part Windshield
        {
            model windshieldFront
            {
            file = 83amgeneralM923windshield,
            }
            window
            {
            openable = false,
            }
            table uninstall
                {
                    requireUninstalled = DAMNWindshieldArmor,
                }
                
            itemType = Base.M923Windshield,
            area = Engine,
            category = bodywork,
            mechanicRequireKey = false,
            durability = 2,
            table install
            {
                items
                {
                    1
                    {
                        type = Base.Screwdriver,
                        count = 1,
                        keep = true,
			equip = primary,
                    }
                }
                time = 700,
                skills = Mechanics:5,
                recipes = Intermediate Mechanics,
                test = Vehicles.InstallTest.Default,
                complete = Vehicles.InstallComplete.Window,
            }
            table uninstall
            {
                items
                {
                    1
                    {
                        type = Base.Screwdriver,
                        count = 1,
                        keep = true,
						equip = primary,
                    }
                }
                time = 700,
                  skills = Mechanics:5,
                  recipes = Intermediate Mechanics,
                test = Vehicles.UninstallTest.Default,
            }
            lua
            {
                create = Vehicles.Create.Default,
            }
        }

        }
}
