# Default Logic behaviour that the AI will fallback on if they are in a civil war
# Should focus on getting the nation united again no matter their ideology
# Written by Henrik "Groogy" Hansson

ai_null_peace = {
	# ROOT = Taker, FROM = Giver
	enable = {
		OR = {
			any_country = {
				is_in_peace_conference = yes
				is_ai = no
				#has_capitulated = no
				#is_puppet = no
				OR = {
					is_in_faction_with = ROOT
					has_war_together_with = ROOT				
				}
			}
			any_enemy_country = {
				is_in_peace_conference = yes
				any_enemy_country = {
					is_in_peace_conference = yes
					is_ai = no
				}
			}
		}
	}

	annex_randomness = 0
	liberate_randomness = 0
	puppet_randomness = 0
	take_states_randomness = 0
	force_government_randomness = 0
	
	# ROOT = Taker, FROM = Giver
	annex = {
		factor = 0
	}

	# ROOT = Taker, FROM = Liberated
	liberate = {
		factor = 0
	}

	# ROOT = Taker, FROM = Giver
	puppet = {
		factor = 0
	}

	# ROOT = Taker, FROM = State
	take_states = {
		factor = 0
	}

	# ROOT = Taker, FROM = Giver
	force_government = {
		factor = 0
	}
}
