#my_casus_belli = {
#	potential = { ... }		# trigger to make some CBs invalid for certain types of countries; this = attacker (CB owner); default: { always = yes }
#	is_valid = { ... }		# trigger, evaluated daily to check if CB should be created or destroyed automatically, does not affect CBs granted via script;
#								# this = attacker (CB owner), from = defender (target country); default: { always = yes }
#	destroy_if = { ... }	# trigger, evaluated daily to destroy CBs that have been granted via script ahead of expiration date;
#								# this = attacker (CB owner), from = defender (target country); default: { always = no }
#	show_notification = no/yes	# optional (default = yes), flag to control whether this CB will generate a notification (to avoid duplicate
#								# notification when a claim CB is generated)
#}

cb_MT_relic_envy = {
	show_in_diplomacy = yes
	show_notification = yes
	potential = {
		is_country_type = default
		has_tradition = tr_mt_antiquity_3
		NOT = { is_in_federation_with = from }
	}
	is_valid = {
		from = {
			num_owned_relics > 0
		}
		has_total_war_cb = no
		NOR = { 
			is_overlord_to = from 
			from = { is_overlord_to = root }
		}
	}
	proxy_war_resources = {
		category = proxy_war
		cost = {
			influence = 300
		}
	}
	on_proxy_war_start = {
		pay_proxy_war_additional_resources = { VALUE = -50 }
	}
}