﻿je_texas_tex = {
	icon = "gfx/interface/icons/event_icons/event_military.dds"

	group = je_group_historical_content

	complete = {
		is_subject = no
		is_at_war = no
		exists = c:USA
		c:USA = {
			relations:root >= relations_threshold:cordial
		}
	}

	on_complete = {
		trigger_event = { id = texan_war_of_independence.1 }
	}
	
	weight = 100
	
	transferable = no

	invalid = {
		NOT = { exists = c:TEX }
	}
}

je_texas_usa = {
	icon = "gfx/interface/icons/event_icons/event_portrait.dds"

	group = je_group_historical_content

	complete = {
		exists = c:TEX
		c:TEX = {
			relations:root >= relations_threshold:cordial
			is_subject = no
			is_at_war = no
		}
	}

	on_complete = {
		custom_tooltip = texas_je_tt		
	}

	invalid = {
		OR = {
			NOT = { exists = c:TEX }
			c:TEX = { is_subject = yes }
		}
	}
	
	weight = 100
	
	transferable = no
}