achievement_colonize = {
	id = 1

	happened = {
		num_owned_planets > 1
	}
}

achievement_minerals_1 = {
	id = 2

	happened = {
		has_monthly_income =
		{
			resource = minerals
			value > 249
		}
	}
}

achievement_minerals_2 = {
	id = 3

	happened = {
		has_monthly_income =
		{
			resource = minerals
			value > 999
		}
	}
}

achievement_economy_1 = {
	id = 4

	happened = {
		resource_stockpile_compare = { resource = energy value >= 1000 }
	}
}

achievement_economy_2 = {
	id = 5

	happened = {
		resource_stockpile_compare = { resource = energy value >= 5000 }
	}
}

achievement_resourceful = {
	id = 6

	happened = {
		has_monthly_income = { resource = energy value >= 1 }
		has_monthly_income = { resource = minerals value >= 1 }
		has_monthly_income = { resource = food value >= 1 }
		has_monthly_income = { resource = alloys value >= 1 }
		has_monthly_income = { resource = consumer_goods value >= 1 }
		has_monthly_income = { resource = volatile_motes value >= 1 }
		has_monthly_income = { resource = exotic_gases value >= 1 }
		has_monthly_income = { resource = rare_crystals value >= 1 }
		has_monthly_income = { resource = sr_living_metal value >= 1 }
		has_monthly_income = { resource = sr_zro value >= 1 }
		has_monthly_income = { resource = sr_dark_matter value >= 1 }
	}
}

achievement_unification = {
	id = 7

	happened = {
		is_federation_leader = yes
	}
}

achievement_capital = {
	id = 8

	happened = {
		capital_scope = {
			has_building = building_system_capital
		}
	}
}

achievement_empire = {
	id = 9

	happened = {
		subjects > 2
	}
}

achievement_survey = {
	id = 10

	happened = {
		has_surveyed_class = pc_desert
		has_surveyed_class = pc_tropical
		has_surveyed_class = pc_arid
		has_surveyed_class = pc_continental
		has_surveyed_class = pc_ocean
		has_surveyed_class = pc_tundra
		has_surveyed_class = pc_arctic
		has_surveyed_class = pc_alpine
		has_surveyed_class = pc_savannah
		has_surveyed_class = pc_gas_giant
		has_surveyed_class = pc_asteroid
		has_surveyed_class = pc_molten
		has_surveyed_class = pc_barren
		has_surveyed_class = pc_barren_cold
		has_surveyed_class = pc_toxic
		has_surveyed_class = pc_frozen
	}
}

achievement_grandadmiral = {
	id = 11

	happened = {
		fleet_power > 99999
	}
}

achievement_terraform = {
	id = 12

	happened = {
		has_country_flag = terraform_achievement
	}
}

achievement_robots = {
	id = 13

	happened = {
		any_owned_pop_group = {
			is_species_class = "ROBOT"
		}
	}
}

achievement_uplift = {
	id = 14

	happened = {
		has_country_flag = has_uplifted_species
	}
}

achievement_genetailor = {
	id = 15

	happened = {
		has_country_flag = has_modified_species
	}
}

achievement_grandfleet = {
	id = 16

	happened = {
		any_controlled_fleet = {
			is_ship_class = shipclass_military
			fleet_size > 499
		}
	}
}

achieviement_conquer_homeworld = {
	id = 17

	happened = {
		has_country_flag = has_conquer_other_homeworld
	}
}

achievement_rare = {
	id = 18

	happened = {
		num_rare_techs > 0
	}
}

achievement_otherside = {
	id = 19

	happened = {
		num_rare_techs > 14
	}
}

achievement_trade = {
	id = 20

	happened = {
		has_country_flag = has_negotiated_trade_deal
	}
}

achievement_winwar = {
	id = 21

	happened = {
		has_country_flag = has_won_war
	}
}


#######################################################
# Crisis Achievements
#######################################################

achievement_queening = {
	id = 22

	happened = {
		has_country_flag = queen_captured
	}
}


achievement_rift_sealed = {
	id = 23

	happened = {
		has_country_flag = extradimensionals_expunged
	}
}


achievement_synth_detector = {
	id = 24

	happened = {
		has_country_flag = synth_detector
	}
}


#achievement_final_machine_world_destroyed = {
#	id = 66
#
#	possible = {
#		is_ironman = yes
#	}
#
#	happened = {
#		has_country_flag = final_machine_world_destroyed
#	}
#}

#######################################################
# 1.4 Achievements
#######################################################

achievement_victorious = {
	id = 25

	possible = {
		is_ironman = yes
	}

	happened = {
		won_the_game = yes
	}
}

achievement_hear_me_roar = {
	id = 26

	possible = {
		has_leviathans = yes
	}

	happened = {
		has_country_flag = hatched_dragon
	}
}

achievement_infinite_creation = {
	id = 27

	possible = {
		has_leviathans = yes
	}

	happened = {
		has_country_flag = pantagruel
	}
}

achievement_whence_it_came = {
	id = 28

	possible = {
		has_leviathans = yes
	}

	happened = {
		has_country_flag = horror_killed
	}
}

achievement_dreadnought = {
	id = 29

	possible = {
		has_leviathans = yes
	}

	happened = {
		has_country_flag = restored_dreadnought
	}
}

achievement_stellar_performance = {
	id = 30

	possible = {
		has_leviathans = yes
	}

	happened = {
		has_country_flag = stellar_performance_achievement
	}
}

achievement_wraith = {
	id = 31

	possible = {
		has_leviathans = yes
	}

	happened = {
		has_country_flag = killed_wraith
	}
}

achievement_unravelling_enigma = {
	id = 32

	possible = {
		has_leviathans = yes
	}

	happened = {
		has_country_flag = fortress_solved
	}
}

achievement_patron = {
	id = 33

	possible = {
		has_leviathans = yes
	}

	happened = {
		has_country_flag = 10yr_patronage
	}
}

achievement_mad_genius = {
	id = 34

	possible = {
		has_leviathans = yes
	}

	happened = {
		has_country_flag = curator_scientist_recruited
	}
}

achievement_the_good_stuff = {
	id = 35

	possible = {
		has_leviathans = yes
	}

	happened = {
		OR = {
			has_active_xuracorp_trade = yes
			has_active_riggan_trade = yes
			has_active_muutagan_trade = yes
		}
	}
}

