module Base
{
	template vehicle CVPI92TrunkCompartment
	{
		part CVPI92Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				capacity = 70,
				test = Vehicles.ContainerAccess.TruckBed,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part TruckBed
		{
			category = nodisplay,
			area = TruckBed,
			itemType = nil,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				test = Vehicles.ContainerAccess.TruckBed,
			}
			lua
			{
				create = DAMN.Create.Blank,
			}
		}
	}
}