tribal = {

	cfh_districts_tb_building_citizen_poor_0 = {
		desc = cfh_districts_tb_building_citizen_poor_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_poor_0_flag
			FROMFROM = { is_capital = yes }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_citizen_poor_0
		convert_to_temple = cfh_districts_tp_building_citizen_poor_0
		convert_to_castle = cfh_districts_ca_building_citizen_poor_0

	}

	cfh_districts_tb_building_citizen_poor_1 = {
		desc = cfh_districts_tb_building_citizen_poor_1_desc
		upgrades_from = cfh_districts_tb_building_citizen_poor_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_poor_1_flag
			FROMFROM = { is_capital = yes }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_citizen_poor_1
		convert_to_temple = cfh_districts_tp_building_citizen_poor_1
		convert_to_castle = cfh_districts_ca_building_citizen_poor_1
	}

	cfh_districts_tb_building_citizen_poor_2 = {
		desc = cfh_districts_tb_building_citizen_poor_2_desc
		upgrades_from = cfh_districts_tb_building_citizen_poor_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_poor_2_flag
			FROMFROM = { is_capital = yes }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_citizen_poor_2
		convert_to_temple = cfh_districts_tp_building_citizen_poor_2
		convert_to_castle = cfh_districts_ca_building_citizen_poor_2
	}

	cfh_districts_tb_building_poor_district_0 = {
		desc = cfh_districts_tb_building_poor_district_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.2
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_0 
						NOT = { 
							has_building = cfh_districts_tb_building_slum_district_0
							has_building = cfh_districts_tb_building_inn_0
							has_building = cfh_districts_tb_building_poor_house_0
						}
					}
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_1
						NOT = { has_building = cfh_districts_tb_building_slum_district_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_poor_district_0
		convert_to_temple = cfh_districts_tp_building_poor_district_0
		convert_to_castle = cfh_districts_ca_building_poor_district_0

	}

	cfh_districts_tb_building_poor_district_1 = {
		desc = cfh_districts_tb_building_poor_district_1_desc
		upgrades_from = cfh_districts_tb_building_poor_district_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 = 3
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_poor_district_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_poor_district_1
		convert_to_temple = cfh_districts_tp_building_poor_district_1
		convert_to_castle = cfh_districts_ca_building_poor_district_1
	}

	cfh_districts_tb_building_poor_district_2 = {
		desc = cfh_districts_tb_building_poor_district_2_desc
		upgrades_from = cfh_districts_tb_building_poor_district_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
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_poor_district_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_poor_district_2
		convert_to_temple = cfh_districts_tp_building_poor_district_2
		convert_to_castle = cfh_districts_ca_building_poor_district_2
	}

	cfh_districts_tb_building_slum_district_0 = {
		desc = cfh_districts_tb_building_slum_district_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 = 106
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_0 
						NOT = { 
							has_building = cfh_districts_tb_building_poor_district_0
							has_building = cfh_districts_tb_building_inn_0
							has_building = cfh_districts_tb_building_poor_house_0
						}
					}
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_1
						NOT = { has_building = cfh_districts_tb_building_poor_district_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_slum_district_0
		convert_to_temple = cfh_districts_tp_building_slum_district_0
		convert_to_castle = cfh_districts_ca_building_slum_district_0

	}

	cfh_districts_tb_building_slum_district_1 = {
		desc = cfh_districts_tb_building_slum_district_1_desc
		upgrades_from = cfh_districts_tb_building_slum_district_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 = 266
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_slum_district_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_slum_district_1
		convert_to_temple = cfh_districts_tp_building_slum_district_1
		convert_to_castle = cfh_districts_ca_building_slum_district_1
	}

	cfh_districts_tb_building_slum_district_2 = {
		desc = cfh_districts_tb_building_slum_district_2_desc
		upgrades_from = cfh_districts_tb_building_slum_district_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 = 480
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_slum_district_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_slum_district_2
		convert_to_temple = cfh_districts_tp_building_slum_district_2
		convert_to_castle = cfh_districts_ca_building_slum_district_2
	}

	cfh_districts_tb_building_poor_house_0 = {
		desc = cfh_districts_tb_building_poor_house_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.04
		disease_defence = -0.008
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_0 
						NOT = { 
							has_building = cfh_districts_tb_building_inn_0
							has_building = cfh_districts_tb_building_slum_district_0
							has_building = cfh_districts_tb_building_poor_district_0
						}
					}
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_1
						NOT = { has_building = cfh_districts_tb_building_inn_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_poor_house_0
		convert_to_temple = cfh_districts_tp_building_poor_house_0
		convert_to_castle = cfh_districts_ca_building_poor_house_0

	}

	cfh_districts_tb_building_poor_house_1 = {
		desc = cfh_districts_tb_building_poor_house_1_desc
		upgrades_from = cfh_districts_tb_building_poor_house_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.1
		disease_defence = -0.02
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_poor_house_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_poor_house_1
		convert_to_temple = cfh_districts_tp_building_poor_house_1
		convert_to_castle = cfh_districts_ca_building_poor_house_1
	}

	cfh_districts_tb_building_poor_house_2 = {
		desc = cfh_districts_tb_building_poor_house_2_desc
		upgrades_from = cfh_districts_tb_building_poor_house_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 = 1.8
		disease_defence = -0.036
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_poor_house_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_poor_house_2
		convert_to_temple = cfh_districts_tp_building_poor_house_2
		convert_to_castle = cfh_districts_ca_building_poor_house_2
	}

	cfh_districts_tb_building_inn_0 = {
		desc = cfh_districts_tb_building_inn_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.8
		local_revolt_risk = 0.008
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_0 
						NOT = { 
							has_building = cfh_districts_tb_building_poor_house_0
							has_building = cfh_districts_tb_building_slum_district_0
							has_building = cfh_districts_tb_building_poor_district_0
						}
					}
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_1
						NOT = { has_building = cfh_districts_tb_building_poor_house_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_inn_0
		convert_to_temple = cfh_districts_tp_building_inn_0
		convert_to_castle = cfh_districts_ca_building_inn_0

	}

	cfh_districts_tb_building_inn_1 = {
		desc = cfh_districts_tb_building_inn_1_desc
		upgrades_from = cfh_districts_tb_building_inn_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 = 4.4
		local_revolt_risk = 0.02
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_inn_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_inn_1
		convert_to_temple = cfh_districts_tp_building_inn_1
		convert_to_castle = cfh_districts_ca_building_inn_1
	}

	cfh_districts_tb_building_inn_2 = {
		desc = cfh_districts_tb_building_inn_2_desc
		upgrades_from = cfh_districts_tb_building_inn_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 = 8
		local_revolt_risk = 0.036
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_inn_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_inn_2
		convert_to_temple = cfh_districts_tp_building_inn_2
		convert_to_castle = cfh_districts_ca_building_inn_2
	}

	cfh_districts_tb_building_guild_hall_0 = {
		desc = cfh_districts_tb_building_guild_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_build_time_modifier = -0.032
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_0 
						NOT = { 
							has_building = cfh_districts_tb_building_jail_0
							has_building = cfh_districts_tb_building_apothecary_0
							has_building = cfh_districts_tb_building_village_green_0
						}
					}
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_1
						NOT = { has_building = cfh_districts_tb_building_jail_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_guild_hall_0
		convert_to_temple = cfh_districts_tp_building_guild_hall_0
		convert_to_castle = cfh_districts_ca_building_guild_hall_0

	}

	cfh_districts_tb_building_guild_hall_1 = {
		desc = cfh_districts_tb_building_guild_hall_1_desc
		upgrades_from = cfh_districts_tb_building_guild_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_build_time_modifier = -0.08
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_guild_hall_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_guild_hall_1
		convert_to_temple = cfh_districts_tp_building_guild_hall_1
		convert_to_castle = cfh_districts_ca_building_guild_hall_1
	}

	cfh_districts_tb_building_guild_hall_2 = {
		desc = cfh_districts_tb_building_guild_hall_2_desc
		upgrades_from = cfh_districts_tb_building_guild_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_build_time_modifier = -0.144
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_guild_hall_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_guild_hall_2
		convert_to_temple = cfh_districts_tp_building_guild_hall_2
		convert_to_castle = cfh_districts_ca_building_guild_hall_2
	}

	cfh_districts_tb_building_jail_0 = {
		desc = cfh_districts_tb_building_jail_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_tb_building_citizen_poor_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_0 
						NOT = { 
							has_building = cfh_districts_tb_building_guild_hall_0
							has_building = cfh_districts_tb_building_apothecary_0
							has_building = cfh_districts_tb_building_village_green_0
						}
					}
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_1
						NOT = { has_building = cfh_districts_tb_building_guild_hall_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_jail_0
		convert_to_temple = cfh_districts_tp_building_jail_0
		convert_to_castle = cfh_districts_ca_building_jail_0

	}

	cfh_districts_tb_building_jail_1 = {
		desc = cfh_districts_tb_building_jail_1_desc
		upgrades_from = cfh_districts_tb_building_jail_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_tb_building_citizen_poor_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_jail_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_jail_1
		convert_to_temple = cfh_districts_tp_building_jail_1
		convert_to_castle = cfh_districts_ca_building_jail_1
	}

	cfh_districts_tb_building_jail_2 = {
		desc = cfh_districts_tb_building_jail_2_desc
		upgrades_from = cfh_districts_tb_building_jail_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_tb_building_citizen_poor_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_jail_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_jail_2
		convert_to_temple = cfh_districts_tp_building_jail_2
		convert_to_castle = cfh_districts_ca_building_jail_2
	}

	cfh_districts_tb_building_apothecary_0 = {
		desc = cfh_districts_tb_building_apothecary_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

		disease_defence = 0.016
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_0 
						NOT = { 
							has_building = cfh_districts_tb_building_village_green_0
							has_building = cfh_districts_tb_building_jail_0
							has_building = cfh_districts_tb_building_guild_hall_0
						}
					}
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_1
						NOT = { has_building = cfh_districts_tb_building_village_green_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_apothecary_0
		convert_to_temple = cfh_districts_tp_building_apothecary_0
		convert_to_castle = cfh_districts_ca_building_apothecary_0

	}

	cfh_districts_tb_building_apothecary_1 = {
		desc = cfh_districts_tb_building_apothecary_1_desc
		upgrades_from = cfh_districts_tb_building_apothecary_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

		disease_defence = 0.04
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_apothecary_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_apothecary_1
		convert_to_temple = cfh_districts_tp_building_apothecary_1
		convert_to_castle = cfh_districts_ca_building_apothecary_1
	}

	cfh_districts_tb_building_apothecary_2 = {
		desc = cfh_districts_tb_building_apothecary_2_desc
		upgrades_from = cfh_districts_tb_building_apothecary_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

		disease_defence = 0.072
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_apothecary_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_apothecary_2
		convert_to_temple = cfh_districts_tp_building_apothecary_2
		convert_to_castle = cfh_districts_ca_building_apothecary_2
	}

	cfh_districts_tb_building_village_green_0 = {
		desc = cfh_districts_tb_building_village_green_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_revolt_risk = 0.016
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_0
		}
		
		potential = {
			FROMFROM = { 
				OR = {
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_0 
						NOT = { 
							has_building = cfh_districts_tb_building_apothecary_0
							has_building = cfh_districts_tb_building_jail_0
							has_building = cfh_districts_tb_building_guild_hall_0
						}
					}
					AND = {
						has_building = cfh_districts_tb_building_citizen_poor_1
						NOT = { has_building = cfh_districts_tb_building_apothecary_0 }
					}
				}
			}
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_village_green_0
		convert_to_temple = cfh_districts_tp_building_village_green_0
		convert_to_castle = cfh_districts_ca_building_village_green_0

	}

	cfh_districts_tb_building_village_green_1 = {
		desc = cfh_districts_tb_building_village_green_1_desc
		upgrades_from = cfh_districts_tb_building_village_green_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_revolt_risk = 0.04
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_1
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_village_green_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_village_green_1
		convert_to_temple = cfh_districts_tp_building_village_green_1
		convert_to_castle = cfh_districts_ca_building_village_green_1
	}

	cfh_districts_tb_building_village_green_2 = {
		desc = cfh_districts_tb_building_village_green_2_desc
		upgrades_from = cfh_districts_tb_building_village_green_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_revolt_risk = 0.072
		
		prerequisites = {
			cfh_districts_tb_building_citizen_poor_2
		}
		
		potential = {
			FROMFROM = { has_building = cfh_districts_tb_building_village_green_0 }
		}

		is_active_trigger = {
			FROMFROM = { is_capital = yes }
		}

		convert_to_city = cfh_districts_ct_building_village_green_2
		convert_to_temple = cfh_districts_tp_building_village_green_2
		convert_to_castle = cfh_districts_ca_building_village_green_2
	}

}