export interface Region {
	id: number;
	cityId: number;
	name: string;
	number: number;
	countryId: number;
	flagId: number;
}

export function getRegionForCoordinates(_tileX: number, _tileY: number, _x: number, _y: number): Region | null {
	// TODO: implement region lookup using coordinate data
	// After running the scraper (scripts/scrape_regions.py) and importing the data,
	// you can implement a proper lookup using the Region table or a spatial index.
	//
	// const globalX = tileX * 1000 + x;
	// const globalY = tileY * 1000 + y;
	//
	// For now, return null to avoid showing incorrect region data.
	// See scripts/README.md for instructions on scraping and importing region data.
	return null;
}
