decisions = {
    exorcise_ghosts_decision = {
        filter = self
        ai_target_filter = self
        
        potential = {
            ai = no 
        }
        
        allow = {
            always = yes 
        }
        
        effect = {
            
            hidden_tooltip = {
                any_child_even_if_dead = {
                    limit = { is_alive = no }
                    set_father = 0
                    set_mother = 0
                }
                any_sibling_even_if_dead = {
                    limit = { is_alive = no }
                    set_father = 0
                    set_mother = 0
                }
                any_character = {
                    limit = {
                        is_alive = no
                        is_spouse_of = ROOT
                    }
                    remove_spouse = ROOT
                }
            }
            
            custom_tooltip = EXORCISM_GOOD_TIP
        }
        
        ai_will_do = {
            factor = 0 
        }
    }
}