imperial_jaclaimant = {
	name = imperial_jaclaimant
	war_name = IMPERIAL_JACLAIMANT_WAR
	sprite = 7
	truce_days = 1000
	is_permanent = yes
	can_ask_to_join_war = yes
	can_call_allies = yes
	can_call_vassals = yes
	attacker_ai_victory_worth = {factor = -1}
	attacker_ai_defeat_worth = {factor = 100}
	defender_ai_victory_worth = {factor = -1}
	defender_ai_defeat_worth = {factor = 100}
	attacker_rel_head_is_ally = yes
	can_use = {
		ROOT = {
			has_landed_title = e_gifter
			ai = no
		}
		FROM = {has_claim = e_gifter}
	}
	is_valid = {
		FROM = {is_alive = yes}
	}
	on_success = {
		FROM = {
			set_character_flag = dejacfaced_claimant
			remove_claim = e_gifter
		}
		ROOT = {
			participation_scaled_piety = 150
			participation_scaled_prestige = 150
		}
	}
	on_fail = {
		ROOT = {
			participation_scaled_piety = 50
			participation_scaled_prestige = 50
		}
		FROM = {
			participation_scaled_piety = 50
			participation_scaled_prestige = 50
		}
	}
	on_reverse_demand = {
		e_gifter = {gain_title = FROM}
		FROM = {
			participation_scaled_piety = 150
			participation_scaled_prestige = 150
		}
	}
}
