on_actions = {
	# country 
	on_new_term_election = {
		#American Elections
		random_events = {
			100 = t52_us_election.1
			100 = t52_us_election.2
			100 = t52_us_election.3
		}
		#British Elections
		#French Elections
		#German Elections
		#Indian Elections
		#Generic Elections
	}

	# Ace pilots
	# country, FROM = ace
	on_ace_promoted = {
	}

	# country, FROM = ace, PREV = enemy ace 
	# This event fires twice, once for each ace.
	on_aces_killed_each_other = {
	}
	
	# country, FROM = our ace, 
	# PREV = enemy ace, has killed FROM
	on_ace_killed_by_ace = {
	}

	# country, FROM = our ace, 
	# PREV = enemy ace, killed by FROM
	on_ace_killed_other_ace = {
	}

	# country, FROM = ace
	on_ace_killed = {
		random_events = {
		}
	}

	# During justifying wargoals
	# triggered daily, so make sure there is a sink somewhere not firing events
	# country, FROM = target nation
	on_justifying_wargoal_pulse = {
		random_events = {
		}
	}

	on_wargoal_expire = {
	}

	#FROM is state #ROOT is broken as hell
	on_nuke_drop = {
	}

	on_border_war_lost = {
		effect = {
		}
	}
	
	on_leave_faction = {
		effect = {
			PREV = {
				add_opinion_modifier = {
					modifier = faction_traitor
					target = ROOT
					days = 365
				}
			
				add_opinion_modifier = {
					modifier = faction_traitor_trade
					target = ROOT
					days = 365
				}
			}
		}
	}

	#PREV is the one that joins the faction
	on_create_faction = {
		effect = {
		}
	}

	#PREV is country getting invited. #FROM in the add_to_faction effect because that's the scope you should use...
	on_offer_join_faction = {
		effect = {
		}
	}

	#PREV is faction leader on join faction requests.
	on_join_faction = {
		effect = {
		}
	}

	#PREV is war target
	on_declare_war = {
		effect = {
		}
	}
	
	# When a new faction is formed
	on_faction_formed = {
		effect = {
			news_event = { id = news.159 }
		}
	}
	
	# ROOT is capitulated country, FROM is winner
	on_capitulation = {
		effect = {
		}
	}

	on_government_change = {
		effect = {
		}
	}

	on_coup_succeeded = {
		effect = {
		}
	}

	#ROOT is winner #FROM gets annexed
	on_civil_war_end = {
		effect = {
		}
	}
}
