decisions = {
proclaim_judaizer = { 
  ai_check_interval = 6 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  is_high_prio = yes
  potential = {
	AND = {
		religion = judaizer
		any_demesne_province = { has_province_modifier = secret_judaizer_community }
	}
  }
  
  allow = {		
	religion = judaizer
  }
  
  effect = {
	any_demesne_province = {
		limit = {
			has_province_modifier = secret_judaizer_community
		}
		religion = judaizer
		remove_province_modifier = secret_judaizer_community
	}
  }
}

proclaim_mandean = { 
  ai_check_interval = 6 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  is_high_prio = yes
  potential = {
	AND = {
		religion = mandean
		any_demesne_province = { has_province_modifier = secret_mandean_community }
	}
  }
  
  allow = {		
	religion = mandean
  }
  
  effect = {
	any_demesne_province = {
		limit = {
			has_province_modifier = secret_mandean_community
		}
		religion = mandean
		remove_province_modifier = secret_mandean_community
	}
  }
}

proclaim_chaldean = { 
  ai_check_interval = 6 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  is_high_prio = yes
  potential = {
	AND = {
		religion = chaldean
		any_demesne_province = { has_province_modifier = secret_chaldean_community }
	}
  }
  
  allow = {		
	religion = chaldean
  }
  
  effect = {
	any_demesne_province = {
		limit = {
			has_province_modifier = secret_chaldean_community
		}
		religion = chaldean
		remove_province_modifier = secret_chaldean_community
	}
  }
}

proclaim_apollinarian = { 
  ai_check_interval = 6 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  is_high_prio = yes
  potential = {
	AND = {
		religion = apollinarian
		any_demesne_province = { has_province_modifier = secret_apollinarian_community }
	}
  }
  
  allow = {		
	religion = apollinarian
  }
  
  effect = {
	any_demesne_province = {
		limit = {
			has_province_modifier = secret_apollinarian_community
		}
		religion = apollinarian
		remove_province_modifier = secret_apollinarian_community
	}
  }
}

proclaim_yarsan = { 
  ai_check_interval = 6 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  is_high_prio = yes
  potential = {
	AND = {
		religion = yarsan
		any_demesne_province = { has_province_modifier = secret_yarsan_community }
	}
  }
  
  allow = {		
	religion = yarsan
  }
  
  effect = {
	any_demesne_province = {
		limit = {
			has_province_modifier = secret_yarsan_community
		}
		religion = yarsan
		remove_province_modifier = secret_yarsan_community
	}
  }
}

proclaim_adoptionist = { 
  ai_check_interval = 6 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  is_high_prio = yes
  potential = {
	AND = {
		religion = adoptionist
		any_demesne_province = { has_province_modifier = secret_adoptionist_community }
	}
  }
  
  allow = {		
	religion = adoptionist
  }
  
  effect = {
	any_demesne_province = {
		limit = {
			has_province_modifier = secret_adoptionist_community
		}
		religion = adoptionist
		remove_province_modifier = secret_adoptionist_community
	}
  }
}

proclaim_free_spirits = { 
  ai_check_interval = 6 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  is_high_prio = yes
  potential = {
	AND = {
		religion = free_spirits
		any_demesne_province = { has_province_modifier = secret_free_spirits_community }
	}
  }
  
  allow = {		
	religion = free_spirits
  }
  
  effect = {
	any_demesne_province = {
		limit = {
			has_province_modifier = secret_free_spirits_community
		}
		religion = free_spirits
		remove_province_modifier = secret_free_spirits_community
	}
  }
}

proclaim_barlaamite = { 
  ai_check_interval = 6 # Determines how seldom the AI checks whether they can and should do the decision, in months. By default 1 (every month).
  is_high_prio = yes
  potential = {
	AND = {
		religion = barlaamite
		any_demesne_province = { has_province_modifier = secret_barlaamite_community }
	}
  }
  
  allow = {		
	religion = barlaamite
  }
  
  effect = {
	any_demesne_province = {
		limit = {
			has_province_modifier = secret_barlaamite_community
		}
		religion = barlaamite
		remove_province_modifier = secret_barlaamite_community
	}
  }
}

}