ideas = {

    mj_female_service = {
        law = yes
        use_list_view = yes
        

        equal_service = {

            available = {
                
                OR = {
                    has_idea = affirmative_actionF
                    has_idea = full_equality
                }
            }

            level = 4

            modifier = {
                political_power_factor = -0.1
                war_support_factor = 0.05
                stability_factor = 0.05
                conscription_factor = 0.15
            }

            ai_will_do = {
                base = 20

                modifier = {
                    has_government = communism
                    add = 80
                }

                modifier = {
                    has_government = communism
                    tag = SOV 
                    add = 400
                }

                modifier = {
                    has_idea = affirmative_actionF
                    add = 60    
                }

                modifier = {
                    has_idea = full_equality
                    add = 40
                }
                
            }

            cancel_if_invalid = yes
        }

        support_roles = {

            available = {
                
                NOT = {
                    has_idea = no_legal_protections
                    has_idea = patriarchal_society
                }
            }

            level = 3

            modifier = {
                political_power_factor = -0.05
                stability_factor = 0.05
                conscription_factor = 0.10
                training_time_army_factor =  -0.05
                army_morale_factor = 0.05
                experience_loss_factor = -0.05
            }

            ai_will_do = {
                base = 30 

                modifier = {
                    has_idea = limited_womens_rights
                    add = 20
                }

                modifier = {
                    has_government = democratic
                    add = 10
                }
            }

            cancel_if_invalid = yes
        }

        non_combat_roles = {

            available = {
                NOT = {
                    has_idea = affirmative_actionF
                    has_idea = full_equality
                }
            }

            level = 1

            modifier = {
                stability_factor = -0.05
                conscription_factor = 0.05
                attrition = -0.10
            }

            research_bonus = {hospital_tech = 0.25}

            ai_will_do = {
                base = 20

                modifier = {
                    has_idea = no_legal_protections
                    add = 20
                }
            }

            cancel_if_invalid = yes
        }

        service_prohibited = {
            
            available = {
                NOT = {
                    has_idea = affirmative_actionF
                    has_idea = full_equality
                }
            }

            level =  2

            modifier = {
                political_power_factor = 0.05
                stability_factor = -0.05
                drift_defence_factor = 0.1
            }

            ai_will_do = {
                base = 10

                modifier = {
                    has_government = fascism
                    add = 100
                }

                modifier = {
                    has_idea = patriarchal_society
                    add = 100
                }

                modifier = {
                    has_idea = no_legal_protections
                    add = 70
                }
            }

            cancel_if_invalid = yes
        }
    }
}