From e554d88a09b6c3ae72909ed0fb2a69379d2905c1 Mon Sep 17 00:00:00 2001 From: "actions[bot]" Date: Mon, 30 Sep 2024 08:01:19 +0000 Subject: [PATCH] 2024-09-30 08:01:18 --- src/common/decisions/DOH_decision.txt | 209 ++++++++++++++++++ .../DOH_dynamic_modifiers.txt | 2 +- src/common/ideas/doh.txt | 1 + src/common/national_focus/donghuang_new.txt | 6 +- src/common/unit_leader/az_traits.txt | 3 - src/events/leaders_shijian.txt | 2 +- .../simp_chinese/azc_DOH_l_simp_chinese.yml | 9 +- 7 files changed, 223 insertions(+), 9 deletions(-) diff --git a/src/common/decisions/DOH_decision.txt b/src/common/decisions/DOH_decision.txt index 5410a74..b4d15d2 100755 --- a/src/common/decisions/DOH_decision.txt +++ b/src/common/decisions/DOH_decision.txt @@ -601,6 +601,215 @@ DOH_decision_category = { DOH_neibufenqi_jianqin_few_effect = yes } } + + DOH_gongyehua_0_chaogong = { + icon = xingdong + state_target = yes + on_map_mode = map_and_decisions_view + target_trigger = { + FROM = { + owner = { + has_autonomy_state = doh_fanshu + NOT = { + tag = DH1 + } + } + } + } + highlight_color_while_active = 1 + ai_will_do = { + factor = 5 + } + visible = { + FROM = { + OR = { + AND = { + DOH = { + num_of_factories > 1200 + has_completed_focus = DOH_chaogongtixi + } + } + is_debug = yes + } + has_state_category = pastoral + } + has_country_flag = DOH_xianshigongyehuajueyi + } + available = { + FROM = { + has_state_category = pastoral + PREV = { + num_of_civilian_factories_available_for_projects > 30 + } + } + } + cost = 50 + days_remove = 60 + modifier = { + civilian_factory_use = 30 + } + remove_effect = { + add_manpower = -100 + FROM = { + set_state_category = rural + } + DOH_neibufenqi_jianqin_few_effect = yes + } + } + DOH_gongyehua_1_chaogong = { + icon = xingdong + state_target = yes + on_map_mode = map_and_decisions_view + target_trigger = { + FROM = { + owner = { + has_autonomy_state = doh_fanshu + NOT = { + tag = DH1 + } + } + } + } + highlight_color_while_active = 1 + ai_will_do = { + factor = 5 + } + visible = { + FROM = { + OR = { + PREV = { + num_of_factories > 1000 + has_completed_focus = DOH_chaogongtixi + } + is_debug = yes + } + has_state_category = rural + } + has_country_flag = DOH_xianshigongyehuajueyi + } + available = { + FROM = { + has_state_category = rural + PREV = { + num_of_civilian_factories_available_for_projects > 25 + } + } + } + cost = 50 + days_remove = 60 + modifier = { + civilian_factory_use = 25 + } + remove_effect = { + FROM = { + set_state_category = town + } + DOH_neibufenqi_jianqin_few_effect = yes + } + } + DOH_gongyehua_2_chaogong = { + icon = xingdong + state_target = yes + on_map_mode = map_and_decisions_view + target_trigger = { + FROM = { + owner = { + has_autonomy_state = doh_fanshu + NOT = { + tag = DH1 + } + } + } + } + highlight_color_while_active = 1 + ai_will_do = { + factor = 5 + } + visible = { + FROM = { + OR = { + PREV = { + num_of_factories > 800 + has_completed_focus = DOH_chaogongtixi + } + is_debug = yes + } + has_state_category = town + } + has_country_flag = DOH_xianshigongyehuajueyi + } + available = { + FROM = { + has_state_category = town + PREV = { + num_of_civilian_factories_available_for_projects > 20 + } + } + } + cost = 50 + days_remove = 60 + modifier = { + civilian_factory_use = 20 + } + remove_effect = { + FROM = { + set_state_category = large_town + } + DOH_neibufenqi_jianqin_few_effect = yes + } + } + DOH_gongyehua_3_chaogong = { + icon = xingdong + state_target = yes + on_map_mode = map_and_decisions_view + target_trigger = { + FROM = { + owner = { + has_autonomy_state = doh_fanshu + NOT = { + tag = DH1 + } + } + } + } + highlight_color_while_active = 1 + ai_will_do = { + factor = 5 + } + visible = { + FROM = { + OR = { + PREV = { + num_of_factories > 600 + has_completed_focus = DOH_chaogongtixi + } + is_debug = yes + } + has_state_category = large_town + } + has_country_flag = DOH_xianshigongyehuajueyi + } + available = { + FROM = { + has_state_category = large_town + PREV = { + num_of_civilian_factories_available_for_projects > 10 + } + } + } + cost = 50 + days_remove = 60 + modifier = { + civilian_factory_use = 10 + } + remove_effect = { + FROM = { + set_state_category = city + } + DOH_neibufenqi_jianqin_few_effect = yes + } + } + DOH_feitianmeng_zhunbei = { icon = xingdong fire_only_once = yes diff --git a/src/common/dynamic_modifiers/DOH_dynamic_modifiers.txt b/src/common/dynamic_modifiers/DOH_dynamic_modifiers.txt index ab60015..4a95362 100755 --- a/src/common/dynamic_modifiers/DOH_dynamic_modifiers.txt +++ b/src/common/dynamic_modifiers/DOH_dynamic_modifiers.txt @@ -76,7 +76,7 @@ DOH_kejiaotixi = { monthly_population = 0.010 experience_loss_factor = -0.50 - + max_command_power = 200 country_resource_steel = var:DOH_minyonggongchang_counter_1 country_resource_steel = var:DOH_hechenglianyouchang_counter_2 diff --git a/src/common/ideas/doh.txt b/src/common/ideas/doh.txt index 7d62c1f..e9f1ab6 100755 --- a/src/common/ideas/doh.txt +++ b/src/common/ideas/doh.txt @@ -303,6 +303,7 @@ ideas = { war_support_factor = 0.3 research_speed_factor = 0.15 training_time_army_factor = -0.2 + max_command_power = 200 } } DOH_tcsg = { diff --git a/src/common/national_focus/donghuang_new.txt b/src/common/national_focus/donghuang_new.txt index 1f14de0..f9c651e 100755 --- a/src/common/national_focus/donghuang_new.txt +++ b/src/common/national_focus/donghuang_new.txt @@ -380,6 +380,7 @@ focus_tree = { set_technology = { electronic_mechanical_engineering = 1 mechanical_computing = 1 + radio = 1 popup = no } } @@ -515,6 +516,10 @@ focus_tree = { completion_reward = { custom_effect_tooltip = az_DOH_railway_organization_tooltip_1 add_ideas = DOH_donghuangzhongche_idea_0 + set_technology = { + armored_train = 1 + popup = no + } } } focus = { @@ -3998,7 +4003,6 @@ focus_tree = { } completion_reward = { custom_effect_tooltip = DOH_chaogongtixi_tooltip - custom_effect_tooltip = doh_fanshu_desc } } focus = { diff --git a/src/common/unit_leader/az_traits.txt b/src/common/unit_leader/az_traits.txt index 752b0e8..7a47698 100755 --- a/src/common/unit_leader/az_traits.txt +++ b/src/common/unit_leader/az_traits.txt @@ -346,9 +346,6 @@ leader_traits = { corps_commander_modifier = { max_commander_army_size = -3 } - field_marshal_modifier = { - max_army_group_size = -1 - } ai_will_do = { factor = 1 } diff --git a/src/events/leaders_shijian.txt b/src/events/leaders_shijian.txt index 0bd440d..9ad4d60 100755 --- a/src/events/leaders_shijian.txt +++ b/src/events/leaders_shijian.txt @@ -5169,7 +5169,7 @@ unit_leader_event = { clr_character_flag = xiujia_flag } add_tech_bonus = { - name = tp_bonus + name = "时空穿梭" bonus = 3.0 ahead_reduction = 2 uses = 2 diff --git a/src/localisation/simp_chinese/azc_DOH_l_simp_chinese.yml b/src/localisation/simp_chinese/azc_DOH_l_simp_chinese.yml index 0a864fc..31e0414 100755 --- a/src/localisation/simp_chinese/azc_DOH_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/azc_DOH_l_simp_chinese.yml @@ -17,7 +17,7 @@ DOH_donghuangkexueyuan_desc: "唯实、求真、协力、创新。" DOH_kuangyedaxue: "东煌矿业大学" DOH_kuangyedaxue_desc: "太行之阳河水东,莘莘学子救国重劳工。\n源深流自远,物阜民用丰。\n山葱葱,水溶溶,\n努力,努力!\n行健天同功。" - DOH_chaogongtixi_tooltip: "启用§C朝贡机制§!。" + DOH_chaogongtixi_tooltip: "启用§Y朝贡机制§!:\n§ga. §!按照§C自治程度§!向宗主国上贡工业产能(至多40%)。宗主国在朝贡体系内协调资源和为所有成员国提供安全保证。\n§gb. §!允许东煌对附属国进行§C东煌式现代化§!。" DOH_hongsedengta_tooltip: "解锁§Y先进舰娘的避风港§!决议,其他国家的共产主义舰娘将视本国政治局势转移至东煌,并在本国建立起红色政权后回归。" DOH_cijichaogongzhongxin: "次级朝贡中心" DOH_cijichaogongzhongxin_desc: "多元的朝贡中心有助于体系的稳定。" @@ -794,6 +794,10 @@ DOH_gongyehua_1: "东煌式现代化——乡村振兴:[FROM.getname]" DOH_gongyehua_2: "东煌式现代化——城乡结合:[FROM.getname]" DOH_gongyehua_3: "东煌式现代化——城镇化:[FROM.getname]" + DOH_gongyehua_0_chaogong: "现代朝贡体系——扶贫工程:[FROM.getname]" + DOH_gongyehua_1_chaogong: "现代朝贡体系——乡村振兴:[FROM.getname]" + DOH_gongyehua_2_chaogong: "现代朝贡体系——城乡结合:[FROM.getname]" + DOH_gongyehua_3_chaogong: "现代朝贡体系——城镇化:[FROM.getname]" DOH_gongyehua_visable: "显示东煌式现代化决议" DOH_gongyehua_no_visable: "隐藏东煌式现代化决议" DOH_chaoxianbandao: "朝鲜半岛" @@ -959,5 +963,4 @@ DOH_loong_event.3002.t: "北联的重建" DOH_loong_event.3002.d: "红色北方联合已经重建,北联舰娘向我们道别。" DOH_loong_event.3002.a: "山高水远,江湖再见!" - az_doh_fanshu_modifier: "现代朝贡体系" - doh_fanshu_desc: "按照§C自治程度§!向宗主国上贡工业产能(至多40%),宗主国在朝贡体系内协调资源和为所有成员国提供安全保证。" \ No newline at end of file + az_doh_fanshu_modifier: "现代朝贡体系" \ No newline at end of file