local cfg = require ('industryConfig')


function data()
	version = 'v1.7 test'
	info_name = 'New Industry'
	info_desc = 'New Industry from Rail Road platinum'
	-- goods
	WASTE = 'Waste'
	ALUMINUM = 'Aluminum'
	BAUXITE = 'Bauxites'
	MILK = 'Milk'
	COTTON = 'Cotton'
	CLOTHES = 'Clothes'
	FERTILIZERS = 'Fertilizers'
	CHEMICAL = 'Chemicals'
	PAPER = 'Paper'
	FILINGS = 'Wood powder'
	CEMENT = 'Cement'
	GRAVEL = 'Gravel'
	RUBBER = 'Rubber'
	CARS = 'Cars'
	URAN = 'Uranium'
	-- end goods
	lb = '\n'
	site = 'http://transport-games.ru/forums/topic/3176-industriya/'
	incompatible_1 = 'http://steamcommunity.com/sharedfiles/filedetails/?id=796227914'
	incompatible_2 = 'http://steamcommunity.com/sharedfiles/filedetails/?id=798712608'
	incompatible_3 = 'http://steamcommunity.com/sharedfiles/filedetails/?id=805207417'
	incompatible_4 = 'http://steamcommunity.com/sharedfiles/filedetails/?id=805203766'
	incompatible_5 = 'http://steamcommunity.com/sharedfiles/filedetails/?id=799807906'
	donate_1 = '[url=https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=posekretu%40mail%2eru&lc=US&item_name=Alex_BY&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted][img]http://s18.postimg.org/ydt5o15ol/paypal_donate_button.png[/img][/url]'
	donate_2 = '[url=http://yasobe.ru/na/transport_fever_vehicles][img]http://s019.radikal.ru/i632/1608/20/054de3420f85.png[/img][/url]'
	-- Костыль
	Fab_desc = 'Annual maintenance charge for each lvl: '
	Fab_desc_RU = 'Стоимость обслуживания в год за 1 уровень: '
	Fab_desc_DE = 'Die Kosten für die Wartung pro Jahr beträgt für die Stufe 1: '
	Fab_desc_PL = 'Roczny koszt utrzymania na poziomie 1 wynosi: '
	--DUMMY
	DUMMY_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("DUMMY")/1000)
	DUMMY_desc = Fab_desc..DUMMY_maintenanceCost
	-- Grain Silo
	Grain_silo = 'Grain silo'	
	Grain_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning(Grain_silo)/1000)
	Grain_desc = Fab_desc..Grain_maintenanceCost
	-- Cotton Farm
	Cotton_plantation = 'Cotton plantation'	
	Cotton_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning(Cotton_plantation)/1000)
	Cotton_desc = Fab_desc..Cotton_maintenanceCost
	-- Dairy farm
	Dairy_farm = 'Dairy farm'	
	Dairy_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning(Dairy_farm)/1000)
	Dairy_desc = Fab_desc..Dairy_maintenanceCost
	-- Electric Plant
	Power_plant = 'Power plant'	
	Power_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning(Power_plant)/1000)
	Power_desc = Fab_desc..Power_maintenanceCost
	-- Fertilizer factory
	Fertilizer_factory = 'Fertilizers factory'	
	Fertilizer_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning(Fertilizer_factory)/1000)
	Fertilizer_desc = Fab_desc..Fertilizer_maintenanceCost
	-- Landfill
	Landfill = 'Landfill'	
	Landfill_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning(Landfill)/1000)
	Landfill_desc = Landfill_maintenanceCost
	-- Textile factory
	Textile_factory = 'Textile factory'	
	Textile_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning(Textile_factory)/1000)
	Textile_desc = Fab_desc..Textile_maintenanceCost
	-- Chemical plant
	Chemical_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning('Chemical plant')/1000)
	Chemical_desc = Fab_desc..Chemical_maintenanceCost
	-- Farm
	Farm_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning('Construction materials plant')/1000)
	Farm_desc = Fab_desc..Farm_maintenanceCost
	-- Food processing plant
	Food_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("Farm")/1000)
	Food_desc = Fab_desc..Food_maintenanceCost
	-- Coal mine
	Coal_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("Coal mine")/1000)
	Coal_desc = Fab_desc..Coal_maintenanceCost
	-- Construction materials plant
	Construction_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning('Construction materials plant')/1000)
	Construction_desc = Fab_desc..Construction_maintenanceCost
	-- Forest
	Forest_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("Forest")/1000)
	Forest_desc = Fab_desc..Forest_maintenanceCost
	-- Goods factory
	Goods_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("Goods factory")/1000)
	Goods_desc = Fab_desc..Goods_maintenanceCost
	-- Iron ore mine
	Iron_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("Iron ore mine")/1000)
	Iron_desc = Fab_desc..Iron_maintenanceCost
	-- Machine factory
	Machine__maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("Machine factory")/1000)
	Machine_desc = Fab_desc..Machine__maintenanceCost
	-- Oil refinery
	Oil_refinery_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("Oil refinery")/1000)
	Oil_refinery_desc = Fab_desc..Oil_refinery_maintenanceCost
	-- Oil well
	Oil_well_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("Oil well")/1000)
	Oil_well_desc = Fab_desc..Oil_well_maintenanceCost
	-- Quarry
	Quarry_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("Quarry")/1000)
	Quarry_desc = Fab_desc..Quarry_maintenanceCost
	-- Saw mill
	Saw_mill_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning("Saw mill")/1000)
	Saw_mill_desc = Fab_desc..Saw_mill_maintenanceCost
	-- Steel_mill_desc
	Steel_mill_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning('Steel mill')/1000)
	Steel_mill_desc = Fab_desc..Steel_mill_maintenanceCost
	-- Raceway
	Raceway = 'Raceway'
	Raceway_maintenanceCost = string.format("$%0.0fK", cfg.giveRunning('Raceway')/1000)
	Raceway_desc = Fab_desc..Raceway_maintenanceCost
	--Hud
	Extractive_industry = 'Extractive industry'
	Manufacturing = 'Manufacturing'
	Producing_industry = 'Producing industry'
	Commerce = "Commerce"
	
	return {
	
		en = {
			[info_name] = 	'New Industry '..version,
			[info_desc] = 	'New Industries from "Rail Road Platinum"'..lb..
							lb..
							'14 or more new types of goods in future.'..lb..
							'New factories and New visuals of factories'..lb..
							'At this moment added: Milk, Cotton, Clothes, Fertiziliers and Chemicals.'..lb..
							'Translation for 4 languages: Ru, En, De, Pl.'..lb..
							lb..
							'Added button for building factories. Each new factory have annual maintenance charge. Charge depends on level of factory'..lb..
							lb..
							'More info and version history:'..lb..
							site..lb..
							lb..
							'It does not work with the other mods that changes standart characteristics of goods, factories, freight wagons, trucks and ships.'..lb..
							lb..
							'Do not use with:'..
							incompatible_1..lb..
							incompatible_2..lb..
							incompatible_3..lb..
							incompatible_4..lb..
							incompatible_5..lb..
							lb..
							lb..
							'Donates are welcome:'..lb..
							donate_1..lb..
							lb..
							donate_2,
			[Grain_desc] = Fab_desc..Grain_maintenanceCost,
			[Cotton_desc] = Fab_desc..Cotton_maintenanceCost,
			[Dairy_desc] = Fab_desc..Dairy_maintenanceCost,
			[Power_desc] = Fab_desc..Power_maintenanceCost,
			[Fertilizer_desc] = Fab_desc..Fertilizer_maintenanceCost,
			[Landfill_desc] = Fab_desc..Landfill_maintenanceCost,
			[Textile_desc] = Fab_desc..Textile_maintenanceCost,
			[Chemical_desc] = Fab_desc..Chemical_maintenanceCost,
			[Farm_desc] = Fab_desc..Farm_maintenanceCost,
			[Chemical_desc] = Fab_desc..Food_maintenanceCost,
			[Coal_desc] = Fab_desc..Coal_maintenanceCost,
			[Construction_desc] = Fab_desc..Construction_maintenanceCost,
			[Forest_desc] = Fab_desc..Forest_maintenanceCost,
			[Goods_desc] = Fab_desc..Goods_maintenanceCost,
			[Iron_desc] = Fab_desc..Iron_maintenanceCost,
			[Machine_desc] = Fab_desc..Machine__maintenanceCost,
			[Oil_refinery_desc] = Fab_desc..Oil_refinery_maintenanceCost,
			[Oil_well_desc] = Fab_desc..Oil_well_maintenanceCost,
			[Quarry_desc] = Fab_desc..Quarry_maintenanceCost,
			[Saw_mill_desc] = Fab_desc..Saw_mill_maintenanceCost,
			[Steel_mill_desc] = Fab_desc..Steel_mill_maintenanceCost,
			[Raceway_desc] = Fab_desc..Raceway_maintenanceCost,
		},
		
		ru = {
			[info_name] = 	'Новая Индустрия '..version,
			[info_desc] = 	'Этот мод добавляет новые товары, а также новые товарные цепочки из игры Rail Road 2.'..lb..
							'Добавленные фабрики основаны на стандартных моделях.'..lb..
							lb..
							'Переведен на 4 языка: Русский, Английский, Немецкий, Польский.'..lb..
							'В перспективе:'..lb..
							'Cделать 14 новых видов товара или более;'..lb..
							'Оформить новую визуальную часть добавленных фабрик;'..lb..
							'Новые товарные цепочки.'..lb..
							lb..
							'Добавлена кнопка покупки предприятий. Каждая приобретенная фабрика расходует ваш бюджет. Стоимость рассчитывается за каждый уровень развития.'..lb..
							lb..
							'Больше информации и история версий:'..lb..
							site..lb..
							lb..
							'Мод не совместим с другими модами, меняющие стандартные характеристики грузовиков, грузовых вагонов, фабрик.'..lb..
							lb..
							'Не совместим с:'..lb..
							incompatible_1..lb..
							incompatible_2..lb..
							incompatible_3..lb..
							incompatible_4..lb..
							incompatible_5..lb..
							lb..
							lb..
							'Пожалуйста, поддержите наш сайт:'..lb..
							donate_1..lb..
							lb..
							donate_2,
			[Extractive_industry] = 'Добывающая промышленность',
			[Manufacturing] = 'Обрабатывающая промышленность',
			[Producing_industry] = 'Производящая промышленность',
			[Commerce] = 'Коммерция',
			[WASTE] = 'Отходы',
			[ALUMINUM] = 'Алюминий',
			[BAUXITE] = 'Бокситы',
			[MILK] = 'Молоко',
			[COTTON] = 'Хлопок',
			[CLOTHES] = 'Одежда',
			[FERTILIZERS] = 'Удобрения',
			[CHEMICAL] = 'Химия',
			[PAPER] = 'Бумага',
			[FILINGS] = 'Опилки',
			[CEMENT] = 'Цемент',
			[GRAVEL] = 'Гравий',
			[RUBBER] = 'Резина',
			[CARS] = 'Автомобили',
			[URAN] = 'Уран',
			[Cotton_plantation] = 'Хлопковая ферма',
			[Dairy_farm] = 'Молочная ферма',
			[Power_plant] = 'Электростанция',
			[Fertilizer_factory] = 'Завод удобрений',
			[Grain_silo] = 'Зернохранилище',
			[Landfill] = 'Свалка',
			[Textile_factory] = 'Текстильная фабрика',
			[Grain_desc] = Fab_desc_RU..Grain_maintenanceCost,
			[Cotton_desc] = Fab_desc_RU..Cotton_maintenanceCost,
			[Dairy_desc] = Fab_desc_RU..Dairy_maintenanceCost,
			[Power_desc] = Fab_desc_RU..Power_maintenanceCost,
			[Fertilizer_desc] = Fab_desc_RU..Fertilizer_maintenanceCost,
			[Landfill_desc] = Fab_desc_RU..Landfill_maintenanceCost,
			[Textile_desc] = Fab_desc_RU..Textile_maintenanceCost,
			[Chemical_desc] = Fab_desc_RU..Chemical_maintenanceCost,
			[Farm_desc] = Fab_desc_RU..Farm_maintenanceCost,
			[Chemical_desc] = Fab_desc_RU..Food_maintenanceCost,
			[Coal_desc] = Fab_desc_RU..Coal_maintenanceCost,
			[Construction_desc] = Fab_desc_RU..Construction_maintenanceCost,
			[Forest_desc] = Fab_desc_RU..Forest_maintenanceCost,
			[Goods_desc] = Fab_desc_RU..Goods_maintenanceCost,
			[Iron_desc] = Fab_desc_RU..Iron_maintenanceCost,
			[Machine_desc] = Fab_desc_RU..Machine__maintenanceCost,
			[Oil_refinery_desc] = Fab_desc_RU..Oil_refinery_maintenanceCost,
			[Oil_well_desc] = Fab_desc_RU..Oil_well_maintenanceCost,
			[Quarry_desc] = Fab_desc_RU..Quarry_maintenanceCost,
			[Saw_mill_desc] = Fab_desc_RU..Saw_mill_maintenanceCost,
			[Steel_mill_desc] = Fab_desc_RU..Steel_mill_maintenanceCost,
			[Raceway_desc] = Fab_desc_RU..Raceway_maintenanceCost,
			[Raceway] = 'Гоночная трасса',
		},
		
		de = {
			[info_name] =	'Neue Industrie '..version,
			[info_desc] = 	'Dieser Mod fügt neue Waren und Produktketten aus dem Spiel „Rail Road 2“ hinzu'..lb..
							'Die Fabriken basieren auf der Grundlage der Standartmodelle von Transport Fever.'..lb..
							lb..
							'Übersetzt wurde bisher in 4 Sprachen; EN, DE, PL, RU'..lb..
							'Beschreibung:'..lb..
							'Benutzen sie 14 neue Arten von Waren und Produkten. Z.B. Dunger, Baumwolle, Milch, Kleidung, Abfall, usw.'..lb..
							'Kontrollieren sie die „alten Warenketten“ da einige Veränderungen vorgenommen wurden, und es sind neue Warenkreisläufe hinzugefügt worden.'..lb..
							'Z.B Dünger > Getreidefarm > Getreide > Bauernhof > Vieh > Lebensmittelfabrik > Lebensmittel > Stadt. Oder Dünger > Getreidefarm > Getreide > Molkerei > Milch > Lebensmittelfabrik > Lebensmittel > Stadt. Das ist nur ein Beispiel von Vielen!'
							..lb..
							lb..
							'Ebenfalls wurde ein Button für neue Fabriken hinzugefügt. Er erscheint in der unteren Leiste neben dem Terraforming-Symbol. Die Kosten wurden für jede Entwicklungsstufe berechnet.'..lb..
							lb..
							'Mehr Informationen:'..lb..
							site..lb..
							lb..
							'Dieser Mode ist nicht kompatibel mit anderen Mods welche die Eigenschaften der Standartfahrzeuge, Güterwagen oder Fabriken ändern.'..lb..
							lb..
							'P.S. Wir brauchen noch Hilfe bei der Übersetzung Russisch -> Deutsch'..lb..
							lb..
							'Nicht kompatiebel mit, versionsgeschichte:'..lb..
							incompatible_1..lb..
							incompatible_2..lb..
							incompatible_3..lb..
							incompatible_4..lb..
							incompatible_5..lb..
							lb..
							lb..
							'Bitte unterstützen Sie unsere Website:'..lb..
							donate_1..lb..
							lb..
							donate_2,
			[Extractive_industry] = 'Rohstoffindustrie',
			[Manufacturing] = 'Herstellung',
			[Producing_industry] = 'Fertigungsindustrie',
			[Commerce] = 'Handel',
			[WASTE] = 'Abfall',
			[ALUMINUM] = 'Aluminium',
			[BAUXITE] = 'Bauxite',
			[MILK] = 'Milch',
			[COTTON] = 'Baumwollfarm',
			[CLOTHES] = 'Kleidung',
			[FERTILIZERS] = 'Düngemittel',
			[CHEMICAL] = 'Chemikalien',
			[PAPER] = 'Papier',
			[FILINGS] = 'Sägemehl',
			[CEMENT] = 'Zement',
			[GRAVEL] = 'Kies',
			[RUBBER] = 'Gummi',
			[CARS] = 'Autos',
			[URAN] = 'Uran',
			[Cotton_plantation] = 'Baumwollplantage',
			[Dairy_farm] = 'Molkerei',
			[Power_plant] = 'Kraftwer',
			[Fertilizer_factory] = 'Düngemittelfabrik',
			[Grain_silo] = 'Getreidespeicher',
			[Landfill] = 'Mülldeponie',
			[Textile_factory] = 'Textilfabrik',
			[Grain_desc] = Fab_desc_DE..Grain_maintenanceCost,
			[Cotton_desc] = Fab_desc_DE..Cotton_maintenanceCost,
			[Dairy_desc] = Fab_desc_DE..Dairy_maintenanceCost,
			[Power_desc] = Fab_desc_DE..Power_maintenanceCost,
			[Fertilizer_desc] = Fab_desc_DE..Fertilizer_maintenanceCost,
			[Landfill_desc] = Fab_desc_DE..Landfill_maintenanceCost,
			[Textile_desc] = Fab_desc_DE..Textile_maintenanceCost,
			[Chemical_desc] = Fab_desc_DE..Chemical_maintenanceCost,
			[Farm_desc] = Fab_desc_DE..Farm_maintenanceCost,
			[Chemical_desc] = Fab_desc_DE..Food_maintenanceCost,
			[Coal_desc] = Fab_desc_DE..Coal_maintenanceCost,
			[Construction_desc] = Fab_desc_DE..Construction_maintenanceCost,
			[Forest_desc] = Fab_desc_DE..Forest_maintenanceCost,
			[Goods_desc] = Fab_desc_DE..Goods_maintenanceCost,
			[Iron_desc] = Fab_desc_DE..Iron_maintenanceCost,
			[Machine_desc] = Fab_desc_DE..Machine__maintenanceCost,
			[Oil_refinery_desc] = Fab_desc_DE..Oil_refinery_maintenanceCost,
			[Oil_well_desc] = Fab_desc_DE..Oil_well_maintenanceCost,
			[Quarry_desc] = Fab_desc_DE..Quarry_maintenanceCost,
			[Saw_mill_desc] = Fab_desc_DE..Saw_mill_maintenanceCost,
			[Steel_mill_desc] = Fab_desc_DE..Steel_mill_maintenanceCost,
			[Raceway_desc] = Fab_desc_DE..Raceway_maintenanceCost,
			[Raceway] = 'Speedwayrennen',
		},

		pl = {
			[info_name] =	'Ulepszony Przemysł '..version,
			[info_desc] =	'Mod dodaje kilka nowych towarów oraz kilka nowych łańcuchów przetwarzania.'..lb..
							'Nowe fabryki są wzorowane na standardowych modelach .'..lb..
							lb..
							'Lokalizacja w 4 językach: PL, EN, DE, RU'..lb..
							'W planach:'..lb..
							'Dodać co najmniej 14 nowych towarów;'..lb..
							'Dodać modele nowych fabryk;'..lb..
							'Dodać nowe łańcuchy przetwarzania towarów.'..lb..
							lb..
							'Została dodana możliwość kupowania własnych fabryk. Każda kupiona fabryka utrzymywana jest z waszego budżetu. Koszty utrzymania zależne są od poziomu rozwoju danej fabryki.'..lb..
							lb..
							'więcej informacji:'..lb..
							site..lb..
							lb..
							'Mod nie jest kompatybilny z modami podobnego typu'..lb..
							lb..
							'Nie stosować z:'..lb..
							incompatible_1..lb..
							incompatible_2..lb..
							incompatible_3..lb..
							incompatible_4..lb..
							incompatible_5..lb..
							lb..
							lb..
							'Prosimy o wsparcie na naszej witrynie:'..lb..
							donate_1..lb..
							lb..
							donate_2,
			[Extractive_industry] = 'Przemysł wydobywczy',
			[Manufacturing] = 'Produkcja',
			[Producing_industry] = 'Przemysł wytwórczy',
			[Commerce] = 'Handel',
			[WASTE] = 'Odpady',
			[ALUMINUM] = 'Aluminium',
			[BAUXITE] = 'Boksyt',
			[MILK] = 'Mleko',
			[COTTON] = 'Bawełna',
			[CLOTHES] = 'Odzież',
			[FERTILIZERS] = 'Nawóz',
			[CHEMICAL] = 'Chemia',
			[PAPER] = 'Papier',
			[FILINGS] = 'Trociny',
			[CEMENT] = 'Cement',
			[GRAVEL] = 'Żwir',
			[RUBBER] = 'Guma',
			[CARS] = 'Samochody',
			[URAN] = 'Uran',
			[Cotton_plantation] = 'Farma bawełny',
			[Dairy_farm] = 'Farma mleczna',
			[Power_plant] = 'Zakład elektryczny',
			[Fertilizer_factory] = 'Zakład rolniczy',
			[Grain_silo] = 'Spichlerz',
			[Landfill] = 'Wysypisko',
			[Textile_factory] = 'Fabryka odzieży',
			[Grain_desc] = Fab_desc_PL..Grain_maintenanceCost,
			[Cotton_desc] = Fab_desc_PL..Cotton_maintenanceCost,
			[Dairy_desc] = Fab_desc_PL..Dairy_maintenanceCost,
			[Power_desc] = Fab_desc_PL..Power_maintenanceCost,
			[Fertilizer_desc] = Fab_desc_PL..Fertilizer_maintenanceCost,
			[Landfill_desc] = Fab_desc_PL..Landfill_maintenanceCost,
			[Textile_desc] = Fab_desc_PL..Textile_maintenanceCost,
			[Chemical_desc] = Fab_desc_PL..Chemical_maintenanceCost,
			[Farm_desc] = Fab_desc_PL..Farm_maintenanceCost,
			[Chemical_desc] = Fab_desc_PL..Food_maintenanceCost,
			[Coal_desc] = Fab_desc_PL..Coal_maintenanceCost,
			[Construction_desc] = Fab_desc_PL..Construction_maintenanceCost,
			[Forest_desc] = Fab_desc_PL..Forest_maintenanceCost,
			[Goods_desc] = Fab_desc_PL..Goods_maintenanceCost,
			[Iron_desc] = Fab_desc_PL..Iron_maintenanceCost,
			[Machine_desc] = Fab_desc_PL..Machine__maintenanceCost,
			[Oil_refinery_desc] = Fab_desc_PL..Oil_refinery_maintenanceCost,
			[Oil_well_desc] = Fab_desc_PL..Oil_well_maintenanceCost,
			[Quarry_desc] = Fab_desc_PL..Quarry_maintenanceCost,
			[Saw_mill_desc] = Fab_desc_PL..Saw_mill_maintenanceCost,
			[Steel_mill_desc] = Fab_desc_PL..Steel_mill_maintenanceCost,
			[Raceway_desc] = Fab_desc_PL..Raceway_maintenanceCost,
			[Raceway] = 'żużel',
		}	
	}
end