From dbccaf596a051d21ffd8a3521f5baa676e73c9ef Mon Sep 17 00:00:00 2001 From: "actions[bot]" Date: Wed, 7 Jan 2026 04:02:43 +0000 Subject: [PATCH] 2026-01-07 04:02:43 --- src/common/ai_strategy/CHY.txt | 16 +- .../decisions/tianjiang_aizuobi_decisions.txt | 14 + src/common/ideas/azurlane_generic.txt | 12 + src/common/ideas/chy.txt | 285 +- src/common/ideas/chy_new1.txt | 164 +- src/common/ideas/tianjiang.txt | 96 +- .../organizations/BFL_organization.txt | 1594 +-------- .../organizations/BLI_organization.txt | 16 +- .../organizations/BYG_organization.txt | 608 +--- .../organizations/CHY_organization.txt | 2118 +++++++++++- .../organizations/DOH_organization.txt | 692 ++-- .../organizations/HUJ_organization.txt | 21 +- .../organizations/SAD_organization.txt | 24 +- .../organizations/SIR_organization.txt | 16 +- .../organizations/TIX_organization.txt | 2984 +---------------- .../organizations/YUW_organization.txt | 16 +- src/common/national_focus/beifanglianhe.txt | 9 +- src/common/national_focus/chongying_new.txt | 33 +- .../az_tianjiang_scripted_effects.txt | 5 + src/events/ai_bianzhi.txt | 5 + .../simp_chinese/az_misc_l_simp_chinese.yml | 3 +- .../az_organization_l_simp_chinese.yml | 40 +- .../simp_chinese/azc_CHY_new_l_english.yml | 9 + .../azc_CHY_new_l_simp_chinese.yml | 7 + 24 files changed, 3032 insertions(+), 5755 deletions(-) diff --git a/src/common/ai_strategy/CHY.txt b/src/common/ai_strategy/CHY.txt index 43e4dd4..d7f7de4 100755 --- a/src/common/ai_strategy/CHY.txt +++ b/src/common/ai_strategy/CHY.txt @@ -798,14 +798,14 @@ strike_DOH = { } enable = { has_war_with = DOH - date < 1938.2.1 + date < 1937.12.1 OR = { has_global_flag = AZ_fengkuangAI_citiao_10 has_global_flag = AZ_fengkuangAI_citiao_ex } } abort = { - date > 1938.2.1 + date > 1937.12.1 NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } NOT = { has_global_flag = AZ_fengkuangAI_citiao_ex } @@ -1197,12 +1197,12 @@ CHY_hold_up_in_china = { #We got this far but there are bigger targets to worry } enable = { - date > 1937.10.1 + date > 1937.12.1 date < 1944.1.1 is_historical_focus_on = yes DOH = { has_capitulated = no } DOH = { is_ai = yes } - 613 = { # Nanjing + 1035 = { # Nanjing is_controlled_by = CHY } NOT = { has_global_flag = AZ_fengkuangAI_citiao_10 } @@ -1215,9 +1215,9 @@ CHY_hold_up_in_china = { #We got this far but there are bigger targets to worry tag = DOH - ratio = 0.1 + #ratio = 0.1 - priority = 100 + priority = 1000 ordertype = front execution_type = careful } @@ -1227,9 +1227,9 @@ CHY_hold_up_in_china = { #We got this far but there are bigger targets to worry tag = DH1 - ratio = 0.1 + #ratio = 0.1 - priority = 100 + priority = 1000 ordertype = front execution_type = careful } diff --git a/src/common/decisions/tianjiang_aizuobi_decisions.txt b/src/common/decisions/tianjiang_aizuobi_decisions.txt index 7488af1..e92241d 100755 --- a/src/common/decisions/tianjiang_aizuobi_decisions.txt +++ b/src/common/decisions/tianjiang_aizuobi_decisions.txt @@ -1,4 +1,18 @@ tianjiang_aizuobi = { + ai_sir_zuobi = { + visible = { + tag = SIR + is_ai = yes + } + available = { + is_ai = yes + has_global_flag = AZ_fengkuangAI_citiao_ex + } + fire_only_once = yes + complete_effect = { + add_ideas = TY_fkAIex_sir_debuff + } + } ai_zhongtanzuobi = { available = { OR = { diff --git a/src/common/ideas/azurlane_generic.txt b/src/common/ideas/azurlane_generic.txt index d12f6cb..270dad0 100755 --- a/src/common/ideas/azurlane_generic.txt +++ b/src/common/ideas/azurlane_generic.txt @@ -489,6 +489,18 @@ ideas = { justify_war_goal_time = 99999 } } + TY_fkAIex_sir_debuff = { + picture = dingzhenai + cancel = { + date > 1943.1.1 + } + allowed_civil_war = { + always = yes + } + modifier = { + enemy_justify_war_goal_time = 10000 + } + } az_hjll_1 = { picture = dingzhenai allowed_civil_war = { diff --git a/src/common/ideas/chy.txt b/src/common/ideas/chy.txt index 3601ccc..723ff14 100755 --- a/src/common/ideas/chy.txt +++ b/src/common/ideas/chy.txt @@ -684,6 +684,89 @@ ideas = { } industrial_concern = { + sumitomo = { + + allowed = { + original_tag = CHY + } + + research_bonus = { + excavation_tech = 0.05 + cat_production = 0.05 + } + + ai_will_do = { + base = 10 + } + + traits = { mining_zaibatsu } + } + + mitsubishi_civilian = { + + picture = mitsubishi + + allowed = { + original_tag = CHY + } + + research_bonus = { + } + + ai_will_do = { + base = 10 + + } + + traits = { armament_zaibatsu } + } + + mitsui_bank = { + + picture = JAP_mitsui + + allowed = { + original_tag = CHY + } + + research_bonus = { + electronics = 0.05 + industry = 0.1 + } + + ai_will_do = { + base = 1 + } + + traits = { industrial_conglomerate } + + modifier = { + + } + } + + yasuda_zaibatsu = { + + picture = JAP_yasuda_zaibatsu + + allowed = { + original_tag = CHY + } + + research_bonus = { + } + + ai_will_do = { + base = 1 + } + + traits = { zaibatsu_bank } + + modifier = { + political_power_factor = -0.1 + consumer_goods_factor = -0.2 + } + } kawasaki = { allowed = { @@ -693,27 +776,17 @@ ideas = { research_bonus = { industry = 0.15 } + + ai_will_do = { + base = 0.5 + } traits = { industrial_concern } } - - sumitomo = { - - allowed = { - original_tag = CHY - } - - research_bonus = { - electronics = 0.15 - } - - traits = { electronics_concern } - } - JAP_idemitsu_kosan = { - picture = generic_industrial_concern_2 + picture = JAP_idemitsu_kosan allowed = { original_tag = CHY @@ -723,10 +796,192 @@ ideas = { industry = 0.05 synth_resources = 0.1 } + + ai_will_do = { + base = 0.5 + } traits = { refinery_concern } } + hitachi_civilian = { + + picture = JAP_hitachi + + allowed = { + original_tag = CHY + } + + research_bonus = { + electronics = 0.15 + excavation_tech = 0.05 + } + + ai_will_do = { + base = 0.5 + } + + traits = { electronics_concern } + } + + imperial_japanese_airways = { + + picture = JAP_imperial_airways + + allowed = { + original_tag = CHY + } + + research_bonus = { + air_equipment = 0.05 + } + + ai_will_do = { + base = 1 + } + + traits = { civilian_airway_company } + + modifier = { + } + } + + tetsudou_shou = { + + picture = JAP_tetsudo_sho + + allowed = { + original_tag = CHY + } + + ai_will_do = { + base = 0.5 + } + + traits = { railway_company } + + modifier = { + } + } + + oriental_development_company = { + + picture = JAP_oriental_development_company + + allowed = { + original_tag = CHY + } + + ai_will_do = { + base = 0.5 + } + + visible = { + NOT = { + has_completed_focus = CHY_gongyejituan + } + } + + traits = { colonial_investments_company } + + modifier = { + non_core_manpower = 0.01 + local_resources_factor = 0.05 + resistance_target = -0.05 + production_speed_infrastructure_factor = 0.05 + } + } + + oriental_development_company_upgraded = { + + name = oriental_development_company + + picture = JAP_oriental_development_company + + allowed = { + original_tag = CHY + } + + visible = { + has_completed_focus = CHY_gongyejituan + } + + available = { + has_completed_focus = CHY_gongyejituan + } + + ai_will_do = { + base = 1 + } + + traits = { colonial_investments_company } + + modifier = { + non_core_manpower = 0.02 + local_resources_factor = 0.1 + resistance_target = -0.1 + production_speed_infrastructure_factor = 0.2 + consumer_goods_factor = -0.05 + } + } + + + + nanyou_kouhatsu = { + + picture = JAP_nanyo_kohatsu + + allowed = { + original_tag = CHY + } + + ai_will_do = { + base = 1 + } + + traits = { south_seas_development_company } + + modifier = { + non_core_manpower = 0.01 + local_resources_factor = 0.05 + consumer_goods_factor = -0.05 + } + } + + japan_steel_works = { + + picture = JAP_japan_steel_works + + allowed = { + original_tag = CHY + } + + research_bonus = { + industry = 0.1 + } + + ai_will_do = { + base = 1 + } + + traits = { industrial_steel_mills_trait } + } + + doumei_tsushin = { + + picture = JAP_domei_tsushin + + allowed = { + original_tag = CHY + } + + ai_will_do = { + base = 1 + } + + traits = { national_news_agency } + } + } materiel_manufacturer = { diff --git a/src/common/ideas/chy_new1.txt b/src/common/ideas/chy_new1.txt index d980fc3..41e5aaa 100755 --- a/src/common/ideas/chy_new1.txt +++ b/src/common/ideas/chy_new1.txt @@ -134,7 +134,8 @@ ideas = { always = yes } modifier = { - consumer_goods_factor = 0.15 + consumer_goods_factor = 0.05 + industrial_capacity_dockyard = 0.1 production_speed_dockyard_factor = 0.05 production_speed_naval_base_factor = 0.2 production_speed_coastal_bunker_factor = 0.2 @@ -146,7 +147,7 @@ ideas = { always = yes } modifier = { - research_speed_factor = 0.15 + research_speed_factor = 0.25 } } chy_hangmu_buff_1 = { @@ -294,16 +295,16 @@ ideas = { always = yes } modifier = { - army_infantry_attack_factor = 0.3 - army_infantry_defence_factor = 0.3 - army_artillery_attack_factor = 0.2 - army_artillery_defence_factor = 0.1 - army_morale = 0.1 - army_org_factor = 0.1 - army_strength_factor = 0.1 - supply_consumption_factor = -0.25 - out_of_supply_factor = -0.1 - land_reinforce_rate = 0.04 + army_infantry_attack_factor = 0.5 + army_infantry_defence_factor = 0.5 + army_artillery_attack_factor = 0.3 + army_artillery_defence_factor = 0.3 + army_morale = 0.2 + army_org_factor = 0.25 + army_strength_factor = 0.25 + supply_consumption_factor = -0.33 + out_of_supply_factor = -0.33 + land_reinforce_rate = 0.1 #无效词条terrain_penalty_reduction = 0.2 } } @@ -345,17 +346,17 @@ ideas = { always = yes } modifier = { - army_armor_attack_factor = 0.1 - army_armor_defence_factor = 0.1 - motorized_attack_factor = 0.1 - motorized_defence_factor = 0.1 - mechanized_attack_factor = 0.1 - mechanized_defence_factor = 0.1 - breakthrough_factor = 0.1 - max_planning_factor = 0.1 - planning_speed = 0.1 - army_org_factor = 0.1 - army_speed_factor = 0.05 + army_armor_attack_factor = 0.2 + army_armor_defence_factor = 0.2 + motorized_attack_factor = 0.3 + motorized_defence_factor = 0.3 + mechanized_attack_factor = 0.3 + mechanized_defence_factor = 0.3 + breakthrough_factor = 0.2 + max_planning_factor = 0.3 + planning_speed = 0.5 + army_org_factor = 0.3 + army_speed_factor = 0.1 } } CHY_sakulajundui_buff = { @@ -364,13 +365,13 @@ ideas = { always = yes } modifier = { - army_attack_factor = 0.2 - army_defence_factor = 0.2 - army_attack_against_major_factor = 0.1 - army_defence_against_major_factor = 0.1 - breakthrough_factor = 0.2 - army_org_factor = 0.3 - xp_gain_factor = 0.5 + army_attack_factor = 0.3 + army_defence_factor = 0.3 + army_attack_against_major_factor = 0.2 + army_defence_against_major_factor = 0.2 + breakthrough_factor = 0.3 + army_org_factor = 0.4 + xp_gain_factor = 0.8 } } CHY_haijunluzhandui_buff = { @@ -564,12 +565,12 @@ ideas = { modifier = { stability_factor = 0.25 - army_morale_factor = 0.1 - army_strength_factor = 0.05 - army_org_factor = 0.1 - army_core_attack_factor = 0.2 - army_core_defence_factor = 0.2 - experience_loss_factor = 0.1 + army_morale_factor = 0.25 + army_strength_factor = 0.25 + army_org_factor = 0.15 + army_core_attack_factor = 0.5 + army_core_defence_factor = 0.5 + experience_loss_factor = 0.15 } } chy_wushidaojinshen_buff = { @@ -580,10 +581,10 @@ ideas = { } modifier = { - conscription = 0.025 - army_infantry_attack_factor = 0.3 - army_infantry_defence_factor = 0.2 - weekly_casualties_war_support = 0.001 + conscription = 0.05 + army_infantry_attack_factor = 0.4 + army_infantry_defence_factor = 0.4 + weekly_casualties_war_support = 0.01 } } chy_chichenghangmu_buff = { @@ -733,8 +734,8 @@ ideas = { } targeted_modifier = { tag = BYG - attack_bonus_against = 0.1 - defense_bonus_against = 0.1 + attack_bonus_against = 0.3 + defense_bonus_against = 0.3 } } CHY_hujwar_buff = { @@ -744,13 +745,13 @@ ideas = { } targeted_modifier = { tag = HUJ - attack_bonus_against = 0.1 - defense_bonus_against = 0.1 + attack_bonus_against = 0.3 + defense_bonus_against = 0.3 } targeted_modifier = { tag = YUW - attack_bonus_against = 0.1 - defense_bonus_against = 0.1 + attack_bonus_against = 0.3 + defense_bonus_against = 0.3 } } CHY_help_americas_buff = { @@ -759,11 +760,11 @@ ideas = { always = yes } modifier = { - army_attack_factor = 0.2 - breakthrough_factor = 0.2 - army_org_factor = 0.2 - army_morale = 0.1 - supply_consumption_factor = -0.1 + army_attack_factor = 0.5 + breakthrough_factor = 0.5 + army_org_factor = 0.5 + army_morale = 0.3 + supply_consumption_factor = -0.5 } } chy_shouhu_buff = { @@ -772,11 +773,11 @@ ideas = { always = yes } modifier = { - conscription = 0.01 - army_defence_factor = 0.1 - army_org_factor = 0.1 - army_morale_factor = 0.1 - land_reinforce_rate = 0.02 + conscription = 0.03 + army_defence_factor = 0.2 + army_org_factor = 0.2 + army_morale_factor = 0.2 + land_reinforce_rate = 0.05 } } chy_hepinyindao_buff = { @@ -913,6 +914,57 @@ ideas = { production_speed_buildings_factor = 0.01 } } + CHY_mitsubishi_hold = { + picture = GFX_idea_mitsubishi + allowed_civil_war = { + always = yes + } + modifier = { + political_power_factor = -0.05 + production_speed_dockyard_factor = 0.1 + production_speed_arms_factory_factor = 0.1 + industrial_capacity_factory = 0.1 + industrial_capacity_dockyard = 0.1 + } + } + CHY_nakajima_hold = { + picture = GFX_idea_nakajima + allowed_civil_war = { + always = yes + } + modifier = { + political_power_factor = -0.05 + } + equipment_bonus = { + small_plane_airframe = { + build_cost_ic = -0.2 instant = yes + } + medium_plane_airframe = { + build_cost_ic = -0.2 instant = yes + } + large_plane_airframe = { + build_cost_ic = -0.2 instant = yes + } + } + } + CHY_nissan_hold = { + picture = GFX_idea_nissan + allowed_civil_war = { + always = yes + } + modifier = { + industrial_capacity_factory = 0.1 + } + equipment_bonus = { + motorized_equipment = { + build_cost_ic = -0.15 instant = yes + } + mechanized_equipment = { + build_cost_ic = -0.15 instant = yes + } + } + } + } } diff --git a/src/common/ideas/tianjiang.txt b/src/common/ideas/tianjiang.txt index 132e20e..78d3fc1 100755 --- a/src/common/ideas/tianjiang.txt +++ b/src/common/ideas/tianjiang.txt @@ -2847,23 +2847,16 @@ ideas = { always = yes } modifier = { - stability_factor = 1 - political_power_cost = -0.35 - line_change_production_efficiency_factor = 0.5 - industrial_capacity_factory = 0.5 - industrial_capacity_dockyard = 0.5 + line_change_production_efficiency_factor = 0.2 + industrial_capacity_factory = 0.25 + industrial_capacity_dockyard = 0.25 non_core_manpower = 0.4 navy_screen_attack_factor = 0.5 navy_screen_defence_factor = 0.5 - navy_capital_ship_attack_factor = 1 - navy_capital_ship_defence_factor = 1 - naval_speed_factor = 0.25 - navy_max_range_factor = 1 - } - targeted_modifier = { - tag = SIR - attack_bonus_against = 1 - defense_bonus_against = 1 + navy_capital_ship_attack_factor = 0.5 + navy_capital_ship_defence_factor = 0.5 + naval_speed_factor = 0.15 + navy_max_range_factor = 0.5 } } @@ -2873,78 +2866,21 @@ ideas = { always = yes } modifier = { - research_speed_factor = 2 - war_support_factor = 2 - political_power_factor = 1 - line_change_production_efficiency_factor = 1 + research_speed_factor = 1 + line_change_production_efficiency_factor = 0.2 industrial_capacity_factory = 0.25 - industrial_capacity_dockyard = 2 - non_core_manpower = 0.5 - navy_org = 20 + industrial_capacity_dockyard = 0.8 + non_core_manpower = 0.2 + navy_org = 10 navy_screen_attack_factor = 0.5 navy_screen_defence_factor = 0.5 - navy_capital_ship_attack_factor = 1 - navy_capital_ship_defence_factor = 1 - naval_speed_factor = 0.5 - navy_max_range_factor = 3 + navy_capital_ship_attack_factor = 0.5 + navy_capital_ship_defence_factor = 0.5 + naval_speed_factor = 0.3 + navy_max_range_factor = 1 positioning = 0.25 spotting_chance = 0.5 } - targeted_modifier = { - tag = BLI - attack_bonus_against = 1 - defense_bonus_against = 1 - } - targeted_modifier = { - tag = BFL - attack_bonus_against = 2 - defense_bonus_against = 2 - } - targeted_modifier = { - tag = BYG - attack_bonus_against = 2 - defense_bonus_against = 2 - } - targeted_modifier = { - tag = HUJ - attack_bonus_against = 2 - defense_bonus_against = 2 - } - targeted_modifier = { - tag = YUW - attack_bonus_against = 2 - defense_bonus_against = 2 - } - targeted_modifier = { - tag = TIX - attack_bonus_against = 2 - defense_bonus_against = 2 - } - targeted_modifier = { - tag = SAD - attack_bonus_against = 2 - defense_bonus_against = 2 - } - targeted_modifier = { - tag = WEX - attack_bonus_against = 2 - defense_bonus_against = 2 - } - targeted_modifier = { - tag = CHY - attack_bonus_against = 2 - defense_bonus_against = 2 - } - targeted_modifier = { - tag = DOH - attack_bonus_against = 2 - defense_bonus_against = 2 - } - targeted_modifier = { - tag = DH1 - attack_bonus_against = 2 - defense_bonus_against = 2 - } } BFL_fanfxs_time = { diff --git a/src/common/military_industrial_organization/organizations/BFL_organization.txt b/src/common/military_industrial_organization/organizations/BFL_organization.txt index f948897..82d3cd0 100755 --- a/src/common/military_industrial_organization/organizations/BFL_organization.txt +++ b/src/common/military_industrial_organization/organizations/BFL_organization.txt @@ -29,7 +29,7 @@ @ship_cruiser_production_cost_factor = -0.1 @ship_destroyer_production_cost_factor = -0.1 @ship_submarine_production_cost_factor = -0.1 -@ship_production_capacity_factor = -0.05 +@ship_production_capacity_factor = -0.15 @ship_mines_sweeping = 0.1 @ship_mines_planting = 0.1 @@ -42,7 +42,7 @@ @aircraft_3_X = 9 @aircraft_3_Y = 4 #BONUSES -@aircraft_production_cost_factor = -0.05 +@aircraft_production_cost_factor = -0.1 @aircraft_air_agility = 0.05 @aircraft_air_defence = 0.1 @aircraft_surface_detection = 0.15 @@ -88,13 +88,10 @@ BFL_morozov_design_bureau_organization = { icon = GFX_idea_morozov_design_bureau special_trait_background = yes - position = { x=9 y=0 } + position = { x=@tank_1_X y=@tank_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { #Two FROM blocs to provide two different check marks in the UI @@ -125,7 +122,7 @@ BFL_morozov_design_bureau_organization = { icon = GFX_generic_mio_department_icon_tank_general_engine special_trait_background = yes - position = { x=0 y=1 } + position = { x=0 y=2 } relative_position_id = BFL_morozov_design_bureau_organization_up visible = { @@ -151,83 +148,6 @@ BFL_morozov_design_bureau_organization = { } } - add_trait = { - token = BFL_mio_trait_merge_plant_no_174 - name = BFL_merge_tank_plant - icon = GFX_generic_mio_trait_icon_maximum_speed - special_trait_background = yes - - position = { x=@tank_1_X y=@tank_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { #Three FROM blocs to provide two different check marks in the UI - - } - - on_complete = { - - } - - equipment_bonus = { - maximum_speed = @tank_max_speed - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_112 - name = BFL_merge_tank_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=@tank_2_X y=@tank_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = @tank_production_capacity_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_ural_heavy_machine_building_plant - name = BFL_merge_tank_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_soft_attack - special_trait_background = yes - - position = { x=@tank_3_X y=@tank_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - equipment_bonus = { - soft_attack = @tank_soft_attack - } - } - } BFL_astrov_design_bureau_organization = { @@ -245,13 +165,10 @@ BFL_astrov_design_bureau_organization = { icon = GFX_idea_astrov_design_bureau special_trait_background = yes - position = { x=8 y=2 } + position = { x=@tank_1_X y=@tank_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { #Two FROM blocs to provide two different check marks in the UI @@ -280,7 +197,7 @@ BFL_astrov_design_bureau_organization = { icon = GFX_generic_mio_department_icon_tank_general_engine special_trait_background = yes - position = { x=0 y=1 } + position = { x=0 y=2 } relative_position_id = BFL_astrov_design_bureau_organization_up visible = { @@ -306,83 +223,6 @@ BFL_astrov_design_bureau_organization = { } } - add_trait = { - token = BFL_mio_trait_merge_plant_no_174 - name = BFL_merge_tank_plant - icon = GFX_generic_mio_trait_icon_maximum_speed - special_trait_background = yes - - position = { x=@tank_1_X y=@tank_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { #Three FROM blocs to provide two different check marks in the UI - - } - - on_complete = { - - } - - equipment_bonus = { - maximum_speed = @tank_max_speed - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_112 - name = BFL_merge_tank_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=@tank_2_X y=@tank_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = @tank_production_capacity_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_ural_heavy_machine_building_plant - name = BFL_merge_tank_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_soft_attack - special_trait_background = yes - - position = { x=@tank_3_X y=@tank_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - equipment_bonus = { - soft_attack = @tank_soft_attack - } - } - } BFL_okmo_organization = { @@ -400,13 +240,10 @@ BFL_okmo_organization = { icon = GFX_idea_okmo special_trait_background = yes - position = { x=7 y=0 } + position = { x=@tank_1_X y=@tank_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { #Two FROM blocs to provide two different check marks in the UI @@ -435,8 +272,8 @@ BFL_okmo_organization = { icon = GFX_generic_mio_department_icon_tank_general_engine special_trait_background = yes - position = { x=0 y=1 } - relative_position_id = BFL_mio_trait_merge_ural_heavy_machine_building_plant + position = { x=0 y=2 } + relative_position_id = BFL_okmo_organization_up visible = { FROM = { original_tag = BFL } @@ -460,83 +297,6 @@ BFL_okmo_organization = { base = 100 } } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_174 - name = BFL_merge_tank_plant - icon = GFX_generic_mio_trait_icon_maximum_speed - special_trait_background = yes - - position = { x=8 y=1 } - - visible = { - FROM = { original_tag = BFL } - } - - available = { #Three FROM blocs to provide two different check marks in the UI - - } - - on_complete = { - - } - - equipment_bonus = { - maximum_speed = @tank_max_speed - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_112 - name = BFL_merge_tank_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=8 y=2 } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = @tank_production_capacity_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_ural_heavy_machine_building_plant - name = BFL_merge_tank_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_soft_attack - special_trait_background = yes - - position = { x=8 y=3 } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - equipment_bonus = { - soft_attack = @tank_soft_attack - } - } } @@ -556,20 +316,15 @@ BFL_mytishchy_machine_building_plant_organization = { icon = GFX_idea_SOV_mytishchy_machine_building_plant special_trait_background = yes - position = { x=9 y=0 } + position = { x=@tank_1_X y=@tank_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { #Two FROM blocs to provide two different check marks in the UI FROM = { - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } + has_completed_focus = BFL_junshiqiyeshenji } } @@ -593,7 +348,7 @@ BFL_mytishchy_machine_building_plant_organization = { icon = GFX_generic_mio_department_icon_tank_general_engine special_trait_background = yes - position = { x=0 y=1 } + position = { x=0 y=2 } relative_position_id = BFL_mytishchy_machine_building_plant_organization_up visible = { @@ -618,83 +373,6 @@ BFL_mytishchy_machine_building_plant_organization = { base = 100 } } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_174 - name = BFL_merge_tank_plant - icon = GFX_generic_mio_trait_icon_maximum_speed - special_trait_background = yes - - position = { x=@tank_1_X y=@tank_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { #Three FROM blocs to provide two different check marks in the UI - - } - - on_complete = { - - } - - equipment_bonus = { - maximum_speed = @tank_max_speed - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_112 - name = BFL_merge_tank_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=@tank_2_X y=@tank_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = @tank_production_capacity_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_ural_heavy_machine_building_plant - name = BFL_merge_tank_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_soft_attack - special_trait_background = yes - - position = { x=@tank_3_X y=@tank_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - equipment_bonus = { - soft_attack = @tank_soft_attack - } - } } BFL_kirov_organization = { @@ -718,20 +396,15 @@ BFL_kirov_organization = { icon = GFX_idea_SOV_kirov special_trait_background = yes - position = { x=9 y=0 } + position = { x=@tank_1_X y=@tank_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { #Two FROM blocs to provide two different check marks in the UI FROM = { - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } + has_completed_focus = BFL_junshiqiyeshenji } } @@ -755,7 +428,7 @@ BFL_kirov_organization = { icon = GFX_generic_mio_department_icon_tank_general_engine special_trait_background = yes - position = { x=0 y=1 } + position = { x=0 y=2 } relative_position_id = BFL_kirov_organization_up visible = { @@ -780,83 +453,6 @@ BFL_kirov_organization = { base = 100 } } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_174 - name = BFL_merge_tank_plant - icon = GFX_generic_mio_trait_icon_maximum_speed - special_trait_background = yes - - position = { x=@tank_1_X y=@tank_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { #Three FROM blocs to provide two different check marks in the UI - - } - - on_complete = { - - } - - equipment_bonus = { - maximum_speed = @tank_max_speed - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_112 - name = BFL_merge_tank_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=@tank_2_X y=@tank_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = @tank_production_capacity_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_ural_heavy_machine_building_plant - name = BFL_merge_tank_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_soft_attack - special_trait_background = yes - - position = { x=@tank_3_X y=@tank_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - equipment_bonus = { - soft_attack = @tank_soft_attack - } - } } @@ -884,10 +480,10 @@ BFL_nevskoye_design_bureau_organization = { icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { x=7 y=4 } + position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -918,10 +514,10 @@ BFL_nevskoye_design_bureau_organization = { icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - position = { x=8 y=4 } + position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -946,25 +542,21 @@ BFL_nevskoye_design_bureau_organization = { } } } - add_trait = { + add_trait = { #MTG version token = BFL_nevskoye_design_bureau_organization_up name = BFL_nevskoye_design_bureau_up + #icon = GFX_generic_mio_department_icon_facilities icon = GFX_idea_nevskoye_design_bureau special_trait_background = yes - position = { x=8 y=3 } + position = { x=@ship_1_X y=@ship_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } limit_to_equipment_type = { mio_cat_eq_all_cruiser mio_cat_eq_all_battleship mio_cat_eq_all_destroyer } @@ -984,98 +576,6 @@ BFL_nevskoye_design_bureau_organization = { navy_fuel_consumption_factor = -0.1 } } - - add_trait = { #MTG version - token = BFL_mio_trait_merge_plant_no_370 - name = BFL_merge_ship_plant_4_baltic - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_mines - special_trait_background = yes - - position = { x=@ship_1_X y=@ship_1_Y } - - visible = { - FROM = { original_tag = BFL } - has_dlc = "Man the Guns" - } - - available = { - - } - - on_complete = { - FROM = { - add_tech_bonus = { - bonus = 1 - uses = 1 - category = naval_mines - } - } - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser } - - production_bonus = { - production_cost_factor = @ship_production_capacity_factor - } - - equipment_bonus = { - mines_planting = @ship_mines_planting - } - } - - add_trait = { #No-MTG version - token = BFL_mio_trait_merge_plant_no_370_no_mtg - name = BFL_merge_ship_plant_4_baltic - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_mines - special_trait_background = yes - - position = { x=@ship_1_X y=@ship_1_Y } - - visible = { - FROM = { original_tag = BFL } - NOT = { has_dlc = "Man the Guns" } - } - - available = { - - } - - on_complete = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser } - - production_bonus = { - production_cost_factor = @ship_production_capacity_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_5 - name = BFL_merge_ship_plant_1_baltic - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_department_icon_ship_screen_ship_production - special_trait_background = yes - - position = { x=@ship_2_X y=@ship_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser } - - production_bonus = { - production_cost_factor = @ship_cruiser_production_cost_factor - } - } } BFL_rubin_design_bureau_organization = { @@ -1091,10 +591,10 @@ BFL_rubin_design_bureau_organization = { icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { x=3 y=4 } + position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -1125,10 +625,10 @@ BFL_rubin_design_bureau_organization = { icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - position = { x=4 y=4 } + position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -1160,19 +660,14 @@ BFL_rubin_design_bureau_organization = { icon = GFX_idea_SOV_rubin_design_bureau special_trait_background = yes - position = { x=8 y=3 } + position = { x=@ship_1_X y=@ship_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } limit_to_equipment_type = { mio_cat_eq_all_cruiser mio_cat_eq_all_destroyer ship_hull_submarine mio_cat_eq_all_battleship mio_cat_eq_all_carrier } @@ -1192,127 +687,6 @@ BFL_rubin_design_bureau_organization = { navy_fuel_consumption_factor = -0.1 } } - - add_trait = { #MTG version - token = BFL_mio_trait_merge_plant_no_370 - name = BFL_merge_ship_plant_4_baltic - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_mines - special_trait_background = yes - - position = { x=@ship_1_X y=@ship_1_Y } - - visible = { - FROM = { original_tag = BFL } - has_dlc = "Man the Guns" - } - - available = { - - } - - on_complete = { - FROM = { - add_tech_bonus = { - name = BFL_merge_ship_plant_2_baltic - bonus = 1 - uses = 1 - category = naval_mines - } - } - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser mio_cat_eq_all_destroyer ship_hull_submarine } - - production_bonus = { - production_cost_factor = @ship_production_capacity_factor - } - - equipment_bonus = { - mines_planting = @ship_mines_planting - } - } - - add_trait = { #No-MTG version - token = BFL_mio_trait_merge_plant_no_370_no_mtg - name = BFL_merge_ship_plant_4_baltic - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_mines - special_trait_background = yes - - position = { x=@ship_1_X y=@ship_1_Y } - - visible = { - FROM = { original_tag = BFL } - NOT = { has_dlc = "Man the Guns" } - } - - available = { - - } - - on_complete = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser mio_cat_eq_all_destroyer ship_hull_submarine } - - production_bonus = { - production_cost_factor = @ship_production_capacity_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_363 - name = BFL_merge_ship_plant_2_baltic - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_department_icon_ship_screen_ship_production - special_trait_background = yes - - position = { x=@ship_2_X y=@ship_2_Y } - - mutually_exclusive = { BFL_mio_trait_merge_plant_no_190 } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_destroyer } - - production_bonus = { - production_cost_factor = @ship_destroyer_production_cost_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_190 - name = BFL_merge_ship_plant_3_baltic - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_department_icon_ship_submarine_production - special_trait_background = yes - - position = { x=@ship_3_X y=@ship_3_Y } - - mutually_exclusive = { BFL_mio_trait_merge_plant_no_363 } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - limit_to_equipment_type = { ship_hull_submarine } - - production_bonus = { - production_cost_factor = @ship_submarine_production_cost_factor - } - } } BFL_black_sea_shipyard_organization = { @@ -1324,10 +698,10 @@ BFL_black_sea_shipyard_organization = { icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { x=0 y=3 } + position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -1358,10 +732,10 @@ BFL_black_sea_shipyard_organization = { icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - position = { x=1 y=3 } + position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -1426,19 +800,14 @@ BFL_black_sea_shipyard_organization = { icon = GFX_idea_SOV_black_sea_shipyard special_trait_background = yes - position = { x=9 y=0 } + position = { x=@ship_1_X y=@ship_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } limit_to_equipment_type = { mio_cat_eq_all_cruiser mio_cat_eq_all_destroyer ship_hull_submarine } @@ -1457,127 +826,6 @@ BFL_black_sea_shipyard_organization = { navy_fuel_consumption_factor = -0.1 } } - - add_trait = { #MTG version - token = BFL_mio_trait_merge_mariupol_plant - name = BFL_merge_ship_plant_4_black_sea - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_mines - special_trait_background = yes - - position = { x=@ship_1_X y=@ship_1_Y } - - visible = { - FROM = { original_tag = BFL } - has_dlc = "Man the Guns" - } - - available = { - - } - - on_complete = { - FROM = { - add_tech_bonus = { - name = BFL_merge_ship_plant_2_baltic - bonus = 1 - uses = 1 - category = naval_mines - } - } - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser mio_cat_eq_all_destroyer ship_hull_submarine } - - production_bonus = { - production_cost_factor = @ship_production_capacity_factor - } - - equipment_bonus = { - mines_planting = @ship_mines_planting - } - } - - add_trait = { #No-MTG version - token = BFL_mio_trait_merge_mariupol_plant_no_mtg - name = BFL_merge_ship_plant_4_black_sea - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_mines - special_trait_background = yes - - position = { x=@ship_1_X y=@ship_1_Y } - - visible = { - FROM = { original_tag = BFL } - NOT = { has_dlc = "Man the Guns" } - } - - available = { - - } - - on_complete = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser mio_cat_eq_all_destroyer ship_hull_submarine } - - production_bonus = { - production_cost_factor = @ship_production_capacity_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_leninskaya_kuznitsa_plant - name = BFL_merge_ship_plant_2_black_sea - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_department_icon_ship_screen_ship_production - special_trait_background = yes - - position = { x=@ship_2_X y=@ship_2_Y } - - mutually_exclusive = { BFL_mio_trait_merge_plant_no_340 } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_destroyer } - - production_bonus = { - production_cost_factor = @ship_destroyer_production_cost_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_340 - name = BFL_merge_ship_plant_3_black_sea - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_department_icon_ship_submarine_production - special_trait_background = yes - - position = { x=@ship_3_X y=@ship_3_Y } - - mutually_exclusive = { BFL_mio_trait_merge_leninskaya_kuznitsa_plant } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - limit_to_equipment_type = { ship_hull_submarine } - - production_bonus = { - production_cost_factor = @ship_submarine_production_cost_factor - } - } } BFL_sevastopol_marine_plant_organization = { @@ -1592,7 +840,7 @@ BFL_sevastopol_marine_plant_organization = { position = { x=4 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -1626,7 +874,7 @@ BFL_sevastopol_marine_plant_organization = { position = { x=5 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -1686,19 +934,14 @@ BFL_sevastopol_marine_plant_organization = { icon = GFX_idea_SOV_sevastopol_marine_plant special_trait_background = yes - position = { x=9 y=0 } + position = { x=@ship_1_X y=@ship_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } limit_to_equipment_type = { mio_cat_eq_all_cruiser mio_cat_eq_all_destroyer ship_hull_submarine mio_cat_eq_all_battleship mio_cat_eq_all_carrier } @@ -1721,99 +964,6 @@ BFL_sevastopol_marine_plant_organization = { } } - - add_trait = { #MTG version - token = BFL_mio_trait_merge_mariupol_plant - name = BFL_merge_ship_plant_4_black_sea - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_mines - special_trait_background = yes - - position = { x=@ship_1_X y=@ship_1_Y } - - visible = { - FROM = { original_tag = BFL } - has_dlc = "Man the Guns" - } - - available = { - - } - - on_complete = { - FROM = { - add_tech_bonus = { - name = BFL_merge_ship_plant_2_baltic - bonus = 1 - uses = 1 - category = naval_mines - } - } - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser } - - production_bonus = { - production_cost_factor = @ship_production_capacity_factor - } - - equipment_bonus = { - mines_planting = @ship_mines_planting - } - } - - add_trait = { #No-MTG version - token = BFL_mio_trait_merge_mariupol_plant_no_mtg - name = BFL_merge_ship_plant_4_black_sea - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_mines - special_trait_background = yes - - position = { x=@ship_1_X y=@ship_1_Y } - - visible = { - FROM = { original_tag = BFL } - NOT = { has_dlc = "Man the Guns" } - } - - available = { - - } - - on_complete = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser } - - production_bonus = { - production_cost_factor = @ship_production_capacity_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_200 - name = BFL_merge_ship_plant_1_black_sea - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_department_icon_ship_screen_ship_production - special_trait_background = yes - - position = { x=@ship_2_X y=@ship_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser } - - production_bonus = { - production_cost_factor = @ship_cruiser_production_cost_factor - } - } } @@ -1846,19 +996,14 @@ BFL_mig_design_bureau_organization = { icon = GFX_idea_mig_design_bureau special_trait_background = yes - position = { x=9 y=1 } + position = { x=@aircraft_1_X y=@aircraft_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } production_bonus = { @@ -1879,99 +1024,6 @@ BFL_mig_design_bureau_organization = { } } - add_trait = { - token = BFL_mio_trait_merge_plant_no_28 - name = BFL_merge_aircraft_plant_1 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_build_cost_ic - special_trait_background = yes - - position = { x=@aircraft_1_X y=@aircraft_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_cost_factor = @aircraft_production_cost_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_150 - name = BFL_merge_aircraft_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_air_agility - special_trait_background = yes - - position = { x=@aircraft_2_X y=@aircraft_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - FROM = { - add_resource = { - type = aluminium - amount = 3 - state = 219 - } - } - } - - equipment_bonus = { - air_agility = @aircraft_air_agility - } - } - - add_trait = { - token = BFL_mio_trait_merge_vef_plant - name = BFL_merge_aircraft_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_detection - special_trait_background = yes - - position = { x=@aircraft_3_X y=@aircraft_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - FROM = { - add_tech_bonus = { - name = BFL_mio_trait_merge_vef_plant - bonus = 1 - uses = 1 - category = radar_tech - } - } - } - - equipment_bonus = { - air_defence = @aircraft_air_defence - surface_detection = @aircraft_surface_detection - sub_detection = @aircraft_sub_detection - } - } - } BFL_ilyushin_design_bureau_organization = { @@ -1989,19 +1041,14 @@ BFL_ilyushin_design_bureau_organization = { icon = GFX_idea_ilyushin_design_bureau special_trait_background = yes - position = { x=9 y=0 } + position = { x=@aircraft_1_X y=@aircraft_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } production_bonus = { @@ -2020,99 +1067,6 @@ BFL_ilyushin_design_bureau_organization = { air_fuel_consumption_factor = -0.1 } } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_28 - name = BFL_merge_aircraft_plant_1 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_build_cost_ic - special_trait_background = yes - - position = { x=@aircraft_1_X y=@aircraft_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_cost_factor = @aircraft_production_cost_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_150 - name = BFL_merge_aircraft_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_air_agility - special_trait_background = yes - - position = { x=@aircraft_2_X y=@aircraft_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - FROM = { - add_resource = { - type = aluminium - amount = 3 - state = 219 - } - } - } - - equipment_bonus = { - air_agility = @aircraft_air_agility - } - } - - add_trait = { - token = BFL_mio_trait_merge_vef_plant - name = BFL_merge_aircraft_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_detection - special_trait_background = yes - - position = { x=@aircraft_3_X y=@aircraft_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - FROM = { - add_tech_bonus = { - name = BFL_mio_trait_merge_vef_plant - bonus = 1 - uses = 1 - category = radar_tech - } - } - } - - equipment_bonus = { - air_defence = @aircraft_air_defence - surface_detection = @aircraft_surface_detection - sub_detection = @aircraft_sub_detection - } - } } BFL_yakovlev_design_bureau_organization = { @@ -2130,19 +1084,14 @@ BFL_yakovlev_design_bureau_organization = { icon = GFX_idea_yakovlev_design_bureau special_trait_background = yes - position = { x=9 y=0 } + position = { x=@aircraft_1_X y=@aircraft_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } production_bonus = { @@ -2164,99 +1113,6 @@ BFL_yakovlev_design_bureau_organization = { } } - add_trait = { - token = BFL_mio_trait_merge_plant_no_28 - name = BFL_merge_aircraft_plant_1 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_build_cost_ic - special_trait_background = yes - - position = { x=@aircraft_1_X y=@aircraft_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_cost_factor = @aircraft_production_cost_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_150 - name = BFL_merge_aircraft_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_air_agility - special_trait_background = yes - - position = { x=@aircraft_2_X y=@aircraft_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - FROM = { - add_resource = { - type = aluminium - amount = 3 - state = 219 - } - } - } - - equipment_bonus = { - air_agility = @aircraft_air_agility - } - } - - add_trait = { - token = BFL_mio_trait_merge_vef_plant - name = BFL_merge_aircraft_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_detection - special_trait_background = yes - - position = { x=@aircraft_3_X y=@aircraft_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - FROM = { - add_tech_bonus = { - name = BFL_mio_trait_merge_vef_plant - bonus = 1 - uses = 1 - category = radar_tech - } - } - } - - equipment_bonus = { - air_defence = @aircraft_air_defence - surface_detection = @aircraft_surface_detection - sub_detection = @aircraft_sub_detection - } - } - } BFL_tupolev_design_bureau_organization = { @@ -2296,19 +1152,17 @@ BFL_tupolev_design_bureau_organization = { icon = GFX_idea_tupolev_design_bureau special_trait_background = yes - position = { x=9 y=0 } + position = { x=-1 y=1 } + relative_position_id = generic_mio_trait_pressurized_cockpit + + any_parent = { generic_mio_trait_pressurized_cockpit } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } production_bonus = { @@ -2327,99 +1181,6 @@ BFL_tupolev_design_bureau_organization = { air_fuel_consumption_factor = -0.1 } } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_28 - name = BFL_merge_aircraft_plant_1 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_build_cost_ic - special_trait_background = yes - - position = { x=@aircraft_1_X y=@aircraft_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_cost_factor = @aircraft_production_cost_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_150 - name = BFL_merge_aircraft_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_air_agility - special_trait_background = yes - - position = { x=@aircraft_2_X y=@aircraft_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - FROM = { - add_resource = { - type = aluminium - amount = 3 - state = 219 - } - } - } - - equipment_bonus = { - air_agility = @aircraft_air_agility - } - } - - add_trait = { - token = BFL_mio_trait_merge_vef_plant - name = BFL_merge_aircraft_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_detection - special_trait_background = yes - - position = { x=@aircraft_3_X y=@aircraft_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - FROM = { - add_tech_bonus = { - name = BFL_mio_trait_merge_vef_plant - bonus = 1 - uses = 1 - category = radar_tech - } - } - } - - equipment_bonus = { - air_defence = @aircraft_air_defence - surface_detection = @aircraft_surface_detection - sub_detection = @aircraft_sub_detection - } - } } @@ -2452,19 +1213,14 @@ BFL_grabin_design_bureau_organization = { icon = GFX_idea_grabin_design_bureau special_trait_background = yes - position = { x=9 y=0 } + position = { x=@materiel_1_X y=@materiel_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } limit_to_equipment_type = { artillery_equipment armor anti_tank_equipment anti_air_equipment motorized_rocket_equipment } @@ -2483,80 +1239,6 @@ BFL_grabin_design_bureau_organization = { military_industrial_organization_research_bonus = 0.15 } } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_172 - name = BFL_merge_materiel_plant_1_artillery - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_department_icon_artillery_production - special_trait_background = yes - - position = { x=@materiel_1_X y=@materiel_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - production_bonus = { - production_cost_factor = @artillery_production_cost_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_nkmz_plant - name = BFL_merge_materiel_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_efficiency_cap - special_trait_background = yes - - position = { x=@materiel_2_X y=@materiel_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_efficiency_cap_factor = @materiel_production_efficiency_cap_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_magnitogorsk_metallurgical_plant - name = BFL_merge_materiel_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=@materiel_3_X y=@materiel_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = @materiel_production_capacity_factor - } - } } BFL_tula_arms_plant_organization = { @@ -2605,19 +1287,14 @@ BFL_tula_arms_plant_organization = { icon = GFX_idea_tula_arms_plant special_trait_background = yes - position = { x=8 y=0 } + position = { x=@materiel_1_X y=@materiel_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } limit_to_equipment_type = { infantry_equipment support_equipment } @@ -2639,7 +1316,8 @@ BFL_tula_arms_plant_organization = { icon = GFX_generic_mio_department_icon_tank_general_armor special_trait_background = yes - position = { x=9 y=1 } + position = { x=0 y=-2 } + relative_position_id = BFL_tula_arms_plant_organization_up visible = { FROM = { original_tag = BFL } } @@ -2670,7 +1348,8 @@ BFL_tula_arms_plant_organization = { icon = GFX_generic_mio_department_icon_infantry_quality special_trait_background = yes - position = { x=9 y=0 } + position = { x=0 y=-1 } + relative_position_id = BFL_tula_arms_plant_organization_up visible = { FROM = { original_tag = BFL } } @@ -2692,80 +1371,6 @@ BFL_tula_arms_plant_organization = { base = 5 } } - - add_trait = { - token = BFL_mio_trait_merge_plant_no_622 - name = BFL_merge_materiel_plant_1_infantry - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_department_icon_infantry_production - special_trait_background = yes - - position = { x=@materiel_1_X y=@materiel_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - production_bonus = { - production_cost_factor = @infantry_equipment_production_cost_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_nkmz_plant - name = BFL_merge_materiel_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_efficiency_cap - special_trait_background = yes - - position = { x=@materiel_2_X y=@materiel_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_efficiency_cap_factor = @materiel_production_efficiency_cap_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_magnitogorsk_metallurgical_plant - name = BFL_merge_materiel_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=@materiel_3_X y=@materiel_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = @materiel_production_capacity_factor - } - } } BFL_gaz_organization = { @@ -2783,19 +1388,14 @@ BFL_gaz_organization = { icon = GFX_idea_gaz special_trait_background = yes - position = { x=9 y=0 } + position = { x=@materiel_1_X y=@materiel_1_Y } visible = { FROM = { original_tag = BFL } - FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } available = { - FROM = { FROM = { - has_completed_focus = BFL_junshiqiyeshenji - } } + FROM = { has_completed_focus = BFL_junshiqiyeshenji } } organization_modifier = { @@ -2811,78 +1411,4 @@ BFL_gaz_organization = { build_cost_ic = -0.2 } } - - add_trait = { - token = BFL_mio_trait_merge_automobile_tool_plant - name = BFL_merge_materiel_plant_1_motorized - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_department_icon_motorized_mechanized_production - special_trait_background = yes - - position = { x=@materiel_1_X y=@materiel_1_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - production_bonus = { - production_cost_factor = @motorized_production_cost_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_nkmz_plant - name = BFL_merge_materiel_plant_2 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_efficiency_cap - special_trait_background = yes - - position = { x=@materiel_2_X y=@materiel_2_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_efficiency_cap_factor = @materiel_production_efficiency_cap_factor - } - } - - add_trait = { - token = BFL_mio_trait_merge_magnitogorsk_metallurgical_plant - name = BFL_merge_materiel_plant_3 - #icon = GFX_generic_mio_department_icon_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=@materiel_3_X y=@materiel_3_Y } - - visible = { - FROM = { original_tag = BFL } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = @materiel_production_capacity_factor - } - } } diff --git a/src/common/military_industrial_organization/organizations/BLI_organization.txt b/src/common/military_industrial_organization/organizations/BLI_organization.txt index 8a6c111..750fe7b 100755 --- a/src/common/military_industrial_organization/organizations/BLI_organization.txt +++ b/src/common/military_industrial_organization/organizations/BLI_organization.txt @@ -57,7 +57,7 @@ BLI_carrier_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -91,7 +91,7 @@ BLI_carrier_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -133,7 +133,7 @@ BLI_BB_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -167,7 +167,7 @@ BLI_BB_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -209,7 +209,7 @@ BLI_SL_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -243,7 +243,7 @@ BLI_SL_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -285,7 +285,7 @@ BLI_SM_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -319,7 +319,7 @@ BLI_SM_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { diff --git a/src/common/military_industrial_organization/organizations/BYG_organization.txt b/src/common/military_industrial_organization/organizations/BYG_organization.txt index e0e2d5f..5d7550b 100755 --- a/src/common/military_industrial_organization/organizations/BYG_organization.txt +++ b/src/common/military_industrial_organization/organizations/BYG_organization.txt @@ -21,7 +21,6 @@ BYG_marmon_herrington_organization = { allowed = { tag = BYG } - } BYG_chrysler_organization = { @@ -37,16 +36,12 @@ BYG_chrysler_organization = { limit_to_equipment_type = { mio_cat_eq_all_medium_tank } - equipment_bonus = { - reliability = 0.1 - soft_attack = 0.1 - hard_attack = 0.1 - defense = -0.15 - } - production_bonus = { - production_cost_factor = 0.1 - } - + equipment_bonus = { + reliability = 0.1 + soft_attack = 0.02 + hard_attack = 0.03 + defense = -0.15 + } } add_trait = { @@ -90,14 +85,7 @@ BYG_army_ordnance_department_organization = { allowed = { tag = BYG } - - initial_trait = { - production_bonus = { - production_capacity_factor = 0.05 - production_cost_factor = -0.1 - } - } - + add_trait = { token = BYG_mio_trait_periscope_sights name = BYG_mio_trait_periscope_sights @@ -138,36 +126,11 @@ BYG_detroit_arsenal_organization = { allowed = { tag = BYG } - - initial_trait = { - equipment_bonus = { - armor_value = -0.05 - defense =-0.05 - build_cost_ic = -0.02 - } - production_bonus = { - production_capacity_factor = 0.1 - } - } - add_trait = { - token = BYG_mio_trait_arsenal_of_democracy - name = BYG_mio_trait_arsenal_of_democracy - icon = GFX_generic_mio_department_icon_tank_medium_tank_line_efficiency - special_trait_background = yes - - position = { x=-1 y=1 } - relative_position_id = generic_mio_trait_standardized_components - - all_parents = { generic_mio_trait_standardized_components } - production_bonus = { - production_efficiency_cap_factor = 0.1 - } - } - add_trait = { token = BYG_armor_up name = BYG_armor_up + #icon = GFX_generic_mio_department_icon_facilities icon = GFX_generic_mio_department_icon_tank_medium_tank_line_efficiency special_trait_background = yes @@ -250,7 +213,7 @@ BYG_norfolk_naval_yard_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -284,7 +247,7 @@ BYG_norfolk_naval_yard_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -309,36 +272,6 @@ BYG_norfolk_naval_yard_organization = { } } } - - add_trait = { - token = BYG_mio_trait_shipyard_expansion - name = BYG_mio_trait_shipyard_expansion - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=2 y=0 } - - production_bonus = { - production_capacity_factor = 0.05 - } - } - - add_trait = { - token = BYG_mio_trait_naval_station_norfolk - name = BYG_mio_trait_naval_station_norfolk - icon = GFX_generic_mio_trait_icon_naval_range - special_trait_background = yes - - all_parents = { BYG_mio_trait_shipyard_expansion } - - position = { x=0 y=1 } - relative_position_id = BYG_mio_trait_shipyard_expansion - - equipment_bonus = { - reliability = 0.1 - naval_range = 0.1 - } - } } BYG_electric_boat_company_organization = { @@ -356,7 +289,7 @@ BYG_electric_boat_company_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -390,7 +323,7 @@ BYG_electric_boat_company_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -415,45 +348,6 @@ BYG_electric_boat_company_organization = { } } } - - add_trait = { - token = BYG_mio_trait_gould_centrifugal_pump - name = BYG_mio_trait_gould_centrifugal_pump - icon = GFX_generic_mio_trait_icon_sub_visibility - special_trait_background = yes - - any_parent = { generic_mio_trait_efficient_fuel_engines generic_mio_trait_high_powered_engines } - - position = { x=-1 y=1 } - relative_position_id = generic_mio_trait_efficient_fuel_engines - - equipment_bonus = { - sub_visibility = -0.03 - } - } - - add_trait = { - token = BYG_mio_trait_radar_experimentation - name = BYG_mio_trait_radar_experimentation - icon = GFX_generic_mio_trait_icon_surface_detection - special_trait_background = yes - - all_parents = { generic_mio_trait_experimental_anechoic_tiles generic_mio_trait_improved_torpedo_detonators } - - available = { - FROM = { - has_tech = centimetric_radar - } - } - - position = { x=0 y=1 } - relative_position_id = generic_mio_trait_experimental_anechoic_tiles - - equipment_bonus = { - sub_visibility = -0.03 - surface_detection = 0.03 - } - } } BYG_brooklyn_naval_yard_organization = { @@ -471,7 +365,7 @@ BYG_brooklyn_naval_yard_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -505,7 +399,7 @@ BYG_brooklyn_naval_yard_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -530,41 +424,6 @@ BYG_brooklyn_naval_yard_organization = { } } } - - add_trait = { - token = BYG_mio_trait_the_can_do_shipyard - name = BYG_mio_trait_the_can_do_shipyard - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - #all_parents = { } - - position = { x=3 y=0 } - - production_bonus = { - production_capacity_factor = 0.05 - } - } - - add_trait = { - token = BYG_mio_trait_drydock_expansion - name = BYG_mio_trait_drydock_expansion - icon = GFX_generic_mio_department_icon_ship_capital_ship_production - special_trait_background = yes - - limit_to_equipment_type = { - capital_ship - } - - all_parents = { BYG_mio_trait_the_can_do_shipyard } - - position = { x=0 y=1 } - relative_position_id = BYG_mio_trait_the_can_do_shipyard - - production_bonus = { - production_capacity_factor = 0.05 - } - } } BYG_newport_news_shipbuilding_organization = { @@ -573,37 +432,6 @@ BYG_newport_news_shipbuilding_organization = { allowed = { tag = BYG } - - initial_trait = { - - limit_to_equipment_type = { - carrier - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - } - - add_trait = { - token = BYG_mio_trait_north_carolina_shipbuilding_company - name = BYG_mio_trait_north_carolina_shipbuilding_company - icon = GFX_generic_mio_department_icon_ship_screen_ship_production - special_trait_background = yes - - limit_to_equipment_type = { - screen_ship - } - - #all_parents = { } - - position = { x=3 y=0 } - - production_bonus = { - production_capacity_factor = 0.05 - } - } add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 @@ -613,10 +441,8 @@ BYG_newport_news_shipbuilding_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } - - equipment_bonus = { reliability = 0.08 @@ -649,7 +475,7 @@ BYG_newport_news_shipbuilding_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -732,65 +558,6 @@ BYG_north_american_aviation_organization = { air_attack = 0.02 } } - - add_trait = { - token = BYG_mio_yingxingpeijian - name = BYG_mio_yingxingpeijian - icon = GFX_generic_mio_department_icon_plane_tactical_bomber_engine - special_trait_background = yes - - position = { x=0 y=0 } - #relative_position_id = generic_mio_trait_light_weight_barrels - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_kongdixietong - } - } - - equipment_bonus = { - air_agility = 0.1 - air_ground_attack = 0.1 - air_attack = 0.1 - reliability = 0.05 - } - production_bonus = { - #production_cost_factor = 0.05 - } - } - - add_trait = { - token = BYG_mio_wangsheshengji - name = BYG_mio_wangsheshengji - icon = GFX_generic_mio_department_icon_plane_tactical_bomber_quality - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = BYG_mio_yingxingpeijian - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_kongdixietong - } - } - - equipment_bonus = { - air_range = 0.25 - maximum_speed = 0.1 - reliability = 0.1 - } - production_bonus = { - #production_cost_factor = 0.05 - } - } } BYG_lockheed_organization = { @@ -842,64 +609,6 @@ BYG_lockheed_organization = { air_attack = 0.05 } } - add_trait = { - token = BYG_mio_yingxingpeijian2 - name = BYG_mio_yingxingpeijian - icon = GFX_generic_mio_department_icon_plane_tactical_bomber_engine - special_trait_background = yes - - position = { x=0 y=0 } - #relative_position_id = generic_mio_trait_light_weight_barrels - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_kongdixietong - } - } - - equipment_bonus = { - air_agility = 0.1 - air_ground_attack = 0.1 - air_attack = 0.1 - reliability = 0.05 - } - production_bonus = { - #production_cost_factor = 0.05 - } - } - - add_trait = { - token = BYG_mio_wangsheshengji2 - name = BYG_mio_wangsheshengji - icon = GFX_generic_mio_department_icon_plane_tactical_bomber_quality - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = BYG_mio_yingxingpeijian2 - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_kongdixietong - } - } - - equipment_bonus = { - air_range = 0.25 - maximum_speed = 0.1 - reliability = 0.1 - } - production_bonus = { - #production_cost_factor = 0.05 - } - } } BYG_douglas_aircraft_company_organization = { @@ -909,110 +618,6 @@ BYG_douglas_aircraft_company_organization = { allowed = { tag = BYG } - - override_trait = { - token = generic_mio_trait_low_altitude_attacks - position = { x=3 y=0 } - } - - add_trait = { - token = USA_mio_trait_remote_controlled_turrets - name = USA_mio_trait_remote_controlled_turrets - icon = GFX_generic_mio_trait_icon_air_attack - - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = generic_mio_trait_low_altitude_attacks - - available = { - FROM = { - has_tech = computing_machine - } - } - - any_parent = { generic_mio_trait_low_altitude_attacks } - - equipment_bonus = { - air_attack = 0.1 - } - } - - add_trait = { - token = USA_mio_trait_specialist_nose_configurations - name = USA_mio_trait_specialist_nose_configurations - icon = GFX_generic_mio_department_icon_plane_cas_combat - - special_trait_background = yes - - position = { x=0 y=2 } - relative_position_id = generic_mio_trait_heavily_armed_aircraft - - any_parent = { generic_mio_trait_air_brakes generic_mio_trait_wingborne_fuel_tanks } - any_parent = {generic_mio_trait_heavily_armed_aircraft } - - equipment_bonus = { - air_ground_attack = 0.1 - } - } - add_trait = { - token = BYG_mio_yingxingpeijian3 - name = BYG_mio_yingxingpeijian - icon = GFX_generic_mio_department_icon_plane_tactical_bomber_engine - special_trait_background = yes - - position = { x=0 y=1 } - #relative_position_id = generic_mio_trait_light_weight_barrels - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_kongdixietong - } - } - - equipment_bonus = { - air_agility = 0.1 - air_ground_attack = 0.1 - air_attack = 0.1 - reliability = 0.05 - } - production_bonus = { - #production_cost_factor = 0.05 - } - } - - add_trait = { - token = BYG_mio_wangsheshengji3 - name = BYG_mio_wangsheshengji - icon = GFX_generic_mio_department_icon_plane_tactical_bomber_quality - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = BYG_mio_yingxingpeijian3 - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_kongdixietong - } - } - - equipment_bonus = { - air_range = 0.25 - maximum_speed = 0.1 - reliability = 0.1 - } - production_bonus = { - #production_cost_factor = 0.05 - } - } } BYG_boeing_organization = { @@ -1052,65 +657,6 @@ BYG_boeing_organization = { fuel_consumption = 0.05 } } - - add_trait = { - token = BYG_mio_yingxingpeijian4 - name = BYG_mio_yingxingpeijian - icon = GFX_generic_mio_department_icon_plane_tactical_bomber_engine - special_trait_background = yes - - position = { x=0 y=0 } - #relative_position_id = generic_mio_trait_light_weight_barrels - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_kongdixietong - } - } - - equipment_bonus = { - air_agility = 0.1 - air_ground_attack = 0.1 - air_attack = 0.1 - reliability = 0.05 - } - production_bonus = { - #production_cost_factor = 0.05 - } - } - - add_trait = { - token = BYG_mio_wangsheshengji4 - name = BYG_mio_wangsheshengji - icon = GFX_generic_mio_department_icon_plane_tactical_bomber_quality - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = BYG_mio_yingxingpeijian4 - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_kongdixietong - } - } - - equipment_bonus = { - air_range = 0.25 - maximum_speed = 0.1 - reliability = 0.1 - } - production_bonus = { - #production_cost_factor = 0.05 - } - } } BYG_grumman_organization = { @@ -1131,7 +677,7 @@ BYG_grumman_organization = { relative_position_id = generic_mio_trait_reinforced_fuselage any_parent = { generic_mio_trait_reinforced_fuselage } - limit_to_equipment_type = { mio_cat_eq_all_cv_aircraft small_plane_naval_bomber_airframe } + limit_to_equipment_type = { large_plane_airframe large_plane_maritime_patrol_plane_airframe } equipment_bonus = { air_agility = 0.05 @@ -1165,65 +711,6 @@ BYG_grumman_organization = { maximum_speed = 0.1 } } - - add_trait = { - token = BYG_mio_yingxingpeijian5 - name = BYG_mio_yingxingpeijian - icon = GFX_generic_mio_department_icon_plane_tactical_bomber_engine - special_trait_background = yes - - position = { x=5 y=0 } - relative_position_id = generic_mio_trait_navigation_equipment - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_kongdixietong - } - } - - equipment_bonus = { - air_agility = 0.1 - air_ground_attack = 0.1 - air_attack = 0.1 - reliability = 0.05 - } - production_bonus = { - #production_cost_factor = 0.05 - } - } - - add_trait = { - token = BYG_mio_wangsheshengji5 - name = BYG_mio_wangsheshengji - icon = GFX_generic_mio_department_icon_plane_tactical_bomber_quality - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = BYG_mio_yingxingpeijian5 - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_kongdixietong - } - } - - equipment_bonus = { - air_range = 0.25 - maximum_speed = 0.1 - reliability = 0.1 - } - production_bonus = { - #production_cost_factor = 0.05 - } - } } @@ -1245,39 +732,6 @@ BYG_springfield_armory_organization = { allowed = { tag = BYG } - - add_trait = { - token = BYG_mio_jiguangpeijian - name = BYG_mio_jiguangpeijian - icon = GFX_generic_mio_department_icon_infantry_offense - special_trait_background = yes - - position = { x=2 y=0 } - relative_position_id = generic_mio_trait_drum_pattern_sights - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_danbingzhuangbei - } - } - - equipment_bonus = { - soft_attack = 0.15 - hard_attack = 0.1 - breakthrough = 0.35 - } - - production_bonus = { - #production_cost_factor = 0.05 - } - ai_will_do = { - base = 100 - } - } } BYG_ford_motor_company_organization = { @@ -1305,32 +759,4 @@ BYG_rock_island_arsenal_organization = { tag = BYG } - add_trait = { - token = BYG_mio_weixingyindao - name = BYG_mio_weixingyindao - icon = GFX_generic_mio_department_icon_tank_general_spg - special_trait_background = yes - - position = { x=-2 y=0 } - relative_position_id = generic_mio_trait_light_weight_barrels - - visible = { - FROM = { original_tag = BYG } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - FROM = { - has_completed_focus = BYG_xietongpaoji - } - } - - equipment_bonus = { - soft_attack = 0.25 - hard_attack = 0.25 - } - - ai_will_do = { - base = 100 - } - } } \ No newline at end of file diff --git a/src/common/military_industrial_organization/organizations/CHY_organization.txt b/src/common/military_industrial_organization/organizations/CHY_organization.txt index b9b21ba..c493156 100755 --- a/src/common/military_industrial_organization/organizations/CHY_organization.txt +++ b/src/common/military_industrial_organization/organizations/CHY_organization.txt @@ -60,8 +60,338 @@ CHY_osaka_army_arsenal_organization = { military_industrial_organization_research_bonus = 0.15 } } + + add_trait = { + token = CHY_mio_trait_military_arsenal_trait + name = CHY_mio_trait_military_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x=8 y=2 } + + available = { + FROM = { + has_completed_focus = CHY_jichutanke + } + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_foreign_research_and_development_cooperation + name = CHY_mio_trait_foreign_research_and_development_cooperation + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 8 y = 1 } + + available = { + FROM = { has_completed_focus = CHY_zhongshijixiehua } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } +} + +CHY_sagami_army_arsenal_organization = { + include = generic_medium_tank_organization + icon = GFX_idea_JAP_sagami_arsenal + allowed = { + tag = CHY + } + available = { + FROM = { + OR = { + original_tag= CHY + OR = { + is_ally_with = CHY + has_country_flag = chy_jungongyuanzhu_flag + } + } + } + } + + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=9 y=1 } + + available = { + FROM = { + OR = { + has_completed_focus = CHY_gongyejituan + OR = { + is_ally_with = CHY + has_country_flag = chy_jungongyuanzhu_flag + } + } + } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.25 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.05 + production_efficiency_cap_factor = 0.05 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + } + + add_trait = { + token = CHY_mio_trait_military_arsenal_trait + name = CHY_mio_trait_military_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 9 y = 2 } + + available = { + FROM = { + has_completed_focus = CHY_jichutanke + } + } + + on_complete = { + + } + + organization_modifier = { + + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_foreign_research_and_development_cooperation + name = CHY_mio_trait_foreign_research_and_development_cooperation + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 3 } + + available = { + FROM = { has_completed_focus = CHY_zhongshijixiehua } + } + + + on_complete = { + + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } + } +CHY_mitsubishi_heavy_industries_organization = { + include = generic_infantry_tank_organization + icon = GFX_idea_JAP_mitsubishi_tanks + allowed = { + tag = CHY + } + available = { + FROM = { + OR = { + original_tag= CHY + OR = { + is_ally_with = CHY + has_country_flag = chy_jungongyuanzhu_flag + } + } + } + } + + add_trait = { + token = CHY_mio_trait_military_arsenal_trait + name = CHY_mio_trait_military_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 5 y = 0 } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_special_government_contracts_mitsubishi_trait + name = CHY_mio_trait_special_government_contracts_mitsubishi_trait + icon = GFX_generic_mio_trait_icon_efficiency_cap + special_trait_background = yes + + position = { x = 7 y = 0 } + + available = { + has_mio_size > 5 + FROM = { + NOT = { has_country_flag = CHY_mio_trait_special_government_contracts_taken_flag } + } + } + + on_complete = { + custom_effect_tooltip = generic_trait_will_not_be_available_in_other_organizations + FROM = { + set_country_flag = CHY_mio_trait_special_government_contracts_taken_flag + } + custom_effect_tooltip = generic_skip_one_line_tt + FROM = { + add_ideas = CHY_mitsubishi_hold + add_political_power = -100 + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_zaibatsu_production_capabilities_trait + name = CHY_mio_trait_zaibatsu_production_capabilities_trait + icon = GFX_generic_mio_trait_icon_efficiency_gain + special_trait_background = yes + + position = { x = 8 y = 0 } + + production_bonus = { + production_cost_factor = -0.05 + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + + add_trait = { + token = CHY_mio_trait_foreign_research_and_development_cooperation + name = CHY_mio_trait_foreign_research_and_development_cooperation + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 0 } + + available = { + FROM = { + has_completed_focus = CHY_zhongshijixiehua + + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=9 y=4 } + + available = { + FROM = { + OR = { + has_completed_focus = CHY_gongyejituan + OR = { + is_ally_with = CHY + has_country_flag = chy_jungongyuanzhu_flag + } + } + } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.25 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.05 + production_efficiency_cap_factor = 0.05 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + } + +} + + + ##################### @@ -175,6 +505,91 @@ CHY_kure_naval_arsenal_organization = { military_industrial_organization_research_bonus = 0.15 } } + + add_trait = { + token = CHY_mio_trait_naval_arsenal_trait + name = CHY_mio_trait_naval_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 8 y = 3 } + + available = { + FROM = { has_completed_focus = CHY_zhanliejian } + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_rapid_counterflooding_system + name = CHY_mio_trait_rapid_counterflooding_system + icon = GFX_generic_mio_trait_icon_max_strength + special_trait_background = yes + + relative_position_id = generic_mio_trait_hardened_critical_components + + all_parents = { generic_mio_trait_hardened_critical_components } + + position = { x = 0 y = 1 } + + equipment_bonus = { + naval_torpedo_enemy_critical_chance_factor = -0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_enhanced_optics + name = CHY_mio_trait_enhanced_optics + icon = GFX_generic_mio_trait_icon_surface_detection + special_trait_background = yes + + relative_position_id = generic_mio_trait_secondary_battery_layout + + all_parents = { generic_mio_trait_secondary_battery_layout } + + position = { x = 0 y = 1 } + + equipment_bonus = { + lg_attack = 0.05 + hg_attack = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_strength_in_numbers + name = CHY_mio_trait_strength_in_numbers + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 3 } + + available = { + FROM = { has_completed_focus = CHY_haijun_buff } + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } } CHY_yokosuka_naval_arsenal_organization = { @@ -278,6 +693,371 @@ CHY_yokosuka_naval_arsenal_organization = { military_industrial_organization_research_bonus = 0.15 } } + + add_trait = { + token = CHY_mio_trait_naval_arsenal_trait + name = CHY_mio_trait_naval_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 8 y = 3 } + + available = { + FROM = { has_completed_focus = CHY_hangmu } + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_strength_in_numbers + name = CHY_mio_trait_strength_in_numbers + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 3 } + + available = { + FROM = { has_completed_focus = CHY_haijun_buff } + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_armor_plating_to_hull_strength + name = CHY_mio_trait_armor_plating_to_hull_strength + icon = GFX_generic_mio_department_icon_ship_general_production + special_trait_background = yes + + relative_position_id = generic_mio_trait_long_range_cruising + + any_parent = { generic_mio_trait_long_range_cruising generic_mio_trait_high_speed_cruising } + + position = { x = 0 y = 1 } + + production_bonus = { + production_capacity_factor = 0.05 + } + + equipment_bonus = { + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_enhanced_optics + name = CHY_mio_trait_enhanced_optics + icon = GFX_generic_mio_trait_icon_surface_detection + special_trait_background = yes + + relative_position_id = generic_mio_trait_primary_fire_director_control + + all_parents = { generic_mio_trait_primary_fire_director_control } + + position = { x = 1 y = 1 } + + equipment_bonus = { + lg_attack = 0.05 + hg_attack = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_type_94_fire_control + name = CHY_mio_trait_type_94_fire_control + icon = GFX_generic_mio_trait_icon_anti_air_attack + special_trait_background = yes + + relative_position_id = generic_mio_trait_secondary_fire_director_control + + all_parents = { generic_mio_trait_secondary_fire_director_control } + + position = { x = 0 y = 1 } + + limit_to_equipment_type = { mio_cat_eq_all_cruiser carrier } + + equipment_bonus = { + anti_air_attack = 0.1 + naval_light_gun_hit_chance_factor = 0.025 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_torpedo_reloads + name = CHY_mio_trait_torpedo_reloads + icon = GFX_generic_mio_trait_icon_torpedo_attack + special_trait_background = yes + + relative_position_id = CHY_mio_trait_enhanced_optics + + all_parents = { CHY_mio_trait_enhanced_optics } + + position = { x = 0 y = 1 } + + limit_to_equipment_type = { screen_ship } + + equipment_bonus = { + torpedo_attack = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + +} + +CHY_kawasaki_dockyards_organization = { + include = generic_raider_ship_organization + icon = GFX_idea_JAP_kawasaki_dockyards + + allowed = { + original_tag = CHY + has_dlc = "Arms Against Tyranny" + } + + equipment_type = { + carrier + screen_ship + submarine + } + research_categories = { + mio_cat_tech_all_carrier_and_modules + mio_cat_tech_all_screen_ship_and_modules + mio_cat_tech_all_submarine_and_modules + } + + initial_trait = { + name = JAP_kawasaki_dockyards_org_name + } + + override_trait = { + token = generic_mio_trait_spotting_tops + limit_to_equipment_type = { carrier screen_ship } + } + + override_trait = { + token = generic_mio_trait_raiding_capital_ships + limit_to_equipment_type = { carrier } + icon = GFX_generic_mio_trait_icon_surface_visibility + + equipment_bonus = { + surface_visibility = -0.05 + naval_speed = 0.05 + } + } + + override_trait = { + token = generic_mio_trait_long_range_engagement_ethos + limit_to_equipment_type = { carrier } + icon = GFX_generic_mio_department_icon_ship_carrier_offense + + equipment_bonus = { + naval_range = 0.05 + anti_air_attack = 0.05 + } + } + + override_trait = { + token = generic_mio_trait_unescorted_raider_requirements + limit_to_equipment_type = { carrier } + icon = GFX_generic_mio_trait_icon_max_strength + + equipment_bonus = { + max_strength = 0.1 + naval_speed = 0.05 + } + } + + add_trait = { + token = CHY_mio_trait_naval_arsenal_trait + name = CHY_mio_trait_naval_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 9 y = 1 } + + available = { + FROM = { has_completed_focus = CHY_hangmu } + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_zaibatsu_production_capabilities_trait + name = CHY_mio_trait_zaibatsu_production_capabilities_trait + icon = GFX_generic_mio_trait_icon_efficiency_gain + special_trait_background = yes + + relative_position_id = generic_mio_trait_high_speed_raiding + + position = { x = 1 y = 0 } + + production_bonus = { + production_cost_factor = -0.05 + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_strength_in_numbers + name = CHY_mio_trait_strength_in_numbers + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + relative_position_id = generic_mio_trait_high_speed_raiding + + position = { x = 2 y = 0 } + + available = { + FROM = { has_completed_focus = CHY_haijun_buff } + } + + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = bulizaochuanchang_1 + name = bulizaochuanchang_1 + icon = GFX_BLI_zaochuanchang_mio_icon_1 + special_trait_background = yes + + position = { x=8 y=4 } + + available = { + FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + } + + equipment_bonus = { + reliability = 0.08 + armor_value = 0.05 + maximum_speed = 0.03 + naval_range = 0.1 + } + production_bonus = { + production_resource_need_factor = -0.55 + } + organization_modifier = { + military_industrial_organization_funds_gain = 0.35 + } + on_complete = { + ROOT = { + add_mio_size = 1 + } + FROM = { + navy_experience = 200 + } + } + } + + add_trait = { + token = bulizaochuanchang_2 + name = bulizaochuanchang_2 + icon = GFX_BLI_zaochuanchang_mio_icon_2 + special_trait_background = yes + + position = { x=9 y=4 } + + available = { + FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + } + + equipment_bonus = { + lg_attack = 0.15 + hg_attack = 0.2 + carrier_size = 1 + torpedo_attack = 0.15 + build_cost_ic = -0.1 + } + production_bonus = { + production_resource_need_factor = -0.55 + } + organization_modifier = { + military_industrial_organization_funds_gain = 0.35 + } + on_complete = { + ROOT = { + add_mio_size = 1 + } + FROM = { + navy_experience = 200 + } + } + } + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=9 y=2} + + available = { + FROM = { has_completed_focus = CHY_gongyejituan } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.25 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.05 + production_efficiency_cap_factor = 0.05 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + } + } CHY_maizuru_naval_arsenal_organization = { @@ -382,6 +1162,121 @@ CHY_maizuru_naval_arsenal_organization = { military_industrial_organization_research_bonus = 0.15 } } + + add_trait = { + token = CHY_mio_trait_high_pressure_boilers + name = CHY_mio_trait_high_pressure_boilers + icon = GFX_generic_mio_trait_icon_maximum_speed + special_trait_background = yes + + relative_position_id = generic_mio_trait_high_speed_mine_hunting_equipment + + all_parents = { generic_mio_trait_high_speed_mine_hunting_equipment } + + position = { x = -1 y = 1 } + + equipment_bonus = { + naval_speed = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_torpedo_reloads + name = CHY_mio_trait_torpedo_reloads + icon = GFX_generic_mio_trait_icon_torpedo_attack + special_trait_background = yes + + relative_position_id = generic_mio_trait_fleet_escorts + + all_parents = { generic_mio_trait_fleet_escorts } + + position = { x = 0 y = 1 } + + limit_to_equipment_type = { screen_ship } + + equipment_bonus = { + torpedo_attack = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_type_94_fire_control + name = CHY_mio_trait_type_94_fire_control + icon = GFX_generic_mio_trait_icon_anti_air_attack + special_trait_background = yes + + relative_position_id = generic_mio_trait_high_speed_mine_hunting_equipment + + all_parents = { generic_mio_trait_high_speed_mine_hunting_equipment } + + position = { x = 1 y = 1 } + + limit_to_equipment_type = { mio_cat_eq_all_cruiser carrier } + + equipment_bonus = { + anti_air_attack = 0.1 + naval_light_gun_hit_chance_factor = 0.025 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_naval_arsenal_trait + name = CHY_mio_trait_naval_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 8 y = 0 } + + available = { + FROM = { has_completed_focus = CHY_xunyangjian } + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_strength_in_numbers + name = CHY_mio_trait_strength_in_numbers + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 1 } + + + available = { + FROM = { has_completed_focus = CHY_pinweijian_buff } + } + + + organization_modifier = { + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } } CHY_sasebo_naval_arsenal_organization = { @@ -485,6 +1380,305 @@ CHY_sasebo_naval_arsenal_organization = { military_industrial_organization_research_bonus = 0.15 } } + + add_trait = { + token = CHY_mio_trait_torpedo_reloads + name = CHY_mio_trait_torpedo_reloads + icon = GFX_generic_mio_department_icon_ship_screen_ship_offense + special_trait_background = yes + + relative_position_id = generic_mio_trait_raiding_submarines + + all_parents = { generic_mio_trait_raiding_submarines } + + position = { x = 2 y = 1 } + + limit_to_equipment_type = { screen_ship submarine } + + equipment_bonus = { + torpedo_attack = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_type_97_torpedo_control_director + name = CHY_mio_trait_type_97_torpedo_control_director + icon = GFX_generic_mio_trait_icon_torpedo_attack + special_trait_background = yes + + relative_position_id = generic_mio_trait_high_quality_optics + + any_parent = { generic_mio_trait_high_quality_optics generic_mio_trait_spotting_tops } + + position = { x = 1 y = 1 } + + limit_to_equipment_type = { screen_ship } + + equipment_bonus = { + naval_torpedo_hit_chance_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_naval_arsenal_trait + name = CHY_mio_trait_naval_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 8 y = 0 } + + available = { + FROM = { has_completed_focus = CHY_xunyangjian } + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = JAP_mio_trait_strength_in_numbers + name = JAP_mio_trait_strength_in_numbers + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 1 } + + available = { + FROM = { has_completed_focus = CHY_pinweijian_buff } + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } +} + +CHY_mitsubishi_kobe_shipyard_organization = { + include = generic_submarine_organization + icon = GFX_idea_JAP_kobe_shipyard + + allowed = { + tag = CHY + } + + add_trait = { + token = CHY_mio_trait_special_government_contracts_mitsubishi_trait + name = CHY_mio_trait_special_government_contracts_mitsubishi_trait + icon = GFX_generic_mio_trait_icon_efficiency_cap + special_trait_background = yes + + position = { x = 7 y = 0 } + + available = { + has_mio_size > 5 + FROM = { + NOT = { has_country_flag = CHY_mio_trait_special_government_contracts_taken_flag } + } + } + + on_complete = { + custom_effect_tooltip = generic_trait_will_not_be_available_in_other_organizations + FROM = { + set_country_flag = CHY_mio_trait_special_government_contracts_taken_flag + } + custom_effect_tooltip = generic_skip_one_line_tt + FROM = { + add_ideas = CHY_mitsubishi_hold + add_political_power = -100 + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_zaibatsu_production_capabilities_trait + name = CHY_mio_trait_zaibatsu_production_capabilities_trait + icon = GFX_generic_mio_trait_icon_efficiency_gain + special_trait_background = yes + + relative_position_id = generic_mio_trait_decalin_fueled_torpedo + + position = { x = 3 y = 0 } + + production_bonus = { + production_cost_factor = -0.05 + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_naval_arsenal_trait + name = CHY_mio_trait_naval_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 8 y = 1 } + + available = { + FROM = { has_completed_focus = CHY_qiantin } + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_strength_in_numbers + name = CHY_mio_trait_strength_in_numbers + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + relative_position_id = generic_mio_trait_decalin_fueled_torpedo + + position = { x = 4 y = 0 } + + available = { FROM = { has_completed_focus = CHY_qiantin_buff } } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = bulizaochuanchang_1 + name = bulizaochuanchang_1 + icon = GFX_BLI_zaochuanchang_mio_icon_1 + special_trait_background = yes + + position = { x=8 y=4 } + + available = { + FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + } + + equipment_bonus = { + reliability = 0.08 + armor_value = 0.05 + maximum_speed = 0.03 + naval_range = 0.1 + } + production_bonus = { + production_resource_need_factor = -0.55 + } + organization_modifier = { + military_industrial_organization_funds_gain = 0.35 + } + on_complete = { + ROOT = { + add_mio_size = 1 + } + FROM = { + navy_experience = 200 + } + } + } + + add_trait = { + token = bulizaochuanchang_2 + name = bulizaochuanchang_2 + icon = GFX_BLI_zaochuanchang_mio_icon_2 + special_trait_background = yes + + position = { x=9 y=4 } + + available = { + FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + } + + equipment_bonus = { + lg_attack = 0.15 + hg_attack = 0.2 + carrier_size = 1 + torpedo_attack = 0.15 + build_cost_ic = -0.1 + } + production_bonus = { + production_resource_need_factor = -0.55 + } + organization_modifier = { + military_industrial_organization_funds_gain = 0.35 + } + on_complete = { + ROOT = { + add_mio_size = 1 + } + FROM = { + navy_experience = 200 + } + } + } + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=9 y=1 } + + available = { + FROM = { has_completed_focus = CHY_gongyejituan } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.25 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.05 + production_efficiency_cap_factor = 0.05 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + } + } ########################### @@ -500,7 +1694,7 @@ CHY_sasebo_naval_arsenal_organization = { CHY_mitsubishi_organization = { include = generic_high_agility_fighter_aircraft_organization - icon = GFX_idea_mitsubishi + icon = GFX_idea_JAP_mitsubishi_airplanes allowed = { tag = CHY @@ -552,6 +1746,98 @@ CHY_mitsubishi_organization = { } } + add_trait = { + token = CHY_mio_trait_zaibatsu_production_capabilities_trait + name = CHY_mio_trait_zaibatsu_production_capabilities_trait + icon = GFX_generic_mio_trait_icon_efficiency_gain + special_trait_background = yes + + relative_position_id = generic_mio_trait_minimum_weapon_requirements + + position = { x = 1 y = 0 } + + production_bonus = { + production_cost_factor = -0.05 + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_special_government_contracts_mitsubishi_trait + name = CHY_mio_trait_special_government_contracts_mitsubishi_trait + icon = GFX_generic_mio_trait_icon_efficiency_cap + special_trait_background = yes + + position = { x = 8 y = 1 } + + available = { + has_mio_size > 5 + FROM = { + NOT = { has_country_flag = CHY_mio_trait_special_government_contracts_taken_flag } + } + } + + on_complete = { + custom_effect_tooltip = generic_trait_will_not_be_available_in_other_organizations + FROM = { + set_country_flag = CHY_mio_trait_special_government_contracts_taken_flag + } + custom_effect_tooltip = generic_skip_one_line_tt + FROM = { + add_ideas = CHY_mitsubishi_hold + add_political_power = -100 + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_unified_research_and_development + name = CHY_mio_trait_unified_research_and_development + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 1 } + + available = { + FROM = { + has_completed_focus = CHY_feijiyanjiu + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + + equipment_type = { mio_cat_eq_all_small_plane } @@ -609,6 +1895,34 @@ CHY_aichi_organization = { military_industrial_organization_research_bonus = 0.15 } } + + add_trait = { + token = CHY_mio_trait_unified_research_and_development + name = CHY_mio_trait_unified_research_and_development + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + + position = { x = 9 y = 2 } + + available = { + FROM = { + has_completed_focus = CHY_feijiyanjiu + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } } CHY_nakajima_organization = { @@ -663,6 +1977,83 @@ CHY_nakajima_organization = { military_industrial_organization_research_bonus = 0.15 } } + add_trait = { + token = CHY_mio_trait_special_government_contracts_nakajima_trait + name = CHY_mio_trait_special_government_contracts_nakajima_trait + icon = GFX_generic_mio_trait_icon_efficiency_cap + special_trait_background = yes + + position = { x = 5 y = 0 } + + available = { + has_mio_size > 5 + } + + on_complete = { + FROM = { + add_ideas = CHY_nakajima_hold + add_political_power = -100 + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_zaibatsu_production_capabilities_trait + name = CHY_mio_trait_zaibatsu_production_capabilities_trait + icon = GFX_generic_mio_trait_icon_efficiency_gain + special_trait_background = yes + + relative_position_id = generic_mio_trait_extended_rear_fuselage + + position = { x = -1 y = 0 } + + production_bonus = { + production_cost_factor = -0.05 + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_unified_research_and_development + name = CHY_mio_trait_unified_research_and_development + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 6 y = 0 } + + available = { + FROM = { + has_completed_focus = CHY_dafeijiyanjiu + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } } CHY_yokosuka_organization = { @@ -717,8 +2108,317 @@ CHY_yokosuka_organization = { military_industrial_organization_research_bonus = 0.15 } } + + add_trait = { + token = CHY_mio_trait_type_91_aerial_torpedo_integration + name = CHY_mio_trait_type_91_aerial_torpedo_integration + icon = GFX_generic_mio_trait_icon_air_ground_attack + special_trait_background = yes + + relative_position_id = generic_mio_trait_navigation_equipment + + all_parents = { generic_mio_trait_navigation_equipment } + + position = { x = 2 y = 1 } + + equipment_bonus = { + naval_strike_attack = 0.1 + naval_strike_targetting = 0.05 + } + + ai_will_do = { + base = 5 + } + } + + add_trait = { + token = CHY_mio_trait_naval_arsenal_trait + name = CHY_mio_trait_naval_arsenal_trait_1 + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + relative_position_id = generic_mio_trait_navigation_equipment + + position = { x = 4 y = 0 } + + production_bonus = { + production_capacity_factor = 0.05 + } + + available = { FROM = { has_completed_focus = CHY_navalbomb1 } } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_unified_research_and_development + name = CHY_mio_trait_unified_research_and_development + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 1 } + + available = { + FROM = { + has_completed_focus = CHY_feijiyanjiu + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } } +CHY_kawanishi_aircraft_company_organization = { + include = generic_multi_role_aircraft_organization + icon = GFX_idea_JAP_kawanishi + allowed = { + original_tag = CHY + has_dlc = "Arms Against Tyranny" + } + + add_trait = { + token = CHY_mio_trait_unified_research_and_development + name = CHY_mio_trait_unified_research_and_development + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 1 } + + available = { + FROM = { + has_completed_focus = CHY_feijiyanjiu + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=9 y=0 } + + available = { + FROM = { has_completed_focus = CHY_gongyejituan } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.2 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.01 + production_efficiency_cap_factor = 0.01 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.05 + } + } + +} + +CHY_kawasaki_aircraft_industries_organization = { + include = generic_medium_aircraft_organization + icon = GFX_idea_JAP_kawasaki_aircraft + allowed = { + original_tag = CHY + has_dlc = "Arms Against Tyranny" + } + + add_trait = { + token = CHY_mio_trait_zaibatsu_production_capabilities_trait + name = CHY_mio_trait_zaibatsu_production_capabilities_trait + icon = GFX_generic_mio_trait_icon_efficiency_gain + special_trait_background = yes + + relative_position_id = generic_mio_trait_skip_bombing + + position = { x = -1 y = 0 } + + on_complete = { + + } + + production_bonus = { + production_cost_factor = -0.05 + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_unified_research_and_development + name = CHY_mio_trait_unified_research_and_development + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 1 } + + available = { + FROM = { + has_completed_focus = CHY_feijiyanjiu + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=9 y=0 } + + available = { + FROM = { has_completed_focus = CHY_gongyejituan } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.2 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.01 + production_efficiency_cap_factor = 0.01 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.05 + } + } + +} + +CHY_tachikawa_aircraft_company_organization = { + include = generic_cas_aircraft_organization + icon = GFX_idea_JAP_tachikawa_aircraft_company + + allowed = { + original_tag = CHy + has_dlc = "Arms Against Tyranny" + } + + initial_trait = { + name = JAP_mio_trait_army_aircraft_manufacturer + + limit_to_equipment_type = { + small_plane_cas_airframe + } + + production_bonus = { + production_capacity_factor = 0.03 + } + + equipment_bonus = { + air_ground_attack = 0.02 + } + + } + + add_trait = { + token = CHY_mio_trait_unified_research_and_development + name = CHY_mio_trait_unified_research_and_development + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 1 } + + available = { + FROM = { + has_completed_focus = CHY_feijiyanjiu + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=9 y=0 } + + available = { + FROM = { has_completed_focus = CHY_gongyejituan } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.2 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.01 + production_efficiency_cap_factor = 0.01 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.05 + } + } + +} ################################### @@ -732,7 +2432,7 @@ CHY_yokosuka_organization = { ################################### -CHY_tokyo_arsenal_organization = { +CHY_kokura_arsenal_organization = { include = generic_infantry_equipment_organization icon = GFX_idea_tokyo_arsenal allowed = { @@ -793,6 +2493,23 @@ CHY_tokyo_arsenal_organization = { #military_industrial_organization_research_bonus = 0.15 } } + + add_trait = { + token = CHY_mio_trait_military_arsenal_trait + name = CHY_mio_trait_military_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 3 y = 0 } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } } @@ -848,6 +2565,23 @@ CHY_osaka_army_arsenal_artillery_organization = { military_industrial_organization_research_bonus = 0.15 } } + + add_trait = { + token = CHY_mio_trait_military_arsenal_trait + name = CHY_mio_trait_military_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 9 y = 1 } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } } CHY_nissan_organization = { @@ -902,4 +2636,384 @@ CHY_nissan_organization = { military_industrial_organization_research_bonus = 0.15 } } + add_trait = { + token = CHY_mio_trait_special_government_contracts_nissan_trait + name = CHY_mio_trait_special_government_contracts_nissan_trait + icon = GFX_generic_mio_trait_icon_efficiency_cap + special_trait_background = yes + + relative_position_id = generic_mio_trait_closed_chassi + + position = { x = 1 y = 2 } + + available = { + has_mio_size > 5 + } + + on_complete = { + FROM = { + add_ideas = CHY_nissan_hold + add_political_power = -100 + } + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + + } + + ai_will_do = { + base = 2 + } + } + add_trait = { + token = CHY_mio_trait_zaibatsu_production_capabilities_trait + name = CHY_mio_trait_zaibatsu_production_capabilities_trait + icon = GFX_generic_mio_trait_icon_efficiency_gain + special_trait_background = yes + + relative_position_id = generic_mio_trait_closed_chassi + + position = { x = 1 y = 1 } + + on_complete = { + + } + + production_bonus = { + production_cost_factor = -0.05 + } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + add_trait = { + token = CHY_mio_trait_cooperation_with_kurogane + name = CHY_mio_trait_cooperation_with_kurogane + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 9 y = 3 } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } +} + +CHY_tokyo_automobile_industries_organization = { + include = generic_armored_car_organization + icon = GFX_idea_JAP_isuzu_mot_1 # Can become GFX_idea_JAP_isuzu_mot_2 + + allowed = { + OR = { + AND = { + original_tag = CHY + has_dlc = "La Resistance" + } + } + has_dlc = "Arms Against Tyranny" + } + + available = { + FROM = { original_tag = CHY } + } + + add_trait = { + token = CHY_mio_trait_military_arsenal_trait + name = CHY_mio_trait_military_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 9 y = 1 } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=9 y=0 } + + available = { + FROM = { + OR = { + has_completed_focus = CHY_gongyejituan + OR = { + is_ally_with = CHY + has_country_flag = chy_jungongyuanzhu_flag + } + } + } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.25 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.05 + production_efficiency_cap_factor = 0.05 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + } + +} + +CHY_nagoya_arsenal_organization = { + include = generic_support_equipment_organization + icon = GFX_idea_JAP_nagoya_arsenal + + allowed = { + OR = { + original_tag = CHY + original_tag = MAN + } + has_dlc = "Arms Against Tyranny" + } + + add_trait = { + token = CHY_mio_trait_military_arsenal_trait + name = CHY_mio_trait_military_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 9 y = 1 } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=9 y=0 } + + available = { + FROM = { + OR = { + has_completed_focus = CHY_gongyejituan + OR = { + is_ally_with = CHY + has_country_flag = chy_jungongyuanzhu_flag + } + } + } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.25 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.05 + production_efficiency_cap_factor = 0.05 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + } + +} + +CHY_kayaba_industry_organization = { + include = generic_helicopter_organization + icon = GFX_idea_JAP_kayaba_industry + + allowed = { + original_tag = CHY + has_dlc = "Gotterdammerung" + has_dlc = "Arms Against Tyranny" + } + + add_trait = { + token = CHY_mio_trait_military_arsenal_trait + name = CHY_mio_trait_military_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 7 y = 1 } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=7 y=0 } + + available = { + FROM = { + OR = { + has_completed_focus = CHY_gongyejituan + OR = { + is_ally_with = CHY + has_country_flag = chy_jungongyuanzhu_flag + } + } + } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.25 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.05 + production_efficiency_cap_factor = 0.05 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + } + + + +} + +CHY_hitachi_arms_department_organization = { + include = generic_assault_guns_organization + icon = GFX_idea_JAP_hitachi_arms + + allowed = { + original_tag = CHY + has_dlc = "Arms Against Tyranny" + } + + available = { + + } + + add_trait = { + token = CHY_mio_trait_foreign_research_and_development_cooperation + name = CHY_mio_trait_foreign_research_and_development_cooperation + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x = 8 y = 0 } + + available = { + FROM = { has_completed_focus = CHY_zhongshijixiehua } + } + + + on_complete = { + + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + + production_bonus = { + production_capacity_factor = 0.1 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = CHY_mio_trait_military_arsenal_trait + name = CHY_mio_trait_military_arsenal_trait + icon = GFX_generic_mio_trait_icon_production_capacity + special_trait_background = yes + + position = { x = 9 y = 1 } + + production_bonus = { + production_capacity_factor = 0.05 + } + + ai_will_do = { + base = 2 + } + } + + add_trait = { + token = gongyejituan + name = gongyejituan + icon = GFX_generic_mio_department_icon_facilities + special_trait_background = yes + + position = { x=9 y=0 } + + available = { + FROM = { + OR = { + has_completed_focus = CHY_gongyejituan + OR = { + is_ally_with = CHY + has_country_flag = chy_jungongyuanzhu_flag + } + } + } + } + + equipment_bonus = { + reliability = 0.05 + } + + production_bonus = { + production_resource_need_factor = -0.25 + production_capacity_factor = 0.05 + production_efficiency_gain_factor = 0.05 + production_efficiency_cap_factor = 0.05 + } + + organization_modifier = { + military_industrial_organization_research_bonus = 0.15 + } + } + } diff --git a/src/common/military_industrial_organization/organizations/DOH_organization.txt b/src/common/military_industrial_organization/organizations/DOH_organization.txt index 34811f7..55e7538 100755 --- a/src/common/military_industrial_organization/organizations/DOH_organization.txt +++ b/src/common/military_industrial_organization/organizations/DOH_organization.txt @@ -1,10 +1,13 @@ ##################### + ### ## # # # # ## -# # # ## # # # # -# #### # ## ## # -# # # # # # # # -# # # # # # # ## -#################### + # # # ## # # # # + # #### # ## ## # + # # # # # # # # + # # # # # # # ## + + #################### + DOH_shanghai_tank = { include = generic_tank_organization icon = GFX_idea_osaka_army_arsenal @@ -41,14 +44,13 @@ DOH_shanghai_tank = { name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 8 - y = 0 - } + + position = { x=8 y=0 } + available = { - FROM = { + FROM = { OR = { - has_completed_focus = CHY_gongyejituan + has_completed_focus = CHY_gongyejituan OR = { is_ally_with = CHY has_country_flag = chy_jungongyuanzhu_flag @@ -56,45 +58,26 @@ DOH_shanghai_tank = { } } } + equipment_bonus = { reliability = 0.05 maximum_speed = 0.05 - } + } + production_bonus = { production_resource_need_factor = -0.25 production_capacity_factor = 0.05 production_efficiency_gain_factor = 0.05 production_efficiency_cap_factor = 0.05 } + organization_modifier = { military_industrial_organization_research_bonus = 0.15 } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } } } -DOH_tongyonghangkong_organization = { - include = generic_helicopter_organization - icon = GFX_idea_CHI_camco - allowed = { - tag = DOH - } - available = { - owner = { - has_completed_focus = DOH_tieyuan - } - } - equipment_type = { - helicopter_equipment - motorbike_equipment - } -} - -DOH_baotoudiyijixiechang_organization = { + DOH_baotoudiyijixiechang_organization = { include = generic_tank_refurbishment_plant_organization icon = GFX_idea_generic_tank_manufacturer_3 allowed = { @@ -105,20 +88,19 @@ DOH_baotoudiyijixiechang_organization = { controls_state = 621 OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_donghuanggongyetixi } } - add_trait = { + add_trait = { token = jishugaijing name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 9 - y = 0 - } + + position = { x=9 y=0 } + available = { FROM = { OR = { @@ -127,62 +109,52 @@ DOH_baotoudiyijixiechang_organization = { } } } + equipment_bonus = { hardness = 0.04 reliability = 0.15 - } + } production_bonus = { production_resource_need_factor = -0.5 production_cost_factor = -0.05 production_efficiency_cap_factor = 0.1 } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } } } ##################### -## # # ### ### ## + + ## # # ### ### ## # # # # # # # -# #### # ### # -# # # # # # + # #### # ### # + # # # # # # ## # # ### # ## + ##################### DOH_dalianzaochuan_organization = { include = generic_battle_line_ship_organization icon = GFX_idea_generic_navy_bonus - allowed = { + allowed = { tag = DOH } - add_trait = { + add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { - x = 8 - y = 4 - } + + position = { x=8 y=4 } + available = { - FROM = { - OR = { - hidden_trigger = { - is_ai = yes - } - tag = BLI - has_country_flag = buligongyi1_get - } - } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } + equipment_bonus = { - reliability = 0.08 + reliability = 0.08 armor_value = 0.05 maximum_speed = 0.03 naval_range = 0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -198,33 +170,26 @@ DOH_dalianzaochuan_organization = { } } } + add_trait = { token = bulizaochuanchang_2 name = bulizaochuanchang_2 icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - position = { - x = 9 - y = 4 - } + + position = { x=9 y=4 } + available = { - FROM = { - OR = { - hidden_trigger = { - is_ai = yes - } - tag = BLI - has_country_flag = buligongyi2_get - } - } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } + equipment_bonus = { lg_attack = 0.15 hg_attack = 0.2 carrier_size = 1 torpedo_attack = 0.15 build_cost_ic = -0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -240,15 +205,14 @@ DOH_dalianzaochuan_organization = { } } } - add_trait = { + add_trait = { token = jishujiaoliu_wuhai name = jishujiaoliu_wuhai icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 9 - y = 0 - } + + position = { x=9 y=0 } + available = { FROM = { OR = { @@ -260,92 +224,72 @@ DOH_dalianzaochuan_organization = { equipment_bonus = { build_cost_ic = -0.05 reliability = 0.15 - max_strength = 0.1 + max_strength = 0.2 surface_visibility = -0.1 - armor_value = 0.1 - } + } } add_trait = { token = jishugaijing name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 7 - y = 4 - } + + position = { x=7 y=4 } + available = { FROM = { - OR = { - num_of_naval_factories > 85 - has_completed_focus = DOH_dalianlvshun - } + num_of_naval_factories > 85 has_tech = keyantech_daodan } } + equipment_bonus = { naval_light_gun_hit_chance_factor = 0.3 - hg_attack = 0.1 naval_heavy_gun_hit_chance_factor = 0.3 - surface_visibility = -0.1 + surface_visibility = -0.3 night_penalty = -0.3 - reliability = 0.15 - armor_value = 0.1 - } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } + } } + available = { owner = { - # AND = { - # num_of_factories > 225 - # num_of_naval_factories > 60 - has_completed_focus = DOH_zaochuanjishugexin - # } + AND = { + num_of_factories > 225 + num_of_naval_factories > 60 + has_completed_focus = DOH_zaochuanjishugexin + } controls_state = 745 OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } } } } - DOH_hudong_organization = { include = generic_escort_ship_organization icon = GFX_idea_escort_effort_focus - allowed = { + allowed = { tag = DOH } - add_trait = { + add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { - x = 8 - y = 4 - } + + position = { x=8 y=4 } + available = { - FROM = { - OR = { - hidden_trigger = { - is_ai = yes - } - tag = BLI - has_country_flag = buligongyi1_get - } - } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } + equipment_bonus = { - reliability = 0.08 + reliability = 0.08 armor_value = 0.05 maximum_speed = 0.03 naval_range = 0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -361,33 +305,26 @@ DOH_hudong_organization = { } } } + add_trait = { token = bulizaochuanchang_2 name = bulizaochuanchang_2 icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - position = { - x = 9 - y = 4 - } + + position = { x=9 y=4 } + available = { - FROM = { - OR = { - hidden_trigger = { - is_ai = yes - } - tag = BLI - has_country_flag = buligongyi2_get - } - } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } + equipment_bonus = { lg_attack = 0.15 hg_attack = 0.2 carrier_size = 1 torpedo_attack = 0.15 build_cost_ic = -0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -408,41 +345,35 @@ DOH_hudong_organization = { name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 9 - y = 2 - } + + position = { x=9 y=2 } + available = { FROM = { num_of_naval_factories > 60 } } equipment_bonus = { - build_cost_ic = 0.1 - naval_speed = 0.15 + #build_cost_ic = 0.10 + maximum_speed = 0.05 + reliability = 0.05 max_strength = 0.25 sub_detection = 0.1 surface_visibility = -0.2 - sub_attack = 0.25 } production_bonus = { production_capacity_factor = 0.05 } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } } - add_trait = { + + add_trait = { token = jishujiaoliu_wuhe name = jishujiaoliu_wuhe icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 9 - y = 0 - } + + position = { x=9 y=0 } + available = { FROM = { OR = { @@ -452,18 +383,12 @@ DOH_hudong_organization = { } } equipment_bonus = { - naval_speed = 0.15 build_cost_ic = -0.05 reliability = 0.15 sub_detection = 0.3 - } + } production_bonus = { - production_capacity_factor = 0.1 - } - on_complete = { - ROOT = { - add_mio_size = 1 - } + production_capacity_factor = 0.10 } } available = { @@ -478,45 +403,38 @@ DOH_hudong_organization = { controls_state = 613 OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } } } } ## 武昌造船厂 + DOH_wuchangzaochuanchang_organization = { include = generic_submarine_organization - icon = GFX_idea_generic_navy_submarines - allowed = { + icon = GFX_idea_generic_sea_focused_navy + allowed = { tag = DOH } - add_trait = { + trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { - x = 8 - y = 4 - } + + position = { x=8 y=4 } + available = { - FROM = { - OR = { - hidden_trigger = { - is_ai = yes - } - tag = BLI - has_country_flag = buligongyi1_get - } - } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } + equipment_bonus = { - reliability = 0.08 + reliability = 0.08 armor_value = 0.05 maximum_speed = 0.03 naval_range = 0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -532,33 +450,26 @@ DOH_wuchangzaochuanchang_organization = { } } } - add_trait = { + + trait = { token = bulizaochuanchang_2 name = bulizaochuanchang_2 icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - position = { - x = 9 - y = 4 - } + + position = { x=9 y=4 } + available = { - FROM = { - OR = { - hidden_trigger = { - is_ai = yes - } - tag = BLI - has_country_flag = buligongyi2_get - } - } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } + equipment_bonus = { lg_attack = 0.15 hg_attack = 0.2 carrier_size = 1 torpedo_attack = 0.15 build_cost_ic = -0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -574,15 +485,14 @@ DOH_wuchangzaochuanchang_organization = { } } } - add_trait = { + add_trait = { token = jishujiaoliu_zuoshibao name = jishujiaoliu_zuoshibao icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 9 - y = 0 - } + + position = { x=9 y=0 } + available = { FROM = { OR = { @@ -592,13 +502,14 @@ DOH_wuchangzaochuanchang_organization = { } } equipment_bonus = { - build_cost_ic = 0.1 + build_cost_ic = 0.10 reliability = 0.15 max_strength = 0.25 maximum_speed = 0.1 + sub_visibility = -0.15 naval_torpedo_hit_chance_factor = 0.15 torpedo_attack = 0.15 - } + } production_bonus = { production_capacity_factor = 0.05 } @@ -613,10 +524,9 @@ DOH_wuchangzaochuanchang_organization = { name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 9 - y = 2 - } + + position = { x=9 y=2 } + available = { FROM = { num_of_naval_factories > 85 @@ -625,28 +535,29 @@ DOH_wuchangzaochuanchang_organization = { equipment_bonus = { maximum_speed = 0.15 reliability = 0.15 - surface_visibility = -0.10 + surface_visibility = -0.15 build_cost_ic = 0.05 naval_torpedo_hit_chance_factor = 0.15 torpedo_attack = 0.15 } production_bonus = { - production_capacity_factor = 0.1 + production_capacity_factor = 0.10 } } + available = { owner = { OR = { is_ai = yes AND = { num_of_factories > 300 - num_of_naval_factories > 20 + num_of_naval_factories > 20 } } controls_state = 620 OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } } } @@ -655,7 +566,7 @@ DOH_wuchangzaochuanchang_organization = { DOH_jiangnan_shipyard_group_organization = { include = generic_task_force_ship_organization icon = GFX_idea_generic_naval_manufacturer_1 - allowed = { + allowed = { tag = DOH } available = { @@ -663,32 +574,24 @@ DOH_jiangnan_shipyard_group_organization = { controls_state = 613 } } - add_trait = { + add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { - x = 8 - y = 4 - } + + position = { x=8 y=4 } + available = { - FROM = { - OR = { - hidden_trigger = { - is_ai = yes - } - tag = BLI - has_country_flag = buligongyi1_get - } - } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } + equipment_bonus = { - reliability = 0.08 + reliability = 0.08 armor_value = 0.05 maximum_speed = 0.03 naval_range = 0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -704,33 +607,26 @@ DOH_jiangnan_shipyard_group_organization = { } } } + add_trait = { token = bulizaochuanchang_2 name = bulizaochuanchang_2 icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - position = { - x = 9 - y = 4 - } + + position = { x=9 y=4 } + available = { - FROM = { - OR = { - hidden_trigger = { - is_ai = yes - } - tag = BLI - has_country_flag = buligongyi2_get - } - } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } + equipment_bonus = { lg_attack = 0.15 hg_attack = 0.2 carrier_size = 1 torpedo_attack = 0.15 build_cost_ic = -0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -746,15 +642,14 @@ DOH_jiangnan_shipyard_group_organization = { } } } - add_trait = { + add_trait = { token = jishujiaoliu_hengxuhe name = jishujiaoliu_hengxuhe icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 9 - y = 0 - } + + position = { x=9 y=0 } + available = { FROM = { OR = { @@ -765,85 +660,68 @@ DOH_jiangnan_shipyard_group_organization = { } equipment_bonus = { build_cost_ic = 0.05 - max_strength = 0.1 - maximum_speed = 0.1 - surface_visibility = -0.1 + max_strength = 0.10 + maximum_speed = 0.10 + surface_visibility = -0.2 carrier_size = 1 anti_air_attack = 0.1 - night_penalty = -0.1 + night_penalty = -0.3 } production_bonus = { production_capacity_factor = 0.05 } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } } add_trait = { token = jishugaijing name = "整修江南制造局" icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 9 - y = 2 - } + + position = { x=9 y=2 } + available = { FROM = { num_of_naval_factories > 85 } } equipment_bonus = { + maximum_speed = 0.05 + reliability = 0.05 max_strength = 0.15 - surface_visibility = -0.1 + surface_visibility = -0.2 carrier_size = 1 - anti_air_attack = 0.25 + anti_air_attack = 0.1 } production_bonus = { production_capacity_factor = 0.05 } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } } } DOH_dagu_shipyard_organization = { include = generic_raider_ship_organization icon = GFX_idea_generic_naval_manufacturer_3 - allowed = { + allowed = { tag = DOH } - add_trait = { + add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { - x = 8 - y = 4 - } + + position = { x=8 y=4 } + available = { - FROM = { - OR = { - hidden_trigger = { - is_ai = yes - } - tag = BLI - has_country_flag = buligongyi1_get - } - } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } + equipment_bonus = { - reliability = 0.08 + reliability = 0.08 armor_value = 0.05 maximum_speed = 0.03 naval_range = 0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -859,33 +737,26 @@ DOH_dagu_shipyard_organization = { } } } + add_trait = { token = bulizaochuanchang_2 name = bulizaochuanchang_2 icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - position = { - x = 9 - y = 4 - } + + position = { x=9 y=4 } + available = { - FROM = { - OR = { - hidden_trigger = { - is_ai = yes - } - tag = BLI - has_country_flag = buligongyi2_get - } - } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } + equipment_bonus = { lg_attack = 0.15 hg_attack = 0.2 carrier_size = 1 torpedo_attack = 0.15 build_cost_ic = -0.1 - } + } production_bonus = { production_resource_need_factor = -0.55 } @@ -901,15 +772,14 @@ DOH_dagu_shipyard_organization = { } } } - add_trait = { + add_trait = { token = jishujiaoliu_zuoshibao name = jishujiaoliu_zuoshibao icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 9 - y = 0 - } + + position = { x=9 y=0 } + available = { FROM = { OR = { @@ -920,123 +790,111 @@ DOH_dagu_shipyard_organization = { } equipment_bonus = { build_cost_ic = 0.05 + reliability = 0.15 maximum_speed = 0.2 surface_visibility = -0.1 surface_detection = 0.1 - torpedo_attack = 0.2 - } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } + } } add_trait = { token = jishugaijing name = jishugaijing icon = GFX_generic_mio_trait_icon_unique special_trait_background = yes - position = { - x = 9 - y = 2 - } + + position = { x=9 y=2 } + available = { FROM = { num_of_naval_factories > 85 } } equipment_bonus = { - build_cost_ic = 0.1 + build_cost_ic = 0.05 maximum_speed = 0.2 + reliability = 0.15 surface_visibility = -0.2 surface_detection = 0.2 - naval_torpedo_hit_chance_factor = 0.2 - } - on_complete = { - ROOT = { - add_mio_size = 1 - } } } + available = { - owner = { - OR = { + owner = { OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang - } - } + has_completed_focus = DOH_yixianwansui + } } } } ########################### + ### # ## # # ### ## # # # # # ## # # # ### # #### # ## ## # # # # # # # # # # ### # # # # ### ## + ########################### + DOH_camco_medium_organization = { - include = generic_multi_role_aircraft_organization + include = generic_medium_aircraft_organization icon = GFX_idea_CHI_camco - allowed = { + allowed = { tag = DOH } available = { owner = { OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_duidizhiyuan } } } - DOH_camco_fighter_organization = { - include = generic_high_agility_fighter_aircraft_organization + include = generic_light_aircraft_organization icon = GFX_idea_CHI_camco - allowed = { + allowed = { tag = DOH } available = { owner = { OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_tieyuan } } } - DOH_camco_cas_organization = { include = generic_cas_aircraft_organization icon = GFX_idea_CHI_camco - allowed = { + allowed = { tag = DOH } available = { owner = { OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_duidizhiyuan } } } - DOH_camco_heavy_organization = { include = generic_heavy_aircraft_organization icon = GFX_idea_CHI_camco - allowed = { + allowed = { tag = DOH } available = { owner = { OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_duidizhiyuan OR = { @@ -1046,33 +904,28 @@ DOH_camco_heavy_organization = { } } } - ################################### + # # ## ### ### ### ### ### # ## ## # # # # # # # # # # # # #### # ## ### # ## # # # # # # # # # # # # # # # # # ### # # ### ### ### + + ################################### + DOH_taiyuan_arsenal_organization = { icon = GFX_idea_generic_artillery_manufacturer_1 allowed = { tag = DOH } - equipment_type = { - artillery_equipment - anti_air_equipment - anti_tank_equipment - rocket_artillery_equipment - self_propelled_super_heavy_artillery_equipment - super_heavy_artillery_equipment - } available = { owner = { controls_state = 615 OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } } } @@ -1086,15 +939,14 @@ DOH_taiyuan_arsenal_organization = { token = generic_mio_trait_improved_direct_fire_targeting name = generic_mio_trait_improved_direct_fire_targeting icon = GFX_generic_mio_department_icon_anti_tank - position = { - x = -1 - y = 3 - } + + position = { x=-1 y=3 } relative_position_id = generic_mio_trait_improved_hydraulic_recoil_system + all_parents = { - generic_mio_trait_improved_hydraulic_recoil_system + generic_mio_trait_improved_hydraulic_recoil_system } - limit_to_equipment_type = { + limit_to_equipment_type = { anti_tank_equipment } available = { @@ -1109,23 +961,18 @@ DOH_taiyuan_arsenal_organization = { ap_attack = 0.05 hard_attack = 0.05 } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } } + add_trait = { token = generic_mio_trait_advanced_anti_air_targeting name = generic_mio_trait_advanced_anti_air_targeting icon = GFX_generic_mio_department_icon_anti_air - position = { - x = 1 - y = 0 - } + + position = { x=1 y=0 } relative_position_id = generic_mio_trait_improved_direct_fire_targeting + all_parents = { - generic_mio_trait_improved_hydraulic_recoil_system + generic_mio_trait_improved_hydraulic_recoil_system } available = { FROM = { @@ -1135,79 +982,50 @@ DOH_taiyuan_arsenal_organization = { } } } - limit_to_equipment_type = { + limit_to_equipment_type = { anti_air_equipment } + equipment_bonus = { air_attack = 0.07 } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } } + add_trait = { token = generic_mio_trait_advanced_trajectory_calculations name = generic_mio_trait_advanced_trajectory_calculations icon = GFX_generic_mio_department_icon_artillery - position = { - x = 2 - y = 0 - } + + position = { x=2 y=0 } relative_position_id = generic_mio_trait_improved_direct_fire_targeting + all_parents = { - generic_mio_trait_improved_hydraulic_recoil_system + generic_mio_trait_improved_hydraulic_recoil_system } - limit_to_equipment_type = { + + limit_to_equipment_type = { artillery_equipment rocket_artillery_equipment } + equipment_bonus = { hard_attack = 1 breakthrough = 0.05 } } - add_trait = { - token = jishugaijing - name = jishugaijing - icon = GFX_generic_mio_trait_icon_unique - special_trait_background = yes - position = { - x = 9 - y = 0 - } - available = { - FROM = { - OR = { - is_ally_with = CHY - has_country_flag = chy_jungongyuanzhu_flag - } - } - } - equipment_bonus = { - soft_attack = 0.05 - hard_attack = 0.05 - reliability = 0.1 - } - production_bonus = { - production_resource_need_factor = -0.3 - } - } } - DOH_liaoning_arsenal_organization = { include = generic_motorized_mechanized_organization icon = GFX_idea_generic_motorized_equipment_manufacturer_1 allowed = { - tag = DOH - } + tag = DOH + } available = { owner = { controls_state = 715 OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } } } @@ -1215,10 +1033,7 @@ DOH_liaoning_arsenal_organization = { token = DOH_motorized name = jishujiaoliu_richan icon = GFX_generic_mio_trait_icon_unique - position = { - x = 0 - y = 2 - } + position = { x = 0 y = 2 } available = { DOH = { OR = { @@ -1230,29 +1045,23 @@ DOH_liaoning_arsenal_organization = { equipment_bonus = { hardness = 0.05 defense = 0.1 - fuel_consumption = -0.1 + fuel_consumption = -0.10 build_cost_ic = 0.05 } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } } } - DOH_hanyan_arsenal_organization = { include = generic_infantry_equipment_organization icon = GFX_idea_generic_infantry_equipment_manufacturer_1 allowed = { - tag = DOH - } + tag = DOH + } available = { owner = { controls_state = 620 OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } } } @@ -1270,8 +1079,8 @@ DOH_hanyan_arsenal_organization = { } } equipment_bonus = { - soft_attack = 0.1 - hard_attack = 0.1 + soft_attack = 0.10 + hard_attack = 0.10 ap_attack = 1 defense = 0.05 build_cost_ic = 0.05 @@ -1279,11 +1088,6 @@ DOH_hanyan_arsenal_organization = { mutually_exclusive = { DOH_infantry_mio_jishugaijing_2 } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } } add_trait = { token = DOH_infantry_mio_jishugaijing_2 @@ -1305,14 +1109,9 @@ DOH_hanyan_arsenal_organization = { production_bonus = { production_cost_factor = -0.03 production_conversion_speed_factor = 0.3 - production_efficiency_cap_factor = 0.1 + production_efficiency_cap_factor = 0.10 production_efficiency_gain_factor = 0.05 } - on_complete = { - ROOT = { - add_mio_size = 1 - } - } } add_trait = { token = DOH_infantry_mio_jishugaijing_3 @@ -1345,20 +1144,19 @@ DOH_hanyan_arsenal_organization = { } } } - DOH_mukden_arsenal_organization = { include = DOH_hanyan_arsenal_organization icon = GFX_idea_generic_infantry_equipment_manufacturer_2 allowed = { - tag = DOH - } + tag = DOH + } available = { owner = { controls_state = 716 OR = { has_completed_focus = DOH_xindonghuang - has_completed_focus = DOH_donghuangdeyewang + has_completed_focus = DOH_yixianwansui } } } -} +} \ No newline at end of file diff --git a/src/common/military_industrial_organization/organizations/HUJ_organization.txt b/src/common/military_industrial_organization/organizations/HUJ_organization.txt index 1d3d73c..ba36c4c 100755 --- a/src/common/military_industrial_organization/organizations/HUJ_organization.txt +++ b/src/common/military_industrial_organization/organizations/HUJ_organization.txt @@ -126,10 +126,10 @@ HUJ_harland_wolff_organization = { icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { x=9 y=3 } + position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -163,7 +163,7 @@ HUJ_harland_wolff_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -219,10 +219,10 @@ HUJ_cammell_laird_organization = { icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { x=7 y=4 } + position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -256,7 +256,7 @@ HUJ_cammell_laird_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -340,7 +340,7 @@ HUJ_yarrow_shipbuilders_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -374,7 +374,7 @@ HUJ_yarrow_shipbuilders_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -417,7 +417,7 @@ HUJ_john_brown_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -451,7 +451,7 @@ HUJ_john_brown_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -504,7 +504,6 @@ HUJ_supermarine_organization = { research_categories = { mio_cat_all_light_fighter_and_modules - } override_trait = { diff --git a/src/common/military_industrial_organization/organizations/SAD_organization.txt b/src/common/military_industrial_organization/organizations/SAD_organization.txt index d32bb1b..075a77a 100755 --- a/src/common/military_industrial_organization/organizations/SAD_organization.txt +++ b/src/common/military_industrial_organization/organizations/SAD_organization.txt @@ -26,7 +26,7 @@ SAD_fiat_organization = { position = { x=9 y=0 } available = { - OR = { + or = { FROM = { has_completed_focus = SAD_changshizizhuyanfa } FROM = { is_ai = yes } } @@ -113,7 +113,7 @@ SAD_crda_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -147,7 +147,7 @@ SAD_crda_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -281,7 +281,7 @@ SAD_cantiere_oto_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -315,7 +315,7 @@ SAD_cantiere_oto_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -444,7 +444,7 @@ SAD_navalmeccanica_organization = { position = { x=4 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -478,7 +478,7 @@ SAD_navalmeccanica_organization = { position = { x=5 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -612,7 +612,7 @@ SAD_cantiere_navale_di_ancona_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -646,7 +646,7 @@ SAD_cantiere_navale_di_ancona_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -780,7 +780,7 @@ SAD_cantieri_navali_tosi_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -814,7 +814,7 @@ SAD_cantieri_navali_tosi_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -1438,7 +1438,7 @@ SAD_officine_meccaniche_organization = { research_categories = { mio_cat_tech_all_motorized_mechanized - train_equipment + train_tech } initial_trait = { diff --git a/src/common/military_industrial_organization/organizations/SIR_organization.txt b/src/common/military_industrial_organization/organizations/SIR_organization.txt index d4aaaa0..c4120b5 100755 --- a/src/common/military_industrial_organization/organizations/SIR_organization.txt +++ b/src/common/military_industrial_organization/organizations/SIR_organization.txt @@ -60,7 +60,7 @@ SIR_carrier_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -94,7 +94,7 @@ SIR_carrier_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -142,7 +142,7 @@ SIR_BB_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -176,7 +176,7 @@ SIR_BB_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -224,7 +224,7 @@ SIR_SL_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -258,7 +258,7 @@ SIR_SL_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -306,7 +306,7 @@ SIR_SM_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -340,7 +340,7 @@ SIR_SM_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { diff --git a/src/common/military_industrial_organization/organizations/TIX_organization.txt b/src/common/military_industrial_organization/organizations/TIX_organization.txt index 98f2051..1f23d1d 100755 --- a/src/common/military_industrial_organization/organizations/TIX_organization.txt +++ b/src/common/military_industrial_organization/organizations/TIX_organization.txt @@ -16,45 +16,6 @@ TIX_porsche_organization = { allowed = { tag = TIX } - - tree_header_text = { - text = mio_header_engine_and_drive_system - x = 0.5 - } - - tree_header_text = { - text = mio_header_chassis - x = 4 - } - - tree_header_text = { - text = mio_header_guns_and_turret - x = 7 - } - - override_trait = { - token = generic_mio_trait_wide_tracks - - position = { x=0 y=0 } - } - - override_trait = { - token = generic_mio_trait_one_piece_hull_side_coverings - - position = { x=3 y=0 } - } - - override_trait = { - token = generic_mio_trait_improved_crew_ergonomics - - position = { x=0 y=2 } - } - - override_trait = { - token = generic_mio_trait_fully_cast_turret - - position = { x=4 y=0 } - } add_trait = { token = TIX_mio_tiexuezhuangjiagongzao @@ -62,7 +23,7 @@ TIX_porsche_organization = { icon = GFX_generic_mio_department_icon_tank_heavy_tank_technology special_trait_background = yes - position = { x=9 y=2 } + position = { x=-1 y=1 } relative_position_id = generic_mio_trait_wide_tracks visible = { @@ -84,140 +45,12 @@ TIX_porsche_organization = { breakthrough = 0.05 } production_bonus = { - #production_cost_factor = 0.1 + production_cost_factor = 0.1 } ai_will_do = { base = 100 } } - - add_trait = { - token = TIX_mio_trait_multi_role_tanks - name = TIX_mio_trait_multi_role_tanks - icon = GFX_generic_mio_department_icon_tank_heavy_tank_aa - special_trait_background = yes - - position = { x=2 y=0 } - relative_position_id = generic_mio_trait_one_piece_hull_side_coverings - - visible = { - FROM = { original_tag = TIX } - } - - equipment_bonus = { - soft_attack = 0.05 - air_attack = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_anti_tank_specialization - name = TIX_mio_trait_anti_tank_specialization - icon = GFX_generic_mio_department_icon_tank_heavy_tank_at - special_trait_background = yes - - all_parents = { - generic_mio_trait_one_piece_hull_side_coverings - TIX_mio_trait_multi_role_tanks - } - - position = { x=1 y=1 } - relative_position_id = generic_mio_trait_one_piece_hull_side_coverings - - visible = { - FROM = { original_tag = TIX } - } - - equipment_bonus = { - hard_attack = 0.05 - ap_attack = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_unorthodox_transmission_design - name = TIX_mio_trait_unorthodox_transmission_design - icon = GFX_generic_mio_department_icon_tank_heavy_tank_engine - special_trait_background = yes - - all_parents = { - generic_mio_trait_simplified_transmission_system - } - - position = { x=-1 y=1 } - relative_position_id = generic_mio_trait_simplified_transmission_system - - visible = { - FROM = { original_tag = TIX } - } - - limit_to_equipment_type = { - armor - } - - equipment_bonus = { - maximum_speed = 0.05 - reliability = -0.02 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_hoesch_facilities - name = TIX_mio_trait_hoesch_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_involve_porsche_in_special_projects - name = TIX_mio_trait_involve_porsche_in_special_projects - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x=9 y=1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - has_mio_size > 4 - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.05 - } - - ai_will_do = { - base = 2 - } - } } @@ -257,7 +90,7 @@ TIX_henschel_organization = { breakthrough = 0.05 } production_bonus = { - #production_cost_factor = 0.1 + production_cost_factor = 0.1 } ai_will_do = { base = 100 @@ -279,7 +112,7 @@ TIX_henschel_organization = { available = { #Two FROM blocs to provide two different check marks in the UI FROM = { - OR = { + or = { has_completed_focus = TIX_sairenjiehe has_completed_focus = TIX_wanquansairen } @@ -287,9 +120,9 @@ TIX_henschel_organization = { } equipment_bonus = { - armor_value = -0.25 - maximum_speed = 1.25 - reliability = -0.5 + armor_value = 0.15 + maximum_speed = 0.5 + reliability = -0.1 } production_bonus = { production_cost_factor = 0.25 @@ -298,52 +131,6 @@ TIX_henschel_organization = { base = 0 } } - - add_trait = { - token = TIX_mio_trait_hoesch_facilities - name = TIX_mio_trait_hoesch_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_involve_porsche_in_special_projects - name = TIX_mio_trait_involve_porsche_in_special_projects - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x=9 y=1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - has_mio_size > 4 - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.05 - } - - ai_will_do = { - base = 2 - } - } } TIX_man_organization = { @@ -353,27 +140,6 @@ TIX_man_organization = { allowed = { tag = TIX } - - tree_header_text = { - text = mio_header_design - x = 1 - } - - tree_header_text = { - text = mio_header_armor - x = 4 - } - - tree_header_text = { - text = mio_header_engines - x = 7 - } - - override_trait = { - token = generic_mio_trait_armor_steel_working - - position = { x=3 y=0 } - } add_trait = { token = TIX_mio_tiexuezhuangjiagongzao_3 @@ -381,8 +147,8 @@ TIX_man_organization = { icon = GFX_generic_mio_department_icon_tank_heavy_tank_technology special_trait_background = yes - position = { x=9 y=2 } - + position = { x=0 y=2 } + relative_position_id = generic_mio_trait_improved_suspension visible = { FROM = { original_tag = TIX } @@ -403,422 +169,12 @@ TIX_man_organization = { breakthrough = 0.05 } production_bonus = { - #production_cost_factor = 0.1 + production_cost_factor = 0.1 } ai_will_do = { base = 100 } } - - add_trait = { - token = TIX_mio_linghuopaotai - name = TIX_mio_linghuopaotai - icon = GFX_generic_mio_department_icon_tank_heavy_tank_weapons - special_trait_background = yes - - position = { x=7 y=3 } - - - visible = { - FROM = { original_tag = TIX } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - - } - limit_to_equipment_type = { medium_tank_aa_chassis } - equipment_bonus = { - soft_attack = 0.5 - hard_attack = 0.2 - breakthrough = 0.25 - } - ai_will_do = { - base = 1 - } - } - - add_trait = { - token = TIX_mio_xingnengtisheng - name = TIX_mio_xingnengtisheng - icon = GFX_generic_mio_department_icon_tank_heavy_tank_production - special_trait_background = yes - relative_position_id = TIX_mio_linghuopaotai - position = { x=-1 y=1 } - any_parent = { TIX_mio_linghuopaotai } - - visible = { - FROM = { original_tag = TIX } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - - } - limit_to_equipment_type = { medium_tank_aa_chassis } - equipment_bonus = { - armor_value = 0.15 - maximum_speed = 0.05 - reliability = 0.1 - breakthrough = 0.25 - } - ai_will_do = { - base = 1 - } - } - - add_trait = { - token = TIX_mio_jianyilingjian - name = TIX_mio_jianyilingjian - icon = GFX_generic_mio_department_icon_tank_heavy_tank_line_efficiency - special_trait_background = yes - relative_position_id = TIX_mio_linghuopaotai - position = { x=0 y=1 } - any_parent = { TIX_mio_linghuopaotai } - - visible = { - FROM = { original_tag = TIX } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - - } - limit_to_equipment_type = { medium_tank_aa_chassis } - production_bonus = { - production_efficiency_gain_factor = 0.2 - production_efficiency_cap_factor = 0.2 - production_cost_factor = -0.2 - } - ai_will_do = { - base = 1 - } - } - - add_trait = { - token = TIX_mio_chuanjiapaodan - name = TIX_mio_chuanjiapaodan - icon = GFX_generic_mio_department_icon_tank_heavy_tank_spg - special_trait_background = yes - relative_position_id = TIX_mio_linghuopaotai - position = { x=1 y=1 } - any_parent = { TIX_mio_linghuopaotai } - - visible = { - FROM = { original_tag = TIX } - } - - available = { #Two FROM blocs to provide two different check marks in the UI - - } - limit_to_equipment_type = { medium_tank_aa_chassis } - equipment_bonus = { - soft_attack = 2 - hard_attack = 1 - ap_attack = 1.2 - breakthrough = 0.5 - } - ai_will_do = { - base = 1 - } - } - - add_trait = { - token = TIX_mio_trait_hoesch_facilities - name = TIX_mio_trait_hoesch_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_involve_porsche_in_special_projects - name = TIX_mio_trait_involve_porsche_in_special_projects - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x=9 y=1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - has_mio_size > 4 - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_high_velocity_armament - name = TIX_mio_trait_high_velocity_armament - icon = GFX_generic_mio_department_icon_tank_general_at - special_trait_background = yes - - position = { x=1 y=2 } - relative_position_id = generic_mio_trait_spaced_armor - - all_parents = { generic_mio_trait_improved_gun_metallurgy } - - any_parent = { generic_mio_trait_spaced_armor generic_mio_trait_crew_survival_layout generic_mio_trait_sloped_side_armor } - - available = { - } - - equipment_bonus = { - ap_attack = 0.05 - hard_attack = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_schachtellaufwerk - name = TIX_mio_trait_schachtellaufwerk - icon = GFX_generic_mio_department_icon_tank_medium_tank_quality - special_trait_background = yes - - position = { x=-1 y=1 } - relative_position_id = generic_mio_trait_improved_suspension - - all_parents = { generic_mio_trait_improved_suspension } - - - available = { - } - - equipment_bonus = { - breakthrough = 0.03 - reliability = 0.03 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_mobility_design_philosophy - name = TIX_mio_trait_mobility_design_philosophy - icon = GFX_generic_mio_department_icon_tank_medium_tank_engine - special_trait_background = yes - - position = { x=1 y=1 } - relative_position_id = generic_mio_trait_improved_suspension - - all_parents = { generic_mio_trait_improved_suspension } - - - available = { - } - - equipment_bonus = { - maximum_speed = 0.05 - } - - ai_will_do = { - base = 2 - } - } -} - -#Alkett -TIX_alkett_organization = { - include = generic_assault_guns_organization - icon = GFX_idea_GER_alkett - - allowed = { - original_tag = TIX - } - available = { - TIX = { - is_ai = no - } - } - tree_header_text = { - text = mio_header_light_tank_department - x = 1 - } - - tree_header_text = { - text = mio_header_medium_tank_department - x = 4 - } - - tree_header_text = { - text = mio_header_heavy_tank_department - x = 7 - } - - override_trait = { - token = generic_mio_medium_assault_gun_rocket_tubes - - mutually_exclusive = { TIX_mio_trait_panzerjager } - } - - #override_trait = { - # token = generic_mio_trait_fully_cast_turret_assault_gun -# - # position = { x = 0 y = 2 } - #} - - add_trait = { - token = TIX_mio_trait_panzerjager - name = TIX_mio_trait_panzerjager - icon = GFX_generic_mio_department_icon_tank_general_at - special_trait_background = yes - - position = { x = 0 y = 1 } - relative_position_id = generic_mio_medium_assault_gun_75_mm_43M_tank_gun - - all_parents = { generic_mio_medium_assault_gun_75_mm_43M_tank_gun } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - FROM = { - has_tech = antitank2 - } - } - - mutually_exclusive = { generic_mio_medium_assault_gun_rocket_tubes } - - limit_to_equipment_type = { medium_tank_artillery_chassis heavy_tank_artillery_chassis } - - equipment_bonus = { - ap_attack = 0.05 - hard_attack = 0.1 - reliability = -0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_armored_superstructure_specialist - name = TIX_mio_trait_armored_superstructure_specialist - icon = GFX_generic_mio_department_icon_tank_general_armor - special_trait_background = yes - - position = { x = 9 y = 3 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - } - - equipment_bonus = { - armor_value = 0.05 - defense = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_sturmhaubitze - name = TIX_mio_trait_sturmhaubitze - icon = GFX_generic_mio_department_icon_tank_general_at - special_trait_background = yes - - position = { x = 9 y = 2 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - #TODO_Danne fix this with a flag or something! TIX should integrate CZE industries or something before doing this - - } - - limit_to_equipment_type = { medium_tank_artillery_chassis heavy_tank_artillery_chassis } - - equipment_bonus = { - soft_attack = 0.03 - hard_attack = 0.05 - breakthrough = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_hoesch_facilities - name = TIX_mio_trait_hoesch_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_involve_porsche_in_special_projects - name = TIX_mio_trait_involve_porsche_in_special_projects - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x=9 y=1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - has_mio_size > 4 - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.05 - } - - ai_will_do = { - base = 2 - } - } - } #Benz @@ -832,41 +188,24 @@ TIX_daimler_benz_organization = { tree_header_text = { text = mio_header_tank_construction - x = 2 + x = 3 } tree_header_text = { text = mio_header_equipment_and_specialization - x = 6 + x = 7 } tree_header_text = { text = mio_header_armor - x = 8 + x = 9 } - initial_trait = { organization_modifier = { military_industrial_organization_research_bonus = 0.05 } } - override_trait = { - token = generic_mio_trait_simplified_suspension - - position = { x=0 y=0 } - } - - override_trait = { - token = generic_mio_trait_improved_tooling - - relative_position_id = TIX_mio_trait_versatile_chassis - - all_parents = { generic_mio_trait_improved_tracks generic_mio_trait_command_upgrades TIX_mio_trait_versatile_chassis } - - position = { x=0 y=1 } - } - add_trait = { token = TIX_mio_trait_hotrolled_armor name = TIX_mio_trait_hotrolled_armor @@ -879,7 +218,7 @@ TIX_daimler_benz_organization = { production_efficiency_gain_factor = 0.05 } - position = { x=8 y=0 } + position = { x=9 y=0 } ai_will_do = { base = 2 modifier = { @@ -901,7 +240,7 @@ TIX_daimler_benz_organization = { armor_value = 0.1 } - position = { x=8 y=1 } + position = { x=9 y=2 } ai_will_do = { base = 2 modifier = { @@ -939,115 +278,12 @@ TIX_daimler_benz_organization = { breakthrough = 0.05 } production_bonus = { - #production_cost_factor = 0.1 + production_cost_factor = 0.1 } ai_will_do = { base = 100 } } - - add_trait = { - token = TIX_mio_trait_hoesch_facilities - name = TIX_mio_trait_hoesch_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=8 y=3 } - - visible = { - FROM = { original_tag = TIX } - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_involve_porsche_in_special_projects - name = TIX_mio_trait_involve_porsche_in_special_projects - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x=8 y=4 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - has_mio_size > 4 - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_versatile_chassis - name = TIX_mio_trait_versatile_chassis - icon = GFX_generic_mio_department_icon_tank_general_production - special_trait_background = yes - - relative_position_id = generic_mio_trait_standardized_components - - all_parents = { generic_mio_trait_standardized_components } - - position = { x=0 y=1 } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - modifier = { - factor = 1.5 - date > 1937.1.1 - } - } - } - - add_trait = { - token = TIX_mio_trait_tungsten_tipped_rounds - name = TIX_mio_trait_tungsten_tipped_rounds - icon = GFX_generic_mio_department_icon_tank_general_at - special_trait_background = yes - - relative_position_id = generic_mio_trait_long_barreled_guns - - all_parents = { generic_mio_trait_long_barreled_guns } - - position = { x=0 y=1 } - - available = { - FROM = { - has_tech = antitank2 - } - } - - equipment_bonus = { - ap_attack = 0.05 - hard_attack = 0.05 - } - - ai_will_do = { - base = 2 - modifier = { - factor = 1.5 - date > 1937.1.1 - } - } - } } ##################### @@ -1060,205 +296,23 @@ TIX_daimler_benz_organization = { ##################### -TIX_deschimag_organization = { - include = generic_escort_ship_organization - icon = GFX_idea_GER_deschimag - - override_trait = { - token = generic_mio_trait_fleet_escorts - - position = { x=4 y=0 } - } - - override_trait = { - token = generic_mio_trait_anti_air_ships - - position = { x=-2 y=2 } - } - - allowed = { - original_tag = TIX - } - - add_trait = { - token = TIX_mio_trait_krupp_contacts - name = TIX_mio_trait_krupp_contacts - icon = GFX_generic_mio_department_icon_ship_screen_ship_quality - special_trait_background = yes - - relative_position_id = generic_mio_trait_escort_in_force - - any_parent = { generic_mio_trait_anti_air_ships generic_mio_trait_escort_in_force } - - position = { x=0 y=1 } - - equipment_bonus = { - lg_attack = 0.05 - lg_armor_piercing = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_armored_design - name = TIX_mio_trait_armored_design - icon = GFX_generic_mio_trait_icon_armor_value - special_trait_background = yes - - relative_position_id = TIX_mio_trait_krupp_contacts - - all_parents = { TIX_mio_trait_krupp_contacts } - - position = { x=0 y=1 } - - equipment_bonus = { - armor_value = 0.07 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_shipyard_conglomerate - name = TIX_mio_trait_shipyard_conglomerate - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - relative_position_id = generic_mio_trait_fleet_escorts - - position = { x=3 y=0 } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } -} - TIX_germaniawerft_organization = { include = generic_battle_line_ship_organization icon = GFX_idea_germaniawerft - - override_trait = { - token = generic_mio_trait_internal_armor_belt - - position = { x=1 y=0 } - } - - override_trait = { - token = generic_mio_trait_advanced_armor_design - - position = { x=0 y=2 } - } - - override_trait = { - token = generic_mio_trait_anti_air_layout - - position = { x=3 y=0 } - } allowed = { tag = TIX } - - add_trait = { - token = TIX_mio_trait_history_of_battleships - name = TIX_mio_trait_history_of_battleships - icon = GFX_generic_mio_department_icon_ship_capital_ship_production - special_trait_background = yes - - relative_position_id = generic_mio_trait_internal_armor_belt - - position = { x=1 y=0 } - - available = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_battleship } - - equipment_bonus = { - hg_attack = 0.05 - build_cost_ic = -0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_krupp_guns - name = TIX_mio_trait_krupp_guns - icon = GFX_generic_mio_department_icon_ship_capital_ship_weapons - special_trait_background = yes - - relative_position_id = TIX_mio_trait_history_of_battleships - - all_parents = { TIX_mio_trait_history_of_battleships } - position = { x=0 y=1 } - - available = { - - } - - equipment_bonus = { - hg_attack = 0.05 - lg_attack = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_h_class_battleships - name = TIX_mio_trait_h_class_battleships - icon = GFX_generic_mio_department_icon_ship_capital_ship_quality - special_trait_background = yes - - relative_position_id = TIX_mio_trait_krupp_guns - - all_parents = { TIX_mio_trait_krupp_guns } - - position = { x=0 y=1 } - - available = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_battleship } - - equipment_bonus = { - hg_armor_piercing = 0.05 - naval_speed = 0.05 - build_cost_ic = -0.05 - } - - ai_will_do = { - base = 2 - } - } - add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { x=7 y=4 } + position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -1289,10 +343,10 @@ TIX_germaniawerft_organization = { icon = GFX_BLI_zaochuanchang_mio_icon_2 special_trait_background = yes - position = { x=8 y=4 } + position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -1326,136 +380,16 @@ TIX_blohm_und_voss_organization = { allowed = { tag = TIX } - - override_trait = { - token = generic_mio_trait_unescorted_raider_requirements - - position = { x=2 y=1 } - } - override_trait = { - token = generic_mio_trait_raider_escort_requirements - - position = { x=0 y=1 } - } - - add_trait = { - token = TIX_mio_trait_heavy_raiders - name = TIX_mio_trait_heavy_raiders - icon = GFX_generic_mio_department_icon_ship_screen_ship_engine - special_trait_background = yes - - relative_position_id = generic_mio_trait_raiding_capital_ships - - all_parents = { generic_mio_trait_raiding_capital_ships } - - position = { x=-2 y=1 } - - available = { - - } - - limit_to_equipment_type = { ship_hull_cruiser } - - equipment_bonus = { - surface_visibility = -0.05 - naval_speed = 0.05 - naval_range = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_o_class_battlecruisers - name = TIX_mio_trait_o_class_battlecruisers - icon = GFX_generic_mio_department_icon_ship_screen_ship_engine - special_trait_background = yes - - relative_position_id = TIX_mio_trait_heavy_raiders - - all_parents = { TIX_mio_trait_heavy_raiders } - - position = { x=0 y=1 } - - available = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_cruiser } - - equipment_bonus = { - hg_armor_piercing = 0.05 - naval_speed = 0.05 - build_cost_ic = -0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_u_boat_yards - name = TIX_mio_trait_u_boat_yards - icon = GFX_generic_mio_department_icon_ship_submarine_production - special_trait_background = yes - - relative_position_id = generic_mio_trait_raiding_submarines - - all_parents = { generic_mio_trait_raiding_submarines } - - position = { x=2 y=1 } - - available = { - - } - - limit_to_equipment_type = { submarine } - - equipment_bonus = { - build_cost_ic = -0.1 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_high_test_peroxide - name = TIX_mio_trait_high_test_peroxide - icon = GFX_generic_mio_department_icon_ship_submarine_engine - special_trait_background = yes - - relative_position_id = TIX_mio_trait_u_boat_yards - - all_parents = { TIX_mio_trait_u_boat_yards } - - position = { x=0 y=1 } - - limit_to_equipment_type = { submarine } - - equipment_bonus = { - naval_speed = 0.1 - } - - ai_will_do = { - base = 2 - } - } - add_trait = { token = bulizaochuanchang_1 name = bulizaochuanchang_1 icon = GFX_BLI_zaochuanchang_mio_icon_1 special_trait_background = yes - position = { x=9 y=3 } + position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -1489,541 +423,7 @@ TIX_blohm_und_voss_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } - } - - equipment_bonus = { - lg_attack = 0.15 - hg_attack = 0.2 - carrier_size = 1 - torpedo_attack = 0.15 - build_cost_ic = -0.1 - } - production_bonus = { - production_resource_need_factor = -0.55 - } - organization_modifier = { - military_industrial_organization_funds_gain = 0.35 - } - on_complete = { - ROOT = { - add_mio_size = 1 - } - FROM = { - navy_experience = 200 - } - } - } -} - -TIX_hdw_organization = { - include = generic_submarine_organization - icon = GFX_idea_GER_hdw - - allowed = { - original_tag = TIX - } - - add_trait = { - token = TIX_mio_trait_ocean_u_boats - name = TIX_mio_trait_ocean_u_boats - icon = GFX_generic_mio_department_icon_ship_submarine_engine - special_trait_background = yes - - relative_position_id = generic_mio_trait_long_range_raiding - - all_parents = { generic_mio_trait_long_range_raiding } - - position = { x=0 y=1 } - - available = { - - } - - equipment_bonus = { - sub_visibility = -0.03 - naval_range = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_kilian_submarine_bunker - name = TIX_mio_trait_kilian_submarine_bunker - icon = GFX_generic_mio_department_icon_ship_submarine_production - special_trait_background = yes - - relative_position_id = generic_mio_trait_submarine_mass_production - - all_parents = { generic_mio_trait_submarine_mass_production } - - position = { x=0 y=1 } - - available = { - - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - equipment_bonus = { - build_cost_ic = -0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_saddle_tanks - name = TIX_mio_trait_saddle_tanks - icon = GFX_generic_mio_department_icon_ship_submarine_quality - special_trait_background = yes - - position = { x=9 y=0 } - - equipment_bonus = { - naval_range = 0.07 - build_cost_ic = 0.02 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_excellent_diving_performance - name = TIX_mio_trait_excellent_diving_performance - icon = GFX_generic_mio_department_icon_ship_submarine_survivability - special_trait_background = yes - - relative_position_id = TIX_mio_trait_saddle_tanks - - all_parents = { TIX_mio_trait_saddle_tanks } - - position = { x=0 y=1 } - - equipment_bonus = { - sub_visibility = -0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_atlantic_raiders - name = TIX_mio_trait_atlantic_raiders - icon = GFX_generic_mio_department_icon_ship_submarine_engine - special_trait_background = yes - - relative_position_id = TIX_mio_trait_excellent_diving_performance - - all_parents = { TIX_mio_trait_excellent_diving_performance } - - position = { x=0 y=1 } - - available = { - - } - - equipment_bonus = { - sub_visibility = -0.03 - naval_range = 0.05 - naval_speed = 0.03 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = bulizaochuanchang_1 - name = bulizaochuanchang_1 - icon = GFX_BLI_zaochuanchang_mio_icon_1 - special_trait_background = yes - - position = { x=9 y=3 } - - available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } - } - - equipment_bonus = { - reliability = 0.08 - armor_value = 0.05 - maximum_speed = 0.03 - naval_range = 0.1 - } - production_bonus = { - production_resource_need_factor = -0.55 - } - organization_modifier = { - military_industrial_organization_funds_gain = 0.35 - } - on_complete = { - ROOT = { - add_mio_size = 1 - } - FROM = { - navy_experience = 200 - } - } - } - - add_trait = { - token = bulizaochuanchang_2 - name = bulizaochuanchang_2 - icon = GFX_BLI_zaochuanchang_mio_icon_2 - special_trait_background = yes - - position = { x=9 y=4 } - - available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } - } - - equipment_bonus = { - lg_attack = 0.15 - hg_attack = 0.2 - carrier_size = 1 - torpedo_attack = 0.15 - build_cost_ic = -0.1 - } - production_bonus = { - production_resource_need_factor = -0.55 - } - organization_modifier = { - military_industrial_organization_funds_gain = 0.35 - } - on_complete = { - ROOT = { - add_mio_size = 1 - } - FROM = { - navy_experience = 200 - } - } - } -} - -TIX_deutsche_werke_organization = { - include = generic_task_force_ship_organization - icon = GFX_idea_GER_deutsche_werke - - override_trait = { - token = generic_mio_trait_primary_fire_director_control - - position = { x=2 y=0 } - } - - override_trait = { - token = generic_mio_trait_splinter_protection - - all_parents = { TIX_mio_trait_raider_doctrine } - - relative_position_id = TIX_mio_trait_raider_doctrine - - position = { x=0 y=1 } - } - - override_trait = { - token = generic_mio_trait_underway_replenishment_equipment - - position = { x=0 y=2 } - } - - allowed = { - original_tag = TIX - } - - add_trait = { - token = TIX_mio_trait_foreign_influences - name = TIX_mio_trait_foreign_influences - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - relative_position_id = generic_mio_trait_primary_fire_director_control - - - - position = { x=2 y=0 } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_raider_doctrine - name = TIX_mio_trait_raider_doctrine - icon = GFX_generic_mio_department_icon_ship_screen_ship_quality - special_trait_background = yes - - position = { x=1 y=1 } - relative_position_id = generic_mio_trait_long_range_cruising - - any_parent = { generic_mio_trait_long_range_cruising generic_mio_trait_high_speed_cruising } - - limit_to_equipment_type = { screen_ship } - - equipment_bonus = { - naval_speed = 0.05 - surface_visibility = -0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_fast_raiders - name = TIX_mio_trait_fast_raiders - icon = GFX_generic_mio_department_icon_ship_screen_ship_engine - special_trait_background = yes - - position = { x=1 y=1 } - relative_position_id = generic_mio_trait_splinter_protection - - any_parent = { generic_mio_trait_splinter_protection } - - limit_to_equipment_type = { screen_ship } - - equipment_bonus = { - naval_speed = 0.05 - naval_range = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_carrier_raiders - name = TIX_mio_trait_carrier_raiders - icon = GFX_generic_mio_department_icon_ship_carrier_engine - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = TIX_mio_trait_fast_raiders - - all_parents = { TIX_mio_trait_fast_raiders } - - limit_to_equipment_type = { mio_cat_eq_all_carrier } - - equipment_bonus = { - naval_speed = 0.05 - naval_range = 0.05 - surface_visibility = -0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = bulizaochuanchang_1 - name = bulizaochuanchang_1 - icon = GFX_BLI_zaochuanchang_mio_icon_1 - special_trait_background = yes - - position = { x=9 y=3 } - - available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } - } - - equipment_bonus = { - reliability = 0.08 - armor_value = 0.05 - maximum_speed = 0.03 - naval_range = 0.1 - } - production_bonus = { - production_resource_need_factor = -0.55 - } - organization_modifier = { - military_industrial_organization_funds_gain = 0.35 - } - on_complete = { - ROOT = { - add_mio_size = 1 - } - FROM = { - navy_experience = 200 - } - } - } - - add_trait = { - token = bulizaochuanchang_2 - name = bulizaochuanchang_2 - icon = GFX_BLI_zaochuanchang_mio_icon_2 - special_trait_background = yes - - position = { x=9 y=4 } - - available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } - } - - equipment_bonus = { - lg_attack = 0.15 - hg_attack = 0.2 - carrier_size = 1 - torpedo_attack = 0.15 - build_cost_ic = -0.1 - } - production_bonus = { - production_resource_need_factor = -0.55 - } - organization_modifier = { - military_industrial_organization_funds_gain = 0.35 - } - on_complete = { - ROOT = { - add_mio_size = 1 - } - FROM = { - navy_experience = 200 - } - } - } -} - -TIX_kriegsmarinewerft_wilhelmshaven_organization = { - include = generic_refurbishment_repair_organization - icon = GFX_idea_GER_kriegsmarinewerft_wilhelmshaven - - allowed = { - original_tag = TIX - } - - add_trait = { - token = TIX_mio_trait_historical_shipyard - name = TIX_mio_trait_historical_shipyard - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x=8 y=0 } - - available = { - - } - - production_bonus = { - production_capacity_factor = 0.07 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_upgrade_panzerschiffs - name = TIX_mio_trait_upgrade_panzerschiffs - icon = GFX_generic_mio_department_icon_ship_screen_ship_engine - special_trait_background = yes - - position = { x=9 y=0 } - - limit_to_equipment_type = { ship_hull_cruiser } - - equipment_bonus = { - naval_speed = 0.05 - surface_visibility = -0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_innovative_battleship_designs - name = TIX_mio_trait_innovative_battleship_designs - icon = GFX_generic_mio_department_icon_ship_capital_ship_engine - special_trait_background = yes - - relative_position_id = TIX_mio_trait_upgrade_panzerschiffs - - all_parents = { TIX_mio_trait_upgrade_panzerschiffs } - - position = { x=0 y=1 } - - limit_to_equipment_type = { capital_ship } - - equipment_bonus = { - naval_speed = 0.05 - surface_visibility = -0.03 - naval_torpedo_enemy_critical_chance_factor = -0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = bulizaochuanchang_1 - name = bulizaochuanchang_1 - icon = GFX_BLI_zaochuanchang_mio_icon_1 - special_trait_background = yes - - position = { x=5 y=4 } - - available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } - } - - equipment_bonus = { - reliability = 0.08 - armor_value = 0.05 - maximum_speed = 0.03 - naval_range = 0.1 - } - production_bonus = { - production_resource_need_factor = -0.55 - } - organization_modifier = { - military_industrial_organization_funds_gain = 0.35 - } - on_complete = { - ROOT = { - add_mio_size = 1 - } - FROM = { - navy_experience = 200 - } - } - } - - add_trait = { - token = bulizaochuanchang_2 - name = bulizaochuanchang_2 - icon = GFX_BLI_zaochuanchang_mio_icon_2 - special_trait_background = yes - - position = { x=6 y=4 } - - available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -2110,96 +510,6 @@ TIX_messerschmitt_organization = { air_agility = 0.05 } } - - add_trait = { - token = TIX_mio_trait_hamburger_flugzeugbau - name = TIX_mio_trait_hamburger_flugzeugbau - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - FROM = { - mio:TIX_blohm_und_voss_organization = { - has_mio_size > 4 - } - NOT = { has_country_flag = TIX_hamburger_flugzeugbau_trait_taken_flag } - } - } - - on_complete = { - custom_effect_tooltip = generic_trait_will_not_be_available_in_other_organizations - FROM = { - set_country_flag = TIX_hamburger_flugzeugbau_trait_taken_flag - } - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_aerodynamic_research_insitute - name = TIX_mio_trait_aerodynamic_research_insitute - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x = 9 y = 0 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - on_complete = { - - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.1 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_amerikabomber_learnings - name = TIX_mio_trait_amerikabomber_learnings - - icon = GFX_generic_mio_department_icon_plane_medium_engine - special_trait_background = yes - - position = { x=9 y=2 } - - visible = { - has_dlc = "Gotterdammerung" - } - - available = { - - } - - limit_to_equipment_type = { mio_cat_eq_only_light_fighter } - - equipment_bonus = { - air_range = 0.1 - } - } } TIX_junkers_organization = { @@ -2225,805 +535,33 @@ TIX_junkers_organization = { } } - add_trait = { - token = TIX_mio_trait_90_degree_dives - name = TIX_mio_trait_90_degree_dives - - icon = GFX_generic_mio_department_icon_plane_cas_quality - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = generic_mio_trait_automatic_pull_out - all_parents = { generic_mio_trait_automatic_pull_out } - - equipment_bonus = { - air_ground_attack = 0.05 - } - } - - add_trait = { - token = TIX_mio_trait_hamburger_flugzeugbau - name = TIX_mio_trait_hamburger_flugzeugbau - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=8 y=2 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - FROM = { - mio:TIX_blohm_und_voss_organization = { - has_mio_size > 4 - } - } - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_aerodynamic_research_insitute - name = TIX_mio_trait_aerodynamic_research_insitute - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x = 8 y = 1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - on_complete = { - - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.1 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_amerikabomber_learnings - name = TIX_mio_trait_amerikabomber_learnings - - icon = GFX_generic_mio_department_icon_plane_medium_engine - special_trait_background = yes - - position = { x=8 y=3 } - - visible = { - has_dlc = "Gotterdammerung" - } - - available = { - - } - - limit_to_equipment_type = { small_plane_cas_airframe } - - equipment_bonus = { - air_range = 0.05 - air_ground_attack = 0.05 - } - } - } TIX_focke_wulf_organization = { - include = generic_range_focused_aircraft_organization + include = generic_multi_role_aircraft_organization icon = GFX_idea_focke_wulf allowed = { tag = TIX } - - override_trait = { - token = generic_mio_trait_extra_cargo_doors - - position = { x=8 y=0 } - } - - add_trait = { - token = TIX_mio_trait_work_horse_design_philosophy - name = TIX_mio_trait_work_horse_design_philosophy - - icon = GFX_generic_mio_department_icon_plane_medium_engine - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = TIX_mio_trait_hamburger_flugzeugbau - - limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane } - - equipment_bonus = { - reliability = 0.05 - air_defence = 0.03 - } - } - - add_trait = { - token = TIX_mio_trait_aerodynamic_research_insitute - name = TIX_mio_trait_aerodynamic_research_insitute - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - relative_position_id = TIX_mio_trait_work_horse_design_philosophy - - position = { x = 0 y = 1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - on_complete = { - - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.1 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_bomber_destroyer - name = TIX_mio_trait_bomber_destroyer - - icon = GFX_generic_mio_department_icon_plane_light_combat - special_trait_background = yes - - position = { x=-0 y=1 } - relative_position_id = generic_mio_trait_strafing_techniques - all_parents = { generic_mio_trait_strafing_techniques } - - limit_to_equipment_type = { mio_cat_eq_all_small_plane mio_cat_eq_all_medium_plane } - - equipment_bonus = { - air_attack = 0.05 - air_agility = 0.03 - } - } - - add_trait = { - token = TIX_mio_trait_radial_engine - name = TIX_mio_trait_radial_engine - - icon = GFX_generic_mio_trait_icon_air_agility - special_trait_background = yes - - position = { x=-0 y=1 } - relative_position_id = TIX_mio_trait_long_nose_design - all_parents = { TIX_mio_trait_long_nose_design } - - limit_to_equipment_type = { mio_cat_eq_all_small_plane } - - equipment_bonus = { - air_defence = 0.05 - air_agility = 0.05 - } - } - - add_trait = { - token = TIX_mio_trait_long_nose_design - name = TIX_mio_trait_long_nose_design - - icon = GFX_generic_mio_department_icon_plane_light_engine - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = generic_mio_trait_large_rudders_and_flaps - all_parents = { generic_mio_trait_large_rudders_and_flaps } - - limit_to_equipment_type = { mio_cat_eq_all_small_plane } - - equipment_bonus = { - air_range = 0.05 - air_defence = 0.05 - } - } - - add_trait = { - token = TIX_mio_trait_hamburger_flugzeugbau - name = TIX_mio_trait_hamburger_flugzeugbau - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - FROM = { - mio:TIX_blohm_und_voss_organization = { - has_mio_size > 4 - } - } - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_amerikabomber_learnings - name = TIX_mio_trait_amerikabomber_learnings - - icon = GFX_generic_mio_department_icon_plane_medium_engine - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = TIX_mio_trait_aerodynamic_research_insitute - - visible = { - has_dlc = "Gotterdammerung" - } - - available = { - - } - - limit_to_equipment_type = { mio_cat_eq_all_medium_plane } - - equipment_bonus = { - air_range = 0.1 - } - } } TIX_heinkel_organization = { - include = generic_heavy_aircraft_organization + include = generic_medium_aircraft_organization icon = GFX_idea_heinkel allowed = { tag = TIX } - - tree_header_text = { - text = mio_header_design_department - x = 2 - } - - tree_header_text = { - text = mio_header_operational_department - x = 7 - } - - override_trait = { - token = generic_mio_trait_advanced_turbochargers - - position = { x=0 y=1 } - } - - override_trait = { - token = generic_mio_trait_extended_rear_fuselage - - position = { x=5 y=0 } - } - - override_trait = { - token = generic_mio_trait_pressurized_cockpit - - position = { x=2 y=1 } - } - - add_trait = { - token = TIX_mio_trait_doppel_blitz - name = TIX_mio_trait_doppel_blitz - icon = GFX_generic_mio_department_icon_plane_heavy_engine - special_trait_background = yes - - position = { x=3 y=0 } - relative_position_id = generic_mio_trait_reinforced_frames - - equipment_bonus = { - maximum_speed = 0.05 - } - } - - add_trait = { - token = TIX_mio_trait_advanced_night_equipment - name = TIX_mio_trait_advanced_night_equipment - icon = GFX_generic_mio_trait_icon_detection - special_trait_background = yes - - position = { x=-1 y=1 } - relative_position_id = generic_mio_trait_pressurized_cockpit - all_parents = { generic_mio_trait_pressurized_cockpit } - - equipment_bonus = { - night_penalty = -0.05 - } - } - - add_trait = { - token = TIX_mio_trait_stepless_cockpit - name = TIX_mio_trait_stepless_cockpit - icon = GFX_generic_mio_trait_icon_strategic_attack - special_trait_background = yes - - position = { x=1 y=1 } - relative_position_id = generic_mio_trait_pressurized_cockpit - all_parents = { generic_mio_trait_pressurized_cockpit } - - limit_to_equipment_type = { large_plane_airframe } - - equipment_bonus = { - air_bombing = 0.05 - } - } - - add_trait = { - token = TIX_mio_trait_hamburger_flugzeugbau - name = TIX_mio_trait_hamburger_flugzeugbau - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_aerodynamic_research_insitute - name = TIX_mio_trait_aerodynamic_research_insitute - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x = 9 y = 1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - on_complete = { - - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.1 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_amerikabomber_learnings - name = TIX_mio_trait_amerikabomber_learnings - - icon = GFX_generic_mio_department_icon_plane_medium_engine - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = TIX_mio_trait_aerodynamic_research_insitute - - visible = { - has_dlc = "Gotterdammerung" - } - - available = { - - } - - limit_to_equipment_type = { large_plane_airframe } - - equipment_bonus = { - air_range = 0.1 - air_bombing = 0.05 - } - } } TIX_dornier_organization = { - include = generic_medium_aircraft_organization + include = generic_naval_aircraft_organization icon = GFX_idea_dornier allowed = { tag = TIX } - - add_trait = { - token = TIX_mio_trait_flying_boat_specialist - name = TIX_mio_trait_flying_boat_specialist - icon = GFX_generic_mio_trait_icon_torpedo_attack - special_trait_background = yes - - position = { x=-1 y=1 } - relative_position_id = generic_mio_trait_skip_bombing - all_parents = { generic_mio_trait_skip_bombing } - - limit_to_equipment_type = { mio_cat_eq_all_medium_plane } - - equipment_bonus = { - surface_detection = 0.03 - naval_strike_attack = 0.05 - } - } - - add_trait = { - token = TIX_mio_trait_schnellbomber_doctrine - name = TIX_mio_trait_schnellbomber_doctrine - icon = GFX_generic_mio_department_icon_plane_medium_engine - special_trait_background = yes - - position = { x=-1 y=1 } - relative_position_id = generic_mio_trait_refined_engines - all_parents = { generic_mio_trait_refined_engines } - - limit_to_equipment_type = { mio_cat_eq_all_medium_plane } - - equipment_bonus = { - maximum_speed = 0.1 - } - } - - add_trait = { - token = TIX_mio_trait_hamburger_flugzeugbau - name = TIX_mio_trait_hamburger_flugzeugbau - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - FROM = { - mio:TIX_blohm_und_voss_organization = { - has_mio_size > 4 - } - } - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_aerodynamic_research_insitute - name = TIX_mio_trait_aerodynamic_research_insitute - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - relative_position_id = TIX_mio_trait_flying_boat_specialist - - position = { x = 2 y = 0 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - on_complete = { - - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.1 - } - - ai_will_do = { - base = 2 - } - } -} - -TIX_arado_flugzeugwerke_organization = { - include = generic_multi_role_aircraft_organization - icon = GFX_idea_GER_arado_flugzeugwerke - - allowed = { - original_tag = TIX - } - - add_trait = { - token = TIX_mio_trait_jet_bomber_innovator - name = TIX_mio_trait_jet_bomber_innovator - icon = GFX_generic_mio_department_icon_plane_medium_engine - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = TIX_mio_trait_hamburger_flugzeugbau - - available = { - FROM = { - has_tech = jet_engines - } - } - - limit_to_equipment_type = { mio_cat_eq_all_medium_plane } - - equipment_bonus = { - maximum_speed = 0.1 - } - } - - add_trait = { - token = TIX_mio_trait_hamburger_flugzeugbau - name = TIX_mio_trait_hamburger_flugzeugbau - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - FROM = { - mio:TIX_blohm_und_voss_organization = { - has_mio_size > 4 - } - } - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_aerodynamic_research_insitute - name = TIX_mio_trait_aerodynamic_research_insitute - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - relative_position_id = TIX_mio_trait_hamburger_flugzeugbau - - position = { x = -1 y = 0 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - on_complete = { - - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.1 - } - - ai_will_do = { - base = 2 - } - } -} - -TIX_fieseler_organization = { - include = generic_naval_aircraft_organization - icon = GFX_idea_GER_fieseler - - allowed = { - original_tag = TIX - } - - add_trait = { - token = TIX_mio_trait_hamburger_flugzeugbau - name = TIX_mio_trait_hamburger_flugzeugbau - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - FROM = { - mio:TIX_blohm_und_voss_organization = { - has_mio_size > 4 - } - } - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_aerodynamic_research_insitute - name = TIX_mio_trait_aerodynamic_research_insitute - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - relative_position_id = TIX_mio_trait_hamburger_flugzeugbau - - position = { x = 0 y = 1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - on_complete = { - - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.1 - } - - ai_will_do = { - base = 2 - } - } -} - -TIX_focke_achgelis_organization = { - include = generic_helicopter_organization - icon = GFX_idea_GER_focke_achgelis - - allowed = { - original_tag = TIX - has_dlc = "Gotterdammerung" - } - - add_trait = { - token = TIX_mio_trait_hamburger_flugzeugbau - name = TIX_mio_trait_hamburger_flugzeugbau - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=7 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - FROM = { - mio:TIX_blohm_und_voss_organization = { - has_mio_size > 4 - } - } - } - - on_complete = { - - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_aerodynamic_research_insitute - name = TIX_mio_trait_aerodynamic_research_insitute - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - relative_position_id = TIX_mio_trait_hamburger_flugzeugbau - - position = { x = 0 y = 1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - on_complete = { - - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.1 - } - - ai_will_do = { - base = 2 - } - } } @@ -3045,134 +583,11 @@ TIX_rheinmetall_organization = { allowed = { tag = TIX } - - add_trait = { - token = TIX_mio_trait_3_7_cm_pak - name = TIX_mio_trait_3_7_cm_pak - icon = GFX_generic_mio_department_icon_anti_tank - special_trait_background = yes - - position = { x = 1 y = 0 } - relative_position_id = generic_mio_trait_big_guns - - #any_parent = { generic_mio_trait_cantilever_wing_structure } - - limit_to_equipment_type = { - anti_tank_equipment - } - - equipment_bonus = { - ap_attack = 0.05 - hard_attack = 0.05 - soft_attack = 0.1 - } - } - - add_trait = { - token = TIX_mio_trait_7_5_cm_pak - name = TIX_mio_trait_7_5_cm_pak - icon = GFX_generic_mio_trait_icon_ap_attack - special_trait_background = yes - - position = { x = 0 y = 1 } - relative_position_id = TIX_mio_trait_3_7_cm_pak - - any_parent = { TIX_mio_trait_3_7_cm_pak } - - limit_to_equipment_type = { - anti_tank_equipment - } - - equipment_bonus = { - ap_attack = 0.05 - hard_attack = 0.1 - } - } - - add_trait = { - token = TIX_mio_trait_versatile_carriage - name = TIX_mio_trait_versatile_carriage - icon = GFX_generic_mio_department_icon_anti_air - special_trait_background = yes - - position = { x = 1 y = 1 } - relative_position_id = generic_mio_trait_rapid_fire - - all_parents = { - generic_mio_trait_rapid_fire - generic_mio_trait_advanced_barrel_forging - } - - limit_to_equipment_type = { - anti_tank_equipment - anti_air_equipment - } - - equipment_bonus = { - ap_attack = 0.03 - hard_attack = 0.03 - air_attack = 0.05 - } - } - - add_trait = { - token = TIX_mio_trait_dual_recoil_mechanism - name = TIX_mio_trait_dual_recoil_mechanism - icon = GFX_generic_mio_department_icon_artillery - special_trait_background = yes - - position = { x = 1 y = 1 } - relative_position_id = generic_mio_trait_advanced_barrel_forging - - all_parents = { - generic_mio_trait_advanced_barrel_forging - generic_mio_trait_big_guns - } - - available = { - FROM = { - has_tech = artillery3 - } - } - - limit_to_equipment_type = { - artillery_equipment - } - - equipment_bonus = { - soft_attack = 0.1 - build_cost_ic = 0.05 - } - } } TIX_mauser_organization = { include = generic_infantry_equipment_organization icon = GFX_idea_mauser - - override_trait = { - token = generic_mio_trait_armor_piercing_rounds - - position = { x=0 y=2 } - } - - override_trait = { - token = generic_mio_trait_advanced_barrel_forging - - position = { x=1 y=2 } - } - - override_trait = { - token = generic_mio_trait_reinforced_stocks - - position = { x=3 y=0 } - } - - override_trait = { - token = generic_mio_trait_medium_machineguns - - position = { x=0 y=2 } - } allowed = { tag = TIX @@ -3183,7 +598,7 @@ TIX_mauser_organization = { icon = GFX_generic_mio_department_icon_infantry_quality special_trait_background = yes - position = { x=-1 y=2 } + position = { x=-1 y=1 } relative_position_id = generic_mio_trait_drum_pattern_sights visible = { @@ -3202,120 +617,12 @@ TIX_mauser_organization = { breakthrough = 0.15 } production_bonus = { - #production_cost_factor = 0.1 + production_cost_factor = 0.1 } ai_will_do = { base = 100 } } - - add_trait = { - token = TIX_mio_trait_experienced_manufacturer - name = TIX_mio_trait_experienced_manufacturer - icon = GFX_generic_mio_trait_icon_reliability - special_trait_background = yes - - position = { x=-1 y=0 } - relative_position_id = generic_mio_trait_drum_pattern_sights - - visible = { - FROM = { original_tag = TIX } - } - - equipment_bonus = { - reliability = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_export_models - name = TIX_mio_trait_export_models - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x=-1 y=1 } - relative_position_id = generic_mio_trait_drum_pattern_sights - - visible = { - FROM = { original_tag = TIX } - } - - production_bonus = { - production_efficiency_cap_factor = 0.03 - production_cost_factor = -0.03 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_karabiner - name = TIX_mio_trait_karabiner - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = generic_mio_trait_reinforced_stocks - - visible = { - FROM = { original_tag = TIX } - } - - all_parents = { generic_mio_trait_reinforced_stocks } - - equipment_bonus = { - soft_attack = 0.03 - } - - production_bonus = { - production_capacity_factor = 0.03 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_sturmgewehr - name = TIX_mio_trait_sturmgewehr - icon = GFX_generic_mio_department_icon_infantry_offense - special_trait_background = yes - - position = { x=2 y=2 } - relative_position_id = generic_mio_trait_bolt_action - - any_parent = { generic_mio_trait_semi_auto generic_mio_trait_bolt_action } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - FROM = { - has_tech = advanced_infantry_weapons - } - } - - equipment_bonus = { - soft_attack = 0.07 - breakthrough = 0.03 - } - - production_bonus = { - production_cost_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } } TIX_opel_organization = { @@ -3332,7 +639,7 @@ TIX_opel_organization = { icon = GFX_generic_mio_department_icon_motorized_mechanized_production special_trait_background = yes - position = { x=9 y=3 } + position = { x=9 y=0 } organization_modifier = { navy_fuel_consumption_factor = -0.25 @@ -3341,237 +648,4 @@ TIX_opel_organization = { } } - - add_trait = { - token = TIX_mio_trait_continental_ag_tires - name = TIX_mio_trait_continental_ag_tires - icon = GFX_generic_mio_trait_icon_reliability - special_trait_background = yes - - position = { x=9 y=0 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - equipment_bonus = { - reliability = 0.05 - build_cost_ic = -0.02 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_ford_facilities - name = TIX_mio_trait_ford_facilities - icon = GFX_generic_mio_trait_icon_production_capacity - special_trait_background = yes - - position = { x=9 y=1 } - - visible = { - FROM = { original_tag = TIX } - } - - available = { - - } - - production_bonus = { - production_capacity_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_efficiency_in_mass_production - name = TIX_mio_trait_efficiency_in_mass_production - icon = GFX_generic_mio_trait_icon_efficiency_cap - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = TIX_mio_trait_ford_facilities - - any_parent = { TIX_mio_trait_ford_facilities } - - visible = { - FROM = { original_tag = TIX } - } - - production_bonus = { - production_efficiency_cap_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_improved_engines - name = TIX_mio_trait_improved_engines - icon = GFX_generic_mio_department_icon_motorized_mechanized_engine - special_trait_background = yes - - position = { x=-1 y=1 } - relative_position_id = TIX_mio_trait_ford_facilities - - any_parent = { TIX_mio_trait_ford_facilities } - - visible = { - FROM = { original_tag = TIX } - } - - equipment_bonus = { - maximum_speed = 0.05 - reliability = 0.03 - build_cost_ic = 0.02 - } - - ai_will_do = { - base = 2 - } - } -} - -TIX_carl_walther_organization = { - include = generic_support_equipment_organization - icon = GFX_idea_GER_carl_walther - - allowed = { - original_tag = TIX - } - - add_trait = { - token = TIX_mio_trait_innovative_safety_features - name = TIX_mio_trait_innovative_safety_features - icon = GFX_generic_mio_department_icon_facilities - special_trait_background = yes - - position = { x=1 y=1 } - relative_position_id = generic_mio_trait_private_scientists_program - - all_parents = { generic_mio_trait_private_scientists_program } - - ai_will_do = { - base = 2 - } - - organization_modifier = { - military_industrial_organization_research_bonus = 0.05 - military_industrial_organization_design_team_assign_cost = -0.05 - military_industrial_organization_industrial_manufacturer_assign_cost = -0.05 - } - } - - add_trait = { - token = TIX_mio_trait_policiary_equipment - name = TIX_mio_trait_policiary_equipment - icon = GFX_generic_mio_department_icon_support_equipment - special_trait_background = yes - - position = { x=0 y=1 } - relative_position_id = generic_mio_trait_private_tenders - - all_parents = { generic_mio_trait_private_tenders } - - ai_will_do = { - base = 2 - } - - limit_to_equipment_type = { support_equipment } - - organization_modifier = { - military_industrial_organization_funds_gain = 0.05 - } - - equipment_bonus = { - build_cost_ic = -0.05 - } - } -} - -TIX_auto_union_organization = { - include = generic_armored_car_organization - icon = GFX_idea_GER_auto_union - - allowed = { - original_tag = TIX - } - - add_trait = { - token = TIX_mio_trait_racing_pedigree - name = TIX_mio_trait_racing_pedigree - icon = GFX_generic_mio_department_icon_armored_car_engine - special_trait_background = yes - - position = { x=-1 y=1 } - relative_position_id = generic_mio_trait_simplified_suspension - - all_parents = { generic_mio_trait_simplified_suspension } - - equipment_bonus = { - maximum_speed = 0.07 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_military_exclusivity - name = TIX_mio_trait_military_exclusivity - icon = GFX_generic_mio_department_icon_armored_car_line_efficiency - special_trait_background = yes - - position = { x=0 y=3 } - relative_position_id = TIX_mio_trait_racing_pedigree - - all_parents = { TIX_mio_trait_racing_pedigree generic_mio_trait_improved_tooling } - - production_bonus = { - production_efficiency_gain_factor = 0.05 - production_efficiency_cap_factor = 0.05 - } - - ai_will_do = { - base = 2 - } - } - - add_trait = { - token = TIX_mio_trait_schwerer_panzerspahwagen - name = TIX_mio_trait_schwerer_panzerspahwagen - icon = GFX_generic_mio_department_icon_armored_car_defense - special_trait_background = yes - - position = { x=1 y=1 } - relative_position_id = generic_mio_trait_defensive_equipment - - all_parents = { generic_mio_trait_defensive_equipment } - - available = { - - } - - equipment_bonus = { - breakthrough = 0.03 - armor_value = 0.05 - } - - ai_will_do = { - base = 2 - } - } } \ No newline at end of file diff --git a/src/common/military_industrial_organization/organizations/YUW_organization.txt b/src/common/military_industrial_organization/organizations/YUW_organization.txt index 87a3f85..68edd40 100755 --- a/src/common/military_industrial_organization/organizations/YUW_organization.txt +++ b/src/common/military_industrial_organization/organizations/YUW_organization.txt @@ -123,7 +123,7 @@ YUW_fcm_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -157,7 +157,7 @@ YUW_fcm_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -199,7 +199,7 @@ YUW_aeb_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -233,7 +233,7 @@ YUW_aeb_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -275,7 +275,7 @@ YUW_acl_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -309,7 +309,7 @@ YUW_acl_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { @@ -351,7 +351,7 @@ YUW_acf_organization = { position = { x=8 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi1_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } } equipment_bonus = { @@ -385,7 +385,7 @@ YUW_acf_organization = { position = { x=9 y=4 } available = { - FROM = { OR = { hidden_trigger = { is_ai = yes } tag = BLI has_country_flag = buligongyi2_get } } + FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } } equipment_bonus = { diff --git a/src/common/national_focus/beifanglianhe.txt b/src/common/national_focus/beifanglianhe.txt index 01b15d0..ffeb0c2 100755 --- a/src/common/national_focus/beifanglianhe.txt +++ b/src/common/national_focus/beifanglianhe.txt @@ -6655,14 +6655,7 @@ focus = { } completion_reward = { set_war_support = 2 - if = { - limit = { - is_ai = yes - } - annex_country = { target = KAZ transfer_troops = yes } - }else = { - declare_war_on = { target = KAZ type = annex_everything } - } + annex_country = { target = KAZ transfer_troops = yes } every_state = { limit = { is_core_of = KAZ diff --git a/src/common/national_focus/chongying_new.txt b/src/common/national_focus/chongying_new.txt index b0c27d6..104c0f5 100755 --- a/src/common/national_focus/chongying_new.txt +++ b/src/common/national_focus/chongying_new.txt @@ -67,6 +67,9 @@ state = 530 state = 537 state = 536 + state = 1020 + state = 1019 + state = 1018 } } add_extra_state_shared_building_slots = 2 @@ -330,23 +333,34 @@ limit = { OR = { is_military_industrial_organization = CHY_osaka_army_arsenal_organization - is_military_industrial_organization = CHY_aichi_organization + is_military_industrial_organization = CHY_sagami_army_arsenal_organization + is_military_industrial_organization = CHY_mitsubishi_heavy_industries_organization is_military_industrial_organization = CHY_kure_naval_arsenal_organization is_military_industrial_organization = CHY_yokosuka_naval_arsenal_organization + is_military_industrial_organization = CHY_kawasaki_dockyards_organization is_military_industrial_organization = CHY_maizuru_naval_arsenal_organization is_military_industrial_organization = CHY_sasebo_naval_arsenal_organization + is_military_industrial_organization = CHY_mitsubishi_kobe_shipyard_organization is_military_industrial_organization = CHY_mitsubishi_organization is_military_industrial_organization = CHY_aichi_organization is_military_industrial_organization = CHY_nakajima_organization is_military_industrial_organization = CHY_yokosuka_organization - is_military_industrial_organization = CHY_tokyo_arsenal_organization + is_military_industrial_organization = CHY_kawanishi_aircraft_company_organization + is_military_industrial_organization = CHY_kawasaki_aircraft_industries_organization + is_military_industrial_organization = CHY_tachikawa_aircraft_company_organization + is_military_industrial_organization = CHY_kokura_arsenal_organization is_military_industrial_organization = CHY_osaka_army_arsenal_artillery_organization is_military_industrial_organization = CHY_nissan_organization + is_military_industrial_organization = CHY_tokyo_automobile_industries_organization + is_military_industrial_organization = CHY_nagoya_arsenal_organization + is_military_industrial_organization = CHY_kayaba_industry_organization + is_military_industrial_organization = CHY_hitachi_arms_department_organization } } add_mio_size = 2 } - add_research_slot = 1 + #add_research_slot = 1 不要6槽 + IF = { limit = { has_idea = oriental_development_company } swap_ideas = { remove_idea = oriental_development_company add_idea = oriental_development_company_upgraded } } } } focus = { @@ -1960,11 +1974,8 @@ character = CHY_chicheng ideology = fascism_ideology } - CHY_chicheng = { - add_country_leader_trait = { + add_country_leader_trait = { trait = yihangzhan - ideology = fascism - } } news_event = CHY_new1_shijian.20 add_political_power = 300 @@ -2854,6 +2865,11 @@ add_state_core = 525 add_state_core = 527 add_state_core = 524 + add_state_core = 1043 + add_state_core = 1028 + add_state_core = 1029 + add_state_core = 1031 + add_state_core = 1030 } } focus = { @@ -3849,6 +3865,9 @@ completion_reward = { add_stability = 0.1 add_political_power = 300 + hidden_effect = { + news_event = aznews.22 + } hidden_effect = { add_country_leader_role = { Character = CHY_changmen diff --git a/src/common/scripted_effects/az_tianjiang_scripted_effects.txt b/src/common/scripted_effects/az_tianjiang_scripted_effects.txt index a07d612..c21ceda 100755 --- a/src/common/scripted_effects/az_tianjiang_scripted_effects.txt +++ b/src/common/scripted_effects/az_tianjiang_scripted_effects.txt @@ -125,6 +125,11 @@ yaertahuiyi_effects = { annex_country = { target = AZR transfer_troops = no } annex_country = { target = GEO transfer_troops = no } annex_country = { target = LIT transfer_troops = no } + annex_country = { target = ARM transfer_troops = no } + annex_country = { target = RKM transfer_troops = no } + annex_country = { target = RKO transfer_troops = no } + transfer_state = 137 + transfer_state = 195 transfer_state = 188 transfer_state = 763 transfer_state = 78 diff --git a/src/events/ai_bianzhi.txt b/src/events/ai_bianzhi.txt index 0a75a02..78d38d9 100755 --- a/src/events/ai_bianzhi.txt +++ b/src/events/ai_bianzhi.txt @@ -2418,12 +2418,17 @@ country_event = { set_technology = { rocket_artillery = 1 } set_technology = { jet_engines = 1 } mio:CHY_osaka_army_arsenal_organization = { add_mio_size = 20 } + mio:CHY_mitsubishi_heavy_industries_organization = { add_mio_size = 20 } mio:CHY_mitsubishi_organization = { add_mio_size = 20 } mio:CHY_aichi_organization = { add_mio_size = 20 } + mio:CHY_nakajima_organization = { add_mio_size = 20 } mio:CHY_kure_naval_arsenal_organization = { add_mio_size = 20 } mio:CHY_yokosuka_naval_arsenal_organization = { add_mio_size = 20 } mio:CHY_maizuru_naval_arsenal_organization = { add_mio_size = 20 } mio:CHY_sasebo_naval_arsenal_organization = { add_mio_size = 20 } + mio:CHY_kokura_arsenal_organization = { add_mio_size = 20 } + mio:CHY_osaka_army_arsenal_artillery_organization = { add_mio_size = 20 } + mio:CHY_nissan_organization = { add_mio_size = 20 } add_equipment_to_stockpile = { type = convoy amount = 2000 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 8323dce..849002b 100755 --- a/src/localisation/simp_chinese/az_misc_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/az_misc_l_simp_chinese.yml @@ -378,4 +378,5 @@ TY_fkAIdebuffplayer: "疯狂AI全词条玩家debuff" TY_fkAIdebuffplayer_desc: "由于最近难度变低,因此添加该debuff。" psh_yymj: "英勇蛮啾" psh_yymj_desc: "为英勇的蛮啾们颁发勋章!" -TY_fkAIdebuffplayer_teding: "疯狂AI全词条玩家额外debuff(特定国家)" \ No newline at end of file +TY_fkAIdebuffplayer_teding: "疯狂AI全词条玩家额外debuff(特定国家)" +TY_fkAIex_sir_debuff: "禁止早战塞壬" \ No newline at end of file diff --git a/src/localisation/simp_chinese/az_organization_l_simp_chinese.yml b/src/localisation/simp_chinese/az_organization_l_simp_chinese.yml index 5cd8965..412debb 100755 --- a/src/localisation/simp_chinese/az_organization_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/az_organization_l_simp_chinese.yml @@ -139,15 +139,47 @@ CHY_yokosuka_naval_arsenal_organization: "横须贺海军工厂" CHY_maizuru_naval_arsenal_organization: "舞鹤海军工厂" CHY_sasebo_naval_arsenal_organization: "佐世保海军工厂" - CHY_mitsubishi_organization: "三菱" - CHY_aichi_organization: "爱知公司(帝国海军企业)" + CHY_mitsubishi_organization: "三菱航空工业" + CHY_aichi_organization: "爱知航空机" CHY_nakajima_organization: "中岛集团" CHY_yokosuka_organization: "横须贺" - CHY_tokyo_arsenal_organization: "东京兵工厂" + CHY_kokura_arsenal_organization: "小仓兵工厂" CHY_osaka_army_arsenal_artillery_organization: "大阪陆军兵工厂" CHY_nissan_organization: "日产" gongyejituan: "发展工业集团" - wushipeidao:"武士佩刀" + wushipeidao: "武士佩刀" + CHY_mitsubishi_hold_tooltip: "花费§Y20000物资§" + CHY_sagami_army_arsenal_organization: "相模兵工厂" + CHY_mio_trait_military_arsenal_trait: "推进陆军装备生产" + CHY_mitsubishi_heavy_industries_organization: "三菱重工" + CHY_mio_trait_foreign_research_and_development_cooperation: "改进坦克开发和生产技术" + CHY_mio_trait_special_government_contracts_mitsubishi_trait: "让三菱臣服" + CHY_mio_trait_zaibatsu_production_capabilities_trait: "财阀生产能力" + CHY_mio_trait_naval_arsenal_trait: "推进舰船生产" + CHY_mio_trait_rapid_counterflooding_system: "快速抗倾覆注水系统" + CHY_mio_trait_enhanced_optics: "增强光学器件" + CHY_mio_trait_strength_in_numbers: "大规模生产计划" + CHY_mio_trait_armor_plating_to_hull_strength: "装甲板提高船体强度" + CHY_mio_trait_type_94_fire_control: "94式HA发射引导控制器" + CHY_mio_trait_torpedo_reloads: "鱼雷再装填" + CHY_mio_trait_special_government_contracts_taken_flag: "已在另一家三菱军工组织完成此特质" + CHY_kawasaki_dockyards_organization: "川崎造船厂" + CHY_mio_trait_high_pressure_boilers: "高压锅炉" + CHY_mio_trait_type_97_torpedo_control_director: "97式鱼雷发射引导控制器" + CHY_mitsubishi_kobe_shipyard_organization: "三菱神户造船厂" + CHY_mio_trait_unified_research_and_development: "空军升级" + CHY_mio_trait_special_government_contracts_nakajima_trait: "让中岛臣服" + CHY_mio_trait_type_91_aerial_torpedo_integration: "91式航空鱼雷一体化" + CHY_mio_trait_naval_arsenal_trait_1: "推进海军飞机生产" + CHY_kawanishi_aircraft_company_organization: "川西航空机株式会社" + CHY_kawasaki_aircraft_industries_organization: "川崎航空工业" + CHY_tachikawa_aircraft_company_organization: "立川航空机株式会社" + CHY_mio_trait_cooperation_with_kurogane: "与东急黑金公司合作" + CHY_tokyo_automobile_industries_organization: "东京自动车工业" + CHY_nagoya_arsenal_organization: "名古屋兵工厂" + CHY_kayaba_industry_organization: "东京萱场制作所" + CHY_hitachi_arms_department_organization: "日立制作所兵器部" + CHY_mio_trait_special_government_contracts_nissan_trait: "让日产臣服" ##皇家军工组织## HUJ_vickers_armstrong_huj_organization: "维克斯-阿姆斯特朗" HUJ_mio_trait_expanded_turret_capacity: "炮塔扩容" diff --git a/src/localisation/simp_chinese/azc_CHY_new_l_english.yml b/src/localisation/simp_chinese/azc_CHY_new_l_english.yml index 4d7555c..0520679 100755 --- a/src/localisation/simp_chinese/azc_CHY_new_l_english.yml +++ b/src/localisation/simp_chinese/azc_CHY_new_l_english.yml @@ -387,6 +387,12 @@ chy_zhongshiminshen_buff:0"重视民生" chy_yuanzhudonghuang_buff:0"东煌的报恩" chy_yuanzhudonghuang_buff_desc:0"东煌向我们提供她们的粮食和劳动力,来报答我们对她们的援助。" + CHY_mitsubishi_hold:0"乖巧的三菱" + CHY_mitsubishi_hold_desc:0"对三菱集团的控制加强有利于我方加强工业生产。" + CHY_nakajima_hold:0"乖巧的中岛" + CHY_mitsubishi_hold_desc:0"对中岛集团的控制加强有利于我方加强飞机生产。" + CHY_nissan_hold:0"乖巧的日产" + CHY_nissan_hold_desc:0"对日产集团的控制加强有利于我方加强汽车生产。" #内阁# @@ -632,4 +638,7 @@ #走向# CHY_changmen_line_historical:0"我们的神子大人" CHY_changmen_line_historical_desc:0"长门大人将继续领导重樱,致力于成为和平守护者。" + + #CHY军工# + CHY_mitsubishi_hold_tooltip:0"花费§Y20000物资§" \ No newline at end of file diff --git a/src/localisation/simp_chinese/azc_CHY_new_l_simp_chinese.yml b/src/localisation/simp_chinese/azc_CHY_new_l_simp_chinese.yml index 2632bc5..a0ad010 100755 --- a/src/localisation/simp_chinese/azc_CHY_new_l_simp_chinese.yml +++ b/src/localisation/simp_chinese/azc_CHY_new_l_simp_chinese.yml @@ -387,6 +387,12 @@ chy_zhongshiminshen_buff:0"重视民生" chy_yuanzhudonghuang_buff:0"东煌的报恩" chy_yuanzhudonghuang_buff_desc:0"东煌向我们提供她们的粮食和劳动力,来报答我们对她们的援助。" + CHY_mitsubishi_hold:0"乖巧的三菱" + CHY_mitsubishi_hold_desc:0"对三菱集团的控制加强有利于我方加强工业生产。" + CHY_nakajima_hold:0"乖巧的中岛" + CHY_mitsubishi_hold_desc:0"对中岛集团的控制加强有利于我方加强工业生产。" + CHY_nissan_hold:0"乖巧的日产" + CHY_nissan_hold_desc:0"对日产集团的控制加强有利于我方加强汽车生产。" #内阁# @@ -644,4 +650,5 @@ #走向# CHY_changmen_line_historical:0"我们的神子大人" CHY_changmen_line_historical_desc:0"长门大人将继续领导重樱,致力于成为和平守护者。" + \ No newline at end of file