﻿
##############################
#### Set Faith Unreformed ####
##############################

a_sfu_set_faith_unreformed_decision = {
	picture = {
		reference = "gfx/interface/illustrations/decisions/decision_major_religion.dds"
	}
	decision_group_type = major

	# Never shown, so it doesn't matter what we write here
	title = REFORM_FAITH_WINDOW_TITLE
	desc = CREATE_REFORM_FAITH_TOOLTIP
	confirm_text = REFORM_FAITH_WINDOW_TITLE
	selection_tooltip = CREATE_REFORM_FAITH_TOOLTIP

	is_shown = {
        is_ai = no
        faith = {
            NOT = { has_doctrine_parameter = unreformed }
        }
		OR = {
			is_independent_ruler = yes
			AND = {
				is_independent_ruler = no
				NOT = {
					any_liege_or_above = {
						faith = root.faith
					}
				}
			}
		}
	}

	cooldown = { years = 10 }

	effect = {
        faith = {
			add_doctrine = unreformed_faith_doctrine
            change_fervor = {
                value = medium_fervor_value
            }
        }
	}
}
