########################
#                    
# Crusader Kings II  
# Steam Achievements 
#                    
########################

# "The Marriage Game" - Marry another character.
THE_MARRIAGE_GAME = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_get_married }
	}
	
	happened = {
		has_character_flag = achievement_get_married
	}
}

# "A Pope of My Own" - Set up an antipope.
A_POPE_OF_MY_OWN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = {
			any_vassal = {
				any_claim = {
					title = k_papal_state
				}
			}
		}
	}

	happened = {
		any_vassal = {
			any_claim = {
				title = k_papal_state
			}
		}
	}
}

# "All Three Popes" - Play a game where there are two simultaneous antipopes.
ALL_THREE_POPES = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}

	happened = {
		k_papal_state = {
			any_claimant = {
				count = 2
			}
		}
	}
}

# "Exalted Among Men" - Fulfill the Become Exalted ambition.
EXALTED_AMONG_MEN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_become_exalted }
	}
	
	happened = {
		has_character_flag = achievement_become_exalted
	}
}

# "Until Death Do Us Part" - Have your spouse assassinated.
DEATH_DO_US_PART = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_spouse_killer }
	}
	
	happened = {
		has_character_flag = achievement_spouse_killer
	}
}

# "Always Bet On Duke" - Work your way up from Count to Duke with a single character.
ALWAYS_BET_ON_DUKE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		primary_title = {
			tier = COUNT
		}
	}
	
	happened = {
		primary_title = {
			tier = DUKE
		}
	}
}

# "Full House" - Sire five children.
FULL_HOUSE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_full_house }
	}
	
	happened = {
		has_character_flag = achievement_full_house
	}
}

# "Crusader" - Fulfill the goal of a Crusade.
CRUSADER = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_crusader }
	}
	
	happened = {
		has_character_flag = achievement_crusader
	}
}

# "Paragon of Virtue" - Fulfill the Paragon of Virtue ambition.
PARAGON_OF_VIRTUE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_become_paragon_of_virtue }
	}
	
	happened = {
		has_character_flag = achievement_become_paragon_of_virtue
	}
}

# "United the Kingdoms" - Hold the kingdoms of England, Scotland, Wales and Ireland.
UNITED_THE_KINGDOMS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_landed_title = k_england
		has_landed_title = k_scotland
		has_landed_title = k_wales
		has_landed_title = k_ireland
	}
}

# "On English Neck a Norman Yoke" - Starting in the "Stamford Bridge" bookmark as William the Bastard, become the King of England.
A_NORMAN_YOKE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 1066.9.15
		character = 140
	}
	
	happened = {
		character = 140
		has_landed_title = k_england
	}
}

# "It's Good to be the King" - Work your way up from Count to King with a single character.
GOOD_TO_BE_KING = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		primary_title = {
			tier = COUNT
		}
	}
	
	happened = {
		primary_title = {
			tier = KING
			rebel = no
			temporary = no
		}
	}
}

# "It's Better to be the Emperor" - Work your way up from Count to Emperor with a single character.
BETTER_BE_EMPEROR = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		primary_title = {
			tier = COUNT
		}
	}
	
	happened = {
		primary_title = {
			tier = EMPEROR
			rebel = no
			temporary = no
		}
	}
}

# "Survivor" - Play a game all the way through from 1066 to 1453.
SURVIVOR = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 1066.9.15
	}
	
	happened = {
		date = 1452.12.30
	}
}

# "Hard Ruler" - Starting in the "Stamford Bridge" bookmark as Harald of Norway, become the King of England.
HARD_RULER = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 1066.9.15
		character = 102531
	}
	
	happened = {
		character = 102531
		has_landed_title = k_england
	}
}

# "Crusader King" - Starting in the "Stamford Bridge" bookmark, hold the Kingdom of Jerusalem.
CRUSADER_KING = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 1066.9.15
	}
	
	happened = {
		has_landed_title = k_jerusalem
	}
}

# "Prester John" - As a Catholic, have a border with Miaphysite Abyssinia.
PRESTER_JOHN = {
	possible = {
		is_ironman = yes
	}
	
	happened = {
		religion = catholic
		is_alternate_start = no
		any_realm_province = {
			any_neighbor_province = {
				owner = {
					top_liege = {
						has_landed_title = k_abyssinia
						religion = miaphysite
					}
				}
			}
		}
	}
}

# "Russkaya Pravda" - Create the Kingdom of Russia as a Slav.
RUSSKAYA_PRAVDA = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		culture = russian
		has_landed_title = e_russia
	}
}

# "The Outside Bet" - Starting in the "Stamford Bridge" bookmark as Svend II of Denmark, become the King of England.
THE_OUTSIDE_BET = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 1066.9.15
		character = 101515
	}
	
	happened = {
		character = 101515
		has_landed_title = k_england
	}
}

# "Protector of the Holy Places" - Have Rome, Jerusalem, Mecca and Medina within your Realm.
THE_HOLY_PLACES = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		any_realm_province = {
			province_id = 333	# Rome
		}
		any_realm_province = {
			province_id = 774	# Jerusalem
		}
		any_realm_province = {
			province_id = 719	# Mecca
		}
		any_realm_province = {
			province_id = 718	# Medina
		}
	}
}

