• 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.

rashtrakut

Major
32 Badges
Aug 9, 2006
786
67
  • Sengoku
  • Crusader Kings III
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Rome: Vae Victis
  • Victoria 2
  • Crusader Kings II
  • Europa Universalis: Rome
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
There was a scripting issue in birth events where it was not modified for polygamy. So if the secondary wife in a polygamous marriage engaged in hanky panky and spawned a bastard, the husband was pissed at the blameless first wife.

Basically the reference to event 304 needs to be taken out and the following events need to be changed.

Code:
# The child gets the father's dynasty
character_event = {
	id = 302
	
	is_triggered_only = yes 
	desc = "EVTDESC302"
	picture = "GFX_evt_birth"

	option = {
		name = "OK"
		dynasty = FROM
		remove_trait = bastard
		add_trait = legit_bastard
		
		father = {
			spouse = {
				character_event = { id = 305 tooltip = "EVTTOOLTIP305" } # The father's wife is enraged
			}
		}
			
			mother = {
				spouse = {
					character_event = { id = 304 tooltip = "EVTTOOLTIP304" } # The child's mother's husband is pissed off
				}
			}
	}
}



# The child's mother's husband is pissed off
character_event = {
	id = 304
	picture = "GFX_evt_quarrel"
	desc = "EVTDESC304"
	
	is_triggered_only = yes 

	option = {
		name = "EVTOPTA304"		
		FROM = {
			mother = {
				reverse_opinion = {
					who = ROOT
					modifier = unfaithful
					years = 10
				}
			}
		}
		FROM = {
			father = {
				reverse_opinion = {
					who = ROOT
					modifier = cuckolded
					years = 10
				}
			}
		}
	}
}

# The child founds a new "bastard" dynasty
character_event = {
	id = 306
	
	is_triggered_only = yes 
		
	desc = "EVTDESC306"
	picture = "GFX_evt_birth"

	option = {
		name = "OK"
		dynasty = FROM
		add_trait = bastard
		
		father = {
			spouse = {
				character_event = { id = 308 tooltip = "EVTTOOLTIP308" } # The father's wife is angered
			}
		}
			
			mother = {
				spouse = {
					character_event = { id = 304 tooltip = "EVTTOOLTIP304" } # The child's mother's husband is pissed off
				}
			}
	}
}


# The child is denounced
character_event = {
	id = 309
	
	is_triggered_only = yes 
		
	desc = "EVTDESC309"
	picture = "GFX_evt_birth"

	option = {
		name = "OK"
		
		father = {
			spouse = {
				character_event = { id = 311 } # The father's wife is displeased
			}
		}
			
			mother = {
				spouse = {
					character_event = { id = 304 tooltip = "EVTTOOLTIP304" } # The child's mother's husband is pissed off
				}
			}
	}
}
 

Zhetone

New and Improved
72 Badges
Mar 18, 2010
4.614
10.420
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: El Dorado
  • Europa Universalis 4: Emperor
  • Europa Universalis IV
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • 500k Club
  • Victoria 2
  • Europa Universalis: Rome
  • Europa Universalis III Complete
  • Crusader Kings II: Way of Life
  • Europa Universalis III Complete
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Holy Fury Pre-order
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings Complete
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rights of Man
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron II: Armageddon
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • 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
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
I noticed similar errors with other events.
One of them told me a wife was seeking divorce. When I picked an option, the second event in the chain showed a different wife responding to it!