namespace = MRPC

# on_assassination_disc - discovered
character_event = {
	id = MRPC.163
	
	is_triggered_only = yes 
	hide_window = yes

	is_patrician = yes

	trigger = {
		# Doge assassinated Patrician councillor
		is_merchant_republic = no
		has_minor_title = title_patrician_councillor
		FROM = {
			is_merchant_republic = yes
		}
	}

	immediate = {
		FROM = {
			set_council_malcontent = yes

			any_vassal = {
				limit = {
					is_patrician = yes
					has_minor_title = title_patrician_councillor
					opinion = { who = ROOT value >= -50 }
				}
				opinion = {
					modifier = opinion_murdered_fellow_patrician_councillor
					who = FROM
					years = 10
				}
			}
		}
	}
}

# on_failed_assassination_disc - discovered
character_event = {
	id = MRPC.159
	
	is_triggered_only = yes 
	hide_window = yes

	is_patrician = yes

	trigger = {
		# Doge assassinated Patrician councillor
		is_merchant_republic = no
		has_minor_title = title_patrician_councillor
		FROM = {
			is_merchant_republic = yes
		}
	}

	immediate = {
		FROM = {
			set_council_malcontent = yes
		}
	}
}
