位階decisionsの変更提案

Issue #229 resolved
hamane hamata created an issue

今回の提案は、キャラクターにゲーム開始時から位階を保有できるようにするための位階ディシジョンの改造です。

現在のディシジョンでは、キャラクターにフラグを与えることでどの位階を追加するディシジョンを表示するかを判断しているため、キャラクターデータの方で位階traitを追加しても従五位下叙位ディシジョンが表示されます。

そこでフラグで判断する方法を止め、従五位下叙位ディシジョンは如何なる位階も保有していないことを条件に表示、従五位上叙位ディシジョン以降はその一階低い位階を保有していることを条件に表示、という風にし、キャラクターデータで位階を追加した人物もその一階高い位階を得るディシジョンが表示されるようにしたいのですが、どうでしょうか?

現在の状態:

decisions = {

    # Jugoi Ge

    gain_court_rank_1 = {
        is_high_prio = yes
        potential = {
            is_female = no
            is_landed = yes         
            independent = yes
            NOT = { primary_title = { title = e_tenno } }
            NOT = { primary_title = { title = e_qing } }
            NOT = { trait = jugoi_ge }
            NOT = { has_character_flag = court_rank_1 }
            NOT = { has_character_modifier = gain_a_court_rank_timer }
        }

        allow = {
            wealth = 100
            realm_size = 5
            OR = {
                tier = COUNT
                tier = DUKE
                tier = KING
                tier = EMPEROR
            }
            age = 16        
        }

        effect = {
            wealth = -100
            add_trait = jugoi_ge
            set_character_flag = court_rank_1
            hidden_tooltip = {
                add_character_modifier = {
                    name = gain_a_court_rank_timer
                    duration = 365
                }
            }
##      TODO: Opinion modifier with the Emperor and some letter events will be added later
        }

        revoke_allowed = {
        }

        ai_will_do = {
            factor = 1
        }
    }

    # Jugoi Jo

    gain_court_rank_2 = {
        is_high_prio = yes
        potential = {
            is_female = no
            is_landed = yes         
            independent = yes
            NOT = { primary_title = { title = e_tenno } }
            NOT = { primary_title = { title = e_qing } }
            trait = jugoi_ge
            NOT = { trait = jugoi_jo }
            has_character_flag = court_rank_1
            NOT = { has_character_flag = court_rank_2 }
            NOT = { has_character_modifier = gain_a_court_rank_timer }
        }

        allow = {
            wealth = 200
            realm_size = 10
            OR = {
                tier = COUNT
                tier = DUKE
                tier = KING
                tier = EMPEROR
            }
            age = 16        
        }

        effect = {
            wealth = -200
            add_trait = jugoi_jo
            remove_trait = jugoi_ge
            set_character_flag = court_rank_2
            hidden_tooltip = {
                add_character_modifier = {
                    name = gain_a_court_rank_timer
                    duration = 365
                }
            }
##      TODO: Opinion modifier with the Emperor and some letter events will be added later
        }

        revoke_allowed = {
        }

        ai_will_do = {
            factor = 1
        }
    }   

#以下略

変更案:

decisions = {

    # Jugoi Ge

    gain_court_rank_1 = {
        is_high_prio = yes
        potential = {
            is_female = no
            is_landed = yes         
            independent = yes
            NOT = { primary_title = { title = e_tenno } }
            NOT = { primary_title = { title = e_qing } }
            NOT = {
                OR = {
                    trait = jugoi_ge
                    trait = jugoi_jo
                    trait = shogoi_ge
                    trait = shogoi_jo
                    trait = jushii_ge
                    trait = jushii_jo
                    trait = shoshii_ge
                    trait = shoshii_jo
                    trait = jusanmi
                    trait = shosanmi
                    trait = junii
                    trait = shonii
                    trait = juichii
                    trait = shoichii
                }
            }
            NOT = { has_character_modifier = gain_a_court_rank_timer }
        }

        allow = {
            wealth = 100
            realm_size = 5
            OR = {
                tier = COUNT
                tier = DUKE
                tier = KING
                tier = EMPEROR
            }
            age = 16        
        }

        effect = {
            wealth = -100
            add_trait = jugoi_ge
            hidden_tooltip = {
                add_character_modifier = {
                    name = gain_a_court_rank_timer
                    duration = 365
                }
            }
##      TODO: Opinion modifier with the Emperor and some letter events will be added later
        }

        revoke_allowed = {
        }

        ai_will_do = {
            factor = 1
        }
    }

    # Jugoi Jo

    gain_court_rank_2 = {
        is_high_prio = yes
        potential = {
            is_female = no
            is_landed = yes         
            independent = yes
            NOT = { primary_title = { title = e_tenno } }
            NOT = { primary_title = { title = e_qing } }
            trait = jugoi_ge
            NOT = { trait = jugoi_jo }
            NOT = { has_character_modifier = gain_a_court_rank_timer }
        }

        allow = {
            wealth = 200
            realm_size = 10
            OR = {
                tier = COUNT
                tier = DUKE
                tier = KING
                tier = EMPEROR
            }
            age = 16        
        }

        effect = {
            wealth = -200
            add_trait = jugoi_jo
            remove_trait = jugoi_ge
            hidden_tooltip = {
                add_character_modifier = {
                    name = gain_a_court_rank_timer
                    duration = 365
                }
            }
##      TODO: Opinion modifier with the Emperor and some letter events will be added later
        }

        revoke_allowed = {
        }

        ai_will_do = {
            factor = 1
        }
    }

#以下略

Comments (2)

  1. Log in to comment