on_game_start_country = {
	events = {
		f93_cozro.0
	}
}
on_yearly_pulse_country = {
	events = {
		f93_galactic_crossing.9
		f93_galactic_crossing.14
		f93_ralis_crisis_event.0400
	}
}
on_monthly_pulse = {
	events = {
		f93_galactic_crossing.15
	}
}
on_monthly_pulse_country = {
	events = {
		f93_galactic_crossing.901
		# f93_ralis_crisis_event.0605
		# f93_ralis_crisis_event.1300
		f93_ralis_diffculty.2
		f93_ralis_diffculty.3
		f93_ralis_diffculty.4
		f93_oe_event.6
		f93_oe_event.7
		planet_resource.2
		f93_cozro.5
	}
}

# A Megastructure has been built
# Root = Country
# From = Megastructure
# FromFrom = System
# FromFromFrom = Fleet
on_megastructure_built = {
	events = {
	}
}
on_mid_game_pulse_country = {
	events = {
	}
}
on_mid_game_pulse = {
	events = {
		f93_shroud.5
	}
}


# Triggers event when each country first sends a ship into the system (once per country)
# Scope = Ship
# From = System
# FromFrom = Country
on_entering_system_first_time = {
	events = {
		f93_ralis_crisis_event.0701
		f93_oe_event.1
		f93_oe_event.2
		f93_oe_event.3
		f93_oe_event.17
	}
}

# Fired whenever a new owner is set for a planet, and the planet was aggressively conquered
# NOTE: fired in ADDITION to on_planet_transfer
# This = Planet scope
# From = Country scope (new owner)
# FromFrom = Former Owner
on_planet_conquer = {
	events = {
		f93_ralis_crisis_event.0800
		f93_ralis_crisis_event.0802
	}
}

# A planet has been colonized.
# Scope = Planet
on_colony_1_year_old = {
	events = {
		f93_oe_event.4
		f93_oe_event.4001
	}
}
on_colonized = {
	events = {
		f93_cozro.6
	}
}
# A planet has been colonized.
# Scope = Planet
on_colony_10_years_old = {
	events = {
	}
}


# From = system
# FromFrom = country (previous owner)
# This = country (new owner)
on_system_gained = {
	events = {
		# f93_ralis_crisis_event.0604
		# f93_ralis_crisis_event.0606
	}
}


# From = system
# FromFrom = country (new owner)
# This = country (previous owner)
on_system_lost = {
	events = {
		f93_ralis_crisis_event.0604
		# f93_ralis_crisis_event.0606
	}
}


# Called when a Starbase changes owner
# THIS = Ship (Starbase)
# FROM = Former Owner (Country)
on_starbase_transfer = {
	events = {
	}
}


# This = owner of fleet 1 (loser)
# From = owner of fleet 2 (winner)
# FromFrom = fleet 1
# FromFromFrom = fleet 2
# This fires whenever a fleet is finished with a combat through any means (emergency ftl, destroyed, disabled)
on_space_battle_lost = {
	events = {
		f93_oe_event.15
	}
}



# A fleet has entered a system | See also: on_fleet_auto_move_arrival
# Scope = Fleet
# From = System
on_entering_system_fleet = {
	events = {
		f93_ralis_crisis_event.0702
	}
}



# A country is created via create_country or create_rebels
# This = created country
# From = root of context where create_country/create_rebels happens
on_country_created = {
	events = {
		f93_galcro_copy_events.1
		f93_galcro_copy_events.2
	}
}

# This = starbase being disabled (not ship!)
# From = fleet that disabled the starbase
on_starbase_disabled = {
	events = {
		f93_ralis_crisis_event.0005
		f93_ralis_crisis_event.00052
	}
}

#An army has been killed in ground combat
# This = owner
# From = army
# FromFrom = opponent
# FromFromFrom = planet
on_army_killed_in_combat = {
	events = {
		f93_cozro.14
	}
}

#An army has ceased to exist for any other reason
# This = country
# From = army
on_army_killed_no_combat = {
	events = {
		f93_cozro.14
	}
}

# Fired when a Waystation is constructed
# this = galactic object/solar system
# from = waystation owner
# fromfrom = waystation starbase
on_waystation_built = {
	events = {
		# f93_waystation_saver.0
	}
}