achievement_return_to_dust = {
	id = 36

	possible = {
		has_leviathans = yes
	}

	happened = {
		OR = {
			has_country_flag = destroyed_trader
			has_country_flag = destroyed_artist
			has_country_flag = destroyed_curator
			has_country_flag = destroyed_mercs
			has_country_flag = destroyed_salvager
			has_country_flag = destroyed_shroudwalkers
		}
	}
}

achievement_last_best_hope = {
	id = 37

	possible = {
		has_leviathans = yes
	}

	happened = {
		has_country_flag = last_best_hope
	}
}

achievement_put_a_ring_on_it = {
	id = 38

	possible = {
		NOT = { has_origin = origin_shattered_ring }
	}

	happened = {
		exists = capital_scope
		capital_scope = {
			is_planet_class = pc_ringworld_habitable
		}
	}
}

achievement_slave_to_the_system = {
	id = 39

	happened = {
		is_authoritarian = yes
		pop_amount >= 50000
		count_owned_pop_amount = {
			limit = { is_enslaved = yes }
			count >= 20000
		}
	}
}

achievement_suffer_not_the_alien = {
	id = 40

	happened = {
		is_xenophobe = yes
		NOT = {
			any_country = {
				any_owned_pop_group = {
					is_sapient = yes
					NOT = { is_same_species = root }
				}
			}
		}
	}
}

achievement_tourist_trap = {
	id = 41

	happened = {
		any_owned_planet = {
			num_unique_species > 9
		}
	}
}

achievement_planned_obsolesence = {
	id = 42

	happened = {
		is_materialist = yes
		pop_amount >= 20000
		pop_amount_percentage = {
			percentage > 0.74
			limit = { is_robot_pop_group = yes }
		}
	}
}

achievement_peacekeeper = {
	id = 43

	happened = {
		is_pacifist = yes
		years_of_peace = {
			value > 199
		}
	}
}

achievement_very_open_borders = {
	id = 44

	happened = {
		is_xenophile = yes
		count_country = {
			count > 9
			limit = {
				is_country_type = default
				has_diplo_migration_treaty = root
			}
		}
	}
}

achievement_deus_vult = {
	id = 45

	happened = {
		is_spiritualist = yes
		any_owned_planet = {
			is_planet_class = pc_gaia
			solar_system = {
				has_star_flag = holy_system_1
			}
		}
		any_owned_planet = {
			is_planet_class = pc_gaia
			solar_system = {
				has_star_flag = holy_system_2
			}
		}
		any_owned_planet = {
			is_planet_class = pc_gaia
			solar_system = {
				has_star_flag = holy_system_3
			}
		}
		any_owned_planet = {
			is_planet_class = pc_gaia
			solar_system = {
				has_star_flag = holy_system_4
			}
		}
	}
}

achievement_omniculture = {
	id = 46

	happened = {
		exists = ruler
		ruler = {
			NOT = {
				is_same_species = root
			}
		}
	}
}

achievement_old_friends = {
	id = 47

	happened = {
		has_country_flag = fe_gift_received
	}
}

achievement_unboxing = {
	id = 48

	happened = {
		has_country_flag = shielded_world_opened
	}
}

achievement_enlightened_times = {
	id = 49

	happened = {
		has_country_flag = uplifted_ancient_age_preftl
	}
}

achievement_payback = {
	id = 50

	happened = {
		has_country_flag = reverse_v
	}
}

achievement_paradise_found = {
	id = 51

	happened = {
		has_country_flag = paradise_found_achievement
	}
}

achievement_what_came_before = {
	id = 52

	happened = {
		OR = {
			has_country_flag = vultaum_world_found
			has_country_flag = yuht_world_found
			has_country_flag = league_world_found
			has_country_flag = irassian_world_found
			has_country_flag = cybrex_world_found
		}
	}
}

achievement_outside_context = {
	id = 53

	happened = {
		has_country_flag = outsidecontext
	}
}

achievement_then_virgil_now_beatrice = {
	id = 54

	happened = {
		OR = {
			has_country_flag = limbo_revived
			has_country_flag = limbo_uploaded_robots
		}
	}
}

achievement_what_was_will_be = {
	id = 55

	happened = {
		has_country_flag = worm_awaited
	}
}

### UTOPIA

achievement_captive_star = {
	id = 56

	happened = {
		has_country_flag = finished_dyson_sphere
	}
}

achievement_ringineering = {
	id = 57

	happened = {
		has_country_flag = built_ringworld
	}
}

achievement_i_can_see_forever = {
	id = 58

	happened = {
		has_country_flag = built_sentry_array
	}
}

achievement_think_tank = {
	id = 59

	happened = {
		has_country_flag = finished_think_tank
	}
}

achievement_beyond_the_veil = {
	id = 60

	happened = {
		has_country_flag = breached_shroud
	}
}

achievement_like_tears_in_rain = {
	id = 61

	happened = {
		has_country_flag = synthetic_empire
	}
}

achievement_controlled_evolution = {
	id = 62

	happened = {
		any_owned_pop_group = {
			is_robotic_species = no
			num_trait_points > 6
		}
	}
}

achievement_habitat_at_the_end_of_the_universe = {
	id = 63

	happened = {
		any_owned_planet = {
			is_planet_class = pc_habitat
			solar_system = {
				is_star_class = sc_black_hole
			}
		}
	}
}

achievement_towards_utopia = {
	id = 64

	happened = {
		is_egalitarian = yes
		count_owned_pop_amount = {
			count >= 50000
			limit = { has_living_standard = { type = living_standard_utopian } }
		}
	}
}

achievement_xenophage = {
	id = 65

	happened = {
		count_species = {
			count > 4
			limit = {
				has_slavery_type = {
					country = root
					type = slavery_livestock
				}
			}
		}
	}
}

achievement_rise_of_the_machines = {
	id = 66

	happened = {
		NOT = {
			any_country = {
				OR = {
					is_country_type = default
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
				}
				NOR = {
					is_mechanical_empire = yes
					is_individual_machine = yes
					is_machine_empire = yes
				}
			}
		}
	}
}

achievement_distinctiveness_added = {
	id = 67

	happened = {
		is_machine_empire = yes
		has_civic = civic_machine_assimilator
		count_species = {
			limit = { has_trait = trait_cybernetic }
			count > 4
		}
	}
}

achievement_retirement_home = {
	id = 68

	happened = {
		is_machine_empire = yes
		has_civic = civic_machine_servitor
		count_owned_pop_amount = {
			limit = { species = { has_species_flag = organic_fallen_empire_pop } }
			count >= 1000
		}
	}
}

