diff --git a/src/common/ai_navy/taskforce/generic_taskforce_templates.txt b/src/common/ai_navy/taskforce/generic_taskforce_templates.txt new file mode 100755 index 0000000..0b9fd1c --- /dev/null +++ b/src/common/ai_navy/taskforce/generic_taskforce_templates.txt @@ -0,0 +1,174 @@ +StrikeForce_1 = { + allowed = { + + } + ai_will_do = { + factor = 100 + } + mission = { naval_strike } + min_composition = { + heavy_cruiser = { + amount = 4 + } + destroyer = { + amount = 20 + } + } + + optimal_composition = { + carrier = { + amount = 6 + } + battleship = { + amount = 8 + } + heavy_cruiser = { + amount = 4 + } + medium_cruiser = { + amount = 4 + } + light_cruiser = { + amount = 15 + } + destroyer = { + amount = 25 + } + } +} + +PatrolReconForce_1 = { + allowed = { + + } + ai_will_do = { + factor = 5 + } + mission = { naval_patrol } + min_composition = { + destroyer = { + amount = 1 + } + } + optimal_composition = { + destroyer = { + amount = 5 + } + } +} + +PatrolDominanceForce_1 = { + allowed = { + + } + ai_will_do = { + factor = 5 + } + mission = { naval_patrol } + min_composition = { + light_cruiser = { + amount = 4 + } + destroyer = { + amount = 10 + } + } + optimal_composition = { + battleship = { + amount = 4 + } + light_cruiser = { + amount = 10 + } + destroyer = { + amount = 20 + } + } +} + +PatrolDominanceForce_2 = { + allowed = { + + } + ai_will_do = { + factor = 1 + } + mission = { naval_patrol } + min_composition = { + light_cruiser = { + amount = 4 + } + destroyer = { + amount = 10 + } + } + optimal_composition = { + battle_cruiser = { + amount = 4 + } + light_cruiser = { + amount = 10 + } + destroyer = { + amount = 20 + } + } +} + +ConvoyRaiding_1 = { + allowed = { + NOT = { + original_tag = CHY + original_tag = HUJ + original_tag = BFL + original_tag = BYG + original_tag = SAD + original_tag = TIX + original_tag = YUW + } + } + ai_will_do = { + factor = 1 + } + mission = { convoy_raiding } + min_composition = { + submarine = { + amount = 4 + } + } + + optimal_composition = { + submarine = { + amount = 12 + } + } +} + +ConvoyEscort_1 = { + allowed = { + NOT = { + original_tag = CHY + original_tag = HUJ + original_tag = BFL + original_tag = BYG + original_tag = SAD + original_tag = TIX + original_tag = YUW + } + } + ai_will_do = { + factor = 5 + } + mission = { convoy_escort } + min_composition = { + destroyer = { + amount = 5 + } + } + + optimal_composition = { + destroyer = { + amount = 10 + } + } +} diff --git a/src/common/ai_strategy/naval_production.txt b/src/common/ai_strategy/naval_production.txt index dcefcf1..29a9e1b 100755 --- a/src/common/ai_strategy/naval_production.txt +++ b/src/common/ai_strategy/naval_production.txt @@ -371,7 +371,13 @@ naval_unit_role_ratios_GER_prewar_early = { ai_strategy = { type = role_ratio id = vnr_naval_submarine - value = 200 + value = 500 + } + + ai_strategy = { + type = building_target + id = dockyard + value = 25 } } @@ -408,7 +414,7 @@ naval_unit_role_ratios_GER_prewar_late = { ai_strategy = { type = role_ratio id = vnr_naval_capital_bb - value = 12 + value = 30 } ai_strategy = { @@ -418,8 +424,9 @@ naval_unit_role_ratios_GER_prewar_late = { } ai_strategy = { - type = dockyard_to_military_factory_ratio - value = 50 + type = building_target + id = dockyard + value = 35 } } @@ -437,7 +444,7 @@ naval_unit_role_ratios_GER_atwar = { ai_strategy = { type = role_ratio id = vnr_naval_submarine - value = 1800 + value = 3000 } ai_strategy = { @@ -459,8 +466,9 @@ naval_unit_role_ratios_GER_atwar = { } ai_strategy = { - type = dockyard_to_military_factory_ratio - value = 50 + type = building_target + id = dockyard + value = 40 } } @@ -763,7 +771,7 @@ naval_unit_role_ratios_ENG_prewar_late = { ai_strategy = { type = role_ratio id = vnr_naval_screen - value = 350 + value = 250 } ai_strategy = { @@ -775,7 +783,7 @@ naval_unit_role_ratios_ENG_prewar_late = { ai_strategy = { type = role_ratio id = vnr_naval_cruiser_medium - value = -30 + value = 50 } ai_strategy = { @@ -809,7 +817,7 @@ naval_unit_role_ratios_ENG_atwar = { ai_strategy = { type = role_ratio id = vnr_naval_screen - value = 450 + value = 300 } ai_strategy = { @@ -818,6 +826,12 @@ naval_unit_role_ratios_ENG_atwar = { value = 150 } + ai_strategy = { + type = role_ratio + id = vnr_naval_cruiser_medium + value = 20 + } + ai_strategy = { type = role_ratio id = vnr_naval_submarine @@ -1292,7 +1306,7 @@ naval_unit_role_ratios_JAP_prewar_enough_carrier = { ai_strategy = { type = role_ratio id = vnr_naval_submarine - value = 250 + value = 350 } ai_strategy = { type = role_ratio @@ -1302,11 +1316,11 @@ naval_unit_role_ratios_JAP_prewar_enough_carrier = { ai_strategy = { type = role_ratio id = vnr_naval_cruiser_light - value = 50 + value = 80 } ai_strategy = { type = role_ratio - id = vnr_naval_cruiser_heavy + id = vnr_naval_cruiser_medium value = 30 } ai_strategy = { @@ -1317,7 +1331,7 @@ naval_unit_role_ratios_JAP_prewar_enough_carrier = { ai_strategy = { type = role_ratio id = vnr_naval_carrier - value = 100 + value = 150 } ai_strategy = { type = dockyard_to_military_factory_ratio @@ -1357,7 +1371,7 @@ naval_unit_role_ratios_JAP_atwar = { ai_strategy = { type = role_ratio id = vnr_naval_cruiser_light - value = 60 + value = 90 } ai_strategy = { type = role_ratio @@ -1367,7 +1381,7 @@ naval_unit_role_ratios_JAP_atwar = { ai_strategy = { type = role_ratio id = vnr_naval_carrier - value = 100 + value = 150 } ai_strategy = { type = dockyard_to_military_factory_ratio @@ -1671,12 +1685,12 @@ naval_unit_role_ratios_ITA_prewar_enough_battleships = { ai_strategy = { type = role_ratio id = vnr_naval_cruiser_light - value = 40 + value = 80 } ai_strategy = { type = role_ratio id = vnr_naval_cruiser_medium - value = 10 + value = 30 } ai_strategy = { @@ -2452,21 +2466,6 @@ build_more_missile_cruisers = { } } -restrict_early_landing = { - allowed = { - always = yes - } - enable = { - enemies_naval_strength_ratio > 1.5 - } - abort_when_not_enabled = yes - - ai_strategy = { - type = naval_invasion_focus - value = -1000 - } -} - upgrade_cv_plane_strategy_0 = { allowed = { always = yes diff --git a/src/common/ai_strategy/vnr_naval_strategy.txt b/src/common/ai_strategy/vnr_naval_strategy.txt index 355a24c..b635106 100755 --- a/src/common/ai_strategy/vnr_naval_strategy.txt +++ b/src/common/ai_strategy/vnr_naval_strategy.txt @@ -1,7 +1,6 @@ ### HUJ ### ENG_protect_home_waters = { allowed = { - has_dlc = "Man the Guns" original_tag = HUJ } enable = { @@ -13,25 +12,34 @@ ENG_protect_home_waters = { } abort_when_not_enabled = yes ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 18 - value = 9999 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 16 - value = 9999 + value = 100 } ai_strategy = { type = naval_avoid_region id = 18 value = -1000 } + ai_strategy = { + type = naval_avoid_region + id = 173 + value = 100 + } + ai_strategy = { + type = naval_avoid_region + id = 207 + value = 500 + } } ENG_secure_mediterranean = { allowed = { - has_dlc = "Man the Guns" original_tag = HUJ } enable = { @@ -46,19 +54,19 @@ ENG_secure_mediterranean = { } abort_when_not_enabled = yes ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 29 - value = 150 - } - ai_strategy = { - type = strike_force_home_base - id = 68 value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance + id = 68 + value = 60 + } + ai_strategy = { + type = naval_dominance id = 69 - value = 200 + value = 100 } ai_strategy = { type = naval_avoid_region @@ -69,7 +77,6 @@ ENG_secure_mediterranean = { ENG_avoid_mediterranean = { allowed = { - has_dlc = "Man the Guns" original_tag = HUJ } enable = { @@ -104,7 +111,6 @@ ENG_avoid_mediterranean = { ENG_avoid_pacific = { allowed = { - has_dlc = "Man the Guns" original_tag = HUJ } enable = { @@ -140,7 +146,6 @@ ENG_avoid_pacific = { ENG_reinforce_pacific = { allowed = { - has_dlc = "Man the Guns" original_tag = HUJ } enable = { @@ -166,41 +171,40 @@ ENG_reinforce_pacific = { } abort_when_not_enabled = yes ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 72 - value = 1000 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 91 value = 10 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 92 value = 10 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 93 value = 10 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 84 - value = 300 + value = 50 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 83 - value = 300 + value = 50 } } ### CHY ### JAP_destroy_china_navy_quick = { allowed = { - has_dlc = "Man the Guns" original_tag = CHY } enable = { @@ -210,41 +214,30 @@ JAP_destroy_china_navy_quick = { } abort_when_not_enabled = yes ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 75 value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 76 - value = 200 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 77 - value = 200 + value = 100 } ai_strategy = { - type = naval_convoy_raid_region - id = 75 + type = convoy_raiding_target + id = CHI value = 100 } - ai_strategy = { - type = naval_convoy_raid_region - id = 76 - value = 200 - } - ai_strategy = { - type = naval_convoy_raid_region - id = 77 - value = 200 - } } JAP_pacific_war_naval_stage_one = { allowed = { - has_dlc = "Man the Guns" original_tag = CHY } enable = { @@ -257,30 +250,29 @@ JAP_pacific_war_naval_stage_one = { } abort_when_not_enabled = yes ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 75 - value = 200 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 78 - value = 200 + value = 80 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 94 value = 50 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 84 - value = 130 + value = 100 } } JAP_pacific_war_naval_stage_two = { allowed = { - has_dlc = "Man the Guns" original_tag = CHY } enable = { @@ -299,51 +291,50 @@ JAP_pacific_war_naval_stage_two = { } abort_when_not_enabled = yes ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 75 value = 50 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 78 value = 50 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 94 value = 50 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 84 value = 50 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 95 - value = 200 - } - ai_strategy = { - type = strike_force_home_base - id = 97 - value = 200 - } - ai_strategy = { - type = strike_force_home_base - id = 180 value = 100 + } + ai_strategy = { + type = naval_dominance + id = 97 + value = 100 + } + ai_strategy = { + type = naval_dominance + id = 180 + value = 75 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 83 - value = 130 + value = 85 } } ### BYG ### USA_pacific_war_naval_avoid_first = { allowed = { - has_dlc = "Man the Guns" original_tag = BYG } enable = { @@ -421,30 +412,29 @@ USA_pacific_war_naval_avoid_first = { } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 95 - value = 500 + value = 60 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 97 - value = 500 + value = 60 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 105 - value = 9999 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 180 - value = 500 + value = 100 } } USA_do_not_waste_fleet_in_north_pacific = { allowed = { - has_dlc = "Man the Guns" original_tag = BYG } enable = { @@ -453,40 +443,39 @@ USA_do_not_waste_fleet_in_north_pacific = { } abort_when_not_enabled = yes ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 87 - value = -1000 + value = 0 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 88 - value = -1000 + value = 0 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 96 - value = -1000 + value = 0 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 176 - value = -1000 + value = 0 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 114 - value = -1000 + value = 0 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 171 - value = -1000 + value = 0 } } USA_pacific_war_naval_counterattack_1 = { allowed = { - has_dlc = "Man the Guns" original_tag = BYG } enable = { @@ -562,29 +551,29 @@ USA_pacific_war_naval_counterattack_1 = { } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 84 - value = 500 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 95 - value = 500 + value = 80 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 97 - value = 500 + value = 80 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 105 - value = 9999 + value = 80 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 180 - value = 500 + value = 100 } ai_strategy = { type = invade @@ -597,19 +586,9 @@ USA_pacific_war_naval_counterattack_1 = { } ai_strategy = { - type = naval_convoy_raid_region - id = 94 - value = 300 - } - ai_strategy = { - type = naval_convoy_raid_region - id = 97 - value = 300 - } - ai_strategy = { - type = naval_convoy_raid_region - id = 84 - value = 300 + type = convoy_raiding_target + id = JAP + value = 100 } ai_strategy = { @@ -633,7 +612,6 @@ USA_pacific_war_naval_counterattack_1 = { USA_pacific_war_naval_counterattack_2 = { allowed = { - has_dlc = "Man the Guns" original_tag = BYG } enable = { @@ -690,29 +668,29 @@ USA_pacific_war_naval_counterattack_2 = { } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 84 - value = 500 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 95 - value = 500 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 97 - value = 500 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 94 - value = 500 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 78 - value = 1000 + value = 100 } ai_strategy = { type = invade @@ -725,29 +703,9 @@ USA_pacific_war_naval_counterattack_2 = { } ai_strategy = { - type = naval_convoy_raid_region - id = 94 - value = 300 - } - ai_strategy = { - type = naval_convoy_raid_region - id = 97 - value = 300 - } - ai_strategy = { - type = naval_convoy_raid_region - id = 84 - value = 300 - } - ai_strategy = { - type = naval_convoy_raid_region - id = 78 - value = 300 - } - ai_strategy = { - type = naval_convoy_raid_region - id = 76 - value = 300 + type = convoy_raiding_target + id = JAP + value = 100 } ai_strategy = { @@ -765,15 +723,14 @@ USA_pacific_war_naval_counterattack_2 = { ai_strategy = { type = front_control - area = pacific - ordertype = home_islands + area = home_islands + ordertype = invasion execute_order = yes } } USA_pacific_war_naval_counterattack_3 = { allowed = { - has_dlc = "Man the Guns" original_tag = BYG } enable = { @@ -803,29 +760,29 @@ USA_pacific_war_naval_counterattack_3 = { } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 75 - value = 500 + value = 80 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 80 - value = 500 + value = 80 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 76 - value = 1000 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 94 - value = 500 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 78 - value = 500 + value = 100 } ai_strategy = { type = invade @@ -838,19 +795,9 @@ USA_pacific_war_naval_counterattack_3 = { } ai_strategy = { - type = naval_convoy_raid_region - id = 78 - value = 300 - } - ai_strategy = { - type = naval_convoy_raid_region - id = 76 - value = 300 - } - ai_strategy = { - type = naval_convoy_raid_region - id = 90 - value = 300 + type = convoy_raiding_target + id = JAP + value = 100 } ai_strategy = { @@ -868,8 +815,8 @@ USA_pacific_war_naval_counterattack_3 = { ai_strategy = { type = front_control - area = pacific - ordertype = home_islands + area = home_islands + ordertype = invasion execute_order = yes } } @@ -877,7 +824,6 @@ USA_pacific_war_naval_counterattack_3 = { ### SAD ### ITA_avoid_mediterranean = { allowed = { - has_dlc = "Man the Guns" original_tag = SAD } enable = { @@ -890,58 +836,59 @@ ITA_avoid_mediterranean = { } abort_when_not_enabled = yes ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 29 - value = -1000 + value = 50 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 68 - value = -1000 + value = 0 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 69 - value = -1000 + value = 0 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 168 - value = 500 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 169 - value = 500 + value = 100 } ai_strategy = { - type = naval_convoy_raid_region + type = naval_blockade + target_country = ENG id = 68 value = 100 } ai_strategy = { - type = naval_convoy_raid_region + type = naval_blockade + target_country = ENG id = 69 value = 100 } ai_strategy = { - type = naval_convoy_raid_region + type = naval_blockade + target_country = ENG id = 29 - value = 100 + value = 60 } - ai_strategy = { - type = naval_avoid_region - id = 29 - value = 800 + type = convoy_raiding_target + id = ENG + value = 50 } } ### TIX ### GER_forget_sealion = { allowed = { - has_dlc = "Man the Guns" original_tag = TIX } enable = { @@ -954,20 +901,24 @@ GER_forget_sealion = { } abort_when_not_enabled = yes ai_strategy = { - type = naval_avoid_region + type = naval_dominance id = 18 - value = 800 + value = 0 } ai_strategy = { - type = naval_avoid_region + type = naval_dominance id = 16 - value = 200 + value = 10 } + ai_strategy = { + type = invade + tag = HUJ + value = -500 + } } GER_unrestricted_submarine_warfare = { allowed = { - has_dlc = "Man the Guns" original_tag = TIX } enable = { @@ -976,50 +927,65 @@ GER_unrestricted_submarine_warfare = { tag = HUJ ratio < 0.7 } + FRA = { has_capitulated = yes } enable_vnr_naval_ai = yes } abort_when_not_enabled = yes ai_strategy = { - type = naval_convoy_raid_region + type = naval_blockade + target_country = ENG id = 47 - value = 200 + value = 70 } ai_strategy = { - type = naval_convoy_raid_region + type = naval_blockade + target_country = ENG id = 49 - value = 500 + value = 70 } ai_strategy = { - type = naval_convoy_raid_region + type = naval_blockade + target_country = ENG id = 44 - value = 150 + value = 70 } ai_strategy = { - type = naval_convoy_raid_region + type = naval_blockade + target_country = ENG id = 50 - value = 30 + value = 70 } + ai_strategy = { + type = naval_blockade + target_country = ENG + id = 42 + value = 70 + } + ai_strategy = { + type = convoy_raiding_target + id = ENG + value = 100 + } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 173 - value = 500 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 207 - value = 500 + value = 100 } ai_strategy = { - type = strike_force_home_base + type = naval_dominance id = 9 - value = 500 + value = 50 } } GER_avoid_mediterranean = { allowed = { - has_dlc = "Man the Guns" original_tag = TIX } enable = { @@ -1030,35 +996,34 @@ GER_avoid_mediterranean = { abort_when_not_enabled = yes ai_strategy = { - type = naval_avoid_region + type = naval_dominance id = 29 - value = 1000 + value = 0 } ai_strategy = { - type = naval_avoid_region + type = naval_dominance id = 68 - value = 1000 + value = 0 } ai_strategy = { - type = naval_avoid_region + type = naval_dominance id = 69 - value = 1000 + value = 0 } ai_strategy = { - type = naval_avoid_region + type = naval_dominance id = 168 - value = 1000 + value = 0 } ai_strategy = { - type = naval_avoid_region + type = naval_dominance id = 169 - value = 1000 + value = 0 } } GER_invade_norway = { allowed = { - has_dlc = "Man the Guns" original_tag = TIX } enable = { @@ -1074,4 +1039,19 @@ GER_invade_norway = { id = NOR value = 1000 } + ai_strategy = { + type = invasion_unit_request + tag = NOR + value = 50 + } + ai_strategy = { + type = naval_dominance + id = 173 + value = 50 + } + ai_strategy = { + type = naval_dominance + id = 207 + value = 100 + } } \ No newline at end of file diff --git a/src/common/doctrines/subdoctrines/sea/navy_capital_subdoctrines.txt b/src/common/doctrines/subdoctrines/sea/navy_capital_subdoctrines.txt new file mode 100755 index 0000000..bd39e26 --- /dev/null +++ b/src/common/doctrines/subdoctrines/sea/navy_capital_subdoctrines.txt @@ -0,0 +1,523 @@ +fast_battleship_primacy = { + track = capital_ships + name = SUBDOCTRINE_FAST_BATTLESHIP_PRIMACY + description = SUBDOCTRINE_FAST_BATTLESHIP_PRIMACY_DESC + icon = GFX_doctrine_fast_battleship_primacy_medium + + xp_cost = 100 + xp_type = navy + + available = { + always = yes + } + + ai_will_do = { + base = 1 + modifier = { + factor = 75 + OR = { + original_tag = HUJ + original_tag = BYG + original_tag = CHY + original_tag = SAD + original_tag = BFL + } + } + } + + # EFFECTS + strike_force_movement_org_loss = -0.1 + + rewards = { + fast_squad = { + battleship = { + max_organisation = 5 + naval_speed = 0.05 + } + SH_battleship = { + max_organisation = 5 + naval_speed = 0.05 + } + heavy_cruiser = { + max_organisation = 5 + naval_speed = 0.05 + } + medium_cruiser = { + max_organisation = 5 + naval_speed = 0.05 + } + } + formation_training = { + modifier = { + positioning = 0.1 + strike_force_movement_org_loss = -0.1 + } + } + blue_water_logistics = { #TODO see if these make sense + battleship = { + max_organisation = 10 + supply_consumption = -0.1 + } + SH_battleship = { + max_organisation = 10 + supply_consumption = -0.1 + } + heavy_cruiser = { + max_organisation = 10 + supply_consumption = -0.1 + } + medium_cruiser = { + max_organisation = 10 + supply_consumption = -0.1 + } + } + grand_fleet = { + modifier = { + naval_coordination = 0.1 + navy_capital_ship_defence_factor = 0.1 + ships_at_battle_start = 0.1 + } + } + decisive_battle = { + battleship = { + max_organisation = 10 + surface_detection = 0.1 + } + SH_battleship = { + max_organisation = 10 + surface_detection = 0.1 + } + heavy_cruiser = { + max_organisation = 10 + surface_detection = 0.1 + } + medium_cruiser = { + max_organisation = 10 + surface_detection = 0.1 + } + modifier = { + positioning = 0.1 + } + } + } +} + +battlecruiser_supremacy = { + track = capital_ships + name = SUBDOCTRINE_BATTLECRUISER_SUPREMACY + description = SUBDOCTRINE_BATTLECRUISER_SUPREMACY_DESC + icon = GFX_doctrine_battlecruiser_supremacy_medium + + xp_cost = 100 + xp_type = navy + + available = { + always = yes + } + + ai_will_do = { + base = 1 + modifier = { + factor = 75 + original_tag = YUW + } + } + + # EFFECTS + navy_max_range_factor = 0.1 + strike_force_movement_org_loss = -0.05 + + rewards = { + scouting_fleet = { + battleship = { + max_organisation = 10 + } + battle_cruiser= { + max_organisation = 10 + } + heavy_cruiser = { + max_organisation = 10 + } + medium_cruiser = { + max_organisation = 10 + } + } + coordinated_communication = { + battleship = { + naval_heavy_gun_hit_chance_factor = 0.05 + } + battle_cruiser = { + surface_detection = 0.1 + } + heavy_cruiser = { + surface_detection = 0.1 + } + medium_cruiser = { + surface_detection = 0.1 + } + } + assualt_operation = { + modifier = { + ships_at_battle_start = 0.1 + naval_retreat_chance = 0.15 + naval_retreat_speed = 0.1 + } + } + ocean_raiding = { + battle_cruiser = { + convoy_raiding_coordination = 0.1 + } + heavy_cruiser = { + convoy_raiding_coordination = 0.1 + } + medium_cruiser = { + convoy_raiding_coordination = 0.1 + } + modifier = { + night_spotting_chance = 0.05 + strike_force_movement_org_loss = -0.05 + } + } + decoy_tactics = { + battleship = { + max_organisation = 10 + } + battle_cruiser = { + max_organisation = 5 + surface_visibility = -0.05 + } + heavy_cruiser = { + max_organisation = 5 + surface_visibility = -0.05 + } + medium_cruiser = { + max_organisation = 5 + surface_visibility = -0.05 + } + modifier = { + positioning = 0.1 + } + } + } +} + +armored_raiders = { + track = capital_ships + name = SUBDOCTRINE_ARMORED_RAIDERS + description = SUBDOCTRINE_ARMORED_RAIDERS_DESC + icon = GFX_doctrine_capital_ship_raiders_medium + + xp_cost = 100 + xp_type = navy + + available = { + always = yes + } + + ai_will_do = { + base = 1 + modifier = { + factor = 50 + original_tag = TIX + } + } + + # EFFECTS + screening_without_screens = 0.10 + navy_max_range_factor = 0.05 + + rewards = { + expert_reconnaissance = { + battle_cruiser = { + surface_detection = 0.05 + } + battleship = { + surface_detection = 0.05 + } + heavy_cruiser = { + surface_detection = 0.05 + } + medium_cruiser = { + surface_detection = 0.05 + } + } + speed_trials = { + equipment_bonus = { + capital_ship = { + naval_range = 0.10 + instant = yes + } + } + } + modernized_officer_education = { + battle_cruiser= { + max_organisation = 5 + } + battleship = { + max_organisation = 5 + } + heavy_cruiser = { + max_organisation = 5 + } + medium_cruiser = { + max_organisation = 5 + } + } + capital_raiders = { + battleship = { + max_organisation = 5 + convoy_raiding_coordination = 0.15 + surface_detection = 0.1 + } + battle_cruiser = { + max_organisation = 5 + convoy_raiding_coordination = 0.15 + surface_detection = 0.1 + } + heavy_cruiser = { + max_organisation = 5 + convoy_raiding_coordination = 0.15 + surface_detection = 0.1 + } + medium_cruiser = { + max_organisation = 5 + convoy_raiding_coordination = 0.15 + surface_detection = 0.1 + } + } + crisis_management = { + battleship = { + reliability = 0.1 + } + battle_cruiser = { + reliability = 0.1 + } + heavy_cruiser = { + reliability = 0.1 + } + medium_cruiser = { + reliability = 0.1 + } + modifier = { + navy_casualty_on_hit = -0.1 + navy_casualty_on_sink = -0.1 + } + } + } +} + +coastal_defence_fleet = { + track = capital_ships + name = SUBDOCTRINE_COASTAL_DEFENCE + description = SUBDOCTRINE_COASTAL_DEFENCE_DESC + icon = GFX_doctrine_floating_fortress_medium + + xp_cost = 50 + xp_type = navy + + ai_will_do = { } + + naval_supply_consumption_factor = -0.15 + navy_max_range_factor = -0.25 + + rewards = { + mixed_squad = { + modifier = { + positioning = 0.05 + } + } + casemate_upgrades = { + equipment_bonus = { + vnr_ship_hull_cruiser_coastal_defense_ship = { + anti_air_attack = 0.1 + lg_attack = 0.05 + instant = yes + } + } + } + escort_duties = { + heavy_cruiser = { + max_organisation = 10 + } + medium_cruiser = { + max_organisation = 10 + } + modifier = { + convoy_escort_efficiency = 0.1 + } + } + green_water_navy = { + heavy_cruiser = { + surface_visibility = -0.05 + } + medium_cruiser = { + surface_visibility = -0.05 + } + modifier = { + mines_planting_by_fleets_factor = 0.1 + screening_without_screens = 0.05 + } + } + spare_part_logistics = { + modifier = { + refit_ic_cost = -0.15 + } + } + } +} + +naval_gunfire_support = { + track = capital_ships + name = SUBDOCTRINE_NAVAL_GUNFIRE_SUPPORT + description = SUBDOCTRINE_NAVAL_GUNFIRE_SUPPORT_DESC + icon = GFX_doctrine_naval_gunfire_support_medium + + xp_cost = 100 + xp_type = navy + + available = { + always = yes + } + + ai_will_do = { } + + shore_bombardment_bonus = 0.25 + navy_capital_ship_attack_factor = -0.1 + + rewards = { + landing_lane_clearance = { + modifier = { + naval_mine_hit_chance = -0.10 + mines_sweeping_by_fleets_factor = 0.10 + } + } + + inshore_aa_screen = { + modifier = { + navy_anti_air_attack_factor = 0.1 + } + } + + joint_operations = { + modifier = { + naval_invasion_planning_bonus_speed = 0.20 + naval_general_support_value_factor = 0.10 + } + } + + floating_base = { + battleship = { + max_organisation = 5 + } + battle_cruiser = { + max_organisation = 5 + } + heavy_cruiser = { + max_organisation = 5 + } + medium_cruiser = { + max_organisation = 5 + } + modifier = { + convoy_escort_efficiency = 0.1 + } + } + + green_water_operations = { + battleship = { + surface_visibility = -0.10 + } + battle_cruiser = { + surface_visibility = -0.10 + } + heavy_cruiser = { + surface_visibility = -0.10 + } + navy_capital_ship_defence_factor = -0.15 + } + } +} + + +battleship_antiair_screen = { + track = capital_ships + name = SUBDOCTRINE_BATTLESHIP_ANTIAIR_SCREEN + description = SUBDOCTRINE_BATTLESHIP_ANTIAIR_SCREEN_DESC + icon = GFX_doctrine_battleship_antiair_screen_medium + + xp_cost = 100 + xp_type = navy + + available = { + always = yes + } + + visible = { + has_dlc = "No Compromise, No Surrender" + } + + navy_anti_air_attack_factor = 0.1 + + rewards = { + + guardian_squad = { + battleship = { + max_organisation = 5 + anti_air_attack = 0.05 + } + heavy_cruiser = { + max_organisation = 5 + anti_air_attack = 0.05 + } + medium_cruiser = { + max_organisation = 5 + anti_air_attack = 0.05 + } + } + + flexible_dispatch = { + modifier = { + ships_at_battle_start = 0.05 + strike_force_movement_org_loss = -0.1 + positioning = 0.1 + } + } + + broad_air_cover = { + battleship = { + max_organisation = 5 + surface_detection = 0.05 + } + battle_cruiser = { + max_organisation = 5 + surface_detection = 0.05 + } + modifier = { + navy_capital_ship_defence_factor = 0.1 + } + } + task_force_protector = { + modifier = { + positioning = 0.1 + naval_torpedo_enemy_critical_chance_factor = -0.15 + } + } + circle_formation = { + battleship = { + max_organisation = 10 + anti_air_attack = 0.1 + } + heavy_cruiser = { + max_organisation = 10 + anti_air_attack = 0.1 + } + medium_cruiser = { + max_organisation = 10 + anti_air_attack = 0.1 + } + } + } +} + + + diff --git a/src/common/doctrines/subdoctrines/sea/navy_carrier_doctrines.txt b/src/common/doctrines/subdoctrines/sea/navy_carrier_doctrines.txt new file mode 100755 index 0000000..066cb7c --- /dev/null +++ b/src/common/doctrines/subdoctrines/sea/navy_carrier_doctrines.txt @@ -0,0 +1,300 @@ +carrier_battlegroups = { + track = carriers + name = SUBDOCTRINE_CARRIER_BATTLEGROUPS + description = SUBDOCTRINE_CARRIER_BATTLEGROUPS_DESC + icon = GFX_doctrine_carrier_battlegroups_medium + + xp_cost = 100 + xp_type = navy + + ai_will_do = { + base = 1 + modifier = { + factor = 50 + original_tag = BYG + } + } + + available = { + has_tech = aviation_dawn + } + + ai_will_do = { } + + # EFFECTS + port_strike = 0.20 + strike_force_movement_org_loss = -0.1 + + rewards = { + long_distance_logistics = { + carrier = { + max_organisation = 10 + } + modifier = { + navy_max_range_factor = 0.1 + navy_fuel_consumption_factor = -0.05 + } + } + bomber_scouting = { + carrier = { + carrier_surface_detection = 0.15 + } + modifier = { + navy_carrier_air_agility_factor = 0.1 + } + } + professional_deck_management = { + carrier = { + max_organisation = 15 + } + modifier = { + sortie_efficiency = 0.1 + } + } + fleet_antiair = { + carrier = { + max_organisation = 15 + anti_air_attack = 0.15 + } + modifier = { + sortie_efficiency = 0.1 + } + } + alpha_strike = { + modifier = { + sortie_efficiency = 0.1 + navy_carrier_air_targetting_factor = 0.1 + carrier_capacity_penalty_reduction = -0.1 + } + } + } +} + +floating_airfields = { + track = carriers + name = SUBDOCTRINE_CARRIER_AIRFIELDS + description = SUBDOCTRINE_CARRIER_AIRFIELDS_DESC + icon = GFX_doctrine_floating_airfield_medium + + xp_cost = 100 + xp_type = navy + + available = { + has_tech = aviation_dawn + } + + ai_will_do = { + base = 1 + modifier = { + factor = 25 + OR = { + original_tag = HUJ + original_tag = YUW + } + } + modifier = { + factor = 2 + is_major = yes + } + modifier = { + factor = 0 + is_major = no + } + } + + # EFFECTS + navy_anti_air_attack_factor = 0.10 + + rewards = { + enclosed_hangar = { + carrier = { + max_organisation = 10 + reliability = 0.1 + } + } + fleet_antiair = { + carrier = { + max_organisation = 15 + anti_air_attack = 0.15 + } + } + reserved_fighters = { + fighter_sortie_efficiency = 0.15 + } + dogfight_training = { + navy_carrier_air_agility_factor = 0.1 + sortie_efficiency = 0.05 + carrier = { + anti_air_attack = 0.05 + } + } + rough_weather_procedures = { + sortie_efficiency = 0.1 + equipment_bonus = { + carrier = { + naval_weather_penalty_factor = -0.15 + } + } + } + } +} + +subsidiary_carrier_support = { + track = carriers + name = SUBDOCTRINE_SUBSIDIARY_CARRIER_SUPPORT + description = SUBDOCTRINE_SUBSIDIARY_CARRIER_SUPPORT_DESC + icon = GFX_doctrine_escort_carriers_medium + + xp_cost = 100 + xp_type = navy + + available = { + has_tech = early_ship_hull_carrier + } + + convoy_escort_efficiency = 0.2 + + rewards = { + evasive_convoy_maneuvers = { + convoy_retreat_speed = 0.2 + } + anti_submarine_escorts = { + carrier = { + carrier_sub_detection = 0.2 + } + } + fleet_antiair = { + carrier = { + max_organisation = 15 + anti_air_attack = 0.15 + } + } + integrated_convoy_escorts = { + modifier = { + navy_carrier_air_targetting_factor = 0.05 + convoy_escort_efficiency = 0.1 + } + } + carrier_support_groups = { + modifier = { + fighter_sortie_efficiency = 0.15 + } + } + } +} + +carrier_concentration = { + track = carriers + name = SUBDOCTRINE_CARRIER_CONCENTRATION + description = SUBDOCTRINE_CARRIER_CONCENTRATION_DESC + icon = GFX_doctrine_carrier_primacy_medium + + xp_cost = 100 + xp_type = navy + + ai_will_do = { + base = 1 + modifier = { + factor = 50 + original_tag = CHY + } + } + available = { + has_tech = aviation_dawn + } + + sortie_efficiency = 0.1 + strike_force_movement_org_loss = -0.05 + + rewards = { + deep_operative_support = { + carrier = { + reliability = 0.05 + naval_range = 0.2 + } + } + mobile_force = { + carrier = { + max_organisation = 15 + } + modifier = { + navy_carrier_air_targetting_factor = 0.1 + } + } + improved_mission_oriented = { + carrier = { + max_organisation = 10 + anti_air_attack = 0.15 + } + fighter_sortie_efficiency = 0.05 + } + efficient_rearming = { + carrier = { + max_organisation = 5 + supply_consumption = -0.15 + fuel_consumption = -0.1 + } + } + massed_air_raid = { + modifier = { + sortie_efficiency = 0.1 + carrier_capacity_penalty_reduction = -0.1 + navy_carrier_air_attack_factor = 0.1 + } + } + } +} + + +naval_airfoce = { + track = carriers + name = SUBDOCTRINE_NAVAL_AIRFOCE + description = SUBDOCTRINE_NAVAL_AIRFOCE_DESC + icon = GFX_doctrine_naval_airforce_medium + + xp_cost = 100 + xp_type = navy + + ai_will_do = { + base = 1 + } + available = { + has_tech = early_ship_hull_carrier + } + + naval_retreat_speed_after_initial_combat = 0.1 + naval_strike_attack_factor = 0.05 + + rewards = { + direct_fire_avoidance = { + carrier = { + surface_visibility = -0.1 + } + } + land_based_support = { + category_nav_bomber = { + air_range = 0.2 + } + } + air_raiders = { + carrier = { + max_organisation = 10 + } + modifier = { + sortie_efficiency = 0.05 + navy_carrier_air_targetting_factor = 0.05 + } + } + evasive_engagements_focus = { + carrier = { + max_organisation = 10 + } + naval_enemy_fleet_size_ratio_penalty_factor = 0.1 + } + airpower = { + naval_strike_attack_factor = 0.1 + naval_strike_agility_factor = 0.1 + } + } + +} diff --git a/src/common/doctrines/subdoctrines/sea/navy_screen_doctrines.txt b/src/common/doctrines/subdoctrines/sea/navy_screen_doctrines.txt new file mode 100755 index 0000000..0c969c5 --- /dev/null +++ b/src/common/doctrines/subdoctrines/sea/navy_screen_doctrines.txt @@ -0,0 +1,320 @@ +convoy_escort = { + track = screens + name = SUBDOCTRINE_SCREEN_CONVOY_ESCORT + description = SUBDOCTRINE_SCREEN_CONVOY_ESCORT_DESC + icon = GFX_doctrine_convoy_sailing_medium + + xp_cost = 100 + xp_type = navy + + available = { + always = yes + } + + ai_will_do = { + base = 1 + modifier = { + factor = 95 + original_tag = HUJ + } + } + + # EFFECTS + convoy_escort_efficiency = 0.10 + convoy_retreat_speed = 0.10 + + rewards = { + anti_submarine_sweep_training = { + destroyer = { + sub_detection = 0.10 + } + light_cruiser = { + sub_detection = 0.10 + } + } + escort_reclassification = { + destroyer = { + max_organisation = 10 + } + light_cruiser = { + max_organisation = 5 + } + convoy_escort_efficiency = 0.05 + } + sweeping_duty = { + mines_sweeping_by_fleets_factor = 0.15 + } + creeping_attack = { + destroyer = { + sub_detection = 0.10 + lg_attack = 0.05 + } + light_cruiser = { + surface_detection = 0.1 + } + } + as_below_so_above = { + destroyer = { + anti_air_attack = 0.15 + } + light_cruiser = { + anti_air_attack = 0.15 + } + convoy_escort_efficiency = 0.05 + } + } +} + +support_integrated_operations = { + track = screens + name = SUBDOCTRINE_SCREEN_INTEGRATED_OPERATIONS + description = SUBDOCTRINE_SCREEN_INTEGRATED_OPERATIONS_DESC + icon = GFX_doctrine_escort_patrols_medium + + xp_cost = 100 + xp_type = navy + + available = { + always = yes + } + + ai_will_do = { + base = 1 + modifier = { + factor = 95 + original_tag = BYG + } + modifier = { + factor = 95 + original_tag = SAD + } + } + + # EFFECTS + screening_efficiency = 0.05 + + rewards = { + first_line_of_defense = { + destroyer = { + max_organisation = 5 + anti_air_attack = 0.1 + } + modifier = { + convoy_retreat_speed = 0.1 + } + } + first_line_of_attack = { + light_cruiser = { + max_organisation = 10 + surface_detection = 0.05 + } + } + rescue_mission = { + modifier = { + navy_casualty_on_hit = -0.2 + navy_casualty_on_sink = -0.35 + } + } + fleet_coordination = { + light_cruiser = { + max_organisation = 5 + sub_detection = 0.1 + } + destroyer = { + max_organisation = 5 + sub_detection = 0.1 + } + screening_efficiency = 0.10 + } + early_warning = { + destroyer = { + max_organisation = 5 + anti_air_attack = 0.1 + surface_detection = 0.10 + } + light_cruiser = { + max_organisation = 5 + anti_air_attack = 0.1 + surface_detection = 0.10 + } + } + } +} + +hunter_killers = { + track = screens + name = SUBDOCTRINE_SCREEN_HUNTER_KILLERS + description = SUBDOCTRINE_SCREEN_HUNTER_KILLERS_DESC + icon = GFX_doctrine_hunter_killer_groups_medium + + xp_cost = 100 + xp_type = navy + + available = { + + } + + ai_will_do = { + base = 1 + modifier = { + factor = 95 + OR = { + original_tag = YUW + original_tag = BFL + } + } + } + + # EFFECTS + naval_coordination = 0.10 + + rewards = { + search_and_destroy = { + destroyer = { + sub_detection = 0.1 + } + } + flotilla_leader = { + light_cruiser = { + sub_detection = 0.1 + } + } + group_operations = { + destroyer = { + max_organisation = 5 + sub_attack = 0.10 + } + light_cruiser = { + max_organisation = 5 + sub_attack = 0.1 + } + } + convoy_escort = { + modifier = { + convoy_escort_efficiency = 0.1 + convoy_retreat_speed = 0.1 + } + } + light_force = { + light_cruiser = { + max_organisation = 5 + sub_detection = 0.05 + } + destroyer = { + max_organisation = 5 + sub_detection = 0.05 + } + modifier = { + naval_enemy_fleet_size_ratio_penalty_factor = 0.1 + } + } + } +} + +torpedo_primacy = { + track = screens + name = SUBDOCTRINE_SCREEN_TORPEDO_PRIMACY + description = SUBDOCTRINE_SCREEN_TORPEDO_PRIMACY_DESC + icon = GFX_doctrine_torpedo_groups_medium + + xp_cost = 100 + xp_type = navy + + ai_will_do = { + base = 0 + modifier = { + factor = 95 + original_tag = CHY + } + } + available = { + always = yes + } + naval_torpedo_hit_chance_factor = 0.1 + convoy_raiding_efficiency_factor = 0.05 + + rewards = { + + modern_broadsides = { + destroyer = { + torpedo_attack = 0.2 + } + } + coordinated_fire_patterns = { + destroyer = { + max_organisation = 10 + } + } + dedicated_torpedo_task_forces = { + light_cruiser = { + max_organisation = 10 + torpedo_attack = 0.2 + } + } + torpedo_rearming = { + modifier = { + naval_torpedo_cooldown_factor = -0.25 + } + } + night_combat_training = { + naval_night_attack = 0.1 + night_spotting_chance = 0.1 + heavy_cruiser = { + torpedo_attack = 0.1 + } + } + } +} + +jeune_ecole = { + track = screens + name = SUBDOCTRINE_SCREEN_JEUNE_ECOLE + description = SUBDOCTRINE_SCREEN_JEUNE_ECOLE_DESC + icon = GFX_doctrine_battlefleet_concentration_medium + xp_cost = 100 + xp_type = navy + + available = { + #TODO: special project + always = yes + } + + convoy_raiding_efficiency_factor = 0.1 + destroyer = { + torpedo_attack = 0.1 + } + light_cruiser = { + torpedo_attack = 0.1 + } + + rewards = { + + commerce_raiding_priority = { + light_cruiser = { + convoy_raiding_coordination = 0.05 + max_organisation = 10 + } + } + long_range_torpedo = { + modifier = { + naval_torpedo_screen_penetration_factor = 0.1 + } + } + total_economic_warfare = { + destroyer = { + convoy_raiding_coordination = 0.05 + max_organisation = 10 + } + } + convoy_escort = { + modifier = { + convoy_escort_efficiency = 0.1 + } + } + coastal_patrol = { + modifier = { + mines_planting_by_fleets_factor = 0.2 + } + } + } +} \ No newline at end of file diff --git a/src/common/doctrines/subdoctrines/sea/navy_submarine_doctrines.txt b/src/common/doctrines/subdoctrines/sea/navy_submarine_doctrines.txt new file mode 100755 index 0000000..6251ed8 --- /dev/null +++ b/src/common/doctrines/subdoctrines/sea/navy_submarine_doctrines.txt @@ -0,0 +1,245 @@ +wolfpacks = { + track = submarines + name = SUBDOCTRINE_SUBMARINE_WOLFPACKS + description = SUBDOCTRINE_SUBMARINE_WOLFPACKS_DESC + icon = GFX_doctrine_wolfpacks_medium + + xp_cost = 100 + xp_type = navy + + available = { + always = yes + } + + ai_will_do = { + base = 1 + modifier = { + factor = 75 + original_tag = TIX + } + } + + # EFFECTS + submarine = { + max_organisation = 10 + torpedo_attack = 0.05 + } + + rewards = { + predictive_expertise = { + submarine = { + torpedo_attack = 0.05 + naval_torpedo_hit_chance_factor = 0.05 + } + modifier = { + naval_torpedo_reveal_chance_factor = -0.05 + } + } + pack_search_patterns = { + submarine = { + surface_detection = 0.1 + convoy_raiding_coordination = 0.1 + } + } + improvisation = { + submarine = { + reliability = 0.1 + max_organisation = 10 + } + sub_retreat_speed = 0.1 + } + rough_weather_procedure = { + equipment_bonus = { + ship_hull_submarine = { + naval_weather_penalty_factor = -0.15 + } + } + } + wolfpack_coordination = { + submarine = { + max_organisation = 5 + surface_detection = 0.1 + convoy_raiding_coordination = 0.15 + } + } + } + mastery = { + multiplier = 2 + } +} + +submarine_fleet_operations = { + track = submarines + name = SUBDOCTRINE_SUBMARINE_FLEET_OPERATIONS + description = SUBDOCTRINE_SUBMARINE_FLEET_OPERATIONS_DESC + icon = GFX_doctrine_submarine_operations_medium + + xp_cost = 100 + xp_type = navy + + available = { + always = yes + } + + ai_will_do = { + base = 1 + modifier = { + factor = 25 + original_tag = BYG + } + modifier = { + factor = 25 + original_tag = YUW + } + modifier = { + factor = 25 + original_tag = SAD + } + modifier = { + factor = 25 + original_tag = BFL + } + } + + # EFFECTS + navy_submarine_attack_factor = 0.05 + naval_torpedo_screen_penetration_factor = 0.05 + + rewards = { + long_range_patrol_schedule = { + submarine = { + naval_range = 0.1 #TODO: does this work? + } + } + sustained_operations = { + submarine = { + max_organisation = 10 + convoy_raiding_coordination = 0.1 + } + } + ambush_tactics = { + navy_submarine_attack_factor = 0.10 + } + submarine_picket = { + submarine = { + surface_detection = 0.15 + } + } + trade_interdiction = { + submarine = { + max_organisation = 5 + convoy_raiding_coordination = 0.10 + surface_detection = 0.1 + } + } + } + mastery = { + multiplier = 2 + } +} + +capital_hunters = { + track = submarines + name = SUBDOCTRINE_SUBMARINE_CAPITAL_HUNTERS + description = SUBDOCTRINE_SUBMARINE_CAPITAL_HUNTERS_DESC + icon = GFX_doctrine_unrestricted_submarine_warfare_medium + + xp_cost = 100 + xp_type = navy + + ai_will_do = { + base = 1 + modifier = { + factor = 25 + original_tag = CHY + } + } + available = { + always = yes + } + + naval_torpedo_reveal_chance_factor = -0.1 + + rewards = { + fire_protocol_drills = { + submarine = { + naval_torpedo_hit_chance_factor = 0.1 + } + } + battle_line_priority = { + naval_torpedo_screen_penetration_factor = 0.05 + } + quick_reload_procedures = { + naval_torpedo_cooldown_factor = -0.125 + } + battleship_chase = { + submarine = { + fuel_consumption = -0.1 + naval_range = 0.1 + } + } + escape_when_empty = { + modifier = { + sub_retreat_speed = 0.15 + } + } + } + mastery = { + multiplier = 2 + } +} + +submarine_coastal_defense = { + track = submarines + name = SUBDOCTRINE_SUBMARINE_COASTAL_DEFENSE + description = SUBDOCTRINE_SUBMARINE_COASTAL_DEFENSE_DESC + icon = GFX_doctrine_undersea_blockade_medium + + xp_cost = 100 + xp_type = navy + + available = { + has_tech = midget_submarines + } + + submarine = { + supply_consumption = -0.02 + } + + rewards = { + + optimized_compartments = { + equipment_bonus = { + vnr_ship_hull_midget_submarine = { + reliability = 0.1 + instant = yes + } + } + } + patrol_vigilance = { + submarine = { + max_organisation = 5 + surface_detection = 0.1 + } + } + maneuever_fire = { + modifier = { + naval_torpedo_cooldown_factor = -0.125 + } + } + locals_knowledge = { + submarine = { + max_organisation = 5 + convoy_raiding_coordination = 0.05 + } + } + high_explosive_torpedo = { + submarine = { + torpedo_attack = 0.1 + } + } + } + mastery = { + multiplier = 2 + } +} diff --git a/src/common/ideas/navy_spirits.txt b/src/common/ideas/navy_spirits.txt new file mode 100755 index 0000000..1adfb43 --- /dev/null +++ b/src/common/ideas/navy_spirits.txt @@ -0,0 +1,843 @@ +ideas = { + naval_academy_spirit = { + instilled_aggression_spirit = { + ledger = navy + available = { has_naval_academy = yes } + modifier = { + custom_modifier_tooltip = instilled_aggression_spirit_tt + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + calculated_restraint_spirit = { + ledger = navy + available = { has_naval_academy = yes } + modifier = { + custom_modifier_tooltip = calculated_restraint_spirit_tt + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + signals_training_spirit = { + ledger = navy + available = { has_naval_academy = yes } + modifier = { + custom_modifier_tooltip = signals_training_spirit_tt + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + fleet_in_being_academy_spirit = { + ledger = navy + available = { + AND = { + has_naval_academy = yes + has_doctrine = new_fleet_in_being + } + } + + modifier = { + custom_modifier_tooltip = fleet_in_being_academy_spirit_tt + trait_ironside_xp_gain_factor = 0.2 + trait_superior_tactician_xp_gain_factor = 0.2 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + has_doctrine = new_fleet_in_being + } + } + } + trade_interdiction_academy_spirit = { + ledger = navy + available = { + AND = { + has_naval_academy = yes + has_doctrine = new_convoy_raiding + } + } + + modifier = { + custom_modifier_tooltip = trade_interdiction_academy_spirit_tt + trait_seawolf_xp_gain_factor = 0.2 + trait_blockade_runner_xp_gain_factor = 0.2 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + has_doctrine = new_convoy_raiding + } + } + } + base_strike_academy_spirit = { + ledger = navy + available = { + AND = { + has_naval_academy = yes + has_doctrine = new_base_strike + } + } + + modifier = { + custom_modifier_tooltip = base_strike_academy_spirit_tt + trait_air_controller_xp_gain_factor = 0.2 + trait_fleet_protector_xp_gain_factor = 0.2 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + has_doctrine = new_base_strike + } + } + } + best_of_the_best_naval_academy_spirit = { + ledger = navy + available = { has_naval_academy = yes } + modifier = { + navy_leader_start_level = 2 + navy_intel_to_others = -5.0 + custom_modifier_tooltip = best_of_the_best_naval_academy_spirit_tt + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + ship_to_shore_navy_spirit = { + ledger = navy + visible = { has_dlc = "No Compromise, No Surrender" } + available = { + has_doctrine = naval_gunfire_support + } + + modifier = { + trait_ironside_xp_gain_factor = 0.35 + shore_bombardment_collateral_damage_factor = 0.50 + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Compromise, No Surrender" } + } + modifier = { + factor = 2 + has_doctrine = naval_gunfire_support + } + } + } + stay_at_your_posts_navy_spirit = { + ledger = navy + visible = { has_dlc = "No Compromise, No Surrender" } + available = { + + } + + modifier = { + trait_blockade_runner_xp_gain_factor = 0.35 + naval_accidents_chance = -0.15 + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Compromise, No Surrender" } + } + modifier = { + factor = 2 + has_doctrine = screen_support_focus + } + } + } + etajima_naval_academy = { + ledger = navy + visible = { original_tag = CHY } + modifier = { + navy_leader_start_level = 1 + trait_air_controller_xp_gain_factor = 0.15 + trait_superior_tactician_xp_gain_factor = 0.15 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + annapolis_naval_academy = { + ledger = navy + visible = { original_tag = BYG } + modifier = { + trait_blue_water_expert_xp_gain_factor = 0.15 + trait_air_controller_xp_gain_factor = 0.25 + trait_fleet_protector_xp_gain_factor = 0.25 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + dartmouth_naval_academy = { + ledger = navy + visible = { original_tag = HUJ } + modifier = { + navy_leader_start_level = 2 + trait_air_controller_xp_gain_factor = 0.1 + trait_ironside_xp_gain_factor = 0.1 + trait_superior_tactician_xp_gain_factor = 0.3 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + murwik_naval_academy = { + ledger = navy + visible = { original_tag = TIX } + modifier = { + navy_leader_start_level = 1 + trait_ironside_xp_gain_factor = 0.15 + trait_seawolf_xp_gain_factor = 0.15 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + voroshilov_naval_academy = { + ledger = navy + visible = { + OR = { + original_tag = BFL + original_tag = RUS + } + has_global_flag = vnr_enabled + has_government = communism + } + cancel = { + NOT = { has_government = communism } + } + modifier = { + trait_arctic_water_expert_xp_gain_factor = 0.25 + modifier_army_sub_unit_marine_attack_factor = 0.05 + modifier_army_sub_unit_marine_defence_factor = 0.05 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + nakhimov_naval_academy = { + ledger = navy + visible = { + OR = { + original_tag = BFL + original_tag = RUS + } + OR = { + NOT = { has_global_flag = vnr_enabled } + NOT = { has_government = communism } + } + } + modifier = { + trait_arctic_water_expert_xp_gain_factor = 0.25 + modifier_army_sub_unit_marine_attack_factor = 0.05 + modifier_army_sub_unit_marine_defence_factor = 0.05 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + usn_fighter_weapons_school = { + ledger = navy + visible = { + original_tag = BYG + has_tech = super_carriers + } + modifier = { + fighter_sortie_efficiency = 0.15 + navy_anti_air_attack_factor = 0.15 + air_ace_generation_chance_factor = 0.25 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + } + + navy_spirit = { + jeune_ecole_spirit = { + ledger = navy + available = { + has_doctrine = jeune_ecole + } + research_bonus = { + dd_tech = 0.20 + } + modifier = { + ship_hull_light_design_cost_factor = -0.4 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + OR = { + has_doctrine = jeune_ecole + has_doctrine = patrol_boats + } + } + } + } + flexible_contracts_spirit = { + ledger = navy + modifier = { + naval_manufacturer_cost_factor = -0.4 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + OR = { + has_doctrine = coastal_defence_fleet + has_doctrine = screen_support_focus + } + } + } + } + integrated_designers_spirit = { + ledger = navy + available = { has_doctrine = new_convoy_raiding } + visible = { has_dlc = "Man the Guns" } + research_bonus = { + ship_modules_tech = 0.20 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + OR = { + has_doctrine = anti_aircraft_cruisers + has_doctrine = battlecruiser_supremacy + has_doctrine = escort_carrier_support + } + } + } + } + naval_reform_spirit = { + ledger = navy + available = { has_doctrine = new_base_strike } + modifier = { + experience_gain_navy_factor = 0.15 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + OR = { + has_doctrine = submarine_fleet_operations + has_doctrine = massed_carrier_fleet + has_doctrine = hunter_killers + } + } + } + } + naval_refit_yards_spirit = { + ledger = navy + modifier = { + refit_speed = 0.15 + repair_speed_factor = 0.15 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + OR = { + has_doctrine = naval_gunfire_support + has_doctrine = broad_naval_support + has_doctrine = screen_support_focus + } + } + } + } + + panama_standard = { + ledger = navy + visible = { original_tag = BYG } + research_bonus = { + bb_tech = 0.05 + bc_tech = 0.05 + } + modifier = { + ship_hull_heavy_design_cost_factor = 0.5 + } + ai_will_do = { + factor = 0 + } + } + kiel_standard = { + ledger = navy + visible = { original_tag = TIX } + equipment_bonus = { + ship_hull_heavy = { + instant = yes + build_cost_ic = 0.1 + } + ship_hull_cruiser = { + instant = yes + build_cost_ic = 0.1 + } + } + modifier = { + ship_hull_heavy_design_cost_factor = 0.4 + navy_capital_ship_defence_factor = 0.05 + } + ai_will_do = { + factor = 0 + } + } + professional_damage_control = { + ledger = navy + modifier = { + critical_receive_chance = -0.1 + naval_critical_effect_factor = -0.15 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + advancing_base = { + ledger = navy + modifier = { + production_speed_naval_base_factor = 0.2 + navy_fuel_consumption_factor = -0.1 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + advanced_supply_fleet = { + ledger = navy + available = { + has_navy_size = { + archetype = ship_hull_civilian + size > 30 + } + } + modifier = { + navy_fuel_consumption_factor = -0.15 + navy_max_range_factor = 0.1 + floating_harbor_supply = 0.4 + floating_harbor_range = 0.4 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + disciplined_crewmen = { + ledger = navy + modifier = { + navy_org_factor = 0.05 + naval_morale_factor = 0.1 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + lack_maintenance_facilities = { + ledger = navy + available = { + custom_trigger_tooltip = { + tooltip = recovering_from_naval_race_tt + NOT = { has_global_flag = vnr_enabled } + } + } + modifier = { + repair_speed_factor = -0.25 + naval_morale_factor = -0.25 + } + ai_will_do = { + factor = 0 + } + } + } + + naval_command_spirit = { + close_combat_navy_spirit = { + ledger = navy + modifier = { + critical_receive_chance = 0.05 + naval_torpedo_screen_penetration_factor = 0.1 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + night_fighting_spirit = { + ledger = navy + available = { + has_doctrine = torpedo_primacy + } + modifier = { + night_spotting_chance = 0.1 + naval_night_attack = 0.1 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + OR = { + has_doctrine = wolfpacks + has_doctrine = torpedo_primacy + has_doctrine = floating_airfields + } + } + } + } + surprise_attacks_spirit = { + ledger = navy + available = { + + } + modifier = { + naval_retreat_speed_after_initial_combat = 0.1 + naval_retreat_chance_after_initial_combat = 0.1 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + OR = { + has_doctrine = wolfpacks + has_doctrine = battlecruiser_supremacy + has_doctrine = massed_carrier_fleet + } + } + } + } + efficient_communications_spirit = { + ledger = navy + available = { + + } + modifier = { + naval_coordination = 0.1 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + + surface_raiders_spirit = { + ledger = navy + available = { + has_doctrine = armored_raiders + } + modifier = { + screening_without_screens = 0.1 + convoy_raiding_efficiency_factor = 0.05 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + decisive_battle_spirit = { + ledger = navy + available = { has_doctrine = new_fleet_in_being } + modifier = { + naval_retreat_chance = -0.1 + naval_retreat_speed = -0.1 + naval_torpedo_hit_chance_factor = 0.1 + naval_hit_chance = 0.1 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + inclimate_weather_experience_spirit = { + ledger = navy + modifier = { + navy_weather_penalty = -0.15 + } + ai_will_do = { + factor = 1.5 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + brave_commanders_spirit = { + ledger = navy + available = { + + } + modifier = { + naval_critical_score_chance_factor = 0.05 + critical_receive_chance = 0.05 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + modifier = { + factor = 2 + OR = { + has_doctrine = line_of_battle + has_doctrine = capital_hunters + has_doctrine = convoy_escort + } + } + } + } + bureau_of_ordnance_spirit = { + ledger = navy + visible = { tag = BYG } + modifier = { + naval_torpedo_hit_chance_factor = -0.1 + } + ai_will_do = { + factor = 0 + } + } + + naval_tripwire_navy_spirit = { + ledger = navy + visible = { has_dlc = "No Compromise, No Surrender" } + available = { + OR = { + has_doctrine = new_convoy_raiding + has_doctrine = coastal_defence_fleet + } + } + modifier = { + naval_enemy_fleet_size_ratio_penalty_factor = 0.10 + } + + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Compromise, No Surrender" } + } + modifier = { + factor = 2 + has_doctrine = coastal_defence_fleet + } + } + } + + underwater_death = { + ledger = navy + modifier = { + navy_submarine_attack_factor = 0.1 + navy_submarine_defence_factor = 0.05 + sub_retreat_speed = 0.05 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + efficient_escort = { + ledger = navy + modifier = { + screening_efficiency = 0.1 + convoy_escort_efficiency = 0.1 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + merchant_fleet = { + ledger = navy + available = { + has_equipment = { convoy > 199 } + } + modifier = { + convoy_retreat_speed = 0.3 + trade_opinion_factor = 0.3 + local_resources_factor = 0.05 + } + ai_will_do = { + factor = 1 + modifier = { + factor = 0 + NOT = { has_dlc = "No Step Back" } + } + } + } + inflexible_headquarter = { + ledger = navy + modifier = { + political_power_factor = 0.05 + navy_advisor_cost_factor = 0.25 + navy_leader_cost_factor = 0.25 + navy_intel_to_others = 20 + experience_gain_navy_factor = -0.15 + } + ai_will_do = { + factor = 0 + } + } + win_or_die = { + ledger = navy + available = { + has_war = yes + enemies_naval_strength_ratio > 2 + } + modifier = { + naval_damage_factor = 0.25 + naval_defense_factor = -0.25 + critical_receive_chance = 0.33 + } + ai_will_do = { + factor = 0 + } + } + recovering_from_naval_race = { # saved for KR/KX + ledger = navy + available = { + custom_trigger_tooltip = { + tooltip = recovering_from_naval_race_tt + NOT = { + has_global_flag = vnr_enabled + has_country_flag = recovered_from_naval_race + } + } + } + allowed_to_remove = { + always = no + } + modifier = { + ship_hull_carrier_design_cost_factor = 0.2 + ship_hull_heavy_design_cost_factor = 0.2 + production_speed_dockyard_factor = -0.25 + } + } + } +} diff --git a/src/common/ideas/vnr_navy_spirits.txt b/src/common/ideas/vnr_navy_spirits.txt deleted file mode 100755 index f8a52ad..0000000 --- a/src/common/ideas/vnr_navy_spirits.txt +++ /dev/null @@ -1,355 +0,0 @@ -ideas = { - naval_academy_spirit = { - etajima_naval_academy = { - ledger = navy - visible = { original_tag = CHY } - modifier = { - navy_leader_start_level = 1 - trait_air_controller_xp_gain_factor = 0.15 - trait_superior_tactician_xp_gain_factor = 0.15 - } - ai_will_do = { - factor = 1.5 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - annapolis_naval_academy = { - ledger = navy - visible = { original_tag = BYG } - modifier = { - trait_blue_water_expert_xp_gain_factor = 0.15 - trait_air_controller_xp_gain_factor = 0.25 - trait_fleet_protector_xp_gain_factor = 0.25 - } - ai_will_do = { - factor = 1.5 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - dartmouth_naval_academy = { - ledger = navy - visible = { original_tag = HUJ } - modifier = { - navy_leader_start_level = 2 - trait_air_controller_xp_gain_factor = 0.1 - trait_ironside_xp_gain_factor = 0.1 - trait_superior_tactician_xp_gain_factor = 0.3 - } - ai_will_do = { - factor = 1.5 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - murwik_naval_academy = { - ledger = navy - visible = { original_tag = TIX } - modifier = { - navy_leader_start_level = 1 - trait_ironside_xp_gain_factor = 0.15 - trait_seawolf_xp_gain_factor = 0.15 - } - ai_will_do = { - factor = 1.5 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - voroshilov_naval_academy = { - ledger = navy - visible = { - OR = { - original_tag = BFL - original_tag = RUS - } - has_global_flag = vnr_enabled - has_government = communism - } - cancel = { - NOT = { has_government = communism } - } - modifier = { - trait_arctic_water_expert_xp_gain_factor = 0.25 - modifier_army_sub_unit_marine_attack_factor = 0.05 - modifier_army_sub_unit_marine_defence_factor = 0.05 - } - ai_will_do = { - factor = 1.5 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - nakhimov_naval_academy = { - ledger = navy - visible = { - OR = { - original_tag = BFL - original_tag = RUS - } - OR = { - NOT = { has_global_flag = vnr_enabled } - NOT = { has_government = communism } - } - } - modifier = { - trait_arctic_water_expert_xp_gain_factor = 0.25 - modifier_army_sub_unit_marine_attack_factor = 0.05 - modifier_army_sub_unit_marine_defence_factor = 0.05 - } - ai_will_do = { - factor = 1.5 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - usn_fighter_weapons_school = { - ledger = navy - visible = { - original_tag = BYG - has_tech = super_carriers - } - modifier = { - fighter_sortie_efficiency = 0.15 - navy_anti_air_attack_factor = 0.15 - air_ace_generation_chance_factor = 0.25 - } - ai_will_do = { - factor = 1.5 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - } - - navy_spirit = { - panama_standard = { - ledger = navy - visible = { original_tag = BYG } - research_bonus = { - bb_tech = 0.05 - bc_tech = 0.05 - } - modifier = { - ship_hull_heavy_design_cost_factor = 0.5 - } - ai_will_do = { - factor = 0 - } - } - kiel_standard = { - ledger = navy - visible = { original_tag = TIX } - equipment_bonus = { - ship_hull_heavy = { - instant = yes - build_cost_ic = 0.1 - } - ship_hull_cruiser = { - instant = yes - build_cost_ic = 0.1 - } - } - modifier = { - ship_hull_heavy_design_cost_factor = 0.4 - navy_capital_ship_defence_factor = 0.05 - } - ai_will_do = { - factor = 0 - } - } - professional_damage_control = { - ledger = navy - modifier = { - critical_receive_chance = -0.1 - naval_critical_effect_factor = -0.15 - } - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - advancing_base = { - ledger = navy - modifier = { - production_speed_naval_base_factor = 0.2 - navy_fuel_consumption_factor = -0.1 - } - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - advanced_supply_fleet = { - ledger = navy - available = { - has_navy_size = { - archetype = ship_hull_civilian - size > 30 - } - } - modifier = { - navy_fuel_consumption_factor = -0.15 - navy_max_range_factor = 0.1 - floating_harbor_supply = 0.4 - floating_harbor_range = 0.4 - } - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - disciplined_crewmen = { - ledger = navy - modifier = { - navy_org_factor = 0.05 - naval_morale_factor = 0.1 - } - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - lack_maintenance_facilities = { - ledger = navy - available = { - custom_trigger_tooltip = { - tooltip = recovering_from_naval_race_tt - NOT = { has_global_flag = vnr_enabled } - } - } - modifier = { - repair_speed_factor = -0.25 - naval_morale_factor = -0.25 - } - ai_will_do = { - factor = 0 - } - } - } - - naval_command_spirit = { - underwater_death = { - ledger = navy - modifier = { - navy_submarine_attack_factor = 0.1 - navy_submarine_defence_factor = 0.05 - sub_retreat_speed = 0.05 - } - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - efficient_escort = { - ledger = navy - modifier = { - screening_efficiency = 0.1 - convoy_escort_efficiency = 0.1 - } - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - merchant_fleet = { - ledger = navy - available = { - has_equipment = { convoy > 199 } - } - modifier = { - convoy_retreat_speed = 0.3 - trade_opinion_factor = 0.3 - local_resources_factor = 0.05 - } - ai_will_do = { - factor = 1 - modifier = { - factor = 0 - NOT = { has_dlc = "No Step Back" } - } - } - } - inflexible_headquarter = { - ledger = navy - modifier = { - political_power_factor = 0.05 - navy_advisor_cost_factor = 0.25 - navy_leader_cost_factor = 0.25 - navy_intel_to_others = 20 - experience_gain_navy_factor = -0.15 - } - ai_will_do = { - factor = 0 - } - } - win_or_die = { - ledger = navy - available = { - has_war = yes - enemies_naval_strength_ratio > 2 - } - modifier = { - naval_damage_factor = 0.25 - naval_defense_factor = -0.25 - critical_receive_chance = 0.33 - } - ai_will_do = { - factor = 0 - } - } - recovering_from_naval_race = { # saved for KR/KX - ledger = navy - available = { - custom_trigger_tooltip = { - tooltip = recovering_from_naval_race_tt - NOT = { - has_global_flag = vnr_enabled - has_country_flag = recovered_from_naval_race - } - } - } - allowed_to_remove = { - always = no - } - modifier = { - ship_hull_carrier_design_cost_factor = 0.2 - ship_hull_heavy_design_cost_factor = 0.2 - production_speed_dockyard_factor = -0.25 - } - } - } -} \ No newline at end of file diff --git a/src/common/scripted_effects/_add_starting_tech.txt b/src/common/scripted_effects/_add_starting_tech.txt index 2bf337c..1137d98 100755 --- a/src/common/scripted_effects/_add_starting_tech.txt +++ b/src/common/scripted_effects/_add_starting_tech.txt @@ -515,9 +515,21 @@ makeup_starting_techs = { set_technology = { dry_dock = 1 heavy_crane = 1 - repair_ship = 1 hospital_ship = 1 popup = no } + if = { + limit = { has_dlc = "No Compromise, No Surrender" } + set_technology = { + support_fleet_ncns = 1 + popup = no + } + } + else = { + set_technology = { + support_fleet = 1 + popup = no + } + } } } diff --git a/src/common/technologies/MTG_naval.txt b/src/common/technologies/MTG_naval.txt index 85d504f..29edb05 100755 --- a/src/common/technologies/MTG_naval.txt +++ b/src/common/technologies/MTG_naval.txt @@ -1178,7 +1178,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -1237,7 +1237,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -1298,7 +1298,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -1350,7 +1350,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -1405,7 +1405,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -1450,7 +1450,7 @@ technologies = { folder = { name = mtgnavalfolder - position = { x = 0 y = @1948 } + position = { x = -1 y = @1948 } } ai_will_do = { @@ -1465,7 +1465,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -1500,7 +1500,7 @@ technologies = { categories = { naval_equipment radar_tech - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules electronics @@ -1541,7 +1541,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -1571,7 +1571,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -1599,7 +1599,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -1626,7 +1626,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules electronics @@ -1653,7 +1653,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules electronics @@ -1764,7 +1764,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech ship_modules_tech mio_cat_tech_all_cruiser_and_modules @@ -1810,7 +1810,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech ship_modules_tech mio_cat_tech_all_cruiser_and_modules @@ -1852,7 +1852,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech ship_modules_tech mio_cat_tech_all_cruiser_and_modules @@ -1908,7 +1908,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech ship_modules_tech mio_cat_tech_all_cruiser_and_modules @@ -1964,7 +1964,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech ship_modules_tech mio_cat_tech_all_cruiser_and_modules @@ -2020,7 +2020,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech ship_modules_tech mio_cat_tech_all_cruiser_and_modules @@ -2049,7 +2049,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech } } @@ -2099,7 +2099,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -2148,7 +2148,7 @@ technologies = { ##! special_project_specialization = { specialization_naval } ##! categories = { ##! naval_equipment - ##! cl_tech + ##! ##! ca_tech ##! mio_cat_tech_all_cruiser_and_modules ##! } @@ -2185,7 +2185,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -2223,7 +2223,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech ship_modules_tech mio_cat_tech_all_cruiser_and_modules @@ -2253,7 +2253,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech ship_modules_tech mio_cat_tech_all_screen_ship_and_modules @@ -2292,7 +2292,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech mio_cat_tech_all_cruiser_and_modules } @@ -2306,7 +2306,7 @@ technologies = { folder = { name = mtgnavalfolder - position = { x = 1 y = 20 } + position = { x = -4 y = @1944_module } } ai_will_do = { @@ -2316,7 +2316,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech } } @@ -2337,7 +2337,7 @@ technologies = { folder = { name = mtgnavalfolder - position = { x = -2 y = 21 } + position = { x = 1 y = 22 } } ai_will_do = { @@ -2352,7 +2352,7 @@ technologies = { special_project_specialization = { specialization_naval } categories = { naval_equipment - cl_tech + ca_tech ship_modules_tech mio_cat_tech_all_cruiser_and_modules @@ -2380,7 +2380,7 @@ technologies = { folder = { name = mtgnavalfolder - position = { x = 2 y = 22 } + position = { x = -2 y = @1944_module } } ai_will_do = { @@ -4635,18 +4635,17 @@ technologies = { on_research_complete = { custom_effect_tooltip = cv_tech_1_tt } - research_cost = 1.25 + research_cost = 1.5 start_year = 1939 - xp_research_type = navy - xp_boost_cost = 10 + xp_research_type = air + xp_boost_cost = 50 xp_research_bonus = 1.25 cv_cas = { naval_strike_attack = 0.2 naval_strike_targetting = 0.15 air_agility = 0.15 - maximum_speed = 0.1 } folder = { @@ -4665,10 +4664,6 @@ technologies = { } } - dependencies = { - armor_piercing_bombs = 1 - } - special_project_specialization = { specialization_naval specialization_air } categories = { naval_equipment @@ -6290,113 +6285,6 @@ technologies = { } } - naval_radio_guiding_system = { - dependencies = { - radio_detection = 1 - improved_computing_machine = 1 - } - path = { - leads_to_tech = ship_to_ship_missile - research_cost_coeff = 1 - } - start_year = 1943 - research_cost = 1 - folder = { - name = mtgnavalfolder - position = { x = 0 y = 0 } - } - - enable_equipment_modules = { - vlf_receiver - } - - naval_coordination = 0.05 - - ai_will_do = { - factor = 1 - modifier = { - factor = 7 - has_navy_size = { size > 100 } - } - } - special_project_specialization = { specialization_naval } - categories = { - naval_equipment - electronics - radar_tech - } - } - - ship_to_ship_missile = { - on_research_complete = { - custom_effect_tooltip = ca_tech_8_tt - } - research_cost = 1.5 - start_year = 1945 - is_special_project_tech = yes - - allow = { - ROOT = { - is_special_project_completed = sp:sp_rockets_ballistic_missile - } - } - - folder = { - name = mtgnavalfolder - position = { x = 0 y = 4 } - } - path = { - leads_to_tech = advanced_missile_system - research_cost_coeff = 1 - } - - ai_will_do = { - factor = 2 - } - - enable_equipment_modules = { - ship_missile_1 - ship_cruise_missile_1 - ship_missile_aa_1 - } - - special_project_specialization = { specialization_naval } - categories = { - rocketry - naval_equipment - ship_modules_tech - } - } - - advanced_missile_system = { - on_research_complete = { - custom_effect_tooltip = ca_tech_9_tt - } - research_cost = 2 - start_year = 1949 - - folder = { - name = mtgnavalfolder - position = { x = 0 y = 6 } - } - - ai_will_do = { - factor = 2 - } - - enable_equipment_modules = { - ship_missile_2 - ship_missile_aa_2 - } - - special_project_specialization = { specialization_naval } - categories = { - rocketry - naval_equipment - ship_modules_tech - } - } - obsolete_vanilla_hulls = { enable_equipments = { ship_hull_light_1 diff --git a/src/common/technologies/MTG_naval_Support.txt b/src/common/technologies/MTG_naval_Support.txt index 6a0080a..ab01aab 100755 --- a/src/common/technologies/MTG_naval_Support.txt +++ b/src/common/technologies/MTG_naval_Support.txt @@ -18,6 +18,7 @@ technologies = { research_cost_coeff = 1 } on_research_complete = { + custom_effect_tooltip = bb_tech_3_tt custom_effect_tooltip = light_battery_advice_tt custom_effect_tooltip = medium_battery_advice_tt custom_effect_tooltip = heavy_battery_advice_tt @@ -87,6 +88,7 @@ technologies = { research_cost_coeff = 1 } on_research_complete = { + custom_effect_tooltip = bb_tech_3_tt custom_effect_tooltip = light_battery_advice_tt custom_effect_tooltip = medium_battery_advice_tt custom_effect_tooltip = heavy_battery_advice_tt @@ -167,6 +169,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = ca_tech_6_tt custom_effect_tooltip = light_battery_advice_tt } @@ -291,6 +294,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = ca_tech_6_tt custom_effect_tooltip = light_battery_advice_tt } @@ -411,6 +415,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = dd_tech_11_tt custom_effect_tooltip = light_battery_advice_tt } @@ -450,6 +455,7 @@ technologies = { on_research_complete = { + custom_effect_tooltip = ca_tech_6_tt custom_effect_tooltip = medium_battery_advice_tt custom_effect_tooltip = secondary_battery_advice_tt } @@ -556,6 +562,7 @@ technologies = { on_research_complete = { + custom_effect_tooltip = ca_tech_6_tt custom_effect_tooltip = medium_battery_advice_tt } enable_equipment_modules = { @@ -663,6 +670,7 @@ technologies = { ship_secondaries_4 } on_research_complete = { + custom_effect_tooltip = ca_tech_12_tt custom_effect_tooltip = medium_battery_advice_tt } @@ -715,6 +723,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = bb_tech_3_tt custom_effect_tooltip = heavy_battery_advice_tt } @@ -764,6 +773,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = bb_tech_3_tt custom_effect_tooltip = heavy_battery_advice_tt } @@ -808,6 +818,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = bb_tech_11_tt custom_effect_tooltip = heavy_battery_advice_tt } @@ -975,6 +986,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = dd_tech_10_tt custom_effect_tooltip = secondary_battery_advice_tt } @@ -1018,6 +1030,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = dd_tech_10_tt custom_effect_tooltip = secondary_battery_advice_tt } @@ -1066,6 +1079,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = dd_tech_11_tt custom_effect_tooltip = secondary_battery_advice_tt } @@ -1111,6 +1125,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = ca_tech_12_tt custom_effect_tooltip = secondary_battery_advice_tt } @@ -1170,6 +1185,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = bb_tech_8_tt custom_effect_tooltip = heavy_battery_advice_tt } @@ -1215,6 +1231,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = bb_tech_8_tt custom_effect_tooltip = heavy_battery_advice_tt } @@ -1252,6 +1269,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = bb_tech_8_tt custom_effect_tooltip = heavy_battery_advice_tt } @@ -1331,6 +1349,10 @@ technologies = { naval_light_gun_hit_chance_factor = 0.05 } + on_research_complete = { + custom_effect_tooltip = dd_tech_12_tt + } + dependencies = { advanced_fire_control_system = 1 radio = 1 @@ -1371,6 +1393,7 @@ technologies = { start_year = 1949 on_research_complete = { + custom_effect_tooltip = dd_tech_12_tt custom_effect_tooltip = light_battery_advice_tt } @@ -1406,6 +1429,113 @@ technologies = { } } + naval_radio_guiding_system = { + dependencies = { + radio_detection = 1 + improved_computing_machine = 1 + } + path = { + leads_to_tech = ship_to_ship_missile + research_cost_coeff = 1 + } + start_year = 1943 + research_cost = 1 + folder = { + name = mtgnavalsupportfolder + position = { x = 0 y = 0 } + } + + enable_equipment_modules = { + vlf_receiver + } + + naval_coordination = 0.05 + + ai_will_do = { + factor = 1 + modifier = { + factor = 7 + has_navy_size = { size > 100 } + } + } + special_project_specialization = { specialization_naval } + categories = { + naval_equipment + electronics + radar_tech + } + } + + ship_to_ship_missile = { + on_research_complete = { + custom_effect_tooltip = ca_tech_8_tt + } + research_cost = 1.5 + start_year = 1945 + is_special_project_tech = yes + + allow = { + ROOT = { + is_special_project_completed = sp:sp_rockets_ballistic_missile + } + } + + folder = { + name = mtgnavalsupportfolder + position = { x = 0 y = 3 } + } + path = { + leads_to_tech = advanced_missile_system + research_cost_coeff = 1 + } + + ai_will_do = { + factor = 2 + } + + enable_equipment_modules = { + ship_missile_1 + ship_cruise_missile_1 + ship_missile_aa_1 + } + + special_project_specialization = { specialization_naval } + categories = { + rocketry + naval_equipment + ship_modules_tech + } + } + + advanced_missile_system = { + on_research_complete = { + custom_effect_tooltip = ca_tech_9_tt + } + research_cost = 2 + start_year = 1949 + + folder = { + name = mtgnavalsupportfolder + position = { x = 0 y = 6 } + } + + ai_will_do = { + factor = 2 + } + + enable_equipment_modules = { + ship_missile_2 + ship_missile_aa_2 + } + + special_project_specialization = { specialization_naval } + categories = { + rocketry + naval_equipment + ship_modules_tech + } + } + ### ## ### ### ### ### ## # # ## ### ## ### ### ### # # # # # # # # # # # # # # # # # # # # # # # # # # # ### ### ## # # # # # # # #### ### #### ## ### ## @@ -1438,6 +1568,7 @@ technologies = { naval_torpedo_screen_penetration_factor = 0.05 on_research_complete = { + custom_effect_tooltip = dd_tech_6_tt custom_effect_tooltip = torpedo_advice_tt } @@ -1882,6 +2013,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = dd_tech_6_tt custom_effect_tooltip = torpedo_advice_tt } @@ -1926,6 +2058,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = dd_tech_6_tt custom_effect_tooltip = torpedo_advice_tt } @@ -1972,6 +2105,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = dd_tech_6_tt custom_effect_tooltip = torpedo_advice_tt } @@ -2013,6 +2147,7 @@ technologies = { } on_research_complete = { + custom_effect_tooltip = dd_tech_6_tt custom_effect_tooltip = torpedo_advice_tt } @@ -2736,8 +2871,10 @@ technologies = { mtg_transport = { #WHEN BALANCING - ALSO FIX REGULAR NAVAL TREE - transport_capacity = -0.2 - naval_invasion_capacity = 10 + transport_capacity = -0.33 + naval_invasion_prep_days = -10 + naval_invasion_division_cap = 2 + naval_invasion_plan_cap = 1 path = { leads_to_tech = mtg_landing_craft @@ -2804,9 +2941,12 @@ technologies = { mtg_landing_craft = { - invasion_preparation = -0.5 + #invasion_preparation = -0.25 amphibious_invasion_defence = 0.15 - naval_invasion_capacity = 40 + naval_invasion_prep_days = -10 + naval_invasion_division_cap = 4 + naval_invasion_plan_cap = 3 + #naval_invasion_capacity = 20 path = { leads_to_tech = mtg_tank_landing_craft @@ -2885,7 +3025,10 @@ technologies = { amphibious_invasion = 0.25 amphibious_invasion_defence = 0.5 - naval_invasion_capacity = 100 + naval_invasion_prep_days = -10 + naval_invasion_division_cap = 5 + naval_invasion_plan_cap = 4 + #naval_invasion_capacity = 100 research_cost = 1.5 start_year = 1944 @@ -2948,7 +3091,11 @@ technologies = { research_cost_coeff = 1 } path = { - leads_to_tech = repair_ship + leads_to_tech = support_fleet + research_cost_coeff = 1 + } + path = { + leads_to_tech = support_fleet_ncns research_cost_coeff = 1 } path = { @@ -3288,13 +3435,16 @@ technologies = { logistics_tech } } - repair_ship = { + support_fleet = { research_cost = 0.3 start_year = 1920 ai_will_do = { factor = 0.25 } + allow_branch = { + NOT = { has_dlc = "No Compromise, No Surrender" } + } path = { leads_to_tech = floating_dry_dock research_cost_coeff = 1 @@ -3382,6 +3532,115 @@ technologies = { logistics_tech } } + support_fleet_ncns = { + research_cost = 0.3 + start_year = 1920 + force_use_small_tech_layout = yes + show_equipment_icon = yes + + ai_will_do = { + factor = 0.25 + } + allow_branch = { + has_dlc = "No Compromise, No Surrender" + } + path = { + leads_to_tech = floating_dry_dock_ncns + research_cost_coeff = 1 + } + folder = { + name = mtgnavalsupportfolder + position = { x = 8 y = 6 } + } + + repair_speed_factor = 0.05 + naval_accidents_chance = -0.05 + heavy_cruiser = { + reliability = 0.1 + } + medium_cruiser = { + reliability = 0.1 + } + light_cruiser = { + reliability = 0.1 + } + enable_equipments = { + support_ship_1 + repair_ship_1 + } + special_project_specialization = { specialization_naval } + categories = { + naval_equipment + } + } + floating_dry_dock_ncns = { + research_cost = 0.5 + start_year = 1936 + + ai_will_do = { + factor = 0.25 + } + path = { + leads_to_tech = logistic_system_redundancy_ncns + research_cost_coeff = 1 + } + folder = { + name = mtgnavalsupportfolder + position = { x = 8 y = 10 } + } + + repair_speed_factor = 0.1 + naval_accidents_chance = -0.05 + battleship = { + reliability = 0.1 + } + battle_cruiser = { + reliability = 0.1 + } + SH_battleship = { + reliability = 0.1 + } + + special_project_specialization = { specialization_naval } + categories = { + naval_equipment + industry + } + } + logistic_system_redundancy_ncns = { + research_cost = 0.8 + start_year = 1942 + force_use_small_tech_layout = yes + show_equipment_icon = yes + + ai_will_do = { + factor = 0.25 + } + folder = { + name = mtgnavalsupportfolder + position = { x = 8 y = 16 } + } + + auxiliary_ship = { + build_cost_ic = -0.1 + } + destroyer = { + reliability = 0.1 + } + submarine = { + reliability = 0.1 + } + enable_equipments = { + support_ship_2 + repair_ship_2 + } + + special_project_specialization = { specialization_naval } + categories = { + naval_equipment + logistics_tech + } + } hospital_ship = { research_cost = 0.35 start_year = 1918 diff --git a/src/events/00_navy_rework.txt b/src/events/00_navy_rework.txt index 2be9907..b8615c2 100755 --- a/src/events/00_navy_rework.txt +++ b/src/events/00_navy_rework.txt @@ -224,6 +224,8 @@ country_event = { add_starting_navy_spirits = yes sign_naval_treaty = yes + + ai_doctrine_workaround = yes } }