castle = {

	cfh_districts_ca_building_citizen_rich_0 = {
		desc = cfh_districts_ca_building_citizen_rich_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_citizen_rich_0_flag
			FROMFROM = { is_capital = yes }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_citizen_rich_0
		convert_to_temple = cfh_districts_tp_building_citizen_rich_0
		convert_to_tribal = cfh_districts_tb_building_citizen_rich_0

	}

	cfh_districts_ca_building_citizen_rich_1 = {
		desc = cfh_districts_ca_building_citizen_rich_1_desc
		upgrades_from = cfh_districts_ca_building_citizen_rich_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_citizen_rich_1_flag
			FROMFROM = { is_capital = yes }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_citizen_rich_1
		convert_to_temple = cfh_districts_tp_building_citizen_rich_1
		convert_to_tribal = cfh_districts_tb_building_citizen_rich_1
	}

	cfh_districts_ca_building_citizen_rich_2 = {
		desc = cfh_districts_ca_building_citizen_rich_2_desc
		upgrades_from = cfh_districts_ca_building_citizen_rich_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_citizen_rich_2flag
			FROMFROM = { is_capital = yes }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_citizen_rich_2
		convert_to_temple = cfh_districts_tp_building_citizen_rich_2
		convert_to_tribal = cfh_districts_tb_building_citizen_rich_2
	}

	cfh_districts_ca_building_finishing_school_0 = {
		desc = cfh_districts_ca_building_finishing_school_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.04
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_0 
						NOT = { 
							has_building = cfh_districts_ca_building_trade_school_0
							has_building = cfh_districts_ca_building_fighting_pits_0
							has_building = cfh_districts_ca_building_race_course_0
						}
					}
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_1
						NOT = { has_building = cfh_districts_ca_building_trade_school_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_finishing_school_0
		convert_to_temple = cfh_districts_tp_building_finishing_school_0
		convert_to_tribal = cfh_districts_tb_building_finishing_school_0

	}

	cfh_districts_ca_building_finishing_school_1 = {
		desc = cfh_districts_ca_building_finishing_school_1_desc
		upgrades_from = cfh_districts_ca_building_finishing_school_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.09
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_finishing_school_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_finishing_school_1
		convert_to_temple = cfh_districts_tp_building_finishing_school_1
		convert_to_tribal = cfh_districts_tb_building_finishing_school_1
	}

	cfh_districts_ca_building_finishing_school_2 = {
		desc = cfh_districts_ca_building_finishing_school_2_desc
		upgrades_from = cfh_districts_ca_building_finishing_school_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.16
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_finishing_school_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_finishing_school_2
		convert_to_temple = cfh_districts_tp_building_finishing_school_2
		convert_to_tribal = cfh_districts_tb_building_finishing_school_2
	}

	cfh_districts_ca_building_trade_school_0 = {
		desc = cfh_districts_ca_building_trade_school_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

		economy_techpoints = 0.04
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_0 
						NOT = { 
							has_building = cfh_districts_ca_building_finishing_school_0
							has_building = cfh_districts_ca_building_fighting_pits_0
							has_building = cfh_districts_ca_building_race_course_0
						}
					}
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_1
						NOT = { has_building = cfh_districts_ca_building_finishing_school_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_trade_school_0
		convert_to_temple = cfh_districts_tp_building_trade_school_0
		convert_to_tribal = cfh_districts_tb_building_trade_school_0

	}

	cfh_districts_ca_building_trade_school_1 = {
		desc = cfh_districts_ca_building_trade_school_1_desc
		upgrades_from = cfh_districts_ca_building_trade_school_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

		economy_techpoints = 0.09
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_trade_school_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_trade_school_1
		convert_to_temple = cfh_districts_tp_building_trade_school_1
		convert_to_tribal = cfh_districts_tb_building_trade_school_1
	}

	cfh_districts_ca_building_trade_school_2 = {
		desc = cfh_districts_ca_building_trade_school_2_desc
		upgrades_from = cfh_districts_ca_building_trade_school_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

		economy_techpoints = 0.16
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_trade_school_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_trade_school_2
		convert_to_temple = cfh_districts_tp_building_trade_school_2
		convert_to_tribal = cfh_districts_tb_building_trade_school_2
	}

	cfh_districts_ca_building_race_course_0 = {
		desc = cfh_districts_ca_building_race_course_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 = 55
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_0 
						NOT = { 
							has_building = cfh_districts_ca_building_fighting_pits_0
							has_building = cfh_districts_ca_building_trade_school_0
							has_building = cfh_districts_ca_building_finishing_school_0
						}
					}
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_1
						NOT = { has_building = cfh_districts_ca_building_fighting_pits_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_race_course_0
		convert_to_temple = cfh_districts_tp_building_race_course_0
		convert_to_tribal = cfh_districts_tb_building_race_course_0

	}

	cfh_districts_ca_building_race_course_1 = {
		desc = cfh_districts_ca_building_race_course_1_desc
		upgrades_from = cfh_districts_ca_building_race_course_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 = 130
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_race_course_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_race_course_1
		convert_to_temple = cfh_districts_tp_building_race_course_1
		convert_to_tribal = cfh_districts_tb_building_race_course_1
	}

	cfh_districts_ca_building_race_course_2 = {
		desc = cfh_districts_ca_building_race_course_2_desc
		upgrades_from = cfh_districts_ca_building_race_course_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 = 240
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_race_course_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_race_course_2
		convert_to_temple = cfh_districts_tp_building_race_course_2
		convert_to_tribal = cfh_districts_tb_building_race_course_2
	}

	cfh_districts_ca_building_fighting_pits_0 = {
		desc = cfh_districts_ca_building_fighting_pits_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

		pikemen = 45
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_0 
						NOT = { 
							has_building = cfh_districts_ca_building_race_course_0
							has_building = cfh_districts_ca_building_trade_school_0
							has_building = cfh_districts_ca_building_finishing_school_0
						}
					}
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_1
						NOT = { has_building = cfh_districts_ca_building_race_course_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_fighting_pits_0
		convert_to_temple = cfh_districts_tp_building_fighting_pits_0
		convert_to_tribal = cfh_districts_tb_building_fighting_pits_0

	}

	cfh_districts_ca_building_fighting_pits_1 = {
		desc = cfh_districts_ca_building_fighting_pits_1_desc
		upgrades_from = cfh_districts_ca_building_fighting_pits_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

		pikemen = 115
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_fighting_pits_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_fighting_pits_1
		convert_to_temple = cfh_districts_tp_building_fighting_pits_1
		convert_to_tribal = cfh_districts_tb_building_fighting_pits_1
	}

	cfh_districts_ca_building_fighting_pits_2 = {
		desc = cfh_districts_ca_building_fighting_pits_2_desc
		upgrades_from = cfh_districts_ca_building_fighting_pits_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

		pikemen = 205
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_fighting_pits_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_fighting_pits_2
		convert_to_temple = cfh_districts_tp_building_fighting_pits_2
		convert_to_tribal = cfh_districts_tb_building_fighting_pits_2
	}

	cfh_districts_ca_building_engineers_guild_0 = {
		desc = cfh_districts_ca_building_engineers_guild_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

		local_build_cost_modifier = -0.032
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_0 
						NOT = { 
							has_building = cfh_districts_ca_building_architech_guild_0
							has_building = cfh_districts_ca_building_public_theatre_0
							has_building = cfh_districts_ca_building_banquet_hall_0
						}
					}
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_1
						NOT = { has_building = cfh_districts_ca_building_architech_guild_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_engineers_guild_0
		convert_to_temple = cfh_districts_tp_building_engineers_guild_0
		convert_to_tribal = cfh_districts_tb_building_engineers_guild_0

	}

	cfh_districts_ca_building_engineers_guild_1 = {
		desc = cfh_districts_ca_building_engineers_guild_1_desc
		upgrades_from = cfh_districts_ca_building_engineers_guild_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

		local_build_cost_modifier = -0.08
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_engineers_guild_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_engineers_guild_1
		convert_to_temple = cfh_districts_tp_building_engineers_guild_1
		convert_to_tribal = cfh_districts_tb_building_engineers_guild_1
	}

	cfh_districts_ca_building_engineers_guild_2 = {
		desc = cfh_districts_ca_building_engineers_guild_2_desc
		upgrades_from = cfh_districts_ca_building_engineers_guild_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

		local_build_cost_modifier = -0.144
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_engineers_guild_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_engineers_guild_2
		convert_to_temple = cfh_districts_tp_building_engineers_guild_2
		convert_to_tribal = cfh_districts_tb_building_engineers_guild_2
	}

	cfh_districts_ca_building_architech_guild_0 = {
		desc = cfh_districts_ca_building_architech_guild_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

		local_build_time_modifier = -0.032
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_0 
						NOT = { 
							has_building = cfh_districts_ca_building_engineers_guild_0
							has_building = cfh_districts_ca_building_public_theatre_0
							has_building = cfh_districts_ca_building_banquet_hall_0
						}
					}
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_1
						NOT = { has_building = cfh_districts_ca_building_engineers_guild_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_architech_guild_0
		convert_to_temple = cfh_districts_tp_building_architech_guild_0
		convert_to_tribal = cfh_districts_tb_building_architech_guild_0

	}

	cfh_districts_ca_building_architech_guild_1 = {
		desc = cfh_districts_ca_building_architech_guild_1_desc
		upgrades_from = cfh_districts_ca_building_architech_guild_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

		local_build_time_modifier = -0.08
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_architech_guild_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_architech_guild_1
		convert_to_temple = cfh_districts_tp_building_architech_guild_1
		convert_to_tribal = cfh_districts_tb_building_architech_guild_1
	}

	cfh_districts_ca_building_architech_guild_2 = {
		desc = cfh_districts_ca_building_architech_guild_2_desc
		upgrades_from = cfh_districts_ca_building_architech_guild_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

		local_build_time_modifier = -0.144
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_architech_guild_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_architech_guild_2
		convert_to_temple = cfh_districts_tp_building_architech_guild_2
		convert_to_tribal = cfh_districts_tb_building_architech_guild_2
	}

	cfh_districts_ca_building_public_theatre_0 = { 
		desc = cfh_districts_ca_building_public_theatre_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

		tax_income = 1.18
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_0 
						NOT = { 
							has_building = cfh_districts_ca_building_banquet_hall_0
							has_building = cfh_districts_ca_building_architech_guild_0
							has_building = cfh_districts_ca_building_engineers_guild_0
						}
					}
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_1
						NOT = { has_building = cfh_districts_ca_building_banquet_hall_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_public_theatre_0
		convert_to_temple = cfh_districts_tp_building_public_theatre_0
		convert_to_tribal = cfh_districts_tb_building_public_theatre_0

	}

	cfh_districts_ca_building_public_theatre_1 = {
		desc = cfh_districts_ca_building_public_theatre_1_desc
		upgrades_from = cfh_districts_ca_building_public_theatre_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

		tax_income = 2.96
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_public_theatre_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_public_theatre_1
		convert_to_temple = cfh_districts_tp_building_public_theatre_1
		convert_to_tribal = cfh_districts_tb_building_public_theatre_1
	}

	cfh_districts_ca_building_public_theatre_2 = {
		desc = cfh_districts_ca_building_public_theatre_2_desc
		upgrades_from = cfh_districts_ca_building_public_theatre_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

		tax_income = 5.3
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_public_theatre_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_public_theatre_2
		convert_to_temple = cfh_districts_tp_building_public_theatre_2
		convert_to_tribal = cfh_districts_tb_building_public_theatre_2
	}

	cfh_districts_ca_building_banquet_hall_0 = {
		desc = cfh_districts_ca_building_banquet_hall_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

		local_tax_modifier = 0.16
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_0 
						NOT = { 
							has_building = cfh_districts_ca_building_public_theatre_0
							has_building = cfh_districts_ca_building_architech_guild_0
							has_building = cfh_districts_ca_building_engineers_guild_0
						}
					}
					AND = {
						has_building = cfh_districts_ca_building_citizen_rich_1
						NOT = { has_building = cfh_districts_ca_building_public_theatre_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_banquet_hall_0
		convert_to_temple = cfh_districts_tp_building_banquet_hall_0
		convert_to_tribal = cfh_districts_tb_building_banquet_hall_0

	}

	cfh_districts_ca_building_banquet_hall_1 = {
		desc = cfh_districts_ca_building_banquet_hall_1_desc
		upgrades_from = cfh_districts_ca_building_banquet_hall_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

		local_tax_modifier = 0.4
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_banquet_hall_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_banquet_hall_1
		convert_to_temple = cfh_districts_tp_building_banquet_hall_1
		convert_to_tribal = cfh_districts_tb_building_banquet_hall_1
	}

	cfh_districts_ca_building_banquet_hall_2 = {
		desc = cfh_districts_ca_building_banquet_hall_2_desc
		upgrades_from = cfh_districts_ca_building_banquet_hall_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

		local_tax_modifier = 0.72
		
		prerequisites = {
			cfh_districts_ca_building_citizen_rich_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_ca_building_banquet_hall_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_banquet_hall_2
		convert_to_temple = cfh_districts_tp_building_banquet_hall_2
		convert_to_tribal = cfh_districts_tb_building_banquet_hall_2
	}

}