From 9d783095305261387a0e8b232a226a54d2f1909d Mon Sep 17 00:00:00 2001 From: "actions[bot]" Date: Sun, 4 Aug 2024 16:01:49 +0000 Subject: [PATCH] 2024-08-04 16:01:49 --- src/common/ideas/fazhanfangzhen.txt | 2 +- src/common/national_focus/donghuang_new.txt | 2 +- .../national_focus/donghuangyuanzhengjun.txt | 13 ++--- src/common/on_actions/az_on_actions.txt | 53 +++++++++++-------- src/events/leaders_shijian.txt | 12 ++--- 5 files changed, 44 insertions(+), 38 deletions(-) diff --git a/src/common/ideas/fazhanfangzhen.txt b/src/common/ideas/fazhanfangzhen.txt index c3c62bd..45d3993 100755 --- a/src/common/ideas/fazhanfangzhen.txt +++ b/src/common/ideas/fazhanfangzhen.txt @@ -29,7 +29,7 @@ ideas = { modifier = { political_power_cost = 0.5 military_industrial_organization_funds_gain = 1 - military_industrial_organization_policy_cooldown = 5 + military_industrial_organization_policy_cooldown = -0.9 land_doctrine_cost_factor = -0.15 air_doctrine_cost_factor = -0.15 naval_doctrine_cost_factor = -0.15 diff --git a/src/common/national_focus/donghuang_new.txt b/src/common/national_focus/donghuang_new.txt index 7179360..e639309 100755 --- a/src/common/national_focus/donghuang_new.txt +++ b/src/common/national_focus/donghuang_new.txt @@ -2921,7 +2921,7 @@ focus_tree = { relative_position_id = DOH_hailufuhe available = { has_equipment = { - convoy > 2999 + convoy > 999 } } ai_will_do = { diff --git a/src/common/national_focus/donghuangyuanzhengjun.txt b/src/common/national_focus/donghuangyuanzhengjun.txt index 47ba79d..c8c5a26 100755 --- a/src/common/national_focus/donghuangyuanzhengjun.txt +++ b/src/common/national_focus/donghuangyuanzhengjun.txt @@ -1339,7 +1339,7 @@ icon = GFX_focus_generic_concessions x = 0 y = 3 - cost = 5 + cost = 3 relative_position_id = DH1_jiaqianglianluo prerequisite = { focus = DH1_jiaqianglianluo @@ -1362,6 +1362,7 @@ has_war = yes surrender_progress > 0.1 } + date > 1939.1.1 } } @@ -1602,7 +1603,7 @@ icon = GFX_focus_generic_railroad x = 2 y = 1 - cost = 5 + cost = 3 relative_position_id = DH1_ludilianjie prerequisite = { focus = DH1_ludilianjie @@ -1640,7 +1641,7 @@ icon = GFX_focus_generic_supply_line x = -2 y = 1 - cost = 5 + cost = 3 relative_position_id = DH1_ludilianjie prerequisite = { focus = DH1_ludilianjie @@ -1787,7 +1788,7 @@ icon = GFX_focus_manjiu x = 1 y = 2 - cost = 5 + cost = 3 relative_position_id = DH1_ludilianjie prerequisite = { focus = DH1_ludilianjie @@ -2305,8 +2306,8 @@ has_idea = DH1_junshi_2 } swap_ideas = { - remove_idea = DH1_neizheng_2 - add_idea = DH1_neizheng_21 + remove_idea = DH1_junshi_2 + add_idea = DH1_junshi_21 } } } diff --git a/src/common/on_actions/az_on_actions.txt b/src/common/on_actions/az_on_actions.txt index 7b02f39..ff5489c 100755 --- a/src/common/on_actions/az_on_actions.txt +++ b/src/common/on_actions/az_on_actions.txt @@ -762,30 +762,39 @@ on_actions = { on_unit_leader_level_up = { effect = { #约克城 - if = { - limit = { - is_character = BYG_yuekecheng - skill > 4 - skill < 6 + every_country = { + BYG_yuekecheng = { + if = { + limit = { + skill > 4 + skill < 6 + NOT = { + has_character_flag = BYG_yuekecheng_upgrade_flag + } + } + set_portraits = { + army = { large ="gfx/leaders/BYG/yuekecheng2.png"} + civilian = { large ="gfx/leaders/BYG/yuekecheng2.png" } + } + set_character_flag = BYG_yuekecheng_upgrade_flag + unit_leader_event = getzhg_event.2701 + } } - set_portraits = { - army = { large ="gfx/leaders/BYG/yuekecheng2.png"} - civilian = { large ="gfx/leaders/BYG/yuekecheng2.png" } + #哈曼 + BYG_haman = { + if = { + limit = { + is_character = BYG_haman + skill > 4 + skill < 6 + } + set_portraits = { + army = { large ="gfx/leaders/BYG/haman2.png"} + civilian = { large ="gfx/leaders/BYG/haman2.png" } + } + unit_leader_event = getzhg_event.2702 + } } - unit_leader_event = getzhg_event.2701 - } - #哈曼 - if = { - limit = { - is_character = BYG_haman - skill > 4 - skill < 6 - } - set_portraits = { - army = { large ="gfx/leaders/BYG/haman2.png"} - civilian = { large ="gfx/leaders/BYG/haman2.png" } - } - unit_leader_event = getzhg_event.2702 } } } diff --git a/src/events/leaders_shijian.txt b/src/events/leaders_shijian.txt index 011f5e3..a9f4a2c 100755 --- a/src/events/leaders_shijian.txt +++ b/src/events/leaders_shijian.txt @@ -242,8 +242,7 @@ country_event = { remove_unit_leader_trait = search_pattern_expert remove_unit_leader_trait = lone_wolf remove_unit_leader_trait = concealment_expert - remove_unit_leader_trait = mine_sweeper - remove_unit_leader_trait = mine_layer + remove_unit_leader_trait = mine_craft remove_unit_leader_trait = smoke_screen_expert remove_unit_leader_trait = big_guns_expert remove_unit_leader_trait = ground_pounder @@ -303,8 +302,7 @@ country_event = { remove_unit_leader_trait = search_pattern_expert remove_unit_leader_trait = lone_wolf remove_unit_leader_trait = concealment_expert - remove_unit_leader_trait = mine_sweeper - remove_unit_leader_trait = mine_layer + remove_unit_leader_trait = mine_craft remove_unit_leader_trait = smoke_screen_expert remove_unit_leader_trait = big_guns_expert remove_unit_leader_trait = ground_pounder @@ -409,8 +407,7 @@ country_event = { remove_unit_leader_trait = search_pattern_expert remove_unit_leader_trait = lone_wolf remove_unit_leader_trait = concealment_expert - remove_unit_leader_trait = mine_sweeper - remove_unit_leader_trait = mine_layer + remove_unit_leader_trait = mine_craft remove_unit_leader_trait = smoke_screen_expert remove_unit_leader_trait = big_guns_expert remove_unit_leader_trait = ground_pounder @@ -470,8 +467,7 @@ country_event = { remove_unit_leader_trait = search_pattern_expert remove_unit_leader_trait = lone_wolf remove_unit_leader_trait = concealment_expert - remove_unit_leader_trait = mine_sweeper - remove_unit_leader_trait = mine_layer + remove_unit_leader_trait = mine_craft remove_unit_leader_trait = smoke_screen_expert remove_unit_leader_trait = big_guns_expert remove_unit_leader_trait = ground_pounder