• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Golden_Lord

Sergeant
39 Badges
Sep 18, 2011
78
26
  • Crusader Kings II
  • Stellaris: Apocalypse
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Cossacks
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • 500k Club
  • Crusader Kings II: Conclave
  • Europa Universalis IV
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Wealth of Nations
  • Heir to the Throne
1. I am emperor of latin empire and king of greece; my grandson who is my heir is king of ireland. He supports a duke to get the crown of greece when he is heir to that crown.


2. My king decides he wants a mistress and ask his wife who is not thrilled about it. Then he takes a mistress among his daughters.

Those were before patch 1.07.
 
Upvote 0

Dracko81

Field Marshal
88 Badges
Jun 13, 2012
7.030
1.950
  • Tyranny: Archon Edition
  • Magicka
  • March of the Eagles
  • A Game of Dwarves
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Pirates of Black Cove
  • Victoria 2: A House Divided
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • Age of Wonders III
  • Stellaris: Galaxy Edition
  • Cities: Skylines Deluxe Edition
  • Stellaris: Synthetic Dawn
  • Pillars of Eternity
  • Tyranny: Archon Edition
  • Stellaris
  • Crusader Kings II: The Republic
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Impire
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Heir to the Throne
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Surviving Mars
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Stellaris: Necroids
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
2. My king decides he wants a mistress and ask his wife who is not thrilled about it. Then he takes a mistress among his daughters.

Code:
#Old and ugly wife: take a mistress?
character_event = {
	id = 64015
	desc = "EVTDESC64015"
	picture = GFX_evt_lovers
	
	capable_only = yes
	only_men = yes
	only_rulers = yes
	prisoner = no
	
	is_triggered_only = yes
	
	trigger = {
		fertility = 0.5
		has_epidemic = no
		is_ill = no
		has_lover = no
		NOT = {
			trait = homosexual
		}
		NOT = {
			has_character_flag = never_lover
		}
		any_courtier = {
			is_female = yes
			NOT = {
				trait = homosexual
			}
			NOT = {
				trait = celibate
			}
			age = 16
			NOT = {
				age = 50
			}
			has_epidemic = no
			is_ill = no
			has_lover = no
		}
		spouse = {
			is_alive = yes
			is_abroad = no
			prisoner = no
			OR = {
				has_epidemic = yes
				is_ill = yes
				age = 45
				NOT = {
					fertility = 0.2
				}
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA64015" #I'm sure my wife will allow me to indulge myself
		piety = -10
		if = {
			limit = {
				NOT = {
					trait = lustful
				}
			}
			add_trait = lustful
		}
		spouse = {
			random = {
				chance = 50
				
				opinion = {
					modifier = opinion_angry
					who = ROOT
					years = 5
				}
				hidden_tooltip = {
					character_event = {
						id = 64016
					}
				}
			}
		}
		random_courtier = {
			limit = {
				is_female = yes
				NOT = {
					trait = homosexual
				}
				NOT = {
					trait = celibate
				}
				age = 16
				NOT = {
					age = 50
				}
				has_epidemic = no
				is_ill = no
				has_lover = no
			}
			character_event = {
				id = 64017
				tooltip = "EVTTOOLTIP64017"
			}
		}
	}
	option = {
		name = "EVTOPTB64015"
		add_trait = deceitful
		spouse = {
			random = {
				chance = 25
				
				opinion = {
					modifier = opinion_angry
					who = ROOT
					years = 5
				}
				hidden_tooltip = {
					character_event = {
						id = 64016
					}
				}
			}
		}
		random_courtier = {
			limit = {
				is_female = yes
				NOT = {
					trait = homosexual
				}
				NOT = {
					trait = celibate
				}
				age = 16
				NOT = {
					age = 50
				}
				has_epidemic = no
				is_ill = no
				has_lover = no
			}
			character_event = {
				id = 64017
				tooltip = "EVTTOOLTIP64017"
			}
		}
	}
	option = {
		name = "EVTOPTC64015" #No, it's a sin
		piety = 10
		random_list = {
			50 = {
			}
			20 = {
				if = {
					limit = {
						NOT = {
							religion_group = muslim
						}
					}
					add_trait = chaste
					hidden_tooltip = {
						character_event = {
							id = 38274 #Notify Chaste
						}
					}
				}
				if = {
					limit = {
						religion_group = muslim
					}
					piety = 5
				}
			}
			25 = {
				add_trait = zealous
				hidden_tooltip = {
					character_event = {
						id = 38269 #Notify Zealous
					}
				}
			}
			5 = {
				if = {
					limit = {
						religion_group = muslim
					}
					piety = 5
				}
				if = {
					limit = {
						NOT = {
							religion_group = muslim
						}
					}
					add_trait = celibate
					hidden_tooltip = {
						character_event = {
							id = 38285 #Notify Celibate
						}
					}
				}
				
			}
		}
	}
}

I think something like "is_close_relative = no" is missing from the event triggers, and also the option buttons.

278C6F522449296DF4B2A19A8DEA42F365A9F3AF


439A98F36B5E560AB4795D1609BFBD39C0B5D3EC
 

Dracko81

Field Marshal
88 Badges
Jun 13, 2012
7.030
1.950
  • Tyranny: Archon Edition
  • Magicka
  • March of the Eagles
  • A Game of Dwarves
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Pirates of Black Cove
  • Victoria 2: A House Divided
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • Age of Wonders III
  • Stellaris: Galaxy Edition
  • Cities: Skylines Deluxe Edition
  • Stellaris: Synthetic Dawn
  • Pillars of Eternity
  • Tyranny: Archon Edition
  • Stellaris
  • Crusader Kings II: The Republic
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Impire
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Heir to the Throne
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Surviving Mars
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Stellaris: Necroids
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
I just had this event trigger in my current game and the first option was my wife. She was 47 at the time, might have to adjust the courtier "age = 50" to "age = 45"(trigger and options), or change the event trigger to 50 instead of 45.
 

richvh

Preserver of the Light
63 Badges
Dec 1, 2001
14.691
1.999
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
Or add a NOT = { spouse = yes } check in the any_courtier block of the triggers. (That probably ought to be done regardless of any age trigger changes.)