module Base
{
	model 93mustangSSPWindshielda0
    	{
        mesh = vehicles/Vehicles_93mustangSSP_Body|ssp_windshield_front_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 93mustangSSPDoorfla
    	{
        mesh = vehicles/Vehicles_93mustangSSP_Body|ssp_window_fl_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

    model 93mustangSSPDoorfra
    	{
        mesh = vehicles/Vehicles_93mustangSSP_Body|ssp_window_fr_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

    model 93mustangSSPDoorrla
    	{
        mesh = vehicles/Vehicles_93mustangSSP_Body|ssp_window_rl_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 93mustangSSPDoorrra
    	{
        mesh = vehicles/Vehicles_93mustangSSP_Body|ssp_window_rr_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 93mustangSSPWindshieldreara
    	{
        mesh = vehicles/Vehicles_93mustangSSP_Body|ssp_windshield_rear_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 93mustangGTDoorrla
    	{
        mesh = vehicles/Vehicles_93mustangSSP_Body|gt_window_rl_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 93mustangGTDoorrra
    	{
        mesh = vehicles/Vehicles_93mustangSSP_Body|gt_window_rr_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
    	}

    model 93mustangGTWindshieldreara
    	{
        mesh = vehicles/Vehicles_93mustangSSP_Body|gt_windshield_rear_a,
		shader = damn_vehicle_shader,
        scale = 0.1,
        static = FALSE,
    	}

	template vehicle SSP93Armor
		{
		part DAMNWindshieldArmor
        	{

			model SSP93winda0
				{
                		file = 93mustangSSPWindshielda0,
				}

			area = Engine,
			category = bodywork,
			specificItem = false,
			itemType = Base.93mustangSSPWindshieldArmor,
			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 = SSP93.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 = SSP93.UninstallComplete.WindshieldArmor,
            		}

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

		part DAMNFrontLeftArmor
        {

			model SSP93leftdoora
				{
                		file = 93mustangSSPDoorfla,
				}

			area = SeatFrontLeft,
			category = bodywork,
			parent = DoorFrontLeft,
			specificItem = false,
			itemType = Base.93mustangSSPFrontWindowArmor,
			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 = SSP93.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 = SSP93.UninstallComplete.WindowFrontLeftArmor,
            		}

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

		part DAMNFrontRightArmor
        {

			model SSP93rightdoora
				{
                		file = 93mustangSSPDoorfra,
				}

			area = SeatFrontRight,
			category = bodywork,
			parent = DoorFrontRight,
			specificItem = false,
			itemType = Base.93mustangSSPFrontWindowArmor,
			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 = SSP93.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 = SSP93.UninstallComplete.WindowFrontRightArmor,
            		}

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

		part DAMNRearLeftArmor
        {

			model SSP93leftdoorra
				{
                		file = 93mustangSSPDoorrla,
				}

			area = SeatRearLeft,
			category = bodywork,
			specificItem = false,
			itemType = Base.93mustangSSPRearWindowArmor,
			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 = SSP93.InstallComplete.WindowRearLeftArmor,
                	requireInstalled = WindowRearLeft,
            		}

            		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 = SSP93.UninstallComplete.WindowRearLeftArmor,
            		}

            		lua
            		{
					create = SSP93.Create.WindowRearLeftArmor,
					init = SSP93.Init.WindowRearLeftArmor,
					}
		}

		part DAMNRearRightArmor
        {

			model SSP93rightdoorra
				{
                		file = 93mustangSSPDoorrra,
				}

			area = SeatRearRight,
			category = bodywork,
			specificItem = false,
			itemType = Base.93mustangSSPRearWindowArmor,
			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 = SSP93.InstallComplete.WindowRearRightArmor,
                	requireInstalled = WindowRearRight,
            		}

            		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 = SSP93.UninstallComplete.WindowRearRightArmor,
            		}

            		lua
            		{
					create = SSP93.Create.WindowRearRightArmor,
					init = SSP93.Init.WindowRearRightArmor,
					}
		}

		part DAMNWindshieldRearArmor
        {

				model SSP93windra
				{
                		file = 93mustangSSPWindshieldreara,
				}

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

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

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

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

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

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

    template vehicle SSP93ArmorGT
		{
            template! = SSP93Armor,

		part DAMNRearLeftArmor
        {

			model SSP93leftdoorra
				{
                		file = 93mustangGTDoorrla,
				}
		}

		part DAMNRearRightArmor
        {

			model SSP93rightdoorra
				{
                		file = 93mustangGTDoorrra,
				}
		}

		part DAMNWindshieldRearArmor
        {

				model SSP93windra
				{
                		file = 93mustangGTWindshieldreara,
				}

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

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

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

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

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

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

}