module Base
{
	model 84cadillacDeVilleWindshieldaW
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_windshield_aw,
		shader = damn_vehicle_shader,
        scale = 0.1,
    }
    model 84cadillacDeVilleWindshieldaM
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_windshield_am,
		shader = damn_vehicle_shader,
        scale = 0.1,
    }    
    model 84cadillacDeVilleWindowflaW
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_fl_aw,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowflaM
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_fl_am,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowfraW
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_fr_aw,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowfraM
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_fr_am,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowrlaW
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_rl_aw,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowrlaM
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_rl_am,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowrraW
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_rr_aw,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowrraM
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_rr_am,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindshieldRearaW
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_windshield_rear_aw,
		shader = damn_vehicle_shader,
        scale = 0.1,
    }
    model 84cadillacDeVilleWindshieldRearaM
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_windshield_rear_am,
		shader = damn_vehicle_shader,
        scale = 0.1,
    }
    model 84cadillacDeVilleWindowflaWC
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_fl_aw_c,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowflaMC
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_fl_am_c,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowfraWC
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_fr_aw_c,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowfraMC
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_fr_am_c,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    }
    model 84cadillacDeVilleWindowrlaWC
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_rl_aw_c,
		shader = damn_vehicle_shader,
        scale = 0.1,
    }
    model 84cadillacDeVilleWindowrlaMC
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_rl_am_c,
		shader = damn_vehicle_shader,
        scale = 0.1,
    }
    model 84cadillacDeVilleWindowrraWC
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_rr_aw_c,
		shader = damn_vehicle_shader,
        scale = 0.1,
    }
    model 84cadillacDeVilleWindowrraMC
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_window_rr_am_c,
		shader = damn_vehicle_shader,
        scale = 0.1,
    }
    model 84cadillacDeVilleWindshieldRearaWC
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_windshield_rear_aw_c,
		shader = damn_vehicle_shader,
        scale = 0.1,
    }
    model 84cadillacDeVilleWindshieldRearaMC
    {
        mesh = vehicles/Vehicles_84cadillacDeVille_Body|84c-platform_windshield_rear_am_c,
		shader = damn_vehicle_shader,
        scale = 0.1,
    }

	template vehicle DEV84WindshieldArmor
		{
		part DAMNWindshieldArmor
        	{

			model DEV84windaW
				{
                		file = 84cadillacDeVilleWindshieldaW,
				}
            model DEV84windaM
				{
                		file = 84cadillacDeVilleWindshieldaM,
				}

			area = Engine,
			category = bodywork,
			specificItem = false,
			itemType = Base.85gmBbodyWindshieldArmorW;Base.85gmBbodyWindshieldArmorM,
			mechanicRequireKey = false,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	type = Base.Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 550,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = DEV84.InstallComplete.WindshieldArmor,
                	requireInstalled = Windshield,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				type = Base.Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

						time = 600,
						skills = Mechanics:4,
						recipes = Intermediate Mechanics,
			            test = Vehicles.UninstallTest.Default,
						complete = DEV84.UninstallComplete.WindshieldArmor,
            		}

            		lua
            		{
					create = DEV84.Create.WindshieldArmor,
					init = DEV84.Init.WindshieldArmor,
					}
		}

    }

	template vehicle DEV84SideArmor
	{

		part DAMNFrontLeftArmor
        {

			model DEV84leftWindowaW
				{
                		file = 84cadillacDeVilleWindowflaW,
				}
            model DEV84leftWindowaM
				{
                		file = 84cadillacDeVilleWindowflaM,
				}

			area = SeatFrontLeft,
			category = bodywork,
			parent = DoorFrontLeft,
			specificItem = false,
			itemType = Base.85gmBbodyFrontWindowArmorW;Base.85gmBbodyFrontWindowArmorM,
			mechanicRequireKey = false,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	type = Base.Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 500,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = DEV84.InstallComplete.FrontLeftArmor,
                	requireInstalled = WindowFrontLeft,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				type = Base.Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

					time = 550,
					skills = Mechanics:4,
					recipes = Intermediate Mechanics,
		            test = Vehicles.UninstallTest.Default,
					complete = DEV84.UninstallComplete.FrontLeftArmor,
            		}

            		lua
            		{
					create = DEV84.Create.FrontLeftArmor,
					init = DEV84.Init.FrontLeftArmor,
					}
		}

		part DAMNFrontRightArmor
        {

			model DEV84rightWindowaW
				{
                		file = 84cadillacDeVilleWindowfraW,
				}
            model DEV84rightWindowaM
				{
                		file = 84cadillacDeVilleWindowfraM,
				}

			area = SeatFrontRight,
			category = bodywork,
			parent = WindowFrontRight,
			specificItem = false,
			itemType = Base.85gmBbodyFrontWindowArmorW;Base.85gmBbodyFrontWindowArmorM,
			mechanicRequireKey = false,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	type = Base.Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 500,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = DEV84.InstallComplete.FrontRightArmor,
                	requireInstalled = WindowFrontRight,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				type = Base.Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

					time = 550,
					skills = Mechanics:4,
					recipes = Intermediate Mechanics,
		            test = Vehicles.UninstallTest.Default,
					complete = DEV84.UninstallComplete.FrontRightArmor,
            		}

            		lua
            		{
					create = DEV84.Create.FrontRightArmor,
					init = DEV84.Init.FrontRightArmor,
					}
		}

		part DAMNRearLeftArmor
        {

			model DEV84leftWindowraW
				{
                		file = 84cadillacDeVilleWindowrlaW,
				}
            model DEV84leftWindowraM
				{
                		file = 84cadillacDeVilleWindowrlaM,
				}

			area = SeatRearLeft,
			category = bodywork,
			parent = WindowRearLeft,
			specificItem = false,
			itemType = Base.85gmBbodyRearWindowArmorW;Base.85gmBbodyRearWindowArmorM,
			mechanicRequireKey = false,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	type = Base.Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 500,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = DEV84.InstallComplete.RearLeftArmor,
                	requireInstalled = WindowRearLeft,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				type = Base.Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

					time = 550,
					skills = Mechanics:4,
					recipes = Intermediate Mechanics,
		            test = Vehicles.UninstallTest.Default,
					complete = DEV84.UninstallComplete.RearLeftArmor,
            		}

            		lua
            		{
					create = DEV84.Create.RearLeftArmor,
					init = DEV84.Init.RearLeftArmor,
					}
		}

		part DAMNRearRightArmor
        {

			model DEV84rightWindowraW
				{
                		file = 84cadillacDeVilleWindowrraW,
				}
            model DEV84rightWindowraM
				{
                		file = 84cadillacDeVilleWindowrraM,
				}

			area = SeatRearRight,
			category = bodywork,
			parent = WindowRearRight,
			specificItem = false,
			itemType = Base.85gmBbodyRearWindowArmorW;Base.85gmBbodyRearWindowArmorM,
			mechanicRequireKey = false,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	type = Base.Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 500,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = DEV84.InstallComplete.RearRightArmor,
                	requireInstalled = WindowRearRight,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				type = Base.Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

					time = 550,
					skills = Mechanics:4,
					recipes = Intermediate Mechanics,
		            test = Vehicles.UninstallTest.Default,
					complete = DEV84.UninstallComplete.RearRightArmor,
            		}

            		lua
            		{
					create = DEV84.Create.RearRightArmor,
					init = DEV84.Init.RearRightArmor,
					}
		}

    }

    template vehicle DEV84SideArmorCoupe
	{
        template! = DEV84SideArmor,

		part DAMNFrontLeftArmor
        {

			model DEV84leftWindowaW
				{
                		file = 84cadillacDeVilleWindowflaWC,
				}
            model DEV84leftWindowaM
				{
                		file = 84cadillacDeVilleWindowflaMC,
				}
		}

		part DAMNFrontRightArmor
        {

			model DEV84rightWindowaW
				{
                		file = 84cadillacDeVilleWindowfraWC,
				}
            model DEV84rightWindowaM
				{
                		file = 84cadillacDeVilleWindowfraMC,
				}
		}

		part DAMNRearLeftArmor
        {

			model DEV84leftWindowraW
				{
                		file = 84cadillacDeVilleWindowrlaWC,
				}
            model DEV84leftWindowraM
				{
                		file = 84cadillacDeVilleWindowrlaMC,
				}
		}

		part DAMNRearRightArmor
        {

			model DEV84rightWindowraW
				{
                		file = 84cadillacDeVilleWindowrraWC,
				}
            model DEV84rightWindowraM
				{
                		file = 84cadillacDeVilleWindowrraMC,
				}
		}

    }

    template vehicle DEV84WindshieldRearArmorSedan
	{

		part DAMNWindshieldRearArmor
        	{

			model DEV84windraW
				{
                		file = 84cadillacDeVilleWindshieldRearaW,
				}
            model DEV84windraM
				{
                		file = 84cadillacDeVilleWindshieldRearaM,
				}

			area = TruckBed,
			category = bodywork,
			specificItem = false,
			itemType = Base.85gmBbodyWindshieldRearArmorW;Base.85gmBbodyWindshieldRearArmorM,
			mechanicRequireKey = false,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	type = Base.Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 550,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = DEV84.InstallComplete.WindshieldRearArmorS,
                	requireInstalled = WindshieldRear,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				type = Base.Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

						time = 600,
						skills = Mechanics:4,
						recipes = Intermediate Mechanics,
			            test = Vehicles.UninstallTest.Default,
						complete = DEV84.UninstallComplete.WindshieldRearArmorS,
            		}

            		lua
            		{
					create = DEV84.Create.WindshieldRearArmorS,
					init = DEV84.Init.WindshieldRearArmorS,
					}
		}
	}

    template vehicle DEV84WindshieldRearArmorCoupe
	{
        template! = DEV84WindshieldRearArmorSedan,

		part DAMNWindshieldRearArmor
        	{

			model DEV84windraW
				{
                		file = 84cadillacDeVilleWindshieldRearaWC,
				}
            model DEV84windraM
				{
                		file = 84cadillacDeVilleWindshieldRearaMC,
				}
		}
	}

    template vehicle DEV84ArmorSedan
	{
        template! = DEV84WindshieldArmor,
        template! = DEV84SideArmor,
        template! = DEV84WindshieldRearArmorSedan,
    }

    template vehicle DEV84ArmorCoupe
	{
        template! = DEV84WindshieldArmor,
        template! = DEV84SideArmorCoupe,
        template! = DEV84WindshieldRearArmorCoupe,
    }

}