module Base
{
	template vehicle DEV84TrunkCompartment
	{
		part DEV84Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
                capacity = 82,
				conditionAffectsCapacity = false,
				test = Vehicles.ContainerAccess.TruckBed,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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