def METHOD_NAME(n: int) -> Dict[str, int]:
    """Get n ItemPickups, capped at the max value for TotalLocations"""
    n = max(n, 0)
    n = min(n, TotalLocations.range_end)
    return { f"ItemPickup{i+1}": ror2_locations_start_id+i for i in range(n) }