# "Pentarch" - As an Orthodox Christian, hold Rome, Constantinople, Alexandria, Antioch and Jerusalem.
PENTARCH = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		religion = orthodox
		any_realm_province = {
			province_id = 333	# Rome
		}
		any_realm_province = {
			province_id = 496	# Constantinople
		}
		any_realm_province = {
			province_id = 802	# Alexandria
		}
		any_realm_province = {
			province_id = 764	# Antioch
		}
		any_realm_province = {
			province_id = 774	# Jerusalem
		}
	}
}

# "Legacy of Rome" - Restore the Roman Empire.
LEGACY_OF_ROME = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_legacy_of_rome }
	}
	
	happened = {
		has_character_flag = achievement_legacy_of_rome
	}
}

# "S.P.Q.R." - As the Roman Empire, reclaim the old imperial borders.
SPQR = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_spqr }
	}
	
	happened = {
		has_character_flag = achievement_spqr
	}
}

# "The One Who Brings Benefit" - As a Zoroastrian, become the prophesied Saoshyant.
BRINGS_BENEFIT = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_brings_benefit }
	}
	
	happened = {
		has_character_flag = achievement_brings_benefit
	}
}

# "Kingdom of David" - As a Jew, create the Kingdom of Israel.
KINGDOM_OF_DAVID = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_kingdom_of_david }
	}
	
	happened = {
		has_character_flag = achievement_kingdom_of_david
	}
}

# "New Ways for Old Gods" - Reform one of the Pagan religions.
NEW_WAYS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_new_ways }
	}
	
	happened = {
		has_character_flag = achievement_new_ways
	}
}

# "To Mecca!" - Go on a Hajj to Mecca.
TO_MECCA = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_to_mecca }
	}
	
	happened = {
		has_character_flag = achievement_to_mecca
	}
}

# "Pilgrim" - Go on a Christian Pilgrimage.
PILGRIM = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_pilgrim }
	}
	
	happened = {
		has_character_flag = achievement_pilgrim
	}
}

# "Mr. Doge-Elect" - As a Patrician, win an election and become Doge.
DOGE_ELECT = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_doge_elect }
	}
	
	happened = {
		has_character_flag = achievement_doge_elect
	}
}

# "Merchant Prince" - Amass more than 20,000 in wealth.
MERCHANT_PRINCE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { wealth = 20000 }
	}
	
	happened = {
		wealth = 20000
	}
}

# "Saint" - Amass more than 10,000 in piety.
SAINT = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { piety = 10000 }
	}
	
	happened = {
		piety = 10000
	}
}

# "Celebrity" - Amass more than 15,000 in prestige.
CELEBRITY = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { prestige = 15000 }
	}
	
	happened = {
		prestige = 15000
	}
}

# "Dream Home" - As a Patrician dynasty, build every upgrade for your Family Palace.
DREAM_HOME = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { 
			family_palace = {
				has_building = fp_mansion_4
				has_building = fp_barracks_3
				has_building = fp_stable_3
				has_building = fp_bowyer_3
				has_building = fp_shipyard_3
				has_building = fp_warehouse_3
				has_building = fp_garden_3
				has_building = fp_cellar_3
				has_building = fp_shrine_3
				has_building = fp_vault_3
			}
		}
	}
	
	happened = {
		family_palace = {
			has_building = fp_mansion_4
			has_building = fp_barracks_3
			has_building = fp_stable_3
			has_building = fp_bowyer_3
			has_building = fp_shipyard_3
			has_building = fp_warehouse_3
			has_building = fp_garden_3
			has_building = fp_cellar_3
			has_building = fp_shrine_3
			has_building = fp_vault_3
		}
	}
}

# "Trade Empire" - Your Republic maintains trade posts in 80 provinces.
TRADE_EMPIRE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { republic_total_num_of_trade_posts = 80 }
	}
	
	happened = {
		republic_total_num_of_trade_posts = 80
	}
}

# "Khan of Khans" - Conquer continental Western Europe as the Mongol Empire, starting in "The Mongols" bookmark.
KHAN_OF_KHANS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 1220.2.1
		character = 125501
	}
	
	happened = {
		has_landed_title = e_mongol_empire
		
		completely_controls = e_russia
		completely_controls = e_tartaria
		completely_controls = e_wendish_empire
		completely_controls = e_carpathia
		completely_controls = e_hre
		completely_controls = e_italy
		completely_controls = e_byzantium
		completely_controls = e_france
		completely_controls = e_spain
	}
}

# "Viking Raider" - As a Viking, return home with 1,000 worth of loot.
VIKING_RAIDER = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_viking_raider }
	}
	
	happened = {
		has_character_flag = achievement_viking_raider
	}
}

# "And Stay Out!" - Throw the Aztec invaders back into the sea.
AND_STAY_OUT = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_global_flag = aztecs_defeated }
	}
	
	happened = {
		has_global_flag = aztecs_defeated
	}
}

