# Great Pillars
tribal = {
	tb_great_pillar_norse = {
		desc = tb_great_pillar_norse_desc
		potential = {
			has_province_flag = flag_great_pillar_norse
		}
		is_active_trigger = {
			FROM = { #Owner and his liege must be of the founding religion, otherwise the building becomes inactive.
				is_tribal = yes
				religion = norse_pagan
				liege = {
					is_tribal = yes
					religion = norse_pagan
				}
			}
		}
		trigger = { tribal_building_allow = yes }
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.1
		levy_reinforce_rate = 0.05
		land_morale = 0.05


		ai_creation_factor = 92
		add_number_to_name = no
	}

	tb_great_pillar_tengri = {
		desc = tb_great_pillar_tengri_desc
		potential = {
			has_province_flag = flag_great_pillar_tengri
		}
		is_active_trigger = {
			FROM = {
				is_tribal = yes
				religion = tengri_pagan
				liege = {
					is_tribal = yes
					religion = tengri_pagan
				}
			}
		}
		trigger = { tribal_building_allow = yes }
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.1
		levy_reinforce_rate = 0.05
		land_morale = 0.05

		ai_creation_factor = 92
		add_number_to_name = no
	}

	tb_great_pillar_slavic = {
		desc = tb_great_pillar_slavic_desc
		potential = {
			has_province_flag = flag_great_pillar_slavic
		}
		is_active_trigger = {
			FROM = {
				is_tribal = yes
				religion = slavic_pagan
				liege = {
					is_tribal = yes
					religion = slavic_pagan
				}
			}
		}
		trigger = { tribal_building_allow = yes }
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.1
		land_morale = 0.1

		ai_creation_factor = 92
		add_number_to_name = no
	}

	tb_great_pillar_baltic = {
		desc = tb_great_pillar_baltic_desc
		potential = {
			has_province_flag = flag_great_pillar_baltic
		}
		is_active_trigger = {
			FROM = {
				is_tribal = yes
				religion = baltic_pagan
				liege = {
					is_tribal = yes
					religion = baltic_pagan
				}
			}
		}
		trigger = { tribal_building_allow = yes }
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.1
		land_morale = 0.1

		ai_creation_factor = 92
		add_number_to_name = no
	}

	tb_great_pillar_finnish = {
		desc = tb_great_pillar_finnish_desc
		potential = {
			has_province_flag = flag_great_pillar_finnish
		}
		is_active_trigger = {
			FROM = {
				is_tribal = yes
				religion = finnish_pagan
				liege = {
					is_tribal = yes
					religion = finnish_pagan
				}
			}
		}
		trigger = { tribal_building_allow = yes }
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.1
		land_morale = 0.1

		ai_creation_factor = 92
		add_number_to_name = no
	}

	tb_great_pillar_west_african = {
		desc = tb_great_pillar_west_african_desc
		potential = {
			has_province_flag = flag_great_pillar_west_african
		}
		is_active_trigger = {
			FROM = {
				is_tribal = yes
				religion = west_african_pagan
				liege = {
					is_tribal = yes
					religion = west_african_pagan
				}
			}
		}
		trigger = { tribal_building_allow = yes }
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.1
		tax_income = 0.25
		land_morale = 0.05

		ai_creation_factor = 92
		add_number_to_name = no
	}

	tb_great_pillar_aztec = {
		desc = tb_great_pillar_aztec_desc
		potential = {
			has_province_flag = flag_great_pillar_aztec
		}
		is_active_trigger = {
			FROM = {
				is_tribal = yes
				religion = aztec_pagan
				liege = {
					is_tribal = yes
					religion = aztec_pagan
				}
			}
		}
		trigger = { tribal_building_allow = yes }
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.1
		tax_income = 0.25
		land_morale = 0.05

		ai_creation_factor = 92
		add_number_to_name = no
	}

	tb_great_pillar_bon = {
		desc = tb_great_pillar_bon_desc
		potential = {
			has_province_flag = flag_great_pillar_bon
		}
		is_active_trigger = {
			FROM = {
				is_tribal = yes
				religion = bon_pagan
				liege = {
					is_tribal = yes
					religion = bon_pagan
				}
			}
		}
		trigger = { tribal_building_allow = yes }
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.75

		ai_creation_factor = 92
		add_number_to_name = no
	}

	tb_great_pillar_zun = {
		desc = tb_great_pillar_zun_desc
		potential = {
			has_province_flag = flag_great_pillar_zun
		}
		is_active_trigger = {
			FROM = {
				is_tribal = yes
				religion = zun_pagan
				liege = {
					is_tribal = yes
					religion = zun_pagan
				}
			}
		}
		trigger = { tribal_building_allow = yes }
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.1
		tax_income = 0.25
		land_morale = 0.05

		ai_creation_factor = 92
		add_number_to_name = no
	}

	tb_great_pillar_hellenic = {
		desc = tb_great_pillar_hellenic_desc
		potential = {
			has_province_flag = flag_great_pillar_hellenic
		}
		is_active_trigger = {
			FROM = {
				is_tribal = yes
				religion = hellenic_pagan
				liege = {
					is_tribal = yes
					religion = hellenic_pagan
				}
			}
		}
		trigger = { tribal_building_allow = yes }
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.1
		culture_techpoints = 0.1
		land_morale = 0.05

		ai_creation_factor = 92
		add_number_to_name = no
	}
}

temple = { #Historical Irminsul's holding is set as a temple.
	tp_great_pillar_norse = {
		desc = tb_great_pillar_norse_desc
		potential = {
			has_province_flag = flag_great_pillar_norse_irminsul
		}
		trigger = { temple_building_allow = yes }
		is_active_trigger = {
			FROM = {
				religion = norse_pagan
				liege = {
					religion = norse_pagan
				}
			}
		}
		gold_cost = 350
		build_time = 3650

		liege_piety = 0.25
		levy_reinforce_rate = 0.05
		land_morale = 0.05

		ai_creation_factor = 92
		add_number_to_name = no
	}
}
