Birth Gender Control
各位CK3的领主或女士们好,鉴于工坊内另一个mod已失效且不存在同类mod。本人花了一些时间自学P语言做出了这个mod,经过简单测试功能正常有效,详情如下:
本mod允许玩家进行节育和决定新生儿性别。
1、角色互动:可以对目标进行节育或决定其新生儿性别,性别设置中母亲的设置优先于父亲。
2、决议:若一个角色进行了新生儿性别设置并怀孕但尚未分娩,读档后性别设置会失效。运行决议中的“恢复胎儿性别设置”可解决此问题,让设置重新生效。
注意:
1、互动对象仅限:自己、配偶、侍妾、子女、情人
2、性别设置会覆盖,以最后一次为准。
已知问题:
1、若一个角色进行了新生儿性别设置并怀孕但尚未分娩,读档后性别设置会失效。之后的怀孕不受影响。
2、解决上述问题的事件是通过决议触发,我不知道如何让其在加载游戏后立刻触发。
我不是模组制作者,并且几乎完全不懂P社的脚本语言。因此,如果您发现任何其他bug我不保证能够解决,同样我也不保证此mod能够持续更新。感谢您的谅解。
Greetings noble lords and ladies,
Due to another mod in the workshop being outdated and the absence of similar mods, I took some time to self-study Paradox’s scripting language and created this mod. After some basic testing, it appears to function correctly. Hope this can help.Details are as follows:
This mod allows players to perform sterilization and decide the gender of newborns.
1. Character Interaction: You can sterilize a target or decide the gender of their newborn. When setting the gender, the mother’s preference takes priority over the father’s.
2. Decision: If a character has set the gender of their unborn child but is still pregnant, loading a save game will cause the gender setting to be lost. Running the decision "Restore Birth Gender Setting" will resolve this issue.
Notes:
1. Interaction targets are limited to: yourself, your spouse, concubine, children, or lovers.
2. The gender setting can be overwritten and is determined by the most recent setting.
Known Issues:
1. If a character has set the gender of their unborn child but is still pregnant, the setting will be lost upon loading a saved game. This doesn’t affect later pregnancy.
I am not a modder, and I have almost no knowledge of Paradox’s scripting language. Therefore, if you encounter any other bugs, I cannot guarantee that I will be able to fix them, and I also cannot guarantee that this mod will continue to be updated. Thank you for your understanding.
【I’m not a native English speaker, sorry for all inconvenience.】