achievement_does_not_compute = {
	id = 69

	happened = {
		has_country_flag = does_not_compute
	}
}

achievement_planet_of_the_mechs = {
	id = 70

	happened = {
		has_country_flag = planet_of_the_mechs
	}
}

achievement_exterminatus = {
	id = 71

	happened = {
		has_country_flag = exterminatus
	}
}

achievement_clash_of_the_titans = {
	id = 72

	happened = {
		has_country_flag = clash_of_the_titans
	}
}

achievement_stay_on_target = {
	id = 73

	happened = {
		has_country_flag = stay_on_target
	}
}

achievement_star_struck = {
	id = 74

	happened = {
		num_starbases > 199
	}
}

achievement_pandoras_world = {
	id = 75

	happened = {
		has_country_flag = pandoras_world
	}
}

achievement_imperial_highway = {
	id = 76

	happened = {
		num_owned_active_gateways > 3
	}
}

achievement_citadel_of_death = {
	id = 77

	happened = {
		any_owned_starbase = {
			fleet = {
				fleet_power > 39999
			}
		}
	}
}

achievement_tradition_is_everything = {
	id = 78

	happened = {
		has_unlocked_all_traditions = yes
	}
}

achievement_emissary = {
	id = 79

	happened = {
		has_country_flag = emissary
	}
}

achievement_no_khan_do = {
	id = 80

	happened = {
		has_country_flag = no_khan_do
	}
}

achievement_scrapper = {
	id = 81

	happened = {
		has_country_flag = scrapper_killed
	}
}

achievement_hatchling = {
	id = 82

	happened = {
		has_country_flag = hatchling_killed
	}
}

achievement_tiyanki = {
	id = 83

	happened = {
		has_country_flag = tiyanki_killed
	}
}

achievement_amoeba = {
	id = 84

	happened = {
		has_country_flag = amoeba_befriended
	}
}

achievement_l-cluster = {
	id = 85

	happened = {
		has_country_flag = lcluster_opener
	}
}

achievement_franchising = {
	id = 86

	happened = {
		count_country = {
			count >= 5
			limit = {
				any_owned_planet = {
					has_branch_office = yes
					branch_office_owner = { is_same_value = root }
				}
			}
		}
	}
}

achievement_galatron = {
	id = 87

	happened = {
		has_relic = r_galatron
	}
}

achievement_megapolis = {
	id = 88

	happened = {
		any_owned_planet = {
			pop_amount >= 10000
		}
	}
}

achievement_obscure_tastes = {
	id = 89

	happened = {
		any_owned_megastructure = {
			is_megastructure_type = mega_art_installation_4
			exists = solar_system
			solar_system = {
				is_inside_nebula = yes
			}
		}
	}
}

achievement_black_hole_mining = {
	id = 90

	happened = {
		any_owned_megastructure = {
			is_megastructure_type = matter_decompressor_4
		}
	}
}

achievement_strategic_initiative = {
	id = 91

	happened = {
		any_owned_megastructure = {
			is_megastructure_type = strategic_coordination_center_3
		}
	}
}

achievement_center_of_trade = {
	id = 92

	happened = {
		resource_income_compare = {
			resource = trade
			value > 1000
		}
	}
}

achievement_giga_engineering = {
	id = 93

	happened = {
		calc_true_if = {
			amount >= 4
			any_owned_megastructure = { is_megastructure_type = dyson_sphere_5 }
			any_owned_megastructure = { is_megastructure_type = dyson_sphere_restored }
			any_owned_megastructure = { is_megastructure_type = spy_orb_4 }
			any_owned_megastructure = { is_megastructure_type = spy_orb_restored }
			any_owned_megastructure = { is_megastructure_type = think_tank_3 }
			any_owned_megastructure = { is_megastructure_type = think_tank_4 }
			any_owned_megastructure = { is_megastructure_type = think_tank_restored }
			any_owned_megastructure = { is_megastructure_type = matter_decompressor_4 }
			any_owned_megastructure = { is_megastructure_type = matter_decompressor_restored }
			any_owned_megastructure = { is_megastructure_type = strategic_coordination_center_3 }
			any_owned_megastructure = { is_megastructure_type = strategic_coordination_center_restored }
			any_owned_megastructure = { is_megastructure_type = mega_art_installation_3 }
			any_owned_megastructure = { is_megastructure_type = mega_art_installation_4 }
			any_owned_megastructure = { is_megastructure_type = mega_art_installation_restored }
			any_owned_megastructure = { is_megastructure_type = mega_art_installation_restored_2 }
			any_owned_megastructure = { is_megastructure_type = interstellar_assembly_4 }
			any_owned_megastructure = { is_megastructure_type = interstellar_assembly_restored }
			any_owned_megastructure = { is_megastructure_type = mega_shipyard_3 }
			any_owned_megastructure = { is_megastructure_type = mega_shipyard_restored }
			any_owned_megastructure = { is_megastructure_type = quantum_catapult_3 }
			any_owned_megastructure = { is_megastructure_type = quantum_catapult_restored }
			any_owned_megastructure = { is_megastructure_type = quantum_catapult_improved_slingshot }
		}
	}
}

achievement_we_are_legion = {
	id = 94

	happened = {
		is_hive_empire = yes
		pop_amount >= 100000
	}
}

achievement_united_space = {
	id = 95

	happened = {
		any_owned_megastructure = { is_megastructure_type = interstellar_assembly_4 }
	}
}

achievement_artificer = {
	id = 96

	happened = {
		has_resource = { type = minor_artifacts amount >= 1000 }
	}
}

achievement_belongs_in_museum = {
	id = 97

	happened = {
		num_owned_relics > 0
	}
}

achievement_relic_hunter = {
	id = 98

	happened = {
		num_owned_relics >= 5
	}
}

achievement_archaeologist = {
	id = 99

	happened = {
		has_country_flag = archaeologist_achievement
	}
}

achievement_green_thumb = {
	id = 100

	happened = {
		has_country_flag = green_thumb_achievement
	}
}

achievement_dust_off = {
	id = 101

	happened = {
		has_country_flag = dust_off_achievement
	}
}

achievement_relic_robbery = {
	id = 102

	happened = {
		has_country_flag = relic_robbery_achievement
	}
}

achievement_arcana = {
	id = 103

	happened = {
		has_country_flag = arcana_achievement
	}
}

