﻿#doctrine_theocracy = {
#	group = "main_group"
#	doctrine_theocracy_temporal = {
#		piety_cost = {
#			value = faith_doctrine_cost_mid
#			if = {
#				limit = { has_doctrine = doctrine_theocracy_temporal }
#				multiply = faith_unchanged_doctrine_cost_mult
#			}
#			else_if = {
#				limit = { has_doctrine = doctrine_theocracy_everpregtemporal }
#				multiply = faith_changed_doctrine_cost_mult_two_step
#			}			
#			else_if = {
#				limit = { has_doctrine = doctrine_theocracy_lay_clergy }
#				multiply = faith_changed_doctrine_cost_mult_two_step
#			}
#		}
#		
#		can_pick = {
#				text = incompatible_doctrine_theocracy_temporal_trigger
#				NOT = { flag:doctrine_temporal_head = { is_in_list = selected_doctrines } }
#			}
#		}
#
#		parameters = {
#			theocracy_temple_lease = yes
#		}
#	}
#	
#	doctrine_theocracy_everpregtemporal = {
#		piety_cost = {
#			value = faith_doctrine_cost_massive
#			if = {
#				limit = { has_doctrine = doctrine_theocracy_everpregtemporal }
#				multiply = faith_unchanged_doctrine_cost_mult
#			}
#			else_if = {
#				limit = { has_doctrine = doctrine_theocracy_temporal }
#				multiply = faith_changed_doctrine_cost_mult_four_step
#			}			
#			else_if = {
#				limit = { has_doctrine = doctrine_theocracy_lay_clergy }
#				multiply = faith_changed_doctrine_cost_mult_four_step
#			}
#		}
#		
#		parameters = {
#			#theocracy_temple_lease = yes
#			allowed_holding_type_castle_holding = yes
#			allowed_holding_type_city_holding = yes
#			allowed_holding_type_church_holding = yes			
#			lay_clergy = yes			
#		}
#	}	
#	
#	doctrine_theocracy_lay_clergy = {
#		piety_cost = {
#			value = faith_doctrine_cost_mid
#			if = {
#				limit = { has_doctrine = doctrine_theocracy_lay_clergy }
#				multiply = faith_unchanged_doctrine_cost_mult
#			}
#			else_if = {
#				limit = { has_doctrine = doctrine_theocracy_temporal }
#				multiply = faith_changed_doctrine_cost_mult_two_step
#			}
#		}
#
#		parameters = {
#			theocracy_temple_ownership = yes
#			lay_clergy = yes
#			allowed_holding_type_church_holding = yes
#		}
#	}
#}
