module Base
{
	model SVU_Trunk_VVE_F76Van_Light_a
 	{
		mesh = vehicles/SVU/VVE/F76/trunk|trunklightrear,
		shader = vehicle_armor,
 		scale = 0.004,
		static = FALSE,
 	}
	model SVU_Trunk_VVE_F76Van_Light_Spiked_a
	{
		mesh = vehicles/SVU/VVE/F76/trunk|trunklightspikedrear,
        shader = vehicle_armor,
        scale = 0.004,
		static = FALSE,
	}
	model SVU_Trunk_VVE_F76Van_Heavy_a
	{
		mesh = vehicles/SVU/VVE/F76/trunk|trunkheavyrear,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
	}
	model SVU_Trunk_VVE_F76Van_Heavy_Spiked_a
	{
		mesh = vehicles/SVU/VVE/F76/trunk|trunkheavyspikedrear,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
	}
	model SVU_Trunk_VVE_F76Van_Reinforced_a
	{
		mesh = vehicles/SVU/VVE/F76/trunk|trunkreinforcedrear,
		shader = vehicle_armor,
		scale = 0.004,
		static = FALSE,
	}

    template vehicle PU_armor_VVE_F76Van_trunk {

		part ATA2ProtectionTrunk
		{
			parent = TrunkDoor,
			model anchorNormal {
				file = VVA_SVU_Dummy,
			}
			model anchorRusted {
				file = VVA_SVU_DummyRust,
			}
			model Light
			{
				file = SVU_Trunk_VVE_F76Van_Light_a,
			}
			model Heavy
			{
				file = SVU_Trunk_VVE_F76Van_Heavy_a,
			}
			model LightSpiked
			{
				file = SVU_Trunk_VVE_F76Van_Light_Spiked_a,
			}
			model HeavySpiked
			{
				file = SVU_Trunk_VVE_F76Van_Heavy_Spiked_a,
			}
			model LightRusted
			{
				file = SVU_Trunk_VVE_F76Van_Light_a,
			}
			model HeavyRusted
			{
				file = SVU_Trunk_VVE_F76Van_Heavy_a,
			}
			model LightSpikedRusted
			{
				file = SVU_Trunk_VVE_F76Van_Light_Spiked_a,
			}
			model HeavySpikedRusted
			{
				file = SVU_Trunk_VVE_F76Van_Heavy_Spiked_a,
			}
			model Reinforced
			{
				file = SVU_Trunk_VVE_F76Van_Reinforced_a,
			}
			model ReinforcedRusted
			{
				file = SVU_Trunk_VVE_F76Van_Reinforced_a,
			}

			table install
            {
            	complete = ATATuning2.InstallComplete.AnchorTuning,
            }
            table uninstall
            {
            	complete = ATATuning2.UninstallComplete.AnchorTuning,
            }
            lua
            {
            	create = ATATuning2.Create.AnchorTuning,
        		init = ATATuning2.Init.AnchorTuning,
        		update = ATATuning2.Update.Protection,
            }
		}
    }
}