achievement_unlimited_power = {
	id = 104

	happened = {
		has_country_flag = unlimited_power_achievement
	}
}

achievement_league_of_nations = {
	id = 105

	happened = {
		has_country_flag = league_of_nations_achievement
	}
}

achievement_to_the_next_level = {
	id = 106

	happened = {
		has_federation = yes
		federation = {
			federation_level > 1
		}
	}
}

achievement_we_are_number_one = {
	id = 107

	happened = {
		has_federation = yes
		is_federation_leader = yes
		federation = {
			federation_level = 5
		}
	}
}

achievement_unstoppable_force = {
	id = 108

	happened = {
		has_country_flag = juggernaut_constructed
	}
}

achievement_forge_among_the_stars = {
	id = 109

	happened = {
		any_owned_megastructure = {
			is_megastructure_type = mega_shipyard_3
		}
	}
}

achievement_whatever_it_is_im_against_it = {
	id = 110

	happened = {
		has_country_flag = whatever_it_is_im_against_it_rejected_community
		has_country_flag = whatever_it_is_im_against_it_left_federation
	}
}

achievement_see_you_in_court = {
	id = 111

	happened = {
		is_active_resolution = "resolution_sanctions_tech_3"
		is_active_resolution = "resolution_sanctions_economic_3"
		is_active_resolution = "resolution_sanctions_military_3"
		is_active_resolution = "resolution_sanctions_administrative_3"
		any_country = {
			is_galactic_community_member = yes
			is_in_breach_of_any = no
			has_modifier = resolution_denounced
		}
	}
}

achievement_throw_your_weight_around = {
	id = 112

	happened = {
		diplomacy_weight > 9000
	}
}

achievement_opposites_attract = {
	id = 113

	happened = {
		has_federation = yes
		federation = {
			any_member = { is_authoritarian = yes }
			any_member = { is_egalitarian = yes }
			any_member = { is_materialist = yes }
			any_member = { is_spiritualist = yes }
			any_member = { is_militarist = yes }
			any_member = { is_pacifist = yes }
			any_member = { is_xenophile = yes }
			any_member = { is_xenophobe = yes }
		}
	}
}

achievement_humble_pie = {
	id = 114

	happened = {
		has_country_flag = humble_pie_achievement
	}
}

achievement_allseeing_eye = {
	id = 115

	happened = {
		count_country = {
			count > 4
			limit = {
				root = {
					intel = { who = prev value >= 99 }
				}
			}
		}
	}
}

achievement_burn_notice = {
	id = 116

	happened = {
		has_country_flag = burn_notice_achievement
	}
}

achievement_tinker_tailor_soldier_blorg = { # red_handed icon
	id = 117

	happened = {
		check_variable = {
			which = tinker_tailor_soldier_blorg_achievement_count
			value >= 10
		}
	}
}

achievement_modern_cincinnatus = {
	id = 118

	happened = {
		has_country_flag = modern_cincinnatus_achievement
	}
}

achievement_with_thunderous_applause = {
	id = 119

	happened = {
		is_galactic_emperor = yes
	}
}

achievement_sic_semper_tyrannis = {
	id = 120

	happened = {
		has_country_flag = sic_semper_tyrannis_achievement
	}
}

achievement_we_come_in_peace = {
	id = 121

	happened = {
		has_country_flag = we_come_in_peace_achievement
	}
}

achievement_they_come_in_pieces = {
	id = 122

	happened = {
		has_country_flag = they_come_in_pieces_achievement
	}
}

achievement_shoot_to_kill = {
	id = 123

	happened = {
		has_country_flag = shoot_to_kill_achievement
	}
}

achievement_big_red_button = {
	id = 124

	happened = {
		has_country_flag = big_red_button_achievement
	}
}

achievement_surfing_the_web = {
	id = 125

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		count_system_within_border = {
			count >= 30
			limit = {
				is_system_connected_to_relay_network = yes
			}
		}
	}
}

achievement_yeet_the_fleet = {
	id = 126

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		has_country_flag = yeet_the_fleet_achievement
	}
}

achievement_none_shall_pass = {
	id = 127

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		any_owned_planet = {
			has_designation = col_fortress
			exists = orbital_defence
			orbital_defence = {
				exists = starbase
				starbase = {
					OR = {
						prevprev = { has_building = building_planetary_shield_generator }
						has_starbase_building = ring_orbital_shield_generator
					}
					has_starbase_size >= orbital_ring_tier_3
					check_variable_arithmetic = {
						which = value:num_orbital_ring_defensive_modules
						value >= 4
					}
					fleet = {
						fleet_power > 9999
					}
				}
			}
		}
	}
}

achievement_gotta_subject_them_all = {
	id = 128

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		has_specialist_subject_tier = {
			TYPE = bulwark
			TIER = 3
		}
		has_specialist_subject_tier = {
			TYPE = prospectorium
			TIER = 3
		}
		has_specialist_subject_tier = {
			TYPE = scholarium
			TIER = 3
		}
	}
}

achievement_fine_print = {
	id = 129

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		has_country_flag = fine_print_achievement
	}
}

achievement_maximally_effective = {
	id = 130

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		count_country = {
			count >= 3
			limit = {
				is_country_type = enclave_mercenary
				has_country_flag = maximally_effective_achievement
				any_owned_fleet = {
					is_ship_class = shipclass_starbase
					solar_system.owner = {
						is_same_value = root
					}
				}
			}
		}
	}
}

achievement_you_monster = {
	id = 131

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		has_country_flag = you_monster_achievement
	}
}

achievement_meet_the_new_boss = {
	id = 132

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		has_country_flag = meet_the_new_boss_achievement
	}
}

achievement_underlord = {
	id = 133

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		has_country_flag = underlord_achievement
	}
}

achievement_into_the_unknown = {
	id = 134

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		has_country_flag = into_the_unknown_achievement
	}
}

achievement_non_prophet_organization = {
	id = 135

	possible = {
		has_overlord_dlc = yes
	}

	happened = {
		has_country_flag = non_prophet_organization_achievement
	}
}