# "Persistent Survivor" - Play a game all the way through from 867 to 1453.
PERSISTENT_SURVIVOR = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 867.1.1
	}
	
	happened = {
		date = 1452.12.30
	}
}

# "Divine Blood" - Achieve a score of 100,000.
DIVINE_BLOOD = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { score = 100000 }
	}
	
	happened = {
		score = 100000
	}
}

# "Dragon Blood" - Achieve a score of 50,000.
DRAGON_BLOOD = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { score = 50000 }
	}
	
	happened = {
		score = 50000
	}
}

# "Royal Blood" - Achieve a score of 10,000.
ROYAL_BLOOD = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { score = 10000 }
	}
	
	happened = {
		score = 10000
	}
}

# "The Black Bishop" - Fund an immoral bishop and get him elected Pope.
BLACK_BISHOP = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_black_bishop }
	}
	
	happened = {
		has_character_flag = achievement_black_bishop
	}
}

# "The Caliphate Strikes Back" - Starting in the "Stamford Bridge" bookmark as the Abbasid Caliph, become independent and hold an empire title.
CALIPHATE_STRIKES_BACK = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 1066.9.15
		character = 3084
	}
	
	happened = {
		independent = yes
		primary_title = { tier = EMPEROR }
	}
}

# "Decadent Warrior" - As a Muslim, crush a Decadence revolt.
DECADENT_WARRIOR = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_decadent_warrior }
	}
	
	happened = {
		has_character_flag = achievement_decadent_warrior
	}
}

# "Keeping it in the Family" - Sire a child that has the Inbred trait.
IN_THE_FAMILY = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_in_the_family }
	}
	
	happened = {
		has_character_flag = achievement_in_the_family
	}
}

# "Turbulent Priest" - Assassinate a vassal bishop that likes the Pope better than you.
TURBULENT_PRIEST = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_turbulent_priest }
	}
	
	happened = {
		has_character_flag = achievement_turbulent_priest
	}
}

# "Dwarf Fortress" - Have seven courtiers with the Dwarf trait.
DWARF_FORTRESS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		any_courtier = {
			count = 7
			trait = dwarf
		}
	}
}

# "Holy Smoke" - Sacrifice another religion's head as a Norse or Aztec pagan.
HOLY_SMOKE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_holy_smoke }
	}
	
	happened = {
		has_character_flag = achievement_holy_smoke
	}
}

# "Empressive" - Play as three consecutive generations of empresses.
EMPRESSIVE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = {
			has_game_rule = {
				name = gender
				value = all
			}
		}
	}
	
	happened = {
		is_female = yes
		primary_title = { tier = EMPEROR }
		mother_even_if_dead = {
			primary_title = { tier = EMPEROR }
		}
		mother_even_if_dead = {
			mother_even_if_dead = {
				primary_title = { tier = EMPEROR }
			}
		}
	}
}

# "Black Widow" - As a woman, have three different husbands killed.
BLACK_WIDOW = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_black_widow }
	}
	
	happened = {
		has_character_flag = achievement_black_widow
	}
}

# "The British Raj" - Rule the Empire of Britannia as a Hindu, Buddhist or Jain character.
THE_BRITISH_RAJ = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_the_british_raj }
	}
	
	happened = {
		has_character_flag = achievement_the_british_raj
	}
}

# "Beyond the Indus" - As a ruler of non-Indian culture, own a King or Emperor title in India.
BEYOND_THE_INDUS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_beyond_the_indus }
	}
	
	happened = {
		has_character_flag = achievement_beyond_the_indus
	}
}

# "My very own subcontinent" - Become Samrat Chakravartin.
MY_VERY_OWN_SUBCONTINENT = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_my_very_own_subcontinent }
	}
	
	happened = {
		has_character_flag = achievement_my_very_own_subcontinent
	}
}

# "Kali Maaa" - Sacrifice a King or Emperor tier character to Kali.
KALI_MAAA = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_kali_maaa }
	}
	
	happened = {
		has_character_flag = achievement_kali_maaa
	}
}

# "I can see its stripes" - Kill a tiger by your own hand.
I_CAN_SEE_ITS_STRIPES = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_i_can_see_its_stripes }
	}
	
	happened = {
		has_character_flag = achievement_i_can_see_its_stripes
	}
}

# "Great Indian Sultanate" - Rule the Empire of Rajastan and convert all its provinces to Islam.
GREAT_INDIAN_SULTANATE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_great_indian_sultanate }
	}
	
	happened = {
		has_character_flag = achievement_great_indian_sultanate
	}
}

# "Saint Thomas' Dream" - Rule an Indian Kingdom or Empire as a Christian and convert all its provinces.
SAINT_THOMAS_DREAM = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_saint_thomas_dream }
	}
	
	happened = {
		has_character_flag = achievement_saint_thomas_dream
	}
}

# "What Schism?" - Own both Rome and Constantinople and convert them to your (Indian) religion.
WHAT_SCHISM = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_what_schism }
	}
	
	happened = {
		has_character_flag = achievement_what_schism
	}
}

