Module:Jcon/data

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

local p = {}

p.signs = {                                                             
	['hospital'] = '[[File:Ontario M401.svg|19px]]',
	['airport'] = '[[File:Ontario M502.svg|19px]]',
	['bus'] = '[[File:Ontario M506.svg|19px]]',
	['ferry'] = '[[File:Ontario M508.svg|19px]]',
	['train station'] = '[[File:Ontario M509.svg|19px]]',
	['tch'] = '[[File:TCH-blank.svg|x20px]]'
}

p.types = {
	['brant'] = {
		['prefix'] = 'Brant',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['brant county highway'] = {
		['prefix'] = 'Brant',
		['type'] = 'County Highway',
		['guide'] = 'RR %s jct.svg'
	},
	['bruce'] = {
		['prefix'] = 'Bruce',
		['type'] = 'Bruce Road',
		['guide'] = 'RR %s jct.svg'
	},
	['carleton'] = {
		['prefix'] = 'Carleton',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['central frontenac'] = {
		['prefix'] = 'Central Frontenac',
		['type'] = 'Township Road',
		['guide'] = 'RR %s jct.svg',
		['shield'] = 'Central Frontenac Township Road %s.svg'
	},
	['chatham-kent'] = {
		['prefix'] = 'Chatham-Kent',
		['type'] = 'Municipal Road',
		['guide'] = 'RR %s jct.svg'
	},
	['cornwall'] = {
		['prefix'] = 'Cornwall',
		['type'] = 'Municipal Road',
		['guide'] = 'RR %s jct.svg'
	},
	['dufferin'] = {
		['prefix'] = 'Dufferin',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['durham'] = {
		['prefix'] = 'Durham',
		['type'] = 'Regional Road',
		['guide'] = 'RR %s jct.svg',
		['shield'] = 'Durham Regional Road %s.svg'
	},
	['durham regional highway'] = {
		['prefix'] = 'Durham',
		['type'] = 'Regional Highway',
		['guide'] = 'RR %s jct.svg',
		['shield'] = 'Durham Regional Highway %s.svg'
	},
	['elgin'] = {
		['prefix'] = 'Elgin',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['essex'] = {
		['prefix'] = 'Essex',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg',
		['shield'] = 'Essex County Road %s.png'
	},
	['frontenac'] = {
		['prefix'] = 'Frontenac',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['frontenac islands'] = {
		['prefix'] = 'Frontenac Islands',
		['type'] = 'Township Road',
		['guide'] = 'RR %s jct.svg'
	},
	['grey'] = {
		['prefix'] = 'Grey',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['haldimand'] = {
		['prefix'] = 'Haldimand',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['haldimand county highway'] = {
		['prefix'] = 'Haldimand',
		['type'] = 'County Highway',
		['guide'] = 'RR %s jct.svg'
	},
	['haliburton'] = {
		['prefix'] = 'Haliburton',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['halton'] = {
		['prefix'] = 'Halton',
		['type'] = 'Regional Road',
		['guide'] = 'RR %s jct.svg',
		['shield'] = 'Halton Regional Road %s.svg'
	},
	['hamilton'] = {
		['prefix'] = 'Hamilton',
		['type'] = 'Regional Road',
		['shield'] = 'Hamilton Ontario Road %s Shield.svg'
	},
	['hastings'] = {
		['prefix'] = 'Hastings',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['highway'] = {
		['prefix'] = 'Ontario',
		['type'] = 'Highway',
		['guide'] = 'Ontario %s crown.svg',
		['shield'] = 'Ontario %s.svg'
	},
	['huron'] = {
		['prefix'] = 'Huron',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['kawartha lakes'] = {
		['prefix'] = 'Kawartha Lakes',
		['type'] = 'Road',
		['guide'] = 'RR %s jct.svg',
		['shield'] = 'KL Road %s.svg'
	},
	['kingston'] = {
		['prefix'] = 'Kingston',
		['type'] = 'Road',
		['guide'] = 'RR %s jct.svg'
	},
	['lambton'] = {
		['prefix'] = 'Lambton',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['lanark'] = {
		['prefix'] = 'Lanark',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['leeds and grenville'] = {
		['prefix'] = 'Leeds and Grenville',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['lennox and addington'] = {
		['prefix'] = 'Lennox and Addington',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['middlesex'] = {
		['prefix'] = 'Middlesex',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['muskoka'] = {
		['prefix'] = 'Muskoka',
		['type'] = 'District Road',
		['guide'] = 'RR %s jct.svg'
	},
	['niagara'] = {
		['prefix'] = 'Niagara',
		['type'] = 'Regional Road',
		['guide'] = 'RR %s jct blue.svg',
		['shield'] = 'Niagara Regional Road %s.svg'
	},
	['norfolk'] = {
		['prefix'] = 'Norfolk',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['norfolk county highway'] = {
		['prefix'] = 'Norfolk',
		['type'] = 'County Highway',
		['guide'] = 'RR %s jct.svg'
	},
	['north dumfries'] = {
		['prefix'] = 'North Dumfries',
		['type'] = 'Township Road',
		['guide'] = 'RR %s jct.svg'
	},
	['north frontenac'] = {
		['prefix'] = 'North Frontenac',
		['type'] = 'Township Road',
		['guide'] = 'RR %s jct.svg'
	},
	['northumberland'] = {
		['prefix'] = 'Northumberland',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['ottawa'] = {
		['prefix'] = 'Ottawa',
		['type'] = 'City Road',
		['guide'] = 'RR %s jct.svg'
	},
	['ottawa-carleton'] = {
		['prefix'] = 'Ottawa–Carleton',
		['type'] = 'Regional Road',
		['guide'] = 'RR %s jct.svg'
	},
	['oxford'] = {
		['prefix'] = 'Oxford',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['peel'] = {
		['prefix'] = 'Peel',
		['type'] = 'Regional Road',
		['guide'] = 'Peel RR %s jct.svg',
		['shield'] = 'Peel Regional Road %s.svg'
	},
	['perth'] = {
		['prefix'] = 'Perth',
		['type'] = 'County Road',
		['shield'] = 'Perth County Line %s.svg'
	},
	['perth county line'] = {
		['prefix'] = 'Perth',
		['type'] = 'County Line',
		['guide'] = 'RR %s jct.svg'
	},
	['peterborough'] = {
		['prefix'] = 'Peterborough',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['prescott and russell'] = {
		['prefix'] = 'Prescott and Russell',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['prince edward'] = {
		['prefix'] = 'Prince Edward',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['quinte west'] = {
		['prefix'] = 'Quinte West',
		['type'] = 'Municipal Road',
		['guide'] = 'RR %s jct.svg'
	},
	['renfrew'] = {
		['prefix'] = 'Renfrew',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['simcoe'] = {
		['prefix'] = 'Simcoe',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg',
		['shield'] = 'Simcoe Road %s sign.png'
	},
	['south frontenac'] = {
		['prefix'] = 'South Frontenac',
		['type'] = 'Township Road',
		['guide'] = 'RR %s jct.svg',
		['shield'] = 'South Frontenac Township Road %s.svg'
	},
	['stormont, dundas and glengarry'] = {
		['prefix'] = 'Stormont, Dundas and Glengarry',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['sudbury'] = {
		['prefix'] = 'Sudbury',
		['type'] = 'Municipal Road',
		['guide'] = 'RR %s jct.svg'
	},
	['toll'] = {
		['prefix'] = 'Ontario',
		['type'] = 'Highway',
		['guide'] = 'Ontario %s crown toll.svg',
		['shield'] = 'Ontario %s Toll.svg'
	},
	['toronto'] = {
		['prefix'] = 'Toronto',
		['type'] = 'Municipal Expressway',
		['guide'] = '%s Shield.svg',
		['shield'] = '%s Shield.svg'
	},
	['tyendinaga'] = {
		['prefix'] = 'Tyendinaga',
		['type'] = 'Township Road',
		['guide'] = 'RR %s jct.svg'
	},
	['waterloo'] = {
		['prefix'] = 'Waterloo',
		['type'] = 'Regional Road',
		['shield'] = 'Waterloo Regional Road %s.svg'
	},
	['wellesley'] = {
		['prefix'] = 'Wellesley',
		['type'] = 'Township Road',
		['guide'] = 'RR %s jct.svg'
	},
	['wellington'] = {
		['prefix'] = 'Wellington',
		['type'] = 'County Road',
		['guide'] = 'RR %s jct.svg'
	},
	['wilmot'] = {
		['prefix'] = 'Wilmot',
		['type'] = 'Township Road',
		['guide'] = 'RR %s jct.svg'
	},
	['wollaston'] = {
		['prefix'] = 'Wollaston',
		['type'] = 'Township Road',
		['guide'] = 'RR %s jct.svg'
	},
	['woolwich'] = {
		['prefix'] = 'Woolwich',
		['type'] = 'Township Road',
		['guide'] = 'RR %s jct.svg'
	},
	['york'] = {
		['prefix'] = 'York',
		['type'] = 'Regional Road',
		['guide'] = 'RR %s jct.svg',
		['shield'] = 'York Regional Road %s.svg'
	}
}

p.aliases = {
	['bch'] = 'brant county highway',
	['c frontenac'] = 'central frontenac',
	['chatham kent'] = 'chatham-kent',
	['ck'] = 'chatham-kent',
	['ckl'] = 'kawartha lakes',
	['cqw'] = 'quinte west',
	['drh'] = 'durham regional highway',
	['fi'] = 'frontenac islands',
	['greater sudbury'] = 'sudbury',
	['gs'] = 'sudbury',
	['hch'] = 'haldimand county highway',
	['hh'] = 'haliburton',
	['hwy'] = 'highway',
	['kawartha lake'] = 'kawartha lakes',
	['kl'] = 'kawartha lakes',
	['klinfo'] = 'kawartha lakes',
	['la'] = 'lennox and addington',
	['lg'] = 'leeds and grenville',
	['n dumfries'] = 'north dumfries',
	['n frontenac'] = 'north frontenac',
	['nch'] = 'norfolk county highway',
	['oc'] = 'ottawa-carleton',
	['pb'] = 'peterborough',
	['pcl'] = 'perth county line',
	['pec'] = 'prince edward',
	['pr'] = 'prescott and russell',
	['qw'] = 'quinte west',
	['qwinfo'] = 'quinte west',
	['s frontenac'] = 'south frontenac',
	['sb'] = 'sudbury',
	['sdg'] = 'stormont, dundas and glengarry',
	['stormont dundas and glengarry'] = 'stormont, dundas and glengarry',
	['stormont, dundas, glengarry'] = 'stormont, dundas and glengarry',
	['train'] = 'train station',
	['to'] = 'toronto',
	['tor'] = 'toronto',
	['yr'] = 'york'
}

return p