city = {

	cfh_districts_ct_building_monument_0 = {
		desc = cfh_districts_ct_building_monument_0_desc
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 10
		build_time = 100
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100
		
		potential = {
			has_province_flag = cfh_districts_monument_0_flag
			FROMFROM = { is_capital = yes }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_monument_0
		convert_to_temple = cfh_districts_tp_building_monument_0
		convert_to_tribal = cfh_districts_tb_building_monument_0

	}

	cfh_districts_ct_building_monument_1 = {
		desc = cfh_districts_ct_building_monument_1_desc
		upgrades_from = cfh_districts_ct_building_monument_0
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 10
		build_time = 100
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100
		
		potential = {
			has_province_flag = cfh_districts_monument_1_flag
			FROMFROM = { is_capital = yes }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_monument_1
		convert_to_temple = cfh_districts_tp_building_monument_1
		convert_to_tribal = cfh_districts_tb_building_monument_1
	}

	cfh_districts_ct_building_monument_2 = {
		desc = cfh_districts_ct_building_monument_2_desc
		upgrades_from = cfh_districts_ct_building_monument_1
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 10
		build_time = 100
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100
		
		potential = {
			has_province_flag = cfh_districts_monument_2_flag
			FROMFROM = { is_capital = yes }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_monument_2
		convert_to_temple = cfh_districts_tp_building_monument_2
		convert_to_tribal = cfh_districts_tb_building_monument_2
	}

	cfh_districts_ct_building_religious_monument_0 = {
		desc = cfh_districts_ct_building_religious_monument_0_desc
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 200
		build_time = 365
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		liege_piety = 0.08
		
		prerequisites = {
			cfh_districts_ct_building_monument_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ct_building_monument_0 
						NOT = { 
							has_building = cfh_districts_ct_building_dynasty_monument_0
							has_building = cfh_districts_ct_building_infantry_statue_0
							has_building = cfh_districts_ct_building_cavalry_statue_0
						}
					}
					AND = {
						has_building = cfh_districts_ct_building_monument_1
						NOT = { has_building = cfh_districts_ct_building_dynasty_monument_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_religious_monument_0
		convert_to_temple = cfh_districts_tp_building_religious_monument_0
		convert_to_tribal = cfh_districts_tb_building_religious_monument_0

	}

	cfh_districts_ct_building_religious_monument_1 = {
		desc = cfh_districts_ct_building_religious_monument_1_desc
		upgrades_from = cfh_districts_ct_building_religious_monument_0
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 400
		build_time = 730
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		liege_piety = 0.2
		
		prerequisites = {
			cfh_districts_ct_building_monument_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_religious_monument_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_religious_monument_1
		convert_to_temple = cfh_districts_tp_building_religious_monument_1
		convert_to_tribal = cfh_districts_tb_building_religious_monument_1
	}

	cfh_districts_ct_building_religious_monument_2 = {
		desc = cfh_districts_ct_building_religious_monument_2_desc
		upgrades_from = cfh_districts_ct_building_religious_monument_1
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 600
		build_time = 1095
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		liege_piety = 0.36
		
		prerequisites = {
			cfh_districts_ct_building_monument_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_religious_monument_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_religious_monument_2
		convert_to_temple = cfh_districts_tp_building_religious_monument_2
		convert_to_tribal = cfh_districts_tb_building_religious_monument_2
	}

	cfh_districts_ct_building_dynasty_monument_0 = {
		desc = cfh_districts_ct_building_dynasty_monument_0_desc
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 200
		build_time = 365
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		liege_prestige = 0.2
		
		prerequisites = {
			cfh_districts_ct_building_monument_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ct_building_monument_0 
						NOT = { 
							has_building = cfh_districts_ct_building_religious_monument_0
							has_building = cfh_districts_ct_building_infantry_statue_0
							has_building = cfh_districts_ct_building_cavalry_statue_0
						}
					}
					AND = {
						has_building = cfh_districts_ct_building_monument_1
						NOT = { has_building = cfh_districts_ct_building_religious_monument_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_dynasty_monument_0
		convert_to_temple = cfh_districts_tp_building_dynasty_monument_0
		convert_to_tribal = cfh_districts_tb_building_dynasty_monument_0

	}

	cfh_districts_ct_building_dynasty_monument_1 = {
		desc = cfh_districts_ct_building_dynasty_monument_1_desc
		upgrades_from = cfh_districts_ct_building_dynasty_monument_0
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 400
		build_time = 730
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		liege_prestige = 0.5
		
		prerequisites = {
			cfh_districts_ct_building_monument_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_dynasty_monument_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
			
		}

		convert_to_castle = cfh_districts_ca_building_dynasty_monument_1
		convert_to_temple = cfh_districts_tp_building_dynasty_monument_1
		convert_to_tribal = cfh_districts_tb_building_dynasty_monument_1
	}

	cfh_districts_ct_building_dynasty_monument_2 = {
		desc = cfh_districts_ct_building_dynasty_monument_2_desc
		upgrades_from = cfh_districts_ct_building_dynasty_monument_1
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 600
		build_time = 1095
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		liege_prestige = 0.9
		
		prerequisites = {
			cfh_districts_ct_building_monument_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_dynasty_monument_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_dynasty_monument_2
		convert_to_temple = cfh_districts_tp_building_dynasty_monument_2
		convert_to_tribal = cfh_districts_tb_building_dynasty_monument_2
	}

	cfh_districts_ct_building_cavalry_statue_0 = {
		desc = cfh_districts_ct_building_cavalry_statue_0_desc
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 200
		build_time = 365
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		light_cavalry_morale = 0.013
		knights_morale = 0.013
		
		prerequisites = {
			cfh_districts_ct_building_monument_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ct_building_monument_0 
						NOT = { 
							has_building = cfh_districts_ct_building_infantry_statue_0
							has_building = cfh_districts_ct_building_dynasty_monument_0
							has_building = cfh_districts_ct_building_religious_monument_0
						}
					}
					AND = {
						has_building = cfh_districts_ct_building_monument_1
						NOT = { has_building = cfh_districts_ct_building_infantry_statue_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_cavalry_statue_0
		convert_to_temple = cfh_districts_tp_building_cavalry_statue_0
		convert_to_tribal = cfh_districts_tb_building_cavalry_statue_0

	}

	cfh_districts_ct_building_cavalry_statue_1 = {
		desc = cfh_districts_ct_building_cavalry_statue_1_desc
		upgrades_from = cfh_districts_ct_building_cavalry_statue_0
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 400
		build_time = 730
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		light_cavalry_morale = 0.033
		knights_morale = 0.033
		
		prerequisites = {
			cfh_districts_ct_building_monument_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_cavalry_statue_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_cavalry_statue_1
		convert_to_temple = cfh_districts_tp_building_cavalry_statue_1
		convert_to_tribal = cfh_districts_tb_building_cavalry_statue_1
	}

	cfh_districts_ct_building_cavalry_statue_2 = {
		desc = cfh_districts_ct_building_cavalry_statue_2_desc
		upgrades_from = cfh_districts_ct_building_cavalry_statue_1
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 600
		build_time = 1095
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		light_cavalry_morale = 0.06
		knights_morale = 0.06
		
		prerequisites = {
			cfh_districts_ct_building_monument_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_cavalry_statue_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_cavalry_statue_2
		convert_to_temple = cfh_districts_tp_building_cavalry_statue_2
		convert_to_tribal = cfh_districts_tb_building_cavalry_statue_2
	}

	cfh_districts_ct_building_infantry_statue_0 = {
		desc = cfh_districts_ct_building_infantry_statue_0_desc
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 200
		build_time = 365
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		light_infantry_morale = 0.013
		heavy_infantry_morale = 0.013
		
		prerequisites = {
			cfh_districts_ct_building_monument_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ct_building_monument_0 
						NOT = { 
							has_building = cfh_districts_ct_building_cavalry_statue_0
							has_building = cfh_districts_ct_building_dynasty_monument_0
							has_building = cfh_districts_ct_building_religious_monument_0
						}
					}
					AND = {
						has_building = cfh_districts_ct_building_monument_1
						NOT = { has_building = cfh_districts_ct_building_cavalry_statue_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_infantry_statue_0
		convert_to_temple = cfh_districts_tp_building_infantry_statue_0
		convert_to_tribal = cfh_districts_tb_building_infantry_statue_0

	}

	cfh_districts_ct_building_infantry_statue_1 = {
		desc = cfh_districts_ct_building_infantry_statue_1_desc
		upgrades_from = cfh_districts_ct_building_infantry_statue_0
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 400
		build_time = 730
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		light_infantry_morale = 0.033
		heavy_infantry_morale = 0.033
		
		prerequisites = {
			cfh_districts_ct_building_monument_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_infantry_statue_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
			
		}

		convert_to_castle = cfh_districts_ca_building_infantry_statue_1
		convert_to_temple = cfh_districts_tp_building_infantry_statue_1
		convert_to_tribal = cfh_districts_tb_building_infantry_statue_1
	}

	cfh_districts_ct_building_infantry_statue_2 = {
		desc = cfh_districts_ct_building_infantry_statue_2_desc
		upgrades_from = cfh_districts_ct_building_infantry_statue_1
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 600
		build_time = 1095
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		light_infantry_morale = 0.06
		heavy_infantry_morale = 0.06
		
		prerequisites = {
			cfh_districts_ct_building_monument_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_infantry_statue_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_infantry_statue_2
		convert_to_temple = cfh_districts_tp_building_infantry_statue_2
		convert_to_tribal = cfh_districts_tb_building_infantry_statue_2
	}

	cfh_districts_ct_building_plaza_0 = {
		desc = cfh_districts_ct_building_plaza_0_desc
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 200
		build_time = 365
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		culture_techpoints = 0.026
		monthly_character_prestige = 0.07
		
		prerequisites = {
			cfh_districts_ct_building_monument_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ct_building_monument_0 
						NOT = { 
							has_building = cfh_districts_ct_building_park_0
							has_building = cfh_districts_ct_building_monument_temple_0
							has_building = cfh_districts_ct_building_palace_0
						}
					}
					AND = {
						has_building = cfh_districts_ct_building_monument_1
						NOT = { has_building = cfh_districts_ct_building_park_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_plaza_0
		convert_to_temple = cfh_districts_tp_building_plaza_0
		convert_to_tribal = cfh_districts_tb_building_plaza_0

	}

	cfh_districts_ct_building_plaza_1 = {
		desc = cfh_districts_ct_building_plaza_1_desc
		upgrades_from = cfh_districts_ct_building_plaza_0
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 400
		build_time = 730
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		culture_techpoints = 0.066
		monthly_character_prestige = 0.166
		
		prerequisites = {
			cfh_districts_ct_building_monument_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_plaza_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_plaza_1
		convert_to_temple = cfh_districts_tp_building_plaza_1
		convert_to_tribal = cfh_districts_tb_building_plaza_1
	}

	cfh_districts_ct_building_plaza_2 = {
		desc = cfh_districts_ct_building_plaza_2_desc
		upgrades_from = cfh_districts_ct_building_plaza_1
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 600
		build_time = 1095
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		culture_techpoints = 0.12
		monthly_character_prestige = 0.3
		
		prerequisites = {
			cfh_districts_ct_building_monument_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_plaza_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_plaza_2
		convert_to_temple = cfh_districts_tp_building_plaza_2
		convert_to_tribal = cfh_districts_tb_building_plaza_2
	}

	cfh_districts_ct_building_park_0 = {
		desc = cfh_districts_ct_building_park_0_desc
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 200
		build_time = 365
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		monthly_character_prestige = 0.26
		
		prerequisites = {
			cfh_districts_ct_building_monument_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ct_building_monument_0 
						NOT = { 
							has_building = cfh_districts_ct_building_plaza_0
							has_building = cfh_districts_ct_building_monument_temple_0
							has_building = cfh_districts_ct_building_palace_0
						}
					}
					AND = {
						has_building = cfh_districts_ct_building_monument_1
						NOT = { has_building = cfh_districts_ct_building_plaza_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_park_0
		convert_to_temple = cfh_districts_tp_building_park_0
		convert_to_tribal = cfh_districts_tb_building_park_0

	}

	cfh_districts_ct_building_park_1 = {
		desc = cfh_districts_ct_building_park_1_desc
		upgrades_from = cfh_districts_ct_building_park_0
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 400
		build_time = 730
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		monthly_character_prestige = 0.66
		
		prerequisites = {
			cfh_districts_ct_building_monument_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_park_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
			
		}

		convert_to_castle = cfh_districts_ca_building_park_1
		convert_to_temple = cfh_districts_tp_building_park_1
		convert_to_tribal = cfh_districts_tb_building_park_1
	}

	cfh_districts_ct_building_park_2 = {
		desc = cfh_districts_ct_building_park_2_desc
		upgrades_from = cfh_districts_ct_building_park_1
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 600
		build_time = 1095
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		monthly_character_prestige = 1.2
		
		prerequisites = {
			cfh_districts_ct_building_monument_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_park_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_park_2
		convert_to_temple = cfh_districts_tp_building_park_2
		convert_to_tribal = cfh_districts_tb_building_park_2
	}

	cfh_districts_ct_building_monument_temple_0 = {
		desc = cfh_districts_ct_building_monument_temple_0_desc
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 200
		build_time = 365
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		knights = 20
		monthly_character_piety = 0.05
		
		prerequisites = {
			cfh_districts_ct_building_monument_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ct_building_monument_0 
						NOT = { 
							has_building = cfh_districts_ct_building_palace_0
							has_building = cfh_districts_ct_building_park_0
							has_building = cfh_districts_ct_building_plaza_0
						}
					}
					AND = {
						has_building = cfh_districts_ct_building_monument_1
						NOT = { has_building = cfh_districts_ct_building_palace_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_monument_temple_0
		convert_to_temple = cfh_districts_tp_building_monument_temple_0
		convert_to_tribal = cfh_districts_tb_building_monument_temple_0

	}

	cfh_districts_ct_building_monument_temple_1 = {
		desc = cfh_districts_ct_building_monument_temple_1_desc
		upgrades_from = cfh_districts_ct_building_monument_temple_0
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 400
		build_time = 730
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		knights = 50
		monthly_character_piety = 0.13
		
		prerequisites = {
			cfh_districts_ct_building_monument_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_monument_temple_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_monument_temple_1
		convert_to_temple = cfh_districts_tp_building_monument_temple_1
		convert_to_tribal = cfh_districts_tb_building_monument_temple_1
	}

	cfh_districts_ct_building_monument_temple_2 = {
		desc = cfh_districts_ct_building_monument_temple_2_desc
		upgrades_from = cfh_districts_ct_building_monument_temple_1
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 600
		build_time = 1095
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		knights = 90
		monthly_character_piety = 0.24
		
		prerequisites = {
			cfh_districts_ct_building_monument_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_monument_temple_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_monument_temple_2
		convert_to_temple = cfh_districts_tp_building_monument_temple_2
		convert_to_tribal = cfh_districts_tb_building_monument_temple_2
	}

	cfh_districts_ct_building_palace_0 = {
		desc = cfh_districts_ct_building_palace_0_desc
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 200
		build_time = 365
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		retinuesize = 32
		
		prerequisites = {
			cfh_districts_ct_building_monument_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ct_building_monument_0 
						NOT = { 
							has_building = cfh_districts_ct_building_monument_temple_0
							has_building = cfh_districts_ct_building_park_0
							has_building = cfh_districts_ct_building_plaza_0
						}
					}
					AND = {
						has_building = cfh_districts_ct_building_monument_1
						NOT = { has_building = cfh_districts_ct_building_monument_temple_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_palace_0
		convert_to_temple = cfh_districts_tp_building_palace_0
		convert_to_tribal = cfh_districts_tb_building_palace_0

	}

	cfh_districts_ct_building_palace_1 = {
		desc = cfh_districts_ct_building_palace_1_desc
		upgrades_from = cfh_districts_ct_building_palace_0
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 400
		build_time = 730
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		retinuesize = 80
		
		prerequisites = {
			cfh_districts_ct_building_monument_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_palace_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
			
		}

		convert_to_castle = cfh_districts_ca_building_palace_1
		convert_to_temple = cfh_districts_tp_building_palace_1
		convert_to_tribal = cfh_districts_tb_building_palace_1
	}

	cfh_districts_ct_building_palace_2 = {
		desc = cfh_districts_ct_building_palace_2_desc
		upgrades_from = cfh_districts_ct_building_palace_1
		trigger = { TECH_CASTLE_CONSTRUCTION = 0 }
		gold_cost = 600
		build_time = 1095
		add_number_to_name = no
		ai_creation_factor = 130
		extra_tech_building_start = 100

		retinuesize = 144
		
		prerequisites = {
			cfh_districts_ct_building_monument_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ct_building_palace_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_castle = cfh_districts_ca_building_palace_2
		convert_to_temple = cfh_districts_tp_building_palace_2
		convert_to_tribal = cfh_districts_tb_building_palace_2
	}

}