# "Red Sea Resort" - Own Mecca and convert it to Hinduism, Buddhism or Jainism.
RED_SEA_RESORT = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_red_sea_resort }
	}
	
	happened = {
		has_character_flag = achievement_red_sea_resort
	}
}

# "Looking East and West" - Be Emperor of both Persia and Rajastan.
LOOKING_EAST_AND_WEST = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_looking_east_and_west }
	}
	
	happened = {
		has_character_flag = achievement_looking_east_and_west
	}
}

# "Holy and Roman" - Found the Holy Roman Empire in a game starting in 769.
HOLY_AND_ROMAN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 769.1.1
		NOT = { has_character_flag = achievement_holy_and_roman }
	}
	
	happened = {
		has_character_flag = achievement_holy_and_roman
	}
}

# "Empire of the Sun" - Rule as Emperor with the Reformed Zun Faith.
EMPIRE_OF_THE_SUN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		primary_title = { tier = EMPEROR }
		religion = zun_pagan_reformed
	}
}

# "I shed blood of Saxon men" - As a Christian non-Saxon, completely conquer Saxony in a game starting in 769.
SAXON_BLOOD = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 769.1.1
		religion_group = christian
		NOT = { culture = old_saxon }
	}
	
	happened = {
		completely_controls = c_luneburg
		completely_controls = c_braunschweig
		completely_controls = c_verden
		completely_controls = c_altmark
		completely_controls = c_magdeburg
		completely_controls = c_bremen
		completely_controls = c_celle
		completely_controls = c_osnabruck
		completely_controls = c_oldenburg
		completely_controls = c_minden
		completely_controls = c_munster
		completely_controls = c_gottingen
	}
}

# "Saxons everywhere, unite!" - As an Anglo-Saxon or Saxon ruler, be king of both Saxony and England.
SAXONS_UNITE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		OR = {
			culture = saxon
			culture = old_saxon
		}
	}
	
	happened = {
		has_landed_title = k_england
		has_landed_title = k_saxony
	}
}

# "The Frisian coast is long" - Be King of Frisia and hold the Atlantic coast from Lon to Jylland.
FRISIAN_COAST = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_landed_title = k_frisia
		completely_controls = c_french_leon
		completely_controls = c_tregor
		completely_controls = c_penthievre
		completely_controls = c_rennes
		completely_controls = c_avranches
		completely_controls = c_caen
		completely_controls = c_evreux
		completely_controls = c_arques
		completely_controls = c_eu
		completely_controls = c_ponthieu
		completely_controls = c_boulogne
		completely_controls = c_guines
		completely_controls = c_yperen
		completely_controls = c_brugge
		completely_controls = c_gent
		completely_controls = c_zeeland
		completely_controls = c_breda
		completely_controls = c_holland
		completely_controls = c_westfriesland
		completely_controls = c_sticht
		completely_controls = c_gelre
		completely_controls = c_overijssel
		completely_controls = c_frisia
		completely_controls = c_ostfriesland
		completely_controls = c_bremen
		completely_controls = c_dithmarschen
		completely_controls = c_slesvig
		completely_controls = c_hardsyssel
		completely_controls = c_jylland
	}
}

# "Little brother rules!" - Become Emperor of Francia as Carloman, brother of Charlemagne.
LITTLE_BROTHER = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		character = 144999
	}
	
	happened = {
		character = 144999
		has_landed_title = e_france
	}
}

# "Iron Crown" - Hold any Emperor or King title as a Lombard after 1300.
IRON_CROWN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		culture = lombard
		primary_title = { higher_tier_than = DUKE }
		year = 1300
	}
}

# "Viking Ummah" - Have a capital province with Norse culture and Muslim religion.
VIKING_UMMAH = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		capital_scope = {
			culture = norse
			religion_group = muslim
		}
	}
}

# "Medieval Schlieffen" - Be simultaneously at war with the Aztecs and the Mongols.
MEDIEVAL_SCHLIEFFEN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_medieval_schlieffen }
	}
	
	happened = {
		has_character_flag = achievement_medieval_schlieffen
	}
}

# "I'm sorry, Desiderata" - Divorce a Lombard Princess as a Christian.
DESIDERATA = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_desiderata }
	}
	
	happened = {
		has_character_flag = achievement_desiderata
	}
}

# "Seven Centuries" - Play a game all the way through from 769 to 1453.
SEVEN_CENTURIES = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		start_date == 769.1.1
	}
	
	happened = {
		date = 1452.12.30
	}
}

# "Not a Tribe" - Play as a Tribal Ruler and Reform to Feudalism.
NOT_A_TRIBE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_not_a_tribe }
	}
	
	happened = {
		has_character_flag = achievement_not_a_tribe
	}
}

# "Res Publica" - Play as a Tribal Ruler and Reform to Merchant Republic.
RES_PUBLICA = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_res_publica }
	}
	
	happened = {
		has_character_flag = achievement_res_publica
	}
}


