From a177c0a5ca67a9a09d7c4e54d10aa217454b2f9c Mon Sep 17 00:00:00 2001 From: "actions[bot]" Date: Thu, 1 Aug 2024 00:01:15 +0800 Subject: [PATCH] 2024-08-01 00:01:15 --- src/common/ideas/doh.txt | 2 + .../organizations/DOH_organization.txt | 574 +++++++++++------- src/common/national_focus/donghuang_new.txt | 69 ++- src/events/DOH_shijian.txt | 2 + 4 files changed, 404 insertions(+), 243 deletions(-) diff --git a/src/common/ideas/doh.txt b/src/common/ideas/doh.txt index 9e7d6d0..7d62c1f 100755 --- a/src/common/ideas/doh.txt +++ b/src/common/ideas/doh.txt @@ -685,6 +685,8 @@ ideas = { research_speed_factor = -0.25 industrial_capacity_factory = -0.15 production_speed_buildings_factor = -0.1 + army_attack_factor = -0.1 + army_defence_factor = -0.05 } } DOH_dfgg2 = { diff --git a/src/common/military_industrial_organization/organizations/DOH_organization.txt b/src/common/military_industrial_organization/organizations/DOH_organization.txt index 3a9b9a6..d6e9fda 100755 --- a/src/common/military_industrial_organization/organizations/DOH_organization.txt +++ b/src/common/military_industrial_organization/organizations/DOH_organization.txt @@ -1,13 +1,10 @@ ##################### - ### ## # # # # ## - # # # ## # # # # - # #### # ## ## # - # # # # # # # # - # # # # # # # ## - - #################### - +# # # ## # # # # +# #### # ## ## # +# # # # # # # # +# # # # # # # ## +#################### DOH_shanghai_tank = { include = generic_tank_organization icon = GFX_idea_osaka_army_arsenal @@ -44,13 +41,14 @@ 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 @@ -58,26 +56,28 @@ 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_baotoudiyijixiechang_organization = { +DOH_baotoudiyijixiechang_organization = { include = generic_tank_refurbishment_plant_organization icon = GFX_idea_generic_tank_manufacturer_3 allowed = { @@ -93,14 +93,15 @@ DOH_shanghai_tank = { 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 = { @@ -109,52 +110,59 @@ DOH_shanghai_tank = { } } } - 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 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } + position = { + x = 8 + y = 4 + } + available = { + 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 } @@ -170,26 +178,30 @@ 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 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } + position = { + x = 9 + y = 4 + } + available = { + 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 } @@ -205,14 +217,15 @@ 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 = { @@ -226,31 +239,35 @@ DOH_dalianzaochuan_organization = { reliability = 0.15 max_strength = 0.2 surface_visibility = -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 = { num_of_naval_factories > 85 has_tech = keyantech_daodan } } - equipment_bonus = { naval_light_gun_hit_chance_factor = 0.3 naval_heavy_gun_hit_chance_factor = 0.3 surface_visibility = -0.3 night_penalty = -0.3 - } + } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } - available = { owner = { AND = { @@ -266,30 +283,36 @@ DOH_dalianzaochuan_organization = { } } } + 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 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } + position = { + x = 8 + y = 4 + } + available = { + 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 } @@ -305,26 +328,30 @@ 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 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } + position = { + x = 9 + y = 4 + } + available = { + 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 } @@ -345,9 +372,10 @@ 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 @@ -364,16 +392,21 @@ DOH_hudong_organization = { 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 = { @@ -386,9 +419,14 @@ DOH_hudong_organization = { build_cost_ic = -0.05 reliability = 0.15 sub_detection = 0.3 - } + } production_bonus = { - production_capacity_factor = 0.10 + production_capacity_factor = 0.1 + } + on_complete = { + ROOT = { + add_mio_size = 1 + } } } available = { @@ -410,31 +448,35 @@ DOH_hudong_organization = { } ## 武昌造船厂 - DOH_wuchangzaochuanchang_organization = { include = generic_submarine_organization icon = GFX_idea_generic_sea_focused_navy - allowed = { + allowed = { tag = DOH } - trait = { + 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 = { tag = BLI has_country_flag = buligongyi1_get } } + position = { + x = 8 + y = 4 + } + available = { + 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 } @@ -450,26 +492,30 @@ DOH_wuchangzaochuanchang_organization = { } } } - 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 = { tag = BLI has_country_flag = buligongyi2_get } } + position = { + x = 9 + y = 4 + } + available = { + 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 } @@ -485,14 +531,15 @@ 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 = { @@ -502,14 +549,14 @@ DOH_wuchangzaochuanchang_organization = { } } equipment_bonus = { - build_cost_ic = 0.10 + build_cost_ic = 0.1 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 } @@ -524,9 +571,10 @@ 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 @@ -541,17 +589,16 @@ DOH_wuchangzaochuanchang_organization = { torpedo_attack = 0.15 } production_bonus = { - production_capacity_factor = 0.10 + production_capacity_factor = 0.1 } } - available = { owner = { OR = { is_ai = yes AND = { num_of_factories > 300 - num_of_naval_factories > 20 + num_of_naval_factories > 20 } } controls_state = 620 @@ -566,7 +613,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 = { @@ -574,24 +621,29 @@ 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 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } + position = { + x = 8 + y = 4 + } + available = { + 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 } @@ -607,26 +659,30 @@ 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 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } + position = { + x = 9 + y = 4 + } + available = { + 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 } @@ -642,14 +698,15 @@ 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 = { @@ -660,8 +717,8 @@ DOH_jiangnan_shipyard_group_organization = { } equipment_bonus = { build_cost_ic = 0.05 - max_strength = 0.10 - maximum_speed = 0.10 + max_strength = 0.1 + maximum_speed = 0.1 surface_visibility = -0.2 carrier_size = 1 anti_air_attack = 0.1 @@ -670,15 +727,21 @@ DOH_jiangnan_shipyard_group_organization = { 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 @@ -695,33 +758,43 @@ DOH_jiangnan_shipyard_group_organization = { 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 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi1_get } } + position = { + x = 8 + y = 4 + } + available = { + 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 } @@ -737,26 +810,30 @@ 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 } - - available = { - FROM = { OR = { tag = BLI has_country_flag = buligongyi2_get } } + position = { + x = 9 + y = 4 + } + available = { + 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 } @@ -772,14 +849,15 @@ 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 = { @@ -794,16 +872,22 @@ DOH_dagu_shipyard_organization = { maximum_speed = 0.2 surface_visibility = -0.1 surface_detection = 0.1 - } + } + 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 @@ -816,85 +900,91 @@ DOH_dagu_shipyard_organization = { surface_visibility = -0.2 surface_detection = 0.2 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } - available = { - owner = { OR = { + owner = { + OR = { has_completed_focus = DOH_xindonghuang has_completed_focus = DOH_yixianwansui - } } + } + } } } ########################### - ### # ## # # ### ## # # # # # ## # # # ### # #### # ## ## # # # # # # # # # # ### # # # # ### ## - ########################### - DOH_camco_medium_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_yixianwansui + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_duidizhiyuan } } } + DOH_camco_fighter_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_yixianwansui + 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_yixianwansui + 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_yixianwansui + has_completed_focus = DOH_yixianwansui } has_completed_focus = DOH_duidizhiyuan OR = { @@ -904,17 +994,14 @@ DOH_camco_heavy_organization = { } } } -################################### +################################### # # ## ### ### ### ### ### # ## ## # # # # # # # # # # # # #### # ## ### # ## # # # # # # # # # # # # # # # # # ### # # ### ### ### - - ################################### - DOH_taiyuan_arsenal_organization = { icon = GFX_idea_generic_artillery_manufacturer_1 allowed = { @@ -939,14 +1026,15 @@ 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 } - relative_position_id = generic_mio_trait_improved_hydraulic_recoil_system - - all_parents = { - generic_mio_trait_improved_hydraulic_recoil_system + position = { + x = -1 + y = 3 } - limit_to_equipment_type = { + relative_position_id = generic_mio_trait_improved_hydraulic_recoil_system + all_parents = { + generic_mio_trait_improved_hydraulic_recoil_system + } + limit_to_equipment_type = { anti_tank_equipment } available = { @@ -961,18 +1049,23 @@ 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 = { @@ -982,45 +1075,48 @@ 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 } - relative_position_id = generic_mio_trait_improved_direct_fire_targeting - - all_parents = { - generic_mio_trait_improved_hydraulic_recoil_system + position = { + x = 2 + y = 0 } - - limit_to_equipment_type = { + relative_position_id = generic_mio_trait_improved_direct_fire_targeting + all_parents = { + generic_mio_trait_improved_hydraulic_recoil_system + } + limit_to_equipment_type = { artillery_equipment rocket_artillery_equipment } - equipment_bonus = { hard_attack = 1 breakthrough = 0.05 } } - 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 = { @@ -1029,7 +1125,6 @@ DOH_taiyuan_arsenal_organization = { } } } - equipment_bonus = { soft_attack = 0.05 hard_attack = 0.05 @@ -1040,12 +1135,13 @@ DOH_taiyuan_arsenal_organization = { } } } + 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 @@ -1059,7 +1155,10 @@ 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 = { @@ -1071,17 +1170,23 @@ DOH_liaoning_arsenal_organization = { equipment_bonus = { hardness = 0.05 defense = 0.1 - fuel_consumption = -0.10 + fuel_consumption = -0.1 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 @@ -1105,8 +1210,8 @@ DOH_hanyan_arsenal_organization = { } } equipment_bonus = { - soft_attack = 0.10 - hard_attack = 0.10 + soft_attack = 0.1 + hard_attack = 0.1 ap_attack = 1 defense = 0.05 build_cost_ic = 0.05 @@ -1114,6 +1219,11 @@ 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 @@ -1135,9 +1245,14 @@ DOH_hanyan_arsenal_organization = { production_bonus = { production_cost_factor = -0.03 production_conversion_speed_factor = 0.3 - production_efficiency_cap_factor = 0.10 + production_efficiency_cap_factor = 0.1 production_efficiency_gain_factor = 0.05 } + on_complete = { + ROOT = { + add_mio_size = 1 + } + } } add_trait = { token = DOH_infantry_mio_jishugaijing_3 @@ -1170,12 +1285,13 @@ 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 @@ -1185,4 +1301,4 @@ DOH_mukden_arsenal_organization = { } } } -} \ No newline at end of file +} diff --git a/src/common/national_focus/donghuang_new.txt b/src/common/national_focus/donghuang_new.txt index 08a6ff3..4c7b31a 100755 --- a/src/common/national_focus/donghuang_new.txt +++ b/src/common/national_focus/donghuang_new.txt @@ -343,22 +343,10 @@ focus_tree = { } completion_reward = { add_ideas = DOH_zzyf - effect_tooltip = { - if = { - limit = { - NOT = { - has_completed_focus = DOH_dulizizhudejungong - } - } - DOH_dongfangguguo_dengji = yes - } - } - hidden_effect = { - DOH_dongfangguguo_dengji = yes - } every_military_industrial_organization = { - add_mio_size = 5 + add_mio_size = 1 } + DOH_neibufenqi_jianqin_few_effect = yes } } focus = { @@ -853,6 +841,12 @@ focus_tree = { human_wave_tactics_for_doh = 1 popup = no } + custom_effect_tooltip = DOH_dashijiyoujizhan_tooltip + hidden_effect = { + set_technology = { + DOH_dashijiyoujizhan_tech = 1 + } + } } } } @@ -887,6 +881,26 @@ focus_tree = { add_potential_special_forces_tree = yes add_potential_special_forces_tree = yes DOH_neibufenqi_jianqin_effect = yes + if = { + limit = { + NOT = { + has_completed_focus = DOH_wanguolaichao + } + } + effect_tooltip = { + if = { + limit = { + NOT = { + has_completed_focus = DOH_special_force + } + } + DOH_dongfangguguo_dengji = yes + } + } + hidden_effect = { + DOH_dongfangguguo_dengji = yes + } + } } } focus = { @@ -2658,6 +2672,9 @@ focus_tree = { factor = 15 } completion_reward = { + every_military_industrial_organization = { + add_mio_size = 2 + } add_ideas = DOH_hailufuhe_idea_0 swap_ideas = { remove_idea = DOH_dhgytx @@ -3096,6 +3113,9 @@ focus_tree = { } completion_reward = { add_research_slot = 1 + every_military_industrial_organization = { + add_mio_size = 2 + } } } focus = { @@ -5491,6 +5511,27 @@ focus_tree = { add_idea = DOH_tcsg } DOH_neibufenqi_jianqin_effect = yes + if = { + limit = { + NOT = { + has_completed_focus = DOH_special_force + } + } + effect_tooltip = { + if = { + limit = { + NOT = { + has_completed_focus = DOH_wanguolaichao + } + } + DOH_dongfangguguo_dengji = yes + } + } + hidden_effect = { + DOH_dongfangguguo_dengji = yes + } + } + } } focus = { diff --git a/src/events/DOH_shijian.txt b/src/events/DOH_shijian.txt index a3d636a..8791cc0 100755 --- a/src/events/DOH_shijian.txt +++ b/src/events/DOH_shijian.txt @@ -727,6 +727,7 @@ country_event = { } } } + DOH_neibufenqi_jiazhong_effect = yes } } country_event = { @@ -777,6 +778,7 @@ country_event = { } } } + DOH_neibufenqi_jiazhong_effect = yes } } country_event = {