What causes an AI leader to commit suicide?

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

EphemeralToast

the Footstool
28 Badges
May 17, 2016
265
1.083
  • Stellaris: Synthetic Dawn
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Prison Architect
  • Cities: Skylines Industries
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Cities: Skylines - Parklife
  • Cities: Skylines - Green Cities
  • Age of Wonders III
  • Crusader Kings II
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Warlock: Master of the Arcane
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
My character's best friend & liege just killed himself at age 36. It was properly shocking because he seemed "happy" insofar as the AI can be—he didn't have any stress traits and he seemed to like his family, had no rivals, wasn't Melancholic, etc. I assume the reason the decision was available to him was because his young daughter drowned. I've never seen the AI do this before and it made me wonder what will prompt the AI to use such a nuclear option, like how stressed do they have to be, does it depend on traits, etc. Does anyone know?
 

Tiax

Banned
42 Badges
Jun 7, 2007
2.521
16.093
  • Crusader Kings II: Reapers Due
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • 500k Club
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings Complete
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Crusader Kings III
  • Europa Universalis IV: Art of War
  • 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: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
Code:
    ai_will_do = {
        base = 0
        modifier = {
            add = 30
            has_trait = depressed
        }
        modifier = {
            add = 25
            has_trait = incapable
        }
        modifier = {
            add = 10
            has_trait = cancer
        }
        modifier = {
            add = 10
            has_trait = leper
        }
        modifier = {
            add = 10
            has_trait = great_pox
        }
        modifier = {
            add = 10
            has_trait = lunatic
        }
        modifier = {
            add = 20
            has_character_flag = make_suicide_available
        }
    }

I think that last block says that even if the AI character has no other traits or conditions that would make them want to commit suicide, the mere presence of the option (as given by events following the death of a loved one, for example) is enough to give them a chance of doing it.
 
  • 7
Reactions:

Emperor 1997

Captain
64 Badges
Nov 26, 2019
483
668
  • Stellaris: Federations
  • Stellaris: Distant Stars
  • Europa Universalis IV
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • Victoria 2: A House Divided
  • Stellaris: Synthetic Dawn
  • Stellaris: Nemesis
  • Knights of Honor
  • Empire of Sin
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Surviving Mars: First Colony Edition
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Prison Architect: Psych Ward
  • Cities: Skylines - Campus
  • Prison Architect
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Conclave
  • Crusader Kings II: Holy Fury
  • Imperator: Rome - Magna Graecia
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
Code:
    ai_will_do = {
        base = 0
        modifier = {
            add = 30
            has_trait = depressed
        }
        modifier = {
            add = 25
            has_trait = incapable
        }
        modifier = {
            add = 10
            has_trait = cancer
        }
        modifier = {
            add = 10
            has_trait = leper
        }
        modifier = {
            add = 10
            has_trait = great_pox
        }
        modifier = {
            add = 10
            has_trait = lunatic
        }
        modifier = {
            add = 20
            has_character_flag = make_suicide_available
        }
    }

I think that last block says that even if the AI character has no other traits or conditions that would make them want to commit suicide, the mere presence of the option (as given by events following the death of a loved one, for example) is enough to give them a chance of doing it.
They get the flag, even when you revoke their title, they don't like it to be demoted from their rank.

Everytime, when I revoke the title of a self-appointed mayor, they get this flag and no I don't like characters who gives themself, my cities, they are stealing my titles and should counted as traitors.
 
  • 3Haha
Reactions:

Fac0810

Second Lieutenant
30 Badges
Aug 24, 2020
184
410
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: No Step Back
  • Battle for Bosporus
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • 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
My character's best friend & liege just killed himself at age 36. It was properly shocking because he seemed "happy" insofar as the AI can be—he didn't have any stress traits and he seemed to like his family, had no rivals, wasn't Melancholic, etc. I assume the reason the decision was available to him was because his young daughter drowned. I've never seen the AI do this before and it made me wonder what will prompt the AI to use such a nuclear option, like how stressed do they have to be, does it depend on traits, etc. Does anyone know?
eeriely enough, it sounds like a post about a true friend of yours until the "He was happy but maybe his daughter dying did the trick"
 
  • 5
  • 2
  • 1Like
Reactions:

kawamuratc

Kemetic DLC Truther, Cat Servant
44 Badges
Oct 23, 2013
909
4.621
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Sengoku
  • 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: Jade Dragon
  • Stellaris: Nemesis
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Surviving Mars: First Colony Edition
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Necroids
  • Crusader Kings II: Reapers Due
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Green Cities
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Synthetic Dawn
eeriely enough, it sounds like a post about a true friend of yours until the "He was happy but maybe his daughter dying did the trick"
Was thinking the same thing.

It’s good to see that there’s some looseness in when the game allows NPCs to die by suicide. It’s a hauntingly more accurate representation to be unsure of exactly what caused it.
 
  • 2
Reactions:

EphemeralToast

the Footstool
28 Badges
May 17, 2016
265
1.083
  • Stellaris: Synthetic Dawn
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Prison Architect
  • Cities: Skylines Industries
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Cities: Skylines - Parklife
  • Cities: Skylines - Green Cities
  • Age of Wonders III
  • Crusader Kings II
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Warlock: Master of the Arcane
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
It is interesting that merely having great pox can cause it, since literally everyone I've ever seen get it in game has recovered after not too long.

"Leper" trait makes more sense, I suppose, although the happiest guy I ever knew in CK3 was a leper. He was my vassal and the guy just loved to party. He threw feasts so often that he got the highest Reveler trait before he died in his 40s, ostensibly from being a leper but I think it was all the rich food and booze that actually did him in. RIP, Party Leper.
 
  • 2Haha
Reactions:

kawamuratc

Kemetic DLC Truther, Cat Servant
44 Badges
Oct 23, 2013
909
4.621
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Sengoku
  • 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: Jade Dragon
  • Stellaris: Nemesis
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Surviving Mars: First Colony Edition
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Necroids
  • Crusader Kings II: Reapers Due
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Green Cities
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Stellaris
  • Stellaris: Ancient Relics
  • Stellaris: Synthetic Dawn
It is interesting that merely having great pox can cause it, since literally everyone I've ever seen get it in game has recovered after not too long.

"Leper" trait makes more sense, I suppose, although the happiest guy I ever knew in CK3 was a leper. He was my vassal and the guy just loved to party. He threw feasts so often that he got the highest Reveler trait before he died in his 40s, ostensibly from being a leper but I think it was all the rich food and booze that actually did him in. RIP, Party Leper.
You’ve seen people recover from Great Pox on the regular? Huh. I think I’ve seen that too often but it technically is curable (though with low chance and high risk) by physicians.

RIP my man party leper though, may he party hard in his respective afterlife
 

EphemeralToast

the Footstool
28 Badges
May 17, 2016
265
1.083
  • Stellaris: Synthetic Dawn
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Prison Architect
  • Cities: Skylines Industries
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Cities: Skylines - Parklife
  • Cities: Skylines - Green Cities
  • Age of Wonders III
  • Crusader Kings II
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Warlock: Master of the Arcane
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
You’ve seen people recover from Great Pox on the regular? Huh. I think I’ve seen that too often but it technically is curable (though with low chance and high risk) by physicians.
A married couple in my court got it one after the other and both recovered in ~5 years with no permanent effects, I figured that was normal but maybe my court physician was just doing an amazing job with the pot of bees that day
 
  • 1
  • 1Like
Reactions: