From 6b6becd172f197c3c88171925f0649c8a63fdc97 Mon Sep 17 00:00:00 2001 From: "actions[bot]" Date: Wed, 25 Sep 2024 08:01:18 +0000 Subject: [PATCH] 2024-09-25 08:01:18 --- src/common/ai_equipment/BLI_tank.txt | 122 ++++ src/common/ai_equipment/SAD_tank.txt | 184 ++++++ src/common/ai_equipment/SIR_tank.txt | 122 ++++ src/common/ai_strategy/CHY.txt | 17 +- src/common/ai_strategy/DOH.txt | 54 +- src/common/ai_strategy/SIR.txt | 116 +++- src/common/ai_strategy/TIX.txt | 1 + src/common/ai_strategy/ai_tank_research.txt | 62 ++ src/common/ai_templates/templates_BLI.txt | 4 +- src/common/ai_templates/templates_CHY.txt | 95 ++- src/common/ai_templates/templates_DOH.txt | 37 +- src/common/ai_templates/templates_SIR.txt | 18 +- src/common/country_leader/az_psh_traits.txt | 16 +- src/common/decisions/BLI_decisions.txt | 3 +- src/common/decisions/SIR_decisions.txt | 3 +- src/common/decisions/YUW_decisions.txt | 14 +- src/common/decisions/tianjiang_decision.txt | 60 +- src/common/ideas/tianjiang.txt | 109 ++-- src/common/ideas/yuw.txt | 27 +- src/common/national_focus/beifanglianhe.txt | 4 +- src/common/national_focus/chongying_new.txt | 91 +++ src/common/national_focus/donghuang_new.txt | 18 +- src/common/national_focus/sir.txt | 573 +++++++++++++++++- src/common/unit_leader/az_traits.txt | 4 +- src/events/BFL_shijian.txt | 7 +- src/events/YUW_shijian.txt | 189 +++--- src/events/ai_bianzhi.txt | 60 ++ .../units/DOH_haianfangshou_fengkuangai.txt | 139 +++++ .../simp_chinese/azc_YUW_l_simp_chinese.yml | 11 +- 29 files changed, 1924 insertions(+), 236 deletions(-) create mode 100755 src/history/units/DOH_haianfangshou_fengkuangai.txt diff --git a/src/common/ai_equipment/BLI_tank.txt b/src/common/ai_equipment/BLI_tank.txt index c54b58f..b59ff7c 100755 --- a/src/common/ai_equipment/BLI_tank.txt +++ b/src/common/ai_equipment/BLI_tank.txt @@ -420,4 +420,126 @@ BLI_medium_flame_tank = { easy_maintenance } } +} + +BLI_light_tanks = { + category = land + blocked_for = {} + available_for = { BLI } + roles = { + land_light_tank + } + priority = { + factor = 3000 + } + basic_light_tank_default = { #Somua S35 + priority = { + factor = 300 + modifier = { + has_tech = improved_light_tank_chassis + factor = 0 #let's not waste XP here + } + } + target_variant = { + match_value = 1000 + type = light_tank_chassis_1 + modules = { + main_armament_slot = tank_close_support_gun + turret_type_slot = tank_light_three_man_tank_turret + suspension_type_slot = tank_wheeled_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_diesel_engine + special_type_slot_1 = easy_maintenance + special_type_slot_2 = extra_ammo_storage + special_type_slot_3 = extra_ammo_storage + special_type_slot_4 = extra_ammo_storage + } + upgrades = { + tank_nsb_engine_upgrade = 0 + tank_nsb_armor_upgrade = 0 + } + } + allowed_modules = { + tank_heavy_machine_gun + tank_close_support_gun + tank_light_three_man_tank_turret + tank_wheeled_suspension + tank_riveted_armor + tank_diesel_engine + extra_ammo_storage + easy_maintenance + } + } + improved_light_tank_default = {#AMC 35 + priority = { + factor = 400 + modifier = { + has_tech = advanced_light_tank_chassis + factor = 0 #let's not waste XP here + } + } + target_variant = { + match_value = 1000 + type = light_tank_chassis_2 + modules = { + main_armament_slot = tank_close_support_gun + turret_type_slot = tank_light_three_man_tank_turret + suspension_type_slot = tank_wheeled_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_diesel_engine + special_type_slot_1 = easy_maintenance + special_type_slot_2 = extra_ammo_storage + special_type_slot_3 = extra_ammo_storage + special_type_slot_4 = extra_ammo_storage + } + upgrades = { + tank_nsb_engine_upgrade = 0 + tank_nsb_armor_upgrade = 0 + } + } + allowed_modules = { + tank_heavy_machine_gun + tank_close_support_gun + tank_light_three_man_tank_turret + tank_wheeled_suspension + tank_riveted_armor + tank_diesel_engine + easy_maintenance + extra_ammo_storage + } + } + advanced_light_tank_default = { #SARL42 + priority = { + factor = 500 + } + target_variant = { + match_value = 1000 + type = light_tank_chassis_3 + modules = { + main_armament_slot = tank_close_support_gun + turret_type_slot = tank_light_three_man_tank_turret + suspension_type_slot = tank_wheeled_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_diesel_engine + special_type_slot_1 = easy_maintenance + special_type_slot_2 = extra_ammo_storage + special_type_slot_3 = extra_ammo_storage + special_type_slot_4 = extra_ammo_storage + } + upgrades = { + tank_nsb_engine_upgrade = 0 + tank_nsb_armor_upgrade = 0 + } + } + allowed_modules = { + tank_heavy_machine_gun + tank_close_support_gun + tank_light_three_man_tank_turret + tank_wheeled_suspension + tank_riveted_armor + tank_diesel_engine + extra_ammo_storage + easy_maintenance + } + } } \ No newline at end of file diff --git a/src/common/ai_equipment/SAD_tank.txt b/src/common/ai_equipment/SAD_tank.txt index 6f2be2b..e154eaa 100755 --- a/src/common/ai_equipment/SAD_tank.txt +++ b/src/common/ai_equipment/SAD_tank.txt @@ -443,6 +443,190 @@ SAD_medium_tanks = { } } } + +SAD_medium_tank_destroyers = { + category = land + blocked_for = {} + available_for = { SAD } + roles = { + land_medium_tank_destroyer + } + priority = { + factor = 500 + } + medium_tank_destroyer_1 = { #Somua S35 + priority = { + factor = 300 + modifier = { + has_tech = improved_medium_tank_chassis + factor = 0 #let's not waste XP here + } + } + + target_variant = { + match_value = 1000 + type = medium_tank_destroyer_chassis_1 + modules = { + main_armament_slot = { + any_of = { + tank_high_velocity_cannon_3 + tank_heavy_cannon_3 + tank_high_velocity_cannon_2 + tank_heavy_cannon_2 + tank_heavy_cannon + tank_medium_cannon_2 + tank_medium_cannon + tank_high_velocity_cannon + } + } + turret_type_slot = tank_medium_fixed_superstructure_turret + suspension_type_slot = tank_christie_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_gasoline_engine + special_type_slot_1 = secondary_turret_small_cannon + special_type_slot_2 = secondary_turret_small_cannon + special_type_slot_3 = easy_maintenance + special_type_slot_4 = empty + } + upgrades = { + tank_nsb_engine_upgrade = 10 + tank_nsb_armor_upgrade = 0 + } + } + allowed_modules = { + tank_heavy_cannon_3 + tank_heavy_cannon_2 + tank_heavy_cannon + tank_medium_cannon_2 + tank_medium_cannon + tank_high_velocity_cannon_3 + tank_high_velocity_cannon_2 + tank_high_velocity_cannon + tank_medium_fixed_superstructure_turret + tank_christie_suspension + tank_riveted_armor + tank_gasoline_engine + secondary_turret_small_cannon + sloped_armor + easy_maintenance + } + } + medium_tank_destroyer_2 = {#AMC 35 + priority = { + factor = 400 + modifier = { + has_tech = advanced_medium_tank_chassis + factor = 0 #let's not waste XP here + } + } + + target_variant = { + match_value = 1000 + type = medium_tank_destroyer_chassis_2 + modules = { + main_armament_slot = { + any_of = { + tank_high_velocity_cannon_3 + tank_heavy_cannon_3 + tank_high_velocity_cannon_2 + tank_heavy_cannon_2 + tank_heavy_cannon + tank_medium_cannon_2 + tank_medium_cannon + tank_high_velocity_cannon + } + } + turret_type_slot = tank_medium_fixed_superstructure_turret + suspension_type_slot = tank_christie_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_gasoline_engine + special_type_slot_1 = secondary_turret_small_cannon + special_type_slot_2 = secondary_turret_small_cannon + special_type_slot_3 = easy_maintenance + special_type_slot_4 = extra_ammo_storage + } + upgrades = { + tank_nsb_engine_upgrade = 0 + tank_nsb_armor_upgrade = 0 + } + } + allowed_modules = { + tank_heavy_cannon_3 + tank_heavy_cannon_2 + tank_heavy_cannon + tank_medium_cannon_2 + tank_medium_cannon + tank_high_velocity_cannon_3 + tank_high_velocity_cannon_2 + tank_high_velocity_cannon + tank_medium_fixed_superstructure_turret + tank_christie_suspension + tank_riveted_armor + tank_gasoline_engine + secondary_turret_small_cannon + extra_ammo_storage + easy_maintenance + } + } + medium_tank_destroyer_3 = { #SARL42 + priority = { + factor = 500 + modifier = { + NOT = { has_tech = advanced_medium_tank_chassis } + factor = 0 #let's not waste XP here + } + } + + target_variant = { + match_value = 1000 + type = medium_tank_destroyer_chassis + modules = { + main_armament_slot = { + any_of = { + tank_high_velocity_cannon_3 + tank_heavy_cannon_3 + tank_high_velocity_cannon_2 + tank_heavy_cannon_2 + tank_heavy_cannon + tank_medium_cannon_2 + tank_medium_cannon + tank_high_velocity_cannon + } + } + turret_type_slot = tank_medium_fixed_superstructure_turret + suspension_type_slot = tank_christie_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_gasoline_engine + special_type_slot_1 = secondary_turret_small_cannon + special_type_slot_2 = secondary_turret_small_cannon + special_type_slot_3 = easy_maintenance + special_type_slot_4 = extra_ammo_storage + } + upgrades = { + tank_nsb_engine_upgrade = 0 + tank_nsb_armor_upgrade = 0 + } + } + allowed_modules = { + tank_heavy_cannon_3 + tank_heavy_cannon_2 + tank_heavy_cannon + tank_medium_cannon_2 + tank_medium_cannon + tank_high_velocity_cannon_3 + tank_high_velocity_cannon_2 + tank_high_velocity_cannon + tank_medium_fixed_superstructure_turret + tank_christie_suspension + tank_riveted_armor + tank_gasoline_engine + secondary_turret_small_cannon + extra_ammo_storage + easy_maintenance + } + } +} + SAD_medium_flame_tank = { category = land diff --git a/src/common/ai_equipment/SIR_tank.txt b/src/common/ai_equipment/SIR_tank.txt index cf94ab3..1096ecc 100755 --- a/src/common/ai_equipment/SIR_tank.txt +++ b/src/common/ai_equipment/SIR_tank.txt @@ -420,4 +420,126 @@ SIR_medium_flame_tank = { easy_maintenance } } +} + +SIR_light_tanks = { + category = land + blocked_for = {} + available_for = { SIR } + roles = { + land_light_tank + } + priority = { + factor = 3000 + } + basic_light_tank_default = { #Somua S35 + priority = { + factor = 300 + modifier = { + has_tech = improved_light_tank_chassis + factor = 0 #let's not waste XP here + } + } + target_variant = { + match_value = 1000 + type = light_tank_chassis_1 + modules = { + main_armament_slot = tank_close_support_gun + turret_type_slot = tank_light_three_man_tank_turret + suspension_type_slot = tank_wheeled_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_diesel_engine + special_type_slot_1 = easy_maintenance + special_type_slot_2 = extra_ammo_storage + special_type_slot_3 = extra_ammo_storage + special_type_slot_4 = extra_ammo_storage + } + upgrades = { + tank_nsb_engine_upgrade = 0 + tank_nsb_armor_upgrade = 0 + } + } + allowed_modules = { + tank_heavy_machine_gun + tank_close_support_gun + tank_light_three_man_tank_turret + tank_wheeled_suspension + tank_riveted_armor + tank_diesel_engine + extra_ammo_storage + easy_maintenance + } + } + improved_light_tank_default = {#AMC 35 + priority = { + factor = 400 + modifier = { + has_tech = advanced_light_tank_chassis + factor = 0 #let's not waste XP here + } + } + target_variant = { + match_value = 1000 + type = light_tank_chassis_2 + modules = { + main_armament_slot = tank_close_support_gun + turret_type_slot = tank_light_three_man_tank_turret + suspension_type_slot = tank_wheeled_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_diesel_engine + special_type_slot_1 = easy_maintenance + special_type_slot_2 = extra_ammo_storage + special_type_slot_3 = extra_ammo_storage + special_type_slot_4 = extra_ammo_storage + } + upgrades = { + tank_nsb_engine_upgrade = 0 + tank_nsb_armor_upgrade = 0 + } + } + allowed_modules = { + tank_heavy_machine_gun + tank_close_support_gun + tank_light_three_man_tank_turret + tank_wheeled_suspension + tank_riveted_armor + tank_diesel_engine + easy_maintenance + extra_ammo_storage + } + } + advanced_light_tank_default = { #SARL42 + priority = { + factor = 500 + } + target_variant = { + match_value = 1000 + type = light_tank_chassis_3 + modules = { + main_armament_slot = tank_close_support_gun + turret_type_slot = tank_light_three_man_tank_turret + suspension_type_slot = tank_wheeled_suspension + armor_type_slot = tank_riveted_armor + engine_type_slot = tank_diesel_engine + special_type_slot_1 = easy_maintenance + special_type_slot_2 = extra_ammo_storage + special_type_slot_3 = extra_ammo_storage + special_type_slot_4 = extra_ammo_storage + } + upgrades = { + tank_nsb_engine_upgrade = 0 + tank_nsb_armor_upgrade = 0 + } + } + allowed_modules = { + tank_heavy_machine_gun + tank_close_support_gun + tank_light_three_man_tank_turret + tank_wheeled_suspension + tank_riveted_armor + tank_diesel_engine + extra_ammo_storage + easy_maintenance + } + } } \ No newline at end of file diff --git a/src/common/ai_strategy/CHY.txt b/src/common/ai_strategy/CHY.txt index 312245a..43e4dd4 100755 --- a/src/common/ai_strategy/CHY.txt +++ b/src/common/ai_strategy/CHY.txt @@ -168,6 +168,7 @@ CHY_unit_production_army_before_1940 = { NOT = { has_idea = TY_dingzhenai } + } abort = { OR = { @@ -175,6 +176,8 @@ CHY_unit_production_army_before_1940 = { date > 1940.1.1 NOT = { country_exists = DOH } has_idea = TY_dingzhenai + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex } } @@ -262,6 +265,10 @@ CHY_unit_production_army_after_1940 = { NOT = { has_idea = TY_dingzhenai } + OR = { + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } } } abort_when_not_enabled = yes @@ -792,9 +799,16 @@ strike_DOH = { enable = { has_war_with = DOH date < 1938.2.1 + OR = { + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } } abort = { date > 1938.2.1 + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } + } ai_strategy = { @@ -1191,7 +1205,8 @@ CHY_hold_up_in_china = { #We got this far but there are bigger targets to worry 613 = { # Nanjing is_controlled_by = CHY } - + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } } abort_when_not_enabled = yes diff --git a/src/common/ai_strategy/DOH.txt b/src/common/ai_strategy/DOH.txt index 00ef8da..3d84590 100755 --- a/src/common/ai_strategy/DOH.txt +++ b/src/common/ai_strategy/DOH.txt @@ -192,10 +192,16 @@ DOH_unit_production_at_week = { NOT = { has_idea = TY_dingzhenai } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } } abort = { - num_of_military_factories > 150 + OR = { + num_of_military_factories > 150 has_idea = TY_dingzhenai + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } } ai_strategy = { @@ -273,15 +279,14 @@ DOH_unit_production_at_strong = { original_tag = DOH } enable = { + NOT = { has_idea = TY_dingzhenai } + OR = { num_of_military_factories > 149 - NOT = { - has_idea = TY_dingzhenai - } + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex } - abort = { - num_of_military_factories < 150 - has_idea = TY_dingzhenai } + abort_when_not_enabled = yes ai_strategy = { type = role_ratio @@ -647,6 +652,8 @@ DOH_hunker_down_now = { CHY = { has_war_with = BYG } CHY = { has_war_with = YUW } CHY = { has_war_with = HUJ } + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex } } @@ -674,6 +681,39 @@ DOH_hunker_down_now = { } } +strike_CHY_fengkuangAI = { + allowed = { + original_tag = DOH + } + enable = { + has_war_with = CHY + OR = { + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } + } + abort_when_not_enabled = yes + + ai_strategy = { + type = front_control + + tag = CHY + + ratio = 0.25 + + priority = 100 + ordertype = front + execution_type = rush + } + + ai_strategy = { + type = front_unit_request + tag = CHY + value = 200 + } + +} + DOH_war_with_CHY_at_strong = { allowed = { original_tag = DOH diff --git a/src/common/ai_strategy/SIR.txt b/src/common/ai_strategy/SIR.txt index f0fa733..9917a57 100755 --- a/src/common/ai_strategy/SIR.txt +++ b/src/common/ai_strategy/SIR.txt @@ -172,10 +172,12 @@ SIR_unit_production_army_before_1940 = { NOT = { has_idea = TY_dingzhenai } + NOT = { has_global_flag = modoption_historicalbossai_on } } abort = { NOT = { country_exists = BLI } has_idea = TY_dingzhenai + has_global_flag = modoption_historicalbossai_on } ai_strategy = { @@ -271,10 +273,118 @@ SIR_unit_production_army_after_1940 = { original_tag = SIR } enable = { - NOT = { country_exists = BLI } - NOT = { - has_idea = TY_dingzhenai + NOT = { country_exists = BLI } + NOT = { has_idea = TY_dingzhenai } + has_global_flag = modoption_historicalbossai_on } + abort = { + has_global_flag = modoption_historicalbossai_on + } + + ai_strategy = { + type = role_ratio + id = garrison + value = -100 + } + + ai_strategy = { + type = role_ratio + id = paratroopers + value = 0 + } + + ai_strategy = { + type = role_ratio + id = mountaineers + value = 0 + } + + ai_strategy = { + type = role_ratio + id = marines + value = 0 + } + + ai_strategy = { + type = role_ratio + id = cavalry + value = -100 + } + + ai_strategy = { + type = role_ratio #模板倾向 + id = infantry + value = 400 + } + ai_strategy = { + type = template_prio #修改模板倾向 + id = infantry + value = 50 + } + ai_strategy = { + type = role_ratio #模板倾向 + id = armor + value = 2000 + } + ai_strategy = { + type = template_prio #修改模板倾向 + id = armor + value = 1000 + } + ai_strategy = { + type = equipment_production_factor #装备倾向 + id = armor + value = 1000 + } + ai_strategy = { + type = equipment_production_factor #装备倾向 + id = infantry + value = 20 + } + ai_strategy = { + type = equipment_production_factor #装备倾向 + id = anti_air + value = 10 + } + ai_strategy = { + type = equipment_production_factor #装备倾向 + id = land_heavy_tank_destroyer + value = 500 + } + + ai_strategy = { + type = equipment_production_min_factories + id = land_heavy_tank + value = 1 + } + ai_strategy = { + type = equipment_production_min_factories + id = land_heavy_tank_destroyer + value = 1 + } + ai_strategy = { + type = equipment_production_min_factories + id = train + value = 1 + } + + ai_strategy = { + type = ignore_army_incompetence + value = 10000 + } + + ai_strategy = { + type = force_build_armies + value = 100 + } +} + +SIR_unit_production_army_historicalbossai_on = { + allowed = { + original_tag = SIR + } + enable = { + has_global_flag = modoption_historicalbossai_on } abort_when_not_enabled = yes diff --git a/src/common/ai_strategy/TIX.txt b/src/common/ai_strategy/TIX.txt index d61c18e..fbbb920 100755 --- a/src/common/ai_strategy/TIX.txt +++ b/src/common/ai_strategy/TIX.txt @@ -1464,6 +1464,7 @@ TIX_dont_help_SAD_in_africa_after_SAD_control_Cairo = { enable = { is_in_faction_with = SAD SAD = { controls_state = 2 } + country_exists = BFL } abort_when_not_enabled = yes ai_strategy = { diff --git a/src/common/ai_strategy/ai_tank_research.txt b/src/common/ai_strategy/ai_tank_research.txt index 2ea2c4b..100e9d2 100755 --- a/src/common/ai_strategy/ai_tank_research.txt +++ b/src/common/ai_strategy/ai_tank_research.txt @@ -1565,6 +1565,68 @@ ai_naval_research_DOH_8 = { } +ai_tank_research_1 = { + allowed = { + original_tag = SIR + } + enable = { + date > 1936.1.1 + } + + abort = { + has_tech = gwtank_chassis + } + + ai_strategy = { + type = research_tech + id = 88 #gwtank_chassis + value = 2000 + } +} + +ai_heavy_tank_research_1 = { + allowed = { + original_tag = SIR + } + enable = { + has_tech = gwtank_chassis + date > 1936.1.1 + } + + abort = { + has_tech = basic_heavy_tank_chassis + } + + ai_strategy = { + type = research_tech + id = 98 #basic_heavy_tank_chassis + value = 2000 + } +} + +ai_heavy_tank_research_2 = { + allowed = { + OR = { + original_tag = SIR + original_tag = BLI + } + } + enable = { + has_tech = basic_heavy_tank_chassis + date > 1936.1.1 + } + + abort = { + has_tech = improved_heavy_tank_chassis + } + + ai_strategy = { + type = research_tech + id = 99 #improved_heavy_tank_chassis + value = 2000 + } +} + ai_naval_submarine = { allowed = { OR = { diff --git a/src/common/ai_templates/templates_BLI.txt b/src/common/ai_templates/templates_BLI.txt index 6a84dd6..9e63a38 100755 --- a/src/common/ai_templates/templates_BLI.txt +++ b/src/common/ai_templates/templates_BLI.txt @@ -39,7 +39,7 @@ armor_default = { match_value = 9000.0 support = { engineer = 1 - recon = 1 + light_tank_recon = 1 medium_flame_tank = 1 signal_company = 1 anti_air = 1 @@ -55,7 +55,7 @@ armor_default = { heavy_armor heavy_tank_destroyer_brigade engineer - recon + light_tank_recon signal_company medium_flame_tank mechanized diff --git a/src/common/ai_templates/templates_CHY.txt b/src/common/ai_templates/templates_CHY.txt index 0303ef9..712726d 100755 --- a/src/common/ai_templates/templates_CHY.txt +++ b/src/common/ai_templates/templates_CHY.txt @@ -22,6 +22,8 @@ armor_default = { num_of_military_factories < 150 country_exists = DOH NOT = { has_country_flag = CHY_friend_with_doh } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } } } production_prio = { @@ -32,6 +34,9 @@ armor_default = { num_of_military_factories < 150 country_exists = DOH NOT = { has_country_flag = CHY_friend_with_doh } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } + } } target_width = 42.0 @@ -159,6 +164,8 @@ armor_default = { num_of_military_factories > 150 NOT = { country_exists = DOH } has_country_flag = CHY_friend_with_doh + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex } OR = { has_idea = TY_fengkuangai @@ -276,6 +283,8 @@ armor_default = { num_of_military_factories > 150 NOT = { country_exists = DOH } has_country_flag = CHY_friend_with_doh + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex } OR = { has_idea = TY_fengkuangai @@ -402,6 +411,8 @@ infantry_CHY = { NOT = { has_idea = TY_fengkuangai } NOT = { has_idea = TY_fengkuangai2 } NOT = { has_idea = TY_fengkuangai3 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } } } production_prio = { @@ -416,6 +427,8 @@ infantry_CHY = { NOT = { has_idea = TY_fengkuangai } NOT = { has_idea = TY_fengkuangai2 } NOT = { has_idea = TY_fengkuangai3 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } } } target_width = 20.0 @@ -463,9 +476,12 @@ infantry_CHY = { country_exists = DOH NOT = { has_country_flag = CHY_friend_with_doh } DOH = { is_ai = yes } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } OR = { has_idea = TY_fengkuangai has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 } + has_idea = TY_fengkuangai3 + } } } production_prio = { @@ -477,9 +493,13 @@ infantry_CHY = { country_exists = DOH NOT = { has_country_flag = CHY_friend_with_doh } DOH = { is_ai = yes } - OR = { has_idea = TY_fengkuangai + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } + OR = { + has_idea = TY_fengkuangai has_idea = TY_fengkuangai2 - has_idea = TY_fengkuangai3 } + has_idea = TY_fengkuangai3 + } } } target_width = 20.0 @@ -529,6 +549,8 @@ infantry_CHY = { NOT = { has_idea = TY_fengkuangai } NOT = { has_idea = TY_fengkuangai2 } NOT = { has_idea = TY_fengkuangai3 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } NOT = { DOH = { is_ai = yes } } } } @@ -592,6 +614,8 @@ infantry_CHY = { num_of_military_factories < 150 country_exists = DOH NOT = { has_country_flag = CHY_friend_with_doh } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } OR = { has_idea = TY_fengkuangai has_idea = TY_fengkuangai2 has_idea = TY_fengkuangai3 } @@ -606,6 +630,8 @@ infantry_CHY = { num_of_military_factories < 150 country_exists = DOH NOT = { has_country_flag = CHY_friend_with_doh } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } OR = { has_idea = TY_fengkuangai has_idea = TY_fengkuangai2 has_idea = TY_fengkuangai3 } @@ -649,6 +675,69 @@ infantry_CHY = { } } + infantry_1_CHY_fk_citiao = { + upgrade_prio = { + base = 0 + modifier = { + add = 100 + NOT = { has_idea = TY_dingzhenai } + num_of_military_factories < 150 + country_exists = DOH + NOT = { has_country_flag = CHY_friend_with_doh } + OR = { has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } + } + } + production_prio = { + base = 0 + modifier = { + add = 100 + NOT = { has_idea = TY_dingzhenai } + num_of_military_factories < 150 + country_exists = DOH + NOT = { has_country_flag = CHY_friend_with_doh } + OR = { + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } + } + } + target_width = 20.0 + width_weight = 1.0 + column_swap_factor = 1.5 + reinforce_prio = 1 + + target_template = { + weight = 0.9 + match_value = 3000.0 + support = { + engineer = 1 + artillery = 1 + recon = 1 + maintenance_company = 1 + field_hospital = 1 + } + + regiments = { + infantry = 8 + artillery_brigade = 4 + medium_armor = 1 + } + } + + allowed_types = { + engineer + infantry + artillery + recon + artillery_brigade + maintenance_company + field_hospital + medium_armor + } + } + infantry_2_CHY = { upgrade_prio = { base = 0 diff --git a/src/common/ai_templates/templates_DOH.txt b/src/common/ai_templates/templates_DOH.txt index 0f4a2d1..d7a2c3a 100755 --- a/src/common/ai_templates/templates_DOH.txt +++ b/src/common/ai_templates/templates_DOH.txt @@ -94,9 +94,16 @@ armor_default = { has_idea = TY_fengkuangai has_idea = TY_fengkuangai2 has_idea = TY_fengkuangai3 - } - } - } + } + } + modifier = { + add = 100 + OR = { + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } + } + } target_width = 42 width_weight = 1 column_swap_factor = 1.5 @@ -193,6 +200,8 @@ infantry_DOH = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 NOT = { has_tech = human_wave_offensive } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } } } production_prio = { @@ -202,6 +211,8 @@ infantry_DOH = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 NOT = { has_tech = human_wave_offensive } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } } } target_width = 42.0 @@ -235,7 +246,7 @@ infantry_DOH = { } } - infantry_1_DOH = { + infantry_2_DOH = { upgrade_prio = { base = 0 modifier = { @@ -243,6 +254,8 @@ infantry_DOH = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 has_tech = human_wave_offensive + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } } } production_prio = { @@ -252,6 +265,8 @@ infantry_DOH = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories < 150 has_tech = human_wave_offensive + NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } + NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } } } target_width = 42.0 @@ -293,6 +308,13 @@ infantry_DOH = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories > 150 } + modifier = { + add = 100 + OR = { + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } + } } production_prio = { base = 0 @@ -301,6 +323,13 @@ infantry_DOH = { NOT = { has_idea = TY_dingzhenai } num_of_military_factories > 150 } + modifier = { + add = 100 + OR = { + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } + } } target_width = 50.0 width_weight = 1.0 diff --git a/src/common/ai_templates/templates_SIR.txt b/src/common/ai_templates/templates_SIR.txt index 061db2e..c2e7515 100755 --- a/src/common/ai_templates/templates_SIR.txt +++ b/src/common/ai_templates/templates_SIR.txt @@ -29,6 +29,10 @@ armor_default = { NOT = { has_idea = TY_dingzhenai } NOT = { country_exists = BLI } } + modifier = { + add = 100 + has_global_flag = modoption_historicalbossai_on + } } target_width = 42 width_weight = 1 @@ -39,7 +43,7 @@ armor_default = { match_value = 9000.0 support = { engineer = 1 - recon = 1 + light_tank_recon = 1 medium_flame_tank = 1 signal_company = 1 anti_air = 1 @@ -55,7 +59,7 @@ armor_default = { heavy_armor heavy_tank_destroyer_brigade engineer - recon + light_tank_recon signal_company medium_flame_tank mechanized @@ -123,6 +127,7 @@ infantry_SIR = { add = 100 NOT = { has_idea = TY_dingzhenai } country_exists = BLI + NOT = { has_global_flag = modoption_historicalbossai_on } } } production_prio = { @@ -131,6 +136,7 @@ infantry_SIR = { add = 100 NOT = { has_idea = TY_dingzhenai } country_exists = BLI + NOT = { has_global_flag = modoption_historicalbossai_on } } } target_width = 20.0 @@ -174,6 +180,10 @@ infantry_SIR = { NOT = { has_idea = TY_dingzhenai } NOT = { country_exists = BLI } } + modifier = { + add = 100 + has_global_flag = modoption_historicalbossai_on + } } production_prio = { base = 0 @@ -182,6 +192,10 @@ infantry_SIR = { NOT = { has_idea = TY_dingzhenai } NOT = { country_exists = BLI } } + modifier = { + add = 100 + has_global_flag = modoption_historicalbossai_on + } } target_width = 42.0 width_weight = 1.0 diff --git a/src/common/country_leader/az_psh_traits.txt b/src/common/country_leader/az_psh_traits.txt index 3977215..458ded5 100755 --- a/src/common/country_leader/az_psh_traits.txt +++ b/src/common/country_leader/az_psh_traits.txt @@ -341,12 +341,12 @@ leader_traits = { trait_psh_zhanjinzuie = { random = no war_support_factor = 0.5 - army_attack_factor = 0.35 - army_defence_factor = 0.35 + army_attack_factor = 0.25 + army_defence_factor = 0.25 army_org_factor = 0.25 army_morale_factor = 0.25 recon_factor = 0.35 - breakthrough_factor = 0.3 + breakthrough_factor = 0.2 } #急速!加速!超速! trait_psh_jisujiasuchaosu = { @@ -357,17 +357,17 @@ leader_traits = { army_speed_factor = 0.1 planning_speed = 0.5 max_planning = 0.3 - research_speed_factor = 0.15 - production_speed_buildings_factor = 0.3 + research_speed_factor = 0.1 + production_speed_buildings_factor = 0.1 } #闻香沉溺 trait_psh_wenxiangchenni = { random = no political_power_cost = -0.75 stability_factor = 0.5 - production_factory_max_efficiency_factor = 0.3 - production_factory_efficiency_gain_factor = 0.3 - line_change_production_efficiency_factor = 0.3 + production_factory_max_efficiency_factor = 0.2 + production_factory_efficiency_gain_factor = 0.2 + line_change_production_efficiency_factor = 0.2 supply_consumption_factor = -0.25 drift_defence_factor = 3 consumer_goods_expected_value = -0.05 diff --git a/src/common/decisions/BLI_decisions.txt b/src/common/decisions/BLI_decisions.txt index 2ad0a7e..ec5234d 100755 --- a/src/common/decisions/BLI_decisions.txt +++ b/src/common/decisions/BLI_decisions.txt @@ -235,7 +235,7 @@ BLI_get_core = { priority = 4 available = { is_neighbor_of = SIR - date > 1939.1.1 + date > 1939.2.1 } visible = { has_global_flag = MOD_azurlane_tianjiangjianniang @@ -257,6 +257,7 @@ BLI_get_core = { has_full_control_of_state = 691 has_full_control_of_state = 695 has_global_flag = MOD_azurlane_tianjiangjianniang + has_global_flag = SIR_get_mainland_state OR = { has_war_with = SIR SIR = { is_puppet_of = BLI } diff --git a/src/common/decisions/SIR_decisions.txt b/src/common/decisions/SIR_decisions.txt index 535c785..0bcd0c5 100755 --- a/src/common/decisions/SIR_decisions.txt +++ b/src/common/decisions/SIR_decisions.txt @@ -233,6 +233,7 @@ SIR_get_core = { has_full_control_of_state = 507 has_full_control_of_state = 506 has_global_flag = MOD_azurlane_tianjiangjianniang + has_global_flag = BLI_get_mainland_state OR = { has_war_with = BLI BLI = { @@ -261,7 +262,7 @@ SIR_get_core = { priority = 4 available = { is_neighbor_of = BLI - date > 1939.1.1 + date > 1939.2.1 } visible = { has_global_flag = MOD_azurlane_tianjiangjianniang diff --git a/src/common/decisions/YUW_decisions.txt b/src/common/decisions/YUW_decisions.txt index 477662f..ff01079 100755 --- a/src/common/decisions/YUW_decisions.txt +++ b/src/common/decisions/YUW_decisions.txt @@ -432,7 +432,7 @@ yuw_mission_category = { stability_factor = -0.2 war_support_factor = -0.2 research_speed_factor = 0.1 - consumer_goods_factor = -0.4 + consumer_goods_factor = -0.25 } complete_effect = { custom_effect_tooltip = yuw_santoutongmengfennu @@ -463,12 +463,12 @@ yuw_mission_category = { } days_remove = -1 modifier = { - stability_factor = 0.3 - war_support_factor = 0.3 - industrial_capacity_factory = 0.3 - industrial_capacity_dockyard = 0.3 - production_factory_max_efficiency_factor = 0.3 - production_factory_efficiency_gain_factor = 0.3 + stability_factor = 0.2 + war_support_factor = 0.2 + industrial_capacity_factory = 0.2 + industrial_capacity_dockyard = 0.2 + production_factory_max_efficiency_factor = 0.2 + production_factory_efficiency_gain_factor = 0.2 } complete_effect = { custom_effect_tooltip = yuw_santoutongmengfennu diff --git a/src/common/decisions/tianjiang_decision.txt b/src/common/decisions/tianjiang_decision.txt index 2300c4c..87e1aaf 100755 --- a/src/common/decisions/tianjiang_decision.txt +++ b/src/common/decisions/tianjiang_decision.txt @@ -11032,11 +11032,17 @@ AZ_fkAIplayerjiaqiang = { add_tech_bonus = { name = "超级火炮卡" bonus = 10 - uses = 10 + uses = 12 ahead_reduction = 10 category = artillery } - + add_tech_bonus = { + name = "超级步枪卡" + bonus = 10 + uses = 6 + ahead_reduction = 10 + category = infantry_weapons + } } if = { limit = { @@ -11045,9 +11051,9 @@ AZ_fkAIplayerjiaqiang = { add_tech_bonus = { name = "超级卡车卡" bonus = 10 - uses = 3 + uses = 2 ahead_reduction = 10 - category = motorized_equipment + category = cat_mechanized_equipment } add_tech_bonus = { name = "超级支援卡" @@ -11055,7 +11061,7 @@ AZ_fkAIplayerjiaqiang = { uses = 5 ahead_reduction = 10 category = support_tech - } air_equipment + } add_tech_bonus = { name = "超级飞机卡" bonus = 10 @@ -11073,7 +11079,7 @@ AZ_fkAIplayerjiaqiang = { add_tech_bonus = { name = "超级海军卡" bonus = 10 - uses = 5 + uses = 8 ahead_reduction = 10 category = naval_equipment } @@ -11082,6 +11088,23 @@ AZ_fkAIplayerjiaqiang = { limit = { has_country_flag = AZ_fkAI_xuanzebuff_4 } + add_ideas = TY_fkAI_huolichongji + create_railway_gun = { + equipment = az_equipment_liechepao_1 + name = "终极猫猫头" + } + create_railway_gun = { + equipment = az_equipment_liechepao_1 + name = "终极猫猫头" + } + create_railway_gun = { + equipment = az_equipment_liechepao_1 + name = "终极猫猫头" + } + create_railway_gun = { + equipment = az_equipment_liechepao_1 + name = "终极猫猫头" + } create_railway_gun = { equipment = az_equipment_liechepao_1 name = "终极猫猫头" @@ -11129,7 +11152,7 @@ AZ_fkAIplayerjiaqiang = { limit = { has_country_flag = AZ_fkAI_xuanzebuff_9 } - add_nuclear_bombs = 10 + add_nuclear_bombs = 30 } if = { limit = { @@ -11161,7 +11184,7 @@ AZ_fkAIplayerjiaqiang = { is_ai = yes } is_good = yes - days_mission_timeout = 120 + days_mission_timeout = 30 timeout_effect = { activate_mission = AZ_fkAI_xuanzebuff_jianxiangzi hidden_effect = { @@ -11240,13 +11263,13 @@ AZ_fkAIplayerjiaqiang = { is_ai = yes } is_good = yes - days_mission_timeout = 120 + days_mission_timeout = 80 timeout_effect = { activate_mission = AZ_fkAI_xuanzebuff_mofangdaheng - custom_effect_tooltip = mf_shuliang_2 + custom_effect_tooltip = mf_shuliang_5 add_to_variable = { var = xzmf_sl - value = 2 + value = 5 } } } @@ -11260,24 +11283,13 @@ AZ_fkAIplayerjiaqiang = { is_ai = yes } is_good = yes - days_mission_timeout = 180 + days_mission_timeout = 90 timeout_effect = { activate_mission = AZ_fkAI_xuanzebuff_dafuweng if = { limit = { date < 1940.1.1 } - custom_effect_tooltip = wz_earn_10000 - add_to_variable = { - var = wz_sl - value = 10000 - } - } - if = { - limit = { - date > 1940.1.1 - date < 1942.1.1 - } custom_effect_tooltip = wz_earn_20000 add_to_variable = { var = wz_sl @@ -11286,7 +11298,7 @@ AZ_fkAIplayerjiaqiang = { } if = { limit = { - date > 1942.1.1 + date > 1940.1.1 } custom_effect_tooltip = wz_earn_40000 add_to_variable = { diff --git a/src/common/ideas/tianjiang.txt b/src/common/ideas/tianjiang.txt index cb081f1..cf2f8ea 100755 --- a/src/common/ideas/tianjiang.txt +++ b/src/common/ideas/tianjiang.txt @@ -2771,7 +2771,7 @@ ideas = { } modifier = { war_support_factor = 1.5 - political_power_cost = -0.75 + political_power_cost = -1 army_org_factor = 0.4 army_morale_factor = 0.5 org_loss_when_moving = -0.4 @@ -3304,17 +3304,17 @@ ideas = { always = yes } modifier = { - army_attack_factor = 0.4 - army_defence_factor = 0.4 - planning_speed = 1 - max_planning = 0.6 - line_change_production_efficiency_factor = 0.2 - industrial_capacity_factory = 0.5 - industrial_capacity_dockyard = 0.5 - production_factory_max_efficiency_factor = 0.2 - production_factory_efficiency_gain_factor = 0.4 - army_org_factor = 0.4 - army_morale_factor = 0.2 + army_attack_factor = 0.8 + army_defence_factor = 0.8 + planning_speed = 2 + max_planning = 1 + line_change_production_efficiency_factor = 0.4 + industrial_capacity_factory = 0.8 + industrial_capacity_dockyard = 0.8 + production_factory_max_efficiency_factor = 0.4 + production_factory_efficiency_gain_factor = 0.8 + army_org_factor = 0.6 + army_morale_factor = 0.5 } } @@ -3327,17 +3327,17 @@ ideas = { can_not_declare_war = yes } modifier = { - army_attack_factor = 0.3 - army_defence_factor = 0.3 - planning_speed = 0.8 - max_planning = 0.4 - line_change_production_efficiency_factor = 0.2 - industrial_capacity_factory = 0.5 - industrial_capacity_dockyard = 0.5 - production_factory_max_efficiency_factor = 0.2 - production_factory_efficiency_gain_factor = 0.4 - army_org_factor = 0.4 - army_morale_factor = 0.2 + army_attack_factor = 0.8 + army_defence_factor = 0.8 + planning_speed = 2 + max_planning = 1 + line_change_production_efficiency_factor = 0.4 + industrial_capacity_factory = 0.8 + industrial_capacity_dockyard = 0.8 + production_factory_max_efficiency_factor = 0.4 + production_factory_efficiency_gain_factor = 0.8 + army_org_factor = 0.6 + army_morale_factor = 0.5 } } @@ -3347,17 +3347,17 @@ ideas = { always = yes } modifier = { - army_attack_factor = 0.4 - army_defence_factor = 0.4 - planning_speed = 1 - max_planning = 0.6 - line_change_production_efficiency_factor = 0.2 - industrial_capacity_factory = 0.5 - industrial_capacity_dockyard = 0.5 - production_factory_max_efficiency_factor = 0.2 - production_factory_efficiency_gain_factor = 0.4 - army_org_factor = 0.4 - army_morale_factor = 0.2 + army_attack_factor = 1 + army_defence_factor = 1 + planning_speed = 2 + max_planning = 1 + line_change_production_efficiency_factor = 0.4 + industrial_capacity_factory = 0.8 + industrial_capacity_dockyard = 0.8 + production_factory_max_efficiency_factor = 0.4 + production_factory_efficiency_gain_factor = 0.8 + army_org_factor = 0.6 + army_morale_factor = 0.5 } } @@ -3387,20 +3387,19 @@ ideas = { always = yes } modifier = { - crypto_strength = 5 - intelligence_agency_defense = 5 + crypto_strength = 10 + intelligence_agency_defense = 10 enemy_operative_capture_chance_factor = 0.5 enemy_operative_detection_chance = 50 intel_network_gain_factor = 2 - decryption_power = 300 - intel_network_gain_factor = 0.5 - own_operative_capture_chance_factor = -0.5 - own_operative_detection_chance = -50 - own_operative_harmed_time_factor = -0.5 - civilian_intel_factor = 50 - army_intel_factor = 50 - navy_intel_factor = 50 - airforce_intel_factor = 50 + decryption_power = 500 + own_operative_capture_chance_factor = -0.8 + own_operative_detection_chance = -80 + own_operative_harmed_time_factor = -0.8 + civilian_intel_factor = 100 + army_intel_factor = 100 + navy_intel_factor = 100 + airforce_intel_factor = 100 } } @@ -3413,12 +3412,12 @@ ideas = { stability_factor = 1.25 war_support_factor = 2 political_power_factor = 3 - research_speed_factor = 0.2 - local_resources_factor = 1 - industrial_capacity_dockyard = 0.5 + research_speed_factor = 0.5 + local_resources_factor = 1.5 + industrial_capacity_dockyard = 0.75 line_change_production_efficiency_factor = 0.3 - army_core_attack_factor = 0.5 - army_core_defence_factor = 0.5 + army_core_attack_factor = 0.8 + army_core_defence_factor = 0.8 tank_manufacturer_cost_factor = -0.9 naval_manufacturer_cost_factor = -0.9 aircraft_manufacturer_cost_factor = -0.9 @@ -3427,6 +3426,16 @@ ideas = { } } + TY_fkAI_huolichongji = { + picture = fengkuangai + allowed_civil_war = { + always = yes + } + modifier = { + railway_gun_bombardment_factor = 0.25 + } + } + } political_advisor = { diff --git a/src/common/ideas/yuw.txt b/src/common/ideas/yuw.txt index 8911f52..4af3b19 100755 --- a/src/common/ideas/yuw.txt +++ b/src/common/ideas/yuw.txt @@ -26,7 +26,7 @@ ideas = { army_attack_factor = 0.3 army_defence_factor = 0.3 planning_speed = 0.5 - max_planning = 0.3 + max_planning = 0.2 } } YUW_zhandourengzaijuxu_idea_3 = { @@ -41,7 +41,7 @@ ideas = { army_attack_factor = 0.5 army_defence_factor = 0.5 planning_speed = 0.8 - max_planning = 0.5 + max_planning = 0.4 } } YUW_santouzhengzhi_idea = { @@ -54,10 +54,9 @@ ideas = { consumer_goods_factor = 0.5 stability_weekly = -0.01 war_support_weekly = 0.01 - global_building_slots_factor = 0.1 - production_speed_arms_factory_factor = 0.15 - production_speed_industrial_complex_factor = 0.15 - production_speed_infrastructure_factor = 0.15 + production_speed_arms_factory_factor = 0.1 + production_speed_industrial_complex_factor = 0.1 + production_speed_infrastructure_factor = 0.1 army_org_factor = -0.15 army_morale_factor = -0.3 planning_speed = -1 @@ -74,10 +73,10 @@ ideas = { political_power_cost = 0.1 consumer_goods_factor = 0.25 war_support_weekly = 0.01 - global_building_slots_factor = 0.15 - production_speed_arms_factory_factor = 0.2 - production_speed_industrial_complex_factor = 0.2 - production_speed_infrastructure_factor = 0.2 + global_building_slots_factor = 0.05 + production_speed_arms_factory_factor = 0.15 + production_speed_industrial_complex_factor = 0.15 + production_speed_infrastructure_factor = 0.15 army_org_factor = -0.1 army_morale_factor = -0.15 planning_speed = -0.5 @@ -91,10 +90,10 @@ ideas = { } modifier = { war_support_weekly = 0.01 - global_building_slots_factor = 0.25 - production_speed_arms_factory_factor = 0.4 - production_speed_industrial_complex_factor = 0.4 - production_speed_infrastructure_factor = 0.4 + global_building_slots_factor = 0.15 + production_speed_arms_factory_factor = 0.2 + production_speed_industrial_complex_factor = 0.2 + production_speed_infrastructure_factor = 0.2 } } YUW_gulizhengce_idea = { diff --git a/src/common/national_focus/beifanglianhe.txt b/src/common/national_focus/beifanglianhe.txt index 5b66051..367cd8a 100755 --- a/src/common/national_focus/beifanglianhe.txt +++ b/src/common/national_focus/beifanglianhe.txt @@ -2452,7 +2452,7 @@ #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes - PER = { country_event = { id = BFL_event.6 days = 15 } } + PER = { country_event = { id = BFL_event.6 days = 1 } } add_state_claim = 419 add_state_claim = 420 add_state_claim = 421 @@ -2537,7 +2537,7 @@ #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { guojishengyu_down_1 = yes - create_wargoal = { target = AFG type = take_state_focus } + AFG = { country_event = { id = BFL_event.17 days = 1 } } add_state_claim = 267 add_state_claim = 415 } diff --git a/src/common/national_focus/chongying_new.txt b/src/common/national_focus/chongying_new.txt index 12a0780..5895115 100755 --- a/src/common/national_focus/chongying_new.txt +++ b/src/common/national_focus/chongying_new.txt @@ -2483,6 +2483,97 @@ NOT = { has_idea = TY_dingzhenai } + OR = { has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } + } + division_template = { + name = "关东边防师" + division_names_group = JAP_INF_01 + regiments = { + artillery_brigade = { + x = 0 + y = 0 + } + artillery_brigade = { + x = 0 + y = 1 + } + artillery_brigade = { + x = 0 + y = 2 + } + artillery_brigade = { + x = 0 + y = 3 + } + medium_armor = { + x = 1 + y = 0 + } + infantry = { + x = 2 + y = 0 + } + infantry = { + x = 2 + y = 1 + } + infantry = { + x = 2 + y = 2 + } + infantry = { + x = 2 + y = 3 + } + infantry = { + x = 3 + y = 0 + } + infantry = { + x = 3 + y = 1 + } + infantry = { + x = 3 + y = 2 + } + infantry = { + x = 3 + y = 3 + } + } + support = { + engineer = { + x = 0 + y = 0 + } + artillery = { + x = 0 + y = 1 + } + recon = { + x = 0 + y = 2 + } + logistics_company = { + x = 0 + y = 3 + } + maintenance_company = { + x = 0 + y = 4 + } + } + } + } + if = { + limit = { + NOT = { has_idea = TY_dingzhenai } + NOT = { has_idea = TY_fengkuangai } + NOT = { has_idea = TY_fengkuangai2 } + NOT = { has_idea = TY_fengkuangai3 } } division_template = { name = "关东边防师" diff --git a/src/common/national_focus/donghuang_new.txt b/src/common/national_focus/donghuang_new.txt index f09fa4d..1f14de0 100755 --- a/src/common/national_focus/donghuang_new.txt +++ b/src/common/national_focus/donghuang_new.txt @@ -5145,14 +5145,26 @@ focus_tree = { custom_effect_tooltip = DOH_haianfangshou_tooltip hidden_effect = { load_oob = "DOH_haianfangshou" - } - if = { + if = { limit = { is_ai = yes } - hidden_effect = { load_oob = "DOH_haianfangshou_ai" + } + if = { + limit = { + is_ai = yes + OR = { + has_global_flag = AZ_fengkuangAI_citiao_10 + has_global_flag = AZ_fengkuangAI_citiao_ex + } } + load_oob = "DOH_haianfangshou_fengkuangai" + set_technology = { tech_engineers = 1 } + set_technology = { tech_field_hospital = 1 } + set_technology = { basic_light_tank_chassis = 1 } + + } } } } diff --git a/src/common/national_focus/sir.txt b/src/common/national_focus/sir.txt index 9185d9f..4793e71 100755 --- a/src/common/national_focus/sir.txt +++ b/src/common/national_focus/sir.txt @@ -1080,6 +1080,550 @@ focus_tree = { amount = 400 producer = ROOT } + hidden_effect = {if = { + limit = { + has_global_flag = modoption_historicalbossai_on + is_ai = yes + } + division_template = { + name = "塞壬重型装甲师" + division_names_group = SIR_HVARM_01 + regiments = { + heavy_armor = { x = 0 y = 0 } + heavy_armor = { x = 0 y = 1 } + heavy_armor = { x = 0 y = 2 } + heavy_armor = { x = 0 y = 3 } + heavy_armor = { x = 1 y = 0 } + heavy_armor = { x = 1 y = 1 } + heavy_armor = { x = 1 y = 2 } + heavy_armor = { x = 1 y = 3 } + heavy_tank_destroyer_brigade = { x = 2 y = 0 } + mechanized = { x = 3 y = 0 } + mechanized = { x = 3 y = 1 } + mechanized = { x = 3 y = 2 } + mechanized = { x = 3 y = 3 } + mechanized = { x = 4 y = 0 } + mechanized = { x = 4 y = 1 } + mechanized = { x = 4 y = 2 } + mechanized = { x = 4 y = 3 } + } + support = { + engineer = { x = 0 y = 0 } + medium_flame_tank = { x = 0 y = 1 } + recon = { x = 0 y = 2 } + signal_company = { x = 0 y = 3 } + anti_air = { x = 0 y = 4 } + } + } + 696 = { + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + create_unit = { + division = "name = \"塞壬重型装甲师\" division_template = \"塞壬重型装甲师\" start_experience_factor = 0.4" + owner = ROOT + } + + } + } + } } } focus = { @@ -1282,6 +1826,19 @@ focus_tree = { } } } + bypass = { + IF = { + NOT = { + country_exists = CUB + } + NOT = { + country_exists = DOM + } + NOT = { + country_exists = HAI + } + } + } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no @@ -1320,6 +1877,19 @@ focus_tree = { ai_will_do = { factor = 40 } + bypass = { + IF = { + NOT = { + country_exists = BRA + } + NOT = { + country_exists = COL + } + NOT = { + country_exists = VEN + } + } + } available = { if = { limit = { @@ -1355,6 +1925,7 @@ focus_tree = { } add_political_power = 50 add_manpower = 18000 + set_global_flag = SIR_get_mainland_state } } focus = { @@ -1371,7 +1942,7 @@ focus_tree = { relative_position_id = SIR_chuanjiao_nanmei cost = 20 bypass = { - OR = { + IF = { NOT = { country_exists = ECU } diff --git a/src/common/unit_leader/az_traits.txt b/src/common/unit_leader/az_traits.txt index 3923178..752b0e8 100755 --- a/src/common/unit_leader/az_traits.txt +++ b/src/common/unit_leader/az_traits.txt @@ -114,8 +114,8 @@ leader_traits = { cost = 5 modifier = { army_armor_defence_factor = 0.15 - army_armor_attack_factor = 0.05 - army_armor_speed_factor = 0.1 + army_armor_attack_factor = 0.12 + army_armor_speed_factor = 0.15 } ai_will_do = { diff --git a/src/events/BFL_shijian.txt b/src/events/BFL_shijian.txt index 2033c95..6ab5dbf 100755 --- a/src/events/BFL_shijian.txt +++ b/src/events/BFL_shijian.txt @@ -149,7 +149,12 @@ country_event = { ai_chance = { factor = 5 } - create_wargoal = { target = PER type = take_state_focus } + BFL = { + declare_war_on = { + target = PER + type = annex_everything + } + } } } country_event = { diff --git a/src/events/YUW_shijian.txt b/src/events/YUW_shijian.txt index ba45d65..b664f88 100755 --- a/src/events/YUW_shijian.txt +++ b/src/events/YUW_shijian.txt @@ -4170,105 +4170,104 @@ country_event = { add_idea = YUW_wddjj } add_ideas = YUW_jjfs - add_ideas = YUW_jgyfs hidden_effect = { - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } + } + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } + } + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } + } + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } + } + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = industrial_complex + level = 5 + instant_build = yes + } + } + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = arms_factory + level = 5 + instant_build = yes + } + } + random_owned_controlled_state = { + limit = { + is_controlled_by = YUW + is_core_of = YUW + } + add_extra_state_shared_building_slots = 5 + add_building_construction = { + type = arms_factory + level = 5 + instant_build = yes + } } } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = industrial_complex - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = arms_factory - level = 5 - instant_build = yes - } - } - random_owned_controlled_state = { - limit = { - is_controlled_by = YUW - is_core_of = YUW - } - add_extra_state_shared_building_slots = 5 - add_building_construction = { - type = arms_factory - level = 5 - instant_build = yes - } - } - } ai_chance = { factor = 100 } diff --git a/src/events/ai_bianzhi.txt b/src/events/ai_bianzhi.txt index ba58553..ea2e2d4 100755 --- a/src/events/ai_bianzhi.txt +++ b/src/events/ai_bianzhi.txt @@ -570,6 +570,27 @@ country_event = { infantry = { x = 4 y = 2 } } } + division_template = { + name = "东煌小型步兵师" + division_names_group = DOH_INF_01 + regiments = { + infantry = { x = 0 y = 0 } + infantry = { x = 0 y = 1 } + infantry = { x = 0 y = 2 } + infantry = { x = 0 y = 3 } + infantry = { x = 1 y = 0 } + infantry = { x = 1 y = 1 } + infantry = { x = 1 y = 2 } + infantry = { x = 1 y = 3 } + infantry = { x = 2 y = 0 } + infantry = { x = 2 y = 1 } + infantry = { x = 2 y = 2 } + } + support = { + engineer = { x = 0 y = 0 } + artillery = { x = 0 y = 1 } + } + } } if = { limit = { has_idea = TY_dingzhenai @@ -1851,6 +1872,31 @@ country_event = { maintenance_company = { x = 0 y = 3 } } } + division_template = { + name = "重樱步兵师-疯狂" + division_names_group = CHY_INF_01 + regiments = { + artillery_brigade = { x = 0 y = 0 } + artillery_brigade = { x = 0 y = 1 } + artillery_brigade = { x = 0 y = 2 } + artillery_brigade = { x = 0 y = 3 } + medium_armor = { x = 1 y = 0 } + infantry = { x = 2 y = 0 } + infantry = { x = 2 y = 1 } + infantry = { x = 2 y = 2 } + infantry = { x = 2 y = 3 } + infantry = { x = 3 y = 0 } + infantry = { x = 3 y = 1 } + infantry = { x = 3 y = 2 } + infantry = { x = 3 y = 3 } + } + support = { + engineer = { x = 0 y = 0 } + artillery = { x = 0 y = 1 } + recon = { x = 0 y = 2 } + maintenance_company = { x = 0 y = 3 } + } + } division_template = { name = "重樱小型步兵师" division_names_group = CHY_INF_01 @@ -2078,6 +2124,13 @@ country_event = { type = convoy amount = 2000 } + add_tech_bonus = { + name = "装甲研究加成" + bonus = 100 + uses = 1 + ahead_reduction = 10 + category = armor + } if = { limit = { NOT = { has_idea = TY_dingzhenai } } division_template = { @@ -2285,6 +2338,13 @@ country_event = { type = convoy amount = 2000 } + add_tech_bonus = { + name = "装甲研究加成" + bonus = 100 + uses = 4 + ahead_reduction = 10 + category = armor + } if = { limit = { NOT = { has_idea = TY_dingzhenai } } division_template = { diff --git a/src/history/units/DOH_haianfangshou_fengkuangai.txt b/src/history/units/DOH_haianfangshou_fengkuangai.txt new file mode 100755 index 0000000..78a341c --- /dev/null +++ b/src/history/units/DOH_haianfangshou_fengkuangai.txt @@ -0,0 +1,139 @@ +division_template = { + name = "东煌海岸卫戍装甲师" + division_names_group = DOH_ARM_01 + regiments = { + infantry = { x = 0 y = 0 } + infantry = { x = 0 y = 1 } + infantry = { x = 0 y = 2 } + infantry = { x = 0 y = 3 } + infantry = { x = 0 y = 4 } + infantry = { x = 1 y = 0 } + infantry = { x = 1 y = 1 } + infantry = { x = 1 y = 2 } + infantry = { x = 1 y = 3 } + infantry = { x = 1 y = 4 } + medium_tank_destroyer_brigade = { x = 2 y = 0 } + medium_sp_anti_air_brigade = { x = 2 y = 1 } + medium_armor = { x = 3 y = 0 } + medium_armor = { x = 3 y = 1 } + medium_armor = { x = 4 y = 2 } + medium_armor = { x = 4 y = 3 } + medium_armor = { x = 4 y = 0 } + medium_armor = { x = 4 y = 1 } + medium_armor = { x = 4 y = 2 } + medium_armor = { x = 4 y = 3 } + + } + support = { + engineer = { x = 0 y = 0 } + light_tank_recon = { x = 0 y = 1 } + medium_flame_tank = { x = 0 y = 2 } + maintenance_company = { x = 0 y = 3 } + field_hospital = { x = 0 y = 4 } + } +} + +### OOB ### +units = { + division= { + name = "东煌海岸卫戍装甲师" + location = 7014 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 10076 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 10000 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 4205 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 9974 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 1055 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 7014 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 10076 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 10000 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 4205 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 7014 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 10076 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 10000 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 4205 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 9974 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 1055 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 7014 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 10076 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 10000 + division_template = "东煌海岸卫戍装甲师" + } + division= { + name = "东煌海岸卫戍装甲师" + location = 4205 + division_template = "东煌海岸卫戍装甲师" + } +} + diff --git a/src/localisation/simp_chinese/azc_YUW_l_simp_chinese.yml b/src/localisation/simp_chinese/azc_YUW_l_simp_chinese.yml index 1d903b5..9f3d21c 100755 --- a/src/localisation/simp_chinese/azc_YUW_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/azc_YUW_l_simp_chinese.yml @@ -2683,23 +2683,23 @@ AZ_fkAI_xuanzebuffkaishi_3:0"科技致胜 ☆§G泛用型增益§!☆" AZ_fkAI_xuanzebuffkaishi_3_desc:0"获得支援装备,卡车,装甲,飞机,舰船等多种超级加成卡。" AZ_fkAI_xuanzebuffkaishi_4:0"火力冲击 ☆§C前期型增益§!☆" - AZ_fkAI_xuanzebuffkaishi_4_desc:0"立刻获得猫猫头科技与五个柴郡列车炮。" + AZ_fkAI_xuanzebuffkaishi_4_desc:0"立刻获得猫猫头科技与八个柴郡列车炮,且列车炮效果加强(最多可减少敌方部队60%的攻击力)。" AZ_fkAI_xuanzebuffkaishi_5:0"大富翁 ☆§Y长期型增益§!☆" - AZ_fkAI_xuanzebuffkaishi_5_desc:0"激活一个定时决议,每半年获得1W物资,40年之后变为2W,42年之后变为4W。" + AZ_fkAI_xuanzebuffkaishi_5_desc:0"激活一个定时决议,每90天获得2W物资,40年之后变为4W。" AZ_fkAI_xuanzebuffkaishi_6:0"魔方大亨 ☆§Y长期型增益§!☆" - AZ_fkAI_xuanzebuffkaishi_6_desc:0"激活一个定时决议,每120天可以获得两个魔方。" + AZ_fkAI_xuanzebuffkaishi_6_desc:0"激活一个定时决议,每80天可以获得5个魔方。" AZ_fkAI_xuanzebuffkaishi_7:0"养精蓄锐 ☆§0后期型增益§!☆ 只推荐这些国家选择:§Y[BYG.GetName]§!,§Y[HUJ.GetName]§!" AZ_fkAI_xuanzebuffkaishi_7_desc:0"在游戏前期获得战斗力与产能方面的负面加成,但在后期该buff将转变为正面buff。" AZ_fkAI_xuanzebuffkaishi_8:0"先手必胜 ☆§C前期型增益§!☆ 只推荐这些国家选择:§Y[TIX.GetName]§!,§Y[SAD.GetName]§!,§Y[CHY.GetName]§!" AZ_fkAI_xuanzebuffkaishi_8_desc:0"在游戏前期获得战斗力与产能方面的正面加成,但在后期该buff将转变为debuff。" AZ_fkAI_xuanzebuffkaishi_9:0"风灵月影 ☆§R特殊型增益§!☆ 只推荐这些国家选择:§Y[YUW.GetName]§!,§Y[BFL.GetName]§!,§Y[DOH.GetName]§!" - AZ_fkAI_xuanzebuffkaishi_9_desc:0"可以直接获得十发核弹,不过依然需要有战略轰炸机和制空权才能发射。" + AZ_fkAI_xuanzebuffkaishi_9_desc:0"可以直接获得30发核弹,不过依然需要有战略轰炸机和制空权才能发射。" AZ_fkAI_xuanzebuffkaishi_10:0"间谍卫星 ☆§G泛用型增益§!☆" AZ_fkAI_xuanzebuffkaishi_10_desc:0"获得一个民族精神,能够得知他国的全部情报,并且间谍将极难被抓到,同时极为容易抓到敌方间谍。" AZ_fkAI_xuanzebuffkaishi_11:0"我全都要 ☆§G泛用型增益§!☆" AZ_fkAI_xuanzebuffkaishi_11_desc:0"获得一个各项加成都平平无奇但持续时间为永久的buff。" AZ_fkAI_xuanzebuffkaishi_12:0"捡箱子 ☆§R特殊型增益§!☆ 只推荐欧皇选择,非酋勿选" - AZ_fkAI_xuanzebuffkaishi_12_desc:0"解锁一个定时决议,每隔120天自动进行一次抽奖,其奖品池与出售魔方完全相同。" + AZ_fkAI_xuanzebuffkaishi_12_desc:0"解锁一个定时决议,每隔30天自动进行一次抽奖,其奖品池与出售魔方完全相同。" shipgirltech_quzhupao_1:0"陆用速射轻炮" shipgirltech_xunyangpao_1:0"陆用轰城重炮" shipgirltech_zhanliepao_1:0"陆用龙鸣重炮" @@ -2710,6 +2710,7 @@ AZ_fkAI_xuanzebuff_mofangdaheng_desc:0"感觉不如布里...的魔方矿井。" AZ_fkAI_xuanzebuff_yangjingxurui:0"养精蓄锐倒计时" AZ_fkAI_xuanzebuff_yangjingxurui_desc:0"别急。" + TY_fkAI_huolichongji:0"火力冲击" TY_fkAI_yangjingxurui:0"养精蓄锐" TY_fkAI_xianshoubisheng:0"先手必胜(禁止宣战中)" TY_fkAI_xianshoubisheng2:0"先手必胜"