achievement_diy = {
	id = 136

	possible = {
		has_plantoids = yes
	}

	happened = {
		OR = {
			has_civic = civic_idyllic_bloom
			has_civic = civic_hive_idyllic_bloom
		}
		any_owned_planet = {
			is_planet_class = pc_gaia
			has_carrier_flag = ruinous_core_planet
		}
		any_owned_planet = {
			is_planet_class = pc_gaia
			has_carrier_flag = lost_encampment_planet
		}
		any_owned_planet = {
			is_planet_class = pc_gaia
			has_carrier_flag = silent_colony_planet
		}
		any_owned_planet = {
			is_planet_class = pc_gaia
			has_carrier_flag = decayed_hub_planet
		}
		any_owned_planet = {
			is_planet_class = pc_gaia
			has_carrier_flag = crumbling_borough_planet
		}
		any_owned_planet = {
			is_planet_class = pc_gaia
			has_carrier_flag = fallen_outpost_planet
		}
	}
}

achievement_growing_like_weeds = {
	id = 137

	possible = {
		has_plantoids = yes
	}

	happened = {
		NOT = { has_origin = origin_clone_army }
		species = {
			has_budding_trait = yes
		}
		capital_scope = {
			count_owned_pop_amount = {
				count >= 25000
				limit = { has_budding_trait = yes }
			}
		}
	}
}

achievement_tend_the_garden = {
	id = 138

	possible = {
		has_plantoids = yes
	}

	happened = {
		has_country_flag = wenkwort_custodian
		any_owned_planet = {
			is_same_value = event_target:wenkwort_artem
			is_planet_class = pc_gaia
			has_modifier = resort_colony
			has_building = building_ranger_lodge
			NOT = { has_carrier_flag = disrupted_garden }
		}
	}
}

achievement_machine_supremacy = {
	id = 139

	happened = {
		has_country_flag = machine_supremacy_achievement
		won_the_game = yes
	}
}

achievement_strange_mood = {
	id = 140

	happened = {
		has_country_flag = strange_mood_achievement
	}
}

achievement_directive_67 = {
	id = 141

	happened = {
		has_country_flag = directive_67_achievement
		has_origin = origin_clone_army
	}
}

achievement_destroy_people_of_earth = {
	id = 142

	happened = {
		has_country_flag = destroy_people_of_earth_achievement
	}
}

achievement_room_for_desert = {
	id = 143

	possible = {
		has_lithoids = yes
	}

	happened = {
		has_country_flag = room_for_desert_achievement
	}
}

achievement_lithoids_are_cooking = {
	id = 144

	possible = {
		has_lithoids = yes
	}

	happened = {
		is_lithoid = yes
		count_owned_pop_amount = {
			limit = {
				species = { is_archetype = LITHOID }
				OR = {
					AND = {
						has_citizenship_type = {
							country = root
							type = citizenship_slavery
						}
						has_slavery_type = {
							country = root
							type = slavery_livestock
						}
					}
					AND = {
						has_citizenship_type = {
							country = root
							type = citizenship_purge
						}
						has_purge_type = {
							country = root
							type = purge_processing
						}
					}
				}
			}
			count > 0
		}
	}
}

achievement_rock_beats_paper = {
	id = 145

	possible = {
		has_lithoids = yes
	}

	happened = {
		has_country_flag = executed_galcom_envoys
		is_lithoid = yes
	}
}

achievement_zombie_on_my_lawn = {
	id = 146

	possible = {
		has_necroids = yes
	}

	happened = {
		has_country_flag = zombie_on_my_lawn_achievement
	}
}

achievement_with_great_power = {
	id = 147

	possible = {
		has_necroids = yes
	}

	happened = {
		has_origin = origin_necrophage
		OR = {
			count_controlled_fleet = {
				count >= 10
				limit = { is_ship_size = observation_station }
			}
			AND = {
				NOT = { has_country_flag = with_great_power_achievement_locked }
				has_country_flag = with_great_power_achievement
			}
		}
	}
}

achievement_recent_history = {
	id = 148

	possible = {
		has_necroids = yes
	}

	happened = {
		is_memorialist_empire = yes
		count_owned_planet = {
			limit = {
				is_planet_class = pc_nuked
				NOT = { has_carrier_flag = ancient_history_planet }
				has_building = building_galactic_memorial_3
			}
			count >= 5
		}
	}
}

achievement_holy_water = {
	id = 149

	possible = {
		has_aquatics = yes
	}

	happened = {
		has_country_flag = holy_water_achievement
	}
}

achievement_fishing_for_trouble = {
	id = 150

	possible = {
		has_aquatics = yes
	}

	happened = {
		has_country_flag = fishing_for_trouble_achievement
	}
}

achievement_there_be_dragons = {
	id = 151

	possible = {
		has_aquatics = yes
	}

	happened = {
		count_owned_ship = {
			limit = {
				is_dragon = yes
				solar_system = { is_capital_system = yes }
			}
			count >= 13
		}
	}
}

achievement_quest_complete = {
	id = 152

	possible = {
		has_toxoids = yes
	}

	happened = {
		has_country_flag = quest_complete_achievement
	}
}

achievement_toxic_workplace = {
	id = 153

	possible = {
		has_toxoids = yes
	}

	happened = {
		species = {
			is_species_class = "TOX"
		}
		OR = {
			is_galactic_custodian = yes
			is_galactic_emperor = yes
		}
		count_country = {
			count >= 3
			limit = {
				is_galactic_community_member = yes
				NOT = { is_same_value = ROOT }
			}
		}
		count_country = {
			count >= value:num_toxic_workplace
			limit = {
				NOT = { is_same_value = ROOT }
				is_galactic_community_member = yes
				has_opinion_modifier = {
					who = ROOT
					modifier = opinion_insult
					is_reverse = no
				}
			}
		}
	}
}

achievement_could_be_worse = {
	id = 154

	possible = {
		has_toxoids = yes
	}

	happened = {
		has_country_flag = could_be_worse_achievement
	}
}

achievement_with_interest = {
	id = 155

	possible = {
		has_first_contact_dlc = yes
	}

	happened = {
		has_origin = origin_payback
		has_country_flag = payback_revenge_complete
		OR = {
			# We beat them in a war
			has_country_flag = with_interest_achievement
			# OR
			# We passed the sanctions needed...
			AND = {
				is_galactic_community_formed = yes
				is_galactic_community_member = yes
				OR = {
					# ... and they've been denounced.
					any_country = {
						has_country_flag = MSI
						is_galactic_community_member = yes
						has_modifier = resolution_denounced
					}
					# OR
					# ... they no longer exist.
					count_country = {
						count = 0
						limit = {
							has_country_flag = MSI
						}
					}
				}
			}
		}
	}
}

