모듈:MTR/data

local lines = {
	tsuen_wan = {
		name = '췬완선',
		codes = {'TSUEN WAN LINE', 'TSUEN WAN', 'TWL', 'TW'},
		color = 'ed1d24',
	},
	kwun_tong = {
		name = '군통선',
		codes = {'KWUN TONG LINE', 'KWUN TONG', 'KTL', 'KT', 'K'},
		color = '00ab4e',
	},
	island = {
		name = '공도선',
		codes = {'ISLAND LINE', 'ISLAND', 'ISL', 'IS', 'I'},
		color = '007dc5',
	},
	tseung_kwan_o = {
		name = '정관오선',
		codes = {'TSEUNG KWAN O LINE', 'TSEUNG KWAN O', 'TKOL', 'TKO', 'TKL', 'TK'},
		color = '7d499d',
	},
	tung_chung = {
		name = '둥충선',
		codes = {'TUNG CHUNG LINE', 'TUNG CHUNG', 'TCL', 'TC'},
		color = 'f7943e',
	},
	disneyland = {
		name = '디즈니선',
		codes = {'DISNEYLAND RESORT LINE', 'DISNEYLAND RESORT', 'DISNEYLAND', 'DISNEY', 'DRL', 'DR', 'D'},
		color = 'f173ac',
	},
	airport_express = {
		name = '홍콩 공항철도',
		codes = {'AIRPORT EXPRESS', 'AIRPORT', 'AEL', 'AE', 'A'},
		color = '00888a',
	},
	east_rail = {
		name = '동철선',
		codes = {'EAST RAIL LINE', 'EAST RAIL', 'EAST', 'EAL', 'ERL', 'ER', 'E'},
		color = '53b7e8',
	},
	north_south = {
		name = '남북선',
		codes = {'NORTH SOUTH CORRIDOR', 'NORTH SOUTH LINE', 'NORTH-SOUTH LINE', 'NORTH SOUTH', 'NORTH-SOUTH', 'NSL', 'NSC', 'NS'},
		color = '53b7e8',
	},
	west_rail = {
		name = '서철선',
		codes = {'WEST RAIL LINE', 'WEST RAIL', 'WEST', 'WRL', 'WR', 'W'},
		color = 'a3238f',
	},
	ma_on_shan = {
		name = '마온산선',
		codes = {'MA ON SHAN LINE', 'MA ON SHAN', 'MOSL', 'MOS', 'MOL', 'MO', 'M'},
		color = '923011',
	},
	tuen_ma = {
		name = '튄마선',
		codes = {'TUN MA', 'TUN MA LINE', 'TML', 'TM', 'EAST WEST CORRIDOR', 'EAST WEST LINE', 'EAST-WEST LINE', 'EAST WEST', 'EAST-WEST', 'EWL', 'EWC', 'EW'},
		color = '9a3b26',
	},
	east_kowloon = {
		name = '둥가우룽선',
		codes = {'EAST KOWLOON LINE', 'EAST KOWLOON', 'EKL', 'EK'},
		color = 'd3c087',
	},
	ngong_ping_360 = {
		name = '옹핑 360',
		codes = {'NGONG PING 360', 'NGONG PING CABLE CAR', 'NGONG PING', '360', 'NP360', 'NGP'},
		color = '94989A',
	},
	light_rail = {
		name = '경전철',
		codes = {'LIGHT RAIL', 'LIGHT', 'LIR', 'LRT', 'LR', 'L'},
		color = 'd3a809',
		needs_dab = true,
	},
	kcr_east = {
		name = 'KCR 동철',
		codes = {'KCR EAST RAIL', 'KCR-ER', 'ER-KCR', 'ER-KCRC', 'E-KCR'},
		color = '005DA0',
	},
	kcr_west = {
		name = 'KCR 서철',
		codes = {'KCR WEST RAIL', 'KCR-WR', 'WR-KCR', 'WR-KCRC', 'W-KCR'},
		color = 'AC2571',
	},
	kcr_ma_on_shan = {
		name = 'KCR 마온샨 철로',
		codes = {'KCR MA ON SHAN RAIL', 'KCR-MOS', 'MOR-KCR', 'MOR-KCRC', 'M-KCR'},
		color = '761E10',
	},
	kcr_light = {
		name = 'KCR 경전철',
		codes = {'KCR LIGHT RAIL', 'KCR-LRT', 'KCR-LR', 'LRT-KCR', 'LR-KCR', 'LR-KCRC', 'LR-KCRC', 'L-KCR'},
		color = 'FD722D',
	},
	south_island_east = {
		name = '남공도선 (동단)',
		codes = {'SOUTH ISLAND LINE EAST SECTION', 'SOUTH ISLAND LINE EAST', 'SOUTH ISLAND EAST', 'SOUTH ISLAND LINE', 'SOUTH ISLAND', 'SIL', 'SILE', 'SIE', 'SEL', 'SE'},
		color = 'BAC429',
	},
	south_island_west = {
		name = '남공도선 (서단)',
		codes = {'SOUTH ISLAND LINE WEST SECTION', 'SOUTH ISLAND LINE WEST', 'SOUTH ISLAND WEST', 'SILW', 'SIW', 'SWL', 'SW'},
		color = '9182C2',
	},
	north_island = {
		name = '북공도선',
		codes = {'NORTH ISLAND LINE', 'NORTH ISLAND', 'NIL', 'NI'},
		color = '7d499d',
	},
	northern_link = {
		name = '북환선',
		codes = {'NORTHERN LINK', 'NORTHERN', 'NOL', 'NRL', 'NR', 'NL'},
		color = '888',
		needs_dab = true,
	},
	guangdong_through_train = {
		name = '광구 직통 열차',
		codes = {'GUANGDONG', 'GUANGJIU', 'JIUGUANG', 'GD'},
		color = '000',
	},
	beijing_kowloon_through_train = {
		name = '베이주 직통 열차',
		codes = {'BEIJING–KOWLOON', 'BEIJING-KOWLOON', 'BEIJINGKOWLOON', 'BK'},
		color = '000',
	},
	shanghai_kowloon_through_train = {
		name = '상주 직통 열차',
		codes = {'SHANGHAI–KOWLOON', 'SHANGHAI-KOWLOON', 'SHANGHAIKOWLOON', 'SK'},
		color = '000',
	},
	l505 = {
		name = '505',
		codes = {'505'},
		color = 'FF0000',
		textcolor = "FFF",
		lr = true,
	},
	l507 = {
		name = '507',
		codes = {'507'},
		color = '008000',
		textcolor = "FFF",
		lr = true,
		link = ,
	},
	l610 = {
		name = '610',
		codes = {'610'},
		color = 'A52A2A',
		textcolor = "FFF",
		lr = true,
		link = ,
	},
	l614 = {
		name = '614',
		codes = {'614'},
		color = '00BFFF',
		lr = true,
		link = ,
	},
	l614P = {
		name = '614P',
		codes = {'614P'},
		color = 'FFC0CB',
		lr = true,
		link = ,
	},
	l615 = {
		name = '615',
		codes = {'615'},
		color = 'FFFF00',
		lr = true,
		link = ,
	},
	l615P = {
		name = '615P',
		codes = {'615P'},
		color = '000080',
		textcolor = "FFF",
		lr = true,
		link = ,
	},
	l705 = {
		name = '705',
		codes = {'705'},
		color = '9ACD32',
		lr = true,
		link = ':en:MTR Light Rail Routes 705 and 706',
	},
	l706 = {
		name = '706',
		codes = {'706'},
		color = 'D8BFD8',
		lr = true,
		link = ':en:MTR Light Rail Routes 705 and 706',
	},
	l751 = {
		name = '751',
		codes = {'751'},
		color = 'FFA500',
		lr = true,
		link = ,
	},
	l751P = {
		name = '751P',
		codes = {'751P'},
		color = '000',
		textcolor = "FFF",
		lr = true,
		link = ,
	},
	l761P = {
		name = '761P',
		codes = {'761P'},
		color = '4B0082',
		textcolor = "FFF",
		lr = true,
		link = ,
	},
	zone1 = {
		name = '경전철 운임 1구간',
		codes = {'ZONE1'},
		color = 'F0397B',
	},
	zone2 = {
		name = '경전철 운임 2구간',
		codes = {'ZONE2'},
		color = 'F68712',
	},
	zone3 = {
		name = '경전철 운임 3구간',
		codes = {'ZONE3'},
		color = '0E88D3',
	},
	zone4 = {
		name = '경전철 운임 4구간',
		codes = {'ZONE4'},
		color = '33B540',
	},
	zone5A = {
		name = '경전철 운임 5A구간',
		codes = {'ZONE5A'},
		color = 'F25C19',
	},
	zone5 = {
		name = '경전철 운임 5구간',
		codes = {'ZONE5'},
		color = '7641A4',
	},
}
local names, colors, textcolors, needs_dab, lr, link = {}, {}, {}, {}, {}, {}
for k, t in pairs(lines) do
	local name, color, textcolor = t.name, t.color, t.textcolor
	for i, code in ipairs(t.codes) do
		namescode = name
		colorscode = color
		textcolorscode = textcolor
	end
	needs_dabname = t.needs_dab
	lrname = t.lr
	linkname = t.link
end
return {
	names = names,
	colors = colors,
	textcolors = textcolors,
	needs_dab = needs_dab,
	lr = lr,
	link = link,
}