# Great Hunter
GREAT_HUNTER = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_great_hunter }
	}
	
	happened = {
		has_character_flag = achievement_great_hunter
	}
}

# Casanova
CASANOVA = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_casanova }
	}
	
	happened = {
		has_character_flag = achievement_casanova
	}
}

# Mudslinger
MUDSLINGER = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_mudslinger }
	}
	
	happened = {
		has_character_flag = achievement_mudslinger
	}
}

# Family Bliss
FAMILY_BLISS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_family_bliss }
	}
	
	happened = {
		has_character_flag = achievement_family_bliss
	}
}


# We're In Business
WERE_IN_BUSINESS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_were_in_business }
	}
	
	happened = {
		has_character_flag = achievement_were_in_business
	}
}

# Bring it On
BRING_IT_ON = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_bring_it_on }
	}
	
	happened = {
		has_character_flag = achievement_bring_it_on
	}
}

# Wise Guy
WISE_GUY = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_wise_guy }
	}
	
	happened = {
		has_character_flag = achievement_wise_guy
	}
}

# Let's Play
LETS_PLAY = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_lets_play }
	}
	
	happened = {
		has_character_flag = achievement_lets_play
	}
}

# Stargazer
STARGAZER = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_stargazer }
	}
	
	happened = {
		has_character_flag = achievement_stargazer
	}
}

# By the Gods
BY_THE_GODS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_by_the_gods }
	}
	
	happened = {
		has_character_flag = achievement_by_the_gods
	}
}

# Steppe by steppe - As a steppe horde, conquer the whole steppe region.
STEPPE_BY_STEPPE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		government = nomadic_government
		completely_controls_region = world_steppe
	}
}

# They said: "Never start a land war in Asia" - Start in Western Europe and completely conquer the region of Mongolia.
ASIAN_LAND_WAR = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		primary_title = {
			region = world_europe_west
		}
	}
	
	happened = {
		completely_controls_region = world_steppe_east
	}
}

# Norse-East - As a Norse character, become King of Mongolia.
NORSE_EAST = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		culture = norse
		has_landed_title = k_mongolia
	}
}

# Pax Mongolica - Build 3 fully upgraded silk road trade posts.
PAX_MONGOLICA = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = { has_character_flag = achievement_pax_mongolica }
	}
	
	happened = {
		has_character_flag = achievement_pax_mongolica
	}
}

# Sword to Ploughshare - Settle a steppe mercenary with more than 20 martial in your lands.
SWORD_PLOUGHSHARE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_pointy_thing
	}
}

# Let's go out into the field - Defeat a sibling in a war using the rival casus belli.
LETS_GO_OUT_INTO_THE_FIELD = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_sibling_rival_war 
	}
}

# Nobody's business but the Turks - Conquer Constantinople as a Turkic steppe horde.
TURK_BUSINESS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		culture = turkish
		government = nomadic_government
		any_realm_province = {
			province_id = 496	# Constantinople
		}
	}
}

# One arrow alone can be easily broken but many arrows are indestructible - As a steppe horde, have a population of 150 000.
MANY_ARROWS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		government = nomadic_government
		population = 150000
	}
}

# Go west young mongol - As a steppe horde, have an independent tributary King or Emperor in the British Isles
GO_WEST_YOUNG_MONGOL = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		government = nomadic_government
		any_independent_ruler = {
			higher_tier_than = DUKE
			pays_tribute_to = ROOT
			primary_title = {
				region = world_europe_west_brittania
			}
		}
	}
}

# Who needs Vasco da Gama? Own all the silk route ports in india as a European merchant republic.
VASCO_DA_GAMA = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_no_vasco_da_gama
	}
}

# Run With the Wolf - Play as a character with Wolf's Blood.
RUN_WITH_THE_WOLF = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		NOT = {	has_character_modifier = wolf_blood }
		NOT = {	has_character_modifier = wolf_child }
	}

	happened = {
		OR = {
			has_character_modifier = wolf_blood
			has_character_modifier = wolf_child
		}
	}
}

