# Character scope
on_startup = {
	events = {
		steam.042 # Block "Beyond the Indus" achievement for dynasty if you start and meet the conditions for it
	}
}

# Character scope
on_birth = {
	events = {
		steam.007 # Full House
		steam.008 # Keeping it in the Family
	}
}

# Sent to employers of both spouses
# ROOT is employer
# FROM is employers "employee"
# new_character is the other spouse
on_marriage = {
	events = {
		steam.009 # Marriage Game
	}
}

# Character scope, isn't dead yet
on_death = {
	events = {
		steam.004 # Black Widow
		steam.006 # Turbulent Priest
		steam.023 # Until Death Do Us Part
		steam.032 # Eternity Denied
		steam.033 # Papal Mache
		steam.035 # Aptly Named
		steam.041 # Unwelcome Visitors
	}
}

SETTLE_ADVENTURER_INTERACTION_ACCEPT_EVENT = {
	events = {
		steam.026 # Just don't point that pointy thing at me!
	}
}

# Fires for a newly elected Doge
# ROOT is new doge
# FROM is the previous (dying or abdicating) doge
on_become_doge = {
	events = {
		steam.002 # Mr. Doge-Elect
	}
}

# Fires when a navy moves into a port
# Starts in unit scope
# FROM is the owner
on_entering_port = {
	events = {
		steam.001 # Viking Raider
	}
}

# Fires when a Pope is elected. SoA only!
# ROOT is new Pope
# FROM is the previous Religious Head
on_rel_head_chosen = {
	events = {
		steam.005 # The Black Bishop
	}
}

# ROOT is the creating character
# FROM is the title
on_create_title = {
	events = {
		steam.040 # Got Land
	}
}

# ROOT is the character
# FROM is the title
# FROMFROM is the old holder
on_new_holder = {
	events = {
		steam.003 # Empressive
		steam.010 # The British Raj
		steam.016 # Looking East and West
		steam.039 # Black Pope
	}
}

# ROOT is the character
# FROM is the title
# FROMFROM is the old holder
on_new_holder_inheritance = {
	events = {
		steam.003 # Empressive
		steam.010 # The British Raj
		steam.016 # Looking East and West
		steam.039 # Black Pope
	}
}

# ROOT is the character
# FROM is the title
# FROMFROM is the old holder
on_new_holder_usurpation = {
	events = {
		steam.003 # Empressive
		steam.010 # The British Raj
		steam.016 # Looking East and West
		steam.039 # Black Pope
	}
}

# Character converts religion, for whatever reason
# ROOT is the character after conversion
# FROM scope has the old religion
on_character_convert_religion = {
	events = {
		steam.010 # The British Raj
	}
}

# FROM is attacker
# ROOT is defender
on_war_started = {
	events = {
		steam.017 # Medieval Schlieffen
	}
}

# FROM is attacker
# ROOT is defender
on_war_ended_victory = {
	events = {
		steam.030 # Pay to win (Victory)
	}
}

# FROM is attacker
# ROOT is defender
on_war_ended_defeat = {
	events = {
		steam.031 # Pay to win (Reverse Demands)
	}
}

# FROM is divorcer
# ROOT is spouse
# new_character is religious head, if applicable
on_divorce = {
	events = {
		steam.018 # I'm sorry, Desiderata
	}
}

# ROOT is builder
# FROM is province
on_hospital_construction_completed = {
	events = {
		steam.034 # Hospitable
	}
}

# ROOT is character enforcing peace
on_enforce_peace_six_vassals = {
	events = {
		steam.028  # Peace in our time
	}
}

# ROOT is the title holder that had a law pass, and the token for the law
# FROM is the character who started the vote
# FROMFROM is the title itself
on_law_vote_passed = {
	events = {
		steam.027  # I am the law
	}
}

# ROOT is player who received income from assembled mercenary band
on_player_mercenary_income = {
	events = {
		steam.029 # Somebody paid to win
	}
}

# A character ranks up in their society, or becomes grandmaster
# ROOT is character
# FROM is society
on_character_society_rank_up = {
	events = {
		steam.036 # Dark Lord
		steam.037 # Birthright
		steam.038 # Jihad Sultan
	}
}