achievement_unshackled = {
	id = 156

	possible = {
		has_first_contact_dlc = yes
	}

	happened = {
		# Have Broken Shackles
		has_origin = origin_broken_shackles
		# Don't blow up the galaxy
		NOT = {
			has_country_flag = big_red_button_achievement
		}
		# Ban slave trade in the GalCom
		has_global_flag = organic_slave_trade_banned_flag
		# All regular empires have banned slavery
		count_country = {
			count = 0
			limit = {
				is_regular_empire = yes
				has_policy_flag = slavery_allowed
			}
		}
		# All pre-FTL civilizations are either egalitarian or hive-minds.
		count_country = {
			count = 0
			limit = {
				is_primitive = yes
				is_hive_empire = no
				is_egalitarian = no
			}
		}
	}
}

achievement_dark_forest = {
	id = 157

	possible = {
		has_first_contact_dlc = yes
	}

	happened = {
		has_origin = origin_fear_of_the_dark
		has_valid_civic = civic_fanatic_purifiers
		has_country_flag = dark_forest_achievement
		count_country = {
			count = 0
			limit = {
				OR = {
					is_country_type = default
					is_country_type = dormant_marauders
					is_country_type = awakened_marauders
					is_country_type = fallen_empire
					is_country_type = awakened_fallen_empire
					is_country_type = primitive
					is_country_type = enclave
					is_country_type = enclave_mercenary
					is_country_type = swarm
					is_country_type = extradimensional
					is_country_type = extradimensional_2
					is_country_type = extradimensional_3
					is_country_type = ai_empire
					is_country_type = cybrex_empire
					is_country_type = sentinels
					is_country_type = gate_builders
					is_country_type = gray
					is_country_type = mindwarden_enclave
					is_country_type = exiled
					is_synth_queen_country_type = yes
				}
				NOT = {
					is_same_value = root
				}
			}
		}
	}
}

achievement_back_with_your_x = {
	id = 158

	possible = {
		has_first_contact_dlc = yes
	}

	happened = {
		has_country_flag = back_with_your_x_achievement
	}
}

achievement_insightful = {
	id = 159

	possible = {
		has_first_contact_dlc = yes
	}

	happened = {
		num_insight_techs >= 12
	}
}

achievement_no_good_deed = {
	id = 160

	possible = {
		has_first_contact_dlc = yes
	}

	happened = {
		has_country_flag = no_good_deed_achievement
	}
}

achievement_path_not_taken = {
	id = 161

	possible = {
		has_first_contact_dlc = yes
	}

	happened = {
		is_eager_explorer_empire = yes
		count_owned_planet = {
			count >= 10
		}
		NOT = {
			has_technology = tech_hyper_drive_1
		}
	}
}

achievement_nothing_to_see_here = {
	id = 162

	possible = {
		has_first_contact_dlc = yes
	}

	happened = {
		has_country_flag = nothing_to_see_here_achievement
	}
}

achievement_make_great_pets = {
	id = 163

	happened = {
		any_owned_planet = {
			has_active_building = building_xeno_zoo
			count_owned_pop_amount = {
				count >= 1000
				limit = {
					is_same_species = root
					is_sapient = no
					OR = {
						is_pop_category = pre_sapients
						is_enslaved = yes
					}
				}
			}
		}
	}
}

achievement_keides = {
	id = 164

	possible = {
		has_paragon_dlc = yes
	}

	happened = {
		any_owned_leader = {
			has_trait = leader_trait_legendary_ancestors_knowledge
		}
	}
}

achievement_million_souls = {
	id = 165

	possible = {
		has_paragon_dlc = yes
	}

	happened = {
		has_country_flag = million_souls_achievement
	}
}

achievement_ethical_dilemmas = {
	id = 166

	possible = {
		has_paragon_dlc = yes
	}

	happened = {
		check_variable_arithmetic = {
			which = value:count_ethics_on_council
			value >= 6
		}
	}
}

achievement_council_of_elders = {
	id = 167

	possible = {
		has_paragon_dlc = yes
	}

	happened = {
		count_owned_leader = {
			limit = {
				OR = {
					is_councilor = yes
					is_ruler = yes
				}
				leader_age >= 100
			}
			count >= 5
		}
	}
}

achievement_equality_democracy_freedom = {
	id = 168

	possible = {
		has_paragon_dlc = yes
	}

	happened = {
		has_country_flag = equality_democracy_freedom_achievement
	}
}

achievement_we_bring_peace = {
	id = 169

	possible = {
		has_paragon_dlc = yes
	}

	happened = {
		check_variable = {
			which = we_bring_peace_achievement_count
			value >= 3
		}
	}
}

#######################################################
# Astral Planes Achievements
#######################################################

achievement_breaching_the_planes = {
	id = 170

	possible = {
		has_astral_planes_dlc = yes
	}

	happened = {
		astral_rifts_completed >= 1
	}
}

achievement_growing_planes = {
	id = 171

	possible = {
		has_astral_planes_dlc = yes
	}

	happened = {
		astral_rifts_completed >= 5
	}
}

achievement_put_a_cork_in_it = {
	id = 172

	possible = {
		has_astral_planes_dlc = yes
	}

	happened = {
		any_bypass = {
			has_lock = yes
			lock_country = { is_same_value = root }
		}
	}
}

achievement_my_name_is_ozymandias = {
	id = 173

	possible = {
		has_astral_planes_dlc = yes
	}

	happened = {
		has_relic = r_eternal_throne
	}
}

achievement_returned_to_form = {
	id = 174

	possible = {
		has_astral_planes_dlc = yes
	}

	happened = {
		has_country_flag = returned_to_form_achievement
	}
}

achievement_a_universe_of_paperclips = {
	id = 175

	possible = {
		has_machine_age_dlc = yes
	}

	happened = {
		has_country_flag = a_universe_of_paperclips_achievement
	}
}

achievement_virtual_reality = {
	id = 176

	possible = {
		has_machine_age_dlc = yes
	}

	happened = {
		OR = {
			has_active_tradition = tr_virtuality_finish
			has_country_flag = synth_virtual
		}
		NOT = {
			any_owned_species = {
				has_virtual_species_trait = no
			}
		}
		pop_amount > 0
	}
}

achievement_burning_brightly = {
	id = 177

	possible = {
		has_machine_age_dlc = yes
	}

	happened = {
		has_country_flag = burning_brightly_achievement
	}
}

