﻿theocracy_government_obligations = {
	obligation_levels = {
		default = {
			levies = {
				if = {
					limit = { NOT = { scope:liege.faith = scope:vassal.faith } }
					value = 0.1
				}
				else = {
					value = 0.15
					multiply = scope:liege.piety_level
				}
			}
			tax = {
				if = {
					limit = { NOT = { scope:liege.faith = scope:vassal.faith } }
					value = 0.1
				}
				else_if = {
					limit = { scope:liege.piety_level >= 1 }
					add = 0.05
					add = {
						value = 0.15
						multiply = scope:liege.piety_level
					}
				}
				#else = {
				#	value = 0
				#}
			}
			contribution_desc = {
				first_valid = {
					triggered_desc = {
						trigger = { NOT = { scope:liege.faith = scope:vassal.faith } }
						desc = "theocracy_government_vassal_contribution_wrong_faith"
					}
					desc = "theocracy_government_vassal_contribution_piety_level"
				}
			}
		}
	}
}
