diff --git a/src/common/ai_strategy/TIX.txt b/src/common/ai_strategy/TIX.txt index ffd2630..7cd5f8e 100755 --- a/src/common/ai_strategy/TIX.txt +++ b/src/common/ai_strategy/TIX.txt @@ -545,7 +545,7 @@ TIX_bubangzhusading = { ai_strategy = { type = dont_defend_ally_borders id = "SAD" - value = 200 + value = 5000 } ai_strategy = { type = dont_join_wars_with @@ -1314,7 +1314,7 @@ TIX_let_SAD_handle_french_front_alone = { ai_strategy = { type = dont_defend_ally_borders id = "SAD" - value = 100 + value = 5000 } } diff --git a/src/common/decisions/tianjiang_decision.txt b/src/common/decisions/tianjiang_decision.txt index a4f1508..91c041b 100755 --- a/src/common/decisions/tianjiang_decision.txt +++ b/src/common/decisions/tianjiang_decision.txt @@ -2389,6 +2389,9 @@ YUW_fangong = { SAD = { controls_state = 14 } + WEX = { + controls_state = 14 + } } OR = { TIX = { @@ -2397,12 +2400,15 @@ YUW_fangong = { SAD = { controls_state = 15 } + WEX = { + controls_state = 15 + } } } ai_will_do = { factor = 0 modifier = { - date > 1943.1.1 + date > 1942.6.1 add = 100 } } @@ -2457,6 +2463,9 @@ YUW_fangong = { TIX = { controls_state = 21 } + SAD = { + controls_state = 21 + } WEX = { controls_state = 21 } @@ -2465,7 +2474,7 @@ YUW_fangong = { ai_will_do = { factor = 0 modifier = { - date > 1943.1.1 + date > 1942.6.1 add = 100 } } @@ -2514,7 +2523,9 @@ YUW_fangong = { target = WEX transfer_troops = no } - news_event = { id = az_tianjiang.367 days = 1} + hidden_effect = { + news_event = { id = az_tianjiang.367 days = 1 } + } } } YUW_zhaohuiweixipaijianniang = { @@ -2935,13 +2946,13 @@ TIX_zhanhou = { } } ai_will_do = { - factor = 10 + factor = 0 modifier = { OR = { date > 1944.1.1 has_war = no } - factor = 100 + add = 100 } } fire_only_once = yes diff --git a/src/common/decisions/xingdong_decisions.txt b/src/common/decisions/xingdong_decisions.txt index 9fa1897..abea68a 100755 --- a/src/common/decisions/xingdong_decisions.txt +++ b/src/common/decisions/xingdong_decisions.txt @@ -10,9 +10,16 @@ xingdong_category = { complete_effect = { #add_to_variable = { # var = xzmf_sl - # value = 99 + # value = 9999 + #} + #add_to_variable = { + # var = zs_sl + # value = 99999 + #} + #add_to_variable = { + # var = wz_sl + # value = 999999 #} - } } @@ -2244,7 +2251,7 @@ xingdong_category = { tooltip = "" check_variable = { var = xzmf_sl - value = 5 + value = 4 compare = greater_than_or_equals } } @@ -2258,19 +2265,61 @@ xingdong_category = { custom_cost_trigger = { check_variable = { var = xzmf_sl - value = 5 + value = 4 compare = greater_than_or_equals } } - custom_cost_text = mf_shuliang_5 + custom_cost_text = mf_shuliang_4 complete_effect = { custom_effect_tooltip = az_ziyuanzhuanhua_tan_tooltip - add_to_variable = { az_ziyuanzhuanhua_tan = 100 } + add_to_variable = { az_ziyuanzhuanhua_tan = 120 } force_update_dynamic_modifier = yes add_to_variable = { var = xzmf_sl - value = -5 + value = -4 + } + } + } + + mf_jingtongdu = { + icon = xzmf + available = { + custom_trigger_tooltip = { + tooltip = "" + check_variable = { + var = xzmf_sl + value = 2 + compare = greater_than_or_equals + } + } + } + ai_will_do = { + factor = 0 + } + visible = { + + } + days_remove = 120 + modifier = { + mass_assault_mastery_gain_factor = 1 + grand_battleplan_mastery_gain_factor = 1 + superior_firepower_mastery_gain_factor = 1 + new_mobile_warfare_mastery_gain_factor = 1 + } + custom_cost_trigger = { + check_variable = { + var = xzmf_sl + value = 2 + compare = greater_than_or_equals + } + } + + custom_cost_text = mf_shuliang_2 + complete_effect = { + add_to_variable = { + var = xzmf_sl + value = -2 } } } diff --git a/src/common/doctrines/subdoctrines/land/armor_subdoctrines.txt b/src/common/doctrines/subdoctrines/land/armor_subdoctrines.txt new file mode 100755 index 0000000..35e751a --- /dev/null +++ b/src/common/doctrines/subdoctrines/land/armor_subdoctrines.txt @@ -0,0 +1,1136 @@ +#碧蓝航线MOD +armored_spearhead_TIX = { + track = armor + name = AZ_SUBDOCTRINE_ARMORED_SPEARHEAD + description = SUBDOCTRINE_ARMORED_SPEARHEAD_DESC + icon = GFX_doctrine_armored_spearhead_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = new_mobile_warfare + has_doctrine = superior_firepower + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + original_tag = TIX + } + modifier = { + factor = 0.5 + is_major = no + } + } + + # EFFECTS + army_speed_factor = 0.1 + enable_tactic = tactic_breakthrough + + rewards = { + TIX1 = { + #1 + category_tanks= { + max_strength = 2 + max_organisation = 5 + default_morale = 0.2 + breakthrough = 0.1 + } + } + TIX2 = { + #2 + breakthrough_factor = 0.1 + category_all_armor = { + maximum_speed = 0.1 + breakthrough = 0.2 + } + } + TIX3 = { + #3 + armored_car = { + default_morale = 0.3 + max_organisation = 15 + } + light_armor = { + default_morale = 0.2 + max_organisation = 10 + } + } + TIX4 = { + #4 + army_armor_attack_factor = 0.2 + category_all_armor = { + breakthrough = 0.2 + } + } + TIX5 = { + #5 + army_armor_defence_factor = 0.2 + armored_car = { + default_morale = 0.3 + max_organisation = 5 + breakthrough = 0.4 + } + category_tanks= { + max_strength = 3 + max_organisation = 5 + breakthrough = 0.2 + } + } + } +} + +mobile_defense_BYG = { + track = armor + name = AZ_SUBDOCTRINE_MOBILE_DEFENSE + description = SUBDOCTRINE_MOBILE_DEFENSE_DESC + icon = GFX_doctrine_mobile_defense_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = superior_firepower + has_doctrine = new_mobile_warfare + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + original_tag = BYG + } + + modifier = { + factor = 0.5 + is_major = no + } + + } + + armored_engineer = { + battalion_mult = { + category = category_all_armor + entrenchment = 0.03 + } + } + category_all_armor = { + defense = 0.2 + } + + rewards = { + + BYG1 = { + mechanized = { + defense = 0.15 + soft_attack = 0.25 + } + } + BYG2 = { + experience_loss_factor = -0.1 + light_armor = { + breakthrough = 0.15 + default_morale = 0.2 + } + medium_armor = { + breakthrough = 0.15 + default_morale = 0.2 + } + } + BYG3 = { + land_night_attack = 0.1 + assault_engineer = { + max_organisation = 20 + } + armored_engineer = { + max_organisation = 20 + } + armored_signal = { + max_organisation = 20 + } + + } + BYG4 = { + anti_tank = { + battalion_mult = { + category = category_all_armor + hard_attack = 0.2 + ap_attack = 0.2 + + } + } + + } + BYG5 = { + category_all_armor = { + hard_attack = 0.1 + soft_attack = 0.1 + ap_attack = 0.2 + } + } + } +} + +streamlined_deployment_BFL = { + track = armor + name = AZ_SUBDOCTRINE_STREAMLINED_DEPLOYMENT + description = SUBDOCTRINE_STREAMLINED_DEPLOYMENT_DESC + icon = GFX_doctrine_streamlined_deployment_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = mass_assault + has_doctrine = grand_battleplan + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + OR = { + original_tag = BFL + original_tag = DOH + } + } + + } + unit_medium_armor_design_cost_factor = -0.5 + unit_light_armor_design_cost_factor = -0.5 + category_all_armor = { + soft_attack = 0.1 + breakthrough = 0.1 + defence = 0.1 + } + + + rewards = { + BFL1 = { + + unit_medium_armor_design_cost_factor = -0.5 + unit_light_armor_design_cost_factor = -0.5 + light_tank_recon = { + battalion_mult = { + category = category_all_armor + max_organisation = 3 + add = yes + } + } + + } + BFL2 = { + mechanized_attack_factor = 0.2 + mechanized = { + max_organisation = 10 + default_morale = 0.3 + } + category_all_armor = { + default_morale = 0.3 + } + } + BFL3 = { + army_speed_factor = 0.1 + armored_signal = { + battalion_mult = { + category = category_light_infantry + maximum_speed = 0.1 + } + } + light_tank_recon = { + battalion_mult = { + category = category_light_infantry + maximum_speed = 0.1 + } + } + } + BFL4 = { + supply_consumption_factor = -0.2 + category_all_armor = { + reliability = 0.1 + supply_consumption = -0.05 + } + + } + BFL5 = { + army_attack_speed_factor = 1 + category_all_armor = { + default_morale = 0.3 + max_organisation = 5 + } + } + } + + +} + +armored_infantry_support_HUJ = { + track = armor + name = AZ_SUBDOCTRINE_ARMORED_INFANTRY_SUPPORT + description = SUBDOCTRINE_ARMORED_INFANTRY_SUPPORT_DESC + icon = GFX_doctrine_armored_infantry_support_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = mass_assault + has_doctrine = grand_battleplan + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + OR = { + original_tag = HUJ + original_tag = YUW + } + } + modifier = { + factor = 0.5 + is_major = no + } + } + + # EFFECTS + motorized_attack_factor = 0.2 + mechanized_attack_factor = 0.2 + enable_tactic = tactic_blitz + effect = { + add_tech_bonus = { + bonus = 1 + uses = 1 + category = cat_heavy_armor + name = SUBDOCTRINE_ARMORED_INFANTRY_SUPPORT + } + } + + #TODO jack look if you can make a script effect for production bonuses + + rewards = { + HUJ1 = { + #1 + medium_armor = { + breakthrough = 0.1 + soft_attack = 0.15 + } + heavy_armor = { + breakthrough = 0.1 + soft_attack = 0.15 + } + } + HUJ2 = { + #2 + medium_armor = { + max_organisation = 10 + } + heavy_armor = { + max_organisation = 10 + } + } + HUJ3 = { + #3 + medium_armor = { + max_strength = 5 + reliability = 0.15 + } + heavy_armor = { + max_strength = 5 + reliability = 0.15 + } + } + HUJ4 = { + #4 + supply_node_range = 0.1 + medium_armor = { + supply_consumption = -0.08 + } + heavy_armor = { + supply_consumption = -0.12 + } + } + HUJ5 = { + #5 + experience_gain_infantry_combat_factor = 0.25 + experience_gain_medium_armor_combat_factor = 0.25 + experience_gain_heavy_armor_combat_factor = 0.25 + category_all_infantry = { + breakthrough = 0.3 + } + medium_armor = { + breakthrough = 0.1 + } + heavy_armor = { + breakthrough = 0.2 + } + } + } +} + +armored_cavalry_CHY = { + track = armor + name = AZ_SUBDOCTRINE_ARMORED_CAVALRY + description = SUBDOCTRINE_ARMORED_CAVALRY_DESC + icon = GFX_doctrine_armored_cavalry_medium + + xp_cost = 100 + xp_type = army + + + available = { + shijianniangguojia_trigger = yes + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + OR = { + original_tag = SAD + original_tag = CHY + } + } + + } + + armored_car = { + max_organisation = 10 + defense = 0.2 + } + mechanized = { + max_organisation = 10 + defense = 0.1 + } + # EFFECTS + rewards = { + CHY1 = { + light_armor = { + maximum_speed = 0.1 + max_organisation = 10 + breakthrough = 0.2 + } + } + CHY2 = { + motorized_attack_factor = 0.2 + motorized_defence_factor = 0.2 + motorized_military_police = { + battalion_mult = { + category = category_vehicle_infantry + suppression_factor = 0.2 + } + + } + armored_car = { + suppression_factor = 0.5 + } + } + CHY3 = { + army_speed_factor = 0.1 + light_armor = { + maximum_speed = 0.1 + breakthrough = 0.2 + } + armored_car = { + maximum_speed = 0.1 + breakthrough = 0.2 + soft_attack = 0.2 + + } + mechanized = { + maximum_speed = 0.1 + breakthrough = 0.1 + } + } + CHY4 = { + recon_factor = 1 + armored_car_recon = { + max_organisation = 5 + soft_attack = 0.2 + } + light_tank_recon = { + max_organisation = 5 + soft_attack = 0.2 + } + } + CHY5 = { + armored_car = { + max_organisation = 10 + soft_attack = 0.2 + default_morale = 0.3 + } + light_armor = { + max_organisation = 10 + soft_attack = 0.2 + hard_attack = 0.4 + default_morale = 0.3 + } + mechanized = { + max_organisation = 10 + soft_attack = 0.2 + default_morale = 0.3 + } + motorized = { + max_organisation = 10 + soft_attack = 0.2 + default_morale = 0.3 + } + } + } +} + +##################以下为原版####################### + +armored_spearhead_no_lar = { + track = armor + name = SUBDOCTRINE_ARMORED_SPEARHEAD + description = SUBDOCTRINE_ARMORED_SPEARHEAD_DESC + icon = GFX_doctrine_armored_spearhead_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + visible = { + NOT = { + has_dlc = "La Resistance" + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 25 + original_tag = TIX + } + modifier = { + factor = 0.5 + is_major = no + } + } + + # EFFECTS + enable_tactic = tactic_breakthrough + + rewards = { + force_concentration = { + #1 + category_tanks= { + max_organisation = 1 + default_morale = 0.1 + } + } + armored_breakthrough_exploits = { + #2 + category_all_armor = { + breakthrough = 0.1 + } + } + local_reserves = { + #3 + recon = { + max_organisation = 10 + } + + light_armor = { + default_morale = 0.1 + max_organisation = 3 + } + } + tactical_reconnaissance = { + #4 + category_all_armor = { + breakthrough = 0.1 + } + } + assault_detachments = { + #5 + + category_tanks= { + max_organisation = 3 + breakthrough = 0.2 + } + } + } +} +armored_infantry_support = { + track = armor + name = SUBDOCTRINE_ARMORED_INFANTRY_SUPPORT + description = SUBDOCTRINE_ARMORED_INFANTRY_SUPPORT_DESC + icon = GFX_doctrine_armored_infantry_support_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 25 + OR = { + original_tag = HUJ + original_tag = YUW + } + } + modifier = { + factor = 0.5 + is_major = no + } + } + + # EFFECTS + enable_tactic = tactic_blitz + effect = { + add_tech_bonus = { + bonus = 1 + uses = 1 + category = cat_heavy_armor + name = SUBDOCTRINE_ARMORED_INFANTRY_SUPPORT + } + } + + #TODO jack look if you can make a script effect for production bonuses + + rewards = { + mobile_reserves = { + #1 + medium_armor = { + breakthrough = 0.05 + soft_attack = 0.1 + } + heavy_armor = { + breakthrough = 0.05 + soft_attack = 0.1 + } + } + armored_cohorts = { + #2 + medium_armor = { + max_organisation = 7 + } + heavy_armor = { + max_organisation = 7 + } + } + maintenance_routines = { + #3 + armored_maintenance = { + battalion_mult = { + category = category_all_armor + max_strength = 0.15 + add = yes + } + } + } + fuel_rationing = { + #4 + heavy_armor = { + supply_consumption = -0.08 + } + } + mobile_armored_strongpoints = { + #5 + category_all_infantry = { + breakthrough = 0.05 + } + heavy_armor = { + breakthrough = 0.1 + } + } + } +} + +streamlined_deployment = { + track = armor + name = SUBDOCTRINE_STREAMLINED_DEPLOYMENT + description = SUBDOCTRINE_STREAMLINED_DEPLOYMENT_DESC + icon = GFX_doctrine_streamlined_deployment_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 25 + OR = { + original_tag = BFL + original_tag = DOH + original_tag = PRC + } + } + + } + + category_all_armor = { + soft_attack = 0.1 + breakthrough = 0.1 + } + + + rewards = { + flexible_armored_battalions = { + + unit_medium_armor_design_cost_factor = -0.5 + unit_light_armor_design_cost_factor = -0.5 + light_tank_recon = { + battalion_mult = { + category = category_all_armor + max_organisation = 2 + add = yes + } + } + + } + mechanized_wave = { + mechanized = { + max_organisation = 5 + default_morale = 0.2 + } + category_all_armor = { + default_morale = 0.2 + } + } + tank_desant = { + armored_signal = { + battalion_mult = { + category = category_light_infantry + maximum_speed = 0.05 + } + } + light_tank_recon = { + battalion_mult = { + category = category_light_infantry + maximum_speed = 0.05 + } + } + } + full_front_deployment = { + category_all_armor = { + reliability = 0.05 + supply_consumption = -0.02 + } + + } + continuous_offensives = { + category_all_armor = { + default_morale = 0.2 + max_organisation = 2 + } + } + } + + +} + +mobile_defense = { + track = armor + name = SUBDOCTRINE_MOBILE_DEFENSE + description = SUBDOCTRINE_MOBILE_DEFENSE_DESC + icon = GFX_doctrine_mobile_defense_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 25 + original_tag = BYG + } + + modifier = { + factor = 0.5 + is_major = no + } + + } + + armored_engineer = { + battalion_mult = { + category = category_all_armor + entrenchment = 0.02 + } + } + category_all_armor = { + defense = 0.1 + } + + rewards = { + + mechanized_offensive = { + mechanized = { + defense = 0.1 + soft_attack = 0.1 + } + } + advance_under_fire = { + light_armor = { + breakthrough = 0.1 + default_morale = 0.2 + } + medium_armor = { + breakthrough = 0.1 + default_morale = 0.2 + } + } + attached_support = { + assault_engineer = { + max_organisation = 10 + } + armored_engineer = { + max_organisation = 10 + } + armored_signal = { + max_organisation = 10 + } + + } + combined_anti_armor = { + anti_tank = { + battalion_mult = { + category = category_all_armor + hard_attack = 0.05 + ap_attack = 0.05 + + } + } + + } + tank_on_tank_engagement = { + category_all_armor = { + hard_attack = 0.1 + soft_attack = 0.1 + ap_attack = 0.05 + } + } + } +} + +armored_cavalry = { + track = armor + name = SUBDOCTRINE_ARMORED_CAVALRY + description = SUBDOCTRINE_ARMORED_CAVALRY_DESC + icon = GFX_doctrine_armored_cavalry_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + visible = { + AND = { + has_dlc = "No Compromise, No Surrender" + has_dlc = "La Resistance" + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 25 + OR = { + original_tag = SAD + original_tag = CHY + } + } + + } + + armored_car = { + max_organisation = 5 + defense = 0.1 + } + mechanized = { + max_organisation = 5 + defense = 0.05 + } + # EFFECTS + rewards = { + cruiser_tanks = { + light_armor = { + maximum_speed = 0.1 + max_organisation = 5 + breakthrough = 0.05 + } + } + quick_response_force = { + motorized_military_police = { + battalion_mult = { + category = category_vehicle_infantry + suppression_factor = 0.05 + } + + } + armored_car = { + suppression_factor = 0.2 + } + } + speed_as_armour = { + light_armor = { + maximum_speed = 0.05 + breakthrough = 0.05 + } + armored_car = { + maximum_speed = 0.05 + breakthrough = 0.1 + soft_attack = 0.1 + + } + mechanized = { + maximum_speed = 0.05 + breakthrough = 0.05 + } + } + fighting_reconnaissance = { + armored_car_recon = { + max_organisation = 3 + soft_attack = 0.05 + } + light_tank_recon = { + max_organisation = 2 + soft_attack = 0.05 + } + } + sustained_deployments = { + armored_car = { + max_organisation = 5 + soft_attack = 0.05 + default_morale = 0.2 + } + light_armor = { + max_organisation = 5 + soft_attack = 0.05 + hard_attack = 0.1 + default_morale = 0.2 + } + mechanized = { + max_organisation = 5 + soft_attack = 0.05 + default_morale = 0.2 + } + motorized = { + max_organisation = 5 + soft_attack = 0.05 + default_morale = 0.2 + } + } + } +} + +armored_cavalry_no_lar = { + track = armor + name = SUBDOCTRINE_ARMORED_CAVALRY + description = SUBDOCTRINE_ARMORED_CAVALRY_DESC + icon = GFX_doctrine_armored_cavalry_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + visible = { + has_dlc = "No Compromise, No Surrender" + NOT = { + has_dlc = "La Resistance" + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 25 + OR = { + original_tag = SAD + original_tag = CHY + } + } + + } + + motorized = { + max_organisation = 5 + defense = 0.1 + } + mechanized = { + max_organisation = 5 + defense = 0.05 + } + # EFFECTS + rewards = { + cruiser_tanks = { + light_armor = { + maximum_speed = 0.1 + max_organisation = 5 + breakthrough = 0.05 + } + } + quick_response_force = { + motorized_military_police = { + battalion_mult = { + category = category_vehicle_infantry + suppression_factor = 0.05 + } + + } + + } + speed_as_armour = { + light_armor = { + maximum_speed = 0.05 + breakthrough = 0.05 + } + motorized = { + maximum_speed = 0.05 + + } + mechanized = { + maximum_speed = 0.05 + breakthrough = 0.05 + } + } + fighting_reconnaissance = { + recon = { + max_organisation = 3 + soft_attack = 0.05 + } + light_tank_recon = { + max_organisation = 2 + soft_attack = 0.05 + } + } + sustained_deployments = { + light_armor = { + max_organisation = 5 + soft_attack = 0.05 + hard_attack = 0.1 + default_morale = 0.2 + } + mechanized = { + max_organisation = 5 + soft_attack = 0.05 + default_morale = 0.2 + } + motorized = { + max_organisation = 5 + soft_attack = 0.05 + default_morale = 0.2 + } + } + } +} + +tank_destroyer_force = { + track = armor + name = SUBDOCTRINE_TANK_DESTROYER_FORCE + description = SUBDOCTRINE_TANK_DESTROYER_FORCE_DESC + icon = GFX_doctrine_tank_destroyer_force_medium + + xp_cost = 100 + xp_type = army + + visible = { + has_dlc = "No Compromise, No Surrender" + } + + ai_will_do = { + + base = 0 + + } + + category_all_armor = { + defense = 0.1 + hard_attack = 0.1 + ap_attack = 0.1 + } + + rewards = { + + mobile_anti_tank = { + mot_anti_tank_brigade = { + max_organisation = 10 + hard_attack = 0.1 + ap_attack = 0.1 + } + + } + committed_operational_units = { + assault_engineer = { + battalion_mult = { + category = category_tank_destroyers + reliability = 0.02 + soft_attack = 0.05 + hard_attack = 0.1 + } + } + } + redeployment_priority = { + category_tank_destroyers = { + supply_consumption = -0.02 + default_morale = 0.2 + } + } + + independent_counterattacks = { + category_tank_destroyers = { + max_organisation = 6 + initiative = 0.1 + } + } + + selfsufficient_battalion = { + armored_signal = { + battalion_mult = { + category = category_tank_destroyers + hard_attack = 0.1 + ap_attack = 0.2 + + } + } + } + + + + } +} diff --git a/src/common/doctrines/subdoctrines/land/combat_support_subdoctrines.txt b/src/common/doctrines/subdoctrines/land/combat_support_subdoctrines.txt new file mode 100755 index 0000000..5111652 --- /dev/null +++ b/src/common/doctrines/subdoctrines/land/combat_support_subdoctrines.txt @@ -0,0 +1,1081 @@ +#碧蓝航线MOD +fire_concentration_BFL = { + track = combat_support + name = AZ_SUBDOCTRINE_FIRE_CONCENTRATION + description = SUBDOCTRINE_FIRE_CONCENTRATION_DESC + icon = GFX_doctrine_fire_concentration_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + original_tag = BFL + } + modifier = { + factor = 1000 + original_tag = HUJ + } + modifier = { + factor = 1000 + original_tag = YUW + } + } + + # EFFECTS + enable_tactic = tactic_overwhelming_fire + + artillery_brigade = { + combat_width = -1.6 + } + category_line_artillery = { + max_organisation = 10 + } + + rewards = { + BFL1 = { + #1 + army_artillery_defence_factor = 0.2 + category_line_artillery = { + defense = 0.3 + } + } + BFL2 = { + #2 + army_artillery_attack_factor = 0.2 + category_line_artillery = { + soft_attack = 0.2 + } + } + BFL3 = { + #3 + experience_gain_artillery_combat_factor = 0.25 + category_line_artillery = { + breakthrough = 0.3 + defense = 0.2 + } + } + BFL4 = { + #4 + category_anti_air = { + max_strength = 4.4 + soft_attack = 0.8 + hard_attack = 0.2 + air_attack = 0.5 + breakthrough = 1 + defense = 0.5 + } + } + BFL5 = { + #5 + anti_tank_brigade = { + ap_attack = 1 + soft_attack = 0.2 + hard_attack = 0.5 + defense = 0.5 + } + artillery_brigade = { + soft_attack = 0.2 + hard_attack = 0.2 + } + } + } +} + +mobile_recon_and_assault_TIX = { + track = combat_support + name = AZ_SUBDOCTRINE_MOBILE_RECON_AND_ASSAULT + description = SUBDOCTRINE_MOBILE_RECON_AND_ASSAULT_DESC + icon = GFX_doctrine_mobile_recon_assault_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + original_tag = TIX + } + modifier = { + factor = 1000 + original_tag = BYG + } + modifier = { + factor = 0 + is_major = no + } + } + + + armored_car = { + max_strength = 15 + max_organisation = 10 + } + light_armor = { + max_strength = 5 + max_organisation = 10 + } + + rewards = { + + TIX1 = { + supply_node_range = 0.1 + category_mobile_and_mobile_combat_sup = { + maximum_speed = 0.2 + default_morale = 0.3 + } + + } + TIX2 = { + recon_factor = 0.5 + category_recon = { + maximum_speed = 0.25 + } + } + TIX3 = { + light_tank_recon = { + battalion_mult = { + category = category_all_armor + breakthrough = 0.2 + } + } + mot_artillery_brigade = { + soft_attack = 0.2 + } + + } + TIX4 = { + category_self_propelled_artillery = { + soft_attack = 0.2 + } + category_self_propelled_anti_air= { + air_attack = 0.3 + soft_attack = 0.2 + } + category_tank_destroyers = { + hard_attack = 0.2 + ap_attack = 0.3 + } + armored_car = { + breakthrough = 0.4 + default_morale = 0.4 + } + } + TIX5 = { + recon_factor_while_entrenched = 0.5 + category_recon = { + maximum_speed = 0.25 + } + light_tank_recon = { + recon = 0.4 + breakthrough = 0.3 + } + } + } +} + +field_engineering_SAD = { + track = combat_support + name = AZ_SUBDOCTRINE_FIELD_ENGINEERING + description = SUBDOCTRINE_FIELD_ENGINEERING_DESC + icon = GFX_doctrine_field_engineering_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + } + + ai_will_do = { + base = 1 + modifier = { + factor = 1000 + original_tag = SAD + } + modifier = { + factor = 1000 + original_tag = CHY + } + } + + engineer = { + river = { + movement = 0.2 + } + forest = { + movement = 0.2 + } + } + assault_engineer = { + river = { + movement = 0.2 + } + forest = { + movement = 0.2 + } + } + pioneer_support = { + river = { + movement = 0.2 + } + forest = { + movement = 0.2 + } + } + #TODO_JBE: replace with category of engineers + rewards = { + SAD1 = { + engineer = { + max_organisation = 10 + battalion_mult = { + category = category_all_infantry + entrenchment = 0.05 + } + } + maintenance_company = { + max_organisation = 10 + } + + } + SAD2 = { + engineer = { + max_strength = 0.5 + defense = 0.2 + } + maintenance_company = { + max_strength = 0.5 + } + } + SAD3 = { + engineer = { + battalion_mult = { + category = category_artillery + soft_attack = 0.2 + hard_attack = 0.4 + defense = 0.2 + } + } + } + SAD4 = { + engineer = { + breakthrough = 1 + } + maintenance_company = { + supply_consumption = -0.02 + battalion_mult = { + category = category_tanks + reliability = 0.1 + max_strength = 0.05 + } + } + + } + SAD5 = { + engineer = { + max_organisation = 10 + soft_attack = 0.3 + hard_attack = 2 + } + maintenance_company = { + max_organisation = 10 + } + } + + } +} + +flying_batteries_AZ = { + track = combat_support + name = AZ_SUBDOCTRINE_FLYING_BATTERIES + description = SUBDOCTRINE_FLYING_BATTERIES_DESC + icon = GFX_doctrine_flying_batteries_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + } + + + ai_will_do = { + base = 1 + + modifier = { + factor = 0 + NOT = { has_tech = rocket_artillery } + } + } + + # EFFECTS + effect = { + add_tech_bonus = { + bonus = 1 + uses = 1 + category = rocketry + name = SUBDOCTRINE_FLYING_BATTERIES + } + } + + category_line_artillery = { + soft_attack = 0.2 + } + + rewards = { + AZ1 = { + mot_rocket_artillery_brigade = { + maximum_speed = 0.2 + max_organisation = 20 + } + motorized_rocket_brigade = { + maximum_speed = 0.2 + max_organisation = 20 + } + mot_artillery_brigade = { + maximum_speed = 0.2 + max_organisation = 20 + } + } + AZ2 = { + + recon = { + battalion_mult = { + category = category_line_artillery #there should be a motorized arty only cat + soft_attack = 0.15 + defense = 0.2 + } + recon = 0.5 + } + } + AZ3 = { + armored_signal = { + battalion_mult = { + category = category_line_artillery + initiative = 0.03 + supply_consumption = -0.02 + } + } + + } + AZ4 = { + category_line_artillery = { + default_morale = 0.1 + breakthrough = 0.5 + } + + } + AZ5 = { + mot_rocket_artillery_brigade = { + max_strength = 5 + max_organisation = 20 + } + motorized_rocket_brigade = { + max_strength = 5 + max_organisation = 20 + } + mot_artillery_brigade = { + max_strength = 5 + max_organisation = 20 + } + } + } +} + +#############################以下为原版############################## + +anti_tank_frontline = { + track = combat_support + name = SUBDOCTRINE_ANTI_TANK_FRONT + description = SUBDOCTRINE_ANTI_TANK_FRONT_DESC + icon = GFX_doctrine_antitank_frontline_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + + ai_will_do = { base = 0 } + + # EFFECTS + + + engineer = { + battalion_mult = { + category = category_line_artillery + entrenchment = 0.2 + add = yes + } + } + + rewards = { + pakfront = { + #1 + anti_tank_brigade = { + defense = 0.2 + ap_attack = 0.1 + soft_attack = 0.2 + } + } + emplacement_rotation = { + #2 + anti_tank_brigade = { + max_organisation = 10 + } + } + weakpoint_studies = { + #3 + anti_tank_brigade = { + ap_attack = 0.1 + hard_attack = 0.1 + } + } + offensive_deployments = { + #4 + mot_anti_tank_brigade = { + breakthrough = 0.2 + ap_attack = 0.2 + } + } + assault_anti_tank = { + #5 + mot_anti_tank_brigade = { + soft_attack = 0.2 + hard_attack = 0.2 + } + } + } +} + +air_cavalry = { + track = combat_support + name = SUBDOCTRINE_AIR_CAVALRY + description = SUBDOCTRINE_AIR_CAVALRY_DESC + icon = GFX_doctrine_air_cavalry_medium + + xp_cost = 100 + xp_type = army + + available = { + is_special_project_completed = sp:sp_air_helicopter + } + visible = { + has_dlc = "Gotterdammerung" + } + + ai_will_do = { base = 0 } + + # EFFECTS + effect = { + add_tech_bonus = { + bonus = 0.5 + uses = 2 + category = helicopter_tech + name = SUBDOCTRINE_AIR_CAVALRY + } + } + + rewards = { + airborne_observers = { + helicopter_recon = { + battalion_mult = { + category = category_artillery + soft_attack = 0.1 + } + max_organisation = 10 + } + } + service_and_support = { + category_helicopter_support_companies = { + max_strength = 0.03 + } + } + rescue_liasions = { + helicopter_field_hospital = { + battalion_mult = { + category = category_all_infantry + max_strength = 0.05 + default_morale = 0.05 + } + max_organisation = 5 + casualty_trickleback = 0.05 + } + } + + transport_assault = { + helicopter_transport = { + battalion_mult = { + category = category_light_infantry + maximum_speed = 0.2 + breakthrough = 0.05 + } + breakthrough = 0.05 + max_organisation = 10 + } + + } + intervention_units = { + helicopter_brigade = { + battalion_mult = { + category = category_all_infantry + soft_attack = 0.1 + } + max_organisation = 10 + + } + } + + + } +} + +mobile_recon_and_assault = { + track = combat_support + name = SUBDOCTRINE_MOBILE_RECON_AND_ASSAULT + description = SUBDOCTRINE_MOBILE_RECON_AND_ASSAULT_DESC + icon = GFX_doctrine_mobile_recon_assault_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + visible = { + has_dlc = "La Resistance" + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 75 + original_tag = TIX + } + modifier = { + factor = 75 + original_tag = BYG + } + modifier = { + factor = 0 + is_major = no + } + } + + + armored_car = { + max_organisation = 3 + } + light_armor = { + max_organisation = 5 + } + + rewards = { + + motorization_support = { + category_mobile_and_mobile_combat_sup = { + maximum_speed = 0.1 + default_morale = 0.2 + } + + } + long_range_reconnaissance = { + category_recon = { + maximum_speed = 0.15 + } + } + mobile_operational_deployments = { + light_tank_recon = { + battalion_mult = { + category = category_all_armor + breakthrough = 0.1 + } + } + mot_artillery_brigade = { + soft_attack = 0.05 + } + + } + self_propelled_support_elements = { + category_self_propelled_artillery = { + soft_attack = 0.10 + } + category_self_propelled_anti_air= { + air_attack = 0.15 + soft_attack = 0.05 + } + category_tank_destroyers = { + hard_attack = 0.1 + ap_attack = 0.03 + } + armored_car = { + breakthrough = 0.2 + default_morale = 0.2 + } + } + deep_reconnaissance_focus = { + category_recon = { + maximum_speed = 0.1 + } + light_tank_recon = { + recon = 0.2 + breakthrough = 0.1 + } + } + } +} + +mobile_recon_and_assault_no_lar = { + track = combat_support + name = SUBDOCTRINE_MOBILE_RECON_AND_ASSAULT + description = SUBDOCTRINE_MOBILE_RECON_AND_ASSAULT_DESC + icon = GFX_doctrine_mobile_recon_assault_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + visible = { + NOT = { + has_dlc = "La Resistance" + } + } + + + ai_will_do = { + + base = 1 + modifier = { + factor = 75 + original_tag = TIX + } + modifier = { + factor = 75 + original_tag = BYG + } + modifier = { + factor = 0 + is_major = no + } + } + + + light_armor = { + max_organisation = 5 + } + + rewards = { + + motorization_support = { + category_mobile_and_mobile_combat_sup = { + maximum_speed = 0.1 + default_morale = 0.2 + } + + } + long_range_reconnaissance = { + category_recon = { + maximum_speed = 0.15 + } + } + mobile_operational_deployments = { + light_tank_recon = { + battalion_mult = { + category = category_all_armor + breakthrough = 0.1 + } + } + mot_artillery_brigade = { + soft_attack = 0.05 + } + + } + self_propelled_support_elements = { + category_self_propelled_artillery = { + soft_attack = 0.10 + } + category_self_propelled_anti_air= { + air_attack = 0.15 + soft_attack = 0.05 + } + category_tank_destroyers = { + hard_attack = 0.1 + ap_attack = 0.03 + } + } + deep_reconnaissance_focus = { + category_recon = { + maximum_speed = 0.1 + } + light_tank_recon = { + recon = 0.2 + breakthrough = 0.1 + } + } + } +} + +self_propelled_support = { + + track = combat_support + name = SUBDOCTRINE_SELF_PROPELLED_SUPPORT + description = SUBDOCTRINE_SELF_PROPELLED_SUPPORT_DESC + icon = GFX_doctrine_self_propelled_support_medium + + xp_cost = 100 + xp_type = army + + available = { + + } + visible = { + has_dlc = "No Compromise, No Surrender" + } + + + ai_will_do = { base = 0 } + + + category_self_propelled_artillery = { + soft_attack = 0.1 + } + category_self_propelled_anti_air= { + air_attack = 0.1 + } + category_tank_destroyers = { + hard_attack = 0.05 + } + + + rewards = { + + mobile_battery_management_platoons = { + category_self_propelled_artillery = { + max_organisation = 10 + } + category_self_propelled_anti_air= { + max_organisation = 10 + } + category_tank_destroyers = { + max_organisation = 10 + } + } + screening_attacks = { + + recon = { + battalion_mult = { + category = category_self_propelled_artillery + soft_attack = 0.1 + default_morale = 0.2 + } + } + mot_recon = { + battalion_mult = { + category = category_self_propelled_artillery + soft_attack = 0.1 + default_morale = 0.2 + } + } + light_tank_recon = { + battalion_mult = { + category = category_self_propelled_artillery + soft_attack = 0.1 + default_morale = 0.2 + } + } + } + all_terrain_mobility = { + category_self_propelled_artillery = { + maximum_speed = 0.3 + } + category_self_propelled_anti_air= { + maximum_speed = 0.3 + } + category_tank_destroyers = { + maximum_speed = 0.3 + } + } + multirole_support_vehicles = { + category_self_propelled_artillery = { + hard_attack = 0.05 + } + category_self_propelled_anti_air= { + soft_attack = 0.1 + hard_attack = 0.05 + } + category_tank_destroyers = { + soft_attack = 0.1 + } + } + shoot_and_scoot = { + category_self_propelled_artillery = { + max_organisation = 10 + default_morale = 0.4 + } + category_self_propelled_anti_air= { + max_organisation = 10 + default_morale = 0.4 + } + category_tank_destroyers = { + max_organisation = 10 + default_morale = 0.4 + } + } + + } + + +} + +siege_artillery = { + track = combat_support + name = SUBDOCTRINE_SIEGE_ARTILLERY + description = SUBDOCTRINE_SIEGE_ARTILLERY_DESC + icon = GFX_doctrine_siege_artillery_medium + + xp_cost = 100 + xp_type = army + + available = { + is_special_project_completed = sp:sp_land_super_heavy_howitzer + + } + visible = { + has_dlc = "Gotterdammerung" + } + + ai_will_do = { base = 0 } + + super_heavy_artillery = { + battalion_mult = { + category = category_army + soft_attack = 0.1 + defense = 0.1 + } + } + + equipment_bonus = { + railway_gun_equipment = { + railway_gun_attack = 0.25 + instant = yes + } + super_heavy_railway_gun_equipment = { + railway_gun_attack = 0.25 + instant = yes + } + } + + rewards = { + + fortress_busters = { + super_heavy_artillery = { + fort = { + attack = 0.25 + } + } + self_propelled_super_heavy_artillery = { + fort = { + attack = 0.25 + } + } + } + improved_transport_preparation = { + category_line_artillery = { + default_morale = 0.2 + } + super_heavy_artillery = { + plains = { + movement = 0.1 + } + } + self_propelled_super_heavy_artillery = { + plains = { + movement = 0.1 + } + } + + equipment_bonus = { + railway_gun_equipment = { + railway_gun_hours_between_redistribution = -0.5 + instant = yes + } + super_heavy_railway_gun_equipment = { + railway_gun_hours_between_redistribution = -0.5 + instant = yes + } + + } + } + precomputed_firing_data = { + super_heavy_artillery = { + max_organisation = 10 + defense = 0.2 + } + self_propelled_super_heavy_artillery = { + max_organisation = 10 + defense = 0.2 + } + + } + urban_strongpoint_sieges = { + + category_artillery = { + soft_attack = 0.05 + } + super_heavy_artillery = { + urban = { + attack = 0.2 + } + } + self_propelled_super_heavy_artillery = { + urban = { + attack = 0.2 + } + } + } + mobile_artillery_command = { + category_support_artillery = { + max_organisation = 10 + } + self_propelled_super_heavy_artillery = { + max_organisation = 10 + maximum_speed = 0.5 + } + + equipment_bonus = { + railway_gun_equipment = { + maximum_speed = 1 + instant = yes + } + super_heavy_railway_gun_equipment = { + maximum_speed = 1 + instant = yes + } + + } + } + } +} + +field_engineering = { + track = combat_support + name = SUBDOCTRINE_FIELD_ENGINEERING + description = SUBDOCTRINE_FIELD_ENGINEERING_DESC + icon = GFX_doctrine_field_engineering_medium + + xp_cost = 100 + xp_type = army + + ai_will_do = { + base = 1 + modifier = { + factor = 75 + original_tag = SAD + } + modifier = { + factor = 75 + original_tag = CHY + } + } + + engineer = { + river = { + movement = 0.2 + } + forest = { + movement = 0.2 + } + } + assault_engineer = { + river = { + movement = 0.2 + } + forest = { + movement = 0.2 + } + } + pioneer_support = { + river = { + movement = 0.2 + } + forest = { + movement = 0.2 + } + } + #TODO_JBE: replace with category of engineers + rewards = { + rapid_fire_lane_clearance = { + engineer = { + max_organisation = 5 + battalion_mult = { + category = category_all_infantry + entrenchment = 0.01 + } + } + maintenance_company = { + max_organisation = 5 + } + + } + sapper_fieldcraft = { + engineer = { + max_strength = 0.25 + defense = 0.1 + } + maintenance_company = { + max_strength = 0.25 + } + } + engineerdug_gun_emplacements = { + engineer = { + battalion_mult = { + category = category_artillery + soft_attack = 0.1 + defense = 0.1 + } + } + } + smoke_projector_training = { + engineer = { + breakthrough = 0.5 + } + maintenance_company = { + supply_consumption = -0.01 + battalion_mult = { + category = category_tanks + reliability = 0.05 + strength = 0.05 + } + } + + } + charge_and_flame = { + engineer = { + max_organisation = 5 + soft_attack = 0.05 + hard_attack = 1 + } + maintenance_company = { + max_organisation = 5 + } + } + + } +} diff --git a/src/common/doctrines/subdoctrines/land/infantry_subdoctrines.txt b/src/common/doctrines/subdoctrines/land/infantry_subdoctrines.txt new file mode 100755 index 0000000..79948e2 --- /dev/null +++ b/src/common/doctrines/subdoctrines/land/infantry_subdoctrines.txt @@ -0,0 +1,1149 @@ +#碧蓝航线MOD +large_unit_tactics_BFL = { + track = infantry + name = AZ_SUBDOCTRINE_LARGE_UNIT_TACTICS + description = SUBDOCTRINE_LARGE_UNIT_TACTICS_DESC + icon = GFX_doctrine_human_infantry_offensive_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + has_doctrine = mass_assault + } + + ai_will_do = { + base = 1 + modifier = { + factor = 1000 + OR = { + original_tag = BFL + original_tag = DOH + original_tag = CHY + } + } + modifier = { + factor = 0.5 + is_major = no + } + } + + # EFFECTS + effect = { + + } + + #OTHER BASE REWARDS + + category_all_infantry = { + supply_consumption = -0.02 + } + + rewards = { + wide_trench_networks = { + unit_infantry_design_cost_factor = -1 + dig_in_speed_factor = 0.5 + max_dig_in_factor = 0.1 + } + flexible_division_structures = { + #2 + experience_gain_infantry_combat_factor = 0.25 + infantry = { + combat_width = -0.3 + } + } + unit_knowledge_sharing = { + #3 + intel_from_combat_factor = 0.2 + category_all_infantry = { + experience_loss_factor = -0.1 + } + } + large_front_offensive = { + #4 + category_all_infantry = { + max_organisation = 15 + soft_attack = 0.25 + } + army_morale = 0.3 + + } + motorization_initiative = { + #5 + category_all_infantry = { + breakthrough = 0.4 + soft_attack = 0.2 + } + category_vehicle_infantry = { + supply_consumption = -0.03 + reliability = 0.1 + } + } + + } +} + +assault_infantry_BYG = { + track = infantry + name = AZ_SUBDOCTRINE_ASSAULT_INFANTRY + description = SUBDOCTRINE_ASSAULT_INFANTRY_DESC + icon = GFX_doctrine_assault_infantry_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = superior_firepower + has_doctrine = new_mobile_warfare + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + original_tag = BYG + } + modifier = { + factor = 0.5 + is_major = no + } + } + + # EFFECTS + + #OTHER BASE REWARDS + artillery = { + soft_attack = 0.15 + } + + rewards = { + BYG1 = { + #1 + artillery = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.3 + } + } + } + BYG2 = { + #2 + category_support_artillery = { + soft_attack = 0.1 + } + anti_tank = { + ap_attack = 0.2 + hard_attack = 0.4 + } + anti_air = { + air_attack = 0.2 + } + + } + + BYG3 = { + #3 + category_support_artillery = { + max_organisation = 20 + soft_attack = 0.15 + } + + } + BYG4 = { + #4 + light_tank_recon = { + max_organisation = 20 + battalion_mult = { + category = category_all_infantry + breakthrough = 0.2 + } + battalion_mult = { + category = category_all_infantry + max_organisation = 10 + add = yes + } + } + mot_recon = { + max_organisation = 20 + battalion_mult = { + category = category_all_infantry + breakthrough = 0.2 + } + battalion_mult = { + category = category_all_infantry + max_organisation = 10 + add = yes + } + } + + + } + BYG5 = { + #5 + category_support_artillery = { + supply_consumption = -0.03 + } + light_flame_tank = { + battalion_mult = { + category = category_all_infantry + breakthrough = 0.2 + soft_attack = 0.2 + } + } + medium_flame_tank = { + battalion_mult = { + category = category_all_infantry + breakthrough = 0.2 + soft_attack = 0.2 + } + } + heavy_flame_tank = { + battalion_mult = { + category = category_all_infantry + breakthrough = 0.2 + soft_attack = 0.2 + } + } + + } + } +} + +defensive_postures_HUJ = { + track = infantry + name = AZ_SUBDOCTRINE_DEFENSIVE_POSTURES + description = SUBDOCTRINE_DEFENSIVE_POSTURES_DESC + icon = GFX_doctrine_defensive_postures_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = grand_battleplan + has_doctrine = mass_assault + } + } + + ai_will_do = { + base = 1 + modifier = { + factor = 1000 + OR = { + original_tag = HUJ + original_tag = YUW + } + } + } + + #OTHER BASE REWARDS + category_all_infantry = { + supply_consumption = -0.02 + entrenchment = 0.4 + } + + rewards = { + HUJ1 = { + max_dig_in = 5 + dig_in_speed_factor = 1 + } + HUJ2 = { + army_infantry_defence_factor = 0.1 + category_all_infantry = { + max_organisation = 20 + defense = 0.2 + } + } + HUJ3 = { + max_dig_in_factor = 0.25 + category_all_infantry = { + entrenchment = 0.2 + } + } + HUJ4 = { + category_all_infantry = { + soft_attack = 0.2 + } + } + HUJ5 = { + max_dig_in = 5 + max_dig_in_factor = 0.25 + dig_in_speed_factor = 1 + } + + } +} + +mobile_infantry_TIX = { + track = infantry + name = AZ_SUBDOCTRINE_MOBILE_INFANTRY + description = SUBDOCTRINE_MOBILE_INFANTRY_DESC + icon = GFX_doctrine_mobile_infantry_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = new_mobile_warfare + has_doctrine = superior_firepower + } + } + + ai_will_do = { + base = 1 + modifier = { + factor = 1000 + original_tag = TIX + } + modifier = { + factor = 0.5 + is_major = no + } + + } + + # EFFECTS + army_speed_factor = 0.1 + enable_tactic = tactic_overwhelming_fire + effect = { + add_tech_bonus = { + bonus = 1 + uses = 2 + category = motorized_equipment + name = SUBDOCTRINE_MOBILE_INFANTRY + } + } + + rewards = { + TIX1 = { + category_cavalry = { + max_strength = 5 + max_organisation = 20 + maximum_speed = 0.2 + breakthrough = 0.5 + } + } + TIX2 = { + category_all_infantry = { + max_organisation = 20 + default_morale = 0.2 + maximum_speed = 0.1 + } + } + TIX3 = { + category_vehicle_infantry = { + max_organisation = 20 + max_strength = 5 + breakthrough = 0.5 + } + } + TIX4 = { + category_vehicle_infantry = { + default_morale = 0.2 + soft_attack = 0.4 + hard_attack = 1 + } + } + TIX5 = { + army_speed_factor = 0.1 + army_attack_speed_factor = 1 + category_all_infantry = { + max_organisation = 10 + maximum_speed = 0.3 + } + } + + } +} + +commandos_SAD = { + track = infantry + name = AZ_SUBDOCTRINE_COMMANDOS + description = SUBDOCTRINE_COMMANDOS_DESC + icon = GFX_doctrine_commandos_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = grand_battleplan + has_doctrine = superior_firepower + } + } + + + ai_will_do = { + base = 1 + modifier = { + factor = 1000 + original_tag = SAD + } + } + enable_tactic = tactic_infantry_charge + category_light_infantry = { + max_strength = 0.2 + } + + # EFFECTS + + rewards = { + SAD1 = { + category_light_infantry = { + supply_consumption = -0.03 + reliability = 0.1 + } + field_hospital = { + casualty_trickleback = 0.1 + } + helicopter_brigade = { + casualty_trickleback = 0.1 + } + helicopter_field_hospital = { + casualty_trickleback = 0.1 + } + + } + SAD2 = { + + signal_company = { + battalion_mult = { + category = category_all_infantry + defense = 0.2 + } + } + category_vehicle_infantry = { + reliability = 0.1 + breakthrough = 0.2 + } + + } + SAD3 = { + recon = { + battalion_mult = { + category = category_all_infantry + soft_attack = 0.2 + } + } + mot_recon = { + battalion_mult = { + category = category_all_infantry + soft_attack = 0.2 + } + } + light_tank_recon = { + battalion_mult = { + category = category_all_infantry + soft_attack = 0.2 + } + } + + infantry = { + desert = { + attack = 0.1 + movement = 0.2 + } + jungle = { + attack = 0.1 + movement = 0.2 + } + hills = { + attack = 0.1 + movement = 0.2 + } + } + } + + SAD4 = { + intel_from_combat_factor = 0.4 + } + + SAD5 = { + category_all_infantry = { + soft_attack = 0.2 + breakthrough = 0.4 + } + + } + } +} + + +##############################以下为原版######################## + + + +large_unit_tactics = { + track = infantry + name = SUBDOCTRINE_LARGE_UNIT_TACTICS + description = SUBDOCTRINE_LARGE_UNIT_TACTICS_DESC + icon = GFX_doctrine_human_infantry_offensive_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + + ai_will_do = { + base = 1 + modifier = { + factor = 95 + OR = { + original_tag = BFL + original_tag = DOH + original_tag = CHY + } + } + modifier = { + factor = 0.5 + is_major = no + } + + + } + + # EFFECTS + effect = { + + } + + #OTHER BASE REWARDS + + category_all_infantry = { + supply_consumption = -0.01 + } + + rewards = { + wide_trench_networks = { + dig_in_speed_factor = 0.10 + } + flexible_division_structures = { + #2 + unit_infantry_design_cost_factor = -1 + infantry = { + combat_width = -0.3 + } + } + unit_knowledge_sharing = { + #3 + category_all_infantry = { + experience_loss_factor = -0.01 + } + } + large_front_offensive = { + #4 + category_all_infantry = { + max_organisation = 10 + soft_attack = 0.1 + } + army_morale = 0.2 + + } + motorization_initiative = { + #5 + category_all_infantry = { + breakthrough = 0.1 + soft_attack = 0.1 + } + category_vehicle_infantry = { + supply_consumption = -0.02 + reliability = 0.1 + } + } + + } +} + +assault_infantry = { + track = infantry + name = SUBDOCTRINE_ASSAULT_INFANTRY + description = SUBDOCTRINE_ASSAULT_INFANTRY_DESC + icon = GFX_doctrine_assault_infantry_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 95 + original_tag = BYG + } + modifier = { + factor = 0.5 + is_major = no + } + } + + # EFFECTS + + #OTHER BASE REWARDS + artillery = { + soft_attack = 0.1 + } + + rewards = { + low_echelon_fire_support = { + #1 + artillery = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.2 + } + } + } + organic_battalion_fire_support = { + #2 + category_support_artillery = { + soft_attack = 0.05 + } + anti_tank = { + ap_attack = 0.1 + hard_attack = 0.1 + } + anti_air = { + air_attack = 0.1 + } + + } + + integrated_support_batteries = { + #3 + category_support_artillery = { + max_organisation = 20 + soft_attack = 0.1 + } + + } + breakthrough_fireteams = { + #4 + light_tank_recon = { + max_organisation = 20 + battalion_mult = { + category = category_all_infantry + breakthrough = 0.2 + } + battalion_mult = { + category = category_all_infantry + max_organisation = 5 + add = yes + } + } + mot_recon = { + max_organisation = 20 + battalion_mult = { + category = category_all_infantry + breakthrough = 0.1 + } + battalion_mult = { + category = category_all_infantry + max_organisation = 5 + add = yes + } + } + + + } + assault_detachments = { + #5 + category_support_artillery = { + supply_consumption = -0.02 + } + light_flame_tank = { + battalion_mult = { + category = category_all_infantry + breakthrough = 0.1 + soft_attack = 0.1 + } + } + medium_flame_tank = { + battalion_mult = { + category = category_all_infantry + breakthrough = 0.1 + soft_attack = 0.1 + } + } + heavy_flame_tank = { + battalion_mult = { + category = category_all_infantry + breakthrough = 0.1 + soft_attack = 0.1 + } + } + + } + } +} + +mounted_infantry = { + track = infantry + name = SUBDOCTRINE_MOUNTED_INFANTRY + description = SUBDOCTRINE_MOUNTED_INFANTRY_DESC + icon = GFX_doctrine_mounted_infantry_medium + + xp_cost = 100 + xp_type = army + + + mastery = { + categories = { + category_cavalry + category_all_infantry + } + } + available = { + always = yes + } + visible = { + has_dlc = "No Compromise, No Surrender" + } + + ai_will_do = { + base = 1 + modifier = { + factor = 0.5 + is_major = yes + } + } + category_cavalry = { + soft_attack = 0.1 + breakthrough = 0.1 + } + + unit_cavalry_design_cost_factor = -1 + + # EFFECTS + + rewards = { + dragoon_traditions = { + category_cavalry = { + breakthrough = 0.20 + defense = 0.1 + } + } + mounted_skirmish_groups = { + recon = { + max_organisation = 10 + soft_attack = 0.2 + battalion_mult = { + category = category_light_infantry + soft_attack = 0.1 + defense = 0.1 + } + battalion_mult = { + category = category_light_infantry + max_organisation = 5 + add = yes + } + } + category_cavalry = { + max_organisation = 5 + } + } + anti_mechanized_cavalry_groups = { + category_cavalry = { + hard_attack = 0.2 + ap_attack = 0.2 + } + + +} beasts_of_war = { + category_cavalry = { + maximum_speed = 0.5 + max_strength = 0.05 + } + recon = { + maximum_speed = 0.5 + } + } + limbered_combat_support = { + artillery_brigade = { + maximum_speed = 0.5 + } + anti_tank_brigade = { + maximum_speed = 0.5 + } + anti_air_brigade = { + maximum_speed = 0.5 + } + rocket_artillery_brigade = { + maximum_speed = 0.5 + } + } + + } +} + +commandos = { + track = infantry + name = SUBDOCTRINE_COMMANDOS + description = SUBDOCTRINE_COMMANDOS_DESC + icon = GFX_doctrine_commandos_medium + + xp_cost = 100 + xp_type = army + + available = { + + } + visible = { + has_dlc = "No Compromise, No Surrender" + } + + + ai_will_do = { base = 0 } + enable_tactic = tactic_infantry_charge + category_light_infantry = { + max_strength = 0.15 + } + + # EFFECTS + + rewards = { + isolated_combat_elements = { + category_light_infantry = { + supply_consumption = -0.01 + reliability = 0.05 + } + field_hospital = { + casualty_trickleback = 0.05 + } + helicopter_brigade = { + casualty_trickleback = 0.05 + } + helicopter_field_hospital = { + casualty_trickleback = 0.05 + } + + } + security_zone_operations = { + + signal_company = { + battalion_mult = { + category = category_all_infantry + defense = 0.1 + } + } + category_vehicle_infantry = { + reliability = 0.05 + breakthrough = 0.1 + } + + } + rigorous_training_regimen = { + recon = { + battalion_mult = { + category = category_all_infantry + soft_attack = 0.1 + } + } + mot_recon = { + battalion_mult = { + category = category_all_infantry + soft_attack = 0.1 + } + } + light_tank_recon = { + battalion_mult = { + category = category_all_infantry + soft_attack = 0.1 + } + } + + infantry = { + desert = { + attack = 0.05 + movement = 0.1 + } + jungle = { + attack = 0.05 + movement = 0.1 + } + hills = { + attack = 0.05 + movement = 0.1 + } + } + } + + field_intel_retrieval = { + intel_from_combat_factor = 0.15 + } + + integrated_assaults = { + category_all_infantry = { + soft_attack = 0.1 + breakthrough = 0.1 + } + + + } + } +} + +irregulars = { + track = infantry + name = SUBDOCTRINE_IRREGULARS + description = SUBDOCTRINE_IRREGULARS_DESC + icon = GFX_doctrine_irregulars_medium + + xp_cost = 50 + xp_type = army + + available = { + + } + visible = { + has_dlc = "No Compromise, No Surrender" + } + + + ai_will_do = { + base = 1 + modifier = { + factor = 2 + is_major = no + } + modifier = { + factor = 0 + NOT = { + OR = { + has_template_containing_unit = irregular_infantry + has_template_containing_unit = militia + } + } + } + } + irregular_infantry = { + defense = 0.1 + supply_consumption = -0.05 + } + militia = { + defense = 0.1 + supply_consumption = -0.01 + } + + # EFFECTS + + rewards = { + service_by_lot = { + mobilization_speed = 0.05 + } + partisan_regiments = { + irregular_infantry = { + combat_width = -0.4 + } + militia = { + combat_width = -0.4 + } + category_light_infantry = { + defense = 0.1 + } + } + + + improvised_officer_groups = { + category_light_infantry = { + max_organisation = 10 + soft_attack = 0.1 + breakthrough = 0.1 + } + + + } + levee_en_masse = { + conscription = 0.02 + mobilization_speed = 0.05 + + } + standardization_efforts = { + category_light_infantry = { + max_organisation = 10 + soft_attack = 0.1 + } + + effect = { + add_tech_bonus = { + bonus = 0.5 + uses = 2 + category = support_tech + name = SUBDOCTRINE_IRREGULARS + } + } + } + + } +} + +peoples_war = { + track = infantry + name = SUBDOCTRINE_PEOPLES_WAR + description = SUBDOCTRINE_PEOPLES_WAR_DESC + icon = GFX_doctrine_peoples_war_medium + + xp_cost = 50 + xp_type = army + + available = { + has_government = communism + } + visible = { + has_dlc = "No Compromise, No Surrender" + } + ai_will_do = { + + base = 1 + modifier = { + factor = 95 + original_tag = PRC + } + + modifier = { + factor = 2 + is_major = no + } + + } + + # EFFECTS + enable_tactic = tactic_guerrilla_tactics + + militia = { + soft_attack = 0.1 + defense = 0.2 + } + + rewards = { + revolutionary_base_area = { + #1 + mastery = 50 + militia = { + defense = 0.1 + supply_consumption = -0.02 + } + category_light_infantry = { + max_organisation = 5 + } + + } + destruction_over_land_gains = { + #2 + mastery = 50 + category_light_infantry = { + default_morale = 0.2 + } + militia = { + equipment_capture_factor = 0.01 + } + } + quick_decision_offensive_warfare = { + #3 + militia = { + initiative = 0.2 + max_organisation = 10 + breakthrough = 0.2 + } + + + + } + people_not_things = { + #4 + mastery = 50 + category_light_infantry = { + soft_attack = 0.1 + max_strength = 0.15 + } + } + } +} + +great_war_infantry = { + track = infantry + name = SUBDOCTRINE_GREAT_WAR_INFANTRY + description = SUBDOCTRINE_GREAT_WAR_INFANTRY_DESC + icon = GFX_doctrine_great_war_infantry_medium + + xp_cost = 50 + xp_type = army + + available = { + always = yes + + } + + ai_will_do = { + base = 1 + modifier = { + factor = 95 + original_tag = YUW + } + } + # EFFECTS + #OTHER BASE REWARDS + category_cavalry = { + supply_consumption = -0.02 + } + category_light_infantry = { + defense = 0.1 + } + production_speed_bunker_factor = 0.25 + + rewards = { + traverse_digging = { + dig_in_speed_factor = 0.05 + engineer = { + battalion_mult = { + category = category_light_infantry + entrenchment = 0.05 + } + } + + } + sapping_operations = { + category_light_infantry = { + defense = 0.1 + } + field_hospital = { + casualty_trickleback = 0.1 + } + } + centralized_artillery_control = { + artillery = { + soft_attack = 0.1 + battalion_mult = { + category = category_light_infantry + soft_attack = 0.1 + breakthrough = 0.05 + } + } + } + field_fortification_emphasis = { + category_light_infantry = { + reliability = 0.05 + defense = 0.05 + max_organisation = 5 + } + } + redoubt_networks = { + dig_in_speed_factor = 0.10 + } + + } +} \ No newline at end of file diff --git a/src/common/doctrines/subdoctrines/land/operations_subdoctrines.txt b/src/common/doctrines/subdoctrines/land/operations_subdoctrines.txt new file mode 100755 index 0000000..f2caeb0 --- /dev/null +++ b/src/common/doctrines/subdoctrines/land/operations_subdoctrines.txt @@ -0,0 +1,1461 @@ +#碧蓝航线MOD +mission_type_tactics_TIX = { + track = operations + name = AZ_SUBDOCTRINE_MISSION_TYPE_TACTICS + description = SUBDOCTRINE_MISSION_TYPE_TACTICS_DESC + icon = GFX_doctrine_mission_type_tactics_medium + + xp_cost = 100 + xp_type = army + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + original_tag = TIX + } + + modifier = { + factor = 0.5 + is_major = no + } + + } + + available = { + shijianniangguojia_trigger = yes + has_doctrine = new_mobile_warfare + } + # EFFECTS + command_power_gain = 0.1 + category_all_infantry = { + max_organisation = 20 + } + + + + rewards = { + TIX1 ={ + #1 + max_planning = 0.1 + planning_speed = 0.1 + category_all_infantry = { + default_morale = 0.3 + initiative = 0.05 + } + } + TIX2 = { + #2 + org_loss_at_low_org_factor = -0.25 + org_loss_when_moving = -0.25 + } + TIX3 = { + #3 + army_defence_factor = 0.1 + army_morale_factor = 0.2 + category_all_infantry= { + default_morale = 0.3 + } + category_all_armor = { + maximum_speed = 0.2 + } + + } + TIX4 = { + #4 + army_attack_factor = 0.2 + army_breakthrough_against_major_factor = 0.1 + category_all_infantry = { + breakthrough = 0.2 + max_organisation = 20 + } + } + TIX5 = { + #5 + resistance_target = -0.2 + max_planning = 0.1 + planning_speed = 0.3 + category_all_infantry = { + default_morale = 0.5 + initiative = 0.05 + } + category_tanks = { + default_morale = 0.5 + } + + } + } +} + +deep_battle_BFL = { + track = operations + name = AZ_SUBDOCTRINE_DEEP_BATTLE + description = SUBDOCTRINE_DEEP_BATTLE_DESC + icon = GFX_doctrine_deep_battle_medium + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + has_doctrine = mass_assault + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + original_tag = BFL + } + + modifier = { + factor = 0.5 + is_major = no + } + + } + + # EFFECTS + enable_tactic = tactic_backhand_blow + category_tanks = { + max_organisation = 5 + } + + rewards = { + BFL1 = { + #1 + recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.2 + defense = 0.2 + } + } + mot_recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.2 + defense = 0.2 + } + } + light_tank_recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.2 + defense = 0.2 + } + } + category_vehicle_infantry = { + max_organisation = 5 + } + + } + BFL2 = { + #2 + category_tanks = { + max_strength = 5 + max_organisation = 10 + } + armored_car = { + max_strength = 5 + max_organisation = 10 + } + land_reinforce_rate = 0.05 + } + BFL3 = { + #3 + army_intel_to_others = -20.0 + airforce_intel_to_others = -10.0 + army_intel_factor = 0.1 + + + } + BFL4 = { + #4 + breakthrough_factor = 0.1 + org_loss_when_moving = -0.3 + category_vehicle_infantry = { + max_organisation = 20 + default_morale = 0.2 + } + category_tanks = { + max_organisation = 5 + } + category_all_armor = { + default_morale = 0.2 + } + armored_car = { + max_organisation = 10 + } + } + BFL5 = { + #5 + army_attack_against_major_factor = 0.1 + org_loss_when_moving = -0.2 + land_reinforce_rate = 0.1 + armored_car_recon = { + battalion_mult = { + category = category_light_infantry + max_organisation = 10 + add = yes + } + } + light_tank_recon = { + battalion_mult = { + category = category_light_infantry + max_organisation = 10 + add = yes + } + } + } + } +} + +grand_assault_YUW = { + track = operations + name = AZ_SUBDOCTRINE_GRAND_ASSAULT + description = SUBDOCTRINE_GRAND_ASSAULT_DESC + icon = GFX_doctrine_grand_assault_medium + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = grand_battleplan + has_doctrine = superior_firepower + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + OR = { + original_tag = HUJ + original_tag = YUW + original_tag = SAD + } + } + + } + + # EFFECTS + max_planning = 0.2 + category_army = { + breakthrough = 0.15 + soft_attack = 0.1 + } + + rewards = { + YUW1 = { + #1 + + max_command_power = 50 + planning_speed = 0.2 + max_planning = 0.1 + logistics_company = { + battalion_mult = { + category = category_all_infantry + defense = 0.2 + } + } + } + YUW2 = { + #2 + coordination_bonus = 0.2 + category_army = { + breakthrough = 0.2 + } + } + YUW3 = { + #3 + army_defence_factor = 0.1 + army_bonus_air_superiority_factor = 0.1 + coordination_bonus = 0.3 + category_all_infantry = { + max_organisation = 10 + } + category_tanks = { + max_organisation = 5 + } + + anti_air = { + air_attack = 0.3 + } + } + YUW4 = { + #4 + army_org_factor = 0.2 + planning_speed = 0.3 + logistics_company = { + battalion_mult = { + category = category_all_infantry + supply_consumption = -0.2 + } + } + category_recon = { + recon = 0.3 + } + } + YUW5 = { + #5 + army_defence_factor = 0.1 + max_planning = 0.2 + category_all_infantry = { + max_organisation = 10 + } + category_tanks = { + max_organisation = 5 + } + } + } +} + +rapid_domination_BYG = { + track = operations + name = AZ_SUBDOCTRINE_RAPID_DOMINATION + description = SUBDOCTRINE_RAPID_DOMINATION_DESC + icon = GFX_doctrine_shock_and_awe_medium + + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = new_mobile_warfare + has_doctrine = superior_firepower + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + original_tag = BYG + } + + modifier = { + factor = 0.5 + is_major = no + } + + } + + # EFFECTS + enable_tactic = tactic_breakthrough + land_reinforce_rate = 0.03 + category_all_infantry = { + soft_attack = 0.2 + } + category_line_artillery = { + soft_attack = 0.2 + } + + rewards = { + BYG1 = { + #1 + land_reinforce_rate = 0.03 + category_recon = { + recon = 2 + } + category_support_artillery = { + soft_attack = 0.2 + } + + + } + BYG2 = { + #2 + army_artillery_attack_factor = 0.2 + army_artillery_defence_factor = 0.2 + category_army = { + default_morale = 0.1 + } + category_support_artillery = { + supply_consumption = -0.15 + } + + } + BYG3 = { + #3 + army_artillery_attack_factor = 0.3 + army_artillery_defence_factor = 0.3 + signal_company = { + battalion_mult = { + category = category_artillery + soft_attack = 0.2 + } + } + + + } + BYG4 = { + #4 + category_support_battalions = { + max_organisation = 20 + soft_attack = 0.5 + } + } + BYG5 = { + #5 + category_army = { + soft_attack = 0.1 + } + category_all_infantry = { + soft_attack = 0.2 + hard_attack = 0.2 + } + army_bonus_air_superiority_factor = 0.2 + + + } + } +} + +infiltration_tactics_CHY = { + track = operations + name = AZ_SUBDOCTRINE_INFILTRATION_TACTICS + description = SUBDOCTRINE_INFILTRATION_TACTICS_DESC + icon = GFX_doctrine_infiltration_assault_medium + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + has_doctrine = grand_battleplan + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + original_tag = CHY + } + + } + + # EFFECTS + enable_tactic = tactic_infantry_assault + planning_speed = 0.2 + max_planning = 0.1 + + ai_will_do = { } + + rewards = { + CHY1 = { + #1 + planning_speed = 0.1 + category_army = { + breakthrough = 0.15 + max_organisation = 10 + } + + } + CHY2 = { + #2 + max_planning = 0.1 + land_night_attack = 0.35 + } + CHY3 = { + #3 + supply_consumption_factor = -0.2 + command_power_gain = 0.25 + category_tanks = { + max_organisation = 5 + } + category_all_armor = { + default_morale = 0.2 + } + } + CHY4 = { + #4 + + recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.2 + } + battalion_mult = { + category = category_cavalry + soft_attack = 0.2 + } + + } + mot_recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.2 + } + battalion_mult = { + category = category_cavalry + soft_attack = 0.2 + } + + } + light_tank_recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.2 + } + battalion_mult = { + category = category_cavalry + soft_attack = 0.2 + } + + } + + category_recon = { + recon = 2 + } + + } + CHY5 = { + #5 + intel_from_combat_factor = 0.5 + land_reinforce_rate = 0.03 + org_loss_when_moving = -0.25 + + } + } +} + +last_stand_AZ = { + track = operations + name = AZ_SUBDOCTRINE_LAST_STAND + description = SUBDOCTRINE_LAST_STAND_DESC + icon = GFX_doctrine_last_stand_medium + #TODO: Add trigger tag for surrender progress + xp_cost = 100 + xp_type = army + + available = { + shijianniangguojia_trigger = yes + OR = { + has_doctrine = new_mobile_warfare + has_doctrine = mass_assault + } + } + # EFFECTS + conscription = 0.1 + + ai_will_do = { + + base = 1 + modifier = { + factor = 1000 + original_tag = DOH + } + + } + + rewards = { + AZ1 = { + #1 + resistance_target_on_our_occupied_states = 0.25 + resistance_damage_to_garrison_on_our_occupied_states = 0.5 + } + + AZ2 = { + #2 + army_core_defence_factor = 0.5 + category_all_infantry = { + defense = 0.2 + } + } + AZ3 = { + #3 + max_dig_in_factor = 0.1 + dig_in_speed_factor = 0.5 + out_of_supply_factor = -0.4 + category_all_infantry = { + entrenchment = 0.2 + } + } + AZ4 = { + #4 + attrition = -0.1 + supply_consumption_factor = -0.1 + no_supply_grace = 144 # more hours before supply penalty changes + } + AZ5 = { + #5 + category_army = { + soft_attack = 0.2 + hard_attack = 0.1 + } + } + } +} + +##################################以下为原版################################### +mission_type_tactics = { + track = operations + name = SUBDOCTRINE_MISSION_TYPE_TACTICS + description = SUBDOCTRINE_MISSION_TYPE_TACTICS_DESC + icon = GFX_doctrine_mission_type_tactics_medium + + xp_cost = 100 + xp_type = army + + ai_will_do = { + + base = 1 + modifier = { + factor = 50 + original_tag = TIX + } + + modifier = { + factor = 0.5 + is_major = no + } + + } + + available = { + always = yes + } + # EFFECTS + command_power_gain = 0.02 + category_all_infantry = { + max_organisation = 15 + } + + + + rewards = { + low_level_delegation ={ + #1 + category_all_infantry = { + default_morale = 0.2 + } + } + flexible_command = { + #2 + org_loss_when_moving = -0.15 + } + maneouver_drills = { + #3 + category_all_infantry= { + default_morale = 0.2 + } + category_all_armor = { + maximum_speed = 0.1 + } + + } + flexible_combat_formations = { + #4 + + category_all_infantry = { + breakthrough = 0.1 + max_organisation = 10 + } + } + control_zone_responsibilities = { + #5 + + category_all_infantry = { + default_morale = 0.4 + } + category_tanks = { + default_morale = 0.4 + } + + } + } +} + +last_stand = { + track = operations + name = SUBDOCTRINE_LAST_STAND + description = SUBDOCTRINE_LAST_STAND_DESC + icon = GFX_doctrine_last_stand_medium + #TODO: Add trigger tag for surrender progress + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + # EFFECTS + conscription = 0.05 + + ai_will_do = { + + base = 0 + + } + + rewards = { + werwolf_groups = { + #1 + resistance_damage_to_garrison_on_our_occupied_states = 0.25 + } + + pocket_consolidation = { + #2 + category_all_infantry = { + defense = 0.1 + } + } + digging_in = { + #3 + out_of_supply_factor = -0.20 + category_all_infantry = { + entrenchment = 0.1 + } + } + stocking_up = { + #4 + no_supply_grace = 72 # more hours before supply penalty changes + } + breaking_out = { + #5 + category_army = { + soft_attack = 0.2 + } + } + } +} + +infiltration_tactics = { + track = operations + name = SUBDOCTRINE_INFILTRATION_TACTICS + description = SUBDOCTRINE_INFILTRATION_TACTICS_DESC + icon = GFX_doctrine_infiltration_assault_medium + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 50 + original_tag = CHY + } + + } + + # EFFECTS + enable_tactic = tactic_infantry_assault + max_planning = 0.05 + + ai_will_do = { } + + rewards = { + infiltration_assault = { + #1 + category_army = { + breakthrough = 0.10 + max_organisation = 5 + } + + } + nightly_assaults = { + #2 + land_night_attack = 0.25 + } + self_sustaining_infiltration_units = { + #3 + supply_consumption_factor = -0.10 + command_power_gain = 0.015 + category_tanks = { + max_organisation = 2 + } + category_all_armor = { + default_morale = 0.1 + } + } + terrain_and_situation_assessment = { + #4 + + recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.1 + } + battalion_mult = { + category = category_cavalry + soft_attack = 0.1 + } + + } + mot_recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.1 + } + battalion_mult = { + category = category_cavalry + soft_attack = 0.1 + } + + } + light_tank_recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.1 + } + battalion_mult = { + category = category_cavalry + soft_attack = 0.1 + } + + } + + category_recon = { + recon = 1 + } + + } + infiltration_in_depth = { + #5 + land_reinforce_rate = 0.02 + org_loss_when_moving = -0.20 + + } + } +} + +grand_assault = { + track = operations + name = SUBDOCTRINE_GRAND_ASSAULT + description = SUBDOCTRINE_GRAND_ASSAULT_DESC + icon = GFX_doctrine_grand_assault_medium + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 50 + OR = { + original_tag = HUJ + original_tag = YUW + original_tag = SAD + } + } + + } + + # EFFECTS + max_planning = 0.1 + category_army = { + breakthrough = 0.1 + soft_attack = 0.05 + } + + ai_will_do = { } + + rewards = { + central_planning = { + #1 + + max_command_power = 30 + + logistics_company = { + battalion_mult = { + category = category_all_infantry + defense = 0.05 + } + } + } + multiple_attack_directions = { + #2 + category_army = { + breakthrough = 0.15 + } + } + combined_arms_integration = { + #3 + army_bonus_air_superiority_factor = 0.05 + coordination_bonus = 0.1 + category_all_infantry = { + max_organisation = 5 + } + category_tanks = { + max_organisation = 2 + } + + anti_air = { + air_attack = 0.1 + } + } + forward_command_posts = { + #4 + logistics_company = { + battalion_mult = { + category = category_all_infantry + supply_consumption = -0.05 + } + } + category_recon = { + recon = 0.1 + } + } + c3i_theory = { + #5 + + max_planning = 0.1 + category_all_infantry = { + max_organisation = 5 + } + category_tanks = { + max_organisation = 2 + } + } + } +} + +deep_battle = { + track = operations + name = SUBDOCTRINE_DEEP_BATTLE + description = SUBDOCTRINE_DEEP_BATTLE_DESC + icon = GFX_doctrine_deep_battle_medium + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + + visible = { + has_dlc = "La Resistance" + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 50 + original_tag = BFL + } + + modifier = { + factor = 0.5 + is_major = no + } + + } + + # EFFECTS + enable_tactic = tactic_backhand_blow + category_tanks = { + max_organisation = 4 + } + + + ai_will_do = { } + + rewards = { + bounding_overwatch = { + #1 + recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.05 + defense = 0.05 + } + } + mot_recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.05 + defense = 0.05 + } + } + light_tank_recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.05 + defense = 0.05 + } + } + category_vehicle_infantry = { + max_organisation = 2 + } + + } + operational_concentration = { + #2 + category_tanks = { + max_organisation = 4 + } + armored_car = { + max_organisation = 4 + } + land_reinforce_rate = 0.05 + } + maskirovka = { + #3 + army_intel_to_others = -10.0 + airforce_intel_to_others = -5.0 + army_intel_factor = 0.05 + + + } + breakthrough_priority = { + #4 + org_loss_when_moving = -0.2 + category_vehicle_infantry = { + max_organisation = 10 + default_morale = 0.1 + } + category_tanks = { + max_organisation = 2 + } + category_all_armor = { + default_morale = 0.1 + } + armored_car = { + max_organisation = 4 + } + } + operational_depth_control = { + #5 + org_loss_when_moving = -0.1 + land_reinforce_rate = 0.05 + armored_car_recon = { + battalion_mult = { + category = category_light_infantry + max_organisation = 10 + add = yes + } + } + light_tank_recon = { + battalion_mult = { + category = category_light_infantry + max_organisation = 10 + add = yes + } + } + } + } +} + +deep_battle_no_lar = { + track = operations + name = SUBDOCTRINE_DEEP_BATTLE + description = SUBDOCTRINE_DEEP_BATTLE_DESC + icon = GFX_doctrine_deep_battle_medium + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + visible = { + NOT = { + has_dlc = "La Resistance" + } + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 50 + original_tag = BFL + } + + modifier = { + factor = 0.5 + is_major = no + } + + } + + # EFFECTS + enable_tactic = tactic_backhand_blow + category_tanks = { + max_organisation = 4 + } + + + ai_will_do = { } + + rewards = { + bounding_overwatch = { + #1 + recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.05 + defense = 0.05 + } + } + mot_recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.05 + defense = 0.05 + } + } + light_tank_recon = { + battalion_mult = { + category = category_light_infantry + soft_attack = 0.05 + defense = 0.05 + } + } + category_vehicle_infantry = { + max_organisation = 2 + } + + } + operational_concentration = { + #2 + category_tanks = { + max_organisation = 4 + } + mechanized = { + max_organisation = 10 + } + land_reinforce_rate = 0.05 + } + maskirovka = { + #3 + army_intel_to_others = -10.0 + airforce_intel_to_others = -5.0 + army_intel_factor = 0.05 + + + } + breakthrough_priority = { + #4 + org_loss_when_moving = -0.2 + category_vehicle_infantry = { + max_organisation = 10 + default_morale = 0.1 + } + category_tanks = { + max_organisation = 2 + } + category_all_armor = { + default_morale = 0.1 + } + mechanized = { + breakthrough = 0.1 + } + } + operational_depth_control = { + #5 + org_loss_when_moving = -0.1 + land_reinforce_rate = 0.05 + recon = { + battalion_mult = { + category = category_light_infantry + max_organisation = 10 + add = yes + } + } + light_tank_recon = { + battalion_mult = { + category = category_light_infantry + max_organisation = 10 + add = yes + } + } + } + } +} +guerilla_war = { + track = operations + name = SUBDOCTRINE_GUERILLA_WAR + description = SUBDOCTRINE_GUERILLA_WAR_DESC + icon = GFX_doctrine_guerilla_warfare_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + visible = { + has_dlc = "No Compromise, No Surrender" + } + + ai_will_do = { + base = 1 + modifier = { + factor = 0 + is_major = yes + } + modifier = { + factor = 2 + is_major = no + } + modifier = { + factor = 0 + NOT = { + OR = { + has_template_containing_unit = irregular_infantry + has_template_containing_unit = militia + } + } + } + + } + + # EFFECTS + enable_tactic = tactic_guerrilla_tactics + irregular_infantry = { + soft_attack = 0.1 + defense = 0.2 + } + militia = { + soft_attack = 0.1 + defense = 0.2 + } + + rewards = { + catch_and_seize = { + #1 + category_cavalry = { + equipment_capture_factor = 0.01 + plains = { + movement = 0.1 + } + } + category_light_infantry = { + equipment_capture_factor = 0.01 + plains = { + movement = 0.1 + } + } + pocket_penalty = -0.1 + + + } + galvanize_support = { + #2 + army_intel_to_others = -10.0 + army_intel_factor = 0.05 + war_support_factor = 0.1 + political_power_factor = 0.1 + mobilization_speed = 0.15 + + } + scorched_earth = { + #3 + resistance_damage_to_garrison_on_our_occupied_states = 0.1 + resistance_target_on_our_occupied_states = 0.1 + category_army = { + defense = 0.1 + } + } + + + urban_assaults = { + #4 + militia = { + urban = { + attack = 0.10 + defence = 0.10 + } + } + infantry = { + urban = { + attack = 0.10 + defence = 0.10 + } + } + + + } + defense_of_gained_power = { + #5 + stability_factor = 0.1 + party_popularity_stability_factor = 0.05 + category_army = { + defense = 0.1 + } + + + } + } +} + +#shock & awe or airland battle +rapid_domination = { + track = operations + name = SUBDOCTRINE_RAPID_DOMINATION + description = SUBDOCTRINE_RAPID_DOMINATION_DESC + icon = GFX_doctrine_shock_and_awe_medium + + xp_cost = 100 + xp_type = army + + available = { + always = yes + } + + ai_will_do = { + + base = 1 + modifier = { + factor = 50 + original_tag = BYG + } + + modifier = { + factor = 0.5 + is_major = no + } + + } + + # EFFECTS + enable_tactic = tactic_breakthrough + land_reinforce_rate = 0.02 + category_all_infantry = { + soft_attack = 0.1 + } + category_line_artillery = { + soft_attack = 0.1 + } + + + ai_will_do = { } + + rewards = { + forward_observers = { + #1 + land_reinforce_rate = 0.02 + category_recon = { + recon = 1 + } + category_support_artillery = { + soft_attack = 0.05 + } + + + } + advanced_firebases = { + #2 + category_support_artillery = { + supply_consumption = -0.1 + + battalion_mult = { + category = category_army + default_morale = 0.1 + add = yes + } + } + + } + centralized_fire_control = { + #3 + signal_company = { + battalion_mult = { + category = category_artillery + soft_attack = 0.1 + } + } + + + } + regimental_combat_teams = { + #4 + category_support_battalions = { + max_organisation = 10 + soft_attack = 0.1 + } + } + shock_and_awe = { + #5 + category_army = { + soft_attack = 0.05 + } + category_all_infantry = { + soft_attack = 0.1 + hard_attack = 0.1 + } + army_bonus_air_superiority_factor = 0.1 + + + } + } +} + +expeditionary_warfare = { + track = operations + name = SUBDOCTRINE_EXPEDITIONARY_WARFARE + description = SUBDOCTRINE_EXPEDITIONARY_WARFARE_DESC + icon = GFX_doctrine_expeditionary_warfare_medium + #TODO: Add trigger tag for surrender progress + xp_cost = 100 + xp_type = army + + available = { + + } + visible = { + has_dlc = "No Compromise, No Surrender" + } + + ai_will_do = { + + base = 0 + + } + + # EFFECTS + + send_volunteer_divisions_required = -0.5 + send_volunteer_factor = 0.25 + send_volunteers_tension = -0.1 + + ai_will_do = { } + + rewards = { + staging_area_security = { + #1 + dig_in_speed_factor = 0.05 + out_of_supply_factor = -0.20 + category_army = { + defense = 0.1 + } + + } + landing_operations = { + #2 + naval_invasion_prep_speed = 0.2 + naval_invasion_penalty = -0.15 + naval_invasion_planning_bonus_speed = 0.2 + category_army = { + soft_attack = 0.1 + } + + } + shore_fire_control_parties = { + #3 + shore_bombardment_bonus = 0.25 + } + breakout_emphasis = { + #4 + no_supply_grace = 32 + + } + withdrawal_protocols = { + #5 + org_loss_when_moving = -0.2 + } + } +} \ No newline at end of file diff --git a/src/common/ideas/azurlane_generic.txt b/src/common/ideas/azurlane_generic.txt index 1377b18..dd02a3e 100755 --- a/src/common/ideas/azurlane_generic.txt +++ b/src/common/ideas/azurlane_generic.txt @@ -463,6 +463,107 @@ ideas = { # Special ones that can be applied on other countries through focus system. country = { + az_hjll_1 = { + picture = dingzhenai + allowed_civil_war = { + always = yes + } + modifier = { + new_convoy_raiding_mastery_gain_factor = 0.2 + new_fleet_in_being_mastery_gain_factor = 0.2 + new_base_strike_mastery_gain_factor = 0.2 + } + } + az_hjll_2 = { + name = az_hjll_1 + picture = dingzhenai + allowed_civil_war = { + always = yes + } + modifier = { + new_convoy_raiding_mastery_gain_factor = 0.5 + new_fleet_in_being_mastery_gain_factor = 0.5 + new_base_strike_mastery_gain_factor = 0.5 + } + } + az_hjll_3 = { + name = az_hjll_1 + picture = dingzhenai + allowed_civil_war = { + always = yes + } + modifier = { + new_convoy_raiding_mastery_gain_factor = 1 + new_fleet_in_being_mastery_gain_factor = 1 + new_base_strike_mastery_gain_factor = 1 + } + } + az_lltp_zlph = { + picture = dingzhenai + allowed_civil_war = { + always = yes + } + modifier = { + air_strategic_bomber_night_penalty = -0.5 + air_nav_efficiency = 1 + air_strategic_bomber_bombing_factor = 1 + } + } + az_lltp_zczy = { + picture = dingzhenai + allowed_civil_war = { + always = yes + } + modifier = { + air_bombing_targetting = 0.3 + air_cas_efficiency = 0.3 + air_close_air_support_org_damage_factor = 0.3 + } + } + az_lltp_lxzz = { + picture = dingzhenai + allowed_civil_war = { + always = yes + } + modifier = { + air_escort_efficiency = 0.3 + air_agility_factor = 0.5 + air_mission_efficiency = 0.25 + } + } + az_lltp_czjd = { + picture = dingzhenai + allowed_civil_war = { + always = yes + } + modifier = { + navy_org_factor = 0.5 + navy_max_range_factor = 1 + naval_speed_factor = 0.25 + } + } + az_lltp_myfs = { + picture = dingzhenai + allowed_civil_war = { + always = yes + } + modifier = { + naval_enemy_fleet_size_ratio_penalty_factor = 0.25 + naval_critical_score_chance_factor = 0.5 + naval_torpedo_hit_chance_factor = 0.5 + } + } + az_lltp_jddj = { + picture = dingzhenai + allowed_civil_war = { + always = yes + } + modifier = { + carrier_traffic = 1 + navy_carrier_air_agility_factor = 1 + carrier_capacity_penalty_reduction = -0.5 + } + } TY_dingzhenai = { picture = dingzhenai allowed_civil_war = { diff --git a/src/common/ideas/doh.txt b/src/common/ideas/doh.txt index 0a94b5d..75f9728 100755 --- a/src/common/ideas/doh.txt +++ b/src/common/ideas/doh.txt @@ -434,6 +434,7 @@ ideas = { } modifier = { defensive_war_stability_factor = 0.2 + army_core_defence_factor = 0.1 war_support_factor = 0.1 } } @@ -447,8 +448,9 @@ ideas = { has_war = no } modifier = { + army_strength_factor = 0.1 defensive_war_stability_factor = 0.3 - army_core_defence_factor = 0.05 + army_core_defence_factor = 0.2 war_support_factor = 0.3 } } @@ -462,8 +464,10 @@ ideas = { has_war = no } modifier = { + army_strength_factor = 0.2 defensive_war_stability_factor = 0.4 - army_core_defence_factor = 0.1 + army_core_attack_factor = 0.1 + army_core_defence_factor = 0.4 war_support_factor = 0.5 } } @@ -477,8 +481,10 @@ ideas = { has_war = no } modifier = { + army_strength_factor = 0.4 defensive_war_stability_factor = 0.5 - army_core_defence_factor = 0.2 + army_core_attack_factor = 0.3 + army_core_defence_factor = 0.8 local_org_regain = 0.1 army_org_factor = 0.1 war_support_factor = 0.7 @@ -494,9 +500,10 @@ ideas = { has_war = no } modifier = { + army_strength_factor = 0.6 defensive_war_stability_factor = 0.6 - army_core_attack_factor = 0.1 - army_core_defence_factor = 0.5 + army_core_attack_factor = 0.6 + army_core_defence_factor = 1.2 training_time_army_factor = -0.05 surrender_limit = 0.05 local_org_regain = 0.3 @@ -515,9 +522,10 @@ ideas = { has_war = no } modifier = { + army_strength_factor = 0.8 defensive_war_stability_factor = 0.8 army_core_attack_factor = 1 - army_core_defence_factor = 1 + army_core_defence_factor = 2 training_time_army_factor = -0.1 surrender_limit = 0.1 army_org_factor = 0.5 @@ -535,9 +543,10 @@ ideas = { has_war = no } modifier = { + army_strength_factor = 1 defensive_war_stability_factor = 1 - army_core_attack_factor =1 - army_core_defence_factor = 1.5 + army_core_attack_factor = 1.5 + army_core_defence_factor = 3 training_time_army_factor = -0.15 surrender_limit = 0.15 local_org_regain = 0.8 @@ -646,10 +655,10 @@ ideas = { } targeted_modifier = { tag = CHY - defense_bonus_against = 0.2 + defense_bonus_against = 0.5 } modifier = { - army_core_defence_factor = 0.2 + army_core_defence_factor = 1 } } DOH_xfzr = { @@ -674,8 +683,8 @@ ideas = { always = yes } modifier = { - army_attack_against_minor_factor = 0.5 - army_breakthrough_against_minor_factor = 0.5 + army_attack_against_minor_factor = 1 + army_breakthrough_against_minor_factor = 1 } } DOH_dfgg1 = { diff --git a/src/common/ideologies/00_ideologies.txt b/src/common/ideologies/00_ideologies.txt index 47d98a9..3f6c553 100755 --- a/src/common/ideologies/00_ideologies.txt +++ b/src/common/ideologies/00_ideologies.txt @@ -14,6 +14,7 @@ ideologies = { } xiafeizhidu = { + can_be_randomly_selected = no } populism = { @@ -53,17 +54,21 @@ ideologies = { lend_lease_tension = 0.50 send_volunteers_tension = 0.50 guarantee_tension = 0.25 - annex_cost_factor = 0.5 + # annex_cost_factor = 0.5 # Deprecated, use common\peace_conference\00_generic_peace.txt instead civilian_intel_to_others = 20.0 army_intel_to_others = 5.0 navy_intel_to_others = 20.0 airforce_intel_to_others = 5 + embargo_cost_factor = -0.5 + embargo_threshold_factor = -0.5 } faction_modifiers = { faction_trade_opinion_factor = 0.50 #plus 50% trade opinion } ai_democratic = yes # uses the democratic AI behaviour + ai_ideology_wanted_units_factor = 2 + ai_give_core_state_control_threshold = 0 # Extra threshold value added to DIPLOMATIC_ACTION_PROPOSE_SCORE for this ideology to give back core state control to other country } @@ -87,6 +92,10 @@ ideologies = { } niulunbaozhidu = { + can_be_randomly_selected = no + } + buddhist_socialism = { + can_be_randomly_selected = no # won't be assigned to randomly generated country leaders } } @@ -104,6 +113,7 @@ ideologies = { faction_impact_on_world_tension = 0.5 ai_communist = yes # uses the commie AI behaviour + ai_ideology_wanted_units_factor = 2 rules = { can_force_government = no @@ -114,18 +124,20 @@ ideologies = { can_collaborate = yes modifiers = { - puppet_cost_factor = -0.3 + # puppet_cost_factor = -0.3 # Deprecated, use common\peace_conference\00_generic_peace.txt instead civilian_intel_to_others = 10.0 army_intel_to_others = 7.5 navy_intel_to_others = 12.5 airforce_intel_to_others = 7.5 hidden_modifier = { join_faction_tension = -0.1 } + embargo_threshold_factor = 0.5 + lend_lease_tension = 0.50 } faction_modifiers = { } - + ai_give_core_state_control_threshold = 10 } fascism = { @@ -146,7 +158,9 @@ ideologies = { rexism = { } - + emperor_fascism = { + can_be_randomly_selected = no # won't be assigned to randomly generated country leaders + } lisha_xierism = { can_be_randomly_selected = no } @@ -166,7 +180,7 @@ ideologies = { faction_impact_on_world_tension = 1.0 rules = { - can_force_government = no + can_force_government = yes can_send_volunteers = yes can_puppet = yes } @@ -180,9 +194,13 @@ ideologies = { navy_intel_to_others = 10.0 airforce_intel_to_others = 10.0 hidden_modifier = { join_faction_tension = -0.1 } + embargo_cost_factor = 1 + lend_lease_tension = 0.50 } ai_fascist = yes # uses the fascist AI behaviour + ai_ideology_wanted_units_factor = 2 + ai_give_core_state_control_threshold = 10000 } neutrality = { @@ -204,6 +222,10 @@ ideologies = { centrism = { } + + japan_militarism_ideology = { + can_be_randomly_selected = no # won't be assigned to randomly generated country leaders + } } dynamic_faction_names = { @@ -244,5 +266,8 @@ ideologies = { } ai_neutral = yes # + ai_ideology_wanted_units_factor = 2 + + ai_give_core_state_control_threshold = 10000 } } diff --git a/src/common/national_focus/beifanglianhe.txt b/src/common/national_focus/beifanglianhe.txt index c4d8219..996d59a 100755 --- a/src/common/national_focus/beifanglianhe.txt +++ b/src/common/national_focus/beifanglianhe.txt @@ -1630,6 +1630,7 @@ #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { + TY_haijunliluntupo = yes add_ideas = BFL_qtjq } } @@ -1709,6 +1710,7 @@ #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { + TY_haijunliluntupo = yes add_ideas = BFL_jzdjc } } @@ -3555,12 +3557,6 @@ relative_position_id = BFL_kongjunjianshe cost = 10 available = { - if = { - limit = { - is_ai = no - } - has_air_experience > 299 - } } ai_will_do = { factor = 7 @@ -3610,7 +3606,6 @@ ahead_reduction = 2 } } - air_experience = -300 } } focus = { @@ -3630,6 +3625,7 @@ #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { + TY_kongjunliluntupo = yes swap_ideas = { remove_idea = BFL_buchengshudekongjun_2 add_idea = BFL_buchengshudekongjun_3 diff --git a/src/common/national_focus/chongying_new.txt b/src/common/national_focus/chongying_new.txt index c385932..b7c4d04 100755 --- a/src/common/national_focus/chongying_new.txt +++ b/src/common/national_focus/chongying_new.txt @@ -3553,6 +3553,7 @@ transfer_state = 286 transfer_state = 741 transfer_state = 728 + transfer_state = 1017 } } focus = { diff --git a/src/common/national_focus/yuanwei.txt b/src/common/national_focus/yuanwei.txt index 34e5531..0711b18 100755 --- a/src/common/national_focus/yuanwei.txt +++ b/src/common/national_focus/yuanwei.txt @@ -5740,21 +5740,7 @@ focus_tree = { } #search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { - custom_effect_tooltip = "允许解锁第二条陆军学说路线" - if = { - limit = { - is_ai = yes - } - set_technology = { - mobile_warfare = 1 - } - set_technology = { - mechanised_infantry = 1 - } - } - else = { - set_country_flag = TY_army_liluntupo - } + TY_lujunliluntupo = yes if = { limit = { is_ai = yes @@ -11062,8 +11048,7 @@ focus_tree = { add_idea = YUW_ywlj_idea1_19 } } - custom_effect_tooltip = "允许解锁第二条陆军学说路线" - set_country_flag = TY_army_liluntupo + TY_lujunliluntupo = yes set_technology = { backhand_blow_for_yuw = 1 popup = no @@ -11104,8 +11089,7 @@ focus_tree = { add_idea = YUW_ywlj_idea1_20 } } - custom_effect_tooltip = "允许解锁第二条陆军学说路线" - set_country_flag = TY_army_liluntupo + TY_lujunliluntupo = yes set_technology = { backhand_blow_for_yuw = 1 popup = no diff --git a/src/common/on_actions/10_toa_on_actions.txt b/src/common/on_actions/10_toa_on_actions.txt index a3ec86d..8dd1f96 100755 --- a/src/common/on_actions/10_toa_on_actions.txt +++ b/src/common/on_actions/10_toa_on_actions.txt @@ -1,855 +1 @@ -##狗屎DLC,傻逼代码## -on_actions = { - on_weekly_VEN = { - effect = { - - for_each_scope_loop = { - array = global.ven_blockade_countries - if = { - limit = { - ships_in_area = { - area = 53 - type = capital_ship - size < 3 - } - } - - for_each_scope_loop = { - array = ven_countries_that_are_under_embargo - VEN = { - break_embargo = PREV - remove_opinion_modifier = { - target = PREV - modifier = VEN_embargoed - } - remove_opinion_modifier = { - target = PREV - modifier = VEN_embargoed_2 - } - } - } - - remove_from_array = { - array = global.ven_blockade_countries - value = THIS - } - clear_array = ven_countries_that_are_under_embargo - } - } - - #if theres still at least 1 blockading country, keep up the blockade - if = { - limit = { - check_variable = { global.ven_blockade_countries^num > 0 } - VEN = { - NOT = { - has_idea = idea_VEN_blockade_active - } - } - } - VEN = { - swap_ideas = { - remove_idea = idea_VEN_blockade_inactive - add_idea = idea_VEN_blockade_active - } - } - } - else_if = { #If not remove blockade - limit = { - check_variable = { global.ven_blockade_countries^num < 1 } - VEN = { - NOT = { - has_idea = idea_VEN_blockade_inactive - } - } - } - VEN = { - swap_ideas = { - remove_idea = idea_VEN_blockade_active - add_idea = idea_VEN_blockade_inactive - } - } - } - } - } - on_ruling_party_change = { - effect = { - if = { - limit = { - has_dlc = "Trial of Allegiance" - OR = { - original_tag = URG - original_tag = PAR - } - } - if = { - limit = { - has_completed_focus = GUAY_the_permanent_leader - NOT = { has_country_leader_with_trait = JUNO_the_permanent_leader } - } - - add_country_leader_trait = JUNO_the_permanent_leader - } - - if = { - limit = { - has_completed_focus = GUAY_cult_of_personality - NOT = { has_country_leader_with_trait = JUNO_cult_of_personality } - } - - add_country_leader_trait = JUNO_cult_of_personality - } - - } - } - effect = { - IF = { - limit = { - NOT = { has_dlc = "Trial of Allegiance" } - original_tag = URG - has_cosmetic_tag = URG_is_unaligned_URG_but_has_normal_URG_flag - } - drop_cosmetic_tag = yes - } - } - effect = { - if = { - limit = { - has_dlc = "Trial of Allegiance" - NOT = { - USA = { - has_government = communism - } - } - capital_scope = { - is_core_of = ROOT - OR = { - is_on_continent = north_america - is_on_continent = south_america - } - } - has_government = communism - date > 1936.05.1 - } - USA = { - country_event = { - id = south_american_events.30 - days = 7 - } - } - } - } - effect = { - if = { - limit = { - has_dlc = "Trial of Allegiance" - BRA = { - has_completed_focus = BRA_expand_fordlandia - NOT = { - OR = { - has_government = communism - has_country_flag = BRA_ford_event_has_happened - } - } - } - USA = { - has_government = communism - } - } - BRA = { - country_event = { - id = JUNO_brazil_events.180 - days = 14 - } - } - } - } - } - on_startup = { - effect = { - if = { - limit = { - has_dlc = "Trial of Allegiance" - } - - every_country = { - limit = { - OR = { - original_tag = URG - original_tag = BRA - original_tag = PAR - original_tag = CHL - original_tag = BOL - original_tag = ARG - original_tag = PRU - original_tag = VEN - original_tag = ECU - original_tag = COL - - } - } - - add_ai_strategy = { - type = alliance - id = JAP - value = -250 - } - - add_ai_strategy = { - type = alliance - id = CHI - value = -250 - } - - add_ai_strategy = { - type = alliance - id = PRC - value = -250 - } - - add_ai_strategy = { - type = alliance - id = USA - value = -15 - } - - add_ai_strategy = { - type = alliance - id = GER - value = -15 - } - - add_ai_strategy = { - type = alliance - id = ENG - value = -15 - } - - add_ai_strategy = { - type = alliance - id = SOV - value = -50 - } - - } - } - } - effect = { - #Monroe Doctrine - IF = { - limit = { has_dlc = "Trial of Allegiance" } - every_country = { - limit = { - exists = yes - NOT = { tag = USA } - OR = { - capital_scope = { is_on_continent = south_america } - capital_scope = { is_on_continent = north_america } - tag = CUB - tag = DOM - tag = HAI - } - } - #add_ideas = USA_monroe_doctrine_idea - } - } - } - } - on_peaceconference_ended = { - - # Make sure that Uruguay get's their cosmetic tag if it applies - effect = { - IF = { - limit = { - URG = { - NOT = { - has_cosmetic_tag = URG_german - } - is_subject = yes - is_subject_of = GER - } - } - URG = { - set_cosmetic_tag = URG_german - } - } - } - # Make sure that Uruguay drops their cosmetic tag if it applies - effect = { - IF = { - limit = { - URG = { - has_cosmetic_tag = URG_german - is_subject = no - } - } - URG = { - drop_cosmetic_tag = yes - } - } - } - - # Make sure that Bolivia get's their araucanian cosmetic tag if it applies - effect = { - IF = { - limit = { - BOL = { - NOT = { - has_cosmetic_tag = BOL_orelia - } - is_subject = yes - is_subject_of = CHL - CHL = { - has_completed_focus = CHL_crown_antoine_as_sovereign_king - } - } - } - BOL = { - set_cosmetic_tag = BOL_orelia - } - } - } - # Make sure that Bolivia drops their araucanian cosmetic tag if it applies - effect = { - IF = { - limit = { - BOL = { - has_cosmetic_tag = BOL_orelia - is_subject = no - } - } - BOL = { - drop_cosmetic_tag = yes - } - } - } - } - - on_puppet = { #ROOT = nation being puppeted, FROM = overlord - effect = { - - IF = { - limit = { - ROOT = { - original_tag = URG - } - FROM = { - original_tag = GER - } - } - ROOT = { - set_cosmetic_tag = URG_german - } - } - - } - - # Make sure that Bolivia get's their araucanian cosmetic tag if it applies - effect = { - IF = { - limit = { - ROOT = { - original_tag = BOL - } - FROM = { - original_tag = CHL - } - CHL = { - has_completed_focus = CHL_crown_antoine_as_sovereign_king - } - } - ROOT = { - set_cosmetic_tag = BOL_orelia - } - } - } - - - } - - on_release_as_puppet = { # ROOT is the nation being released, FROM is the overlord. - - effect = { - IF = { - limit = { - ROOT = { - original_tag = BOL - } - FROM = { - original_tag = CHL - } - CHL = { - has_completed_focus = CHL_crown_antoine_as_sovereign_king - } - } - ROOT = { - set_cosmetic_tag = BOL_orelia - } - } - } - - effect = { - IF = { - limit = { - ROOT = { - original_tag = URG - } - FROM = { - original_tag = GER - } - } - ROOT = { - set_cosmetic_tag = URG_german - } - } - } - - effect = { - IF = { - limit = { - ROOT = { - tag = WLA - } - } - WLA = { - load_oob = "WLA_1936" - } - } - } - } - - #ROOT is subject FROM is previous overlord - on_subject_free = { - effect = { - IF = { - limit = { - ROOT = { - original_tag = URG - } - FROM = { - original_tag = GER - } - } - ROOT = { - drop_cosmetic_tag = yes - } - } - } - effect = { - IF = { - limit = { - ROOT = { - original_tag = BOL - } - FROM = { - original_tag = CHL - } - } - ROOT = { - drop_cosmetic_tag = yes - } - } - } - effect = { - USA_add_monroe_doctrine_to_target = yes - } - - } - - # called when a country send volunteers to another - # ROOT is sender, FROM is receiver - on_send_volunteers = { #sets flag for whether Argentina has sent volunteers to Nationalist Spain - effect = { - if = { #Checks that sender is ARG and reciever is SPA - limit = { - original_tag = ARG - FROM = { - tag = SPA - } - } - ROOT = { set_country_flag = ARG_argentinian_volunteers_in_spain } - } - } - effect = { - if = { - limit = { - ROOT = { - is_ai = no - OR = { - tag = CHL - tag = BOL - tag = PRU - tag = ECU - tag = VEN - tag = COL - } - } - FROM = { - tag = GER - } - } - set_global_flag = true_condor_legion_flag - } - } - } - - #FROM is war target - #ROOT is country declaring war - on_declare_war = { - - effect = { - IF = { - limit = { - ROOT = { - tag = ARG - } - FROM = { tag = URG } - } - - BRA = { - country_event = { - id = ARG_political_events.110 - hours = 5 - } - } - } - } - - effect = { - IF = { - limit = { - ROOT = { - tag = BRA - } - FROM = { tag = URG } - } - - ARG = { - country_event = { - id = ARG_political_events.110 - hours = 5 - } - } - } - } - - effect = { - IF = { - limit = { - ROOT = { - NOT = { has_idea = SMB_organization_of_american_states_member } - } - FROM = { has_idea = SMB_organization_of_american_states_member } - } - set_variable = { - var = global.org_american_unity_attacked_country - value = FROM - } - every_other_country = { - limit = { - has_idea = SMB_organization_of_american_states_member - NOT = { has_war_with = FROM } - NOT = { tag = FROM } - } - country_event = { - id = JUNO_brazil_events.130 - hours = 1 - } - } - } - } - effect = { - IF = { - limit = { - ROOT = { - has_idea = SMB_organization_of_american_states_member - } - FROM = { has_idea = SMB_organization_of_american_states_member } - } - ROOT = { - country_event = { - id = JUNO_brazil_events.133 - hours = 1 - } - } - set_variable = { - var = global.org_american_unity_attacked_country - value = FROM - } - every_other_country = { - limit = { - has_idea = SMB_organization_of_american_states_member - NOT = { has_war_with = FROM } - NOT = { tag = FROM } - } - country_event = { - id = JUNO_brazil_events.130 - hours = 2 - } - } - } - } - effect = { - IF = { - limit = { - ROOT = { - tag = PAR - } - FROM = { - NOT = { - has_country_flag = PAR_revenge_flag - } - OR = { - tag = BRA - tag = ARG - tag = URG - } - } - } - hidden_effect = { - FROM = { - set_country_flag = PAR_revenge_flag - country_event = { - id = south_american_events.56 - days = 31 - } - } - } - } - } - } - - #ROOT = attacking side - #FROM = defending side - on_declare_war = { - effect = { - IF = { - limit = { - OR = { - FROM = { - has_government = communism - capital_scope = { - is_core_of = PREV - OR = { - is_on_continent = north_america - is_on_continent = south_america - } - } - has_civil_war = yes - original_tag = ROOT - NOT = { - has_government = ROOT - } - } - ROOT = { - has_government = communism - capital_scope = { - is_core_of = PREV - OR = { - is_on_continent = north_america - is_on_continent = south_america - } - } - has_civil_war = yes - original_tag = FROM - NOT = { - has_government = FROM - } - } - } - } - IF = { - limit = { - ROOT = { - has_government = communism - } - } - FROM = { - USA = { - country_event = { - id = south_american_events.32 - days = 7 - random_days = 5 - } - } - } - } - ELSE_IF = { - limit = { - FROM = { - has_government = communism - } - } - ROOT = { - USA = { - country_event = { - id = south_american_events.32 - days = 7 - random_days = 5 - } - } - } - } - } - } - effect = { - IF = { - limit = { - NOT = { - OR = { - ROOT = { - tag = USA - } - FROM = { - tag = USA - } - } - } - USA = { - exists = yes - has_idea = USA_monroe_doctrine_enforcer - NOT = { - OR = { - has_war_with = FROM - has_war_with = ROOT - is_in_faction_with = ROOT - is_in_faction_with = FROM - } - } - } - FROM = { - has_idea = USA_monroe_doctrine_idea - is_in_faction = no - } - } - # Both countries are in Americas - IF = { - limit = { - ROOT = { - has_idea = USA_monroe_doctrine_idea - } - } - # Do Nothing for now, may add more content here in future! - } - # Only defender is in Americas - ELSE = { - FROM = { - USA = { - set_variable = { monroe_defender = PREV } - country_event = { - id = south_american_events.50 - days = 1 - } - } - } - } - } - } - } - - #ROOT is the nation being released, FROM is the overlord - on_release_as_free = { - effect = { - USA_add_monroe_doctrine_to_target = yes - } - effect = { - IF = { - limit = { - ROOT = { - tag = WLA - } - } - WLA = { - load_oob = "WLA_1936" - } - } - } - } - - on_liberate = { - effect = { - USA_add_monroe_doctrine_to_target = yes - } - } - - on_weekly_ECU = { - - effect = { - - IF = { - limit = { - AND = { - 649 = { - is_owned_and_controlled_by = ROOT - } - 305 = { - NOT = { - is_owned_and_controlled_by = ROOT - } - } - 490 = { - NOT = { - is_owned_and_controlled_by = ROOT - } - } - } - ROOT = { - NOT = { - has_cosmetic_tag = ECU_galapagos_regime - } - } - } - ROOT = { - set_cosmetic_tag = ECU_galapagos_regime - } - } - - } - - effect = { - - IF = { - limit = { - 305 = { - is_owned_and_controlled_by = ROOT - } - ROOT = { - has_cosmetic_tag = ECU_galapagos_regime - } - } - ROOT = { - drop_cosmetic_tag = yes - } - } - - } - - } - # ROOT is capitulated country, FROM is winner - on_capitulation = { - effect = { - IF = { - limit = { - has_dlc = "Trial of Allegiance" - ROOT = { - original_tag = GER - has_government = fascism - has_country_leader = { - character = GER_adolf_hitler - ruling_only = yes - } - } - ARG = { - has_government = fascism - } - } - ARG = { - country_event = { - id = ARG_political_events.120 - days = 14 - } - } - } - } - } -} \ No newline at end of file +##狗屎DLC,傻逼代码## \ No newline at end of file diff --git a/src/common/on_actions/13_goe_on_actions.txt b/src/common/on_actions/13_goe_on_actions.txt new file mode 100755 index 0000000..6bf88a1 --- /dev/null +++ b/src/common/on_actions/13_goe_on_actions.txt @@ -0,0 +1,1750 @@ + +#删除弱智印度的部分检测 +on_actions = { + on_monthly_AFG = { + effect = { + IF = { + limit = { + has_completed_focus = AFG_electrification + any_core_state = { + NOT = { + has_dynamic_modifier = { modifier = AFG_electrification_modifier } + } + } + } + + IF = { + limit = { + check_variable = { AFG_electrification_cooldown > 0 } + } + set_variable = { AFG_electrification_cooldown = 0 } + + random_core_state = { + limit = { + has_dynamic_modifier = { modifier = AFG_electrification_modifier } + NOT = { + OR = { + is_island_state = yes + has_state_category = large_island + has_state_category = small_island + has_state_category = tiny_island + } + } + } + random_neighbor_state = { + limit = { + NOT = { + has_dynamic_modifier = { modifier = AFG_electrification_modifier } + } + is_core_of = ROOT + } + add_dynamic_modifier = { modifier = AFG_electrification_modifier } + } + } + } + ELSE = { + add_to_variable = { AFG_electrification_cooldown = 1 } + } + } + } + } + + #ROOT is the nation being released, FROM is the overlord. + on_startup = { + effect = { + if = { + limit = { + has_dlc = "Graveyard of Empires" + } + if = { #Fix for OOS + limit = { is_historical_focus_on = no } + RAJ = { + random_owned_state = { + set_variable = { global.famine_state = THIS } + + } + } + } + RAJ = { + every_owned_state = { + limit = { + check_variable = { core_countries^num > 0 } + } + + for_each_scope_loop = { + array = core_countries + if = { + limit = { + NOT = { THIS = { original_tag = RAJ } } + NOT = { THIS = { original_tag = YEM } } #not u + NOT = { + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + } + } + add_to_array = { RAJ.raj_releasables = THIS } + } + + } + } + } + + RAJ = { + set_occupation_law_where_available = foreign_civilian_oversight + } + } + } + #Achievement Related Arrays + effect = { + every_state = { + limit = { + OR = { + state = 731 #Central Macedonia + state = 184 #Thrace + state = 341 #Edirne + state = 164 #Dodecaneso/Rhodes + state = 183 #Cyprus + state = 231 #Georgia + state = 229 #Azerbaijan + state = 230 #Armenia + state = 451 #Derna + state = 450 #Benghasi + state = 663 #Cyrenaica + state = 584 #Ashkhabad + state = 832 #Tashauz + state = 831 #Khiva + state = 585 # Navoi + state = 442 #Peshawar + + region = 129 #Asia Minor + region = 232 #Levant + region = 128 #Egypt + region = 28 #Middle East + region = 240 #Zagros + region = 239 #Alborz + region = 116 #Central Ira + region = 241 #Dasht-e Kav + region = 291 #Baluchistan + region = 289 #South AFG + region = 162 #North AFG + region = 269 #Samarkand + region = 190 #Pakistan + } + } + add_to_array = { PER.PER_achaemenid_empire_states = THIS } + } + every_state = { + limit = { + is_on_continent = middle_east + } + add_to_array = { global.GOE_middle_east_array = THIS } + } + every_state = { + limit = { + OR = { + #state = 442 #Peshawar + state = 787 #Northern Kashmir + state = 441 #Kashmir + state = 986 #East Punkab + state = 438 #United Provinces + state = 323 #Nepal + state = 985 #Sikkim + state = 431 #West Bengal + state = 324 #Bhutan + state = 432 #Assam + state = 434 #Arunachal Pradesh + state = 990 #Manipur + } + } + add_to_array = { AFG.AFG_himalaya_states_array = THIS } + } + } + } + + + on_release_as_puppet = { + effect = { + if = { + limit = { + FROM = { + original_tag = RAJ + has_completed_focus = RAJ_princely_autonomy + } + + ROOT = { + is_raj_releasable = yes + } + } + + add_ideas = idea_RAJ_princely_autonomy + } + + if = { + limit = { + FROM = { + original_tag = RAJ + has_completed_focus = RAJ_funnel_british_investments_into_princely_states + } + + ROOT = { + NOT = { has_country_flag = has_recieved_civ_from_funnel_british_investments } + is_raj_releasable = yes + } + } + FROM = { build_civ_in_indian_releasables_once = yes } + } + } + } + + # ROOT is the subject, FROM is the previous overlord. + on_subject_free = { + effect = { + if = { + limit = { + has_dlc = "Graveyard of Empires" + ROOT = { + original_tag = RAJ + NOT = { has_global_flag = RAJ_GOE_partition_has_happened } + } + FROM = { original_tag = ENG } + NOT = { + OR = { + has_completed_focus = RAJ_red_in_the_shadows + has_completed_focus = RAJ_great_depression_price_controls + has_completed_focus = RAJ_forward_bloc + has_completed_focus = RAJ_his_majestys_loyal_government + } + } + + } + + RAJ = { + country_event = { id = GOE_RAJ_partition.6 hours = 2 } + } + } + } + } + + #fired when two countries end up at war with each other (on_war is fired when a country goes to war against anyone and is not fired again when it enters war against another country unless it went to peace first) + on_war_relation_added = { + effect = { + if = { + limit = { + OR = { + FROM = { + original_tag = RAJ + has_completed_focus = RAJ_jugantar + } + + ROOT = { + original_tag = RAJ + has_completed_focus = RAJ_jugantar + } + } + + OR = { + FROM = { original_tag = PAK } + ROOT = { original_tag = PAK } + } + } + + RAJ = { + division_template = { + name = "Jugantar Militia" + is_locked = no + regiments = { + irregular_infantry = { x = 0 y = 0 } + irregular_infantry = { x = 0 y = 1 } + irregular_infantry = { x = 0 y = 2 } + irregular_infantry = { x = 0 y = 3 } + irregular_infantry = { x = 1 y = 0 } + irregular_infantry = { x = 1 y = 1 } + + } + support = { + + } + } + if = { + limit = { + controls_state = 435 + } + 435 = { + create_unit = { + division = "name = \"Jugantar Militia\" division_template = \"Jugantar Militia\" start_experience_factor = 0.05 start_equipment_factor = 1 start_manpower_factor = 1" + owner = RAJ + allow_spawning_on_enemy_provs = yes + count = 3 + } + } + } + + if = { + limit = { + controls_state = 426 + } + 426 = { + create_unit = { + division = "name = \"Jugantar Militia\" division_template = \"Jugantar Militia\" start_experience_factor = 0.05 start_equipment_factor = 1 start_manpower_factor = 1" + owner = RAJ + allow_spawning_on_enemy_provs = yes + count = 3 + } + } + } + + if = { + limit = { + controls_state = 432 + } + 432 = { + create_unit = { + division = "name = \"Jugantar Militia\" division_template = \"Jugantar Militia\" start_experience_factor = 0.05 start_equipment_factor = 1 start_manpower_factor = 1" + owner = RAJ + allow_spawning_on_enemy_provs = yes + count = 3 + } + } + } + + } + } + } + effect = { + if = { + limit = { + + FROM = { + original_tag = PER + has_country_flag = PER_sold_oil_flag + } + ROOT = { + NOT = { + original_tag = PER + } + has_country_flag = PER_has_PER_resource_rights + } + } + ROOT = { + remove_resource_rights = 413 + } + FROM = { + add_offsite_building = { type = industrial_complex level = -3 } + } + } + + if = { + limit = { + AND = { + ROOT = { + original_tag = PER + has_country_flag = PER_sold_oil_flag + } + FROM = { + NOT = { + original_tag = PER + } + has_country_flag = PER_has_PER_resource_rights + } + } + } + FROM = { + remove_resource_rights = 413 + } + ROOT = { + add_offsite_building = { type = industrial_complex level = -3 } + } + } + } + effect = { + #block raj releasables from insta joining facftions if they spawn + if = { + limit = { + is_in_array = { + array = RAJ.raj_releasables + value = FROM + } + FROM = { + is_ai = yes + NOT = { original_tag = RAJ } + } + } + + FROM = { + set_rule = { can_join_factions = no } + country_event = { id = GOE_RAJ.35 days = 60 } #reset rule + } + } + + if = { + limit = { + is_in_array = { + array = RAJ.raj_releasables + value = ROOT + } + ROOT = { + is_ai = yes + NOT = { original_tag = RAJ } + } + } + + ROOT = { + set_rule = { can_join_factions = no } + country_event = { id = GOE_RAJ.35 days = 60 } #reset rule + } + } + + + if = { + limit = { + OR = { + ROOT = { + original_tag = RAJ + has_completed_focus = RAJ_revolt_of_the_princes + } + FROM = { + original_tag = RAJ + has_completed_focus = RAJ_revolt_of_the_princes + } + } + + OR = { + ROOT = { + tag = event_target:UK_INDIA + } + FROM = { + tag = event_target:UK_INDIA + } + } + } + + every_possible_country = { + limit = { + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + any_core_state = { + is_controlled_by = event_target:UK_INDIA + controller = { + NOT = { + is_subject_of = ROOT + } + } + } + is_raj_or_raj_inheritor = no + } + + event_target:UK_INDIA = { release = PREV } + RAJ = { + set_autonomy = { + target=PREV + autonomy_state = autonomy_dominion + freedom_level = 0.1 # 0-1 + end_wars = no # default yes. will not cancel non civil wars if set to no + end_civil_wars = no # default yes. will not cancel civil wars if set to no + } + } + + division_template = { + name = "Princely Security Forces" + is_locked = no + #division_names_group = NAMELIST_ID # optional + priority = 1 # optional + #template_counter = # optional + regiments = { + infantry = { x = 0 y = 0 } + infantry = { x = 0 y = 1 } + infantry = { x = 0 y = 2 } + infantry = { x = 1 y = 0 } + infantry = { x = 1 y = 1 } + infantry = { x = 1 y = 2 } + + } + support = { + + } + } + + capital_scope = { + create_unit = { + division = "name = \"Princely Security Forces\" division_template = \"Princely Security Forces\" start_experience_factor = 0.1 start_equipment_factor = 1 start_manpower_factor = 1" + owner = PREV + allow_spawning_on_enemy_provs = yes + count = 3 + + } + if = { + limit = { + owner = { #These are bigger and needs more divisions + tag = HYD + tag = RJP + tag = MYS + } + } + + create_unit = { + division = "name = \"Princely Security Forces\" division_template = \"Princely Security Forces\" start_experience_factor = 0.1 start_equipment_factor = 1 start_manpower_factor = 1" + owner = PREV + allow_spawning_on_enemy_provs = yes + count = 3 + + } + } + } + + } + } + if = { + limit = { + NOT = { has_global_flag = RAJ_GOE_partition_is_over } + has_global_flag = RAJ_GOE_partition_has_happened + ROOT = { + OR = { + original_tag = RAJ + original_tag = BAN + original_tag = PAK + } + } + + FROM = { + OR = { + original_tag = RAJ + original_tag = BAN + original_tag = PAK + } + } + + ENG = { + exists = yes + is_subject = no + } + } + if = { + limit = { + FROM = { + is_ai = no + } + } + FROM = { + country_event = { + id = GOE_RAJ_partition.9 + } + activate_mission = RAJ_GOE_eng_is_getting_involved_in_war + } + } + + + if = { + limit = { + ROOT = { + is_ai = no + } + } + ROOT = { + country_event = { + id = GOE_RAJ_partition.9 + } + activate_mission = RAJ_GOE_eng_is_getting_involved_in_war + } + } + } + + if = { + limit = { + OR = { + FROM = { original_tag = DIP } + PREV = { original_tag = DIP } + } + } + + DIP = { + set_rule = { can_join_factions = no } + set_popularities = { + democratic= 0 + neutrality = 100 + fascism = 0 + communism = 0 + } + set_politics = { + ruling_party = neutrality + elections_allowed = yes + last_election = 1935.1.1 + + + } + set_party_name = { + ideology = neutrality + long_name = "Anarchism" + name = "Anarchism" + } + } + } + # Will tidy this up with scripted effects someday (TM) + #It was in fact, not tidied up + IF = { + limit = { + OR = { + AND = { + FROM = { original_tag = AFG } + ROOT = { + original_tag = SOU + any_owned_state = { + has_dynamic_modifier = { + modifier = AFG_resistance_active_here + } + } + } + } + AND = { + ROOT = { original_tag = AFG } + FROM = { + original_tag = SOU + any_owned_state = { + has_dynamic_modifier = { + modifier = AFG_resistance_active_here + } + } + } + } + } + } + every_state = { + limit = { + is_owned_and_controlled_by = SOU + has_dynamic_modifier = { + modifier = AFG_resistance_active_here + } + } + OWNER = { + country_event = { + id = AFG_political_events.91 + hours = 1 + } + } + IF = { + limit = { + ROOT = { original_tag = AFG } + } + transfer_state_to = ROOT + } + ELSE = { + transfer_state_to = FROM + } + } + IF = { + limit = { + FROM = { original_tag = AFG } + } + IF = { + limit = { + any_owned_state = { + is_core_of = UZB + NOT = { + is_core_of = ROOT + } + } + UZB = { exists = no } + } + FROM = { + every_owned_state = { + limit = { + is_core_of = UZB + NOT = { + is_core_of = ROOT + } + } + transfer_state_to = UZB + } + puppet = UZB + UZB = { + add_to_war = { + targeted_alliance = FROM + enemy = ROOT + hostility_reason = asked_to_join + single_target_only = yes + } + AFG_create_puppet_army = yes + } + } + } + IF = { + limit = { + any_owned_state = { + is_core_of = TAJ + NOT = { + is_core_of = ROOT + } + } + TAJ = { exists = no } + } + FROM = { + every_owned_state = { + limit = { + is_core_of = TAJ + NOT = { + is_core_of = ROOT + } + } + transfer_state_to = TAJ + } + puppet = TAJ + TAJ = { + add_to_war = { + targeted_alliance = FROM + enemy = ROOT + hostility_reason = asked_to_join + single_target_only = yes + } + AFG_create_puppet_army = yes + } + } + } + IF = { + limit = { + any_owned_state = { + is_core_of = TMS + NOT = { + is_core_of = ROOT + } + } + TMS = { exists = no } + } + FROM = { + every_owned_state = { + limit = { + is_core_of = TMS + NOT = { + is_core_of = ROOT + } + } + transfer_state_to = TMS + } + puppet = TMS + TMS = { + add_to_war = { + targeted_alliance = FROM + enemy = ROOT + hostility_reason = asked_to_join + single_target_only = yes + } + AFG_create_puppet_army = yes + } + } + } + IF = { + limit = { + any_owned_state = { + is_core_of = KYR + NOT = { + is_core_of = ROOT + } + } + KYR = { exists = no } + } + FROM = { + every_owned_state = { + limit = { + is_core_of = KYR + NOT = { + is_core_of = ROOT + } + } + transfer_state_to = KYR + } + puppet = KYR + KYR = { + add_to_war = { + targeted_alliance = FROM + enemy = ROOT + hostility_reason = asked_to_join + single_target_only = yes + } + AFG_create_puppet_army = yes + } + } + } + } + ELSE_IF = { + limit = { + ROOT = { original_tag = AFG } + } + IF = { + limit = { + any_owned_state = { + is_core_of = UZB + NOT = { + is_core_of = ROOT + } + } + UZB = { exists = no } + } + ROOT = { + every_owned_state = { + limit = { + is_core_of = UZB + NOT = { + is_core_of = ROOT + } + } + transfer_state_to = UZB + } + puppet = UZB + UZB = { + add_to_war = { + targeted_alliance = ROOT + enemy = FROM + hostility_reason = asked_to_join + single_target_only = yes + } + AFG_create_puppet_army = yes + } + } + } + IF = { + limit = { + any_owned_state = { + is_core_of = TAJ + NOT = { + is_core_of = ROOT + } + } + TAJ = { exists = no } + } + ROOT = { + every_owned_state = { + limit = { + is_core_of = TAJ + NOT = { + is_core_of = ROOT + } + } + transfer_state_to = TAJ + } + puppet = TAJ + TAJ = { + add_to_war = { + targeted_alliance = ROOT + enemy = FROM + hostility_reason = asked_to_join + single_target_only = yes + } + AFG_create_puppet_army = yes + } + } + } + IF = { + limit = { + any_owned_state = { + is_core_of = TMS + NOT = { + is_core_of = ROOT + } + } + TMS = { exists = no } + } + ROOT = { + every_owned_state = { + limit = { + is_core_of = TMS + NOT = { + is_core_of = ROOT + } + } + transfer_state_to = TMS + } + puppet = TMS + TMS = { + add_to_war = { + targeted_alliance = ROOT + enemy = FROM + hostility_reason = asked_to_join + single_target_only = yes + } + AFG_create_puppet_army = yes + } + } + } + IF = { + limit = { + any_owned_state = { + is_core_of = KYR + NOT = { + is_core_of = ROOT + } + } + KYR = { exists = no } + } + ROOT = { + every_owned_state = { + limit = { + is_core_of = KYR + NOT = { + is_core_of = ROOT + } + } + transfer_state_to = KYR + } + puppet = KYR + KYR = { + add_to_war = { + targeted_alliance = ROOT + enemy = FROM + hostility_reason = asked_to_join + single_target_only = yes + } + AFG_create_puppet_army = yes + } + } + } + } + } + + if = { + limit = { + OR = { + ROOT = { original_tag = ENG } + FROM = { original_tag = ENG } + } + + OR = { + ROOT = { original_tag = RAJ } + FROM = { original_tag = RAJ } + } + RAJ = { NOT = { has_completed_focus = RAJ_keep_british_generals } } + } + + RAJ = { + every_army_leader = { + limit = { + has_trait = loyalty_to_britain + } + + set_nationality = ENG + } + } + } + } + } + + on_peace = { + effect = { + IF = { + limit = { + THIS = { original_tag = RAJ } + THIS = { has_completed_focus = RAJ_war_taxes } + } + THIS = { + set_variable = { + var = amount_of_times_raised_taxes + value = 0 + } + set_variable = { + var = RAJ_war_taxes_war_support + value = 0 + } + set_variable = { + var = RAJ_war_taxes_stability + value = 0 + } + set_variable = { + var = RAJ_war_taxes_mil + value = 0 + } + } + } + } + } + + #FROM is war target + #ROOT is country declaring war + on_declare_war = { + effect = { + IF = { + limit = { + has_dlc = "Graveyard of Empires" + AND = { + OR = { + FROM = { + original_tag = AFG + has_country_flag = AFG_signed_oil_deal_flag + } + ROOT = { + original_tag = AFG + has_country_flag = AFG_signed_oil_deal_flag + } + } + OR = { + FROM = { + has_country_flag = made_oil_deal_with_afg_flag + } + ROOT = { + has_country_flag = made_oil_deal_with_afg_flag + } + } + } + } + IF = { + limit = { + FROM = { + has_country_flag = made_oil_deal_with_afg_flag + } + } + FROM = { + country_event = { + id = AFG_industrial_events.16 + hours = 1 + } + remove_resource_rights = 267 + } + } + ELSE = { + ROOT = { + country_event = { + id = AFG_industrial_events.16 + hours = 1 + } + remove_resource_rights = 267 + } + } + } + #Picking out who is the leader in a war when invading Iran + IF = { + limit = { + FROM = { + original_tag = PER + NOT = { + has_country_flag = PER_has_been_invaded + } + } + has_dlc = "Graveyard of Empires" + } + ROOT = { + set_country_flag = PER_invading_country_flag + } + FROM = { + hidden_effect = { + set_country_flag = PER_has_been_invaded + } + } + } + } + } + + on_subject_free = { + effect = { + ##ROOT is subject FROM is previous overlord + if = { + limit = { + OR = { + ROOT = { + original_tag = PAK + } + + FROM = { + original_tag = RAJ + } + } + } + + RAJ = { + every_army_leader = { + limit = { + has_trait = loyalty_to_pakistan + } + + set_nationality = PAK + } + } + } + + + if = { + limit = { + ROOT = { + has_dlc = "Graveyard of Empires" + has_dynamic_modifier = { modifier = idea_RAJ_tea_exports } + } + } + + ROOT = { remove_dynamic_modifier = { modifier = idea_RAJ_tea_exports } } + } + + if = { + limit = { + ROOT = { has_variable = RAJ_times_expanded_tea_exports } + } + ROOT = { + clear_variable = RAJ_times_expanded_tea_exports + set_variable = { RAJ_times_expanded_tea_exports = 0 } + } + } + } + } + + #ROOT is capitulated country, FROM is winner. + on_capitulation_immediate = { + effect = { + if = { + limit = { + ROOT = { is_raj_or_raj_inheritor = yes } + } + + for_each_scope_loop = { + array = RAJ.owned_states_at_game_start + if = { + limit = { + controller = { + NOT = { is_raj_or_raj_inheritor = yes } + NOT = { is_in_faction_with = ROOT } + } + + NOT = { has_dynamic_modifier = { modifier = idea_RAJ_resistant_to_occupation } } + NOT = {has_state_flag = RAJ_resistance_already_squashed_flag } + } + + add_dynamic_modifier = { + modifier = idea_RAJ_resistant_to_occupation + days = 1400 + } + + + } + } + } + + #Bose capitulated other RAJ + if = { + limit = { + ROOT = { + original_tag = RAJ + } + FROM = { + has_war_with = ENG + original_tag = RAJ + OR = { + has_country_leader = { + character = RAJ_subhas_chanda_bose + } + + has_country_leader = { + character = RAJ_v_d_savarkar + } + } + } + } + + RAJ = { country_event = { id = GOE_RAJ.21 hours = 2 } } + } + } + #Capitulations Pertaining to Achievements + effect = { + if = { + limit = { + ROOT = { + OR = { + original_tag = AFG + original_tag = IRQ + original_tag = PER + original_tag = RAJ + } + } + FROM = { + OR = { + #any_other_country = { + # is_in_faction_with = FROM + #} + original_tag = AFG + original_tag = IRQ + original_tag = PER + original_tag = RAJ + } + } + } + if = { + limit = { + ROOT = { + original_tag = AFG + } + } + FROM = { + set_country_flag = GOE_capitulated_AFG + } + } + if = { + limit = { + ROOT = { + original_tag = IRQ + } + } + FROM = { + set_country_flag = GOE_capitulated_IRQ + } + } + if = { + limit = { + ROOT = { + original_tag = PER + } + } + FROM = { + set_country_flag = GOE_capitulated_PER + } + } + if = { + limit = { + ROOT = { + original_tag = RAJ + } + } + FROM = { + set_country_flag = GOE_capitulated_RAJ + } + } + } + if = { + limit = { + ROOT = { + original_tag = SOV + } + FROM = { + original_tag = AFG + } + } + FROM = { + set_country_flag = AFG_capitulated_Soviet + } + } + if = { + limit = { + ROOT = { + tag = POL + } + } + ROOT = { + set_country_flag = POL_has_capitulated_flag + } + } + if = { + limit = { + ROOT = { + original_tag = SAU + } + FROM = { + original_tag = IRQ + } + } + FROM = { + set_country_flag = IRQ_capitulated_SAU + } + } + } + effect = { + IF = { + limit = { + ROOT = { + tag = RAJ + has_country_flag = RAJ_mughal_uprising_started + } + } + ROOT = { + clr_country_flag = RAJ_mughal_uprising_started + } + FROM = { + annex_country = { + target = ROOT + transfer_troops = no + } + } + } + } + } + + #ROOT is new controller, FROM is old controller, FROM.FROM is state ID. + on_state_control_changed = { + effect = { + if = { + limit = { + has_dlc = "Graveyard of Empires" + FROM.FROM = { state = 733 } + ROOT = { + OR = { + AND = { + original_tag = JAP + has_country_flag = agreed_to_help_bose + NOT = { has_war_with = RAJ } + } + AND = { + original_tag = RAJ + OR = { + has_country_leader = { character = RAJ_subhas_chanda_bose } + has_country_leader = { character = RAJ_v_d_savarkar } + } + } + } + } + } + RAJ = { + transfer_state = 733 + } + } + + if = { + limit = { + has_dlc = "Graveyard of Empires" + + FROM = { + is_raj_or_raj_inheritor = yes + } + is_in_array = { + array = RAJ.owned_states_at_game_start + value = FROM.FROM + } + + NOT = { + has_dynamic_modifier = { modifier = idea_RAJ_resistant_to_occupation } + } + ROOT = { has_war_with = FROM } + FROM.FROM = { NOT = { is_core_of = ROOT } } + + } + + FROM.FROM = { + add_dynamic_modifier = { + modifier = idea_RAJ_resistant_to_occupation + days = 1400 + } + + set_state_flag = RAJ_resistance_already_squashed_flag + } + } + else_if = { + limit = { + has_dlc = "Graveyard of Empires" + ROOT = { + is_raj_or_raj_inheritor = yes + } + + FROM.FROM = { has_dynamic_modifier = { modifier = idea_RAJ_resistant_to_occupation } } + } + FROM.FROM = { remove_dynamic_modifier = { modifier = idea_RAJ_resistant_to_occupation } } + } + + if = { #Free Bose + limit = { + has_dlc = "Graveyard of Empires" + RAJ = { has_country_flag = has_arrested_bose } + FROM.FROM = { state = var:global.bose_arrest_location } + } + + RAJ = { country_event = { id = GOE_RAJ.26 hours = 2 } } + } + + if = { + limit = { + FROM.FROM = { + OR = { + is_core_of = BRM + is_in_array = { + array = RAJ.owned_states_at_game_start + value = THIS + } + NOT = { has_state_flag = RAJ_time_to_retake_state_famine } + } + } + + FROM = { + OR = { + original_tag = RAJ + original_tag = BRM + } + } + } + + FROM.FROM = { + set_state_flag = { flag = RAJ_time_to_retake_state_famine days = 30 value = 1 } + } + } + } + effect = { #does not work when placed in on_capitulation or on_annexation, might be connected to an assert that fires off once the Raj caps the Mughals stating that the Raj doesn't have a war with them... + if = { + limit = { + has_dlc = "Graveyard of Empires" + FROM.FROM = { + has_dynamic_modifier = { + modifier = idea_RAJ_mughal_influence + } + } + } + + FROM.FROM = { + remove_dynamic_modifier = { + modifier = idea_RAJ_mughal_influence + days = 1400 + } + } + } + } + + effect = { #does not work when placed in on_capitulation or on_annexation, might be connected to an assert that fires off once the Raj caps the Mughals stating that the Raj doesn't have a war with them... + if = { + limit = { + has_dlc = "Graveyard of Empires" + ROOT = { + original_tag = RAJ + has_completed_focus = RAJ_the_legacy_of_babur + } + FROM.FROM = { + NOT = { + has_dynamic_modifier = { + modifier = idea_RAJ_mughal_influence + } + } + } + } + + FROM.FROM = { + add_dynamic_modifier = { + modifier = idea_RAJ_mughal_influence + } + } + } + } + } + + #FROM is faction leader on join faction requests. THIS DOES NOT FIRE ON ADD_TO_FACTION EFFECT! USE ON_OFFER_JOIN_FACTION! + ON_OFFER_JOIN_FACTION = { + effect = { # Adding the correct stuff for faction joiners for the AH joint focus tree + IF = { + limit = { + has_dlc = "Graveyard of Empires" + FROM = { + original_tag = AFG + has_idea = neutrality_idea + } + } + FROM = { + remove_ideas = { + idea = neutrality_idea + } + } + } + } + } + + #ROOT is sender, FROM is receiver. + on_send_volunteers = { + effect = { + if = { + limit = { + ROOT = { + has_completed_focus = RAJ_a_private_military + NOT = { + is_in_array = { + array = pmc_recievers + value = FROM + } + } + } + + } + + ROOT = { + add_to_array = { pmc_recievers = FROM } + log = "[FROM.GetName]" + add_to_array = { pmc_timer = 77 } #in weeks + add_offsite_building = { + type = industrial_complex + level = 1 + } + } + } + } + } + + on_monthly_PER = { + effect = { + IF = { + limit = { + AND = { + kurdistan_exists = no + 1000 = { + is_owned_by = SOU + } + 420 = { + is_owned_by = SOU + } + 419 = { + is_owned_by = SOU + } + SOU = { + has_government = communism + } + } + } + SOU = { + country_event = { + id = PER_communist_events.20 + hours = 1 + } + } + } + } + } + + on_monthly_PAL = { + effect = { + IF = { + limit = { + date > 1936.3.1 + OR = { + PAL = { + exists = yes + is_subject_of = ENG + } + 454 = { + is_owned_by = ENG + } + } + NOT = { has_global_flag = the_1936_PAL_revolt_has_happened } + } + every_country = { + limit = { + OR = { + tag = ENG + capital_scope = { + is_on_continent = middle_east + } + } + } + news_event = { + id = GOE_IRQ_news.1 + days = 19 + } + } + set_global_flag = the_1936_PAL_revolt_has_happened + } + } + } + + on_release_as_puppet = { + effect = { + IF = { + limit = { + FROM = { original_tag = RAJ } + ROOT = { + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + } + } + RAJ = { + if = { + limit = { + check_variable = { RAJ_hindu_mahasabha_released < 0.32 } + } + add_to_variable = { RAJ_hindu_mahasabha_released = 0.04 } + } + } + RAJ = { + add_to_variable = { RAJ_hindu_mahasabha_counter = 1 } + } + } + RAJ = { + clamp_variable = { + var = RAJ_hindu_mahasabha_released + min = 0 + max = 32 + } + } + } + } + + on_capitulation = { + effect = { + IF = { + limit = { + ROOT = { + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + } + RAJ = { check_variable = { RAJ_hindu_mahasabha_released > 0.03 } } + } + RAJ = { + if = { + limit = { + check_variable = { RAJ_hindu_mahasabha_counter < 8 } + } + subtract_from_variable = { RAJ_hindu_mahasabha_released = 0.04 } + } + subtract_from_variable = { RAJ_hindu_mahasabha_counter = 1 } + } + } + RAJ = { + clamp_variable = { + var = RAJ_hindu_mahasabha_released + min = 0 + max = 32 + } + } + } + } + + on_subject_annexed = { + effect = { + IF = { + limit = { + FROM = { original_tag = RAJ } + ROOT = { + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + } + RAJ = { check_variable = { RAJ_hindu_mahasabha_released > 0.03 } } + } + RAJ = { + if = { + limit = { + check_variable = { RAJ_hindu_mahasabha_counter < 8 } + } + subtract_from_variable = { RAJ_hindu_mahasabha_released = 0.04 } + } + subtract_from_variable = { RAJ_hindu_mahasabha_counter = 1 } + } + } + RAJ = { + clamp_variable = { + var = RAJ_hindu_mahasabha_released + min = 0 + max = 32 + } + } + } + } + + on_subject_free = { + effect = { + IF = { + limit = { + FROM = { original_tag = RAJ } + ROOT = { + is_in_array = { + array = RAJ.raj_releasables + value = THIS + } + } + RAJ = { check_variable = { RAJ_hindu_mahasabha_released > 0.03 } } + } + RAJ = { + if = { + limit = { + check_variable = { RAJ_hindu_mahasabha_counter < 8 } + } + subtract_from_variable = { RAJ_hindu_mahasabha_released = 0.04 } + } + subtract_from_variable = { RAJ_hindu_mahasabha_counter = 1 } + } + } + RAJ = { + clamp_variable = { + var = RAJ_hindu_mahasabha_released + min = 0 + max = 32 + } + } + } + } + + on_declare_war = { + effect = { + IF = { + limit = { + OR = { + tag = IRQ + tag = AFG + tag = PER + tag = TUR + } + has_dynamic_modifier = { modifier = SSB_saadabad_pact } + OR = { + AND = { + FROM = { tag = PER } + PER = { has_dynamic_modifier = { modifier = SSB_saadabad_pact} } + } + AND = { + FROM = { tag = TUR } + TUR = { has_dynamic_modifier = { modifier = SSB_saadabad_pact} } + } + AND = { + FROM = { tag = AFG } + AFG = { has_dynamic_modifier = { modifier = SSB_saadabad_pact} } + } + AND = { + FROM = { tag = IRQ } + IRQ = { has_dynamic_modifier = { modifier = SSB_saadabad_pact} } + } + } + } + custom_effect_tooltip = SSB_you_will_lose_the_bonus_tt + hidden_effect = { + remove_dynamic_modifier = { modifier = SSB_saadabad_pact } + PER = { + if = { + limit = { has_dynamic_modifier = { modifier = SSB_saadabad_pact } } + country_event = { + id = PER_SSB_events.8 + hours = 12 + } + } + } + AFG = { + if = { + limit = { has_dynamic_modifier = { modifier = SSB_saadabad_pact } } + country_event = { + id = PER_SSB_events.8 + hours = 12 + } + } + } + IRQ = { + if = { + limit = { has_dynamic_modifier = { modifier = SSB_saadabad_pact } } + country_event = { + id = PER_SSB_events.8 + hours = 12 + } + } + } + TUR = { + if = { + limit = { has_dynamic_modifier = { modifier = SSB_saadabad_pact } } + country_event = { + id = PER_SSB_events.8 + hours = 12 + } + } + } + } + } + } + } + + on_annex = { + effect = { + if = { + limit = { + FROM = { + has_country_flag = IRQ_has_become_kurdistan_flag + } + } + clr_global_flag = kurdistan_exists_flag + } + } + } +} \ No newline at end of file diff --git a/src/common/on_actions/az_alpt_on_actions.txt b/src/common/on_actions/az_alpt_on_actions.txt index ba034cb..f0f108a 100755 --- a/src/common/on_actions/az_alpt_on_actions.txt +++ b/src/common/on_actions/az_alpt_on_actions.txt @@ -18,10 +18,4 @@ on_actions = { } } } - - on_monthly = { - effect = { - - } - } } diff --git a/src/common/on_actions/az_waring_on_actions.txt b/src/common/on_actions/az_waring_on_actions.txt index de53faa..4d2ca41 100755 --- a/src/common/on_actions/az_waring_on_actions.txt +++ b/src/common/on_actions/az_waring_on_actions.txt @@ -279,216 +279,6 @@ on_actions = { } } } - on_daily_TIX = { - effect = { - if = { - limit = { - date > 1941.6.1 - tag = TIX - has_government = fascism - is_puppet = no - not = { controls_state = 64 } - not = { country_exists = WEX } - has_global_flag = yaertahuiyi_chenggong - has_war_with = BFL - has_war_with = BYG - has_war_with = HUJ - surrender_progress > 0.7 - BFL = { - surrender_progress < 0.4 - } - HUJ = { - surrender_progress < 0.3 - } - BYG = { - surrender_progress < 0.1 - } - } - set_global_flag = yaertahuiyi_chenggong_shishi - white_peace = { - tag = HUJ - } - white_peace = { - tag = BYG - } - white_peace = { - tag = BFL - } - white_peace = { - tag = YUW - } - white_peace = { - tag = SAD - } - TIX_z23 = { - set_nationality = TIX - } - set_cosmetic_tag = TIX - TIX = { - add_country_leader_role = { - Character = TIX_z23 - Promote_leader = yes - Country_leader = { - ideology = leninism - expire = "2000.1.1.1" - traits = { - jjdxxs - } - } - } - } - retire_character = TIX_xipeiershangjiang - release_on_controlled = CZE - release_on_controlled = AUS - release_on_controlled = NOR - release_on_controlled = DEN - release_on_controlled = HOL - release_on_controlled = BEL - release_on_controlled = LUX - CZE = { - annex_country = { target = SLO transfer_troops = no } - transfer_state = 73 - transfer_state = 664 - } - POL = { - transfer_state = 5 - transfer_state = 63 - transfer_state = 68 - transfer_state = 66 - transfer_state = 67 - transfer_state = 85 - transfer_state = 86 - transfer_state = 807 - transfer_state = 87 - transfer_state = 98 - transfer_state = 10 - transfer_state = 762 - transfer_state = 90 - transfer_state = 88 - transfer_state = 92 - transfer_state = 97 - add_state_core = 5 - add_state_core = 63 - add_state_core = 68 - add_state_core = 66 - add_state_core = 67 - } - GER = { - #set_cosmetic_tag = XTIX - recruit_character = TIX_xipeiershangjiang - add_country_leader_role = { - character = TIX_xipeiershangjiang - promote_leader = yes - country_leader = { - expire = "4999.1.1" - ideology = liberalism - traits = { - - } - } - } - set_capital = { state = 51 } - transfer_state = 59 - transfer_state = 55 - transfer_state = 56 - transfer_state = 57 - transfer_state = 51 - transfer_state = 42 - transfer_state = 54 - transfer_state = 50 - transfer_state = 52 - transfer_state = 53 - transfer_state = 58 - transfer_state = 909 - transfer_state = 978 - add_state_core = 58 - add_state_core = 59 - add_state_core = 55 - add_state_core = 56 - add_state_core = 57 - add_state_core = 51 - add_state_core = 42 - add_state_core = 54 - add_state_core = 50 - add_state_core = 52 - add_state_core = 53 - add_state_core = 909 - add_state_core = 978 - } - 51 = { - set_demilitarized_zone = yes - } - 42 = { - set_demilitarized_zone = yes - } - BFL = { - #annex_country = { target = FIN transfer_troops = no } - annex_country = { target = UKR transfer_troops = no } - annex_country = { target = LAT transfer_troops = no } - annex_country = { target = EST transfer_troops = no } - annex_country = { target = BLR transfer_troops = no } - annex_country = { target = AZR transfer_troops = no } - annex_country = { target = GEO transfer_troops = no } - annex_country = { target = LIT transfer_troops = no } - transfer_state = 188 - transfer_state = 763 - transfer_state = 78 - transfer_state = 80 - transfer_state = 766 - add_state_core = 763 - set_autonomy = { - target = TIX - autonomy_state = autonomy_integrated_puppet - } - set_autonomy = { - target = POL - autonomy_state = autonomy_integrated_puppet - } - set_autonomy = { - target = CZE - autonomy_state = autonomy_integrated_puppet - } - set_autonomy = { - target = HUN - autonomy_state = autonomy_integrated_puppet - } - set_autonomy = { - target = ROM - autonomy_state = autonomy_integrated_puppet - } - } - set_province_name = { id = 6332 name = "萨悠斯格勒" } - BYG = { - set_autonomy = { - target = GER - autonomy_state = autonomy_integrated_puppet - } - } - HUJ = { - set_autonomy = { - target = IRQ - autonomy_state = autonomy_integrated_puppet - } - } - DEN = { - set_cosmetic_tag = DEN - add_popularity = { ideology = democratic popularity = 0.3 } - set_politics = { - ruling_party = democratic - } - } - GER = { - add_popularity = { ideology = democratic popularity = 0.75 } - load_oob = GER_1939_nsb - } - add_popularity = { ideology = communism popularity = 0.75 } - news_event = { id = az_tianjiang.89 days = 1} - - } - - } - - } on_capitulation = { effect = { if = { @@ -532,6 +322,11 @@ on_actions = { TIX_z23 = { set_nationality = TIX } + BFL = { + TIX_z23 = { + set_nationality = TIX + } + } set_cosmetic_tag = TIX TIX = { add_country_leader_role = { @@ -701,7 +496,7 @@ on_actions = { } } } - on_daily_DOH = { + on_monthly_DOH = { effect = { if = { limit = { diff --git a/src/common/on_actions/azshipgirl_on_actions.txt b/src/common/on_actions/azshipgirl_on_actions.txt index 8861d67..6f154d3 100755 --- a/src/common/on_actions/azshipgirl_on_actions.txt +++ b/src/common/on_actions/azshipgirl_on_actions.txt @@ -63,140 +63,7 @@ on_actions = { } } } - - on_monthly_TIX = { - effect = { - if = { - limit = { - AND = { - NOT = { has_global_flag = bilanlianheguojiesan } - is_ai = yes - } - } - add_to_variable = { - var = wz_sl - value = 900 - } - } - } - } - on_monthly_BFL = { - effect = { - if = { - limit = { - AND = { - NOT = { has_global_flag = bilanlianheguojiesan } - is_ai = yes - } - } - add_to_variable = { - var = wz_sl - value = 900 - } - } - } - } - - on_monthly_BYG = { - effect = { - if = { - limit = { - AND = { - NOT = { has_global_flag = bilanlianheguojiesan } - is_ai = yes - } - } - add_to_variable = { - var = wz_sl - value = 900 - } - } - } - } - - on_monthly_HUJ = { - effect = { - if = { - limit = { - AND = { - NOT = { has_global_flag = bilanlianheguojiesan } - is_ai = yes - } - } - add_to_variable = { - var = wz_sl - value = 900 - } - } - } - } - - on_monthly_CHY = { - effect = { - if = { - limit = { - AND = { - NOT = { has_global_flag = bilanlianheguojiesan } - is_ai = yes - } - } - add_to_variable = { - var = wz_sl - value = 900 - } - } - } - } - - on_monthly_DOH = { - effect = { - if = { - limit = { - AND = { - NOT = { has_global_flag = bilanlianheguojiesan } - is_ai = yes - } - } - add_to_variable = { - var = wz_sl - value = 900 - } - } - } - } - on_monthly_SAD = { - effect = { - if = { - limit = { - AND = { - NOT = { has_global_flag = bilanlianheguojiesan } - is_ai = yes - } - } - add_to_variable = { - var = wz_sl - value = 900 - } - } - } - } - on_monthly_YUW = { - effect = { - if = { - limit = { - AND = { - NOT = { has_global_flag = bilanlianheguojiesan } - is_ai = yes - } - } - add_to_variable = { - var = wz_sl - value = 900 - } - } - } - } on_declare_war = { effect = { if = { diff --git a/src/common/scripted_effects/az_scripted_effects.txt b/src/common/scripted_effects/az_scripted_effects.txt index b2bcd78..674dbd0 100755 --- a/src/common/scripted_effects/az_scripted_effects.txt +++ b/src/common/scripted_effects/az_scripted_effects.txt @@ -1,4 +1,4 @@ -getzhg_event_gerentezhi_se = { +getzhg_event_gerentezhi_se = {SOV custom_effect_tooltip = getzhg_event_gerentezhi_tt if = { limit = { is_navy_leader = yes } @@ -547,12 +547,66 @@ TY_lujunliluntupo = { } } TY_haijunliluntupo = { - #custom_effect_tooltip = TY_haijunliluntupo_effect_tooltip + custom_effect_tooltip = TY_haijunliluntupo_effect_tooltip #set_country_flag = TY_navy_liluntupo + if = { + limit = { + AND = { + has_naval_academy = yes + has_doctrine = new_fleet_in_being + } + } + add_ideas = az_lltp_czjd + } + if = { + limit = { + AND = { + has_naval_academy = yes + has_doctrine = new_convoy_raiding + } + } + add_ideas = az_lltp_myfs + } + if = { + limit = { + AND = { + has_naval_academy = yes + has_doctrine = new_base_strike + } + } + add_ideas = az_lltp_jddj + } } TY_kongjunliluntupo = { - #custom_effect_tooltip = TY_kongjunliluntupo_effect_tooltip + custom_effect_tooltip = TY_kongjunliluntupo_effect_tooltip #set_country_flag = TY_air_liluntupo + if = { + limit = { + AND = { + has_air_academy = yes + has_doctrine = new_strategic_destruction + } + } + add_ideas = az_lltp_zlph + } + if = { + limit = { + AND = { + has_air_academy = yes + has_doctrine = new_battlefield_support + } + } + add_ideas = az_lltp_zczy + } + if = { + limit = { + AND = { + has_air_academy = yes + has_doctrine = new_operational_integrity + } + } + add_ideas = az_lltp_lxzz + } } shaixuan_leader_seffect = { diff --git a/src/common/scripted_guis/az_leadermenu_guis.txt b/src/common/scripted_guis/az_leadermenu_guis.txt index 7d26db0..4154c45 100755 --- a/src/common/scripted_guis/az_leadermenu_guis.txt +++ b/src/common/scripted_guis/az_leadermenu_guis.txt @@ -119,10 +119,10 @@ scripted_gui = { } check_variable = { - ROOT.ROOT.wz_sl >9999 + ROOT.wz_sl >9999 } check_variable = { - ROOT.ROOT.xzmf_sl >0 + ROOT.xzmf_sl >0 } } @@ -178,7 +178,7 @@ scripted_gui = { THIS = { skill > 8 skill < 10 - is_navy_leader = NO + #is_navy_leader = NO } } check_variable = { @@ -192,15 +192,15 @@ scripted_gui = { } } #lv9haijun - if = { - limit = { - THIS = { - is_navy_leader = yes - skill > 8 - } - } - always = NO - } + #if = { + # limit = { + # THIS = { + # is_navy_leader = yes + #skill > 8 + # } + # } + # always = NO + #} #lv10 if = { limit = { @@ -242,6 +242,96 @@ scripted_gui = { limit = { THIS = { skill > 11 + skill < 13 + } + } + check_variable = { + ROOT.wz_sl >59999 + } + check_variable = { + ROOT.xzmf_sl >3 + } + check_variable = { + ROOT.zs_sl >99 + } + } + #lv13 + if = { + limit = { + THIS = { + skill > 12 + skill < 14 + } + } + check_variable = { + ROOT.wz_sl >69999 + } + check_variable = { + ROOT.xzmf_sl >4 + } + check_variable = { + ROOT.zs_sl >119 + } + } + #lv14 + if = { + limit = { + THIS = { + skill > 13 + skill < 15 + } + } + check_variable = { + ROOT.wz_sl >79999 + } + check_variable = { + ROOT.xzmf_sl >4 + } + check_variable = { + ROOT.zs_sl >119 + } + } + #lv15 + if = { + limit = { + THIS = { + skill > 14 + skill < 16 + } + } + check_variable = { + ROOT.wz_sl >89999 + } + check_variable = { + ROOT.xzmf_sl >5 + } + check_variable = { + ROOT.zs_sl >149 + } + } + #lv16 + if = { + limit = { + THIS = { + skill > 15 + skill < 20 + } + } + check_variable = { + ROOT.wz_sl >99999 + } + check_variable = { + ROOT.xzmf_sl >6 + } + check_variable = { + ROOT.zs_sl >199 + } + } + #lv20 + if = { + limit = { + THIS = { + skill > 19 } } always = NO @@ -306,8 +396,10 @@ scripted_gui = { #lv1 if = { limit = { - skill > 0 - skill < 2 + THIS = { + skill > 0 + skill < 2 + } } add_to_variable = { ROOT.wz_sl = -500 @@ -319,10 +411,10 @@ scripted_gui = { #lv2 else_if = { limit = { - + THIS = { skill > 1 skill < 3 - + } } add_to_variable = { ROOT.wz_sl = -1000 @@ -334,10 +426,10 @@ scripted_gui = { #lv3 else_if = { limit = { - + THIS = { skill > 2 skill < 4 - + } } add_to_variable = { ROOT.wz_sl = -3000 @@ -349,10 +441,10 @@ scripted_gui = { #lv4 else_if = { limit = { - + THIS = { skill > 3 skill < 5 - + } } add_to_variable = { ROOT.wz_sl = -6000 @@ -364,10 +456,10 @@ scripted_gui = { #lv5 else_if = { limit = { - + THIS = { skill > 4 skill < 6 - + } } add_to_variable = { ROOT.wz_sl = -10000 @@ -382,10 +474,10 @@ scripted_gui = { #lv6 else_if = { limit = { - + THIS = { skill > 5 skill < 7 - + } } add_to_variable = { ROOT.wz_sl = -15000 @@ -400,10 +492,10 @@ scripted_gui = { #lv7 else_if = { limit = { - + THIS = { skill > 6 skill < 8 - + } } add_to_variable = { ROOT.wz_sl = -20000 @@ -418,10 +510,10 @@ scripted_gui = { #lv8 else_if = { limit = { - + THIS = { skill > 7 skill < 9 - + } } add_to_variable = { @@ -430,30 +522,7 @@ scripted_gui = { add_to_variable = { ROOT.xzmf_sl = -2 } - - randomize_temp_variable = { - var = chenggonggailv - distribution = uniform - min = 0 - max = 100 - } - if = { - limit = { - check_variable = { - chenggonggailv > 20 - } - } - - add_skill_level = 1 - - } - else = { - - PREV = { unit_leader_event = getzhg_event.2501 } - - } - - + add_skill_level = 1 } #lv9 @@ -473,27 +542,7 @@ scripted_gui = { add_to_variable = { ROOT.zs_sl = -20 } - randomize_temp_variable = { - var = chenggonggailv - distribution = uniform - min = 0 - max = 100 - } - if = { - limit = { - check_variable = { - chenggonggailv > 25 - } - } - - add_skill_level = 1 - - } - else = { - - PREV = { unit_leader_event = getzhg_event.2501 } - - } + add_skill_level = 1 } #lv10 else_if = { @@ -512,27 +561,7 @@ scripted_gui = { add_to_variable = { ROOT.zs_sl = -60 } - randomize_temp_variable = { - var = chenggonggailv - distribution = uniform - min = 0 - max = 100 - } - if = { - limit = { - check_variable = { - chenggonggailv > 30 - } - } - - add_skill_level = 1 - - } - else = { - - PREV = { unit_leader_event = getzhg_event.2501 } - - } + add_skill_level = 1 } #lv11 else_if = { @@ -551,6 +580,101 @@ scripted_gui = { add_to_variable = { ROOT.zs_sl = -100 } + add_skill_level = 1 + } + #lv12 + else_if = { + limit = { + THIS = { + skill > 11 + skill < 13 + } + } + add_to_variable = { + ROOT.wz_sl = -60000 + } + add_to_variable = { + ROOT.xzmf_sl = -4 + } + add_to_variable = { + ROOT.zs_sl = -100 + } + add_skill_level = 1 + } + #lv13 + else_if = { + limit = { + THIS = { + skill > 12 + skill < 14 + } + } + add_to_variable = { + ROOT.wz_sl = -70000 + } + add_to_variable = { + ROOT.xzmf_sl = -4 + } + add_to_variable = { + ROOT.zs_sl = -120 + } + add_skill_level = 1 + } + #lv14 + else_if = { + limit = { + THIS = { + skill > 13 + skill < 15 + } + } + add_to_variable = { + ROOT.wz_sl = -80000 + } + add_to_variable = { + ROOT.xzmf_sl = -5 + } + add_to_variable = { + ROOT.zs_sl = -120 + } + add_skill_level = 1 + } + #lv15 + else_if = { + limit = { + THIS = { + skill > 14 + skill < 16 + } + } + add_to_variable = { + ROOT.wz_sl = -90000 + } + add_to_variable = { + ROOT.xzmf_sl = -6 + } + add_to_variable = { + ROOT.zs_sl = -150 + } + add_skill_level = 1 + } + #lv16 + else_if = { + limit = { + THIS = { + skill > 15 + skill < 20 + } + } + add_to_variable = { + ROOT.wz_sl = -100000 + } + add_to_variable = { + ROOT.xzmf_sl = -7 + } + add_to_variable = { + ROOT.zs_sl = -200 + } randomize_temp_variable = { var = chenggonggailv distribution = uniform @@ -566,7 +690,7 @@ scripted_gui = { if = { limit = { check_variable = { - chenggonggailv > 40 + chenggonggailv > 50 } } @@ -578,7 +702,7 @@ scripted_gui = { PREV = { unit_leader_event = getzhg_event.2501 } } - } + } } az_single_leader_xiujia_click = { diff --git a/src/common/scripted_localisation/az_guis_scripted_localisation.txt b/src/common/scripted_localisation/az_guis_scripted_localisation.txt index 7223e07..afb0d02 100755 --- a/src/common/scripted_localisation/az_guis_scripted_localisation.txt +++ b/src/common/scripted_localisation/az_guis_scripted_localisation.txt @@ -781,17 +781,16 @@ defined_text = { trigger = { skill > 8 skill < 10 - is_navy_leader = NO } localization_key = qianghua_cost_tooltip_lv9 } - text = { - trigger = { - skill > 8 - is_navy_leader = yes - } - localization_key = qianghua_cost_tooltip_lv9_haijun - } + #text = { + # trigger = { + # skill > 8 + # is_navy_leader = yes + # } + # localization_key = qianghua_cost_tooltip_lv9_haijun + #} text = { trigger = { skill > 9 @@ -809,9 +808,44 @@ defined_text = { text = { trigger = { skill > 11 + skill < 13 } localization_key = qianghua_cost_tooltip_lv12 } + text = { + trigger = { + skill > 12 + skill < 14 + } + localization_key = qianghua_cost_tooltip_lv13 + } + text = { + trigger = { + skill > 13 + skill < 15 + } + localization_key = qianghua_cost_tooltip_lv14 + } + text = { + trigger = { + skill > 14 + skill < 16 + } + localization_key = qianghua_cost_tooltip_lv15 + } + text = { + trigger = { + skill > 15 + skill < 20 + } + localization_key = qianghua_cost_tooltip_lv16 + } + text = { + trigger = { + skill > 19 + } + localization_key = qianghua_cost_tooltip_lv20 + } } defined_text = { diff --git a/src/common/scripted_triggers/az_scripted_triggers.txt b/src/common/scripted_triggers/az_scripted_triggers.txt index 8a4912d..45b6d49 100755 --- a/src/common/scripted_triggers/az_scripted_triggers.txt +++ b/src/common/scripted_triggers/az_scripted_triggers.txt @@ -17,6 +17,8 @@ shijianniangguojia_trigger = { if = { limit = { has_global_flag = MOD_azurlane_tianjiangjianniang } + custom_trigger_tooltip = { + tooltip = shijianniangguojia_trigger_tooltip OR = { tag = BYG tag = HUJ @@ -32,6 +34,7 @@ shijianniangguojia_trigger = { tag = DH1 is_ai = NO } + } } if = { limit = { has_global_flag = MOD_azurlane_sairenzhizai } diff --git a/src/common/technologies/az_tech.txt b/src/common/technologies/az_tech.txt index 41adc61..42e5812 100755 --- a/src/common/technologies/az_tech.txt +++ b/src/common/technologies/az_tech.txt @@ -93,12 +93,10 @@ technologies = { always = no } - start_year = 1936 - - show_effect_as_desc = no + army_org_factor = 0.5 category_all_armor = { - max_strength = 3 + max_strength = 4 } category_all_infantry = { max_strength = 10 @@ -116,18 +114,18 @@ technologies = { always = no } - start_year = 1936 - show_effect_as_desc = yes + army_org_factor = 1 + category_all_armor = { max_strength = 4 } category_all_infantry = { - max_strength = 11 + max_strength = 15 } category_artillery = { - max_strength = 4 + max_strength = 2.4 } } diff --git a/src/common/technologies/chy_tech.txt b/src/common/technologies/chy_tech.txt deleted file mode 100755 index 8d45c6f..0000000 --- a/src/common/technologies/chy_tech.txt +++ /dev/null @@ -1,8 +0,0 @@ -#technologies = { -# #重樱特殊科技 -# mijibubin_chy = { -# infantry = { -# combat_width = -0.6 -# } -# } -#} \ No newline at end of file diff --git a/src/events/AZ_tianjiangEvents.txt b/src/events/AZ_tianjiangEvents.txt index 6350fae..3f8cc24 100755 --- a/src/events/AZ_tianjiangEvents.txt +++ b/src/events/AZ_tianjiangEvents.txt @@ -45,7 +45,7 @@ news_event = { id = az_tianjiang.3 title = az_tianjiang.3.t desc = az_tianjiang.3.d - picture = GFX_az_tx1 + picture = GFX_az_tix4 is_triggered_only = yes major = yes option = { @@ -71,7 +71,7 @@ country_event = { picture = GFX_report_event_generic_read_write is_triggered_only = yes option = { - name = "谁敢说奥地利不是铁血的一部分?!" + name = "很好" annex_country = { target = AUS transfer_troops = yes } add_political_power = 150 add_stability = 0.2 @@ -740,7 +740,7 @@ news_event = { id = az_tianjiang.20 title = az_tianjiang.20.t desc = az_tianjiang.20.d - picture = GFX_az_tix4 + picture = GFX_az_tix6 is_triggered_only = yes major = yes option = { @@ -1100,7 +1100,7 @@ news_event = { id = az_tianjiang.35 title = az_tianjiang.35.t desc = az_tianjiang.35.d - picture = GFX_az_bfl1 + picture = GFX_az_bfl2 is_triggered_only = yes major = yes option = { @@ -2309,7 +2309,7 @@ news_event = { id = az_tianjiang.74 title = az_tianjiang.74.t desc = az_tianjiang.74.d - picture = GFX_az_blhxyq + picture = GFX_az_sr2 is_triggered_only = yes major = yes option = { @@ -2338,7 +2338,7 @@ news_event = { id = az_tianjiang.75 title ="基辅陷落" desc = az_tianjiang.75.d - picture = GFX_az_tx1 + picture = GFX_az_tix5 major = yes trigger = { 202 = { is_controlled_by = TIX } @@ -2378,7 +2378,7 @@ news_event = { id = az_tianjiang.76 title ="列宁格勒的陷落" desc = az_tianjiang.76.d - picture = GFX_az_tx1 + picture = GFX_az_tix6 major = yes trigger = { 195 = { is_controlled_by = TIX } @@ -2458,7 +2458,7 @@ news_event = { id = az_tianjiang.78 title ="巴黎的解放" desc = az_tianjiang.78.d - picture = GFX_az_blhxyq + picture = GFX_az_yw1 major = yes trigger = { date > 1941.1.1 @@ -2571,7 +2571,7 @@ news_event = { title = "撒丁占领区的崩溃" desc = az_tianjiang.80.d major = yes - picture = GFX_az_sad1 + picture = GFX_az_tix7 is_triggered_only = yes option = { name = "这下全完了...." @@ -2842,7 +2842,7 @@ news_event = { title = "帝国的毁灭" desc = az_tianjiang.89.d major = yes - picture = GFX_az_blhxyq + picture = GFX_az_txbisimai is_triggered_only = yes option = { name = "战争结束了" @@ -8143,29 +8143,29 @@ country_event = { } } -#country_event = { -# id = az_tianjiang.230 -# title = "释放埃及" -# desc = "测试皇家AI保卫北非"#由于P社AI改进,此事件作废 -# picture = GFX_aze_diannao -# trigger = { -# date > 1936.1.3 -# tag = HUJ -# is_ai = yes -# } -# fire_only_once = yes -# option = { -# name = "OK" -# release_on_controlled = EGY -# set_autonomy = { -# target = EGY -# autonomy_state = autonomy_integrated_puppet -# } -# ai_chance = { -# factor = 100 -# } -# } -#} +country_event = { + id = az_tianjiang.230 + title = "释放埃及" + desc = "测试皇家AI保卫北非"#由于P社AI改进,此事件作废 #不好孩子们,皇家又开始不守北非了,重新启用此事件 + picture = GFX_aze_diannao + trigger = { + date > 1936.1.3 + tag = HUJ + is_ai = yes + } + fire_only_once = yes + option = { + name = "OK" + release_on_controlled = EGY + set_autonomy = { + target = EGY + autonomy_state = autonomy_integrated_puppet + } + ai_chance = { + factor = 100 + } + } +} country_event = { id = az_tianjiang.231 diff --git a/src/events/DOH_shijian.txt b/src/events/DOH_shijian.txt index e916cf5..d7b4699 100755 --- a/src/events/DOH_shijian.txt +++ b/src/events/DOH_shijian.txt @@ -957,6 +957,7 @@ country_event = { fire_only_once = yes trigger = { tag = DOH + has_war_with = CHY NOT = { controls_state = 608 } has_global_flag = MOD_azurlane_tianjiangjianniang } @@ -977,6 +978,7 @@ country_event = { fire_only_once = yes trigger = { tag = DOH + has_war_with = CHY NOT = { controls_state = 613 } has_global_flag = MOD_azurlane_tianjiangjianniang } @@ -997,6 +999,7 @@ country_event = { fire_only_once = yes trigger = { tag = DOH + has_war_with = CHY NOT = { controls_state = 597 } has_global_flag = MOD_azurlane_tianjiangjianniang } @@ -1017,6 +1020,7 @@ country_event = { fire_only_once = yes trigger = { tag = DOH + has_war_with = CHY NOT = { controls_state = 620 } has_global_flag = MOD_azurlane_tianjiangjianniang } @@ -1051,6 +1055,7 @@ country_event = { fire_only_once = yes trigger = { tag = DOH + has_war_with = CHY NOT = { controls_state = 744 } has_global_flag = MOD_azurlane_tianjiangjianniang } @@ -1102,6 +1107,7 @@ country_event = { fire_only_once = yes trigger = { tag = DOH + has_war_with = CHY NOT = { controls_state = 605 } has_global_flag = MOD_azurlane_tianjiangjianniang } diff --git a/src/events/azcollege.txt b/src/events/azcollege.txt index 696dc02..d127279 100755 --- a/src/events/azcollege.txt +++ b/src/events/azcollege.txt @@ -14,11 +14,9 @@ country_event = { ai_chance = { factor = 4 } - add_doctrine_cost_reduction = { - name = "如期完成" - cost_reduction = 0.2 - uses = 1 - category = naval_doctrine + add_timed_idea = { + days = 60 + idea = az_hjll_1 } } } @@ -36,11 +34,9 @@ country_event = { ai_chance = { factor = 4 } - add_doctrine_cost_reduction = { - name = "科研成功" - cost_reduction = 0.4 - uses = 2 - category = naval_doctrine + add_timed_idea = { + days = 60 + idea = az_hjll_2 } } } @@ -58,11 +54,9 @@ country_event = { ai_chance = { factor = 4 } - add_tech_bonus = { - name = "科研项目重大突破" - bonus = 0.7 - uses = 3 - category = naval_doctrine + add_timed_idea = { + days = 90 + idea = az_hjll_3 } } } diff --git a/src/events/azspnews.txt b/src/events/azspnews.txt index 7963cb9..68fbef6 100755 --- a/src/events/azspnews.txt +++ b/src/events/azspnews.txt @@ -3,7 +3,7 @@ news_event = { id = azspnews.38 title = "华盛顿沦陷" desc = azspnews.38.d - picture = GFX_az_tix4 + picture = GFX_az_tix6 major = yes trigger = { 361 = { is_controlled_by = TIX } @@ -81,7 +81,7 @@ news_event = { id = azspnews.36 title ="东京陷落" desc = azspnews.36.d - picture = GFX_az_bfl1 + picture = GFX_az_bfl2 major = yes trigger = { 282 = { is_controlled_by = BFL } @@ -159,7 +159,7 @@ news_event = { id = azspnews.34 title ="罗马陷落" desc = azspnews.34.d - picture = GFX_az_bfl1 + picture = GFX_az_bfl3 major = yes trigger = { 2 = { is_controlled_by = BFL } @@ -276,7 +276,7 @@ news_event = { id = azspnews.31 title ="东京陷落" desc = azspnews.31.d - picture = GFX_az_dh1 + picture = GFX_az_cychangmen2 major = yes trigger = { 282 = { is_controlled_by = DOH } @@ -315,7 +315,7 @@ news_event = { id = azspnews.30 title ="南京沦陷" desc = azspnews.30.d - picture = GFX_az_cy1 + picture = GFX_az_cy3 major = yes trigger = { 613 = { is_controlled_by = CHY } @@ -354,7 +354,7 @@ news_event = { id = azspnews.29 title ="鸢尾国爆发内战!" desc = "长期的政府混乱使鸢尾的政局十分动荡,内战一触即发。由于黎塞留的错误决定,让巴尔掌控了部分军队的控制权,并宣布发动内战。" - picture = GFX_az_yw2 + picture = GFX_az_yw4 is_triggered_only = yes option = { @@ -452,7 +452,7 @@ news_event = { id = azspnews.26 title ="攻克柏林" desc = azspnews.26.d - picture = GFX_az_bfl1 + picture = GFX_az_bfl3 major = yes trigger = { 64 = { is_controlled_by = BFL } @@ -608,7 +608,7 @@ news_event = { id = azspnews.22 title ="伦敦沦陷" desc = azspnews.22.d - picture = GFX_az_tix3 + picture = GFX_az_tix5 major = yes trigger = { 126 = { is_controlled_by = TIX } @@ -725,7 +725,7 @@ news_event = { id = azspnews.19 title ="鸢尾教廷的分裂" desc = azspnews.19.d - picture = GFX_az_yw1 + picture = GFX_az_yw4 major = yes is_triggered_only = yes diff --git a/src/gfx/event_pictures/az_bfl2.png b/src/gfx/event_pictures/az_bfl2.png new file mode 100755 index 0000000..c79a199 Binary files /dev/null and b/src/gfx/event_pictures/az_bfl2.png differ diff --git a/src/gfx/event_pictures/az_bfl3.png b/src/gfx/event_pictures/az_bfl3.png new file mode 100755 index 0000000..b84cb67 Binary files /dev/null and b/src/gfx/event_pictures/az_bfl3.png differ diff --git a/src/gfx/event_pictures/az_cy3.png b/src/gfx/event_pictures/az_cy3.png new file mode 100755 index 0000000..82656bf Binary files /dev/null and b/src/gfx/event_pictures/az_cy3.png differ diff --git a/src/gfx/event_pictures/az_tix5.png b/src/gfx/event_pictures/az_tix5.png new file mode 100755 index 0000000..edc6b49 Binary files /dev/null and b/src/gfx/event_pictures/az_tix5.png differ diff --git a/src/gfx/event_pictures/az_tix6.png b/src/gfx/event_pictures/az_tix6.png new file mode 100755 index 0000000..233e6c5 Binary files /dev/null and b/src/gfx/event_pictures/az_tix6.png differ diff --git a/src/gfx/event_pictures/az_tix7.png b/src/gfx/event_pictures/az_tix7.png new file mode 100755 index 0000000..06e5ca3 Binary files /dev/null and b/src/gfx/event_pictures/az_tix7.png differ diff --git a/src/gfx/event_pictures/az_yw4.png b/src/gfx/event_pictures/az_yw4.png new file mode 100755 index 0000000..ca72885 Binary files /dev/null and b/src/gfx/event_pictures/az_yw4.png differ diff --git a/src/gfx/interface/air_superiority_bg.dds b/src/gfx/interface/air_superiority_bg.dds new file mode 100755 index 0000000..81e2dbf Binary files /dev/null and b/src/gfx/interface/air_superiority_bg.dds differ diff --git a/src/gfx/interface/base_strike_bg.dds b/src/gfx/interface/base_strike_bg.dds index 419ef0e..602514c 100755 Binary files a/src/gfx/interface/base_strike_bg.dds and b/src/gfx/interface/base_strike_bg.dds differ diff --git a/src/gfx/interface/battlefield_destruction_bg.dds b/src/gfx/interface/battlefield_destruction_bg.dds index 2ac438c..68e3898 100755 Binary files a/src/gfx/interface/battlefield_destruction_bg.dds and b/src/gfx/interface/battlefield_destruction_bg.dds differ diff --git a/src/gfx/interface/fleet_in_being_bg.dds b/src/gfx/interface/fleet_in_being_bg.dds index 7e11374..2286c4e 100755 Binary files a/src/gfx/interface/fleet_in_being_bg.dds and b/src/gfx/interface/fleet_in_being_bg.dds differ diff --git a/src/gfx/interface/grand_battleplan_bg.dds b/src/gfx/interface/grand_battleplan_bg.dds index c7be446..a98ff36 100755 Binary files a/src/gfx/interface/grand_battleplan_bg.dds and b/src/gfx/interface/grand_battleplan_bg.dds differ diff --git a/src/gfx/interface/mass_assault_bg.dds b/src/gfx/interface/mass_assault_bg.dds deleted file mode 100755 index 7719333..0000000 Binary files a/src/gfx/interface/mass_assault_bg.dds and /dev/null differ diff --git a/src/gfx/interface/mob_warfare_bg.dds b/src/gfx/interface/mob_warfare_bg.dds index 41d262b..641aa34 100755 Binary files a/src/gfx/interface/mob_warfare_bg.dds and b/src/gfx/interface/mob_warfare_bg.dds differ diff --git a/src/gfx/interface/officer_corp/special_forces/doctrine_special_forces_rangers_bg.dds b/src/gfx/interface/officer_corp/special_forces/doctrine_special_forces_rangers_bg.dds new file mode 100755 index 0000000..acec947 Binary files /dev/null and b/src/gfx/interface/officer_corp/special_forces/doctrine_special_forces_rangers_bg.dds differ diff --git a/src/gfx/interface/operational_destruction_bg.dds b/src/gfx/interface/operational_destruction_bg.dds index 06c3cc7..7a9f033 100755 Binary files a/src/gfx/interface/operational_destruction_bg.dds and b/src/gfx/interface/operational_destruction_bg.dds differ diff --git a/src/gfx/interface/screens_bg.dds b/src/gfx/interface/screens_bg.dds new file mode 100755 index 0000000..2062c5f Binary files /dev/null and b/src/gfx/interface/screens_bg.dds differ diff --git a/src/gfx/interface/sup_firepower_bg.dds b/src/gfx/interface/sup_firepower_bg.dds index 5bfa802..5003a1f 100755 Binary files a/src/gfx/interface/sup_firepower_bg.dds and b/src/gfx/interface/sup_firepower_bg.dds differ diff --git a/src/gfx/interface/tac_operation_bg.dds b/src/gfx/interface/tac_operation_bg.dds new file mode 100755 index 0000000..0289d9a Binary files /dev/null and b/src/gfx/interface/tac_operation_bg.dds differ diff --git a/src/gfx/interface/trade_interdiction_bg.dds b/src/gfx/interface/trade_interdiction_bg.dds index 60fd010..2b369c0 100755 Binary files a/src/gfx/interface/trade_interdiction_bg.dds and b/src/gfx/interface/trade_interdiction_bg.dds differ diff --git a/src/gfx/interface/wonderweapons_bg.dds b/src/gfx/interface/wonderweapons_bg.dds index 71be2d9..6dfce04 100755 Binary files a/src/gfx/interface/wonderweapons_bg.dds and b/src/gfx/interface/wonderweapons_bg.dds differ diff --git a/src/history/countries/BFL - Beifanglianhe.txt b/src/history/countries/BFL - Beifanglianhe.txt index 0176458..0239c2b 100755 --- a/src/history/countries/BFL - Beifanglianhe.txt +++ b/src/history/countries/BFL - Beifanglianhe.txt @@ -14,6 +14,7 @@ set_popularities = { set_grand_doctrine = mass_assault set_grand_doctrine = new_fleet_in_being +set_grand_doctrine = new_strategic_destruction set_autonomy = { target = MON diff --git a/src/history/countries/BYG - Baiying.txt b/src/history/countries/BYG - Baiying.txt index 3622e39..4318c14 100755 --- a/src/history/countries/BYG - Baiying.txt +++ b/src/history/countries/BYG - Baiying.txt @@ -7,6 +7,7 @@ starting_train_buffer = 5 set_grand_doctrine = superior_firepower set_grand_doctrine = new_base_strike +set_grand_doctrine = new_strategic_destruction create_faction_from_template = faction_template_byg_commonwealth diff --git a/src/history/countries/HUJ - Huangjia.txt b/src/history/countries/HUJ - Huangjia.txt index 90fd648..c8bf3be 100755 --- a/src/history/countries/HUJ - Huangjia.txt +++ b/src/history/countries/HUJ - Huangjia.txt @@ -112,6 +112,7 @@ set_technology = { set_grand_doctrine = grand_battleplan set_grand_doctrine = new_fleet_in_being +set_grand_doctrine = new_operational_integrity if = { limit = { diff --git a/src/history/countries/SAD - Sading.txt b/src/history/countries/SAD - Sading.txt index 4ba16b4..ebb1b24 100755 --- a/src/history/countries/SAD - Sading.txt +++ b/src/history/countries/SAD - Sading.txt @@ -17,6 +17,7 @@ if = { set_grand_doctrine = grand_battleplan set_grand_doctrine = new_fleet_in_being +set_grand_doctrine = new_operational_integrity set_variable = { var = jz_sl value = 1 } set_variable = { var = xzmf_sl value = 2 } diff --git a/src/history/units/CHY_1936.txt b/src/history/units/CHY_1936.txt index 1b7c4ee..6b9a413 100755 --- a/src/history/units/CHY_1936.txt +++ b/src/history/units/CHY_1936.txt @@ -383,7 +383,7 @@ units = { is_name_ordered = yes name_order = 14 } - location = 6806 + location = 898 division_template = "步兵师团" # Hohei Shidan start_experience_factor = 0.3 } diff --git a/src/interface/az_eventpictures.gfx b/src/interface/az_eventpictures.gfx index d210309..6460c75 100755 --- a/src/interface/az_eventpictures.gfx +++ b/src/interface/az_eventpictures.gfx @@ -11,10 +11,14 @@ spriteTypes = { name = "GFX_aze_cy1" texturefile = "gfx/event_pictures/aze_cy1.png" } - # spriteType = { - # name = "GFX_aze_cy2" - # texturefile = "gfx/event_pictures/aze_cy2.png" - # } + spriteType = { + name = "GFX_az_cy2" + texturefile = "gfx/event_pictures/az_cy2.png" + } + spriteType = { + name = "GFX_az_cy3" + texturefile = "gfx/event_pictures/az_cy3.png" + } # spriteType = { # name = "GFX_aze_cy2" # texturefile = "gfx/event_pictures/aze_cy2.png" @@ -351,6 +355,30 @@ spriteTypes = { name = "GFX_az_yw3" texturefile = "gfx/event_pictures/az_yw3.png" } + spriteType = { + name = "GFX_az_yw4" + texturefile = "gfx/event_pictures/az_yw4.png" + } + spriteType = { + name = "GFX_az_bfl2" + texturefile = "gfx/event_pictures/az_bfl2.png" + } + spriteType = { + name = "GFX_az_bfl3" + texturefile = "gfx/event_pictures/az_bfl3.png" + } + spriteType = { + name = "GFX_az_tix5" + texturefile = "gfx/event_pictures/az_tix5.png" + } + spriteType = { + name = "GFX_az_tix6" + texturefile = "gfx/event_pictures/az_tix6.png" + } + spriteType = { + name = "GFX_az_tix7" + texturefile = "gfx/event_pictures/az_tix7.png" + } spriteType = { name = "GFX_az_buli" texturefile = "gfx/event_pictures/az_buli.png" diff --git a/src/localisation/simp_chinese/az_decisions_l_simp_chinese.yml b/src/localisation/simp_chinese/az_decisions_l_simp_chinese.yml index 798801e..4c01e91 100755 --- a/src/localisation/simp_chinese/az_decisions_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/az_decisions_l_simp_chinese.yml @@ -286,6 +286,8 @@ jiaoyuluolijianniang_desc:"我们的教练将继续教育萝莉舰娘。" mf_meitan:"煤炭转化" mf_meitan_desc:"使用大量魔方立刻制造出大量煤炭。" + mf_jingtongdu:"快速学习" + mf_jingtongdu_desc:"通过心智魔方的强化,快速学习陆军理论知识。" diff --git a/src/localisation/simp_chinese/az_misc_l_simp_chinese.yml b/src/localisation/simp_chinese/az_misc_l_simp_chinese.yml index bb14bee..b68f624 100755 --- a/src/localisation/simp_chinese/az_misc_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/az_misc_l_simp_chinese.yml @@ -1,6 +1,6 @@ l_simp_chinese: - gengxinshuoming_title2:0"2.13更新内容" - gengxinshuoming_text2:"1.尚未确认适配完成,暂时不推荐游玩。\n\n在正式开始游戏前,请确保已经开启了50建筑槽MOD,这会对MOD的游戏流程与AI行为有极大影响。\nMOD内95%的长文案由AI生成,§C所有文案当做同人小说来看就好§!!MOD交流群539127559\n最下方的决议里有路线指南和舰娘羁绊事件。出现成就条件满足但无法去完成的情况请打开历史国策。" + gengxinshuoming_title2:0"2.14更新内容" + gengxinshuoming_text2:"1.初步适配完成,疯狂AI暂未测试,部分系统改动较多,具体改动内容请看创意工坊改动说明。\n\n在正式开始游戏前,请确保已经开启了50建筑槽MOD,这会对MOD的游戏流程与AI行为有极大影响。\nMOD内95%的长文案由AI生成,§C所有文案当做同人小说来看就好§!!MOD交流群539127559\n最下方的决议里有路线指南和舰娘羁绊事件。出现成就条件满足但无法去完成的情况请打开历史国策。" az_openstart_button_tooltip:0"打开碧蓝MOD开始界面" dancingxiaotiancheng_tooltip:0"§RDancing~§! §CDancing~§! §YNon Stop§! §Bmy§! §GDancing~§!" az_start_mainwindow_stratgame_btn_tooltip:0"§Y◆注意◆§!确认你已完成所有MOD设定,点击开始游戏后将§R无法更改§!任何设定§Y◆注意◆§!" @@ -356,4 +356,7 @@ modifier_production_cost_air_base_factor: "§Y空军基地§!建造花费" modifier_production_cost_air_base_factor_desc: "改变空军基地建造花费" modifier_production_cost_naval_base_factor: "§Y海军基地§!建造花费" modifier_production_cost_naval_base_factor_desc: "改变海军基地建造花费" -az_aimeitanzuobi: "AI作弊" \ No newline at end of file +az_aimeitanzuobi: "AI作弊" +modifier_experience_gain_medium_armor_combat_factor: "战斗中获取的中坦经验:" +modifier_experience_gain_heavy_armor_combat_factor: "战斗中获取的重坦经验:" +shijianniangguojia_trigger_tooltip: "§Y[ROOT.getname]§!是舰娘国家" \ No newline at end of file diff --git a/src/localisation/simp_chinese/az_xmp_gui_l_simp_chinese.yml b/src/localisation/simp_chinese/az_xmp_gui_l_simp_chinese.yml index 1a59a31..46e02bc 100755 --- a/src/localisation/simp_chinese/az_xmp_gui_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/az_xmp_gui_l_simp_chinese.yml @@ -57,4 +57,5 @@ az_xmp_yonghenglihe_desc2:0"一些舰娘拥有§Y特殊剧情内容§!,在完成她的§Y特定任务§!后便可使其获得强化版的§Y专属誓约特质§!。" az_xmp_biyishuangfei_text:0"比翼双飞" az_xmp_biyishuangfei_desc:0"以优惠价格购入两枚誓约之戒,该礼包在一局游戏内只能购买一次。" - az_xmp_biyishuangfei_desc2:0"注意啦!§Y比翼双飞§!礼包在一局游戏内§C只能购买一次§!~" \ No newline at end of file + az_xmp_biyishuangfei_desc2:0"注意啦!§Y比翼双飞§!礼包在一局游戏内§C只能购买一次§!~" + az_hjll_1:"海军战术研究" \ No newline at end of file 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 438598a..985ae72 100755 --- a/src/localisation/simp_chinese/azc_YUW_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/azc_YUW_l_simp_chinese.yml @@ -2663,7 +2663,7 @@ az_tianjiang.70.d:0"从皇家那里传来了消息,铁血希望与我们停战。在北联被击败后,铁血的主力就都集中在了西线,然而我们双方势均力敌,如今战争已经持续了太久,无论是赤色中轴还是碧蓝航线,都需要一个踹息的机会。铁血表示除鸢尾和比荷卢与波兰之外,其他的交战地区将保持战前划分。虽然听起来不太公平,但鸢尾的失败也是事实,皇家拿不定注意,她们希望我们能做出准确的判断。我们是否要接受这份并不完美的和平?" tix_yuhujyihecg:0"§Y@TIX赤色中轴§! 与 §Y@HUJ碧蓝航线§! 无条件和平\n鸢尾被皇家出卖\n欧洲与非洲的战争已经停止,世界大战即将结束" az_tianjiang.74.t:0"光荣和平" - az_tianjiang.74.d:0"碧蓝航线与赤色中轴近日签署了具有历史意义的和平协议,标志着这场旷日持久的战争暂时画上句号。根据协议内容,碧蓝航线方面将做出重大让步:欧洲战场的比荷卢地区及鸢尾领土将维持现状,同时需向撒丁帝国移交非洲与中东的大片殖民地。尤为关键的是,苏伊士运河的控制权将移交铁血帝国,这一战略要地的易主必将重塑世界航运格局。\n\n颇具讽刺意味的是,此前曾有专家信誓旦旦地预言,除非出现威胁全体舰娘生存的共同敌人,否则这场战争永无宁日。如今这份和平协议的签署,无疑让这番言论沦为笑谈。然而,在这表面平静的外交胜利背后,暗流依旧涌动——没人能保证这份用妥协换来的和平能够维系多久。\n值得注意的是,作为战败方的北方联合对此反应激烈,公开谴责皇家与白鹰向铁血势力低头,她们声称迟早会发起对铁血的反攻。" + az_tianjiang.74.d:0"碧蓝航线与赤色中轴近日签署了具有历史意义的和平协议,标志着这场旷日持久的战争暂时画上句号。根据协议内容,碧蓝航线方面将做出重大让步:欧洲战场的比荷卢地区及鸢尾领土将维持现状,同时需向撒丁帝国移交非洲与中东的大片殖民地。苏伊士运河的控制权将移交铁血国,这一战略要地的易主必将重塑世界航运格局。\n颇具讽刺意味的是,此前曾有专家信誓旦旦地预言,除非出现威胁全体舰娘生存的共同敌人,否则这场战争永无宁日。如今这份和平协议的签署,无疑让这番言论沦为笑谈。值得注意的是,作为战败方的北方联合对此反应激烈,公开谴责皇家与白鹰向铁血势力低头,她们声称迟早会发起对铁血的反攻。" az_tianjiang.74.a:0"我们时代的和平来了" az_tianjiang.74.b:0"这和平能持续多久?" az_tianjiang.75.d:0"铁血军队已经攻占基辅,这座北联重要城市的陷落无疑是一次重大打击。然而,胜利的喜悦还未散去,占领军就尝到了苦果——北联内务部队事先在赫列夏季克大街沿线埋设的数千枚地雷接连爆炸,将本就满目疮痍的城市进一步化为废墟。\n\n眼下,铁血军队正继续向东推进,但她们能否维持这样的进攻势头仍是个未知数。基辅的惨状预示着,北联显然打算让侵略者为每一寸土地付出沉重代价。" diff --git a/src/localisation/simp_chinese/azevent_l_simp_chinese.yml b/src/localisation/simp_chinese/azevent_l_simp_chinese.yml index 1bdc1cb..fbcb5d5 100755 --- a/src/localisation/simp_chinese/azevent_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/azevent_l_simp_chinese.yml @@ -564,12 +564,17 @@ qianghua_cost_tooltip_lv5:0"需要§Y10000§!£GFX_small_wz!、§C1§!£GFX_small_xzmf!升级到§Y6§!级" qianghua_cost_tooltip_lv6:0"需要§Y15000§!£GFX_small_wz!、§C1§!£GFX_small_xzmf!升级到§Y7§!级" qianghua_cost_tooltip_lv7:0"需要§Y20000§!£GFX_small_wz!、§C2§!£GFX_small_xzmf!升级到§Y8§!级" - qianghua_cost_tooltip_lv8:0"需要§Y30000§!£GFX_small_wz!、§C2§!£GFX_small_xzmf!升级到§Y9§!级(失败概率:§R20%§!)" - qianghua_cost_tooltip_lv9:0"需要§Y35000§!£GFX_small_wz!、§C3§!£GFX_small_xzmf!、§R20§!£GFX_small_zs!升级到§Y10§!级(失败概率:§R25%§!)" + qianghua_cost_tooltip_lv8:0"需要§Y30000§!£GFX_small_wz!、§C2§!£GFX_small_xzmf!升级到§Y9§!级" + qianghua_cost_tooltip_lv9:0"需要§Y35000§!£GFX_small_wz!、§C3§!£GFX_small_xzmf!、§R20§!£GFX_small_zs!升级到§Y10§!级" qianghua_cost_tooltip_lv9_haijun:0"永远滴神!~她已经满级啦" - qianghua_cost_tooltip_lv10:0"需要§Y40000§!£GFX_small_wz!、§C3§!£GFX_small_xzmf!、§R60§!£GFX_small_zs!升级到§Y11§!级(失败概率:§R30%§!)" - qianghua_cost_tooltip_lv11:0"需要§Y50000§!£GFX_small_wz!、§C4§!£GFX_small_xzmf!、§R100§!£GFX_small_zs!升级到§Y12§!级(失败概率:§R40%§!)" - qianghua_cost_tooltip_lv12:0"永远滴神!~她已经满级啦" + qianghua_cost_tooltip_lv10:0"需要§Y40000§!£GFX_small_wz!、§C3§!£GFX_small_xzmf!、§R60§!£GFX_small_zs!升级到§Y11§!级" + qianghua_cost_tooltip_lv11:0"需要§Y50000§!£GFX_small_wz!、§C4§!£GFX_small_xzmf!、§R100§!£GFX_small_zs!升级到§Y12§!级" + qianghua_cost_tooltip_lv12:0"需要§Y60000§!£GFX_small_wz!、§C4§!£GFX_small_xzmf!、§R100§!£GFX_small_zs!升级到§Y13§!级" + qianghua_cost_tooltip_lv13:0"需要§Y70000§!£GFX_small_wz!、§C4§!£GFX_small_xzmf!、§R120§!£GFX_small_zs!升级到§Y14§!级" + qianghua_cost_tooltip_lv14:0"需要§Y80000§!£GFX_small_wz!、§C5§!£GFX_small_xzmf!、§R120§!£GFX_small_zs!升级到§Y15§!级" + qianghua_cost_tooltip_lv15:0"需要§Y90000§!£GFX_small_wz!、§C6§!£GFX_small_xzmf!、§R150§!£GFX_small_zs!升级到§Y16§!级" + qianghua_cost_tooltip_lv16:0"需要§Y100000§!£GFX_small_wz!、§C7§!£GFX_small_xzmf!、§R200§!£GFX_small_zs!升级到§Y下一个§!等级(失败概率50%)" + qianghua_cost_tooltip_lv20:0"永远滴神!~她已经满级啦" az_debug_decision:"[?jianniangname]2[?THIS.jianniangname]" getzhg_event_gerentezhi_tt:0"获得一个§C随机§!的§Y个人特质§!" getzhg_event_xidetezhi_tt:0"获得一个§C随机§!的§O习得特质§!" diff --git a/src/localisation/simp_chinese/aznews_l_simp_chinese.yml b/src/localisation/simp_chinese/aznews_l_simp_chinese.yml index 067d328..3fee732 100755 --- a/src/localisation/simp_chinese/aznews_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/aznews_l_simp_chinese.yml @@ -188,5 +188,5 @@ azspnews.34.d:"“永恒之城”罗马已经落入了北联先头部队之手。撒丁军队已经撤离了罗马,北联军队在城市中开始处理一些零星的抵抗。最具历史意义的地标建筑只受到了轻微的损伤,但也有些矛盾的报告,比如万神殿就遭到了机枪的扫射。" azspnews.35.d:"北联军队的继续前进已成必然之势,根据报告显示鸢尾的首都已经陷落,鸢尾共产党人帮助了北联军队进入了这座城市,并参加了一部分对于鸢尾陆军的追击行动。\n\n传单已经遍布城市,向巴黎居民宣布他们已经被‘从资产阶级的压迫之下解放出来’。" azspnews.36.d:"北联军队已经在东京聚集,整个城市都发生着惨烈的战斗。北联军队现已经控制大部分的城区,但是东部地区的大火仍在肆虐。\n\n在战斗转向皇居的时候,帝国卫队的成员通过肉搏战将北联逐出了皇居。这座宫殿最终是由一队VDV伞兵进行突袭攻陷,她们在逐个房间进行了战斗最终拿下了这座宫殿。她们没有抓到任何俘虏,但据信,重樱领导层已经在北联攻势开始前撤离了东京。" - azspnews.37.d:"经过数小时与非正规军的激战后,铁血先锋部队现已夺取了纽约的控制权。\n\n装甲掷弹兵在摧毁掉第五大道上的简易反坦克桩后,开始逐个街区地清理曼哈顿城区当中负隅顽抗的敌人。\n\n激战中,自由女神像的头部不幸被一发炮弹炸断,至于是流弹横祸还是有人故意毁坏目前还不得而知。\n\n而在城区东部,大火已经燃烧了几天几夜,整个城市就算在夜晚也亮如白日,火红的天空映衬着黑暗中无头的自由女神像,宛如一幅地狱的画卷。" - azspnews.38.d:"华盛顿特区的战斗于今天落下帷幕,铁血部队沿着波托马克河消灭了城中最后的抵抗力量。\n\n城市被浓厚的烟雾笼罩,据说在最终撤退前,CIA特工烧掉了许多机要文件。在与特勤局人员短暂的交火后,武装党卫军占领了白宫,而联邦总统在几天前就已经撤离此地。\n\n白鹰首都的陷落已经展现了铁血战争机器的可怕威力,后者已然势不可挡。" \ No newline at end of file + azspnews.37.d:"经过数小时与非正规军的激战后,铁血先锋部队现已夺取了纽约的控制权。\n装甲掷弹兵在摧毁掉第五大道上的简易反坦克桩后,开始逐个街区地清理曼哈顿城区当中负隅顽抗的敌人。\n激战中,自由女神像的头部不幸被一发炮弹炸断,至于是流弹横祸还是有人故意毁坏目前还不得而知。\n而在城区东部,大火已经燃烧了几天几夜,整个城市就算在夜晚也亮如白日,火红的天空映衬着黑暗中无头的自由女神像,宛如一幅地狱的画卷。" + azspnews.38.d:"华盛顿特区的战斗于今天落下帷幕,铁血部队沿着波托马克河消灭了城中最后的抵抗力量。\n城市被浓厚的烟雾笼罩,据说在最终撤退前,CIA特工烧掉了许多机要文件。在与特勤局人员短暂的交火后,武装党卫军占领了白宫,而联邦总统在几天前就已经撤离此地。\n白鹰首都的陷落已经展现了铁血战争机器的可怕威力,后者已然势不可挡。" \ No newline at end of file diff --git a/src/localisation/simp_chinese/liluntupodecisions_l_simp_chinese.yml b/src/localisation/simp_chinese/liluntupodecisions_l_simp_chinese.yml index 99cacae..541643d 100755 --- a/src/localisation/simp_chinese/liluntupodecisions_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/liluntupodecisions_l_simp_chinese.yml @@ -20,11 +20,136 @@ liluntupo_airexp_100_blocked:0 "需要§R100§!£air_experience!" liluntupo_airexp_100_tooltip:0 "花费§H100§!£air_experience!" TY_lujunliluntupo_effect_tooltip:0"允许通过§Y理论突破§!决议解锁第二条陆军学说路线" - TY_haijunliluntupo_effect_tooltip:0"允许通过§Y理论突破§!决议解锁第二条海军学说路线" - TY_kongjunliluntupo_effect_tooltip:0"允许通过§Y理论突破§!决议解锁第二条空军学说路线" - TY_lujunliluntupo_new_effect_tooltip:"达成陆军§Y理论突破§!,获得高额§Y陆军HP增益§!" - - + TY_haijunliluntupo_effect_tooltip:0"达成海军§Y理论突破§!,根据所选学说获得§Y特定增益§!" + TY_kongjunliluntupo_effect_tooltip:0"达成空军§Y理论突破§!,根据所选学说获得§Y特定增益§!" + TY_lujunliluntupo_new_effect_tooltip:"达成陆军§Y理论突破§!,获得§Y陆军HP§!与§Y组织度§!增益" + az_lltp_zlph:"理论突破:战略破坏" + az_lltp_zczy:"理论突破:战场支援" + az_lltp_lxzz:"理论突破:连续作战" + az_lltp_czjd:"理论突破:存在舰队" + az_lltp_myfs:"理论突破:贸易封锁" + az_lltp_jddj:"理论突破:基地打击" +###########新学说分支################### +AZ_SUBDOCTRINE_LARGE_UNIT_TACTICS: "舰娘人海战术" +large_unit_tactics_BFL_wide_trench_networks: "战壕构筑" +large_unit_tactics_BFL_flexible_division_structures: "灵活的师级编制" +large_unit_tactics_BFL_unit_knowledge_sharing: "单位情报共享" +large_unit_tactics_BFL_large_front_offensive: "人海压制" +large_unit_tactics_BFL_motorization_initiative: "摩托化计划" +AZ_SUBDOCTRINE_ASSAULT_INFANTRY: "舰娘突击战术" +assault_infantry_BYG_BYG1: "低梯队火力支援" +assault_infantry_BYG_BYG2: "自主营级火力支援" +assault_infantry_BYG_BYG3: "步兵前沿观察员训练" +assault_infantry_BYG_BYG4: "侦查回撤" +assault_infantry_BYG_BYG5: "突击分队" +AZ_SUBDOCTRINE_DEFENSIVE_POSTURES: "舰娘防御战术" +defensive_postures_HUJ_HUJ1: "临时战斗阵地" +defensive_postures_HUJ_HUJ2: "前哨线" +defensive_postures_HUJ_HUJ3: "支撑点网络" +defensive_postures_HUJ_HUJ4: "交叉火力网" +defensive_postures_HUJ_HUJ5: "步兵工兵训练" +AZ_SUBDOCTRINE_MOBILE_INFANTRY: "舰娘机动步兵" +mobile_infantry_TIX_TIX1: "现代化骑兵" +mobile_infantry_TIX_TIX2: "敌后作战" +mobile_infantry_TIX_TIX3: "先发制人" +mobile_infantry_TIX_TIX4: "委派授权" +mobile_infantry_TIX_TIX5: "机动作战" +AZ_SUBDOCTRINE_COMMANDOS: "舰娘单兵战术" +commandos_SAD_SAD1: "独立战斗单位" +commandos_SAD_SAD2: "分散单位协同" +commandos_SAD_SAD3: "严格训练" +commandos_SAD_SAD4: "战场情报搜集" +commandos_SAD_SAD5: "联合突击" +AZ_SUBDOCTRINE_FIRE_CONCENTRATION: "舰娘火力集中" +fire_concentration_BFL_BFL1: "预设炮位" +fire_concentration_BFL_BFL2: "预测射击" +fire_concentration_BFL_BFL3: "炮兵群区域警戒" +fire_concentration_BFL_BFL4: "集中式防空支援" +fire_concentration_BFL_BFL5: "测射火力阵地" +AZ_SUBDOCTRINE_MOBILE_RECON_AND_ASSAULT: "舰娘机动侦查" +mobile_recon_and_assault_TIX_TIX1: "建制摩托化补给" +mobile_recon_and_assault_TIX_TIX2: "远距离侦查" +mobile_recon_and_assault_TIX_TIX3: "机动作战部署" +mobile_recon_and_assault_TIX_TIX4: "行进间射击" +mobile_recon_and_assault_TIX_TIX5: "专注纵深侦查" +AZ_SUBDOCTRINE_FIELD_ENGINEERING: "舰娘野战工程" +field_engineering_SAD_SAD1: "快速火力清障" +field_engineering_SAD_SAD2: "工兵野外技术" +field_engineering_SAD_SAD3: "工兵构筑发射阵地" +field_engineering_SAD_SAD4: "烟幕发射器训练" +field_engineering_SAD_SAD5: "喷火与爆破攻坚" +AZ_SUBDOCTRINE_FLYING_BATTERIES: "舰娘机动炮组" +flying_batteries_AZ_AZ1: "部署演练" +flying_batteries_AZ_AZ2: "反炮兵作战任务" +flying_batteries_AZ_AZ3: "装甲前沿观察车" +flying_batteries_AZ_AZ4: "快速展开炮架" +flying_batteries_AZ_AZ5: "大范围分散炮兵群" +AZ_SUBDOCTRINE_ARMORED_SPEARHEAD: "舰娘装甲先锋" +armored_spearhead_TIX_TIX1: "主要突击点" +armored_spearhead_TIX_TIX2: "装甲突破扩张" +armored_spearhead_TIX_TIX3: "地方预备队" +armored_spearhead_TIX_TIX4: "强点绕行突击" +armored_spearhead_TIX_TIX5: "侧翼防护" +AZ_SUBDOCTRINE_MOBILE_DEFENSE: "舰娘机动防御" +mobile_defense_BYG_BYG1: "机械化搭乘载具" +mobile_defense_BYG_BYG2: "顶着火力前进" +mobile_defense_BYG_BYG3: "履带式战斗支援" +mobile_defense_BYG_BYG4: "协同反装甲" +mobile_defense_BYG_BYG5: "坦克对战" +AZ_SUBDOCTRINE_STREAMLINED_DEPLOYMENT: "舰娘钢铁洪流" +streamlined_deployment_BFL_BFL1: "陆军机械化推进" +streamlined_deployment_BFL_BFL2: "机械化浪潮" +streamlined_deployment_BFL_BFL3: "坦克步兵乘员" +streamlined_deployment_BFL_BFL4: "精简式后勤" +streamlined_deployment_BFL_BFL5: "持续进攻" +AZ_SUBDOCTRINE_ARMORED_INFANTRY_SUPPORT: "舰娘装甲步兵" +armored_infantry_support_HUJ_HUJ1: "碾压式突击" +armored_infantry_support_HUJ_HUJ2: "装甲步兵队" +armored_infantry_support_HUJ_HUJ3: "维护惯例" +armored_infantry_support_HUJ_HUJ4: "燃料配给" +armored_infantry_support_HUJ_HUJ5: "机动装甲据点" +AZ_SUBDOCTRINE_ARMORED_CAVALRY: "舰娘装甲骑兵" +armored_cavalry_CHY_CHY1: "巡洋坦克" +armored_cavalry_CHY_CHY2: "摩托化警戒部队" +armored_cavalry_CHY_CHY3: "以速度替代装甲" +armored_cavalry_CHY_CHY4: "作战侦查" +armored_cavalry_CHY_CHY5: "装甲外挂储物" +AZ_SUBDOCTRINE_MISSION_TYPE_TACTICS: "舰娘任务战术" +mission_type_tactics_TIX_TIX1: "低层级授权" +mission_type_tactics_TIX_TIX2: "灵活指挥" +mission_type_tactics_TIX_TIX3: "诸兵种合成战斗群" +mission_type_tactics_TIX_TIX4: "进攻部署态势" +mission_type_tactics_TIX_TIX5: "控制区责任" +AZ_SUBDOCTRINE_DEEP_BATTLE: "舰娘纵深作战" +deep_battle_BFL_BFL1: "边界监视" +deep_battle_BFL_BFL2: "战术储备" +deep_battle_BFL_BFL3: "战略欺骗" +deep_battle_BFL_BFL4: "突破优先" +deep_battle_BFL_BFL5: "战役级进攻" +AZ_SUBDOCTRINE_GRAND_ASSAULT: "舰娘强袭战术" +grand_assault_YUW_YUW1: "中央计划" +grand_assault_YUW_YUW2: "牵制性进攻" +grand_assault_YUW_YUW3: "联合兵种一体化" +grand_assault_YUW_YUW4: "前线指挥所" +grand_assault_YUW_YUW5: "C3I系统理论" +AZ_SUBDOCTRINE_RAPID_DOMINATION: "舰娘快速主导" +rapid_domination_BYG_BYG1: "侦查前出" +rapid_domination_BYG_BYG2: "先进火力阵地" +rapid_domination_BYG_BYG3: "动态火力管制" +rapid_domination_BYG_BYG4: "团级战斗队" +rapid_domination_BYG_BYG5: "震慑战术" +AZ_SUBDOCTRINE_INFILTRATION_TACTICS: "舰娘渗透战术" +infiltration_tactics_CHY_CHY1: "渗透突击" +infiltration_tactics_CHY_CHY2: "夜间突袭" +infiltration_tactics_CHY_CHY3: "自给自足的渗透部队" +infiltration_tactics_CHY_CHY4: "地形与态势评估" +infiltration_tactics_CHY_CHY5: "深度渗透作战" +AZ_SUBDOCTRINE_LAST_STAND: "舰娘殊死防御" +last_stand_AZ_AZ1: "破坏小组" +last_stand_AZ_AZ2: "围困区巩固" +last_stand_AZ_AZ3: "堑壕固守" +last_stand_AZ_AZ4: "补给点物资援助" +last_stand_AZ_AZ5: "最终攻势"