module Base
{
	model 88chevyS10windshielda
    	{
        mesh = vehicles/Vehicles_88chevyS10_Body|chevyS10_armor_w,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 88chevyS10windowfla
    	{
        mesh = vehicles/Vehicles_88chevyS10_Body|chevyS10_armor_wfl,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

    model 88chevyS10windowfra
    	{
        mesh = vehicles/Vehicles_88chevyS10_Body|chevyS10_armor_wfr,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

	template vehicle CH88Armor
		{
		part DAMNWindshieldArmor
        	{

			model CH88winda
				{
                		file = 88chevyS10windshielda,
				}

			area = Engine,
			category = bodywork,
			specificItem = false,
			itemType = Base.80sPickupWindshieldArmor,
			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 = CH88.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 = CH88.UninstallComplete.WindshieldArmor,
            		}

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

		part DAMNFrontLeftArmor
        	{

			model CH88leftwina
				{
                		file = 88chevyS10windowfla,
				}

			area = SeatFrontLeft,
			category = bodywork,
			parent = DoorFrontLeft,
			specificItem = false,
			itemType = Base.80sPickupWindowFrontArmor,
			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 = CH88.InstallComplete.WindowFrontLeftArmor,
                	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 = CH88.UninstallComplete.WindowFrontLeftArmor,
            		}

            		lua
            		{
					create = CH88.Create.WindowFrontLeftArmor,
					init = CH88.Init.WindowFrontLeftArmor,
					}
		}

		part DAMNFrontRightArmor
        	{

			model CH88rightwina
				{
                		file = 88chevyS10windowfra,
				}

			area = SeatFrontRight,
			category = bodywork,
			parent = DoorFrontRight,
			specificItem = false,
			itemType = Base.80sPickupWindowFrontArmor,
			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 = CH88.InstallComplete.WindowFrontRightArmor,
                	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 = CH88.UninstallComplete.WindowFrontRightArmor,
            		}

            		lua
            		{
					create = CH88.Create.WindowFrontRightArmor,
					init = CH88.Init.WindowFrontRightArmor,
					}
				}

		}

}
