module Base
{
	model 86chevyCUCVWindshielda
    	{
        mesh = vehicles/Vehicles_86chevyCUCV_Body|86cucv_windshield_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 86chevyCUCVWindowfla
    	{
        mesh = vehicles/Vehicles_86chevyCUCV_Body|86cucv_window_fl_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

    model 86chevyCUCVWindowfra
    	{
        mesh = vehicles/Vehicles_86chevyCUCV_Body|86cucv_window_fr_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

    model 86chevyCUCVWindowbla
    	{
        mesh = vehicles/Vehicles_86chevyCUCV_Body|86blazer_window_rl_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 86chevyCUCVWindowbra
    	{
        mesh = vehicles/Vehicles_86chevyCUCV_Body|86blazer_window_rr_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 86chevyM1008WindshieldReara
    	{
        mesh = vehicles/Vehicles_86chevyCUCV_Body|86cucv_windshield_rear_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 86chevyM1009WindshieldReara
    	{
        mesh = vehicles/Vehicles_86chevyCUCV_Body|86blazer_windshield_rear_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

    model 86chevyM1010WindshieldReara
    	{
        mesh = vehicles/Vehicles_86chevyCUCV_Body|86amb_windshield_rear_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

	template vehicle CUCV86ArmorFront
		{
		part DAMNWindshieldArmor
        	{

			model winda
				{
                		file = 86chevyCUCVWindshielda,
				}

			area = Engine,
			category = bodywork,
			specificItem = false,
			itemType = Base.86chevyCUCVWindshieldArmor,
			mechanicRequireKey = false,
            durability = 5,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

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

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

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

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

		part DAMNFrontLeftArmor
        {

			model leftWindowa
				{
                		file = 86chevyCUCVWindowfla,
				}

			area = SeatFrontLeft,
			category = bodywork,
			parent = DoorFrontLeft,
			specificItem = false,
			itemType = Base.86chevyCUCVFrontWindowArmor,
			mechanicRequireKey = false,
            durability = 5,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

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

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

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

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

		part DAMNFrontRightArmor
        {

			model rightWindowa
				{
                		file = 86chevyCUCVWindowfra,
				}

			area = SeatFrontRight,
			category = bodywork,
			parent = WindowFrontRight,
			specificItem = false,
			itemType = Base.86chevyCUCVFrontWindowArmor,
			mechanicRequireKey = false,
            durability = 5,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

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

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

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

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

    template vehicle CUCV86ArmorBack
		{
		part DAMNBackLeftArmor
        {

			model leftWindowba
				{
                		file = 86chevyCUCVWindowbla,
				}

			area = SeatRearLeft,
			category = bodywork,
			specificItem = false,
			itemType = Base.86chevyCUCVBackWindowArmor,
			mechanicRequireKey = false,
            durability = 5,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 500,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = CUCV86.InstallComplete.BackLeftArmor,
                	requireInstalled = WindowBackLeft,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

					time = 550,
					skills = Mechanics:4,
					recipes = Intermediate Mechanics,
		            test = DAMN.UninstallTest.Default,
					complete = CUCV86.UninstallComplete.BackLeftArmor,
            		}

            		lua
            		{
					create = CUCV86.Create.BackLeftArmor,
					init = CUCV86.Init.BackLeftArmor,
					}
		}

		part DAMNBackRightArmor
        {

			model rightWindowba
				{
                		file = 86chevyCUCVWindowbra,
				}

			area = SeatRearRight,
			category = bodywork,
			specificItem = false,
			itemType = Base.86chevyCUCVBackWindowArmor,
			mechanicRequireKey = false,
            durability = 5,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

                	time = 500,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = CUCV86.InstallComplete.BackRightArmor,
                	requireInstalled = WindowBackRight,
            		}

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

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

            		lua
            		{
					create = CUCV86.Create.BackRightArmor,
					init = CUCV86.Init.BackRightArmor,
					}
		}
	}

    template vehicle M1008ArmorRear
		{
		part DAMNWindshieldRearArmor
        	{

			model windra
				{
                		file = 86chevyM1008WindshieldReara,
				}

			area = TruckBed,
			category = bodywork,
			specificItem = false,
			itemType = Base.86chevyCUCVWindshieldRearArmor,
			mechanicRequireKey = false,
            durability = 5,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

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

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

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

            		lua
            		{
					create = CUCV86.Create.WindshieldRearArmor,
					init = CUCV86.Init.WindshieldRearArmor,
					}
		}
	}

    template vehicle M1009ArmorRear
		{
		part DAMNWindshieldRearArmor
        	{

			model windra
				{
                		file = 86chevyM1009WindshieldReara,
				}

			area = TruckBed,
			category = bodywork,
			parent = TrunkDoor,
			specificItem = false,
			itemType = Base.86chevyCUCVWindshieldRearArmor,
			mechanicRequireKey = false,
            durability = 5,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

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

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

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

            		lua
            		{
					create = CUCV86.Create.WindshieldRearArmor,
					init = CUCV86.Init.WindshieldRearArmor,
					}
		}
	}

    template vehicle M1010ArmorRear
		{
		part DAMNWindshieldRearArmor
        	{

			model windra
				{
                		file = 86chevyM1010WindshieldReara,
				}

			area = TruckBed,
			category = bodywork,
			parent = TrunkDoor,
			specificItem = false,
			itemType = Base.86chevyM1010WindshieldRearArmor,
			mechanicRequireKey = false,
            durability = 5,

			table install
			{
                	items
                	{
                    	1
                    		{
                        	tags = Screwdriver,
                        	count = 1,
                        	keep = true,
							equip = primary,
                    		}
                	}

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

            		table uninstall
            		{
                	items
                	{
                    	1
                    		{
			  				tags = Screwdriver,
							count = 1,
							keep = true,
							equip = primary,
                    		}
                	}

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

            		lua
            		{
					create = CUCV86.Create.WindshieldRearArmor10,
					init = CUCV86.Init.WindshieldRearArmor10,
					}
		}
	}

}
