module Base
{
	model 86oshkoshP19ASpareMountLeft
    {
        mesh = vehicles/Vehicles_86oshkoshP19A_Body|p19a_spare_tire_mount_left,
		texture = vehicles/Vehicles_86oshkoshP19A_Wheel_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
    }
    model 86oshkoshP19ASpareMountRear
    {
        mesh = vehicles/Vehicles_86oshkoshP19A_Body|p19a_spare_tire_mount_rear,
		texture = vehicles/Vehicles_86oshkoshP19A_Wheel_Interior,
		shader = damn_wheel_shader,
		scale = 0.1,
    }

	template vehicle P19ASpareMounts
		{
		part P19ASpareMountLeft
        	{

			model SpareMountLeft783783
				{
                		file = 86oshkoshP19ASpareMountLeft,
				}

			area = TireRearLeft,
			category = bodywork,
			specificItem = false,
			itemType = Base.P19ASpareMount1,
			mechanicRequireKey = false,
            durability = 3,

			table uninstall
                {
                    requireUninstalled = P19ASpareTireLeft,
                }

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

                	time = 1100,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = P19A.InstallComplete.SpareMountLeft,
            		}

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

			time = 1100,
			skills = Mechanics:4,
			recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
			complete = P19A.UninstallComplete.SpareMountLeft,
            		}

            		lua
            		{
			create = P19A.Create.SpareMountLeft,
			init = P19A.Init.SpareMountLeft,
			}
		}

		part P19ASpareMountRear
        	{

			model SpareMountRear78675783
				{
                		file = 86oshkoshP19ASpareMountRear,
				}

			area = TruckBed,
			category = bodywork,
			specificItem = false,
			itemType = Base.P19ASpareMount2,
			mechanicRequireKey = false,
            durability = 3,

			table uninstall
                {
                    requireUninstalled = P19ASpareTireRear,
                }

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

                	time = 1100,
                	skills = Mechanics:4,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = P19A.InstallComplete.SpareMountRear,
            		}

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

			time = 1100,
			skills = Mechanics:4,
			recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
			complete = P19A.UninstallComplete.SpareMountRear,
            		}

            		lua
            		{
			create = P19A.Create.SpareMountRear,
			init = P19A.Init.SpareMountRear,
			}
		}
	}

		
}
