﻿add_namespace = peace

country_event = {
	id = peace.1
	title = peace.1.t
	desc = peace.1.desc
	
	is_triggered_only = yes
	
	option = {
		name = peace.1.a
		if = {
			limit = {
				is_in_faction = no
			}
			white_peace = FROM

			else = {
				white_peace = FROM
				every_country = {
					limit = {
						is_in_faction_with = ROOT
					}
					white_peace = FROM
				}
			}
		}
		ai_chance = {
			base = 0
		}
	}
}

country_event = {
	id = peace.2
	title = peace.2.t
	desc = peace.2.desc
	
	is_triggered_only = yes
	
	option = {
		name = peace.2.a
		white_peace = FROM
		FROM = {
			puppet = ROOT
		}
		ai_chance = {
			base = 0
		}
	}
	option = {
		name = peace.2.b
		add_stability = -0.05
	}
}