province_is_buddhist_or_accepts_buddhism = {
	OR = {
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_at
			OR = {
				AND = {
					religion = buddhism
					OR = {
						has_owner_religion = yes
						owner = { has_harmonized_with = buddhism }
						owner = { secondary_religion = buddhism }
					}
				}
				AND = {
					religion = vajrayana
					OR = {
						has_owner_religion = yes
						owner = { has_harmonized_with = vajrayana }
						owner = { secondary_religion = vajrayana }
					}
				}
				AND = {
					religion = mahayana
					OR = {
						has_owner_religion = yes
						owner = { has_harmonized_with = mahayana }
						owner = { secondary_religion = mahayana }
					}
				}
				AND = {
					religion = tibetan_buddhism
					OR = {
						has_owner_religion = yes
						owner = { has_harmonized_with = tibetan_buddhism }
						owner = { secondary_religion = tibetan_buddhism }
					}
				}
			}
		}
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_bt
			owner = {
				OR = {
					has_harmonized_with = buddhism
					has_harmonized_with = vajrayana
					has_harmonized_with = mahayana
					has_harmonized_with = tibetan_buddhism
				}
			}
			has_owner_religion = yes
		}
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_ct
			owner = {
				OR = {
					secondary_religion = buddhism
					secondary_religion = vajrayana
					secondary_religion = mahayana
					secondary_religion = tibetan_buddhism
				}
			}
			has_owner_religion = yes
		}
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_dt
			religion = shinto
			has_owner_religion = yes
		}
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_et
			owner = { has_personal_deity = buddha }
			has_owner_religion = yes
		}
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_ft
			owner = { has_adopted_cult = buddhism_cult }
			has_owner_religion = yes
		}
		#For the case the province has a religion which the player has already harmonized with and cannot convert
		#It's a hidden trigger because the tooltip is already super flooded and it is incredibly niche
		hidden_trigger = {
			owner = {
				OR = {
					has_harmonized_with = buddhism
					has_harmonized_with = vajrayana
					has_harmonized_with = mahayana
					has_harmonized_with = tibetan_buddhism
				}
				has_harmonized_with = ROOT
			}
		}
	}
}

#Had to make a new scripted trigger or otherwise the conditions looks too cluttered...
province_is_buddhist_or_accepts_buddhism_or_is_dharmic = {
	OR = {
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_at
			OR = {
				AND = {
					religion = buddhism
					OR = {
						has_owner_religion = yes
						owner = { has_harmonized_with = buddhism }
						owner = { secondary_religion = buddhism }
					}
				}
				AND = {
					religion = vajrayana
					OR = {
						has_owner_religion = yes
						owner = { has_harmonized_with = vajrayana }
						owner = { secondary_religion = vajrayana }
					}
				}
				AND = {
					religion = mahayana
					OR = {
						has_owner_religion = yes
						owner = { has_harmonized_with = mahayana }
						owner = { secondary_religion = mahayana }
					}
				}
				AND = {
					religion = tibetan_buddhism
					OR = {
						has_owner_religion = yes
						owner = { has_harmonized_with = tibetan_buddhism }
						owner = { secondary_religion = tibetan_buddhism }
					}
				}
			}
		}
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_bt
			owner = {
				OR = {
					has_harmonized_with = buddhism
					has_harmonized_with = vajrayana
					has_harmonized_with = mahayana
					has_harmonized_with = tibetan_buddhism
				}
			}
			has_owner_religion = yes
		}
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_ct
			owner = {
				OR = {
					secondary_religion = buddhism
					secondary_religion = vajrayana
					secondary_religion = mahayana
					secondary_religion = tibetan_buddhism
				}
			}
			has_owner_religion = yes
		}
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_dt
			religion = shinto
			has_owner_religion = yes
		}
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_et
			owner = { has_personal_deity = buddha }
			has_owner_religion = yes
		}
		custom_trigger_tooltip = {
			tooltip = province_is_buddhist_or_accepts_buddhism_ft
			owner = { has_adopted_cult = buddhism_cult }
			has_owner_religion = yes
		}
		#For the case the province has a religion which the player has already harmonized with and cannot convert
		#It's a hidden trigger because the tooltip is already super flooded and it is incredibly niche
		hidden_trigger = {
			owner = {
				OR = {
					has_harmonized_with = buddhism
					has_harmonized_with = vajrayana
					has_harmonized_with = mahayana
					has_harmonized_with = tibetan_buddhism
				}
				has_harmonized_with = ROOT
			}
		}
		province_is_or_accepts_religion_group = {
			religion_group = dharmic
		}
	}
}