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

Korbah

Ratel
136 Badges
Mar 3, 2011
4.758
1.272
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Victoria 3 Sign Up
This small mod adds two new decisions to the Intrigue screen, Adopt Orphan Boy and Adopt Orphan Girl.
You must have at least 10 Prestige, be aged 50+ and be childless to enact the decisions, and when enacted a random courtier aged 5 from your own dynasty should appear. The courtier is automatically generated with legitimised bastard trait, all other traits and stats are random (as is the name).

Download | View attachment 53173
 
Last edited:

James009

First Lieutenant
85 Badges
Jan 21, 2012
244
57
  • Pillars of Eternity
  • Stellaris
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Nemesis
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Jade Dragon
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Federations
  • Crusader Kings III
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Parklife
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Apocalypse
  • Cities: Skylines - After Dark
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • 500k Club
  • Prison Architect: Psych Ward
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
That's pretty cool. Thanks. :D

Downloading this now.
 

Shaytana

Sol Invictus
2 Badges
Mar 4, 2001
2.919
9
Visit site
  • Crusader Kings II
  • 500k Club
Very nice idea! But maybe you should add some new trait to the kids, like say "Adopted" giving major relation hits with people, less prestige gain etc or something along the line. (yes on top of the bastard trait)
 

hilal

Captain
20 Badges
Jul 31, 2001
349
0
www.poderdapalavra.com.br
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Hearts of Iron III Collection
  • Europa Universalis IV
  • Cities in Motion
  • East India Company
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • 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
You do not need to edit the vanilla decision file. Just give any other name to file. This will improve compatibility with others MODS.
If you rename the file adoption.txt (or some other name) and put it in decisions folder it will work same way.
 

hilal

Captain
20 Badges
Jul 31, 2001
349
0
www.poderdapalavra.com.br
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Hearts of Iron III Collection
  • Europa Universalis IV
  • Cities in Motion
  • East India Company
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • 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
events and decisions are the easy to mod, just put any name at file and put at right folder and it is done.
 

hilal

Captain
20 Badges
Jul 31, 2001
349
0
www.poderdapalavra.com.br
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Hearts of Iron III Collection
  • Europa Universalis IV
  • Cities in Motion
  • East India Company
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • 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
Just a suggestion a decision that produces a adoption with a character that is like a real son:
Code:
decisions = {
"adoption" = {
        
        potential = { ai = no
    }
    allow = {
            scaled_wealth = 0.2
            ai = no
            is_married = yes
            female = no
    }
        effect = {
        province = 500
                    
            spouse = {
                
                        create_character = {
                        random_traits = no
                        dynasty = root
                        religion = root
                        culture = root
                        female = no
                        age = 15
                                                trait = legitimized_bastard
                        trait = midas_touched
                        trait = content
                        trait = strong
                        trait = temperate
                        trait = diligent
                        trait = brave
                        trait = genius
                        trait = fair
                        trait = tall
                        trait = kind
                    }
                    new_character = {
                        set_father = ROOT
                        set_mother = prev
                        
                    }
                }
                
            }
        
    
    revoke_allowed = {
            always = no
        }
        ai_will_do = {
            factor = 0
        }
}
}
 

RedRooster81

Modding Paladin
34 Badges
Feb 16, 2010
5.673
29
  • Crusader Kings II
  • Rome Gold
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Cities in Motion
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Golden Century
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 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
Would you mind if I base a similar decision I am working on on your mod? I want to be able to adopt close relations who do not come from landed dynasties.
 

Korbah

Ratel
136 Badges
Mar 3, 2011
4.758
1.272
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Victoria 3 Sign Up
@hilal
I don't cheat, nor make cheat mods, but it's a nice idea maybe post it in the cheat thread?
Ah I just reread your code, so you can set mother and father by decision/events? Interesting, thanks for the info :)

@Redrooster
Feel free to use anything I've made Red ;)
 

hilal

Captain
20 Badges
Jul 31, 2001
349
0
www.poderdapalavra.com.br
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Rome Gold
  • Hearts of Iron III Collection
  • Europa Universalis IV
  • Cities in Motion
  • East India Company
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • 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
@hilal
I don't cheat, nor make cheat mods, but it's a nice idea maybe post it in the cheat thread?
Ah I just reread your code, so you can set mother and father by decision/events? Interesting, thanks for the info :)

@Redrooster
Feel free to use anything I've made Red ;)

Just delete the parts you consider cheating.
I think set_father/mother works just at new_character scope.
 

