For very small towns
For very small towns the nearest X is probably at least a 4 hour walk away, in the next town over, for many values of X. For large cities the nearest X is probably a 4 minute walk away for most values of X. The smaller the town the less chance that what you want is within walking distance and the more important it is to have a car.