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

IrishZoroastrian

Private
3 Badges
Jul 9, 2019
24
2
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
I'm looking for a way to make a newly created character (spawned via create_character) to be unmarriageable.

Tried this:
new_character = {

add_character_modifier = {name = will_not_marry months = 1000000}
add_character_modifier = {name = dismissed_proposal months = 1000000}
set_character_flag = do_not_disturb
}


Will_not_marry modifier does nothing. How else can this be accomplished?
 
There's a scripted effect, will_not_marry_effect, containing the following:

Code:
will_not_marry_effect = {
    add_character_modifier = {
        name = will_not_marry
        duration = -1
    }

    add_trait = cannot_marry
}
 
  • 1Like
Reactions: