module Base
{
	template vehicle M1008TrunkCompartment
	{
		part M1008Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 110,
				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,
			}
		}
	}

    template vehicle M1009TrunkCompartment
	{
		part M1009Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 75,
				test = DAMN.ContainerAccess.TrunkSecondRow,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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

    template vehicle M1010TrunkCompartment
	{
		part M1010Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 50,
				test = DAMN.ContainerAccess.TrunkInner,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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

    template vehicle M1028TrunkCompartment
	{
		part M1028Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 180,
				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,
			}
		}
	}

    template vehicle M1031TrunkCompartment
	{
		part M1031Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 85,
				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,
			}
		}

        part M1031StorageFL
		{
			category = bodywork,
			area = StorageFL,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 30,
				test = CUCV86.ContainerAccess.StorageFL,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part M1031StorageML
		{
			category = bodywork,
			area = StorageRL,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 20,
				test = CUCV86.ContainerAccess.StorageRL,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part M1031StorageRL
		{
			category = bodywork,
			area = StorageRL,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 20,
				test = CUCV86.ContainerAccess.StorageRL,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
        
        part M1031StorageBL
		{
			category = bodywork,
			area = StorageRL,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 10,
				test = CUCV86.ContainerAccess.StorageRL,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part M1031StorageFR
		{
			category = bodywork,
			area = StorageFR,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 30,
				test = CUCV86.ContainerAccess.StorageFR,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part M1031StorageMR
		{
			category = bodywork,
			area = StorageRR,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 20,
				test = CUCV86.ContainerAccess.StorageRR,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part M1031StorageRR
		{
			category = bodywork,
			area = StorageRR,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 20,
				test = CUCV86.ContainerAccess.StorageRR,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part M1031StorageBR
		{
			category = bodywork,
			area = StorageRR,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
                capacity = 10,
				test = CUCV86.ContainerAccess.StorageRR,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}
	}
}

