
for line in butcher_butcher butcher_leather farmer_farmer farmer_fisherman farmer_fletcher farmer_sheperd librarian_cartographer librarian_librarian priest_cleric smith_armor smith_tool smith_weapon; do

profession=$(echo "${line}"|cut -f1 -d'_')
career=$(echo "${line}"|cut -f2 -d'_')

echo '{ 
	Profession: "minecraft:'"${profession}"'",
	Career:"'"${career}"'",

	Offers:{
		Recipes:[
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:101,Count:1},sell:{id:"galacticraftplanets:schematic",Damage:0,Count:1}, CareerLevel:5},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:101,Count:1},sell:{id:"torgo:teleporter_block_mars",Count:1}, CareerLevel:5},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:103,Count:1},sell:{id:"galacticraftcore:rocket_workbench",Count:1}, CareerLevel:5},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:1,Count:1},sell:{id:"bloodmagic:soul_forge",Count:1}, CareerLevel:5},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:1,Count:1},sell:{id:"galacticraftplanets:basic_item_venus",Damage:0,Count:1}, CareerLevel:5},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:1,Count:1},sell:{id:"torgo:teleporter_block_venus",Count:1}, CareerLevel:5},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:72,Count:1},sell:{id:"mekanismtools:obsidianhoe",Count:1}, CareerLevel:4},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:72,Count:1},sell:{id:"torgo:teleporter_block_compound",Count:1}, CareerLevel:4},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:72,Count:1},sell:{id:"torgo:teleporter_frame",Count:3}, CareerLevel:4},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:72,Count:2},sell:{id:"torgo:teleporter_block_mining_dimension",Count:1}, CareerLevel:4},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:96,Count:1},sell:{id:"galacticraftcore:schematic",Damage:1,Count:1}, CareerLevel:5},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:96,Count:1},sell:{id:"torgo:teleporter_block_moon",Count:1}, CareerLevel:7},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:1,Count:1},sell:{id:"mekanismgenerators:hohlraum",Damage:0,Count:1,tag:{mekData:{stored:{amount:10, gasName: "fusionfuel"}}}}, CareerLevel:10},



			{action:"add", buy:{id:"thermalfoundation:coin",Damage:67,Count:1},sell:{id:"mekanism:polyethene",Damage:2,Count:1}, CareerLevel:6},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:67,Count:1},sell:{id:"mekanism:basicalloy",Count:1}, CareerLevel:6},
			{action:"add", buy:{id:"thermalfoundation:coin",Damage:67,Count:1},sell:{id:"mekanism:compressedobsidian",Count:1}, CareerLevel:6}
		]
	}
}' > "${profession}_${career}.json"

done
