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

    model 86chevyCUCVFrontBumper1
	{
		mesh = vehicles/Vehicles_86chevyCUCV_Body|86cucv_bumper_front1,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

	model 86chevyCUCVFrontBullbarA
	{
		mesh = vehicles/Vehicles_86chevyCUCV_Body|86cucv_bullbar_frontA,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

    model 86chevyCUCVFrontBullbarB
	{
		mesh = vehicles/Vehicles_86chevyCUCV_Body|86cucv_bullbar_frontB,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

    model 86chevyCUCVFrontBullbarC
	{
		mesh = vehicles/Vehicles_86chevyCUCV_Body|86cucv_bullbar_frontC,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

	model 86chevyCUCVRearBumper0
	{
		mesh = vehicles/Vehicles_86chevyCUCV_Body|86blazer_bumper_rear0,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

    model 86chevyCUCVRearBumper1
	{
		mesh = vehicles/Vehicles_86chevyCUCV_Body|86cucv_bumper_rear1,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

    model 86chevyCUCVRearBumper2
	{
		mesh = vehicles/Vehicles_86chevyCUCV_Body|86cucv_bumper_rear2,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

	template vehicle CUCV86BumpersFront
	{
		part DAMNBumperFront
        	{

			model FrontBumper0
				{
                		file = 86chevyCUCVFrontBumper0,
				}

            model FrontBumper1
				{
                		file = 86chevyCUCVFrontBumper1,
				}

			model FrontBullbarA
				{
                		file = 86chevyCUCVFrontBullbarA,
				}

			model FrontBullbarB
				{
                		file = 86chevyCUCVFrontBullbarB,
				}

            model FrontBullbarC
				{
                		file = 86chevyCUCVFrontBullbarC,
				}

				area = Engine,
				category = bodywork,
				specificItem = false,
				itemType = Base.3rdGenChevyCKseriesBumperFront0;Base.3rdGenChevyCKseriesBumperFront1;Base.86chevyCUCVBullbarFrontA;Base.86chevyCUCVBullbarFrontB;Base.86chevyCUCVBullbarFrontC,
				mechanicRequireKey = false,
                durability = 5,

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

                	time = 450,
                	skills = Mechanics:3,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = CUCV86.InstallComplete.BumperFront,
            		}

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

					time = 500,
					skills = Mechanics:3,
					recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
					complete = CUCV86.UninstallComplete.BumperFront,
            		}

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

    template vehicle M1008BumpersRear
	{
		part DAMNBumperRear
        	{

			model RearBumper0
				{
                		file = 86chevyCUCVRearBumper0,
				}

            model RearBumper1
				{
                		file = 86chevyCUCVRearBumper1,
				}

            model RearBumper2
				{
                		file = 86chevyCUCVRearBumper2,
				}

				area = TruckBed,
				category = bodywork,
				specificItem = false,
				itemType = Base.3rdGenChevyCKseriesBumperRear0;Base.86chevyCUCVBumperRear1;Base.86chevyCUCVBumperRear2,
				mechanicRequireKey = false,
                durability = 5,

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

                	time = 450,
                	skills = Mechanics:3,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = CUCV86.InstallComplete.BumperRear,
            		}

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

					time = 500,
					skills = Mechanics:3,
					recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
					complete = CUCV86.UninstallComplete.BumperRear,
            		}

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

    template vehicle CUCV86BumpersRearK5
	{
		part DAMNBumperRear
        	{

			model RearBumper0
				{
                	file = 86chevyCUCVRearBumper0,
                    offset = 0.0000 0.0000 0.5550,
				}

            model RearBumper1
				{
                	file = 86chevyCUCVRearBumper1,
                    offset = 0.0000 0.0000 0.5550,
				}

            model RearBumper2
				{
                	file = 86chevyCUCVRearBumper2,
                    offset = 0.0000 0.0000 0.5550,
				}

				area = TruckBed,
				category = bodywork,
				specificItem = false,
				itemType = Base.3rdGenChevyCKseriesBumperRear0;Base.86chevyCUCVBumperRear1;Base.86chevyCUCVBumperRear2,
				mechanicRequireKey = false,
                durability = 5,

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

                	time = 450,
                	skills = Mechanics:3,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = CUCV86.InstallComplete.BumperRearCiv,
            		}

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

					time = 500,
					skills = Mechanics:3,
					recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
					complete = CUCV86.UninstallComplete.BumperRearCiv,
            		}

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

    template vehicle M1009BumpersRear
	{
        template! = M1008BumpersRear,

		part DAMNBumperRear
        {
			model RearBumper0
				{
                	file = 86chevyCUCVRearBumper0,
                    offset = 0.0000 0.0000 0.5550,
				}

            model RearBumper1
				{
                	file = 86chevyCUCVRearBumper1,
                    offset = 0.0000 0.0000 0.5550,
				}

            model RearBumper2
				{
                	file = 86chevyCUCVRearBumper2,
                    offset = 0.0000 0.0000 0.5550,
				}
        }
    }

    template vehicle M1010BumpersRear
	{
        part DAMNBumperRear
        	{
				area = TruckBed,
				category = bodywork,
				specificItem = false,
				itemType = Base.3rdGenChevyCKseriesBumperRear0,
				mechanicRequireKey = false,
                durability = 5,

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

    template vehicle M1028BumpersRear
	{
        template! =  M1008BumpersRear,

		part DAMNBumperRear
        {
			itemType = Base.86chevyCUCVBumperRear1;Base.86chevyCUCVBumperRear2,
			
		}
	}

    template vehicle CUCV86BumpersFrontK5
	{
		part DAMNBumperFront
        	{

			model FrontBumper0
				{
                		file = 86chevyCUCVFrontBumper0,
				}

            model FrontBumper1
				{
                		file = 86chevyCUCVFrontBumper1,
				}

			model FrontBullbarA
				{
                		file = 86chevyCUCVFrontBullbarA,
				}

			model FrontBullbarB
				{
                		file = 86chevyCUCVFrontBullbarB,
				}

            model FrontBullbarC
				{
                		file = 86chevyCUCVFrontBullbarC,
				}

				area = Engine,
				category = bodywork,
				specificItem = false,
				itemType = Base.3rdGenChevyCKseriesBumperFront0;Base.3rdGenChevyCKseriesBumperFront1;Base.86chevyCUCVBullbarFrontA;Base.86chevyCUCVBullbarFrontB;Base.86chevyCUCVBullbarFrontC,
				mechanicRequireKey = false,
                durability = 5,

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

                	time = 450,
                	skills = Mechanics:3,
                	recipes = Intermediate Mechanics,
                	test = Vehicles.InstallTest.Default,
                	complete = CUCV86.InstallComplete.BumperFrontCiv,
            		}

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

					time = 500,
					skills = Mechanics:3,
					recipes = Intermediate Mechanics,
                	test = Vehicles.UninstallTest.Default,
					complete = CUCV86.UninstallComplete.BumperFrontCiv,
            		}

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