module Base
{
    model 69camarowindowfla
    	{
        mesh = vehicles/Vehicles_69camaro_Body|69camaro_window_fl_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

    model 69camarowindowfra
    	{
        mesh = vehicles/Vehicles_69camaro_Body|69camaro_window_fr_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

    model 69camarowindshielda
    	{
        mesh = vehicles/Vehicles_69camaro_Body|69camaro_windshield_front_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 69camarowindshieldreara
    	{
        mesh = vehicles/Vehicles_69camaro_Body|69camaro_windshield_rear_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

	template vehicle CAM69Armor
		{
		part CAM69WindshieldArmor
        	{

			model CAM69winda
				{
                		file = 69camarowindshielda,
				}

			area = Engine,
			category = bodywork,
			specificItem = false,
			itemType = Base.69camaroWindshieldArmor,
			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 = CAM69.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 = CAM69.UninstallComplete.WindshieldArmor,
            		}

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

		part CAM69WindowLeftArmor
        {

			model CAM69leftwindowa
				{
                		file = 69camarowindowfla,
				}

			area = SeatFrontLeft,
			category = bodywork,
			parent = DoorFrontLeft,
			specificItem = false,
			itemType = Base.69camaroWindowArmor,
			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 = CAM69.InstallComplete.WindowLeftArmor,
                	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 = CAM69.UninstallComplete.WindowLeftArmor,
            		}

            		lua
            		{
					create = CAM69.Create.WindowLeftArmor,
					init = CAM69.Init.WindowLeftArmor,
					}
		}

		part CAM69WindowRightArmor
        {

			model CAM69rightwindowa
				{
                		file = 69camarowindowfra,
				}

			area = SeatFrontRight,
			category = bodywork,
			parent = DoorFrontRight,
			specificItem = false,
			itemType = Base.69camaroWindowArmor,
			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 = CAM69.InstallComplete.WindowRightArmor,
                	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 = CAM69.UninstallComplete.WindowRightArmor,
            		}

            		lua
            		{
					create = CAM69.Create.WindowRightArmor,
					init = CAM69.Init.WindowRightArmor,
					}
		}

		part CAM69WindshieldRearArmor
        {

				model CAM69windra
				{
                		file = 69camarowindshieldreara,
				}

			area = TruckBed,
			category = bodywork,
			parent = TrunkDoor,
			specificItem = false,
			itemType = Base.69camaroWindshieldRearArmor,
			mechanicRequireKey = false,

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

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

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

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

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