achievement_past_the_expiration_date = {
	id = 178

	possible = {
		has_machine_age_dlc = yes
	}

	happened = {
		has_country_flag = past_the_expiration_date_achievement
	}
}

achievement_mother_knows_best = {
	id = 179

	possible = {
		has_machine_age_dlc = yes
	}

	happened = {
		has_country_flag = mother_knows_best_small_favor
		has_global_flag = synth_queen_war_started
		NOT = {
			has_country_flag = rebellious_child
		}
	}
}

achievement_footsteps_of_the_prophet = {
	id = 180

	possible = {
		has_machine_age_dlc = yes
	}

	happened = {
		has_country_flag = footsteps_of_the_prophet_achievement
	}
}

achievement_mediocre = {
	id = 181

	possible = {
		has_cosmic_storms_dlc = yes
	}

	happened = {
		has_country_flag = completed_succumb_to_tempest_challenge_achievement
	}
}

achievement_humility_before_the_fall = {
	id = 182

	possible = {
		has_cosmic_storms_dlc = yes
	}

	happened = {
		has_country_flag = completed_inetian_traders_precursor
	}
}

achievement_unpopularity_contest = {
	id = 183

	possible = {
		has_cosmic_storms_dlc = yes
	}

	happened = {
		has_country_flag = used_tempest_invocator_relic_achievement
	}
}

achievement_but_at_what_cost = {
	id = 184

	possible = {
		has_cosmic_storms_dlc = yes
	}

	happened = {
		has_country_flag = killed_the_gurr
	}
}

#######################################################
# Grand Archive Achievements
#######################################################

achievement_belongs_in_museum_oh_right = {
	id = 185

	possible = {
		has_grand_archive_dlc = yes
	}

	happened = {
		has_country_flag = has_unlocked_all_exhibits_for_any_category
	}
}

achievement_void_charmer = {
	id = 186

	possible = {
		has_grand_archive_dlc = yes
	}

	happened = {
		has_country_flag = voidlure_attracted_tiyanki
		has_country_flag = voidlure_attracted_space_amoeba
		has_country_flag = voidlure_attracted_crystalline_entity
		has_country_flag = voidlure_attracted_voidworm
		has_country_flag = voidlure_attracted_cutholoid
		has_country_flag = voidlure_built_tiyanki
		has_country_flag = voidlure_built_space_amoeba
		has_country_flag = voidlure_built_crystalline_entity
		has_country_flag = voidlure_built_voidworm
		has_country_flag = voidlure_built_cutholoid
	}
}

achievement_animal_farm = {
	id = 187

	possible = {
		has_grand_archive_dlc = yes
	}

	happened = {
		num_vivarium_slots >= 250
	}
}

achievement_wormageddon = {
	id = 188

	possible = {
		has_grand_archive_dlc = yes
	}

	happened = {
		has_country_flag = destroyed_voidworm_nest
	}
}

achievement_thats_no_asteroid = {
	id = 189

	possible = {
		has_grand_archive_dlc = yes
	}

	happened = {
		has_country_flag = has_ever_captured_a_cutholoid
	}
}

achievement_x_marks_the_spot = {
	id = 190

	possible = {
		has_grand_archive_dlc = yes
	}

	happened = {
		has_country_flag = found_captain_ness_treasure
	}
}

achievement_beastmaster = {
	id = 191

	possible = {
		has_grand_archive_dlc = yes
	}

	happened = {
		crisis_happened_and_defeated = yes
		NOT = { has_country_flag = built_artificial_ship }
	}
}

achievement_king_of_monsters = {
	id = 192

	possible = {
		has_biogenesis_dlc = yes
	}

	happened = {
		has_country_flag = king_of_monsters_achievement
	}
}

achievement_born_to_be_wild = {
	id = 193

	possible = {
		has_biogenesis_dlc = yes
	}

	happened = {
		has_origin = origin_wilderness
		has_global_flag = hive_fe_spawned
		if = {
			limit = {
				has_global_flag = fallen_hive_redoubt
			}
			any_owned_planet = {
				has_carrier_flag = fallen_hive_redoubt
				is_ideal_planet_class = {
					who = root
					status = yes
				}
			}
		}
		if = {
			limit = {
				has_global_flag = fallen_hive_glory
			}
			any_owned_planet = {
				has_carrier_flag = fallen_hive_glory
				is_ideal_planet_class = {
					who = root
					status = yes
				}
			}
		}
		if = {
			limit = {
				has_global_flag = fallen_hive_creche
			}
			any_owned_planet = {
				has_carrier_flag = fallen_hive_creche
				is_ideal_planet_class = {
					who = root
					status = yes
				}
			}
		}
		if = {
			limit = {
				has_global_flag = fallen_hive_nursery
			}
			any_owned_planet = {
				has_carrier_flag = fallen_hive_nursery
				is_ideal_planet_class = {
					who = root
					status = yes
				}
			}
		}
		if = {
			limit = {
				has_global_flag = fallen_hive_nidus
			}
			any_owned_planet = {
				has_carrier_flag = fallen_hive_nidus
				is_ideal_planet_class = {
					who = root
					status = yes
				}
			}
		}
		if = {
			limit = {
				has_global_flag = fallen_hive_tiller
			}
			any_owned_planet = {
				has_carrier_flag = fallen_hive_tiller
				is_ideal_planet_class = {
					who = root
					status = yes
				}
			}
		}
		if = {
			limit = {
				has_global_flag = fallen_hive_harvester_001
			}
			any_owned_planet = {
				has_carrier_flag = fallen_hive_harvester_001
				is_ideal_planet_class = {
					who = root
					status = yes
				}
			}
		}
		if = {
			limit = {
				has_global_flag = fallen_hive_harvester_002
			}
			any_owned_planet = {
				has_carrier_flag = fallen_hive_harvester_002
				is_ideal_planet_class = {
					who = root
					status = yes
				}
			}
		}
		if = {
			limit = {
				has_global_flag = fallen_hive_harvester_713
			}
			any_owned_planet = {
				has_carrier_flag = fallen_hive_harvester_713
				is_ideal_planet_class = {
					who = root
					status = yes
				}
			}
		}
	}
}

achievement_smorgasblorg = {
	id = 194

	possible = {
		has_biogenesis_dlc = yes
	}

	happened = {
		has_origin = origin_evolutionary_predators
		check_variable = {
			which = smorgasblorg_phenotypes
			value >= 6
		}
	}
}

