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

Blodhevn

Lt. General
2 Badges
Nov 16, 2020
1.346
2.602
  • Crusader Kings III
  • Crusader Kings III: Royal Edition

Information​

I have verifed my game files (Steam only)​

Yes

I have disabled all mods​

Yes

I am running the latest game update​

Yes

Required​

Summary​

Randomly getting drunkard trait at my 16th birthday, no stress,events or traits related to party/drink/food.

Description​

I played as a custom character(started as a child) , tribal ruler in 867. I had no events related to drinking/feasts. No feasts and no gregarious or gluttonous trait. When i turned 16 i got the drunkard trait alongside my education trait.

Steps to reproduce​

To reproduce it i guess create (0yo) a custom character and get a education and reach age 16.

Game Version​

game version: Branch: release/1.9.0.3 Commit: 6dc0ab180c85f57b00a73546e4d1be69001c0279 Timestamp: 2023-05-11 20:50:12 +0000 Commit Number: 3875 MP Checksum: 72ec clausewitz: titus/release/1.9.0.3 e691c233d2badfa924cad5e7faa9006fab01432f jomini: titus/release/1.9.0.3 e691c233d2badfa924cad5e7faa9006fab01432f external_libs: develop 114b50d3c22c4b7ad1a995993ed1c99da5e3bf1c

Platform​

Windows

Additional Information​

Affected Feature​

  • Events
  • Gameplay

Save Game​



Other Attachments​



 
Last edited:
  • 1
Reactions:
Hello there! Thank you for the report. It unfortunately wasn't clear what the issue was. Could you provide more information and if possible a way to reproduce the issue? A save of the game before the bug occurred would be amazing!
Cheers!
 
Was the child at university ?
 
I played as a custom character(started as a child) , tribal ruler in 867. I had no events to do with drinking. No feasts and no gregarious trait. When i turned 16 i got the trait alongside my education trait.

I didnt use university. And it was ironman so i have no save from before it happened. It wad my player character.
 
I played as a custom character(started as a child) , tribal ruler in 867. I had no events to do with drinking. No feasts and no gregarious trait. When i turned 16 i got the trait alongside my education trait.

I didnt use university. And it was ironman so i have no save from before it happened. It wad my player character.

To reproduce it i guess create (0yo) custom character and get a education and reach age 16.
 
I've observed -many- youngsters turning drukard on their sixteenth birthday in previous patches too and just assumed it was mental breaks, but now I start to wonder.
 
  • 1Like
Reactions:
Ho, I found the issue, I was tricked by the name of the effect :

results_of_university_education_points_effect => inside you can see this

Code:
    if = {
        limit = {
            NOT = {
                has_trait = drunkard
            }
        }
        hidden_effect = {
            random = {
                chance = 2
                add_trait = drunkard
            }
        }
    }

So even if they did not go to the university, there is a chance they get the drunkard trait out of nowhere
 
Ho, I found the issue, I was tricked by the name of the effect :

results_of_university_education_points_effect => inside you can see this

Code:
    if = {
        limit = {
            NOT = {
                has_trait = drunkard
            }
        }
        hidden_effect = {
            random = {
                chance = 2
                add_trait = drunkard
            }
        }
    }

So even if they did not go to the university, there is a chance they get the drunkard trait out of nowhere

so does that mean its supposed to be like that? i dont have gluttonous or gregarious traits, no feasts & no events related to drinking or eating at all. seems pretty awful.
 
From the effect name it seems it was meant to be only if the child was sent to a university.

So from the current version every child as 2% chance to become drunkard instead of 2% of children sent to university

The whole code is :
Code:
results_of_university_education_points_effect = {
    if = {
        limit = {
            has_character_flag = studying_at_university
        }
        #Adding the points to the current education
        if = {
            limit = { has_focus = education_diplomacy }
            change_variable = {
                name = education_diplomacy_variable
                add = 12 #They should reach the top if they're not completely dumb
            }
        }
        else_if = {
            limit = { has_focus = education_martial }
            change_variable = {
                name = education_martial_variable
                add = 12 #They should reach the top if they're not completely dumb
            }
        }
        else_if = {
            limit = { has_focus = education_stewardship }
            change_variable = {
                name = education_stewardship_variable
                add = 12 #They should reach the top if they're not completely dumb
            }
        }
        else_if = {
            limit = { has_focus = education_intrigue }
            change_variable = {
                name = education_intrigue_variable
                add = 12 #They should reach the top if they're not completely dumb
            }
        }
        else_if = {
            limit = { has_focus = education_learning }
            change_variable = {
                name = education_learning_variable
                add = 12 #They should reach the top if they're not completely dumb
            }
        }
        remove_character_flag = studying_at_university
        add_character_flag = studied_at_university
    }

    if = {
        limit = {
            NOT = {
                has_trait = drunkard
            }
        }
        hidden_effect = {
            random = {
                chance = 2
                add_trait = drunkard
            }
        }
    }
}

You can see that the extract I posted earlier is outside the university check
 
I played as a custom character(started as a child) , tribal ruler in 867. I had no events to do with drinking. No feasts and no gregarious trait. When i turned 16 i got the trait alongside my education trait.

I didnt use university. And it was ironman so i have no save from before it happened. It wad my player character.

From the effect name it seems it was meant to be only if the child was sent to a university.

So from the current version every child as 2% chance to become drunkard instead of 2% of children sent to university

The whole code is :
Code:
results_of_university_education_points_effect = {
    if = {
        limit = {
            has_character_flag = studying_at_university
        }
        #Adding the points to the current education
        if = {
            limit = { has_focus = education_diplomacy }
            change_variable = {
                name = education_diplomacy_variable
                add = 12 #They should reach the top if they're not completely dumb
            }
        }
        else_if = {
            limit = { has_focus = education_martial }
            change_variable = {
                name = education_martial_variable
                add = 12 #They should reach the top if they're not completely dumb
            }
        }
        else_if = {
            limit = { has_focus = education_stewardship }
            change_variable = {
                name = education_stewardship_variable
                add = 12 #They should reach the top if they're not completely dumb
            }
        }
        else_if = {
            limit = { has_focus = education_intrigue }
            change_variable = {
                name = education_intrigue_variable
                add = 12 #They should reach the top if they're not completely dumb
            }
        }
        else_if = {
            limit = { has_focus = education_learning }
            change_variable = {
                name = education_learning_variable
                add = 12 #They should reach the top if they're not completely dumb
            }
        }
        remove_character_flag = studying_at_university
        add_character_flag = studied_at_university
    }

    if = {
        limit = {
            NOT = {
                has_trait = drunkard
            }
        }
        hidden_effect = {
            random = {
                chance = 2
                add_trait = drunkard
            }
        }
    }
}

You can see that the extract I posted earlier is outside the university check
thank you. slightly off topic, what does university actually do? is it useful for anything other than getting a 4 star education? like do you get better basestats? paying 1k gold etc to get a 4star education seems wasteful when its so easy to get.