temple = {

	tp_rome_wall_6 = { # Aurelian Walls
		potential = {
			FROMFROM = { title = b_roma }
		}
		desc = tp_rome_wall_6_desc
		upgrades_from = tp_wall_5
		build_cost = 150
		build_time = 1460
		fort_level = 4.0
		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_rome_colosseum = {
		potential = {
			FROMFROM = { title = b_roma }
		}
		desc = tp_rome_colosseum_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.05
		liege_prestige = 0.25
		monthly_character_prestige = 0.25

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_memphis_necropolis = {
		potential = {
			FROMFROM = { title = b_memphis }
			always = no
		}
		desc = tp_memphis_necropolis_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}
	tp_jeru_dome = {
		potential = {
			FROMFROM = { title = b_jerusalem }
		}
		desc = tp_jeru_dome_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}	
	tp_jeru_holysep = {
		potential = {
			FROMFROM = { title = b_jerusalem }
		}
		desc = tp_jeru_holysep_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}
	tp_cordoba_greatmosque = {
		potential = {
			FROMFROM = { title = b_cordoba }
		}
		desc = tp_cordoba_greatmosque_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
			
	}

	tp_hag_hagiasophia = { # hagia sophia
		potential = {
			FROMFROM = { title = b_hagiasophia }
			always = no
		}
		desc = tp_hag_hagiasophia_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_rome_angel = { # Castel Sant'Angelo
		potential = {
			FROMFROM = { title = b_roma }
		}
		desc = tp_rome_angel_desc
		build_cost = 0
		build_time = 0

		fort_level = 2.0
		garrison_size = 0.1

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_rome_panth = { # Pantheon
		potential = {
			FROMFROM = { title = b_roma }
		}
		desc = tp_rome_panth_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_rome_saintjohn = { # Archbasilica of St. John Lateran
		potential = {
			FROMFROM = { title = b_roma }
		}
		desc = tp_rome_saintjohn_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_rome_saintpeter = { # St. Peter's Basilica
		potential = {
			FROMFROM = { title = b_roma }
		}
		desc = tp_rome_saintpeter_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_bag_houseofwisdom = { # House of Wisdom
		potential = {
			FROMFROM = { title = b_bagdad }
			always = no
		}
		desc = tp_bag_houseofwisdom_desc
		build_cost = 250
		build_time = 1460

		culture_techpoints = 0.1
		economy_techpoints = 0.1
		military_techpoints = 0.1

		ai_creation_factor = 100

		extra_tech_building_start = 3.0
	}

	tp_dam_mosque = { # Great Mosque of Damascus
		potential = {
			FROMFROM = { title = b_damascus }
		}
		desc = tp_dam_mosque_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_med_mosque = { # Prophet's Mosque
		potential = {
			FROMFROM = { title = b_medina }
		}
		desc = tp_med_mosque_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_mec_mosque = { # The Grand Mosque
		potential = {
			FROMFROM = { title = b_mecca }
		}
		desc = tp_mec_mosque_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_rome_circus_0 = { # Ruined Circus Maximus
		potential = {
			FROMFROM = { title = b_roma }
		}
		desc = tp_rome_circus_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.05

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_rome_circus_1 = { # Restored Circus Maximus
		potential = {
			FROMFROM = { title = b_roma }
		}
		desc = tp_rome_circus_desc

		prerequisites = { tp_rome_circus_0 }
		upgrades_from = tp_rome_circus_0
		build_cost = 150
		build_time = 1460

		culture_techpoints = 0.05
		tax_income = 1

		ai_creation_factor = 50
		trigger = { TECH_CONSTRUCTION = 0 }
		extra_tech_building_start = 10.0
	}

	tp_hadrianwall_0 = { # Ruined Hadrian's Wall
		potential = { 
			OR = {
				FROMFROM = { title = b_bamburgh }
				FROMFROM = { title = b_norham }
				FROMFROM = { title = b_morpeth }
				FROMFROM = { title = b_hexham }
				FROMFROM = { title = b_newcastle }
				FROMFROM = { title = b_alnwick }
				FROMFROM = { title = b_lindisfarne }
				FROMFROM = { title = b_mitford }
				FROMFROM = { title = b_burgh }
				FROMFROM = { title = b_carlisle }
				FROMFROM = { title = b_gilsland }
				FROMFROM = { title = b_penrith }
				FROMFROM = { title = b_egremont }
				FROMFROM = { title = b_cockermouth }
				FROMFROM = { title = b_papcastlet }
				FROMFROM = { title = b_dacre }
			}
		}
		desc = hadrianwall_desc
		build_cost = 0
		build_time = 0 

		culture_techpoints = 0.05

		ai_creation_factor = 100
		
		extra_tech_building_start = 0.0	
	}

	tp_hadrianwall_1 = { # Restored Hadrian's Wall
		potential = { 
			OR = {
				FROMFROM = { title = b_bamburgh }
				FROMFROM = { title = b_norham }
				FROMFROM = { title = b_morpeth }
				FROMFROM = { title = b_hexham }
				FROMFROM = { title = b_newcastle }
				FROMFROM = { title = b_alnwick }
				FROMFROM = { title = b_lindisfarne }
				FROMFROM = { title = b_mitford }
				FROMFROM = { title = b_burgh }
				FROMFROM = { title = b_carlisle }
				FROMFROM = { title = b_gilsland }
				FROMFROM = { title = b_penrith }
				FROMFROM = { title = b_egremont }
				FROMFROM = { title = b_cockermouth }
				FROMFROM = { title = b_papcastlet }
				FROMFROM = { title = b_dacre }
			}
		}
		desc = hadrianwall_desc
		trigger = { TECH_FORTIFICATIONS_CONSTRUCTION = 0 }
		prerequisites = { tp_hadrianwall_0 }
		upgrades_from = tp_hadrianwall_0
		build_cost = 100
		build_time = 730

		culture_techpoints = 0.05
		fort_level = 2.0
		garrison_size = 0.1		

		ai_creation_factor = 0

		extra_tech_building_start = 10.0	
	}

	tp_offa_dyke = {
		potential = {
			OR = {
				FROMFROM = { title = b_hereford }
				FROMFROM = { title = b_ludlow }
				FROMFROM = { title = b_chester }
				FROMFROM = { title = b_gloucester }
				FROMFROM = { title = b_malpas }
				FROMFROM = { title = b_halton }
				FROMFROM = { title = b_northwich }
				FROMFROM = { title = b_beeston }
				FROMFROM = { title = b_macclesfield }
				FROMFROM = { title = b_sandbach }
				FROMFROM = { title = b_nantwich }
				FROMFROM = { title = b_cirencester }
				FROMFROM = { title = b_bristol }
				FROMFROM = { title = b_winchcombe }
				FROMFROM = { title = b_sudeley }
				FROMFROM = { title = b_tewkesbury }
				FROMFROM = { title = b_cheltenham }
				FROMFROM = { title = b_hailes }
				FROMFROM = { title = b_st_ethelberts }
				FROMFROM = { title = b_leominster }
				FROMFROM = { title = b_archenfield }			
				FROMFROM = { title = b_ewyas_harold }
				FROMFROM = { title = b_clifford }
				FROMFROM = { title = b_ledbury }
				FROMFROM = { title = b_brobury }
				FROMFROM = { title = b_shrewsbury }
				FROMFROM = { title = b_wenlock }
				FROMFROM = { title = b_clun }
				FROMFROM = { title = b_bridgenorth }
				FROMFROM = { title = b_whitchurch }
				FROMFROM = { title = b_ostwestry }
				FROMFROM = { title = b_chirk }
			}
		}
		desc = offa_dyke_desc
		trigger = { TECH_FORTIFICATIONS_CONSTRUCTION = 0 }
		build_cost = 60
		build_time = 365

		fort_level = 1.0
		
		ai_creation_factor = 86

		extra_tech_building_start = 10.0
	}

	tp_danevirke = {
		potential = {
			OR = {
				FROMFROM = { title = b_slesvig }
				FROMFROM = { title = b_sonderborg }
				FROMFROM = { title = b_hedeby }
				FROMFROM = { title = b_ribe }
				FROMFROM = { title = b_flensborg }
				FROMFROM = { title = b_tonder }
				FROMFROM = { title = b_aabenraa }
				FROMFROM = { title = b_haderslev }
				FROMFROM = { title = b_kolding }
			}
		}
		desc = danevirke_desc
		trigger = { TECH_FORTIFICATIONS_CONSTRUCTION = 0 }
		build_cost = 60
		build_time = 365

		fort_level = 1.0
		
		ai_creation_factor = 86

		extra_tech_building_start = 10.0
	}

	tp_jeru_zion = {
		potential = {
			FROMFROM = { title = b_jerusalem }
		}
		desc = tp_jeru_zion_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_jeru_wall1 = {
		potential = {
			FROMFROM = { title = b_jerusalem }
		}
		desc = tp_jeru_wall1_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.05
		liege_piety = 0.25
		monthly_character_piety = 0.25

		ai_creation_factor = 100

		extra_tech_building_start = 0.0
	}

	tp_jeru_wall2 = {
		potential = {
			AND = {
				FROM = { religion = jewish }
				FROMFROM = { title = b_jerusalem }
			}
		}
		desc = tp_jeru_wall2_desc
		trigger = { TECH_TEMPLE_CONSTRUCTION = 0 }
		prerequisites = { tp_jeru_wall1 }
		upgrades_from = tp_jeru_wall1
		build_cost = 200
		build_time = 1460

		culture_techpoints = 0.05
		liege_piety = 0.25
		monthly_character_piety = 0.25

		ai_creation_factor = 86

		extra_tech_building_start = 10.0
	}

	tp_stdenis = { # Basilica Saint Denis
		potential = {
			FROMFROM = { title = b_stdenis }
		}
		desc = tp_stdenis_desc
		trigger = { TECH_TEMPLE_CONSTRUCTION = 4 }
		build_cost = 200
		build_time = 1460

		culture_techpoints = 0.1
		liege_piety = 0.5
		monthly_character_piety = 0.5

		ai_creation_factor = 86

		extra_tech_building_start = 6.0
	}

	tp_persepolis0 = { #Ruins of Persepolis
		potential = {
			FROMFROM = { title = b_persepolis }
		}
		desc = tp_persepolis0_desc

		trigger = { TECH_TEMPLE_CONSTRUCTION = 0 }

		build_cost = 0
		build_time = 0

		culture_techpoints = 0.05
		
		ai_creation_factor = 100
		
		extra_tech_building_start = 0.0
	}

	tp_persepolis1 = { #Restored Persepolis
		potential = {
			FROMFROM = { title = b_persepolis }
		}
		desc = tp_persepolis1_desc

		trigger = { TECH_TEMPLE_CONSTRUCTION = 0 }

		prerequisites = { tp_persepolis0 }
		upgrades_from = tp_persepolis0
		build_cost = 200
		build_time = 1460

		culture_techpoints = 0.05
		liege_prestige = 0.5
		monthly_character_prestige = 0.5

		ai_creation_factor = 0
		
		extra_tech_building_start = 10.0
	}

	tp_lesserlimes_0 = { 
		potential = { 
			OR = {
				FROMFROM = { title = b_vlaardingen }
				FROMFROM = { title = b_leiden }
				FROMFROM = { title = b_amsterdam }
				FROMFROM = { title = b_sgravenshage }
				FROMFROM = { title = b_dordrecht }
				FROMFROM = { title = b_gouda }
				FROMFROM = { title = b_haarlem }
				FROMFROM = { title = b_muiden }
				FROMFROM = { title = b_utrecht }
				FROMFROM = { title = b_woerden }
				FROMFROM = { title = b_dorestad }
				FROMFROM = { title = b_gorinchem }
				FROMFROM = { title = b_zeist }
				FROMFROM = { title = b_buren }
				FROMFROM = { title = b_ijsselstein }
				FROMFROM = { title = b_oudewater }
				FROMFROM = { title = b_nijmegen }
				FROMFROM = { title = b_deventer }
				FROMFROM = { title = b_zutphen }
				FROMFROM = { title = b_arnhem }
				FROMFROM = { title = b_zwolle }
				FROMFROM = { title = b_kampen }
				FROMFROM = { title = b_bergh }
				FROMFROM = { title = b_bronckhorst }
				FROMFROM = { title = b_kleve }
				FROMFROM = { title = b_goch }
				FROMFROM = { title = b_rees }
				FROMFROM = { title = b_anholt }
				FROMFROM = { title = b_Xanten }
				FROMFROM = { title = b_wesel }
				FROMFROM = { title = b_isselburg }
				FROMFROM = { title = b_emmerich }
			}
		}
		desc = limes_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.05

		ai_creation_factor = 100
		
		extra_tech_building_start = 0.0	
	}

	tp_lesserlimes_1 = { # Restored Hadrian's Wall
		potential = { 
			OR = {
				FROMFROM = { title = b_vlaardingen }
				FROMFROM = { title = b_leiden }
				FROMFROM = { title = b_amsterdam }
				FROMFROM = { title = b_sgravenshage }
				FROMFROM = { title = b_dordrecht }
				FROMFROM = { title = b_gouda }
				FROMFROM = { title = b_haarlem }
				FROMFROM = { title = b_muiden }
				FROMFROM = { title = b_utrecht }
				FROMFROM = { title = b_woerden }
				FROMFROM = { title = b_dorestad }
				FROMFROM = { title = b_gorinchem }
				FROMFROM = { title = b_zeist }
				FROMFROM = { title = b_buren }
				FROMFROM = { title = b_ijsselstein }
				FROMFROM = { title = b_oudewater }
				FROMFROM = { title = b_nijmegen }
				FROMFROM = { title = b_deventer }
				FROMFROM = { title = b_zutphen }
				FROMFROM = { title = b_arnhem }
				FROMFROM = { title = b_zwolle }
				FROMFROM = { title = b_kampen }
				FROMFROM = { title = b_bergh }
				FROMFROM = { title = b_bronckhorst }
				FROMFROM = { title = b_kleve }
				FROMFROM = { title = b_goch }
				FROMFROM = { title = b_rees }
				FROMFROM = { title = b_anholt }
				FROMFROM = { title = b_Xanten }
				FROMFROM = { title = b_wesel }
				FROMFROM = { title = b_isselburg }
				FROMFROM = { title = b_emmerich }
			}
		}
		desc = limes_desc
		trigger = { TECH_FORTIFICATIONS_CONSTRUCTION = 0 }
		prerequisites = { tp_lesserlimes_0 }
		upgrades_from = tp_lesserlimes_0
		build_cost = 100
		build_time = 730

		culture_techpoints = 0.05
		fort_level = 2.0
		garrison_size = 0.1		

		ai_creation_factor = 0

		extra_tech_building_start = 10.0	
	}

	tp_greaterlimes_0 = { 
		potential = { 
			OR = {
				FROMFROM = { title = b_koln }
				FROMFROM = { title = b_dietz }
				FROMFROM = { title = b_berg }
				FROMFROM = { title = b_brauweiler }
				FROMFROM = { title = b_bonn }
				FROMFROM = { title = b_saffenburg }
				FROMFROM = { title = b_mark }
				FROMFROM = { title = b_hochstaden }
				FROMFROM = { title = b_nassau }
				FROMFROM = { title = b_wetzlar }
				FROMFROM = { title = b_fulda }
				FROMFROM = { title = b_marburg }
				FROMFROM = { title = b_katzenelnbogen }
				FROMFROM = { title = b_hersfeld }
				FROMFROM = { title = b_falkenstein }
				FROMFROM = { title = b_isenburg }
			}
		}
		desc = limes_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.05

		ai_creation_factor = 100
		
		extra_tech_building_start = 0.0	
	}

	tp_greaterlimes_1 = { # Restored Hadrian's Wall
		potential = { 
			OR = {
				FROMFROM = { title = b_koln }
				FROMFROM = { title = b_dietz }
				FROMFROM = { title = b_berg }
				FROMFROM = { title = b_brauweiler }
				FROMFROM = { title = b_bonn }
				FROMFROM = { title = b_saffenburg }
				FROMFROM = { title = b_mark }
				FROMFROM = { title = b_hochstaden }
				FROMFROM = { title = b_nassau }
				FROMFROM = { title = b_wetzlar }
				FROMFROM = { title = b_fulda }
				FROMFROM = { title = b_marburg }
				FROMFROM = { title = b_katzenelnbogen }
				FROMFROM = { title = b_hersfeld }
				FROMFROM = { title = b_falkenstein }
				FROMFROM = { title = b_isenburg }
			}
		}
		desc = limes_desc
		trigger = { TECH_FORTIFICATIONS_CONSTRUCTION = 0 }
		prerequisites = { tp_greaterlimes_0 }
		upgrades_from = tp_greaterlimes_0
		build_cost = 100
		build_time = 730

		culture_techpoints = 0.05
		fort_level = 2.0
		garrison_size = 0.1		

		ai_creation_factor = 0

		extra_tech_building_start = 10.0	
	}

	tp_raetianlimes_0 = { 
		potential = { 
			OR = {
				FROMFROM = { title = b_schweinfurt }
				FROMFROM = { title = b_wurzburg }
				FROMFROM = { title = b_aschaffenburg }
				FROMFROM = { title = b_marienberg }
				FROMFROM = { title = b_hammelburg }
				FROMFROM = { title = b_schwarzenberg }
				FROMFROM = { title = b_theiheim }
				FROMFROM = { title = b_mainderheim }
				FROMFROM = { title = b_ansbach }
				FROMFROM = { title = b_babenberg }
				FROMFROM = { title = b_bamberg }
				FROMFROM = { title = b_cadolzburg }
				FROMFROM = { title = b_colmberg }
				FROMFROM = { title = b_roth }
				FROMFROM = { title = b_uffenheim }
				FROMFROM = { title = b_crailsheim }
				FROMFROM = { title = b_nurnberg }
				FROMFROM = { title = b_furth }
				FROMFROM = { title = b_ellwangen }
				FROMFROM = { title = b_kulmbach }
				FROMFROM = { title = b_hohenburg }
				FROMFROM = { title = b_nordlingen }
				FROMFROM = { title = b_eichstatt }
				FROMFROM = { title = b_erlangen }
				FROMFROM = { title = b_wittelsbach }
				FROMFROM = { title = b_regensburg }
				FROMFROM = { title = b_landshut }
				FROMFROM = { title = b_ingolstadt }
				FROMFROM = { title = b_rohrbach }
				FROMFROM = { title = b_cham }
				FROMFROM = { title = b_kirchroth }
			}
		}
		desc = limes_desc
		build_cost = 0
		build_time = 0

		culture_techpoints = 0.05

		ai_creation_factor = 100
		
		extra_tech_building_start = 0.0	
	}

	tp_raetianlimes_1 = { # Restored Hadrian's Wall
		potential = { 
			OR = {
				FROMFROM = { title = b_schweinfurt }
				FROMFROM = { title = b_wurzburg }
				FROMFROM = { title = b_aschaffenburg }
				FROMFROM = { title = b_marienberg }
				FROMFROM = { title = b_hammelburg }
				FROMFROM = { title = b_schwarzenberg }
				FROMFROM = { title = b_theiheim }
				FROMFROM = { title = b_mainderheim }
				FROMFROM = { title = b_ansbach }
				FROMFROM = { title = b_babenberg }
				FROMFROM = { title = b_bamberg }
				FROMFROM = { title = b_cadolzburg }
				FROMFROM = { title = b_colmberg }
				FROMFROM = { title = b_roth }
				FROMFROM = { title = b_uffenheim }
				FROMFROM = { title = b_crailsheim }
				FROMFROM = { title = b_nurnberg }
				FROMFROM = { title = b_furth }
				FROMFROM = { title = b_ellwangen }
				FROMFROM = { title = b_kulmbach }
				FROMFROM = { title = b_hohenburg }
				FROMFROM = { title = b_nordlingen }
				FROMFROM = { title = b_eichstatt }
				FROMFROM = { title = b_erlangen }
				FROMFROM = { title = b_wittelsbach }
				FROMFROM = { title = b_regensburg }
				FROMFROM = { title = b_landshut }
				FROMFROM = { title = b_ingolstadt }
				FROMFROM = { title = b_rohrbach }
				FROMFROM = { title = b_cham }
				FROMFROM = { title = b_kirchroth }
			}
		}
		desc = limes_desc
		trigger = { TECH_FORTIFICATIONS_CONSTRUCTION = 0 }
		prerequisites = { tp_raetianlimes_0 }
		upgrades_from = tp_raetianlimes_0
		build_cost = 100
		build_time = 730

		culture_techpoints = 0.05
		fort_level = 2.0
		garrison_size = 0.1		

		ai_creation_factor = 0

		extra_tech_building_start = 10.0	
	}
}