#More News scripted trigger

# checks whether the country in scope has the same government as FROM (the country firing news event)
has_same_ideology_as_FROM = {
	OR = {
		AND = {
			has_government = totalist
			FROM = { has_government = totalist }
		}
		AND = {
			has_government = syndicalist
			FROM = { has_government = syndicalist }
		}
		AND = {
			has_government = radical_socialist
			FROM = { has_government = radical_socialist }
		}
		AND = {
			has_government = social_democrat
			FROM = { has_government = social_democrat }
		}
		AND = {
			has_government = social_liberal
			FROM = { has_government = social_liberal }
		}
		AND = {
			has_government = market_liberal
			FROM = { has_government = market_liberal }
		}
		AND = {
			has_government = social_conservative
			FROM = { has_government = social_conservative }
		}
		AND = {
			has_government = authoritarian_democrat
			FROM = { has_government = authoritarian_democrat }
		}
		AND = {
			has_government = paternal_autocrat
			FROM = { has_government = paternal_autocrat }
		}
		AND = {
			has_government = national_populist
			FROM = { has_government = national_populist }
		}
	}
}

has_same_ideology_type_as_FROM = {
	OR = {
		AND = {
			has_socialist_government = yes
			FROM = { has_socialist_government = yes }
		}
		AND = {
			has_elected_government = yes
			FROM = { has_elected_government = yes }
		}
		AND = {
			has_authoritarian_government = yes
			FROM = { has_authoritarian_government = yes }
		}
	}
}
