﻿
### Brief: holy_order_government
# Holy order will always get this
#
# This is referenced in code
#

monastic_holy_order_government = {
	government_rules = {
		council = yes
		court_generate_spouses = no
		inherit_from_dynastic_government = no
		allow_accolades = yes
		landless_playable = yes
	}

	character_modifier = {
		monthly_learning_lifestyle_xp_gain_add = 25
		knight_limit = -100
		men_at_arms_cap = -100
		men_at_arms_limit = -100
	}

	court_generate_commanders = 0
	
	domicile_type = estate

	ai = {
		arrange_marriage = no
		use_goals = no
		use_scripted_guis = no
		perform_religious_reformation = no
		use_legends = no
	}

	valid_holdings = { church_holding }

	# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
	flags = {
		government_uses_crown_authority
		cannot_be_vassal_or_liege
		government_is_holy_order
		government_is_monastic_holy_order
	}
    main_administrative_tier = duchy
	min_appointment_tier = duchy
	mechanic_type = holy_order

	# prevent barons holding temple baronies from randomly getting holy order gov type
	can_get_government = {
		primary_title = {
			is_holy_order = yes
		}
	}

	color = hsv{ 0.00 0.00 0.66 }
	realm_mask_offset = { 0.0 -0.01 }
	realm_mask_scale = { 1 1 }
}

holy_order_government = {
	government_rules = {
		council = yes
		court_generate_spouses = no
		inherit_from_dynastic_government = no
		allow_accolades = yes
		landless_playable = yes
	}

	court_generate_commanders = 5
	
	domicile_type = estate

	ai = {
		arrange_marriage = no
		use_goals = no
		use_scripted_guis = no
		perform_religious_reformation = no
		use_legends = no
	}

	valid_holdings = { castle_holding city_holding temple_citadel_holding }

	# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
	flags = {
		government_uses_crown_authority
		government_is_holy_order
		government_is_military_holy_order
	}
    main_administrative_tier = duchy
	min_appointment_tier = duchy
	mechanic_type = holy_order
	is_mechanic_type_default = yes

	color = hsv{ 0.00 0.00 0.66 }
	realm_mask_offset = { 0.0 -0.01 }
	realm_mask_scale = { 1 1 }
}

mercenary_government = {
	government_rules = {
		court_generate_spouses = no
		council = yes
		inherit_from_dynastic_government = no
		allow_accolades = no
		landless_playable = yes
	}

	court_generate_commanders = 10

	ai = {
		arrange_marriage = no
		use_goals = no
		use_scripted_guis = no
		perform_religious_reformation = no
		use_legends = no
	}

	# Use flags instead of has_government for moddability if possible (i.e., wherever not visible to the player).
	flags = {
		government_uses_crown_authority
		cannot_be_vassal_or_liege
		government_is_mercenary
	}
    main_administrative_tier = duchy
	min_appointment_tier = duchy
	mechanic_type = mercenary
	is_mechanic_type_default = yes

	color = hsv{ 0.00 0.00 0.66 }
	realm_mask_offset = { 0.0 -0.01 }
	realm_mask_scale = { 1 1 }
}