国家方針アンシュルスを読み解く

「国家方針アンシュルスを読み解く」の編集履歴(バックアップ)一覧に戻る

国家方針アンシュルスを読み解く - (2018/04/28 (土) 01:42:14) のソース

主に自分用メモアンシュルスの国家方針が何がどうなっているかのアレ。
FocusTreeManagerを使用している為、costとかXとかYとかは書いて無い為普通にtxt編集する時は少し情報が不足しているよ。
----
available = { #国家方針の条件式
        is_puppet = no #傀儡状態ではないか
        has_army_manpower = { #現在の陸軍のマンパワーを条件として設定
                size > 549999 #550.00K以上が条件
            }
        NOT = { #否定的条件
                has_idea = rhineland_challenge_met #ラインラント進駐反対の受諾の国家精神、NOTと合わせて取得していない事が条件
            }
    }
cancel = { #以下の場合取得不可
        OR = { #どれか一つ満たしているか
                is_subject = yes #インデント追加、文字を空白1文字空ける?
                has_idea = rhineland_challenge_met #これは上記の条件被りで表示されない?
                has_war_with = AUS #オーストリアは他国の従属国である?
            }
    }
cancel_if_invalid = no #不明
ai_will_do = { #AIの取得優先度の設定
        factor = 10 #基本は優先度がかなり高い
        modifier = {
                factor = 0 #だけど条件によって取らないよ。
                date < 1938.1.1 #1938年になるまでは
            }
    }
bypass = { #条件式の続き?
        OR = { #どれか一つの条件を満たす
                AUS = { #オーストラリアは
                        OR = { #一つ以上の条件式を満たす
                                is_subject = yes #インデント追加、文字を空白1文字空ける?
                                exists = no #存在しない
                                AND = { #以下のすべての条件式を満たす
                                        is_in_faction = yes #陣営に属している
                                        NOT = {
                                                is_in_faction_with = GER #ドイツと同じ陣営ではない
                                            }
                                    }
                            }
                    }
                GER = { #ドイツは
                        owns_state = 4 #低地オーストリアを領有中
                        owns_state = 152 #高地オーストリアを領有中
                        owns_state = 153 #チロルを領有中
                    }
            }
    }
completion_reward = { #国家方針を達成した時の処理
        army_experience = 10 #陸軍経験値10追加
        if = { 
                limit = {
                        country_exists = AUS
                        AUS = { #オーストリアは
                                has_civil_war = no #内戦が起きていない
                                OR = {
                                        owns_state = 4
                                        owns_state = 152
                                        owns_state = 153
                                    }
                            }
                    }
                AUS = {
                        country_event = germany.28 #イベントを発生させる。
                    }
                custom_effect_tooltip = anschluss_mefo_bills_tt #「オーストリアの金を利用して、メフォ手形のコストを削減する」というメッセージ
            }
        if = {
                limit = {
                        any_other_country = {
                                original_tag = AUS #オーストリアは
                                has_civil_war = yes #内戦が起きている。
                                OR = {
                                        owns_state = 4
                                        owns_state = 152
                                        owns_state = 153
                                    }
                            }
                    }
                custom_effect_tooltip = germany.126.warning #赤字の「戦争をする事が出来る」というメッセージ
                random_other_country = {
                        limit = {
                                original_tag = AUS
                                OR = {
                                        has_government = fascism
                                        AND = {
                                                has_government = neutrality
                                                NOT = {
                                                        any_other_country = {
                                                                original_tag = AUS
                                                                has_government = fascism
                                                            }
                                                    }
                                            }
                                        NOT = {
                                                any_other_country = {
                                                        original_tag = AUS
                                                        OR = {
                                                                has_government = fascism
                                                                has_government = neutrality
                                                            }
                                                    }
                                            }
                                    }
                            }
                        country_event = { #イベント呼び出し
                                id = germany.126
                                days = 1
                            }
                    }
            }
        if = {
                limit = {
                        4 = {
                                owner = {
                                        NOT = {
                                                tag = AUS
                                            }
                                        NOT = {
                                                is_in_faction_with = ROOT
                                            }
                                    }
                            }
                    }
                add_state_core = 4
            }
        if = {
                limit = {
                        152 = {
                                owner = {
                                        NOT = {
                                                tag = AUS
                                            }
                                        NOT = {
                                                is_in_faction_with = ROOT
                                            }
                                    }
                            }
                    }
                add_state_core = 152
            }
        if = {
                limit = {
                        153 = {
                                owner = {
                                        NOT = {
                                                tag = AUS
                                            }
                                        NOT = {
                                                is_in_faction_with = ROOT
                                            }
                                    }
                            }
                    }
                add_state_core = 153
            }
    }