# The Yes Men - Have all members of your council be Loyalists.
THE_YES_MEN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Conclave"
	}
	
	happened = {
		OR = {
			AND = {
				primary_title = { tier = Emperor }
				any_voter = {
					has_position = loyalist
					count = 7
				}
			}
			AND = {
				primary_title = { tier = King }
				any_voter = {
					has_position = loyalist
					count = 6
				}
			}
			AND = {
				NOR = { 
					primary_title = { tier = Emperor }
					primary_title = { tier = King }
				}
				any_voter = {
					has_position = loyalist
					count = 5
				}
			}
		}
	}
}
# You Owe Me - Call in a Favor.
YOU_OWE_ME = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Conclave"
	}
	
	happened = {
		any_favor_ower = { always = yes }
	}
}
# Shadow Prince - Sit on the council and have every other council member as well as the ruler owing you a favor.
SHADOW_PRINCE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Conclave"
	}
	
	happened = {
		independent = no
		is_voter = yes
		liege = {
			owes_favor_to = ROOT
			OR = {
				AND = {
					primary_title = { tier = Emperor }
					any_voter = {
						OR = {
							character = ROOT
							owes_favor_to = ROOT
						}
						count = 7
					}
				}
				AND = {
					primary_title = { tier = King }
					any_voter = {
						OR = {
							character = ROOT
							owes_favor_to = ROOT
						}
						count = 6
					}
				}
				AND = {
					NOR = { 
						primary_title = { tier = King }
						primary_title = { tier = Emperor }
					}
					any_voter = {
						OR = {
							character = ROOT
							owes_favor_to = ROOT
						}
						count = 5
					}
				}
			}
		}
	}
}
# Pay to Win - Win a war using Mercenaries.
PAY_TO_WIN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Conclave"
	}
	
	happened = {
		has_character_flag = achievement_pay_to_win
	}
}
# Someone Paid to Win - Create a mercenary band and have them bring in money for you.
SOMEONE_PAID_TO_WIN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Conclave"
	}
	
	happened = {
		has_character_flag = achievement_someone_paid_to_win
	}
}
# One is not Amused - As a ruler have a council that is not content.
ONE_IS_NOT_AMUSED = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Conclave"
	}
	
	happened = {
		is_council_content = no
	}
}
# Follow Me - Successfully intervene in a youth's development to force one of your own traits onto them.
FOLLOW_ME = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Conclave"
	}
	
	happened = {
		has_character_flag = achievement_follow_me
	}
}
# Prodigious Five - Have at least one child with each of the five level four education traits.
PRODIGIOUS_FIVE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Conclave"
	}
	
	happened = {
		any_child = {
			trait = grey_eminence
		}
		any_child = {
			trait = brilliant_strategist
		}
		any_child = {
			trait = midas_touched
		}
		any_child = {
			trait = elusive_shadow
		}
		any_child = {
			trait = mastermind_theologian
		}
	}
}
# I am the Law - As a vassal use a favor to change a law.
I_AM_THE_LAW = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Conclave"
	}
	
	happened = {
		has_character_flag = achievement_i_am_the_law
	}
}
# Peace in Our Time - Enforce peace for 6 or more vassals.
PEACE_IN_OUR_TIME = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Conclave"
	}
	
	happened = {
		has_character_flag = achievement_peace_in_our_time
	}
}
# Aptly Named - Die from the Black Death
APTLY_NAMED = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		has_global_flag = achievement_aptly_named
	}
}
# I Got Better - Survive from the Black Death
I_GOT_BETTER = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		has_character_flag = achievement_i_got_better
	}
}
# Scarrrrrred for Life - Become One-Eyed, One-Legged and One-Handed
SCARRRRRRED_FOR_LIFE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		trait = one_eyed
		trait = one_handed
		trait = one_legged
	}
}
# Typhoid Mary - Contract three symptoms
TYPHOID_MARY = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		num_of_symptoms = 3
	}
}
# There Can Be Only One - Become immortal
THERE_CAN_BE_ONLY_ONE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		immortal = yes
	}
}
# Eternity Denied - Kill a character with the Immortal trait
ETERNITY_DENIED = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		has_character_flag = achievement_eternity_denied
	}
}
# Not So Bad - Survive the End Times
NOT_SO_BAD = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		has_character_flag = achievement_not_so_bad
	}
}
# No Solicitors - Go into Seclusion
NO_SOLICITORS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		has_character_flag = achievement_no_solicitors
	}
}
# An Honest Mistake - From Seclusion, kick someone out who did not have the plague
AN_HONEST_MISTAKE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		has_character_flag = achievement_an_honest_mistake
	}
}
# Close Call - From Seclusion, kick someone out who had the plague
CLOSE_CALL = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		has_character_flag = achievement_close_call
	}
}
# Papal Mache - Have elephants trample the Pope/Caliph
PAPAL_MACHE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		has_character_flag = achievement_papal_mache
	}
}
# Hospitable - Build a Hospital
HOSPITABLE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_dlc = "Reapers"
	}
	
	happened = {
		has_character_flag = achievement_hospitable
	}
}
# Unwelcome Visitors. As an assassin, assassinate a Crusader King in the Holy land.
UNWELCOME_VISITORS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	happened = {
		has_character_flag = achievement_unwelcome_visitors
	}
}

# Dark Lord. Become Grandmaster of any devil-worshiper society.
DARK_LORD = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	happened = {
		has_character_flag = achievement_dark_lord
	}
}

# Birthright. As the Anti-christ/spawn of satan, become Grand master of the Satanists.
BIRTHRIGHT = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	happened = {
		has_character_flag = achievement_birthright
	}
}

# Jihad Sultan. As a Muslim King or higher, become Grandmaster of the Assassins.
JIHAD_SULTAN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	happened = {
		has_character_flag = achievement_jihad_sultan
	}
}

# Black Pope. Have a priest you corrupted (as a Satanist) become Pope
BLACK_POPE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	happened = {
		has_global_flag = achievement_black_pope
	}
}

