theocracy_governments = {

	wilderness_government = {
		preferred_holdings = { TEMPLE CITY CASTLE TRIBAL FORT HOSPITAL NOMAD }
		allowed_holdings = { TEMPLE CITY CASTLE TRIBAL FORT HOSPITAL NOMAD }
		free_revoke_on_tiers = { COUNT BARON }

		frame_suffix = "_theocracy"
		title_prefix = "temple_"
		
		potential = {
			NOT = { 
				has_landed_title = d_thanedd 
				has_landed_title = d_ban_ard_academy
				has_landed_title = d_nilfgaard_magic_academy
			}
			trait = wilderness_race
		}
		
		color = { 0 0 0 }
		
		allows_matrilineal_marriage = no
		allow_looting = no
		
		ignores_de_jure_laws = yes
		barons_need_dynasty = no
		
		can_create_kingdoms = no
		can_grant_kingdoms_and_empires_to_other_government = no
		can_be_granted_kingdoms_and_empires_by_other_government = no
		can_change_to_nomad_on_start = no
		
		can_build_holdings = no
		can_build_forts = no
		can_build_castle = no
		can_build_city = no
		can_build_temple = no
		can_build_tribal = no
		
		have_gender_laws = no
		
		capital_move_delay = 10000
		
		court_size_modifier = -100
	}

    magic_academy_government = {
		preferred_holdings = { TEMPLE }
		allowed_holdings = {
			TEMPLE
			HOSPITAL
		}
		accepts_liege_governments = {
			feudal_government
			republic_government
			merchant_republic_government
			theocratic_feudal_government
		}
		
        frame_suffix = "_theocracy"
        title_prefix = "temple_"
		
        potential = {
			OR = {
				has_landed_title = d_thanedd
				has_landed_title = d_ban_ard_academy
				has_landed_title = d_nilfgaard_magic_academy
			}
			holy_order = no
			is_patrician = no
			trait = sorcerer
		}
        
        color = { 246 214 255 }
		
        can_create_kingdoms = no
        have_gender_laws = no
        can_be_granted_kingdoms_and_empires_by_other_government = no
		can_inherit = no

 		can_build_holdings = no
		can_build_forts = no
		can_build_castle = no
		can_build_city = no
		can_build_temple = no
		can_build_tribal = no
        
        capital_move_delay = 10000
    }	
    magic_tower_government = {
		preferred_holdings = { TEMPLE }
		allowed_holdings = {
			TEMPLE
			HOSPITAL
		}
		accepts_liege_governments = {
			feudal_government
			republic_government
			merchant_republic_government
			theocratic_feudal_government
		}
		
        frame_suffix = "_theocracy"
        title_prefix = "temple_"
		
        potential = {
			OR = {
                has_landed_title = c_tor_corsydd
                has_landed_title = c_tor_irion
                has_landed_title = c_tor_cigfrain
                has_landed_title = c_tor_istredd
                has_landed_title = c_tor_tango
                has_landed_title = c_tor_maen
                has_landed_title = c_ty_yennefer
                has_landed_title = c_tor_siriol
                has_landed_title = c_tor_melyn
                has_landed_title = c_tor_byd
                has_landed_title = c_tor_lledrith
                has_landed_title = c_tor_zireael
                has_landed_title = c_tor_llew
                has_landed_title = c_tor_xarthisius
                has_landed_title = c_tor_gvalchca
                has_landed_title = c_tor_aenye
			}
			holy_order = no
			is_patrician = no
            trait = sorcerer
		}
        
        
        color = { 246 214 255 }
        
        can_create_kingdoms = no
        have_gender_laws = no
        can_be_granted_kingdoms_and_empires_by_other_government = no

 		can_build_holdings = no
		can_build_forts = no
		can_build_castle = no
		can_build_city = no
		can_build_temple = no
		can_build_tribal = no
        
        capital_move_delay = 600
    }	
}