unmerged(101730)

Banned
7 Badges
May 20, 2008
635
0
  • Crusader Kings II
  • Europa Universalis III
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Semper Fi
Nice and very useful mod, thanks!

As an idea, I'd consider splitting the decisions somewhat:

If your character is the kind of male(!) who'd do that (lustful and so on), make a "adopt one of your low-born bastard sons/daughters" decision available. The character would be a legitimatised bastard, and you should probably fire off the events for the spouse same as the default "a bastard is born" event does (... and maybe generate a low-born mother too, if not having a mother is a problem for this event chain)

If your character is chaste, on the other hand, an "adopt an orphan" decision could be available, getting you a character with a (new) "Adopted" trait, possibly pissing off your wife a little less, though likely getting along with the rest of the family not so well (since he's not blood related), especially with claimants to your or (later) his title(s).
 

Korbah

Ratel
136 Badges
Mar 3, 2011
4.758
1.272
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Victoria 3 Sign Up
Nice and very useful mod, thanks!

As an idea, I'd consider splitting the decisions somewhat:

If your character is the kind of male(!) who'd do that (lustful and so on), make a "adopt one of your low-born bastard sons/daughters" decision available. The character would be a legitimatised bastard, and you should probably fire off the events for the spouse same as the default "a bastard is born" event does (... and maybe generate a low-born mother too, if not having a mother is a problem for this event chain)

If your character is chaste, on the other hand, an "adopt an orphan" decision could be available, getting you a character with a (new) "Adopted" trait, possibly pissing off your wife a little less, though likely getting along with the rest of the family not so well (since he's not blood related), especially with claimants to your or (later) his title(s).

Feel free to take the mod and release it with your ideas, I'm working on other projects now and this was just something I whipped up for my (actual) wife, since she had this crazy luck of 5 games in a row ending within 100 years due to a lack of heirs. It's such a small mod that anyone should feel free to use it however they want, opensource and so on.
 

MrTaxman

Scio me nihil scire.
90 Badges
Apr 20, 2010
1.092
2
  • Victoria: Revolutions
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Cities in Motion
  • Europa Universalis: Rome
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis IV: Cossacks
  • Stellaris
  • Crusader Kings II: The Republic
  • Hearts of Iron Anthology
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
  • Crusader Kings II: Rajas of India
  • 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
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Crusader Kings II: Conclave
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: El Dorado
  • Europa Universalis 4: Emperor
  • 500k Club
  • Victoria 2
  • Supreme Ruler 2020
Feel free to take the mod and release it with your ideas, I'm working on other projects now and this was just something I whipped up for my (actual) wife, since she had this crazy luck of 5 games in a row ending within 100 years due to a lack of heirs. It's such a small mod that anyone should feel free to use it however they want, opensource and so on.

Thanks for the pre-permission to use :) I am new to modding CKII, so I am going to try to start small. (I really hope that this would count as 'small') Perhaps there is a way to add a "Broken Line" trait to the children of an "Adopted" character. They, too, would have to deal with the legacy of adoption, but they would be one step removed, so the effect would be slightly mitigated, and their children would be born without any extra traits because enough time would have passed - or perhaps it would require a character getting a certain amount of prestige to remove the "Broken Line" trait... you know, proving themselves worthy of the family name?
 

Arakhor

Dremora Astronomer
102 Badges
Mar 20, 2010
3.185
951
  • Europa Universalis IV
  • Heir to the Throne
  • Cities: Skylines - Campus
  • Crusader Kings III: Royal Edition
  • Stellaris: Federations
  • Europa Universalis IV: Golden Century
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Cities: Skylines Industries
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Humble Paradox Bundle
  • Tyranny: Archon Edition
  • Cities: Skylines - Natural Disasters
  • Stellaris: Lithoids
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Conclave
  • Prison Architect
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Crusader Kings II: Monks and Mystics
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings III Referal
  • Cities: Skylines - Green Cities
  • Age of Wonders
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Horse Lords
  • Victoria 2
I've fiddled around with the adoption decisions presented above and now have two files, one to drop into decisions and the other into localisation.

If you are over 30 and have had less than two children in your life, you can adopt an orphan or two as your heir(s). As was intended in the original mod (with the improvements from hilal's code), they appear as five-year old legitimised bastards with random traits, with you set as their father (whether you are male or not). Even if you are married, your spouse does not appear as their other parent.
 

Attachments

  • Adoption.zip
    1 KB · Views: 61