# Smash the Patriarchy. As a female Messalian, Bogomilist, or Cathar Ruler, own all 5 of the baronies which make up the Orthodox Pentarchies (The Temples of Roma, Alexandria, Jerusalem, Antiocheia, and Hagiasophia.) and have a female temple holder control them. 
SMASH_PATRIARCHY = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	happened = {
		is_female = yes
		OR = {
			religion = cathar
			religion = messalian
			religion = bogomilist
		}
	
		b_alexandria = {
			holder_scope = {
				OR = {
					is_liege_or_above = ROOT
					character = ROOT
				}
				is_female = yes
			}
		}
		b_jerusalem = {
			holder_scope = {
				OR = {
					is_liege_or_above = ROOT
					character = ROOT
				}
				is_female = yes
			}
		}
		b_antiocheia = {
			holder_scope = {
				OR = {
					is_liege_or_above = ROOT
					character = ROOT
				}
				is_female = yes
			}
		}
		b_hagiasophia = {
			holder_scope = {
				OR = {
					is_liege_or_above = ROOT
					character = ROOT
				}
				is_female = yes
			}
		}
		b_roma = {
			holder_scope = {
				OR = {
					is_liege_or_above = ROOT
					character = ROOT
				}
				is_female = yes
			}
		}
	}
}

# The Good Old Days. Have the kingdom of Frisia as your primary title and have the duchies of Flanders and Brabant be dejure part of it.
GOOD_OLD_DAYS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	happened = {
		primary_title = { title = k_frisia }
		d_flanders = {
			dejure_liege_title = { title = k_frisia }
		}
		d_brabant = {
			dejure_liege_title = { title = k_frisia }
		}
	}
}

# Got Land. Start as the holder of Gotland and form the empire of Scandinavia.
GOT_LAND = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		has_landed_title = c_gotland
	}
	happened = {
		has_character_flag = achievement_got_land
	}
}

# Legacy of the Indo-Norse. Start as a Norse Character, hold a Kingdom in India as your primary title. Your capital must also be located in India and converted to Norse.
LEGACY_INDO_NORSE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		culture = norse
	}
	happened = {
		culture = norse
		primary_title = {
			tier = king
			region = world_india
		}
		capital_scope = {
			culture = norse
			region = world_india
		}
	}
}

# Off with their heads! Execute 10 or more prisoners in a single action.
OFF_WITH_THEIR_HEADS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	happened = {
		has_character_flag = achievement_off_with_their_heads # Set in code
	}
}

###############
# Jade Dragon #
###############

# HARD ACHIEVEMENTS

# Aladdin - Starting and staying as a Han Chinese character, be an independent King or Emperor and rule all of North Africa (the Maghreb region).
ALADDIN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		culture = han
	}
	
	happened = {
		culture = han
		completely_controls_region = world_africa_north
		higher_tier_than = DUKE
		independent = yes
	}
}

# Have your dynasty rule 10 independent Feudal/Iqta Kingdoms or Empires with at least 25 realm size each.
TEN_THRONES = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		higher_tier_than = DUKE
		independent = yes
		realm_size = 25
		is_feudal = yes
		any_dynasty_member = {
			count = 9
			higher_tier_than = DUKE
			independent = yes
			realm_size = 25
			is_feudal = yes
		}
	}
}

# Starting as Munis al-Muzaffar of Galilee in 867, become an Emperor and have at least 100 realm size.
A_SERVANT_NO_MORE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		character = 163134
	}
	
	happened = {
		character = 163134
		independent = yes
		real_tier = EMPEROR
		realm_size = 100
	}
}

# MEDIUM ACHIEVEMENTS

# Starting as the last remnant of the White Huns (the Count of Mohadavasaka in 769) rule as an independent King or Emperor and completely control the Kingdoms of Rajputana, Delhi, Punjab, Kashmir, Khiva, Afghanistan and Khotan.
WHITE_HUN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		character = 191920
	}
	
	happened = {
		higher_tier_than = DUKE
		independent = yes
		completely_controls = k_rajputana
		completely_controls = k_delhi
		completely_controls = k_kashmir
		completely_controls = k_khiva # Transoxiania
		completely_controls = k_khotan
		completely_controls = k_punjab
	}
}

# Starting as a Norse character, rule the Kingdom of England (or the Empire of Britannia) as an English cultured character of a Christian religion.
THE_CONQUEROR = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		culture = norse
	}
	
	happened = {
		culture = english
		religion_group = christian
		OR = {
			has_landed_title = k_england
			has_landed_title = e_britannia
		}
	}
}

# Starting as the Count of Sakya in 1066, rule as an independent Buddhist King or Emperor and control all Buddhist Holy Sites.
SAKYA_TRIZIN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		character = 247224
	}
	
	happened = {
		higher_tier_than = DUKE
		independent = yes
		religion = buddhist
		any_realm_province = {
			province_id = 1189 # Bamiyan
		}
		any_realm_province = {
			province_id = 1163 # Varanasi
		}
		any_realm_province = {
			province_id = 1276 # Gaya 
		}
		any_realm_province = {
			province_id = 1145 # Devagiri
		}
		any_realm_province = {
			province_id = 1474 # Lumbini
		}
	}
}

# EASY ACHIEVEMENTS

# Request an Imperial Marriage from China.
CHILD_OF_THE_DRAGON = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_imperial_marriage
	}
}

# Eat a character of the Bn religion.
BON_APPETIT = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_bon_appetit
	}
}

# Send a Eunuch to the Chinese Emperor.
SNIPPED_OFF_TO_CHINA = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_snipped_off_to_china
	}
}

# Send an invaluable artifact (Quality: 4 or 5) to the Emperor of China.
A_CURIOUS_TRINKET = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_a_curious_trinket
	}
}

#############
# Holy Fury #
#############

# HARD ACHIEVEMENTS

HEADHUNTER = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = got_duelist_bloodline
	}
}

DEFENDER_OF_THE_HOLY_SEPULCHRE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		character = 20142
	}
	
	happened = {
		has_character_flag = achievement_defender_of_the_holy_sepulchre
	}
}

VENETIAN_GUILE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_venetian_guile
	}
}

DEUS_VULT = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_deus_vult
	}
}

# MEDIUM ACHIEVEMENTS

HISTORY_IS_IN_MY_BLOOD = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		any_owned_bloodline = {
			count = 5
			has_bloodline_flag = historical_bloodline
		}
	}
}

I_DO_NOT_PLAY_CHESS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		any_kill_list_character = {
			count = 100
		}
	}
}

LEGLISE_CEST_MOI = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_leglise_cest_moi
	}
}

ZERO_TO_HERO = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		OR = {
			has_character_flag = achievement_zero_to_hero
			has_global_flag = achievement_zero_to_hero
		}
	}
}

HEATHENOUS_WAYS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		character = 100546
	}
	
	happened = {
		religion = norse_pagan_reformed
		has_landed_title = k_sweden
	}
}

BY_JUPITER = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_by_jupiter
	}
}

BLOODY_LINE = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_bloody_line
	}
}


PAGAN_FURY = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_pagan_fury
	}
}

UNDER_THE_POWER_OF_THE_ETERNAL_HEAVEN = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
		dynasty = 12269
	}
	
	happened = {
		religion = tengri_pagan_reformed
		has_landed_title = d_tengri_pagan_reformed
	}
}

FROM_SERVANT_TO_SAINT = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		any_owned_bloodline = {
			has_bloodline_flag = saintly_bloodline
			founder = {
				trait = i_used_to_be_a_player
			}
		}
	}
}

FAMILY_FIRST = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		OR = {
			any_consort = {
				is_parent_of = ROOT
			}
			any_spouse = {
				is_parent_of = ROOT
			}
		}
		OR = {
			any_consort = {
				sibling = ROOT
			}
			any_spouse = {
				sibling = ROOT
			}
		}
		OR = {
			any_consort = {
				is_child_of = ROOT
			}
			any_spouse = {
				is_child_of = ROOT
			}
		}
	}
}

BLESSED_REIGN_IN_AFRICA = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		higher_tier_than = DUKE
		any_demesne_province = {
			has_province_modifier = africa_rain_dance_successful 
		}
	}
}

OVER_YOUR_DEAD_BODY = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_over_your_dead_body
	}
}

CHECH_LECH_AND_RUS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_lcr
	}
}

# EASY ACHIEVEMENTS

BAPTISM_OF_RUS = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_baptism_of_rus
	}
}

LOVE_IS_A_BATTLEFIELD = {
	possible = {
		is_ironman = yes
		is_alternate_start = no
	}
	
	happened = {
		has_character_flag = achievement_love_is_a_battlefield
	}
}

# SHATTERED WORLD

FROM_THE_ASHES = {
	possible = {
		is_ironman = yes
		is_shattered_world = yes
	}
	
	happened = {
		real_tier = EMPEROR
	}
}

NOT_SO_GREAT = {
	possible = {
		is_ironman = yes
		is_shattered_world = yes
	}
	
	happened = {
		has_character_flag = achievement_not_so_great
	}
}

RISE_OF_CIVILIZATION = {
	possible = {
		is_ironman = yes
		is_alternate_start = yes
		OR = {
			has_alternate_start_setting = {
				setting = holding_types
				option = tribal
			}
			has_alternate_start_setting = {
				setting = holding_types
				option = tribal_nomadic
			}
		}
	}
	
	happened = {
		OR = {
			has_character_flag = achievement_not_a_tribe
			has_character_flag = achievement_res_publica
		}
	}
}

# RANDOM WORLD

WHAT_COULD_HAVE_BEEN = {
	possible = {
		is_ironman = yes
		is_random_world = yes
	}
	
	happened = {
		total_years_played = 200
	}
}

LORD_OF_THE_FLIES = {
	possible = {
		is_ironman = yes
		is_random_world = yes
		NOT = { age = 1 }
		NOT = { higher_tier_than = COUNT }
		has_alternate_start_setting = {
			setting = age_span
			max == 0
			min == 0
		}
	}
	
	happened = {
		higher_real_tier_than = DUKE
		NOT = {
			total_years_played = 16
		}
	}
}
