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

tatisane

Recruit
Jun 12, 2023
8
4
Hi,

As it says, I'm trying to get the give_birth command appear as a diplomacy decision that can be used on any pregnant woman. I can get it to appear, but it doesn't do anything. Any idea what I'm missing? Thank you.

Code:
targeted_decisions = {

    mm_childbirth = {
        filter = all_including_me
        ai_target_filter = none
        ai = no

        from_potential = {
            has_character_flag = cheats_enabled
        }   

        potential = {
            is_pregnant = yes
        }
        allow = {
            always = yes
        }
        effect = {
            give_birth = yes
        }   
    }
}