Untitled

 avatar
unknown
plain_text
2 years ago
3.5 kB
6
Indexable
 ambition_become_despot_finish = {
    effect = {
        custom_tooltip = ambition_become_despot_finish_tooltip
        hidden_effect = {
            if = {
                limit = {
                    is_alive = yes
                    is_adult = yes
                    number_of_traits < 6
                }
                random_list = {
                    1 = {
                        trigger = {
                            NOR = {
                                has_trait = abrasive
                                has_trait = good_natured
                            }
                            number_of_personality_traits < max_number_of_traits_svalue
                        }
                        add_trait = abrasive
                    }
                    1 = {
                        trigger = {
                            NOR = {
                                has_trait = crafty
                                has_trait = guileless
                            }
                            number_of_personality_traits < max_number_of_traits_svalue
                        }
                        add_trait = crafty
                    }
                    1 = {
                        trigger = {
                            NOR = {
                                has_trait = cruel
                                has_trait = merciful
                            }
                            number_of_personality_traits < max_number_of_traits_svalue
                        }
                        add_trait = cruel
                    }
                    1 = {
                        trigger = {
                            NOR = {
                                has_trait = righteous
                                has_trait = corrupt
                            }
                            number_of_personality_traits < max_number_of_traits_svalue
                        }
                        add_trait = corrupt
                    }
                    1 = {
                        trigger = {
                            NOR = {
                                has_trait = generous
                                has_trait = selfish
                                has_trait = miserly
                            }
                            number_of_personality_traits < max_number_of_traits_svalue
                        }
                        add_trait = selfish
                    }
                    1 = {
                        trigger = {
                            NOR = {
                                has_trait = honest
                                has_trait = deceitful
                            }
                            number_of_personality_traits < max_number_of_traits_svalue
                        }
                        add_trait = deceitful
                    }
                    1 = {
                        trigger = {
                            NOR = {
                                has_trait = self_controlled
                                has_trait = gluttonous
                            }
                            number_of_personality_traits < max_number_of_traits_svalue
                        }
                        add_trait = gluttonous
                    }
                }
            }
        }
        oligarchic_growing_up_ambition_effect = yes
    }
} 
Editor is loading...