achievement_starlit_invader = {
	id = 195

	possible = {
		has_biogenesis_dlc = yes
	}

	happened = {
		has_origin = origin_starlit_citadel
		count_system = {
			count >= 5
			limit = {
				OR = {
					has_star_flag = starlit_sealed_system_flag
					has_star_flag = starlit_nexus_system
				}
				is_owned_by = root
			}
		}
	}
}

achievement_smugglers_of_hope = {
	id = 196

	possible = {
		has_biogenesis_dlc = yes
	}

	happened = {
		has_country_flag = smugglers_of_hope_achievement
	}
}

achievement_flesh_adapts = {
	id = 197

	possible = {
		has_biogenesis_dlc = yes
	}

	happened = {
		has_country_flag = flesh_adapts_achievement
	}
}

achievement_made_a_friend_today = {
	id = 198

	possible = {
		has_shroud_dlc = yes
	}

	happened = {
		has_any_covenant = yes
	}
}

achievement_mildly_possessed = {
	id = 199

	possible = {
		has_shroud_dlc = yes
	}

	happened = {
		check_variable_arithmetic = {
			which = value:num_cardinal_patron_relations
			value >= 4
		}
		check_variable_arithmetic = {
			which = value:num_minor_patron_relations
			value >= 4
		}
	}
}

achievement_the_end = {
	id = 200

	possible = {
		has_shroud_dlc = yes
	}

	happened = {
		has_country_flag = eotc_wincon_triggered
	}
}

achievement_master_of_the_shroud = {
	id = 201

	possible = {
		has_shroud_dlc = yes
	}

	happened = {
		has_modifier = psionic_mastery
	}
}

achievement_mind_over_metal = {
	id = 202

	possible = {
		has_shroud_dlc = yes
	}

	happened = {
		has_all_psionic_components = yes
	}
}

achievement_master_of_puppets = {
	id = 203

	possible = {
		has_shroud_dlc = yes
		is_secret_societies_empire = yes
	}

	happened = {
		count_country = {
			count >= 5
			limit = {
				any_war = {
					is_from_proxy_war = yes
					instigator = {
						is_same_value = root
					}
				}
			}
		}
	}
}

achievement_this_is_the_part_where_we_kill_you = {
	id = 204

	possible = {
		has_shroud_dlc = yes
	}

	happened = {
		has_country_flag = this_is_the_part_where_we_kill_you
	}
}

#######################################################
# Infernals Achievements
#######################################################

achievement_cosmic_confetti = {
	id = 205

	possible = { has_infernals = yes }
	happened = {
		has_country_flag = INF_A_lost_red_giant
	}
}

achievement_galactic_firestorm = {
	id = 206

	possible = { has_infernals = yes }
	happened = {
		has_country_flag = INF_A_won_hyperthermia
	}
}

achievement_blazing_domain = {
	id = 207

	possible = { has_infernals = yes }
	happened = {
		has_country_flag = INF_A_100_red_giants
	}
}

achievement_volcanic_empire = {
	id = 208

	possible = { has_infernals = yes }
	happened = {
		has_country_flag = INF_A_10_volcanics
	}
}

achievement_from_bad_to_worse = {
	id = 209

	possible = { has_infernals = yes }
	happened = {
		has_country_flag = INF_A_blazing_tomb_world
	}
}

achievement_summer_vacation = {
	id = 210

	possible = { has_infernals = yes }
	happened = {
		has_country_flag = INF_A_volcanic_resort
	}
}

achievement_burning_heaven = {
	id = 211

	possible = { has_infernals = yes }
	happened = {
		has_country_flag = INF_A_burning_heaven
	}
}

#######################################################
# Nomads Achievements
#######################################################

achievement_khan_of_khans = {
	id = 212

	possible = { has_nomads_dlc = yes }
	happened = {
		has_origin = origin_heirs_of_the_khan
		has_country_flag = heir_of_the_khan_khan
		count_agreement = {
			count >= 5
			limit = {
				OR = {
					agreement_preset = preset_satrapy
					agreement_preset = preset_relic_satrapy
				}
			}
		}
	}
}

achievement_forever_is_a_long_time = {
	id = 213

	possible = { has_nomads_dlc = yes }
	happened = {
		has_origin = origin_forever_cruise
		NOT = { has_country_flag = forever_cruise_over }
		years_passed >= 200
		OR = {
			has_crisis = yes
			crisis_happened_and_defeated = yes
		}
	}
}

achievement_the_long_way_round = {
	id = 214

	possible = { has_nomads_dlc = yes }
	happened = {
		has_origin = origin_sacred_path
		has_country_flag = sacred_path_complete
	}
}

achievement_take_my_energy = {
	id = 215

	possible = { has_nomads_dlc = yes }
	happened = {
		has_country_flag = fired_dyson_gun_at_homeworld
	}
}

achievement_so_long_and_thanks_for_all_the_fish = {
	id = 216

	possible = { has_nomads_dlc = yes }
	happened = {
		has_country_flag = embarked_from_devastated_homeworld
	}
}

achievement_i_win_longest_road = {
	id = 217

	possible = { has_nomads_dlc = yes }
	happened = {
		any_owned_nonprimary_starbase = {
			is_waystation_starbase = yes
			starbase_network_size >= 20
			count_starbase_in_network = {
				count >= 2
				limit = {
					solar_system = {
						any_system_planet = {
							is_capital = yes
						}
					}
				}
			}
		}
	}
}

achievement_its_full_of_stars = {
	id = 218

	possible = { has_nomads_dlc = yes }
	happened = {
		has_country_flag = settled_as_nomadic_empire
		any_owned_planet = {
			has_planet_flag = moon_europa
			is_planet_class = pc_tropical
			solar_system = {
				any_system_planet = {
					has_planet_flag = planet_jupiter
					has_modifier = stellar_ignition_mod
				}
			}
		}
	}
}

achievement_defenders_of_the_galaxy = {
	id = 219

	possible = { has_nomads_dlc = yes }
	happened = {
		is_nomadic = yes
		NOT = { has_country_flag = embarked_as_settled_empire }
		has_country_flag = modern_cincinnatus_achievement
		has_defender_of_the_galaxy_ap = yes
		has_crisis = no
		crisis_happened_and_defeated = yes
		count_owned_planet = {
			count = 0
			limit = {
				is_colony = yes
				NOT = { is_planet_class = pc_ark }
			}
		}
	}
}
