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

BlackCappedChickadee

the palm sized bird
37 Badges
Jul 9, 2016
146
66
  • Crusader Kings II
  • Stellaris: Apocalypse
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Tyranny - Bastards Wound
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Tyranny: Gold Edition
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Crusader Kings II: Horse Lords
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Way of Life
  • Tyranny: Archon Edition
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny - Tales from the Tiers
  • Stellaris: Synthetic Dawn
  • Stellaris: Galaxy Edition
Idk, would this be a good idea? A nice touch of realism, or more silly unnecessary details not needed for enjoying the game? And would such scripting bog down performance too much?

I was thinking of trying to write a non invasive script for handling pregnancies in a more realistic manner; rather than always being born precisely nine months after conception, time of birth is random, though most of the time they will be born within a few days of the 9 month mark. There is a chance for premature birth; babies born premature (3+ weeks early) will almost always be sickly and have a much higher chance of being stillborn. Since these are medieval times, babies born before the 7 month threshold will always be stillborn.

I also thought of adding marriage related checks and fixes - i.e, a pregnant widow who remarries before her kid is born won't get slapped with adultery accusations, and the child will properly inherit the dead father's claims and titles (i.e if the dead King's nephew inherits his crown but then his widow gives birth to his son, the nephew gets the boot and is automatically replaced by the new baby). A child conceived out of wedlock but born after the parents have married matrilineally also doesn't get treated like a bastard and will be part of the mother's dynasty (this always annoyed the hell out of me). I was also thinking of adding the possibility of a minor scandal for Christian characters, if a full term baby is born just a little too soon to a newlywed couple, they might be accused of having had premarital sex.

I don't know. Is this something people think would be a good addition? And would the script be likely to cause performance issues? I wouldn't think so, since from my experience there generally aren't that many pregnant characters in the whole world at any given time, but IDK.
 
Last edited:

Liar

Aspires to Conquer the Known World
35 Badges
Mar 15, 2013
604
172
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
  • 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: Sunset Invasion
  • Europa Universalis IV
  • Prison Architect
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Holy Fury Pre-order
  • Crusader Kings II: Jade Dragon
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • Victoria 2
From what some people mentioned in the past, pregnancy mechanics is hardcoded so there isn't an easy way to do something with it?
 

LeSingeAffame

Loyal ally to Durcorach the Black Drake
77 Badges
Sep 16, 2012
3.629
2.641
  • Europa Universalis IV
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Federations
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Stellaris: Nemesis
  • Victoria 3 Sign Up
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Conclave
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Holy Fury
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Distant Stars
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
From what some people mentioned in the past, pregnancy mechanics is hardcoded so there isn't an easy way to do something with it?
Maybe you could create a new character (the baby) and then remove the Pregnant trait ? That would make things easier to handle I guess
 

Rydelfox

Lt. General
90 Badges
Oct 30, 2016
1.476
12
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Sword of the Stars
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • 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
  • Hearts of Iron III
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
Some of these could be done by having random events that only fire for pregnant characters. Adding randomness to when the child is actually born wouldn't be easy, but premature birth, avoiding adultury accusations (by having them not trigger if the father is a previous spouse), etc should be doable.
 

Korbah

Ratel
137 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
  • Hearts of Iron IV: No Step Back
Removing the pregnant trait doesn't actually end the pregnancy, the trait is just notifying the player that the character is pregnant.

I remember there being something in a changelog about adding a function to end a pregnancy early (that is, cause the character to be "born" early), but that might've been a console command.

...or I'm misremembering.