################################################ ### search_filters = {FOCUS_FILTER_POLITICAL} ### search_filters = {FOCUS_FILTER_RESEARCH} ### search_filters = {FOCUS_FILTER_INDUSTRY} ### search_filters = {FOCUS_FILTER_STABILITY} ### search_filters = {FOCUS_FILTER_WAR_SUPPORT} ### search_filters = {FOCUS_FILTER_MANPOWER} ### search_filters = {FOCUS_FILTER_ANNEXATION} ### search_filters = {FOCUS_FILTER_INTERNAL_AFFAIRS} ### search_filters = {FOCUS_FILTER_ARMY_XP} ### search_filters = {FOCUS_FILTER_NAVY_XP} ### search_filters = {FOCUS_FILTER_AIR_XP} ### search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} ### search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER} ### search_filters = {FOCUS_FILTER_MILITARY_CHARACTER} ### search_filters = {FOCUS_FILTER_INTERNATIONAL_TRADE} ### search_filters = {FOCUS_FILTER_HISTORICAL} focus_tree = { id = china_communist_focus_sea country = { factor = 0 modifier = { add = 1000 tag = PRC has_dlc = "No Compromise, No Surrender" } } #Focus Path shortcuts shortcut = { name = PRC_military_shortcut target = PRC_long_march_to_recovery scroll_wheel_factor = 0.65 } shortcut = { name = PRC_economy_shortcut target = PRC_rally_the_industry scroll_wheel_factor = 0.8 } shortcut = { name = PRC_unwilling_diarchy_shortcut target = PRC_the_unwilling_diarchy_focus scroll_wheel_factor = 0.7 } shortcut = { name = PRC_bolshevik_shortcut target = PRC_reclaim_the_grasp_of_power scroll_wheel_factor = 0.65 } shortcut = { name = PRC_mao_shortcut target = PRC_leadership_of_mao scroll_wheel_factor = 0.85 } default = no continuous_focus_position = { x = 20 y = 3250 } # focus = { # id = PRC_ # icon = GFX_ # prerequisite = { focus = } # mutually_exclusive = { focus = } # x = -3 # y = 0 # relative_position_id = # # cost = 10 # # ai_will_do = { # factor = 1 # } # # available = { # # } # # bypass = { # # } # # cancel_if_invalid = yes # continue_if_invalid = no # available_if_capitulated = no # # complete_tooltip = { # # } # # completion_reward = { # # } # } focus = { id = PRC_put_an_end_to_the_sufan icon = GFX_focus_PRC_the_central_committee x = 39 y = 0 cost = 5 ai_will_do = { factor = 1 } offset = { x = -15 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_burn_the_paper_tigers } } offset = { x = -20 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_the_unwilling_diarchy_focus } } search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_HISTORICAL} available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_to_variable = { PRC_check_variable_test = 1 } add_stability = 0.05 add_political_power = 25 custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_political_power_factor = 0.05 tooltip = political_power_factor_tt } } } focus = { id = PRC_know_the_enemy icon = GFX_goal_generic_position_armies prerequisite = { focus = PRC_put_an_end_to_the_sufan } x = -24 y = 1 relative_position_id = PRC_put_an_end_to_the_sufan offset = { x = 8 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_burn_the_paper_tigers } } offset = { x = 6 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_the_unwilling_diarchy_focus } } offset = { x = 4 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_reclaim_the_grasp_of_power } } offset = { x = 4 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_leadership_of_mao } } search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION} cost = 5 ai_will_do = { factor = 1 } available = { OR = { 615 = { is_fully_controlled_by = SHX } 1045 = { is_controlled_by = NXM } #1032 = { is_fully_controlled_by = XIC } } } bypass = { 1045 = { OR = { state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes NOT = { is_controlled_by = NXM } } } 615 = { OR = { state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes NOT = { is_controlled_by = SHX } } } #1032 = { # OR = { # state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes # NOT = { is_controlled_by = XIC } # } #} } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_unlock_border_defense_raids_tt custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { 615 = { is_fully_controlled_by = SHX } } add_timed_idea = { idea = PRC_western_expedition_idea days = 365 } } if = { limit = { 1045 = { is_controlled_by = NXM } } add_timed_idea = { idea = PRC_eastern_expedition_idea days = 365 } } #if = { # limit = { # 1032 = { is_fully_controlled_by = XIC } # } # add_timed_idea = { # idea = PRC_usurp_control_over_yanan_idea # days = 365 # } #} } } focus = { id = PRC_the_westward_expedition icon = GFX_focus_PRC_westward_expansion prerequisite = { focus = PRC_know_the_enemy } x = -2 y = 1 relative_position_id = PRC_know_the_enemy cost = 5 ai_will_do = { factor = 1 } available = { 1045 = { is_controlled_by = NXM } } bypass = { NOT = { 1045 = { is_controlled_by = NXM }} } search_filters = {FOCUS_FILTER_ANNEXATION} will_lead_to_war_with = NXM cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { unlock_decision_tooltip = PRC_the_westward_expedition_decision custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_winning_border_war_result_tt effect_tooltip = { transfer_state = 1045 } custom_effect_tooltip = PRC_losing_border_war_result_tt effect_tooltip = { army_experience = 15 #At least we learned something.... add_mastery = { amount = 50 track = infantry } add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 125 producer = NXM } } custom_effect_tooltip = generic_skip_one_line_tt PRC_this_might_anger_china = yes } } focus = { id = PRC_the_eastward_expedition icon = GFX_focus_PRC_eastward_expansion prerequisite = { focus = PRC_know_the_enemy } x = 2 y = 1 relative_position_id = PRC_know_the_enemy cost = 5 ai_will_do = { factor = 1 } available = { 615 = { is_controlled_by = SHX } } bypass = { NOT = { 615 = { is_controlled_by = SHX } } } search_filters = {FOCUS_FILTER_ANNEXATION} will_lead_to_war_with = SHX cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { unlock_decision_tooltip = PRC_the_eastward_expedition_decision custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_winning_border_war_result_tt effect_tooltip = { transfer_state = 615 } custom_effect_tooltip = PRC_losing_border_war_result_tt effect_tooltip = { army_experience = 15 #At least we learned something.... add_mastery = { amount = 50 track = infantry } add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 125 producer = SHX } } custom_effect_tooltip = generic_skip_one_line_tt PRC_this_might_anger_china = yes } } focus = { id = PRC_develop_yanan_soviet icon = GFX_focus_PRC_develop_yanan_soviet prerequisite = { focus = PRC_the_westward_expedition focus = PRC_the_eastward_expedition } x = 1 y = 1 #mutually_exclusive = { focus = PRC_the_internal_enemy } relative_position_id = PRC_the_westward_expedition cost = 5 ai_will_do = { factor = 1 } available = { 622 = { is_fully_controlled_by = ROOT } 1032 = { is_fully_controlled_by = ROOT } has_border_war = no } bypass = { } search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { set_capital = { state = 1032 remember_old_capital = no } 622 = { add_extra_state_shared_building_slots = 1 } 1032 = { add_extra_state_shared_building_slots = 2 } if = { limit = { 615 = { is_fully_controlled_by = ROOT } } 615 = { add_extra_state_shared_building_slots = 1 } } if = { limit = { 1045 = { is_fully_controlled_by = ROOT } } 1045 = { add_extra_state_shared_building_slots = 1 } } build_railway = { level = 1 fallback = yes path = { 12356 8049 } } } } focus = { id = PRC_the_internal_enemy icon = GFX_focus_CHI_protracted_warfare prerequisite = { focus = PRC_the_westward_expedition focus = PRC_the_eastward_expedition } x = 3 y = 1 #mutually_exclusive = { focus = PRC_develop_yanan_soviet } relative_position_id = PRC_the_westward_expedition cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { NOT = { has_completed_focus = PRC_prepare_for_the_inevitable has_completed_focus = PRC_the_march_to_victory } } PRC_add_the_internal_enemy_idea = yes } else = { PRC_add_the_internal_enemy_idea_upgrade = yes } } } focus = { id = PRC_burn_the_paper_tigers icon = GFX_focus_PRC_burn_the_paper_tigers prerequisite = { focus = PRC_know_the_enemy } mutually_exclusive = { focus = PRC_the_unwilling_diarchy_focus } x = -11 y = 3 relative_position_id = PRC_know_the_enemy allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = PRC_the_unwilling_diarchy_focus } } } offset = { x = 7 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_burn_the_paper_tigers } } cost = 5 ai_will_do = { factor = 1 } search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL} enable_automatic_bypass = no ## So don't force that way if say no to CUF available = { is_subject = no is_in_faction = no NOT = { has_country_flag = PRC_said_no_to_cuf } } bypass = { OR = { is_subject = yes is_in_faction = yes has_country_flag = PRC_said_no_to_cuf } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { NOT = { any_other_country = { is_literally_china = no #This is a YES because of the NOT statement. Yes, it looks really weird, just roll with it has_faction_template = faction_template_chinese_united_front } } event_target:WTT_current_china_leader = { is_puppet = no exists = yes NOT = { has_war_with = ROOT tag = ROOT } is_faction_leader = no } } event_target:WTT_current_china_leader = { country_event = { id = SEA_PRC_faction_events.10 days = 2 }} effect_tooltip = { set_rule = { can_create_factions = yes } set_rule = { can_join_factions = yes } create_faction_from_template = faction_template_chinese_united_front add_faction_initiative = 1 custom_effect_tooltip = if_they_accept_tt add_to_faction = event_target:WTT_current_china_leader } custom_effect_tooltip = generic_less_threatening_to_accept_tt } else_if = { limit = { NOT = { any_other_country = { is_literally_china = no #This is a YES because of the NOT statement. Yes, it looks really weird, just roll with it has_faction_template = faction_template_chinese_united_front } } } set_rule = { can_create_factions = yes } set_rule = { can_join_factions = yes } create_faction_from_template = faction_template_PRC_the_peoples_front add_faction_initiative = 1 every_other_country = { limit = { is_literally_china = yes has_capitulated = no is_in_faction = no is_subject = no NOT = { has_war_with = ROOT has_border_war_with = ROOT has_idea = SIK_battle_for_sinkiang tag = HBC any_other_country = { is_literally_china = yes has_war_with = PREV } } } country_event = { id = SEA_PRC_faction_events.50 days = 2 } effect_tooltip = { custom_effect_tooltip = if_they_accept_tt ROOT = { add_to_faction = PREV } } } } else = { set_rule = { can_create_factions = yes } set_rule = { can_join_factions = yes } create_faction_from_template = faction_template_PRC_the_peoples_front add_faction_initiative = 1 every_other_country = { limit = { is_literally_china = yes has_capitulated = no is_in_faction = no is_subject = no NOT = { has_war_with = ROOT has_border_war_with = ROOT has_idea = SIK_battle_for_sinkiang tag = HBC tag = event_target:WTT_current_china_leader any_other_country = { is_literally_china = yes has_war_with = PREV } } } country_event = { id = SEA_PRC_faction_events.50 days = 2 } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_theorist show_ideas_tooltip = PRC_mao_zedong_theorist hidden_effect = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } } focus = { id = PRC_rally_the_peasants icon = GFX_focus_generic_workers_and_farmers_rise prerequisite = { focus = PRC_burn_the_paper_tigers } x = -1 y = 1 relative_position_id = PRC_burn_the_paper_tigers cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} completion_reward = { add_political_power = 50 if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.99 } } custom_effect_tooltip = generic_skip_one_line_tt add_power_balance_value = { id = PRC_communist_power_struggle value = -0.1 } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_unlock_left_side_bop_decisions_tt } } focus = { id = PRC_rally_the_28_bolsheviks icon = GFX_focus_PRC_rally_the_28_bolsheviks prerequisite = { focus = PRC_burn_the_paper_tigers } x = 1 y = 1 relative_position_id = PRC_burn_the_paper_tigers cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} completion_reward = { add_political_power = 50 if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } custom_effect_tooltip = generic_skip_one_line_tt add_power_balance_value = { id = PRC_communist_power_struggle value = 0.1 } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_unlock_right_side_bop_decisions_tt } } focus = { id = PRC_guide_central_committee icon = GFX_focus_SWE_refuge_for_revolutionaries prerequisite = { focus = PRC_rally_the_peasants focus = PRC_rally_the_28_bolsheviks } x = 0 y = 2 relative_position_id = PRC_burn_the_paper_tigers cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 50 custom_effect_tooltip = PRC_unlock_both_sides_bop_decisions_tt } } ## ## ### ####### ### ### ## ## ## ## #### #### ## ## ## ## ## ### ## ## ## ## ## ## ## ######### ## ## ## ## ## ## ## ## ## ## ## ## ####### focus = { id = PRC_leadership_of_mao icon = GFX_focus_PRC_embrace_change_in_leadership prerequisite = { focus = PRC_guide_central_committee } mutually_exclusive = { focus = PRC_reclaim_the_grasp_of_power } x = -7 y = 1 relative_position_id = PRC_guide_central_committee allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = PRC_reclaim_the_grasp_of_power has_completed_focus = PRC_the_unwilling_diarchy_focus } } } offset = { x = 7 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_leadership_of_mao } } cost = 10 ai_will_do = { factor = 1 } available = { power_balance_value = { id = PRC_communist_power_struggle value < -0.25 } } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_HISTORICAL} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 50 custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.89 } } add_power_balance_value = { id = PRC_communist_power_struggle value = -0.1 } } add_country_leader_role = { character = PRC_mao_zedong # optional if inside character scope promote_leader = yes country_leader = { ideology = marxism traits={ PRC_de_facto_leader } expire="1965.1.1.1" id=-1 } } custom_effect_tooltip = PRC_unlock_left_side_bop_decisions_tt custom_effect_tooltip = generic_skip_one_line_tt PRC_add_mediating_general_secretary_idea = yes hidden_effect = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } } focus = { id = PRC_on_guerilla_warfare icon = GFX_focus_CHI_guerrilla_warfare prerequisite = { focus = PRC_leadership_of_mao } x = -1 y = 1 relative_position_id = PRC_leadership_of_mao cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { unlock_decision_category_tooltip = PRC_guerilla_warfare_sea_cat PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_org_loss_when_moving = -0.05 tooltip = org_loss_when_moving_tt } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = PRC_guerilla_warfare custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_doctrine = peoples_war } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_on_guerilla_warfare sub_doctrine = peoples_war } } else_if = { limit = { has_doctrine = guerilla_war } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_on_guerilla_warfare sub_doctrine = guerilla_war } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_on_guerilla_warfare track = operations } } } } focus = { id = PRC_secure_the_peoples_support icon = GFX_focus_prc_infiltration prerequisite = { focus = PRC_leadership_of_mao } x = 1 y = 1 relative_position_id = PRC_leadership_of_mao cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { custom_effect_tooltip = PRC_secure_the_peoples_support_tt #unlock_decision_category_tooltip = PRC_infiltration_sea_cat } } focus = { id = PRC_propaganda_efforts icon = GFX_goal_generic_propaganda prerequisite = { focus = PRC_on_guerilla_warfare focus = PRC_secure_the_peoples_support } x = 1 y = 1 relative_position_id = PRC_on_guerilla_warfare cost = 10 ai_will_do = { factor = 1 } available = { is_in_faction = yes } bypass = { is_in_faction = no } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL} completion_reward = { add_faction_influence_ratio = 0.05 if = { limit = { has_faction_template = faction_template_chinese_united_front } custom_effect_tooltip = PRC_propaganda_efforts_1_tt } else = { custom_effect_tooltip = PRC_propaganda_efforts_2_tt } } } focus = { id = PRC_dissent_in_the_united_front icon = GFX_focus_PRC_dissent_in_the_united_front prerequisite = { focus = PRC_secure_the_peoples_support } x = 1 y = 1 relative_position_id = PRC_secure_the_peoples_support dynamic = yes cost = 10 ai_will_do = { factor = 1 } available = { is_in_faction = yes } bypass = { is_in_faction = no #Don't block Rural Recruitment } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { is_faction_leader = no } add_faction_influence_ratio = 0.05 } if = { limit = { NOT = { is_in_faction_with = CHI } } custom_effect_tooltip = PRC_dissent_in_the_united_front_1_tt custom_effect_tooltip = PRC_halves_infiltration_cost_tt } else = { custom_effect_tooltip = PRC_halves_infiltration_cost_tt divide_variable = { PRC_infiltration_cost = 2 } } } } focus = { id = PRC_question_the_faction_leadership icon = GFX_goal_generic_national_unity prerequisite = { focus = PRC_dissent_in_the_united_front } x = 1 y = 1 relative_position_id = PRC_dissent_in_the_united_front cost = 10 ai_will_do = { factor = 1 } available = { faction_influence_ratio > 0.25 num_faction_members > 2 is_faction_leader = no } bypass = { is_faction_leader = yes } continue_if_invalid = yes available_if_capitulated = no completion_reward = { if = { limit = { is_in_faction = yes num_faction_members > 2 } every_other_country = { limit = { is_in_faction_with = ROOT is_chinese_warlord = yes } country_event = { id = SEA_PRC_faction_events.20 days = 2 } } } else = { custom_effect_tooltip = PRC_every_allied_warlord_tt effect_tooltip = { country_event = SEA_PRC_faction_events.20 } } effect_tooltip = { custom_effect_tooltip = if_they_accept_tt add_faction_influence_ratio = 0.01 custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_faction_influence_contribution_factor = 0.01 tooltip = faction_influence_contribution_factor_tt } } } } focus = { id = PRC_to_unify_a_country icon = GFX_focus_PRC_revolutionary_war_of_the_masses prerequisite = { focus = PRC_question_the_faction_leadership } x = 0 y = 1 relative_position_id = PRC_question_the_faction_leadership cost = 5 ai_will_do = { factor = 1 } available = { is_faction_leader = yes any_allied_country = { is_chinese_warlord_tooltip = yes any_controlled_state = { PRC_state_is_fully_infiltrated = yes } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { is_in_faction = yes num_faction_members > 1 any_allied_country = { is_chinese_warlord = yes any_controlled_state = { PRC_state_is_fully_infiltrated = yes } } } every_other_country = { limit = { is_chinese_warlord = yes is_in_faction_with = ROOT any_controlled_state = { PRC_state_is_fully_infiltrated = yes } } country_event = { id = SEA_PRC_faction_events.30 days = 2 } } custom_effect_tooltip = if_they_accept_tt custom_effect_tooltip = PRC_to_unify_a_country_tt custom_effect_tooltip = if_they_refuse_tt custom_effect_tooltip = possible_actions_FROM_can_take_tt effect_tooltip = { every_other_country = { limit = { is_chinese_warlord = yes is_in_faction_with = ROOT any_controlled_state = { PRC_state_is_fully_infiltrated = yes } } PRC = { remove_from_faction = PREV } } } } else = { custom_effect_tooltip = PRC_every_allied_warlord_tt effect_tooltip = { country_event = SEA_PRC_faction_events.30 custom_effect_tooltip = if_they_accept_tt custom_effect_tooltip = PRC_to_unify_a_country_tt custom_effect_tooltip = if_they_refuse_tt custom_effect_tooltip = possible_actions_FROM_can_take_tt every_other_country = { ## For tooltip reasons limit = { is_chinese_warlord = yes } leave_faction = yes PRC = { remove_from_faction = PREV } } } } } } focus = { id = PRC_establish_friendly_bases icon = GFX_focus_generic_sabotage prerequisite = { focus = PRC_on_guerilla_warfare } x = -1 y = 1 relative_position_id = PRC_on_guerilla_warfare cost = 10 ai_will_do = { factor = 1 } available = { has_war_with_major = yes } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL} completion_reward = { custom_effect_tooltip = PRC_establish_friendly_bases_1_tt custom_effect_tooltip = PRC_establish_friendly_bases_2_tt } } focus = { id = PRC_empower_the_guerillas icon = GFX_focus_GER_support_the_proletarian_uprising prerequisite = { focus = PRC_establish_friendly_bases } x = -1 y = 1 relative_position_id = PRC_establish_friendly_bases cost = 10 ai_will_do = { factor = 1 } available = { power_balance_value = { id = PRC_communist_power_struggle value < -0.5 } } bypass = { } cancel_if_invalid = no continue_if_invalid = yes available_if_capitulated = no completion_reward = { IF = { limit = { has_dlc = "Arms Against Tyranny" } add_doctrine_cost_reduction = { name = PRC_empower_the_guerillas cost_reduction = 0.25 uses = 2 category = special_forces_doctrine } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { has_doctrine = irregulars } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_empower_the_guerillas sub_doctrine = irregulars } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_empower_the_guerillas track = infantry } } custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_max_dig_in = 5 tooltip = max_dig_in_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_empower_the_guerillas_tt effect_tooltip = { add_dynamic_modifier = { modifier = PRC_guerilla_cells_active_2 } } } } focus = { id = PRC_holding_half_the_sky icon = GFX_focus_PRC_rally_the_women prerequisite = { focus = PRC_empower_the_guerillas } x = 0 y = 1 relative_position_id = PRC_empower_the_guerillas cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER FOCUS_FILTER_HISTORICAL} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_stability = 0.05 add_political_power = 25 custom_effect_tooltip = generic_skip_one_line_tt PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_production_factory_start_efficiency_factor = 0.05 tooltip = production_factory_start_efficiency_factor_tt } add_to_variable = { PRC_industry_production_factory_max_efficiency_factor = 0.05 tooltip = production_factory_max_efficiency_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_the_chinese_red_army_modify_tt add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = GER_locks_women_in_workforce_decision_tt custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.89 } } add_power_balance_value = { id = PRC_communist_power_struggle value = -0.1 } } } } focus = { id = PRC_raid_weapon_depots icon = GFX_focus_PRC_raid_weapon_depots prerequisite = { focus = PRC_propaganda_efforts } prerequisite = { focus = PRC_establish_friendly_bases } x = -1 y = 1 relative_position_id = PRC_propaganda_efforts cost = 5 ai_will_do = { factor = 1 } available = { has_war = yes } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { custom_effect_tooltip = PRC_raid_weapon_depots_tt } } focus = { id = PRC_rural_recruitment icon = GFX_focus_GER_proletarian_solidarity prerequisite = { focus = PRC_propaganda_efforts } prerequisite = { focus = PRC_dissent_in_the_united_front } x = 1 y = 1 relative_position_id = PRC_propaganda_efforts overlay = GFX_focus_fast_overlay_generic_clock cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_MANPOWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_rural_recruitment_tt custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_the_chinese_red_army_modify_tt add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt reduce_focus_completion_cost = { focus = PRC_agricultural_reform cost = 21 } reduce_focus_completion_cost = { focus = PRC_rural_region_development cost = 21 } reduce_focus_completion_cost = { focus = PRC_rural_region_development_two cost = 35 } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.94 } } add_power_balance_value = { id = PRC_communist_power_struggle value = -0.05 } } } } focus = { id = PRC_strengthen_the_central_party_school icon = GFX_focus_CHI_tongzi_jun prerequisite = { focus = PRC_raid_weapon_depots focus = PRC_rural_recruitment } x = 1 y = 1 relative_position_id = PRC_raid_weapon_depots cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_STABILITY} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.89 } } add_power_balance_value = { id = PRC_communist_power_struggle value = -0.1 } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_party_popularity_stability_factor = 0.1 tooltip = party_popularity_stability_factor_tt } } } focus = { id = PRC_yanan_rectification_movement icon = GFX_focus_PRC_yanan_rectification_movement prerequisite = { focus = PRC_holding_half_the_sky focus = PRC_to_unify_a_country focus = PRC_strengthen_the_central_party_school } x = 0 y = 1 relative_position_id = PRC_strengthen_the_central_party_school cost = 10 ai_will_do = { factor = 1 } available = { power_balance_value = { id = PRC_communist_power_struggle value < 0 } } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_HISTORICAL} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_stability = 0.05 custom_effect_tooltip = generic_skip_one_line_tt PRC_remove_mediating_general_secretary_idea = yes custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_yanan_rectification_movement_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.14 } } add_dynamic_modifier = { modifier = PRC_maoism_dynamic_modifier } set_variable = { PRC_maoism_dynamic_modifier_political_power_factor = 0.05 tooltip = political_power_factor_tt } set_variable = { PRC_maoism_dynamic_modifier_max_command_power = 5 tooltip = max_command_power_tt } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < -0.14 value > -0.49 } } add_dynamic_modifier = { modifier = PRC_maoism_dynamic_modifier } set_variable = { PRC_maoism_dynamic_modifier_political_power_factor = 0.05 tooltip = political_power_factor_tt } set_variable = { PRC_maoism_dynamic_modifier_command_power_gain = 0.05 tooltip = command_power_gain_tt } set_variable = { PRC_maoism_dynamic_modifier_max_command_power = 5 tooltip = max_command_power_tt } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < -0.49 value > -0.69 } } add_dynamic_modifier = { modifier = PRC_maoism_dynamic_modifier } set_variable = { PRC_maoism_dynamic_modifier_political_power_factor = 0.1 tooltip = political_power_factor_tt } set_variable = { PRC_maoism_dynamic_modifier_command_power_gain = 0.05 tooltip = command_power_gain_tt } set_variable = { PRC_maoism_dynamic_modifier_max_command_power = 10 tooltip = max_command_power_tt } set_variable = { PRC_maoism_dynamic_modifier_pocket_penalty = -0.05 tooltip = pocket_penalty_tt } set_variable = { PRC_maoism_dynamic_modifier_equipment_capture_factor = 0.025 tooltip = equipment_capture_factor_tt } set_variable = { PRC_maoism_dynamic_modifier_army_defence_factor = 0.025 tooltip = army_defence_factor_tt } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < -0.69 value > -0.89 } } add_dynamic_modifier = { modifier = PRC_maoism_dynamic_modifier } set_variable = { PRC_maoism_dynamic_modifier_political_power_factor = 0.1 tooltip = political_power_factor_tt } set_variable = { PRC_maoism_dynamic_modifier_command_power_gain = 0.1 tooltip = command_power_gain_tt } set_variable = { PRC_maoism_dynamic_modifier_max_command_power = 15 tooltip = max_command_power_tt } set_variable = { PRC_maoism_dynamic_modifier_pocket_penalty = -0.1 tooltip = pocket_penalty_tt } set_variable = { PRC_maoism_dynamic_modifier_equipment_capture_factor = 0.05 tooltip = equipment_capture_factor_tt } set_variable = { PRC_maoism_dynamic_modifier_army_defence_factor = 0.05 tooltip = army_defence_factor_tt } } else = { # best one, slightly better than BoP effect to have this actually have meaning add_dynamic_modifier = { modifier = PRC_maoism_dynamic_modifier } set_variable = { PRC_maoism_dynamic_modifier_political_power_factor = 0.15 tooltip = political_power_factor_tt } set_variable = { PRC_maoism_dynamic_modifier_command_power_gain = 0.2 tooltip = command_power_gain_tt } set_variable = { PRC_maoism_dynamic_modifier_max_command_power = 20 tooltip = max_command_power_tt } set_variable = { PRC_maoism_dynamic_modifier_pocket_penalty = -0.15 tooltip = pocket_penalty_tt } set_variable = { PRC_maoism_dynamic_modifier_equipment_capture_factor = 0.1 tooltip = equipment_capture_factor_tt } set_variable = { PRC_maoism_dynamic_modifier_army_defence_factor = 0.075 tooltip = army_defence_factor_tt } } custom_effect_tooltip = generic_skip_one_line_tt remove_power_balance = { id = PRC_communist_power_struggle } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = remove_political_advisor show_ideas_tooltip = PRC_wang_shiwei } } focus = { id = PRC_form_central_social_affairs_department icon = GFX_focus_PRC_form_central_social_affairs_department prerequisite = { focus = PRC_yanan_rectification_movement } x = -1 y = 1 relative_position_id = PRC_yanan_rectification_movement # allow_branch = { #cant be used while focuses below require this focus # has_dlc = "La Resistance" # } cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { if = { limit = { has_dlc = "La Resistance" } if = { limit = { has_intelligence_agency = no } create_intelligence_agency = { name = "Central Social Affairs Department" icon = GFX_intelligence_agency_logo_PRC_central_social_affairs_department } } else_if = { limit = { NOT = { has_done_agency_upgrade = upgrade_passive_defense } } upgrade_intelligence_agency = upgrade_passive_defense } else_if = { limit = { NOT = { has_done_agency_upgrade = upgrade_interrogation_techniques } } upgrade_intelligence_agency = upgrade_interrogation_techniques } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = PRC_kang_sheng } } } focus = { id = PRC_enforce_maoism icon = GFX_focus_prc_maoism prerequisite = { focus = PRC_form_central_social_affairs_department } prerequisite = { focus = PRC_establish_yanan_university } x = 0 y = 2 relative_position_id = PRC_yanan_rectification_movement cost = 10 ai_will_do = { factor = 1 } available = { has_country_leader = { ruling_only = yes # default = yes character = PRC_mao_zedong } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL} completion_reward = { if = { limit = { has_country_leader = { ruling_only = yes # default = yes character = PRC_mao_zedong } } PRC_mao_zedong = { swap_country_leader_traits = { remove = PRC_de_facto_leader add = PRC_head_of_the_personality_cult } } } else = { ## Mainly for tooltip before you have Mao or Maoism add_country_leader_trait = PRC_head_of_the_personality_cult } } } focus = { id = PRC_invite_the_dixie_mission icon = GFX_focus_generic_befriend_usa prerequisite = { focus = PRC_enforce_maoism } x = -1 y = 1 relative_position_id = PRC_enforce_maoism cost = 5 ai_will_do = { factor = 1 } available = { is_subject = no if = { limit = { is_in_faction = yes } all_allied_country = { NOT = { has_war_with = USA } } } USA = { is_subject = no NOT = { has_war_with = ROOT has_government = fascism has_government = neutrality } has_opinion = { target = ROOT value > 24 } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_opinion_modifier = { target = SOV modifier = PRC_approached_the_west_opinion } add_opinion_modifier = { target = USA modifier = PRC_dixie_mission_opinion } USA = { add_opinion_modifier = { target = ROOT modifier = PRC_dixie_mission_opinion } } custom_effect_tooltip = generic_skip_one_line_tt PRC_USA_lend_lease_strategy = yes } } focus = { id = PRC_deepen_the_dixie_mission icon = GFX_goal_generic_scientific_exchange prerequisite = { focus = PRC_invite_the_dixie_mission } x = 0 y = 1 relative_position_id = PRC_invite_the_dixie_mission mutually_exclusive = { focus = PRC_tech_agreement_with_ussr } cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no any_allied_country = { NOT = { has_war_with = USA } } USA = { is_subject = no NOT = { has_war_with = ROOT has_government = fascism has_government = neutrality } has_opinion = { target = ROOT value > 74 } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_RESEARCH} completion_reward = { add_opinion_modifier = { target = SOV modifier = PRC_approached_the_west_opinion } add_opinion_modifier = { target = USA modifier = PRC_dixie_mission_opinion } USA = { add_opinion_modifier = { target = ROOT modifier = PRC_dixie_mission_opinion } } add_tech_bonus = { name = PRC_deepen_the_dixie_mission bonus = 0.25 uses = 2 category = electronics } add_tech_bonus = { name = PRC_deepen_the_dixie_mission bonus = 0.25 uses = 2 category = industry } custom_effect_tooltip = generic_skip_one_line_tt add_mastery_bonus = { bonus = 0.15 days = 365 name = PRC_deepen_the_dixie_mission track = armor } custom_effect_tooltip = generic_skip_one_line_tt PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_research_speed_factor = 0.05 tooltip = research_speed_factor_tt } if = { limit = { USA = { any_enemy_country = { has_war_with = ROOT } } } add_tech_bonus = { name = PRC_deepen_the_dixie_mission bonus = 0.5 uses = 2 category = infantry_weapons category = artillery } } } } focus = { id = PRC_overthrow_the_ussr icon = GFX_focus_GER_end_european_communism prerequisite = { focus = PRC_deepen_the_dixie_mission } x = 0 y = 1 relative_position_id = PRC_deepen_the_dixie_mission cost = 10 ai_will_do = { factor = 1 modifier = { ## Never do this before 1945 date < 1945.01.01 factor = 0 } } available = { is_subject = no } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION} completion_reward = { custom_effect_tooltip = PRC_overthrow_the_ussr_tt every_other_country = { limit = { is_major = yes has_government = communism } display_individual_scopes = yes ROOT = { create_wargoal = { type = annex_everything target = PREV } } } } } focus = { id = PRC_two_soviets_together icon = GFX_focus_chi_mission_to_the_soviet_union prerequisite = { focus = PRC_enforce_maoism } x = 1 y = 1 relative_position_id = PRC_enforce_maoism cost = 5 ai_will_do = { factor = 1 } available = { is_subject = no if = { limit = { is_in_faction = yes } all_allied_country = { NOT = { has_war_with = SOV } } } SOV = { is_subject = no has_government = communism NOT = { has_war_with = ROOT } has_opinion = { target = ROOT value > 24 } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_opinion_modifier = { target = SOV modifier = PRC_deepened_communist_ties_opinion } SOV = { add_opinion_modifier = { target = ROOT modifier = PRC_deepened_communist_ties_opinion } } add_opinion_modifier = { target = USA modifier = PRC_approached_the_soviets_opinion } } } focus = { id = PRC_tech_agreement_with_ussr icon = GFX_focus_generic_socialist_science prerequisite = { focus = PRC_two_soviets_together } x = 0 y = 1 relative_position_id = PRC_two_soviets_together mutually_exclusive = { focus = PRC_deepen_the_dixie_mission } cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no any_allied_country = { NOT = { has_war_with = SOV } } SOV = { is_subject = no has_government = communism NOT = { has_war_with = ROOT } has_opinion = { target = ROOT value > 74 } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_opinion_modifier = { target = SOV modifier = PRC_deepened_communist_ties_opinion } SOV = { add_opinion_modifier = { target = ROOT modifier = PRC_deepened_communist_ties_opinion } } add_opinion_modifier = { target = USA modifier = PRC_approached_the_soviets_opinion } add_tech_bonus = { name = PRC_tech_agreement_with_ussr bonus = 0.25 uses = 1 category = armor } add_tech_bonus = { name = PRC_tech_agreement_with_ussr bonus = 0.25 uses = 1 category = air_equipment } add_tech_bonus = { name = PRC_tech_agreement_with_ussr bonus = 0.25 uses = 1 category = support_tech } add_tech_bonus = { name = PRC_tech_agreement_with_ussr bonus = 0.25 uses = 1 category = infantry_weapons } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_doctrine = armored_cavalry } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_tech_agreement_with_ussr sub_doctrine = armored_cavalry } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_tech_agreement_with_ussr track = armor } } if = { limit = { PRC_neighboring_SOV = yes } add_ideas = PRC_SOV_lend_lease_idea_1 } } } focus = { id = PRC_the_end_of_capitalism icon = GFX_focus_generic_crush_capitalism prerequisite = { focus = PRC_tech_agreement_with_ussr } x = 0 y = 1 relative_position_id = PRC_tech_agreement_with_ussr cost = 10 ai_will_do = { factor = 1 modifier = { ## Never do this before 1945 date < 1945.01.01 factor = 0 } } available = { is_subject = no } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION} completion_reward = { every_country = { limit = { is_faction_leader = yes has_government = democratic } ROOT = { create_wargoal = { type = annex_everything target = PREV } } } IF = { limit = { USA = { NOT = { has_government = communism } } } create_wargoal = { type = annex_everything target = USA } } } } focus = { id = PRC_purge_the_world_of_fascism icon = GFX_focus_generic_communism_anti_fascism prerequisite = { focus = PRC_the_end_of_capitalism focus = PRC_overthrow_the_ussr } x = 1 y = 1 relative_position_id = PRC_overthrow_the_ussr cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION} completion_reward = { every_country = { limit = { has_government = fascism ROOT = { NOT = { has_wargoal_against = PREV } } } ROOT = { create_wargoal = { type = annex_everything target = PREV } } } } } focus = { id = PRC_establish_yanan_university icon = GFX_focus_research prerequisite = { focus = PRC_yanan_rectification_movement } x = 1 y = 1 relative_position_id = PRC_yanan_rectification_movement cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_research_slot = 1 } } ####### ####### ######## ####### ## ###### ## ## ######## ## ## #### ## ## ###### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ####### ####### ######## ## ## ## ###### ######### ###### ## ## ## ##### ###### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ######### ####### ######## ####### ######## ###### ## ## ######## ### #### ## ## ###### focus = { id = PRC_reclaim_the_grasp_of_power icon = GFX_focus_PRC_recaim_the_grasp_of_power prerequisite = { focus = PRC_guide_central_committee } mutually_exclusive = { focus = PRC_leadership_of_mao } x = 7 y = 1 relative_position_id = PRC_guide_central_committee allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = PRC_leadership_of_mao has_completed_focus = PRC_the_unwilling_diarchy_focus } } } offset = { x = -7 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_reclaim_the_grasp_of_power } } cost = 10 ai_will_do = { factor = 1 } available = { power_balance_value = { id = PRC_communist_power_struggle value > 0.3 } } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { country_event = { #Put Wang Ming, or Bo Gu in power." id = SEA_PRC_political_events.1 } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } add_power_balance_value = { id = PRC_communist_power_struggle value = 0.1 } } custom_effect_tooltip = generic_skip_one_line_tt PRC_add_mediating_general_secretary_idea = yes hidden_effect = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } } } focus = { id = PRC_seek_support_from_ussr icon = GFX_focus_chi_mission_to_the_soviet_union prerequisite = { focus = PRC_reclaim_the_grasp_of_power focus = PRC_leadership_of_mao } x = 0 y = 3 relative_position_id = PRC_guide_central_committee overlay = GFX_focus_fast_overlay_generic_clock offset = { x = -7 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_reclaim_the_grasp_of_power } } offset = { x = 4 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_leadership_of_mao } } cost = 5 ai_will_do = { factor = 1 } available = { SOV = { exists = yes } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_opinion_modifier = { target = SOV modifier = PRC_deepened_communist_ties_opinion } SOV = { add_opinion_modifier = { target = ROOT modifier = PRC_deepened_communist_ties_opinion } } custom_effect_tooltip = generic_skip_one_line_tt reduce_focus_completion_cost = { focus = PRC_request_for_aid cost = 21 } reduce_focus_completion_cost = { focus = PRC_appeal_for_foreign_aid cost = 35 } PRC_SOV_lend_lease_strategy = yes } } focus = { id = PRC_ask_for_soviet_lend_lease icon = GFX_focus_SOV_the_road_of_life prerequisite = { focus = PRC_invite_otto_braun } prerequisite = { focus = PRC_seek_support_from_ussr } x = 0 y = 1 relative_position_id = PRC_seek_support_from_ussr cost = 10 ai_will_do = { factor = 1 } available = { has_war = yes PRC_neighboring_SOV = yes SOV = { exists = yes is_subject = no has_civil_war = no NOT = { has_war_with = ROOT any_allied_country = { has_war_with = ROOT } } has_opinion = { target = ROOT value > 24 } } if = { limit = { is_in_faction = yes } all_allied_country = { NOT = { has_war_with = SOV } } } } bypass = { SOV = { OR = { exists = no is_subject = yes has_civil_war = yes has_war_with = ROOT any_allied_country = { has_war_with = ROOT } } } if = { limit = { ROOT = { is_in_faction = yes } } any_allied_country = { has_war_with = SOV } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_ideas = PRC_SOV_lend_lease_idea_1 custom_effect_tooltip = generic_skip_one_line_tt PRC_SOV_lend_lease_strategy = yes } } focus = { id = PRC_request_guarantees icon = GFX_goal_generic_major_alliance prerequisite = { focus = PRC_ask_for_soviet_lend_lease } x = 0 y = 1 relative_position_id = PRC_ask_for_soviet_lend_lease cost = 10 ai_will_do = { factor = 1 } available = { power_balance_value = { id = PRC_communist_power_struggle value > 0.3 } has_war = no #Added this to prevent unintended side consequences with SOV and JAP SOV = { exists = yes } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL} completion_reward = { SOV = { country_event = { id = SEA_PRC_political_events.2 hours = 5 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { SOV = { give_guarantee = ROOT } } custom_effect_tooltip = PRC_request_guarantees_tt } } focus = { id = PRC_bolshevik_aid icon = GFX_focus_generic_communist_industry prerequisite = { focus = PRC_reclaim_the_grasp_of_power } x = 0 y = 1 relative_position_id = PRC_reclaim_the_grasp_of_power dynamic = yes cost = 10 ai_will_do = { factor = 1 } available = { any_country = { is_major = yes has_government = communism } } bypass = { NOT = { any_country = { is_major = yes has_government = communism } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_MANPOWER} completion_reward = { if = { limit = { has_DLC = "Arms Against Tyranny" } add_cic = 800 } else = { random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = PRC_bolshevik_volunteers days = 90 } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } add_power_balance_value = { id = PRC_communist_power_struggle value = 0.05 } } } } focus = { id = PRC_a_stronger_united_front icon = GFX_focus_CHI_registry_of_property prerequisite = { focus = PRC_bolshevik_aid } x = 3 y = 1 relative_position_id = PRC_bolshevik_aid cost = 5 ai_will_do = { factor = 1 } available = { is_in_faction_with = CHI } bypass = { NOT = { is_in_faction_with = CHI } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL} completion_reward = { add_faction_influence_ratio = 0.075 custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_category_tooltip = PRC_28_bolshevik_faction_cat } } focus = { id = PRC_playing_both_sides icon = GFX_focus_prc_infiltration prerequisite = { focus = PRC_a_stronger_united_front } x = 0 y = 1 relative_position_id = PRC_a_stronger_united_front cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { unlock_decision_category_tooltip = PRC_infiltration_sea_cat custom_effect_tooltip = PRC_infiltration_only_level_2_bolshevik_tt } } focus = { id = PRC_the_fight_of_a_people icon = GFX_focus_generic_spur_communist_revolutions prerequisite = { focus = PRC_playing_both_sides } x = 0 y = 1 relative_position_id = PRC_playing_both_sides cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { unlock_decision_category_tooltip = PRC_guerilla_warfare_sea_cat } } focus = { id = PRC_supreme_infiltration icon = GFX_focus_CHI_guerrilla_warfare prerequisite = { focus = PRC_the_fight_of_a_people } x = 0 y = 1 relative_position_id = PRC_the_fight_of_a_people cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_unlock_complete_infiltration_tt effect_tooltip = { add_dynamic_modifier = { modifier = PRC_infiltrated_state_3 scope = PRC #These modifiers should only apply to PRC } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_doctrine = peoples_war } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_supreme_infiltration sub_doctrine = peoples_war } } else_if = { limit = { has_doctrine = guerilla_war } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_supreme_infiltration sub_doctrine = guerilla_war } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_supreme_infiltration track = operations } } } } focus = { id = PRC_bolshevik_urbanization icon = GFX_focus_PRC_bolshevik_urbanization prerequisite = { focus = PRC_bolshevik_aid } x = 0 y = 1 relative_position_id = PRC_bolshevik_aid cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } add_power_balance_value = { id = PRC_communist_power_struggle value = 0.15 } } else = { add_political_power = 100 } } } focus = { id = PRC_bolshevik_urbanization_2 icon = GFX_focus_generic_low_cost_housing prerequisite = { focus = PRC_bolshevik_urbanization } x = -1 y = 1 relative_position_id = PRC_bolshevik_urbanization cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY} completion_reward = { PRC_modify_industrial_modifier = yes add_to_variable = { production_speed_buildings_factor = 0.1 tooltip = production_speed_buildings_factor_tt } add_to_variable = { production_factory_start_efficiency_factor = -0.05 tooltip = production_factory_start_efficiency_factor_tt } } } focus = { id = PRC_bolshevik_urban_industrialization icon = GFX_focus_PRC_bolshevik_urbanization_1 prerequisite = { focus = PRC_bolshevik_urbanization } x = 1 y = 1 relative_position_id = PRC_bolshevik_urbanization overlay = GFX_focus_fast_overlay_generic_clock cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY} completion_reward = { random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 1 include_locked = yes } } prioritize = { 1032 622 616 615} #Yan'An, Shaanxi, Ningxia and Shanxi add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 2 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { has_completed_focus = PRC_rural_region_development } } reduce_focus_completion_cost = { focus = PRC_urbanization cost = 35 } reduce_focus_completion_cost = { focus = PRC_urbanization_two cost = 35 } } } } focus = { id = PRC_bolshevik_urbanization_completed icon = GFX_focus_PRC_bolshevik_urbanization_completed prerequisite = { focus = PRC_bolshevik_urbanization_2 focus = PRC_bolshevik_urban_industrialization } x = 1 y = 1 relative_position_id = PRC_bolshevik_urbanization_2 cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY} completion_reward = { add_timed_idea = { idea = PRC_urbanization_completed_timed_idea days = 365 } custom_effect_tooltip = generic_skip_one_line_tt add_stability = 0.05 } } focus = { id = PRC_invite_otto_braun icon = GFX_focus_PRC_invite_otto_braun prerequisite = { focus = PRC_bolshevik_aid } x = -3 y = 1 relative_position_id = PRC_bolshevik_aid cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_MILITARY_CHARACTER} completion_reward = { effect_tooltip = { add_corps_commander_role = { character = PRC_otto_braun traits = { infantry_officer } skill=1 attack_skill=2 defense_skill=1 planning_skill=2 logistics_skill=2 legacy_id=-1 } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_chief_of_army show_ideas_tooltip = PRC_otto_braun custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } add_power_balance_value = { id = PRC_communist_power_struggle value = 0.05 } } } } focus = { id = PRC_invite_pavel_mif icon = GFX_focus_PRC_pavel_mif prerequisite = { focus = PRC_invite_otto_braun } x = 0 y = 1 relative_position_id = PRC_invite_otto_braun cost = 5 ai_will_do = { factor = 1 } available = { has_country_flag = PRC_pavel_mif_alive } bypass = { NOT = { has_country_flag = PRC_pavel_mif_alive } } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = available_political_advisor show_ideas_tooltip = PRC_pavel_mif custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } add_power_balance_value = { id = PRC_communist_power_struggle value = 0.05 } } } } focus = { id = PRC_rebuild_28_bolshevik icon = GFX_focus_PRC_rebuild_28_bolshevik prerequisite = { focus = PRC_invite_pavel_mif } x = 0 y = 1 relative_position_id = PRC_invite_pavel_mif cost = 10 ai_will_do = { factor = 1 } available = { power_balance_value = { id = PRC_communist_power_struggle value > 0.25 } } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_rebuild_28_bolshevik_tt custom_effect_tooltip = generic_skip_one_line_tt ## Improve all advisors traits every_character = { limit = { OR = { has_trait = PRC_28_bolshevik_trait has_trait = PRC_28_bolshevik_trait_wang_ming has_trait = PRC_28_bolshevik_trait_bo_gu } } } custom_effect_tooltip = PRC_rebuild_28_bolshevik_effect_tt ## For nicer localisation reason do effect in hidden - variables need to be same as in localisation, TODO_ML double check hidden_effect = { every_character = { limit = { has_trait = PRC_28_bolshevik_trait } remove_trait = { slot = political_advisor trait = PRC_28_bolshevik_trait } add_trait = { slot = political_advisor trait = PRC_28_bolshevik_trait_improved } #random_select_amount = #OPTIONAL: Maximum amount that can be selected } ## One edge case fix PRC_otto_braun = { if = { limit = { is_army_chief = yes } remove_trait = { slot = army_chief trait = PRC_28_bolshevik_trait } add_trait = { slot = army_chief trait = PRC_28_bolshevik_trait_improved } } } PRC_wang_ming = { remove_trait = { trait = PRC_28_bolshevik_trait_wang_ming slot = political_advisor } add_trait = { trait = PRC_28_bolshevik_trait_improved_wang_ming slot = political_advisor } } PRC_bo_gu = { remove_trait = { trait = PRC_28_bolshevik_trait_bo_gu slot = political_advisor } add_trait = { trait = PRC_28_bolshevik_trait_improved_bo_gu slot = political_advisor } } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } add_power_balance_value = { id = PRC_communist_power_struggle value = 0.1 } } } } focus = { id = PRC_aggressive_pursuit_of_diplomacy icon = GFX_focus_SWE_let_fly_all_guns prerequisite = { focus = PRC_rebuild_28_bolshevik } x = 0 y = 1 relative_position_id = PRC_rebuild_28_bolshevik cost = 10 ai_will_do = { factor = 1 } available = { is_in_faction = yes } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { has_doctrine = fire_concentration } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_aggressive_pursuit_of_diplomacy sub_doctrine = fire_concentration } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_aggressive_pursuit_of_diplomacy track = combat_support } } custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes add_to_variable = { PRC_the_chinese_red_army_army_infantry_attack_factor = 0.05 tooltip = army_infantry_attack_factor_tt } } } focus = { id = PRC_with_inspiration_from_nkvd icon = GFX_focus_JAP_learn_from_the_nkvd ## Has been ordered prerequisite = { focus = PRC_invite_otto_braun } prerequisite = { focus = PRC_seek_support_from_ussr } x = -2 y = 1 relative_position_id = PRC_invite_otto_braun cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { has_dlc = "La Resistance" } if = { limit = { has_intelligence_agency = no } create_intelligence_agency = { name = "Central Social Affairs Department" icon = GFX_intelligence_agency_logo_PRC_central_social_affairs_department } } else_if = { limit = { NOT = { has_done_agency_upgrade = upgrade_passive_defense } } upgrade_intelligence_agency = upgrade_passive_defense } else_if = { limit = { NOT = { has_done_agency_upgrade = upgrade_interrogation_techniques } } upgrade_intelligence_agency = upgrade_interrogation_techniques } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = PRC_kang_sheng } } } focus = { id = PRC_invite_soviet_general icon = GFX_focus_PRC_invite_soviet_general prerequisite = { focus = PRC_with_inspiration_from_nkvd } x = 0 y = 1 relative_position_id = PRC_with_inspiration_from_nkvd cost = 10 ai_will_do = { factor = 1 } available = { SOV = { exists = yes } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MILITARY_CHARACTER} completion_reward = { if = { limit = { has_doctrine = large_unit_tactics } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_invite_soviet_general sub_doctrine = large_unit_tactics } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_invite_soviet_general track = infantry } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { CHI = { OR = { has_character = SOV_vasily_chuykov has_character = SOV_aleksandr_cherepanov } } } SOV = { country_event = { id = SEA_PRC_political_events.24 hours = 2 } } } else_if = { limit = { SOV = { SOV_vasily_chuykov = { NOT = { has_character_flag = SOV_exiled_flag } } SOV_aleksandr_cherepanov = { NOT = { has_character_flag = SOV_exiled_flag } } } } custom_effect_tooltip = generic_skip_one_line_tt SOV = { country_event = { id = SEA_PRC_political_events.21 days = 1 } } } custom_effect_tooltip = if_they_accept_tt custom_effect_tooltip = PRC_invite_soviet_general_tt } } focus = { id = PRC_embrace_stalinism icon = GFX_focus_PRC_embrace_stalinism prerequisite = { focus = PRC_bolshevik_urbanization_completed focus = PRC_the_fight_of_a_people focus = PRC_rebuild_28_bolshevik } x = 0 y = 1 relative_position_id = PRC_bolshevik_urbanization_completed cost = 10 ai_will_do = { factor = 1 } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_STABILITY} available = { power_balance_value = { id = PRC_communist_power_struggle value > 0.5 } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_stability = 0.05 custom_effect_tooltip = generic_skip_one_line_tt PRC_remove_mediating_general_secretary_idea = yes custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_embrace_stalinism_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.14 } } add_dynamic_modifier = { modifier = PRC_bolshevik_dominance } set_variable = { PRC_bolshevik_dominance_production_speed_industrial_complex_factor = 0.05 tooltip = production_speed_industrial_complex_factor_tt } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > 0.14 value < 0.49 } } add_dynamic_modifier = { modifier = PRC_bolshevik_dominance } set_variable = { PRC_bolshevik_dominance_production_speed_industrial_complex_factor = 0.05 tooltip = production_speed_industrial_complex_factor_tt } set_variable = { PRC_bolshevik_dominance_opinion_gain_monthly_same_ideology_factor = 0.05 tooltip = opinion_gain_monthly_same_ideology_factor_tt } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > 0.49 value < 0.68 } } add_dynamic_modifier = { modifier = PRC_bolshevik_dominance } set_variable = { PRC_bolshevik_dominance_political_power_gain = 0.05 tooltip = political_power_gain_tt } set_variable = { PRC_bolshevik_dominance_production_speed_industrial_complex_factor = 0.075 tooltip = production_speed_industrial_complex_factor_tt } set_variable = { PRC_bolshevik_dominance_opinion_gain_monthly_same_ideology_factor = 0.05 tooltip = opinion_gain_monthly_same_ideology_factor_tt } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > 0.69 value < 0.89 } } add_dynamic_modifier = { modifier = PRC_bolshevik_dominance } set_variable = { PRC_bolshevik_dominance_political_power_gain = 0.05 tooltip = political_power_gain_tt } set_variable = { PRC_bolshevik_dominance_production_speed_industrial_complex_factor = 0.1 tooltip = production_speed_industrial_complex_factor_tt } set_variable = { PRC_bolshevik_dominance_research_speed_factor = 0.02 tooltip = research_speed_factor_tt } set_variable = { PRC_bolshevik_dominance_opinion_gain_monthly_same_ideology_factor = 0.1 tooltip = opinion_gain_monthly_same_ideology_factor_tt } } else = { # best one, slightly better than BoP effect to have this actually have meaning add_dynamic_modifier = { modifier = PRC_bolshevik_dominance } set_variable = { PRC_bolshevik_dominance_political_power_gain = 0.1 tooltip = political_power_gain_tt } set_variable = { PRC_bolshevik_dominance_production_speed_industrial_complex_factor = 0.1 tooltip = production_speed_industrial_complex_factor_tt } set_variable = { PRC_bolshevik_dominance_research_speed_factor = 0.05 tooltip = research_speed_factor_tt } set_variable = { PRC_bolshevik_dominance_opinion_gain_monthly_same_ideology_factor = 0.15 tooltip = opinion_gain_monthly_same_ideology_factor_tt } } custom_effect_tooltip = generic_skip_one_line_tt remove_power_balance = { id = PRC_communist_power_struggle } } } focus = { id = PRC_soviet_technological_cooperation icon = GFX_focus_generic_socialist_science prerequisite = { focus = PRC_embrace_stalinism } x = 0 y = 1 relative_position_id = PRC_embrace_stalinism cost = 10 ai_will_do = { factor = 1 } available = { SOV = { exists = yes is_subject = no } } bypass = { SOV = { exists = no is_subject = yes } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { SOV = { country_event = { id = SEA_PRC_request_aid.9 days = 1 } custom_effect_tooltip = needs_approval } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = if_they_accept_tt effect_tooltip = { ### Effects are done in the event, make sure match - TODO_ML add_tech_bonus = { name = PRC_soviet_technological_cooperation bonus = 0.75 uses = 2 category = electronics } add_opinion_modifier = { target = SOV modifier = PRC_soviet_technological_cooperation_opinion } SOV = { add_tech_bonus = { name = PRC_soviet_technological_cooperation bonus = 0.75 uses = 2 category = electronics } add_opinion_modifier = { target = FROM modifier = PRC_soviet_technological_cooperation_opinion } } } } } focus = { id = PRC_reestablish_moscow_sun_yat_sen_university icon = GFX_focus_PRC_reestablish_moscow_sun_yat_sen_university prerequisite = { focus = PRC_soviet_technological_cooperation } x = 0 y = 2 relative_position_id = PRC_soviet_technological_cooperation cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_RESEARCH} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_research_slot = 1 } } focus = { id = PRC_sino_allied_pact_of_non_aggression icon = GFX_focus_ARG_join_the_allies prerequisite = { focus = PRC_soviet_technological_cooperation } x = -1 y = 1 relative_position_id = PRC_soviet_technological_cooperation cost = 10 ai_will_do = { factor = 1 } available = { OR = { USA = { exists = yes has_government = democratic } ENG = { exists = yes has_government = democratic } FRA = { exists = yes has_government = democratic } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL} completion_reward = { if = { limit = { USA = { exists = yes has_government = democratic } } USA = { country_event = { id = SEA_PRC_political_events.8 } } } if = { limit = { ENG = { exists = yes has_government = democratic } } ENG = { country_event = { id = SEA_PRC_political_events.8 } } } if = { limit = { FRA = { exists = yes has_government = democratic } } FRA = { country_event = { id = SEA_PRC_political_events.8 } } } custom_effect_tooltip = if_they_accept_tt custom_effect_tooltip = PRC_sino_allied_pact_of_non_aggression_accept_tt } } focus = { id = PRC_bolshevik_world_revolution icon = GFX_focus_ger_great_red_menace prerequisite = { focus = PRC_soviet_technological_cooperation } x = -3 y = 1 relative_position_id = PRC_soviet_technological_cooperation cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_ideas = PRC_spread_world_revolution } } focus = { id = PRC_party_control icon = GFX_focus_GER_strengthen_the_proletarian_international prerequisite = { focus = PRC_bolshevik_world_revolution focus = PRC_sino_allied_pact_of_non_aggression } x = 1 y = 1 relative_position_id = PRC_bolshevik_world_revolution cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY} completion_reward = { custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_political_power_factor = 0.05 tooltip = political_power_factor_tt } add_to_variable = { PRC_central_committee_party_popularity_stability_factor = 0.05 tooltip = party_popularity_stability_factor_tt } add_to_variable = { PRC_central_committee_faction_influence_war_score_factor = 0.02 tooltip = faction_influence_war_score_factor_tt } add_to_variable = { PRC_central_committee_faction_influence_contribution_factor = 0.02 tooltip = faction_influence_contribution_factor_tt } } } focus = { id = PRC_a_truly_united_front icon = GFX_focus_chi_united_front prerequisite = { focus = PRC_soviet_technological_cooperation } mutually_exclusive = { focus = PRC_part_of_the_comintern } x = 3 y = 1 relative_position_id = PRC_soviet_technological_cooperation cost = 10 ai_will_do = { factor = 1 } available = { is_in_faction_with = CHI } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_a_truly_united_front_tt divide_variable = { PRC_28_bolshevik_decisions_cost = 2 } } } focus = { id = PRC_part_of_the_comintern icon = GFX_focus_generic_join_comintern prerequisite = { focus = PRC_soviet_technological_cooperation } mutually_exclusive = { focus = PRC_a_truly_united_front } x = 1 y = 1 relative_position_id = PRC_soviet_technological_cooperation cost = 5 ai_will_do = { factor = 1 } available = { SOV = { is_in_faction = yes is_faction_leader = yes NOT = { has_war_with = ROOT } has_government = communism } is_subject = no } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL} completion_reward = { SOV = { country_event = { id = SEA_PRC_political_events.5 hours = 2 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { if = { limit = { is_in_faction = yes } leave_faction = yes } SOV = { add_to_faction = ROOT } } } } focus = { id = PRC_petition_for_freedom icon = GFX_focus_PRC_petition_for_freedom prerequisite = { focus = PRC_a_truly_united_front focus = PRC_part_of_the_comintern } x = -1 y = 1 relative_position_id = PRC_a_truly_united_front cost = 10 ai_will_do = { factor = 1 } available = { is_subject = yes } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL} completion_reward = { if = { limit = { is_subject = yes } overlord = { country_event = { id = SEA_PRC_political_events.11 hours = 1 } custom_effect_tooltip = if_they_accept_tt custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { end_puppet = ROOT } } } else = { custom_effect_tooltip = PRC_petition_for_freedom_not_subject_tt } } } focus = { id = PRC_scholarly_revolution icon = GFX_focus_NOR_moscows_education_centers prerequisite = { focus = PRC_reestablish_moscow_sun_yat_sen_university focus = PRC_party_control focus = PRC_petition_for_freedom } x = 0 y = 1 relative_position_id = PRC_reestablish_moscow_sun_yat_sen_university cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_RESEARCH} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_bolshevik_dominance_tt add_to_variable = { PRC_bolshevik_dominance_research_speed_factor = 0.1 tooltip = research_speed_factor_tt } } } focus = { id = PRC_hundred_regiments_offensive icon = GFX_focus_PRC_hundred_regiments_offensive prerequisite = { focus = PRC_yanan_rectification_movement focus = PRC_embrace_stalinism } x = 7 y = 2 relative_position_id = PRC_yanan_rectification_movement cost = 10 ai_will_do = { factor = 1 } offset = { x = -7 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_reclaim_the_grasp_of_power } } available = { has_war = yes has_army_manpower = { size > 99999 } } bypass = { has_war = no } search_filters = { FOCUS_FILTER_HISTORICAL } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_timed_idea = { idea = PRC_hundred_regiments_offensive_idea days = 180 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_faction_influence_war_score_factor = 0.1 tooltip = faction_influence_war_score_factor_tt } } } focus = { id = PRC_prepare_for_the_inevitable icon = GFX_focus_attack_china prerequisite = { focus = PRC_hundred_regiments_offensive } x = 0 y = 2 relative_position_id = PRC_hundred_regiments_offensive cost = 10 ai_will_do = { factor = 10 modifier = { factor = 0 any_enemy_country = { is_major = yes } } modifier = { factor = 0 any_neighbor_country = { is_literally_china_not_prc = no has_war_with = ROOT } } } available = { is_subject = no } bypass = { } historical_ai = { # Only if we have defeated our enemies has_war_with_major = no date < 1945.9.1 #Can't wait forever, can we? } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL} completion_reward = { if = { limit = { is_in_faction = yes } country_event = { id = SEA_PRC_faction_events.40 days = 2 } } else = { if = { limit = { NOT = { has_rule = can_create_factions } } set_rule = { can_create_factions = yes } } if = { limit = { NOT = { any_other_country = { is_literally_china_tooltip = no #This is a YES because of the NOT statement. Yes, it looks really weird, just roll with it has_faction_template = faction_template_PRC_the_peoples_front } } } create_faction_from_template = faction_template_PRC_the_peoples_front add_faction_initiative = 1 } custom_effect_tooltip = generic_skip_one_line_tt every_other_country = { limit = { is_literally_china_tooltip = yes NOT = { tag = ROOT } has_capitulated = no is_faction_leader = no is_subject = no NOT = { has_war_with = ROOT } } country_event = { id = SEA_PRC_faction_events.50 days = 2 } } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { has_completed_focus = PRC_the_internal_enemy } } PRC_add_the_internal_enemy_idea = yes } else = { PRC_add_the_internal_enemy_idea_upgrade = yes } } } #### CHALLENGE THE LEADERSHIP focus = { id = PRC_the_unwilling_diarchy_focus icon = GFX_focus_SOV_the_last_purge prerequisite = { focus = PRC_know_the_enemy } mutually_exclusive = { focus = PRC_burn_the_paper_tigers } x = 11 y = 3 relative_position_id = PRC_know_the_enemy cost = 5 ai_will_do = { factor = 1 } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = PRC_burn_the_paper_tigers } } } offset = { x = -6 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_the_unwilling_diarchy_focus } } search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER} available = { is_in_faction = no has_country_flag = PRC_zhang_guatao_arrived } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_the_unwilling_diarchy_focus_tt custom_effect_tooltip = generic_skip_one_line_tt set_power_balance = { id = PRC_communist_power_struggle right_side = PRC_bop_right_side_guotao } custom_effect_tooltip = PRC_mediating_general_secretary_idea_guotao_tt ## Just for tooltip to not say 28 bolsheviks pre-having selected it hidden_effect = { PRC_add_mediating_general_secretary_idea = yes } custom_effect_tooltip = generic_skip_one_line_tt add_country_leader_role = { character = PRC_guotao_and_mao promote_leader = yes country_leader = { ideology = leninism traits = { PRC_our_enemys_enemy } expire = "1965.1.1.1" id = -1 } } country_event = { id = SEA_PRC_political_events.41 } hidden_effect = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } mark_focus_tree_layout_dirty = yes } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_unlock_both_sides_bop_decisions_tt } } focus = { id = PRC_bring_war_to_neighboring_warlords icon = GFX_focus_PRC_intimidate_warlords prerequisite = { focus = PRC_the_unwilling_diarchy_focus } x = 0 y = 1 relative_position_id = PRC_the_unwilling_diarchy_focus cost = 10 ai_will_do = { factor = 1 } available = { is_Subject = no any_neighbor_country = { is_chinese_warlord = yes } } bypass = { } will_lead_to_war_with = SHX will_lead_to_war_with = NXM will_lead_to_war_with = XIC cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION} completion_reward = { custom_effect_tooltip = PRC_bring_war_to_neighboring_warlords_tt every_other_country = { limit = { is_chinese_warlord = yes is_neighbor_of = ROOT NOT = { is_ally_with = ROOT} NOT = { has_war_with = ROOT } NOT = { ROOT = { has_wargoal_against = PREV } } } ROOT = { create_wargoal = { type = annex_everything target = PREV expire = 0 } } } custom_effect_tooltip = generic_skip_one_line_tt PRC_this_might_anger_china = yes hidden_effect = { if = { limit = { event_target:WTT_current_china_leader = { NOT = { tag = ROOT } } } event_target:WTT_current_china_leader = { add_ai_strategy = { type = antagonize id = ROOT value = 100 } add_ai_strategy = { type = contain id = ROOT value = 100 } } } } } } focus = { id = PRC_gain_the_peoples_trust icon = GFX_focus_prc_infiltration prerequisite = { focus = PRC_the_unwilling_diarchy_focus } x = -2 y = 0 relative_position_id = PRC_bring_war_to_neighboring_warlords cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { unlock_decision_category_tooltip = PRC_infiltration_sea_cat custom_effect_tooltip = PRC_infiltration_only_level_2_guomao_tt } } focus = { id = PRC_mobilization_of_the_people icon = GFX_focus_generic_limited_social_mobilization prerequisite = { focus = PRC_the_unwilling_diarchy_focus } x = 2 y = 0 relative_position_id = PRC_bring_war_to_neighboring_warlords cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MANPOWER} completion_reward = { random_owned_controlled_state = { custom_effect_tooltip = PRC_mobilization_of_the_people_tt hidden_effect = { create_unit = { division = "division_template = \"Renmin Jundui\" start_equipment_factor = 0.4" owner = ROOT } create_unit = { division = "division_template = \"Renmin Jundui\" start_equipment_factor = 0.4" owner = ROOT } create_unit = { division = "division_template = \"Renmin Jundui\" start_equipment_factor = 0.4" owner = ROOT } create_unit = { division = "division_template = \"Renmin Jundui\" start_equipment_factor = 0.4" owner = ROOT } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_the_chinese_red_army_modify_tt add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } } } focus = { id = PRC_promote_guerilla_warfare icon = GFX_focus_CHI_guerrilla_warfare prerequisite = { focus = PRC_gain_the_peoples_trust focus = PRC_mobilization_of_the_people focus = PRC_bring_war_to_neighboring_warlords } #mutually_exclusive = { focus = PRC_promote_regular_army } x = 0 y = 1 relative_position_id = PRC_gain_the_peoples_trust cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { unlock_decision_category_tooltip = PRC_guerilla_warfare_sea_cat custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_doctrine = peoples_war } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_promote_guerilla_warfare sub_doctrine = peoples_war } } else_if = { limit = { has_doctrine = guerilla_war } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_promote_guerilla_warfare sub_doctrine = guerilla_war } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_promote_guerilla_warfare track = operations } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_theorist show_ideas_tooltip = PRC_mao_zedong custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_org_loss_when_moving = -0.05 tooltip = org_loss_when_moving_tt } if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.99 } } custom_effect_tooltip = generic_skip_one_line_tt add_power_balance_value = { id = PRC_communist_power_struggle value = -0.05 } } } } focus = { id = PRC_promote_regular_army icon = GFX_focus_PRC_reorganize_divisions prerequisite = { focus = PRC_gain_the_peoples_trust focus = PRC_mobilization_of_the_people focus = PRC_bring_war_to_neighboring_warlords } #mutually_exclusive = { focus = PRC_promote_guerilla_warfare } x = 0 y = 1 relative_position_id = PRC_mobilization_of_the_people cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { has_doctrine = large_unit_tactics } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_promote_regular_army sub_doctrine = large_unit_tactics } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_promote_regular_army track = infantry } } custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_army_infantry_attack_factor = 0.05 tooltip = army_infantry_attack_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } add_power_balance_value = { id = PRC_communist_power_struggle value = 0.05 } } } } focus = { id = PRC_soviet_battle_tactics icon = GFX_focus_SOV_builder_of_the_red_army prerequisite = { focus = PRC_promote_guerilla_warfare focus = PRC_promote_regular_army } x = 3 y = 1 relative_position_id = PRC_promote_regular_army mutually_exclusive = { focus = PRC_the_battle_behind_the_front_lines } cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { has_doctrine = fire_concentration } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_promote_regular_army sub_doctrine = fire_concentration } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_promote_regular_army track = combat_support } } custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_army_artillery_attack_factor = 0.05 tooltip = army_artillery_attack_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } add_power_balance_value = { id = PRC_communist_power_struggle value = 0.075 } } } } focus = { id = PRC_army_reforms icon = GFX_focus_generic_manpower prerequisite = { focus = PRC_soviet_battle_tactics } x = -1 y = 1 relative_position_id = PRC_soviet_battle_tactics cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_army_morale_factor = 0.05 tooltip = army_morale_factor_tt } } } focus = { id = PRC_strict_training_regiments icon = GFX_focus_SOV_mobilization_plan prerequisite = { focus = PRC_soviet_battle_tactics } x = 1 y = 1 relative_position_id = PRC_soviet_battle_tactics cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_training_time_factor = -0.05 tooltip = training_time_factor_tt } } } focus = { id = PRC_centralized_army_command icon = GFX_focus_PRC_army_command prerequisite = { focus = PRC_army_reforms } prerequisite = { focus = PRC_strict_training_regiments } x = 1 y = 1 relative_position_id = PRC_army_reforms cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = available_political_advisor show_ideas_tooltip = PRC_chen_changhao PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_max_planning_factor = 0.05 tooltip = max_planning_factor_tt } add_to_variable = { PRC_the_chinese_army_army_org_factor = 0.05 tooltip = army_org_factor_tt } } } focus = { id = PRC_the_battle_behind_the_front_lines icon = GFX_focus_PRC_raid_weapon_depots prerequisite = { focus = PRC_promote_guerilla_warfare focus = PRC_promote_regular_army } x = -3 y = 1 relative_position_id = PRC_promote_guerilla_warfare mutually_exclusive = { focus = PRC_soviet_battle_tactics } cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { IF = { limit = { has_dlc = "Arms Against Tyranny" } add_doctrine_cost_reduction = { name = PRC_empower_the_guerillas cost_reduction = 0.25 uses = 2 category = special_forces_doctrine } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { has_doctrine = irregulars } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_the_battle_behind_the_front_lines sub_doctrine = irregulars } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_the_battle_behind_the_front_lines track = infantry } } custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_max_dig_in = 5 tooltip = max_dig_in_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_empower_the_guerillas_tt effect_tooltip = { add_dynamic_modifier = { modifier = PRC_guerilla_cells_active_2 } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.99 } } add_power_balance_value = { id = PRC_communist_power_struggle value = -0.075 } } } } focus = { id = PRC_secure_the_lands icon = GFX_focus_RAJ_a_private_military prerequisite = { focus = PRC_the_battle_behind_the_front_lines } x = -1 y = 1 relative_position_id = PRC_the_battle_behind_the_front_lines cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_halves_infiltration_cost_tt divide_variable = { PRC_infiltration_cost = 2 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_unlock_complete_infiltration_tt effect_tooltip = { add_dynamic_modifier = { modifier = PRC_infiltrated_state_3 scope = PRC #These modifiers should only apply to PRC } } } } focus = { id = PRC_launch_sabotage_campaigns icon = GFX_focus_generic_sabotage prerequisite = { focus = PRC_the_battle_behind_the_front_lines } x = 1 y = 1 relative_position_id = PRC_the_battle_behind_the_front_lines cost = 5 ai_will_do = { factor = 1 } available = { has_war = yes } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_establish_friendly_bases_1_tt custom_effect_tooltip = PRC_establish_friendly_bases_2_tt } } focus = { id = PRC_raiding_parties icon = GFX_focus_AUS_raid_military_storages prerequisite = { focus = PRC_secure_the_lands focus = PRC_launch_sabotage_campaigns } x = 1 y = 1 relative_position_id = PRC_secure_the_lands cost = 5 ai_will_do = { factor = 1 } available = { has_war = yes } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_raid_weapon_depots_tt } } focus = { id = PRC_mao_zedong_ascends icon = GFX_focus_prc_maoism prerequisite = { focus = PRC_soviet_battle_tactics focus = PRC_the_battle_behind_the_front_lines } mutually_exclusive = { focus = PRC_zhang_guotao_ascends } x = 1 y = 2 relative_position_id = PRC_promote_guerilla_warfare cost = 2 ai_will_do = { factor = 1 } available = { power_balance_value = { id = PRC_communist_power_struggle value < -0.25 } has_country_leader = { character = PRC_guotao_and_mao ruling_only = no } } bypass = { has_country_leader = { character = PRC_mao_zedong ruling_only = yes } } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_country_leader_role = { character = PRC_mao_zedong # optional if inside character scope promote_leader = yes country_leader = { ideology = marxism traits={ PRC_de_facto_leader } expire="1965.1.1.1" id=-1 } } if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.99 } } custom_effect_tooltip = generic_skip_one_line_tt add_power_balance_value = { id = PRC_communist_power_struggle value = -0.1 } } hidden_effect = { country_event = { id = SEA_PRC_zhang_guotao_events.7 days = 5 } } } } focus = { id = PRC_promote_womens_suffrage icon = GFX_focus_PRC_rally_the_women prerequisite = { focus = PRC_mao_zedong_ascends } x = -1 y = 1 relative_position_id = PRC_mao_zedong_ascends cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_stability = 0.05 add_political_power = 25 custom_effect_tooltip = generic_skip_one_line_tt PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_production_factory_start_efficiency_factor = 0.05 tooltip = production_factory_start_efficiency_factor_tt } add_to_variable = { PRC_industry_production_factory_max_efficiency_factor = 0.05 tooltip = production_factory_max_efficiency_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_the_chinese_red_army_modify_tt add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = GER_locks_women_in_workforce_decision_tt custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.89 } } add_power_balance_value = { id = PRC_communist_power_struggle value = -0.1 } } } } focus = { id = PRC_zhang_guotao_ascends icon = GFX_focus_PRC_guotao_ascends prerequisite = { focus = PRC_soviet_battle_tactics focus = PRC_the_battle_behind_the_front_lines } mutually_exclusive = { focus = PRC_mao_zedong_ascends } x = 3 y = 2 relative_position_id = PRC_promote_guerilla_warfare cost = 2 ai_will_do = { factor = 1 } available = { power_balance_value = { id = PRC_communist_power_struggle value > 0.25 } has_country_leader = { character = PRC_guotao_and_mao ruling_only = no } } bypass = { has_country_leader = { character = PRC_zhang_guotao ruling_only = yes } } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_country_leader_role = { character = PRC_zhang_guotao # optional if inside character scope promote_leader = yes country_leader = { ideology = stalinism traits={ PRC_out_for_revenge } expire="1965.1.1.1" id=-1 } } if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } custom_effect_tooltip = generic_skip_one_line_tt add_power_balance_value = { id = PRC_communist_power_struggle value = 0.1 } } } } focus = { id = PRC_a_new_central_committee icon = GFX_focus_generic_join_comintern prerequisite = { focus = PRC_zhang_guotao_ascends } x = 1 y = 1 relative_position_id = PRC_zhang_guotao_ascends cost = 5 ai_will_do = { factor = 1 } available = { has_country_leader = { character = PRC_zhang_guotao ruling_only = yes } } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_a_new_central_committee_tt_1 effect_tooltip = { custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_political_power_factor = -0.1 tooltip = political_power_factor_tt } } custom_effect_tooltip = PRC_a_new_central_committee_tt_2 effect_tooltip = { custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_political_power_factor = 0.15 tooltip = political_power_factor_tt } } hidden_effect = { add_to_variable = { PRC_central_committee_political_power_factor = -0.1 ## Same as in tooltip } add_timed_idea = { ## On remove - modify idea = PRC_a_new_central_committe_hidden_idea days = 180 } } if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } custom_effect_tooltip = generic_skip_one_line_tt add_power_balance_value = { id = PRC_communist_power_struggle value = 0.1 } } } } focus = { id = PRC_consolidate_politcal_power icon = GFX_focus_PRC_consolidate_politcal_power prerequisite = { focus = PRC_mao_zedong_ascends focus = PRC_zhang_guotao_ascends } x = 1 y = 1 relative_position_id = PRC_mao_zedong_ascends cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 100 if = { limit = { OR = { power_balance_value = { id = PRC_communist_power_struggle value > -0.99 } power_balance_value = { id = PRC_communist_power_struggle value < 0.99 } } } custom_effect_tooltip = PRC_consolidate_politcal_power_tt if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < -0.01 } } add_power_balance_value = { id = PRC_communist_power_struggle value = -0.05 } custom_effect_tooltip = generic_skip_one_line_tt } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > 0.01 } } add_power_balance_value = { id = PRC_communist_power_struggle value = 0.05 } custom_effect_tooltip = generic_skip_one_line_tt } } custom_effect_tooltip = PRC_unlock_both_sides_bop_decisions_tt } } focus = { id = PRC_secure_lend_lease_from_soviet icon = GFX_focus_SOV_the_road_of_life prerequisite = { focus = PRC_consolidate_politcal_power focus = PRC_promote_womens_suffrage focus = PRC_a_new_central_committee } x = 0 y = 1 relative_position_id = PRC_consolidate_politcal_power cost = 10 ai_will_do = { factor = 1 } available = { has_war = yes PRC_neighboring_SOV = yes SOV = { exists = yes is_subject = no has_civil_war = no NOT = { has_war_with = ROOT any_allied_country = { has_war_with = ROOT } } has_opinion = { target = ROOT value > 24 } } if = { limit = { is_in_faction = yes } all_allied_country = { NOT = { has_war_with = SOV } } } } bypass = { SOV = { OR = { exists = no is_subject = yes has_civil_war = yes has_war_with = ROOT any_allied_country = { has_war_with = ROOT } } } if = { limit = { ROOT = { is_in_faction = yes } } any_allied_country = { has_war_with = SOV } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_ideas = PRC_SOV_lend_lease_idea_1 custom_effect_tooltip = generic_skip_one_line_tt PRC_SOV_lend_lease_strategy = yes } } focus = { id = PRC_demand_warlord_loyalty icon = GFX_goal_generic_military_deal prerequisite = { focus = PRC_consolidate_politcal_power focus = PRC_promote_womens_suffrage focus = PRC_a_new_central_committee } x = -2 y = 1 relative_position_id = PRC_consolidate_politcal_power cost = 10 ai_will_do = { factor = 1 } available = { is_in_faction = no is_subject = no } bypass = { } will_lead_to_war_with = PRC will_lead_to_war_with = GXC will_lead_to_war_with = YUN will_lead_to_war_with = SHX will_lead_to_war_with = XSM will_lead_to_war_with = SIK will_lead_to_war_with = GDC will_lead_to_war_with = SND will_lead_to_war_with = SIC will_lead_to_war_with = NXM will_lead_to_war_with = GSM will_lead_to_war_with = XIC will_lead_to_war_with = KHM will_lead_to_war_with = KUM will_lead_to_war_with = RNG will_lead_to_war_with = HBC cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { NOT = { has_rule = can_create_factions } } set_rule = { can_create_factions = yes } create_faction_from_template = faction_template_PRC_the_peoples_front add_faction_initiative = 1 } custom_effect_tooltip = generic_skip_one_line_tt every_other_country = { limit = { is_chinese_warlord = yes has_capitulated = no is_in_faction = no is_subject = no NOT = { has_war_with = ROOT has_border_war_with = ROOT has_idea = SIK_battle_for_sinkiang tag = HBC any_other_country = { is_chinese_warlord = yes has_war_with = PREV } } } country_event = { id = SEA_PRC_faction_events.50 days = 2 } } custom_effect_tooltip = generic_skip_one_line_tt PRC_this_might_anger_china = yes hidden_effect = { if = { limit = { event_target:WTT_current_china_leader = { NOT = { tag = ROOT } } } event_target:WTT_current_china_leader = { add_ai_strategy = { type = antagonize id = ROOT value = 50 } add_ai_strategy = { type = contain id = ROOT value = 50 } } } } } } focus = { id = PRC_preemptive_strike icon = GFX_focus_attack_china prerequisite = { focus = PRC_consolidate_politcal_power focus = PRC_promote_womens_suffrage focus = PRC_a_new_central_committee } x = 2 y = 1 relative_position_id = PRC_consolidate_politcal_power cost = 10 ai_will_do = { factor = 1 } available = { event_target:WTT_current_china_leader = { exists = yes NOT = { has_war_with = ROOT is_ally_with = ROOT original_tag = ROOT } } } bypass = { event_target:WTT_current_china_leader = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT original_tag = ROOT } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { IF = { limit = { any_other_country = { is_literally_china_tooltip = yes NOT = { is_ally_with = ROOT } is_major = yes } } every_other_country = { limit = { is_literally_china_tooltip = yes NOT = { is_ally_with = ROOT } is_major = yes } ROOT = { create_wargoal = { type = annex_everything target = PREV } } } } ELSE_IF = { #We want to kill KMT China even if they aren't a major, long as they are not our ally limit = { CHI = { exists = yes NOT = { is_ally_with = ROOT } } } create_wargoal = { type = annex_everything target = CHI } } } } focus = { id = PRC_assume_leadership icon = GFX_focus_PRC_assume_leadership prerequisite = { focus = PRC_demand_warlord_loyalty focus = PRC_secure_lend_lease_from_soviet focus = PRC_preemptive_strike } x = 0 y = 1 relative_position_id = PRC_secure_lend_lease_from_soviet cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { PRC_remove_mediating_general_secretary_idea = yes custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_country_leader = { character = PRC_mao_zedong ruling_only = yes } } custom_effect_tooltip = PRC_assume_leadership_tt ## Swap Mao's trait depending on BoP if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > -0.14 } } PRC_mao_zedong = { add_country_leader_trait = { trait = PRC_maoism_1 #ideology = stalinism } } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < -0.14 value > -0.49 } } PRC_mao_zedong = { add_country_leader_trait = { trait = PRC_maoism_2 #ideology = stalinism } } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < -0.49 value > -0.69 } } PRC_mao_zedong = { add_country_leader_trait = { trait = PRC_maoism_3 #ideology = stalinism } } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < -0.69 value > -0.89 } } PRC_mao_zedong = { add_country_leader_trait = { trait = PRC_maoism_4 #ideology = stalinism } } } else = { # best one, slightly better than BoP effect to have this actually have meaning PRC_mao_zedong = { add_country_leader_trait = { trait = PRC_maoism_5 #ideology = stalinism } } } } else_if = { limit = { has_country_leader = { character = PRC_zhang_guotao ruling_only = yes } } custom_effect_tooltip = PRC_assume_leadership_tt ## Swap Guotao's trait depending on BoP if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value < 0.14 } } PRC_zhang_guotao = { add_country_leader_trait = { trait = PRC_supreme_chairman_1 #ideology = stalinism } } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > 0.14 value < 0.49 } } PRC_zhang_guotao = { add_country_leader_trait = { trait = PRC_supreme_chairman_2 #ideology = stalinism } } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > 0.49 value < 0.68 } } PRC_zhang_guotao = { add_country_leader_trait = { trait = PRC_supreme_chairman_3 #ideology = stalinism } } } else_if = { limit = { power_balance_value = { id = PRC_communist_power_struggle value > 0.69 value < 0.89 } } PRC_zhang_guotao = { add_country_leader_trait = { trait = PRC_supreme_chairman_4 #ideology = stalinism } } } else = { # best one, slightly better than BoP effect to have this actually have meaning PRC_zhang_guotao = { add_country_leader_trait = { trait = PRC_supreme_chairman_5 #ideology = stalinism } } } } else = { #For tooltip beforehand custom_effect_tooltip = PRC_assume_leadership_tt } custom_effect_tooltip = generic_skip_one_line_tt remove_power_balance = { id = PRC_communist_power_struggle } } } focus = { id = PRC_reach_out_to_the_west icon = GFX_focus_generic_approach_the_west prerequisite = { focus = PRC_assume_leadership } mutually_exclusive = { focus = PRC_closer_ties_to_sov } x = -3 y = 1 relative_position_id = PRC_assume_leadership cost = 10 ai_will_do = { factor = 1 } available = { any_other_country = { capital_scope = { OR = { is_on_continent = europe is_on_continent = north_america } } is_major = yes is_subject = no has_civil_war = no has_capitulated = no NOT = { has_government = fascism has_war_with = ROOT any_allied_country = { has_war_with = ROOT } any_enemy_country = { is_in_faction_with = ROOT } } has_opinion = { target = ROOT value > 49 } } } bypass = { all_other_country = { capital_scope = { OR = { is_on_continent = europe is_on_continent = north_america } } is_major = yes OR = { has_capitulated = yes is_subject = yes has_civil_war = yes has_war_with = ROOT any_allied_country = { has_war_with = ROOT } any_enemy_country = { is_in_faction_with = ROOT } } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_RESEARCH} completion_reward = { add_opinion_modifier = { target = SOV modifier = PRC_approached_the_west_opinion } add_tech_bonus = { name = PRC_reach_out_to_the_west bonus = 0.25 uses = 2 category = electronics } add_tech_bonus = { name = PRC_reach_out_to_the_west bonus = 0.25 uses = 2 category = industry } custom_effect_tooltip = generic_skip_one_line_tt add_mastery_bonus = { bonus = 0.2 days = 180 name = PRC_reach_out_to_the_west track = armor } custom_effect_tooltip = generic_skip_one_line_tt PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_research_speed_factor = 0.025 tooltip = research_speed_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { any_other_country = { is_major = yes capital_scope = { OR = { is_on_continent = europe is_on_continent = north_america } } is_subject = no has_civil_war = no NOT = { has_government = fascism has_war_with = ROOT any_allied_country = { has_war_with = ROOT } any_enemy_country = { is_in_faction_with = ROOT } } any_enemy_country = { has_war_with = ROOT } } } add_tech_bonus = { name = PRC_reach_out_to_the_west bonus = 0.5 uses = 2 category = infantry_weapons category = artillery } if = { limit = { USA = { is_major = yes is_subject = no has_civil_war = no NOT = { has_government = fascism has_war_with = ROOT any_allied_country = { has_war_with = ROOT } any_enemy_country = { is_in_faction_with = ROOT } } any_enemy_country = { has_war_with = ROOT } } } PRC_USA_lend_lease_strategy = yes } } else_if = { limit = { NOT = { has_completed_focus = PRC_reach_out_to_the_west} } custom_effect_tooltip = PRC_reach_out_to_the_west_tt add_tech_bonus = { name = PRC_reach_out_to_the_west bonus = 0.5 uses = 2 category = infantry_weapons category = artillery } } } } focus = { id = PRC_closer_ties_to_sov icon = GFX_focus_chi_mission_to_the_soviet_union prerequisite = { focus = PRC_assume_leadership } mutually_exclusive = { focus = PRC_reach_out_to_the_west } x = -1 y = 1 relative_position_id = PRC_assume_leadership cost = 10 ai_will_do = { factor = 1 } available = { SOV = { exists = yes is_subject = no has_civil_war = no NOT = { has_war_with = ROOT any_allied_country = { has_war_with = ROOT } } has_opinion = { target = ROOT value > 49 } } if = { limit = { is_in_faction = yes } all_allied_country = { NOT = { has_war_with = SOV } } } } bypass = { SOV = { OR = { exists = no is_subject = yes has_civil_war = yes has_war_with = ROOT any_allied_country = { has_war_with = ROOT } } } if = { limit = { ROOT = { is_in_faction = yes } } any_allied_country = { has_war_with = SOV } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_opinion_modifier = { target = SOV modifier = PRC_deepened_communist_ties_opinion } SOV = { add_opinion_modifier = { target = ROOT modifier = PRC_deepened_communist_ties_opinion } } add_tech_bonus = { name = PRC_tech_agreement_with_ussr bonus = 0.25 uses = 1 category = armor } add_tech_bonus = { name = PRC_tech_agreement_with_ussr bonus = 0.25 uses = 1 category = air_equipment } add_tech_bonus = { name = PRC_tech_agreement_with_ussr bonus = 0.25 uses = 1 category = support_tech } add_tech_bonus = { name = PRC_tech_agreement_with_ussr bonus = 0.25 uses = 1 category = infantry_weapons } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_doctrine = armored_cavalry } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_closer_ties_to_sov sub_doctrine = armored_cavalry } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_closer_ties_to_sov track = armor } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = PRC_SOV_lend_lease_idea_1 } swap_ideas = { remove_idea = PRC_SOV_lend_lease_idea_1 add_idea = PRC_SOV_lend_lease_idea_2 } } } } focus = { id = PRC_emergency_supply_protocols icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = PRC_assume_leadership } mutually_exclusive = { focus = PRC_emergency_prodction_protocols } x = 1 y = 1 relative_position_id = PRC_assume_leadership cost = 5 ai_will_do = { factor = 1 } available = { has_war = yes } bypass = { } search_filters = {FOCUS_FILTER_STABILITY} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_stability = -0.05 add_timed_idea = { idea = PRC_emergency_supply_protocols_idea days = PRC_emergency_protocol_idea_days } } } focus = { id = PRC_emergency_prodction_protocols icon = GFX_focus_generic_full_employment prerequisite = { focus = PRC_assume_leadership } mutually_exclusive = { focus = PRC_emergency_supply_protocols } x = 3 y = 1 relative_position_id = PRC_assume_leadership cost = 5 ai_will_do = { factor = 1 } available = { has_war = yes } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_STABILITY} completion_reward = { add_stability = -0.05 add_timed_idea = { idea = PRC_emergency_prodction_protocols_idea days = PRC_emergency_protocol_idea_days } } } focus = { id = PRC_extend_emergency_measures icon = GFX_focus_BRA_end_the_state_of_emergency prerequisite = { focus = PRC_emergency_supply_protocols focus = PRC_emergency_prodction_protocols } x = 1 y = 1 relative_position_id = PRC_emergency_supply_protocols cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_STABILITY} completion_reward = { add_stability = -0.1 if = { limit = { NOT = { has_completed_focus = PRC_emergency_supply_protocols has_completed_focus = PRC_emergency_prodction_protocols } } custom_effect_tooltip = PRC_extend_emergency_measures_1_tt effect_tooltip = { add_timed_idea = { idea = PRC_emergency_supply_protocols_idea days = PRC_emergency_protocol_idea_days } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_extend_emergency_measures_2_tt effect_tooltip = { add_timed_idea = { idea = PRC_emergency_prodction_protocols_idea days = PRC_emergency_protocol_idea_days } } } else_if = { limit = { has_completed_focus = PRC_emergency_supply_protocols } if = { limit = { has_idea = PRC_emergency_supply_protocols_idea } modify_timed_idea = { idea = PRC_emergency_supply_protocols_idea days = PRC_emergency_protocol_idea_days } } else = { add_timed_idea = { idea = PRC_emergency_supply_protocols_idea days = PRC_emergency_protocol_idea_days } } } else = { if = { limit = { has_idea = PRC_emergency_prodction_protocols_idea } modify_timed_idea = { idea = PRC_emergency_prodction_protocols_idea days = PRC_emergency_protocol_idea_days } } else = { add_timed_idea = { idea = PRC_emergency_prodction_protocols_idea days = PRC_emergency_protocol_idea_days } } } } } focus = { id = PRC_to_support_the_army icon = GFX_focus_generic_modernize_industry prerequisite = { focus = PRC_extend_emergency_measures } x = 0 y = 1 relative_position_id = PRC_extend_emergency_measures cost = 10 ai_will_do = { factor = 1 } available = { OR = { has_idea = PRC_emergency_supply_protocols_idea has_idea = PRC_emergency_prodction_protocols_idea } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { NOT = { has_completed_focus = PRC_emergency_supply_protocols has_completed_focus = PRC_emergency_prodction_protocols } } custom_effect_tooltip = PRC_to_support_the_army_1_tt if = { limit = { } } swap_ideas = { remove_idea = PRC_emergency_supply_protocols_idea add_idea = PRC_to_supply_an_army_idea } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_to_support_the_army_2_tt swap_ideas = { remove_idea = PRC_emergency_prodction_protocols_idea add_idea = PRC_to_equip_an_army } } else_if = { limit = { has_completed_focus = PRC_emergency_supply_protocols } swap_ideas = { remove_idea = PRC_emergency_supply_protocols_idea add_idea = PRC_to_supply_an_army_idea } } else = { swap_ideas = { remove_idea = PRC_emergency_prodction_protocols_idea add_idea = PRC_to_equip_an_army } } } } focus = { id = PRC_lessons_of_the_west icon = GFX_focus_generic_university_3 prerequisite = { focus = PRC_closer_ties_to_sov focus = PRC_reach_out_to_the_west } x = 1 y = 1 relative_position_id = PRC_reach_out_to_the_west cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_tech_bonus = { name = PRC_lessons_of_the_west bonus = 0.25 uses = 2 category = cat_synth_oil } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "La Resistance" } if = { limit = { has_intelligence_agency = no } create_intelligence_agency = { name = "Central Social Affairs Department" icon = GFX_intelligence_agency_logo_PRC_central_social_affairs_department } } else_if = { limit = { NOT = { has_done_agency_upgrade = upgrade_passive_defense } } upgrade_intelligence_agency = upgrade_passive_defense } else_if = { limit = { NOT = { has_done_agency_upgrade = upgrade_interrogation_techniques } } upgrade_intelligence_agency = upgrade_interrogation_techniques } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = PRC_kang_sheng } } } focus = { id = PRC_the_long_march_towards_progress icon = GFX_focus_research prerequisite = { focus = PRC_lessons_of_the_west } x = 0 y = 1 relative_position_id = PRC_lessons_of_the_west cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_RESEARCH} completion_reward = { add_research_slot = 1 } } focus = { id = PRC_every_peasant_a_soldier icon = GFX_focus_JAP_the_modern_ashigaru prerequisite = { focus = PRC_lessons_of_the_west focus = PRC_extend_emergency_measures } x = 2 y = 2 relative_position_id = PRC_lessons_of_the_west cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER} completion_reward = { add_war_support = 0.1 if = { limit = { NOT = { has_completed_focus = PRC_promote_guerilla_warfare has_completed_focus = PRC_promote_regular_army } } custom_effect_tooltip = PRC_every_peasant_a_soldier_1_tt custom_effect_tooltip = PRC_the_chinese_red_army_modify_tt add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } add_ideas = PRC_guerilla_warfare custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_every_peasant_a_soldier_2_tt custom_effect_tooltip = PRC_the_chinese_red_army_modify_tt add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } add_to_variable = { PRC_the_chinese_army_training_time_factor = -0.05 tooltip = training_time_factor_tt } } else_if = { limit = { has_completed_focus = PRC_promote_guerilla_warfare } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = PRC_guerilla_warfare custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_the_chinese_red_army_modify_tt add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } } else = { custom_effect_tooltip = PRC_the_chinese_red_army_modify_tt add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } add_to_variable = { PRC_the_chinese_army_training_time_factor = -0.05 tooltip = training_time_factor_tt } } } } focus = { id = PRC_the_march_to_victory icon = GFX_focus_PRC_hundred_regiments_offensive prerequisite = { focus = PRC_every_peasant_a_soldier } x = 0 y = 1 relative_position_id = PRC_every_peasant_a_soldier cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { NOT = { has_completed_focus = PRC_the_internal_enemy } } PRC_add_the_internal_enemy_idea = yes } else = { PRC_add_the_internal_enemy_idea_upgrade = yes } } } focus = { id = PRC_towards_one_china icon = GFX_focus_PRC_towards_one_china prerequisite = { focus = PRC_prepare_for_the_inevitable focus = PRC_the_march_to_victory } x = 9 y = 1 relative_position_id = PRC_prepare_for_the_inevitable mutually_exclusive = { focus = PRC_allow_autonomous_regions focus = PRC_peaceful_reunification } offset = { x = -11 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_burn_the_paper_tigers } } offset = { x = 5 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_the_unwilling_diarchy_focus } } cost = 10 ai_will_do = { factor = 1 #modifier = { # num_of_factories < 50 # factor = 0 #} } will_lead_to_war_with = CHI will_lead_to_war_with = PRC will_lead_to_war_with = GXC will_lead_to_war_with = YUN will_lead_to_war_with = SHX will_lead_to_war_with = XSM will_lead_to_war_with = SIK will_lead_to_war_with = GDC will_lead_to_war_with = SND will_lead_to_war_with = SIC will_lead_to_war_with = NXM will_lead_to_war_with = GSM will_lead_to_war_with = XIC will_lead_to_war_with = KHM will_lead_to_war_with = KUM will_lead_to_war_with = RNG will_lead_to_war_with = HBC available = { is_subject = no any_other_country = { is_literally_china_tooltip = yes hidden_trigger = { NOT = { tag = ROOT } } NOT = { is_ally_with = ROOT has_war_with = ROOT } } } search_filters = {FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL} bypass = { custom_trigger_tooltip = { tooltip = PRC_towards_one_china_bypass_tt CHI = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } GXC = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } YUN = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } SHX = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } XSM = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } SIK = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } GDC = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } HBC = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } SND = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } SIC = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } NXM = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } GSM = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } XIC = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } KHM = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } KUM = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } RNG = { OR = { exists = no has_war_with = ROOT is_ally_with = ROOT ROOT = { has_wargoal_against = PREV } } } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { hidden_effect = { news_event = { id = wtt_news.46 days = 3 } } custom_effect_tooltip = PRC_towards_one_china_tt every_other_country = { limit = { is_literally_china_tooltip = yes NOT = { is_ally_with = ROOT} NOT = { has_war_with = ROOT } NOT = { ROOT = { has_wargoal_against = PREV } } } ROOT = { create_wargoal = { type = annex_everything target = PREV expire = 0 } } } } } focus = { id = PRC_allow_autonomous_regions icon = GFX_focus_PRC_autonomous_regions prerequisite = { focus = PRC_prepare_for_the_inevitable focus = PRC_the_march_to_victory } x = 2 y = 0 relative_position_id = PRC_towards_one_china mutually_exclusive = { focus = PRC_towards_one_china focus = PRC_peaceful_reunification } cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no any_allied_country = { is_literally_china_tooltip = yes hidden_trigger = { NOT = { tag = ROOT } } } } bypass = { } search_filters = {FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { every_other_country = { limit = { is_literally_china_tooltip = yes NOT = { is_ally_with = ROOT } NOT = { has_war_with = ROOT } NOT = { ROOT = { has_wargoal_against = PREV } } } ROOT = { create_wargoal = { type = annex_everything target = PREV expire = 0 } } } custom_effect_tooltip = PRC_allow_autonomous_regions_tt every_other_country = { limit = { is_literally_china_tooltip = yes is_in_faction_with = ROOT NOT = { is_subject_of = ROOT } } country_event = { id = SEA_PRC_faction_events.80 days = 2 } effect_tooltip = { custom_effect_tooltip = if_they_accept_tt ROOT = { puppet = PREV } custom_effect_tooltip = if_they_refuse_tt ROOT = { create_wargoal = { type = annex_everything target = PREV expire = 0 } } } } } } focus = { id = PRC_peaceful_reunification icon = GFX_focus_PRC_peaceful_reunification prerequisite = { focus = PRC_prepare_for_the_inevitable focus = PRC_the_march_to_victory } x = 4 y = 0 relative_position_id = PRC_towards_one_china mutually_exclusive = { focus = PRC_towards_one_china focus = PRC_allow_autonomous_regions } cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no is_faction_leader = yes faction_influence_ratio > 0.5 any_allied_country = { is_literally_china_tooltip = yes hidden_trigger = { NOT = { tag = ROOT } } } event_target:WTT_current_china_leader = { exists = yes is_in_faction_with = ROOT } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL} completion_reward = { add_popularity = { ideology = democratic popularity = 0.15 } event_target:WTT_current_china_leader = { WTT_political_struggle_remove_current_country = yes set_global_flag = { flag = wtt_national_leadership_takeover_in_progress value = 1 days = 14 } country_event = wtt_take_national_leadership.1 } custom_effect_tooltip = WTT_national_leadership_accept_tooltip custom_effect_tooltip = WTT_national_leadership_join_wars_effect effect_tooltip = { annex_country = { target = event_target:WTT_current_china_leader transfer_troops = yes } } custom_effect_tooltip = WTT_national_leadership_refuse_tooltip effect_tooltip = { event_target:WTT_current_china_leader = { add_ideas = CHI_illegal_regime custom_effect_tooltip = generic_skip_one_line_tt declare_war_on = { target = ROOT type = annex_everything } } } custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_category_tooltip = CHI_integrate_the_warlords_sea_cat } } focus = { id = PRC_the_peoples_republic icon = GFX_focus_prc_proclaim_the_peoples_republic prerequisite = { focus = PRC_towards_one_china focus = PRC_allow_autonomous_regions focus = PRC_peaceful_reunification } x = 2 y = 1 relative_position_id = PRC_towards_one_china cost = 5 ai_will_do = { factor = 1 } available = { is_subject = no OR = { controls_state = 608 controls_state = 1035 controls_state = 592 } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_HISTORICAL } completion_reward = { set_cosmetic_tag = PRC_proclaimed_communism custom_effect_tooltip = generic_skip_one_line_tt add_research_slot = 1 custom_effect_tooltip = generic_skip_one_line_tt add_political_power = 50 add_stability = 0.1 add_war_support = 0.05 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_justify_war_goal_time = -0.5 tooltip = justify_war_goal_time_tt } if = { limit = { num_subjects > 0 } add_to_variable = { PRC_central_committee_subjects_autonomy_gain = -0.05 tooltip = subjects_autonomy_gain_tt } } if = { limit = { 1046 = { is_controlled_by = ROOT has_dynamic_modifier = { modifier = PRC_the_yulin_garrison } } } custom_effect_tooltip = generic_skip_one_line_tt 1046 = { remove_dynamic_modifier = { modifier = PRC_the_yulin_garrison } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_remove_iniltration_and_guerilla_decisions_tt } } focus = { id = PRC_taiwan icon = GFX_focus_generic_invade_taiwan prerequisite = { focus = PRC_the_peoples_republic } x = -6 y = 1 relative_position_id = PRC_the_peoples_republic cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no NOT = { any_other_country = { is_literally_china_tooltip = yes NOT = { is_subject_of = ROOT } } } 524 = { is_controlled_by_ROOT_or_subject = no } } bypass = { 524 = { is_controlled_by_ROOT_or_subject = yes } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION} completion_reward = { add_timed_idea = { idea = PRC_crossing_the_taiwanese_strait days = 365 } } } focus = { id = PRC_reclaim_tibet icon = GFX_focus_PRC_reclaim_tibet prerequisite = { focus = PRC_the_peoples_republic } x = -4 y = 1 relative_position_id = PRC_the_peoples_republic cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no NOT = { has_war_with = TIB } } bypass = { TIB = { OR = { has_war_with = ROOT all_core_state = { state_is_fully_controlled_by_ROOT_or_subject = yes } } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL} completion_reward = { every_other_country = { limit = { any_controlled_state = { is_core_of = TIB } } display_individual_scopes = yes every_controlled_state = { limit = { is_core_of = TIB } add_to_temp_array = { array = PREV.PRC_tibet_target_states_array value = THIS } } ROOT = { create_wargoal = { type = take_state_focus target = PREV generator = PREV.PRC_tibet_target_states_array } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_unlock_integration_decisions_tt } } focus = { id = PRC_subjugate_korea icon = GFX_focus_generic_invade_korea prerequisite = { focus = PRC_the_peoples_republic } x = -2 y = 1 relative_position_id = PRC_the_peoples_republic cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no NOT = { any_other_country = { is_literally_china_tooltip = yes NOT = { is_subject_of = ROOT } } } NOT = { any_enemy_country = { original_tag = KOR } } } bypass = { KOR = { OR = { has_war_with = ROOT all_core_state = { state_is_fully_controlled_by_ROOT_or_subject = yes } } } } search_filters = {FOCUS_FILTER_ANNEXATION} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { every_other_country = { limit = { NOT = { original_tag = KOR } any_controlled_state = { is_core_of = KOR } } display_individual_scopes = yes every_controlled_state = { limit = { is_core_of = KOR } add_to_temp_array = { array = PREV.PRC_subjugate_korea_target_states_array value = THIS } } ROOT = { create_wargoal = { type = take_state_focus target = PREV generator = PREV.PRC_subjugate_korea_target_states_array } } } if = { limit = { KOR = { exists = yes } } create_wargoal = { type = puppet_wargoal_focus target = KOR } } } } focus = { id = PRC_dare_to_struggle icon = GFX_focus_PRC_dare_to_struggle prerequisite = { focus = PRC_taiwan focus = PRC_subjugate_korea focus = PRC_reclaim_tibet } x = 1 y = 1 relative_position_id = PRC_taiwan cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no any_other_country = { NOT = { original_tag = TIB original_tag = KOR original_tag = MON original_tag = TAN original_tag = SOV } any_controlled_state = { is_core_of = ROOT } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION} completion_reward = { every_other_country = { limit = { is_literally_china_tooltip = no any_controlled_state = { is_core_of = ROOT NOT = { is_core_of = PREV } } NOT = { any_enemy_country = { is_literally_china_tooltip = yes } original_tag = TIB original_tag = KOR original_tag = MON original_tag = TAN original_tag = SOV } } display_individual_scopes = yes country_event = { id = SEA_PRC_misc_events.18 days = 3 } } } } focus = { id = PRC_dare_to_win icon = GFX_focus_PRC_dare_to_win prerequisite = { focus = PRC_taiwan focus = PRC_subjugate_korea focus = PRC_reclaim_tibet } x = 3 y = 1 relative_position_id = PRC_taiwan cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no NOT = { any_enemy_country = { OR = { original_tag = MON original_tag = TAN original_tag = SOV } } } } will_lead_to_war_with = MON will_lead_to_war_with = TAN will_lead_to_war_with = SOV bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL} completion_reward = { every_other_country = { limit = { any_controlled_state = { OR = { is_core_of = TAN is_core_of = MON state = 732 state = 586 state = 589 state = 588 state = 408 state = 409 state = 560 state = 657 state = 561 } } } display_individual_scopes = yes every_controlled_state = { limit = { OR = { is_core_of = TAN is_core_of = MON state = 732 state = 586 state = 589 state = 588 state = 408 state = 409 state = 560 state = 657 state = 561 } } add_to_array = { array = PREV.PREV.PRC_northern_target_states_array value = THIS } } ROOT = { create_wargoal = { type = take_state_focus target = PREV generator = PREV.PRC_northern_target_states_array } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_unlock_integration_decisions_tt every_controlled_state = { limit = { NOT = { is_core_of = ROOT } OR = { is_core_of = TAN is_core_of = MON state = 732 state = 586 state = 589 state = 588 state = 408 state = 409 state = 560 state = 657 state = 561 } } add_core_of = ROOT } } } focus = { id = PRC_adopt_sun_yat_sens_principles icon = GFX_focus_PRC_adopt_sun_yat_sens_principles prerequisite = { focus = PRC_the_peoples_republic } x = 2 y = 1 relative_position_id = PRC_the_peoples_republic cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT} completion_reward = { custom_effect_tooltip = available_political_advisor show_ideas_tooltip = PRC_wu_han custom_effect_tooltip = generic_skip_one_line_tt add_political_power = 50 add_stability = 0.1 add_war_support = 0.05 add_popularity = { ideology = democratic popularity = 0.15 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_justify_war_goal_time = -0.5 tooltip = justify_war_goal_time_tt } if = { limit = { num_subjects > 0 } add_to_variable = { PRC_central_committee_subjects_autonomy_gain = 0.5 tooltip = subjects_autonomy_gain_tt } } } } focus = { id = PRC_move_capital icon = GFX_focus_PRC_move_capital prerequisite = { focus = PRC_the_peoples_republic } x = 4 y = 1 relative_position_id = PRC_the_peoples_republic cost = 10 ai_will_do = { factor = 1 } available = { 608 = { is_owned_and_controlled_by = ROOT } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_HISTORICAL} completion_reward = { set_capital = { state = 608 remember_old_capital = no } 608 = { add_extra_state_shared_building_slots = 5 add_building_construction = { type = industrial_complex level = 3 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt set_province_name = { id = 9843 name = PRC_beijing_capital_name } 608 = { set_state_name = PRC_beijing_capital_name } custom_effect_tooltip = generic_skip_one_line_tt add_stability = 0.1 } } focus = { id = PRC_the_first_premier icon = GFX_focus_PRC_the_first_premier prerequisite = { focus = PRC_the_peoples_republic } x = 6 y = 1 relative_position_id = PRC_the_peoples_republic cost = 5 ai_will_do = { factor = 1 } available = { PRC_zhou_enlai = { is_hired_as_advisor = yes #has_advisor_role = political_advisor } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL} completion_reward = { if = { limit = { has_dlc = "La Resistance" } PRC_zhou_enlai = { remove_trait = { slot = political_advisor trait = PRC_multi_talented_diplomat_lar } } custom_effect_tooltip = generic_skip_one_line_tt PRC_zhou_enlai = { add_trait = { slot = political_advisor trait = PRC_first_premier_trait } } } else = { PRC_zhou_enlai = { remove_trait = { slot = political_advisor trait = PRC_multi_talented_diplomat_no_lar } } custom_effect_tooltip = generic_skip_one_line_tt PRC_zhou_enlai = { add_trait = { slot = political_advisor trait = PRC_first_premier_trait } } } } } #focus = { # id = PRC_education_reform # icon = GFX_focus_generic_education # prerequisite = { focus = PRC_adopt_sun_yat_sens_principles focus = PRC_move_capital focus = PRC_the_first_premier } # x = 1 # y = 1 # relative_position_id = PRC_adopt_sun_yat_sens_principles # # cost = 10 # # ai_will_do = { # factor = 1 # } # # available = { # amount_research_slots > 3 # } # # bypass = { # # } # # cancel_if_invalid = yes # continue_if_invalid = no # available_if_capitulated = no # # completion_reward = { # add_tech_bonus = { # name = PRC_education_reform # bonus = 0.5 # uses = 2 # category = electronics # } # add_tech_bonus = { # name = PRC_education_reform # bonus = 0.35 # uses = 3 # category = industry # } # add_tech_bonus = { # name = PRC_education_reform # bonus = 0.25 # uses = 4 # category = support_tech # } # # # custom_effect_tooltip = generic_skip_one_line_tt # # add_stability = -0.05 # # } #} focus = { id = PRC_the_party_builds_the_nation icon = GFX_focus_generic_communist_industry prerequisite = { focus = PRC_adopt_sun_yat_sens_principles focus = PRC_move_capital focus = PRC_the_first_premier } x = 1 y = 1 relative_position_id = PRC_adopt_sun_yat_sens_principles mutually_exclusive = { focus = PRC_reform_the_republic } cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL} completion_reward = { add_timed_idea = { idea = PRC_the_party_builds_the_nation_timed_idea days = 365 } custom_effect_tooltip = generic_skip_one_line_tt every_military_industrial_organization = { add_mio_funds = 500 } } } focus = { id = PRC_reform_the_republic icon = GFX_focus_PRC_restore_the_old_republic prerequisite = { focus = PRC_adopt_sun_yat_sens_principles focus = PRC_move_capital focus = PRC_the_first_premier } x = 3 y = 1 relative_position_id = PRC_adopt_sun_yat_sens_principles mutually_exclusive = { focus = PRC_the_party_builds_the_nation } cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY} completion_reward = { add_stability = 0.05 add_popularity = { ideology = democratic popularity = 0.5 } hidden_effect = { set_cosmetic_tag = PRC_social_democracy } if = { limit = { CHI = { NOT = { has_completed_focus = CHI_revive_the_chinese_action_committee } } } set_politics = { ruling_party = democratic elections_allowed = yes } CHI = { CHI_zhang_lan = { set_nationality = ROOT } } effect_tooltip = { CHI = { add_country_leader_role = { character = CHI_zhang_lan promote_leader = yes country_leader = { ideology = socialism expire = "1965.1.1.1" traits = { GER_pragmatic_socialist } } } } } } else = { set_politics = { ruling_party = democratic elections_allowed = yes } CHI = { CHI_chen_mingshu = { set_nationality = ROOT } } effect_tooltip = { CHI = { add_country_leader_role = { character = CHI_chen_mingshu promote_leader = yes country_leader = { ideology = socialism expire = "1965.1.1.1" traits = { GER_pragmatic_socialist } } } } } } hidden_effect = { country_event = SEA_PRC_misc_events.20 } } } focus = { id = PRC_avenge_the_century_of_humiliation icon = GFX_focus_generic_communist_asia prerequisite = { focus = PRC_dare_to_struggle focus = PRC_dare_to_win focus = PRC_the_party_builds_the_nation focus = PRC_reform_the_republic } x = 3 y = 1 relative_position_id = PRC_dare_to_struggle # mutually_exclusive = { focus = PRC_the_chinese_century focus = PRC_asian_democratic_union } cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no has_government = communism OR = { is_in_faction = no is_faction_leader = yes } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ANNEXATION} completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_army_attack_factor = 0.1 tooltip = army_attack_factor_tt } custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_justify_war_goal_time = -0.25 tooltip = justify_war_goal_time_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_avenge_the_century_of_humiliation_tt every_other_country = { limit = { is_literally_china_tooltip = no OR = { AND = { #Check if a Subject country has a Western Overlord is_subject = yes OVERLORD = { OR = { capital_scope = { is_on_continent = europe } capital_scope = { is_on_continent = north_america } } } } #Check if Country is a Western one capital_scope = { is_on_continent = europe } capital_scope = { is_on_continent = north_america } } OR = { #The target must neighbor PRC or have one of it's cores any_neighbor_country = { original_tag = ROOT } any_controlled_state = { is_core_of = ROOT } } } display_individual_scopes = yes if = { limit = { OR = { AND = { #Target Overlords is_subject = no any_controlled_state = { is_on_continent = asia any_neighbor_state = { is_core_of = ROOT is_controlled_by = ROOT } } } any_controlled_state = { is_core_of = ROOT } } } every_controlled_state = { limit = { is_on_continent = asia OR = { any_neighbor_state = { is_core_of = ROOT is_controlled_by = ROOT } is_core_of = ROOT } } add_to_temp_array = { array = PREV.PRC_chinese_target_states_array value = THIS } } ROOT = { create_wargoal = { type = take_state_focus target = PREV generator = PREV.PRC_chinese_target_states_array } } } if = { limit = { is_subject = yes } ROOT = { create_wargoal = { type = puppet_wargoal_focus target = PREV } } } } } } focus = { id = PRC_the_chinese_century icon = GFX_focus_PRC_the_chinese_century prerequisite = { focus = PRC_dare_to_struggle focus = PRC_dare_to_win focus = PRC_the_party_builds_the_nation focus = PRC_reform_the_republic } x = 5 y = 1 relative_position_id = PRC_dare_to_struggle # mutually_exclusive = { focus = PRC_avenge_the_century_of_humiliation focus = PRC_asian_democratic_union } cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION} completion_reward = { PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_production_speed_buildings_factor = 0.05 tooltip = production_speed_buildings_factor_tt } add_to_variable = { PRC_industry_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt } add_to_variable = { PRC_industry_production_factory_start_efficiency_factor = 0.05 tooltip = production_factory_start_efficiency_factor_tt } add_to_variable = { PRC_industry_production_factory_max_efficiency_factor = 0.05 tooltip = production_factory_max_efficiency_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt every_other_country = { limit = { any_controlled_state = { #Narrow down the search margin the game has to go through is_on_continent = asia OR = { is_core_of = PHI is_core_of = VIN is_core_of = CAM is_core_of = SIA is_core_of = MAL is_core_of = INS is_core_of = TML is_core_of = BRN is_core_of = SAR is_core_of = SAB } } } display_individual_scopes = yes if = { limit = { any_controlled_state = { #Narrow down the search margin the game has to go through is_on_continent = asia OR = { is_core_of = PHI is_core_of = VIN is_core_of = CAM is_core_of = SIA is_core_of = BRM is_core_of = MAL is_core_of = INS is_core_of = TML is_core_of = BRN is_core_of = SAR is_core_of = SAB } NOT = { is_core_of = PREV } } } every_controlled_state = { limit = { #Narrow down the search margin the game has to go through is_on_continent = asia OR = { is_core_of = PHI is_core_of = VIN is_core_of = CAM is_core_of = SIA is_core_of = MAL is_core_of = INS is_core_of = TML is_core_of = BRN is_core_of = SAR is_core_of = SAB } NOT = { is_core_of = PREV } } add_to_temp_array = { array = PREV.PRC_chinese_century_target_states_array value = THIS } add_claim_by = ROOT } ROOT = { create_wargoal = { type = take_state_focus target = PREV generator = PREV.PRC_chinese_century_target_states_array } } } else = { ROOT = { create_wargoal = { type = puppet_wargoal_focus target = PREV } } } } } } focus = { id = PRC_asian_democratic_union icon = GFX_focus_generic_democratic_asia prerequisite = { focus = PRC_dare_to_struggle focus = PRC_dare_to_win focus = PRC_the_party_builds_the_nation focus = PRC_reform_the_republic } x = 7 y = 1 relative_position_id = PRC_dare_to_struggle # mutually_exclusive = { focus = PRC_avenge_the_century_of_humiliation focus = PRC_the_chinese_century } cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no has_government = democratic OR = { is_in_faction = no is_faction_leader = yes } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL} completion_reward = { if = { limit = { is_in_faction = yes is_faction_leader = no } leave_faction = yes create_faction_from_template = faction_template_PRC_asian_democratic_union every_subject_country = { add_to_faction = FROM } } else_if = { limit = { is_in_faction = yes is_faction_leader = yes } set_faction_manifest = faction_manifest_chinese_democratic_union set_faction_name = PRC_asian_democratic_union_faction set_faction_rule = joining_rule_democratic_non_aligned } else = { create_faction_from_template = faction_template_PRC_asian_democratic_union every_subject_country = { add_to_faction = FROM } } custom_effect_tooltip = generic_skip_one_line_tt every_other_country = { limit = { capital_scope = { is_on_continent = asia } is_subject = no is_in_faction = no has_government = democratic } country_event = { id = SEA_PRC_faction_events.70 days = 3 random_days = 1 } } every_other_country = { limit = { num_subjects > 0 capital_scope = { NOT = { is_on_continent = asia } } any_subject_country = { capital_scope = { is_on_continent = asia } } } country_event = { id = SEA_PRC_faction_events.71 days = 2 } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { num_faction_members > 1 #PRC counts as 1 } for_each_scope_loop = { array = ROOT.allies add_to_variable = { PRC.PRC_asian_democratic_union_num_of_members = 1 } log = "[This.GetName] was added to the RnD Program" } set_temp_variable = { temp_targets_index = PRC_asian_democratic_union_num_of_members } while_loop_effect = { limit = { check_variable = { temp_targets_index > 0 } } if = { limit = { check_variable = { var = PRC_asian_democratic_union_modifier_research_speed_factor value = 0.1 compare = less_than } } add_to_variable = { PRC_asian_democratic_union_modifier_research_speed_factor = 0.01 } } if = { limit = { check_variable = { PRC_asian_democratic_union_modifier_consumer_goods_factor > -0.2 } } subtract_from_variable = { PRC_asian_democratic_union_modifier_consumer_goods_factor = 0.02 } } subtract_from_temp_variable = { temp_targets_index = 1 } } } add_dynamic_modifier = { modifier = PRC_asian_democratic_union_modifier } custom_effect_tooltip = PRC_asian_democratic_union_tt custom_effect_tooltip = generic_skip_one_line_tt every_allied_country = { add_ideas = PRC_asian_democratic_union_idea } } } focus = { id = PRC_usurp_control_over_yanan icon = GFX_focus_PRC_usurp_control_over_yanan prerequisite = { focus = PRC_the_unwilling_diarchy_focus focus = PRC_burn_the_paper_tigers } x = 10 y = 1 relative_position_id = PRC_burn_the_paper_tigers cost = 5 offset = { x = -5 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_burn_the_paper_tigers } } offset = { x = -2 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_the_unwilling_diarchy_focus } } ai_will_do = { factor = 1 } available = { NOT = { 1032 = { is_fully_controlled_by = ROOT } } } bypass = { 1032 = { is_fully_controlled_by = ROOT } } will_lead_to_war_with = XIC cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_XP} completion_reward = { if = { limit = { is_in_faction_with = CHI any_other_country = { controls_state = 1032 OR = { controls_state = 283 controls_state = 744 } } } CHI = { country_event = { id = SEA_PRC_faction_events.1 days = 1 } } effect_tooltip = { custom_effect_tooltip = if_they_accept_tt transfer_state = 1032 CHI = { transfer_state = 744 } } } else = { if = { limit = { NOT = { #This is done merely to get informative tooltips has_completed_focus = PRC_usurp_control_over_yanan is_in_faction_with = CHI } any_other_country = { controls_state = 1032 OR = { controls_state = 283 controls_state = 744 } } } custom_effect_tooltip = PRC_usurp_control_over_yanan_tt effect_tooltip = { CHI = { country_event = { id = SEA_PRC_faction_events.1 days = 1 } } custom_effect_tooltip = if_they_accept_tt transfer_state = 1032 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = generic_current_effects } unlock_decision_tooltip = PRC_usurp_control_over_yanan_decision custom_effect_tooltip = PRC_winning_border_war_result_tt effect_tooltip = { transfer_state = 1032 } custom_effect_tooltip = PRC_losing_border_war_result_tt effect_tooltip = { army_experience = 15 #At least we learned something.... add_mastery = { amount = 50 track = infantry } add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 125 producer = XIC } } custom_effect_tooltip = generic_skip_one_line_tt PRC_this_might_anger_china = yes set_country_flag = PRC_usurp_control_over_yanan_flag } } } focus = { id = PRC_eight_points_for_attention icon = GFX_focus_PRC_eight_points_for_attention prerequisite = { focus = PRC_the_unwilling_diarchy_focus focus = PRC_burn_the_paper_tigers } x = 8 y = 1 relative_position_id = PRC_burn_the_paper_tigers offset = { x = -5 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_burn_the_paper_tigers } } offset = { x = -2 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_the_unwilling_diarchy_focus } } search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL} cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_STABILITY} completion_reward = { add_stability = 0.05 add_political_power = 50 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_modify_central_committee_modifier add_to_variable = { PRC_central_committee_party_popularity_stability_factor = 0.05 tooltip = party_popularity_stability_factor_tt } } } focus = { id = PRC_expel_the_occupiers icon = GFX_focus_AST_war_japan prerequisite = { focus = PRC_the_unwilling_diarchy_focus focus = PRC_burn_the_paper_tigers } x = 12 y = 1 relative_position_id = PRC_burn_the_paper_tigers cost = 5 ai_will_do = { factor = 1 } offset = { x = -5 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_burn_the_paper_tigers } } offset = { x = -2 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_the_unwilling_diarchy_focus } } available = { OR = { is_in_faction = no is_faction_leader = yes } JAP = { exists = yes NOT = { is_ally_with = ROOT has_war_with = ROOT } any_controlled_state = { is_core_of = ROOT } has_civil_war = no } } search_filters = {FOCUS_FILTER_ANNEXATION} bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { every_other_country = { limit = { is_literally_china_tooltip = no OR = { original_tag = JAP capital_scope = { is_core_of = ROOT } } any_controlled_state = { is_core_of = ROOT } } display_individual_scopes = yes every_controlled_state = { limit = { is_core_of = ROOT } add_to_temp_array = { array = PREV.PRC_chinese_target_states_array value = THIS } } ROOT = { create_wargoal = { type = take_state_focus target = PREV generator = PREV.PRC_chinese_target_states_array } } } } } focus = { id = PRC_restore_territorial_integrity icon = GFX_focus_PRC_restore_territorial_integrity prerequisite = { focus = PRC_the_unwilling_diarchy_focus focus = PRC_burn_the_paper_tigers } x = 14 y = 1 relative_position_id = PRC_burn_the_paper_tigers offset = { x = -5 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_burn_the_paper_tigers } } offset = { x = -2 y = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = PRC_the_unwilling_diarchy_focus } } cost = 5 ai_will_do = { factor = 1 modifier = { date < 1943.01.01 ## Never take this before 1943 factor = 0 } } available = { any_other_country = { NOT = { has_wargoal_against = ROOT is_justifying_wargoal_against = ROOT has_war_with = ROOT any_allied_country = { has_war_with = ROOT } any_enemy_country = { is_ally_with = ROOT } } custom_trigger_tooltip = { tooltip = CHI_request_territory_trigger_tt any_controlled_state = { is_core_of = ROOT controller = { is_literally_china_tooltip = no } OR = { NOT = { is_owned_by = controller } controller = { has_government = ROOT } } } } } } bypass = { } search_filters = {FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_request_territory_tt every_other_country = { limit = { NOT = { has_wargoal_against = ROOT is_justifying_wargoal_against = ROOT has_war_with = ROOT any_allied_country = { has_war_with = ROOT } any_enemy_country = { is_ally_with = ROOT } } any_controlled_state = { is_core_of = ROOT NOT = { is_core_of = PREV state = 326 state = 729 state = 728 } OR = { NOT = { is_owned_by = PREV } PREV = { has_government = ROOT } } is_fully_controlled_by = PREV } } country_event = { id = SEA_PRC_misc_events.13 days = 2 } } } } #### ## ## ######## ## ## ###### ######## ######## ## ## ## ### ## ## ## ## ## ## ## ## ## ## ## ## ## #### ## ## ## ## ## ## ## ## ## #### ## ## ## ## ## ## ## ## ###### ## ######## ## ## ## #### ## ## ## ## ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ## ## ## #### ## ## ######## ####### ###### ## ## ## ## focus = { id = PRC_rally_the_industry icon = GFX_focus_generic_communist_industry prerequisite = { focus = PRC_put_an_end_to_the_sufan } x = 0 y = 1 relative_position_id = PRC_put_an_end_to_the_sufan cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY} completion_reward = { random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } prioritize = { 1032 622 } #Yan'An and Shaanxi add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt } add_to_variable = { PRC_industry_production_speed_buildings_factor = 0.025 tooltip = production_speed_buildings_factor_tt } } } focus = { id = PRC_expedite_land_revolution icon = GFX_focus_PRC_land_revolution_expedited prerequisite = { focus = PRC_rally_the_industry } mutually_exclusive = { focus = PRC_halt_land_revolution } x = -1 y = 1 relative_position_id = PRC_rally_the_industry cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_timed_idea = { idea = PRC_land_revolution_expedited days = 900 } custom_effect_tooltip = generic_skip_one_line_tt IF = { limit = { has_power_balance = { id = PRC_communist_power_struggle } } add_power_balance_value = { id = PRC_communist_power_struggle value = -0.05 } } } } focus = { id = PRC_halt_land_revolution icon = GFX_focus_PRC_land_revolution_halted prerequisite = { focus = PRC_rally_the_industry } mutually_exclusive = { focus = PRC_expedite_land_revolution } x = 1 y = 1 relative_position_id = PRC_rally_the_industry cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_INDUSTRY} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_timed_idea = { idea = PRC_land_revolution_halted days = 365 } custom_effect_tooltip = generic_skip_one_line_tt IF = { limit = { has_power_balance = { id = PRC_communist_power_struggle } } add_power_balance_value = { id = PRC_communist_power_struggle value = 0.05 } } } } focus = { id = PRC_reestablish_the_state_bank icon = GFX_focus_generic_improve_the_administration prerequisite = { focus = PRC_halt_land_revolution focus = PRC_expedite_land_revolution } x = 1 y = 1 relative_position_id = PRC_expedite_land_revolution cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL} completion_reward = { remove_ideas = PRC_defunct_state_bank custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = PRC_peoples_bank_of_china custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = PRC_mao_zemin } } focus = { id = PRC_CSCEC_mils icon = GFX_goal_generic_construct_mil_factory prerequisite = { focus = PRC_reestablish_the_state_bank } mutually_exclusive = { focus = PRC_CSCEC_civs } x = -1 y = 1 relative_position_id = PRC_reestablish_the_state_bank cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY} completion_reward = { random_owned_controlled_state = { limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { swap_ideas = { remove_idea = PRC_china_state_construction_engineering_corporation add_idea = PRC_china_state_construction_engineering_corporation_mil_improved } } hidden_effect = { if = { limit = { has_idea = PRC_china_state_construction_engineering_corporation } swap_ideas = { remove_idea = PRC_china_state_construction_engineering_corporation add_idea = PRC_china_state_construction_engineering_corporation_mil_improved } } } } } focus = { id = PRC_CSCEC_civs icon = GFX_goal_generic_construction prerequisite = { focus = PRC_reestablish_the_state_bank } mutually_exclusive = { focus = PRC_CSCEC_mils } x = 1 y = 1 relative_position_id = PRC_reestablish_the_state_bank cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY} completion_reward = { random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { swap_ideas = { remove_idea = PRC_china_state_construction_engineering_corporation add_idea = PRC_china_state_construction_engineering_corporation_civ_improved } } hidden_effect = { if = { limit = { has_idea = PRC_china_state_construction_engineering_corporation } swap_ideas = { remove_idea = PRC_china_state_construction_engineering_corporation add_idea = PRC_china_state_construction_engineering_corporation_civ_improved } } } } } focus = { id = PRC_promote_the_silver_dollar icon = GFX_focus_PRC_promote_the_silver_dollar prerequisite = { focus = PRC_CSCEC_mils focus = PRC_CSCEC_civs } mutually_exclusive = { focus = PRC_promote_paper_bills } x = -2 y = 1 relative_position_id = PRC_CSCEC_mils cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = generic_skip_one_line_tt add_ideas = PRC_silver_dollar_promoted } } focus = { id = PRC_promote_paper_bills icon = GFX_focus_PRC_promote_paper_bills prerequisite = { focus = PRC_CSCEC_mils focus = PRC_CSCEC_civs } mutually_exclusive = { focus = PRC_promote_the_silver_dollar } x = 0 y = 1 relative_position_id = PRC_CSCEC_mils cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = generic_skip_one_line_tt add_ideas = PRC_paper_bills_promoted IF = { limit = { NOT = { has_idea = closed_economy } } add_ideas = closed_economy } } } focus = { id = PRC_allow_special_goods_trade icon = GFX_focus_PRC_allow_special_goods_trade prerequisite = { focus = PRC_CSCEC_mils focus = PRC_CSCEC_civs } x = 2 y = 1 relative_position_id = PRC_CSCEC_mils mutually_exclusive = { focus = PRC_ban_special_goods_trade } cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_ideas = PRC_trade_of_special_goods_allowed } } focus = { id = PRC_ban_special_goods_trade icon = GFX_focus_PRC_ban_special_goods_trade mutually_exclusive = { focus = PRC_allow_special_goods_trade } prerequisite = { focus = PRC_CSCEC_mils focus = PRC_CSCEC_civs } x = 4 y = 1 relative_position_id = PRC_CSCEC_mils cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_timed_idea = { idea = PRC_trade_of_special_goods_banned_uprising days = 365 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_ban_special_goods_trade_tt show_ideas_tooltip = PRC_trade_of_special_goods_banned_stabilised } } focus = { id = PRC_rural_survey icon = GFX_focus_prc_agrarian_socialism prerequisite = { focus = PRC_ban_special_goods_trade focus = PRC_allow_special_goods_trade } prerequisite = { focus = PRC_promote_paper_bills focus = PRC_promote_the_silver_dollar } x = -3 y = 1 relative_position_id = PRC_ban_special_goods_trade cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { every_character = { limit = { has_advisor_role = political_advisor NOT = { is_character = PRC_mao_zedong is_character = PRC_zhang_wentian is_character = PRC_bo_gu is_character = PRC_wang_ming is_character = PRC_zhang_guotao } } random_select_amount = 2 add_trait = { slot = political_advisor trait = PRC_rural_survey_trait } } custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_tooltip = PRC_rural_surveys } } focus = { id = PRC_great_production_movement icon = GFX_focus_generic_modernize_industry prerequisite = { focus = PRC_rural_survey } x = 1 y = 1 relative_position_id = PRC_rural_survey cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL} completion_reward = { PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_production_factory_start_efficiency_factor = 0.05 tooltip = production_factory_start_efficiency_factor_tt } add_to_variable = { PRC_industry_line_change_production_efficiency_factor = 0.05 tooltip = line_change_production_efficiency_factor_tt } } } focus = { id = PRC_resource_extraction_focus icon = GFX_focus_generic_resource_extraction prerequisite = { focus = PRC_great_production_movement } x = 1 y = 1 relative_position_id = PRC_great_production_movement cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_tech_bonus = { name = PRC_resource_extraction_focus bonus = 0.5 uses = 1 category = excavation_tech } custom_effect_tooltip = generic_skip_one_line_tt PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_local_resources_factor = 0.15 tooltip = local_resources_factor_tt } } } focus = { id = PRC_agricultural_reform icon = GFX_focus_CHI_students_to_the_countryside prerequisite = { focus = PRC_rural_survey } x = -1 y = 1 relative_position_id = PRC_rural_survey cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY} completion_reward = { custom_effect_tooltip = PRC_agricultural_reform_tt add_to_variable = { PRC_industry_production_speed_buildings_factor = 0.1 tooltip = production_speed_buildings_factor_tt } add_to_variable = { PRC_industry_global_building_slots_factor = 0.15 tooltip = global_building_slots_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = PRC_deng_zihiu custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } unlock_military_industrial_organization_tooltip = mio:PRC_first_tractor_company_organization } hidden_effect = { remove_dynamic_modifier = { modifier = PRC_agrarian_society } add_dynamic_modifier = { modifier = PRC_agrarian_reform } } } } focus = { id = PRC_agricultural_reform_boom icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = PRC_agricultural_reform } x = -1 y = 1 relative_position_id = PRC_agricultural_reform cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY} completion_reward = { PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_global_building_slots_factor = 0.1 tooltip = global_building_slots_factor_tt } } } focus = { id = PRC_industrialization_efforts icon = GFX_focus_CHI_planned_economy prerequisite = { focus = PRC_agricultural_reform } prerequisite = { focus = PRC_great_production_movement } x = 1 y = 2 relative_position_id = PRC_agricultural_reform cost = 10 ai_will_do = { factor = 1 } available = { num_of_controlled_factories > 24 } bypass = { } search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY} available_if_capitulated = no completion_reward = { PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_research_speed_factor = 0.1 tooltip = research_speed_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 1 include_locked = yes } } prioritize = { 1032 622 1046} #Yan'An and Shaanxi and Yulin add_extra_state_shared_building_slots = 4 add_building_construction = { type = industrial_complex level = 4 instant_build = yes } } random_owned_controlled_state = { #tis should ideally NOT target Yan'an limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = PRC_industrialization_efforts bonus = 0.25 uses = 2 category = industry } } } focus = { id = PRC_establish_shorter_market_plans icon = GFX_focus_PRC_establish_shorter_market_plans prerequisite = { focus = PRC_industrialization_efforts } mutually_exclusive = { focus = PRC_initialize_five_year_plan } x = 2 y = 1 relative_position_id = PRC_industrialization_efforts cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_INDUSTRY} select_effect = { set_variable = { PRC_initialize_shorter_market_plans_current_civ_factories = num_of_civilian_factories } set_variable = { PRC_initialize_shorter_market_plans_goal_civ_factories = PRC_initialize_shorter_market_plans_current_civ_factories } multiply_variable = { var = PRC_initialize_shorter_market_plans_goal_civ_factories value = PRC_initialize_shorter_market_plans_civ_factories_multiplier } round_variable = PRC_initialize_shorter_market_plans_goal_civ_factories set_variable = { PRC_initialize_shorter_market_plans_current_mil_factories = num_of_military_factories } set_variable = { PRC_initialize_shorter_market_plans_goal_mil_factories = PRC_initialize_shorter_market_plans_current_mil_factories } multiply_variable = { var = PRC_initialize_shorter_market_plans_goal_mil_factories value = PRC_initialize_shorter_market_plans_mil_factories_multiplier } round_variable = PRC_initialize_shorter_market_plans_goal_mil_factories } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_timed_idea = { idea = PRC_shorter_market_plan days = PRC_shorter_market_plan_length } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_initialize_shorter_market_plans_tt custom_effect_tooltip = generic_skip_one_line_tt ## Start mission activate_mission = PRC_initialize_shorter_market_plans_mission ## For localisation reasons set_variable = { temp_var_PRC_deadline_shorter_market_plan_selected = [GetDate] } add_to_variable = { temp_var_PRC_deadline_shorter_market_plan_selected = PRC_shorter_market_plan_length } } } focus = { id = PRC_initialize_five_year_plan icon = GFX_focus_SOV_merge_plants prerequisite = { focus = PRC_industrialization_efforts } mutually_exclusive = { focus = PRC_establish_shorter_market_plans } x = -2 y = 1 relative_position_id = PRC_industrialization_efforts cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL} select_effect = { set_variable = { PRC_initialize_five_year_plan_current_civ_factories = num_of_civilian_factories } set_variable = { PRC_initialize_five_year_plan_goal_civ_factories = PRC_initialize_five_year_plan_current_civ_factories } multiply_variable = { var = PRC_initialize_five_year_plan_goal_civ_factories value = PRC_initialize_five_year_plan_civ_factories_multiplier } round_variable = PRC_initialize_five_year_plan_goal_civ_factories set_variable = { PRC_initialize_five_year_plan_current_mil_factories = num_of_military_factories } set_variable = { PRC_initialize_five_year_plan_goal_mil_factories = PRC_initialize_five_year_plan_current_mil_factories } multiply_variable = { var = PRC_initialize_five_year_plan_goal_mil_factories value = PRC_initialize_five_year_plan_mil_factories_multiplier } round_variable = PRC_initialize_five_year_plan_goal_mil_factories } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { ## Gain NS add_timed_idea = { idea = PRC_five_year_plan days = PRC_five_year_plan_length } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_initialize_five_year_plan_tt custom_effect_tooltip = generic_skip_one_line_tt ## Start mission activate_mission = PRC_initialize_five_year_plan_mission ## For localisation reasons set_variable = { temp_var_PRC_deadline_five_year_plan_selected = [GetDate] } add_to_variable = { temp_var_PRC_deadline_five_year_plan_selected = PRC_five_year_plan_length } } } focus = { id = PRC_construct_the_banqiao_dam icon = GFX_focus_PRC_construct_the_banqiao_dam prerequisite = { focus = PRC_establish_shorter_market_plans focus = PRC_initialize_five_year_plan } x = 1 y = 1 relative_position_id = PRC_initialize_five_year_plan cost = 10 ai_will_do = { factor = 1 } available = { controls_state = 607 607 = { dam < 1 } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { 607 = { add_building_construction = { type = dam level = 1 instant_build = yes province = { id = 7508 } } } custom_effect_tooltip = { localization_key = building_state_modifier|dam INDENT = " " } } } focus = { id = PRC_connecting_the_country icon = GFX_focus_generic_railroad prerequisite = { focus = PRC_establish_shorter_market_plans focus = PRC_initialize_five_year_plan } x = 3 y = 1 relative_position_id = PRC_initialize_five_year_plan cost = 10 ai_will_do = { factor = 1 } available = { num_of_controlled_states > 4 } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_timed_idea = { idea = PRC_connecting_the_country_idea days = 600 } } } focus = { id = PRC_urbanization icon = GFX_focus_PRC_urbanization prerequisite = { focus = PRC_initialize_five_year_plan focus = PRC_establish_shorter_market_plans } x = 0 y = 2 relative_position_id = PRC_establish_shorter_market_plans mutually_exclusive = { focus = PRC_rural_region_development } cost = 10 ai_will_do = { factor = 1 } available = { ROOT = { OR = { controls_state = 1032 #Yan'an controls_state = 622 #Shaanxi } } } bypass = { NOT = { controls_state = 1032 #Yan'an controls_state = 622 #Shaanxi } } enable_automatic_bypass = no cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY} completion_reward = { if = { limit = { ROOT = { controls_state = 1032 #Yan'an } } 1032 = { set_state_category = city add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_dynamic_modifier = { modifier = PRC_urbanization_state_modifier_bonus } } } if = { limit = { ROOT = { controls_state = 622 #Shaanxi } } 622 = { set_state_category = city add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_dynamic_modifier = { modifier = PRC_urbanization_state_modifier_bonus } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_make_agrarian_to_urban_tt add_to_variable = { PRC_industry_industrial_capacity_factory = 0.025 tooltip = industrial_capacity_factory_tt } hidden_effect = { remove_dynamic_modifier = { modifier = PRC_agrarian_reform } add_dynamic_modifier = { modifier = PRC_urban_society } } } } focus = { id = PRC_rural_region_development prerequisite = { focus = PRC_initialize_five_year_plan focus = PRC_establish_shorter_market_plans } mutually_exclusive = { focus = PRC_urbanization } x = 0 y = 2 relative_position_id = PRC_initialize_five_year_plan icon = GFX_focus_PRC_rural_region_development cost = 10 ai_will_do = { factor = 1 } available = { any_controlled_state = { has_state_category = rural is_owned_by = ROOT } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY} completion_reward = { ## Only problem remaining is if you don't have a rural region, then it looks like there is no effect - maybe make sure that you have that type of state from the start? Solution - custom tooltip instead custom_effect_tooltip = PRC_rural_region_development_tt custom_effect_tooltip = generic_skip_one_line_tt every_owned_state = { ## Owned or controlled? limit = { has_state_category = rural NOT = { # Maybe add a check so not add if already have it has_dynamic_modifier = { modifier = PRC_rural_development_state_modifier_bonus } } } random_select_amount = 3 add_building_construction = { type = infrastructure level = 1 instant_build = yes } add_dynamic_modifier = { modifier = PRC_rural_development_state_modifier_bonus } } custom_effect_tooltip = generic_skip_one_line_tt PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_local_resources_factor = 0.05 tooltip = local_resources_factor_tt } } } focus = { id = PRC_urbanization_two icon = GFX_focus_PRC_urbanization_two prerequisite = { focus = PRC_urbanization } x = 1 y = 1 relative_position_id = PRC_urbanization cost = 10 ai_will_do = { factor = 1 } available = { ROOT = { OR = { controls_state = 744 #Xian controls_state = 615 #Shanxi } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_INDUSTRY} completion_reward = { if = { limit = { NOT = { OR = { controls_state = 744 #Xian controls_state = 615 #Shanxi } } } custom_effect_tooltip = PRC_urbanization_two_tt } if = { limit = { ROOT = { controls_state = 744 #Xian } } 744 = { set_state_category = city add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_dynamic_modifier = { modifier = PRC_urbanization_state_modifier_bonus } } } if = { limit = { ROOT = { controls_state = 615 #Shanxi } } 615 = { set_state_category = city add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_dynamic_modifier = { modifier = PRC_urbanization_state_modifier_bonus } } } } } focus = { id = PRC_found_the_academy_of_science text = PRC_form_the_academy_of_sciences icon = GFX_focus_PRC_form_the_yanan_university prerequisite = { focus = PRC_urbanization focus = PRC_rural_region_development } x = 2 y = 1 relative_position_id = PRC_rural_region_development cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_research_slot = 1 custom_effect_tooltip = generic_skip_one_line_tt PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_research_speed_factor = 0.1 tooltip = research_speed_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = PRC_xu_teli } } focus = { id = PRC_rural_region_development_two icon = GFX_focus_PRC_rural_region_development_two prerequisite = { focus = PRC_rural_region_development } x = -1 y = 1 relative_position_id = PRC_rural_region_development cost = 10 ai_will_do = { factor = 1 } search_filters = {FOCUS_FILTER_INDUSTRY} available = { any_controlled_state = { has_state_category = rural is_owned_by = ROOT NOT = { has_dynamic_modifier = { modifier = PRC_rural_development_state_modifier_bonus } } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_rural_region_development_two_tt custom_effect_tooltip = generic_skip_one_line_tt every_owned_state = { ## Owned or controlled? limit = { has_state_category = rural NOT = { # Add a check so not add if already have it has_dynamic_modifier = { modifier = PRC_rural_development_state_modifier_bonus } } } random_select_amount = 2 add_building_construction = { type = infrastructure level = 1 instant_build = yes } add_dynamic_modifier = { modifier = PRC_rural_development_state_modifier_bonus } } custom_effect_tooltip = generic_skip_one_line_tt PRC_modify_industrial_modifier = yes add_to_variable = { PRC_industry_global_building_slots_factor = 0.05 tooltip = global_building_slots_factor_tt } } } focus = { id = PRC_finalize_industrial_plan icon = GFX_focus_generic_currency_reforms prerequisite = { focus = PRC_urbanization_two focus = PRC_rural_region_development_two } prerequisite = { focus = PRC_found_the_academy_of_science } x = 0 y = 1 relative_position_id = PRC_found_the_academy_of_science cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } search_filters = {FOCUS_FILTER_INDUSTRY} cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_ideas = PRC_finalize_industrial_plan_idea } } ## ## #### ## #### ######## ### ######## ## ## ### ### ## ## ## ## ## ## ## ## ## ## #### #### ## ## ## ## ## ## ## ## #### ## ### ## ## ## ## ## ## ## ######## ## ## ## ## ## ## ## ######### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #### ######## #### ## ## ## ## ## ## focus = { id = PRC_long_march_to_recovery icon = GFX_focus_PRC_long_march_to_recovery prerequisite = { focus = PRC_put_an_end_to_the_sufan } x = 16 y = 1 relative_position_id = PRC_put_an_end_to_the_sufan cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ARMY_XP FOCUS_FILTER_HISTORICAL} completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_army_org_factor = 0.05 tooltip = army_org_factor_tt } add_to_variable = { PRC_the_chinese_army_experience_gain_army_factor = 0.05 tooltip = experience_gain_army_factor_tt } set_country_flag = PRC_has_advanced_army_recovery_efforts #this is for the scripted loc in desc for the modifier } } focus = { id = PRC_three_rules_of_discipline icon = GFX_focus_PRC_three_rules_of_discipline prerequisite = { focus = PRC_long_march_to_recovery } x = 0 y = 1 relative_position_id = PRC_long_march_to_recovery cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_XP FOCUS_FILTER_HISTORICAL } completion_reward = { add_war_support = 0.05 custom_effect_tooltip = generic_skip_one_line_tt add_ideas = PRC_three_rules_of_discipline_idea custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes add_to_variable = { PRC_the_chinese_army_army_org_factor = 0.05 tooltip = army_org_factor_tt } add_to_variable = { PRC_the_chinese_red_army_army_morale_factor = 0.05 tooltip = army_morale_factor_tt } add_to_variable = { PRC_the_chinese_army_experience_gain_army_factor = 0.05 tooltip = experience_gain_army_factor_tt } } } focus = { id = PRC_red_army_reborn icon = GFX_focus_JAP_raise_the_red_flag_high prerequisite = { focus = PRC_three_rules_of_discipline focus = PRC_master_the_terrain focus = PRC_reinforce_base_area } x = 0 y = 1 relative_position_id = PRC_three_rules_of_discipline cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_HISTORICAL} completion_reward = { random_owned_controlled_state = { limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } } prioritize = { 1032 622 } #Yan'An and Shaanxi add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = PRC_soviet_battle_tactics cost_reduction = 0.25 uses = 1 category = land_doctrine } add_mastery_bonus = { name = PRC_soviet_battle_tactics bonus = 0.2 days = 240 grand_doctrine = mass_assault } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_the_chinese_red_army_modify_tt add_to_variable = { PRC_the_chinese_army_training_time_factor = -0.05 tooltip = training_time_factor_tt } add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } add_to_variable = { PRC_the_chinese_red_army_army_attack_factor = 0.1 tooltip = army_attack_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt hidden_effect = { set_country_flag = PRC_has_started_army_recovery_efforts #this is for the scripted loc in desc for the modifier } } } focus = { id = PRC_equipment_from_copper_coins icon = GFX_focus_PRC_equipment_from_copper_coins prerequisite = { focus = PRC_red_army_reborn } x = -3 y = 1 relative_position_id = PRC_red_army_reborn cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_timed_idea = { idea = PRC_equipment_from_copper_coins days = 365 } } } focus = { id = PRC_request_for_aid icon = GFX_focus_PRC_request_for_aid prerequisite = { focus = PRC_red_army_reborn } x = -5 y = 1 relative_position_id = PRC_red_army_reborn cost = 5 ai_will_do = { factor = 1 } available = { has_war = yes SOV = { exists = yes is_subject = no has_civil_war = no has_government = ROOT NOT = { has_war_with = ROOT } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { SOV = { country_event = { id = SEA_PRC_request_aid.1 hours = 3 random_hours = 6 } } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 5000 producer = SOV } add_equipment_to_stockpile = { type = support_equipment amount = 750 producer = SOV } add_equipment_to_stockpile = { type = artillery_equipment amount = 100 producer = SOV } SOV = { add_equipment_to_stockpile = { type = infantry_equipment_0 amount = -5000 producer = SOV } add_equipment_to_stockpile = { type = support_equipment amount = -750 producer = SOV } add_equipment_to_stockpile = { type = artillery_equipment amount = -100 producer = SOV } } } } } focus = { id = PRC_asymmetric_warfare icon = GFX_focus_PRC_controlled_growth prerequisite = { focus = PRC_red_army_reborn } mutually_exclusive = { focus = PRC_conventional_warfare focus = PRC_indirect_fire } x = 3 y = 1 relative_position_id = PRC_red_army_reborn cost = 5 ai_will_do = { factor = 1 } available = { has_doctrine = peoples_war } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { add_timed_idea = { idea = PRC_army_education_efforts ## 0,2 * 365 = 73 days = 365 } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_doctrine = peoples_war } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_asymmetric_warfare sub_doctrine = peoples_war } } else_if = { limit = { has_doctrine = guerilla_war } add_mastery_bonus = { bonus = 0.25 days = 365 name = PRC_asymmetric_warfare sub_doctrine = guerilla_war } } else = { add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_asymmetric_warfare track = operations } } custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_org_loss_when_moving = -0.1 tooltip = org_loss_when_moving_tt } add_to_variable = { PRC_the_chinese_red_army_attrition = -0.05 tooltip = attrition_tt } custom_effect_tooltip = generic_skip_one_line_tt every_unit_leader = { random_select_amount = 2 limit = { NOT = { has_trait = militias_officer } } add_trait = { trait = militias_officer } } } } focus = { id = PRC_conventional_warfare icon = GFX_focus_PRC_arms_recovery_efforts prerequisite = { focus = PRC_red_army_reborn } mutually_exclusive = { focus = PRC_asymmetric_warfare focus = PRC_indirect_fire } x = 5 y = 1 relative_position_id = PRC_red_army_reborn cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ARMY_XP} completion_reward = { army_experience = 50 custom_effect_tooltip = generic_skip_one_line_tt add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_conventional_warfare track = infantry } custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_army_infantry_attack_factor = 0.05 tooltip = army_infantry_attack_factor_tt } add_to_variable = { PRC_the_chinese_red_army_attrition = 0.05 tooltip = attrition_tt } custom_effect_tooltip = generic_skip_one_line_tt every_unit_leader = { random_select_amount = 2 limit = { NOT = { has_trait = infantry_officer } } add_trait = { trait = infantry_officer } } } } focus = { id = PRC_indirect_fire icon = GFX_goal_generic_army_artillery prerequisite = { focus = PRC_red_army_reborn } mutually_exclusive = { focus = PRC_asymmetric_warfare focus = PRC_conventional_warfare } x = 7 y = 1 relative_position_id = PRC_red_army_reborn cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ARMY_XP} completion_reward = { army_experience = 50 add_mastery_bonus = { bonus = 0.1 days = 365 name = PRC_indirect_fire track = combat_support } custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_army_artillery_attack_factor = 0.1 tooltip = army_artillery_attack_factor_tt } add_to_variable = { PRC_the_chinese_red_army_attrition = 0.05 tooltip = attrition_tt } custom_effect_tooltip = generic_skip_one_line_tt every_unit_leader = { random_select_amount = 2 limit = { NOT = { has_trait = fortress_buster } } add_trait = { trait = fortress_buster } } } } focus = { id = PRC_he_long_second_army icon = GFX_focus_PRC_he_long_second_army prerequisite = { focus = PRC_red_army_reborn } x = -7 y = 1 relative_position_id = PRC_red_army_reborn cost = 5 ai_will_do = { factor = 1 } available = { has_country_flag = PRC_he_long_has_arrived } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL} completion_reward = { PRC_he_long = { add_logistics = 1 add_trait = { trait = PRC_survivor_of_the_long_march } } army_experience = 50 } } focus = { id = PRC_master_the_terrain icon = GFX_focus_generic_mountain_training prerequisite = { focus = PRC_long_march_to_recovery } x = 2 y = 1 relative_position_id = PRC_long_march_to_recovery cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_tech_bonus = { name = PRC_master_the_terrain bonus = 1 uses = 1 category = mountaineers_tech } custom_effect_tooltip = generic_skip_one_line_tt IF = { limit = { has_dlc = "Arms Against Tyranny" } add_doctrine_cost_reduction = { name = PRC_master_the_terrain cost_reduction = 0.25 uses = 2 category = cat_mountaineers_doctrine } custom_effect_tooltip = generic_skip_one_line_tt } every_army_leader = { limit = { NOT = { has_trait = trait_mountaineer } } random_select_amount = 2 add_trait = { trait = trait_mountaineer } } } } focus = { id = PRC_reinforce_base_area icon = GFX_focus_generic_mountain_fortification prerequisite = { focus = PRC_long_march_to_recovery } x = -2 y = 1 relative_position_id = PRC_long_march_to_recovery cost = 5 ai_will_do = { factor = 1 } available = { 622 = { is_fully_controlled_by = ROOT } 1046 = { is_fully_controlled_by = ROOT } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { custom_effect_tooltip = PRC_reinforce_base_area_tt hidden_effect = { 622 = { #Shaanxi add_building_construction = { type = bunker level = 2 instant_build = yes province = { all_provinces = yes limit_to_border = yes level < 3 } } } 1046 = { #Yulin add_building_construction = { type = bunker level = 2 instant_build = yes province = { all_provinces = yes limit_to_border = yes level < 3 } } } if = { limit = { 615 = { is_fully_controlled_by = ROOT } } 615 = { #Shanxi add_building_construction = { type = bunker level = 1 instant_build = yes province = { all_provinces = yes limit_to_border = yes level < 2 } } } } if = { limit = { 1045 = { is_fully_controlled_by = ROOT } } 1045 = { #Guyuan add_building_construction = { type = bunker level = 1 instant_build = yes province = { all_provinces = yes limit_to_border = yes level < 2 } } } } } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = PRC_reinforce_base_area bonus = 0.4 uses = 1 category = cat_fortification } } } focus = { id = PRC_to_steal_an_army icon = GFX_focus_CONGO_copper_cartridges prerequisite = { focus = PRC_request_for_aid focus = PRC_he_long_second_army focus = PRC_equipment_from_copper_coins } prerequisite = { focus = PRC_asymmetric_warfare focus = PRC_conventional_warfare focus = PRC_indirect_fire } x = -1 y = 2 relative_position_id = PRC_red_army_reborn ai_will_do = { factor = 1 } available = { has_war = yes } bypass = { } cost = 5 cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_equipment_capture = 0.1 tooltip = equipment_capture_tt } custom_effect_tooltip = generic_skip_one_line_tt every_army_leader = { limit = { NOT = { has_trait = scavenger is_character = PRC_mao_zedong is_character = PRC_bo_gu is_character = PRC_zhang_guotao } } random_select_amount = 3 add_trait = { trait = scavenger } } } } focus = { id = PRC_revolutionary_war_of_the_masses icon = GFX_focus_generic_limited_social_mobilization prerequisite = { focus = PRC_request_for_aid focus = PRC_he_long_second_army focus = PRC_equipment_from_copper_coins } prerequisite = { focus = PRC_asymmetric_warfare focus = PRC_conventional_warfare focus = PRC_indirect_fire } x = 1 y = 2 relative_position_id = PRC_red_army_reborn cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MANPOWER} completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.05 tooltip = conscription_factor_tt } add_to_variable = { PRC_the_chinese_army_training_time_factor = -0.05 tooltip = training_time_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_manpower = 25000 } } focus = { id = PRC_cooperate_ulanhu icon = GFX_focus_PRC_cooperate_with_ulanhu prerequisite = { focus = PRC_red_army_reborn } x = 0 y = 1 relative_position_id = PRC_red_army_reborn cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL} completion_reward = { effect_tooltip = { add_corps_commander_role = { character = PRC_ulanhu traits={ } skill=2 attack_skill=2 defense_skill=2 planning_skill=1 logistics_skill=4 legacy_id=-1 } } hidden_effect = { division_template = { name = "Morit Diviziin" is_locked = no division_names_group = MON_CAV_01 #template_counter = 118 regiments = { militia = { x = 0 y = 0 } militia = { x = 0 y = 1 } militia = { x = 0 y = 2 } cavalry = { x = 1 y = 0 } cavalry = { x = 1 y = 1 } cavalry = { x = 1 y = 2 } cavalry = { x = 1 y = 3 } } support = { } } } random_owned_controlled_state = { prioritize = { 7659 } create_unit = { division = "name = \"Morit Diviziin\" division_template = \"Morit Diviziin\" start_experience_factor = 0.3 start_equipment_factor = 0.9 " owner = PRC prioritize_location = 7659 allow_spawning_on_enemy_provs = no count = 2 } } } } focus = { id = PRC_lessons_learnt icon = GFX_focus_PRC_immediate_response_to_lack_of_army prerequisite = { focus = PRC_to_steal_an_army } prerequisite = { focus = PRC_revolutionary_war_of_the_masses } x = 0 y = 2 relative_position_id = PRC_cooperate_ulanhu cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ARMY_XP} completion_reward = { PRC_check_if_red_army_or_pla = yes add_to_variable = { PRC_the_chinese_army_experience_gain_army_factor = 0.1 tooltip = experience_gain_army_factor_tt } if = { limit = { NOT = { has_completed_focus = PRC_asymmetric_warfare has_completed_focus = PRC_conventional_warfare has_completed_focus = PRC_indirect_fire } } custom_effect_tooltip = PRC_asymmetric_warfare_completed_tt add_to_variable = { PRC_the_chinese_red_army_org_loss_when_moving = -0.05 tooltip = org_loss_when_moving_tt } custom_effect_tooltip = PRC_conventional_warfare_completed_tt add_to_variable = { PRC_the_chinese_red_army_max_planning_factor = 0.05 tooltip = max_planning_factor_tt } custom_effect_tooltip = PRC_indirect_fire_completed_tt add_to_variable = { PRC_the_chinese_red_army_army_artillery_attack_factor = 0.1 tooltip = army_artillery_attack_factor_tt } } else_if = { limit = { has_completed_focus = PRC_asymmetric_warfare } add_to_variable = { PRC_the_chinese_red_army_org_loss_when_moving = -0.05 tooltip = org_loss_when_moving_tt } } else_if = { limit = { has_completed_focus = PRC_indirect_fire } add_to_variable = { PRC_the_chinese_red_army_army_artillery_attack_factor = 0.05 tooltip = army_artillery_attack_factor_tt } } else = { add_to_variable = { PRC_the_chinese_red_army_max_planning_factor = 0.05 tooltip = max_planning_factor_tt } } } } focus = { id = PRC_prepare_for_third_phase icon = GFX_focus_SOV_the_glory_of_the_red_army_communism prerequisite = { focus = PRC_lessons_learnt } x = 0 y = 1 relative_position_id = PRC_lessons_learnt cost = 10 ai_will_do = { factor = 1 } available = { has_army_manpower = { size > 99999 } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_training_time_factor = -0.05 tooltip = training_time_factor_tt } add_to_variable = { PRC_the_chinese_army_army_org_factor = 0.05 tooltip = army_org_factor_tt } } } focus = { id = PRC_peoples_liberation_army_sea icon = GFX_focus_PRC_peoples_liberation_army prerequisite = { focus = PRC_prepare_for_third_phase } x = -7 y = 1 relative_position_id = PRC_prepare_for_third_phase cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ARMY_XP FOCUS_FILTER_HISTORICAL } completion_reward = { army_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_rename_red_army_tt custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_pla_ground_force_modify_tt add_to_variable = { PRC_the_chinese_army_training_time_factor = -0.1 tooltip = training_time_factor_tt } hidden_effect = { remove_dynamic_modifier = { modifier = PRC_the_chinese_red_army } add_dynamic_modifier = { modifier = PRC_pla_ground_force } } } } focus = { id = PRC_best_of_the_best icon = GFX_goal_generic_allies_build_infantry prerequisite = { focus = PRC_peoples_liberation_army_sea } mutually_exclusive = { focus = PRC_one_with_the_people } x = 1 y = 1 relative_position_id = PRC_peoples_liberation_army_sea cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MANPOWER} completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_conscription_factor = -0.25 tooltip = conscription_factor_tt } add_to_variable = { PRC_the_chinese_red_army_army_morale_factor = 0.1 tooltip = army_morale_factor_tt } add_to_variable = { PRC_the_chinese_red_army_max_planning_factor = 0.1 tooltip = max_planning_factor_tt } } } focus = { id = PRC_one_with_the_people icon = GFX_focus_GER_proletarian_dictatorship prerequisite = { focus = PRC_peoples_liberation_army_sea } mutually_exclusive = { focus = PRC_best_of_the_best } x = -1 y = 1 relative_position_id = PRC_peoples_liberation_army_sea cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MANPOWER} completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.075 tooltip = conscription_factor_tt } add_to_variable = { PRC_the_chinese_red_army_army_infantry_attack_factor = 0.05 tooltip = army_infantry_attack_factor_tt } } } focus = { id = PRC_night_attack icon = GFX_focus_generic_army_attack prerequisite = { focus = PRC_one_with_the_people } x = -1 y = 1 relative_position_id = PRC_one_with_the_people cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_land_night_attack = 0.1 tooltip = land_night_attack_tt } } } focus = { id = PRC_reorganize_divisions icon = GFX_focus_PRC_reorganize_divisions prerequisite = { focus = PRC_best_of_the_best } x = 1 y = 1 relative_position_id = PRC_best_of_the_best cost = 10 cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_army_org_factor = 0.05 tooltip = army_org_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt every_unit_leader = { random_select_amount = 4 gain_xp = 500 } } } focus = { id = PRC_role_of_kangda icon = GFX_focus_PRC_role_of_kangda prerequisite = { focus = PRC_best_of_the_best focus = PRC_one_with_the_people } x = -1 y = 1 relative_position_id = PRC_best_of_the_best cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { add_tech_bonus = { name = PRC_role_of_kangda bonus = 0.25 uses = 2 category = infantry_weapons } add_mastery_bonus = { bonus = 0.2 days = 365 name = PRC_role_of_kangda track = operations } } } focus = { id = PRC_develop_the_army icon = GFX_focus_PRC_develop_the_army prerequisite = { focus = PRC_role_of_kangda } prerequisite = { focus = PRC_reorganize_divisions focus = PRC_night_attack } x = 0 y = 1 relative_position_id = PRC_role_of_kangda cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_tech_bonus = { name = PRC_develop_the_army bonus = 0.5 uses = 1 category = artillery # optional } add_tech_bonus = { name = PRC_develop_the_army bonus = 0.25 uses = 3 category = armor # optional } } } focus = { id = PRC_to_serve_the_people icon = GFX_focus_generic_concessions prerequisite = { focus = PRC_develop_the_army } x = -1 y = 1 relative_position_id = PRC_develop_the_army cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MANPOWER} completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_training_time_factor = -0.075 tooltip = training_time_factor_tt } add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.025 tooltip = conscription_factor_tt } } } focus = { id = PRC_prepare_for_596 icon = GFX_focus_wonderweapons prerequisite = { focus = PRC_to_serve_the_people } x = 0 y = 1 relative_position_id = PRC_to_serve_the_people cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_breakthrough_progress = { specialization = specialization_nuclear value = 0.5 } add_tech_bonus = { name = PRC_prepare_for_596 bonus = 0.25 uses = 1 category = nuclear # optional } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = GER_unlock_national_nuclear_corporation_tt custom_effect_tooltip = { localization_key = available_scientist_one_line_tt CHARACTER = PRC_qian_sanqiang } custom_effect_tooltip = { localization_key = available_scientist_one_line_tt CHARACTER = PRC_he_zehui } } } focus = { id = PRC_increase_domestic_production_capacity icon = GFX_goal_generic_production2 prerequisite = { focus = PRC_develop_the_army } x = 1 y = 1 relative_position_id = PRC_develop_the_army cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { random_owned_controlled_state = { limit = { free_building_slots = { building = arms_factory size > 3 include_locked = yes } } prioritize = { 1032 622 } #Yan'An and Shaanxi add_extra_state_shared_building_slots = 4 add_building_construction = { type = arms_factory level = 4 instant_build = yes } } } } focus = { id = PRC_army_tank_research icon = GFX_focus_generic_tank_production prerequisite = { focus = PRC_increase_domestic_production_capacity } x = 0 y = 1 relative_position_id = PRC_increase_domestic_production_capacity cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_RESEARCH} completion_reward = { add_tech_bonus = { name = PRC_army_tank_research bonus = 0.25 uses = 3 category = armor } custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_army_armor_attack_factor = 0.05 tooltip = army_armor_attack_factor_tt } } } focus = { id = PRC_army_doctrines icon = GFX_focus_PRC_army_doctrines prerequisite = { focus = PRC_army_tank_research focus = PRC_prepare_for_596 } x = -2 y = 1 relative_position_id = PRC_army_tank_research cost = 5 ai_will_do = { factor = 1 } available = { OR = { has_doctrine = new_mobile_warfare has_doctrine = superior_firepower has_doctrine = grand_battleplan has_doctrine = mass_assault } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_army_doctrines_tt if = { limit = { has_doctrine = new_mobile_warfare } custom_effect_tooltip = PRC_army_doctrines_mobile_warfare_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_army_armor_attack_factor = 0.05 tooltip = army_armor_attack_factor_tt } } else_if = { limit = { has_doctrine = superior_firepower } custom_effect_tooltip = PRC_army_doctrines_superior_firepower__tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_army_artillery_attack_factor = 0.1 tooltip = army_artillery_attack_factor_tt } } else_if = { limit = { has_doctrine = grand_battleplan } custom_effect_tooltip = PRC_army_doctrines_grand_battleplan_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_max_planning_factor = 0.05 tooltip = max_planning_factor_tt } } else_if = { limit = { has_doctrine = mass_assault } custom_effect_tooltip = PRC_army_doctrines_mass_assault_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_red_army_army_infantry_attack_factor = 0.05 tooltip = army_infantry_attack_factor_tt } } } } focus = { id = PRC_appeal_for_foreign_aid icon = GFX_focus_generic_tankette prerequisite = { focus = PRC_army_tank_research focus = PRC_prepare_for_596 } x = 0 y = 1 relative_position_id = PRC_army_tank_research cost = 10 ai_will_do = { factor = 1 } enable_automatic_bypass = no available = { SOV = { exists = yes surrender_progress < 0.2 is_subject = no has_government = communism } } bypass = { SOV = { OR = { exists = no is_subject = yes surrender_progress > 0.2 NOT = { has_government = communism } } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { custom_effect_tooltip = PRC_appeal_for_foreign_aid_unlock_decision_tt custom_effect_tooltip = generic_skip_one_line_tt PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_army_armor_attack_factor = 0.05 tooltip = army_armor_attack_factor_tt } } } focus = { id = PRC_a_modern_army icon = GFX_focus_PRC_a_modern_army prerequisite = { focus = PRC_army_doctrines } prerequisite = { focus = PRC_appeal_for_foreign_aid } x = -1 y = 1 relative_position_id = PRC_appeal_for_foreign_aid cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_XP} completion_reward = { PRC_check_if_red_army_or_pla = yes ## For localisation reasons, if hasn't completed it display "Modify Red Army" when hover over, if has then display "Modify PLA" add_to_variable = { PRC_the_chinese_army_experience_gain_army_factor = 0.1 tooltip = experience_gain_army_factor_tt } add_to_variable = { PRC_the_chinese_army_training_time_factor = -0.025 tooltip = training_time_factor_tt } add_to_variable = { PRC_the_chinese_army_army_org_factor = 0.05 tooltip = army_org_factor_tt } add_to_variable = { PRC_the_chinese_army_conscription_factor = 0.025 tooltip = conscription_factor_tt } } } ### #### ######## ######## ####### ######## ###### ######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ######## ###### ## ## ######## ## ###### ######### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #### ## ## ## ####### ## ## ###### ######## focus = { id = PRC_establish_pla_air_force icon = GFX_focus_PRC_establish_pla_air_force prerequisite = { focus = PRC_prepare_for_third_phase } x = 0 y = 1 relative_position_id = PRC_prepare_for_third_phase cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_AIR_XP FOCUS_FILTER_HISTORICAL } completion_reward = { air_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { add_ideas = { PRC_pla_air_force_fake_idea } } hidden_effect = { add_dynamic_modifier = { modifier = PRC_pla_air_force } } } } focus = { id = PRC_pilot_training icon = GFX_focus_PRC_pilot_training prerequisite = { focus = PRC_establish_pla_air_force } x = 0 y = 1 relative_position_id = PRC_establish_pla_air_force cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_pla_air_force_modify_tt add_to_variable = { PRC_pla_air_force_air_ace_generation_chance_factor = 0.075 tooltip = air_ace_generation_chance_factor_tt } } } focus = { id = PRC_appoint_chang_qiankun icon = GFX_focus_PRC_appoint_chang_qiankun prerequisite = { focus = PRC_pilot_training } x = -1 y = 1 relative_position_id = PRC_pilot_training cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL} completion_reward = { add_political_power = 100 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_chief_of_airforce show_ideas_tooltip = PRC_chang_qiankun } } focus = { id = PRC_the_northeast_aviation_university_sea icon = GFX_focus_PRC_the_northeast_aviation_university_sea prerequisite = { focus = PRC_appoint_chang_qiankun } x = 0 y = 1 relative_position_id = PRC_appoint_chang_qiankun cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { add_tech_bonus = { name = PRC_the_northeast_aviation_university_sea bonus = 0.25 uses = 4 category = air_equipment # technology = technology_id # optional } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = PRC_the_northeast_aviation_university_sea cost_reduction = 0.25 uses = 2 category = air_doctrine } custom_effect_tooltip = generic_skip_one_line_tt add_mastery_bonus = { bonus = 0.2 days = 365 name = PRC_the_northeast_aviation_university_sea folder = air } } } focus = { id = PRC_form_the_5th_research_institute icon = GFX_focus_generic_air_research_boost prerequisite = { focus = PRC_the_northeast_aviation_university_sea } #prerequisite = { focus = PRC_establish_domestic_aircraft_production } x = 0 y = 2 relative_position_id = PRC_the_northeast_aviation_university_sea cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL } completion_reward = { if = { ## If don't have an air facility, then grant it, otherwise give tech bonuses limit = { any_owned_state = { is_controlled_by = ROOT air_facility < 1 } } random_owned_controlled_state = { construct_building_in_random_province = { air_facility = 1 } } } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = PRC_form_the_5th_research_institute cost_reduction = 0.25 uses = 1 category = air_doctrine } add_tech_bonus = { name = PRC_form_the_5th_research_institute bonus = 0.25 uses = 1 category = light_fighter } add_tech_bonus = { name = PRC_form_the_5th_research_institute bonus = 0.25 uses = 1 category = medium_air } } } focus = { id = PRC_aviation_infrastructure icon = GFX_focus_generic_air_bases prerequisite = { focus = PRC_pilot_training} x = 1 y = 1 relative_position_id = PRC_pilot_training cost = 5 ai_will_do = { factor = 1 } available = { if = { limit = { has_dlc = "By Blood Alone" } OR = { has_tech = bba_early_transport_plane has_tech = iw_small_airframe has_tech = iw_medium_airframe has_tech = iw_large_airframe } } else = { OR = { has_tech = early_fighter has_tech = early_bomber has_tech = early_transport_plane } } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { every_owned_state = { limit = { air_base < 1 } random_select_amount = 3 add_building_construction = { type = air_base level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = PRC_aviation_infrastructure bonus = 0.25 uses = 2 category = radar_tech } } } focus = { id = PRC_anti_air_effort icon = GFX_focus_PRC_anti_air_effort prerequisite = { focus = PRC_aviation_infrastructure } x = 0 y = 1 relative_position_id = PRC_aviation_infrastructure cost = 5 ai_will_do = { factor = 1 } available = { has_tech = interwar_antiair } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { every_owned_state = { # limit = { anti_air_building < 2 } random_select_amount = 3 add_building_construction = { type = anti_air_building level = 2 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = PRC_aviation_infrastructure #Usually the name of the focus decision or event that grants the bonus bonus = 0.5 uses = 1 category = cat_anti_air } } } focus = { id = PRC_strengthen_the_air_arsenal icon = GFX_focus_SMB_purchase_aircraft prerequisite = { focus = PRC_anti_air_effort } #prerequisite = { focus = PRC_establish_domestic_aircraft_production } x = 0 y = 2 relative_position_id = PRC_anti_air_effort cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_tech_bonus = { name = PRC_strengthen_the_air_arsenal bonus = 0.25 uses = 2 category = air_equipment } custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_air value = 0.75 } } } focus = { id = PRC_establish_domestic_aircraft_production icon = GFX_focus_PRC_establish_domestic_aircraft_production prerequisite = { focus = PRC_aviation_infrastructure } prerequisite = { focus = PRC_appoint_chang_qiankun } x = -1 y = 2 relative_position_id = PRC_aviation_infrastructure cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { random_owned_controlled_state = { limit = { free_building_slots = { building = arms_factory size > 1 include_locked = yes } } prioritize = { 1032 622 } #Yan'An and Shaanxi add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 2 instant_build = yes } } if = { limit = { has_dlc = "Arms Against Tyranny" } mio:PRC_harbin_aircraft_industry_group_organization = { add_mio_funds = 250 } mio:PRC_peoples_aviation_company_of_china_organization = { add_mio_funds = 250 } } } } focus = { id = PRC_light_plane_focus icon = GFX_goal_generic_air_fighter prerequisite = { focus = PRC_form_the_5th_research_institute focus = PRC_strengthen_the_air_arsenal } mutually_exclusive = { focus = PRC_medium_plane_focus focus = PRC_large_plane_focus } x = -2 y = 2 relative_position_id = PRC_establish_domestic_aircraft_production cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_pla_air_force_modify_tt add_to_variable = { PRC_pla_air_force_air_agility_factor = 0.05 tooltip = air_agility_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } mio:PRC_peoples_aviation_company_of_china_organization = { add_mio_size = 1 } } } } focus = { id = PRC_medium_plane_focus icon = GFX_focus_generic_multi_role_aircraft prerequisite = { focus = PRC_form_the_5th_research_institute focus = PRC_strengthen_the_air_arsenal } mutually_exclusive = { focus = PRC_light_plane_focus focus = PRC_large_plane_focus } x = 0 y = 2 relative_position_id = PRC_establish_domestic_aircraft_production cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_pla_air_force_modify_tt add_to_variable = { PRC_pla_air_force_air_cas_present_factor = 0.05 tooltip = air_cas_present_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } mio:PRC_harbin_aircraft_industry_group_organization = { add_mio_funds = 500 } mio:PRC_peoples_aviation_company_of_china_organization = { add_mio_funds = 500 } } } } focus = { id = PRC_large_plane_focus icon = GFX_focus_generic_long_range_aircraft prerequisite = { focus = PRC_form_the_5th_research_institute focus = PRC_strengthen_the_air_arsenal } mutually_exclusive = { focus = PRC_light_plane_focus focus = PRC_medium_plane_focus } x = 2 y = 2 relative_position_id = PRC_establish_domestic_aircraft_production cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_pla_air_force_modify_tt add_to_variable = { PRC_pla_air_force_air_strategic_bomber_bombing_factor = 0.05 tooltip = air_strategic_bomber_bombing_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } mio:PRC_harbin_aircraft_industry_group_organization = { add_mio_size = 1 } } } } focus = { id = PRC_air_force_capstone icon = GFX_focus_PRC_air_force_capstone prerequisite = { focus = PRC_large_plane_focus focus = PRC_light_plane_focus focus = PRC_medium_plane_focus } x = 0 y = 1 relative_position_id = PRC_medium_plane_focus cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_pla_air_force_modify_tt add_to_variable = { PRC_pla_air_force_air_ace_generation_chance_factor = 0.15 tooltip = air_ace_generation_chance_factor_tt } add_to_variable = { PRC_pla_air_force_air_cas_efficiency = 0.05 tooltip = air_cas_efficiency_tt } add_to_variable = { PRC_pla_air_force_air_intercept_efficiency = 0.025 tooltip = air_intercept_efficiency_tt } } } ## ## ### ## ## ## ## ### ## ## ## ## ## ## ## #### ## ## ## ## ## #### ## ## ## ## ## ## ## ## ## #### ######### ## ## ## ## ### ## ## ## ## ## ## ## ## ## ### ## focus = { id = PRC_establish_pla_navy icon = GFX_focus_PRC_establish_pla_navy prerequisite = { focus = PRC_prepare_for_third_phase } x = 7 y = 1 relative_position_id = PRC_prepare_for_third_phase cost = 5 ai_will_do = { factor = 1 } available = { any_owned_state = { is_coastal = yes is_controlled_by = ROOT } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_NAVY_XP FOCUS_FILTER_HISTORICAL } completion_reward = { navy_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt add_dynamic_modifier = { modifier = PRC_pla_navy } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = PRC_establish_pla_navy bonus = 0.4 uses = 1 category = dd_tech # technology = technology_id # optional } add_tech_bonus = { name = PRC_establish_pla_navy bonus = 0.3 uses = 1 category = mio_cat_tech_all_submarine_and_modules # technology = technology_id # optional } add_tech_bonus = { name = PRC_establish_pla_navy bonus = 0.25 uses = 2 category = mio_cat_tech_all_cruiser_and_modules # technology = technology_id # optional } add_tech_bonus = { name = PRC_establish_pla_navy bonus = 0.15 uses = 1 category = bb_tech # technology = technology_id # optional } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } unlock_military_industrial_organization_tooltip = mio:PRC_shipbuilding_industry_bureau_organization } } } focus = { id = PRC_dockyard_construction_efforts icon = GFX_focus_generic_refit_civilian_ships prerequisite = { focus = PRC_establish_pla_navy } x = -2 y = 1 relative_position_id = PRC_establish_pla_navy cost = 10 ai_will_do = { factor = 1 } available = { any_owned_state = { is_coastal = yes is_controlled_by = ROOT } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { NOT = { any_owned_state = { is_coastal = yes is_controlled_by = ROOT } } } custom_effect_tooltip = PRC_dockyard_construction_efforts_tt } random_owned_controlled_state = { limit = { is_coastal = yes free_building_slots = { building = dockyard size > 3 include_locked = yes } } add_extra_state_shared_building_slots = 4 add_building_construction = { type = dockyard level = 4 instant_build = yes } } } } focus = { id = PRC_naval_mio icon = GFX_focus_POL_develop_polish_shipbuilding prerequisite = { focus = PRC_establish_pla_navy } x = 2 y = 1 relative_position_id = PRC_establish_pla_navy cost = 5 ai_will_do = { factor = 1 } available = { any_owned_state = { is_coastal = yes is_controlled_by = ROOT } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { has_dlc = "Arms Against Tyranny" } mio:PRC_shipbuilding_industry_bureau_organization = { add_mio_size = 1 } } else = { random_owned_controlled_state = { limit = { is_coastal = yes free_building_slots = { building = dockyard size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = dockyard level = 1 instant_build = yes } } } } } focus = { id = PRC_destroyers icon = GFX_focus_generic_destroyer prerequisite = { focus = PRC_naval_mio focus = PRC_dockyard_construction_efforts } x = 2 y = 1 relative_position_id = PRC_dockyard_construction_efforts cost = 10 ai_will_do = { factor = 1 } enable_automatic_bypass = no available = { any_owned_state = { is_coastal = yes is_controlled_by = ROOT } has_tech = basic_ship_hull_light ## 1936 SOV = { exists = yes is_subject = no has_government = communism } } bypass = { SOV = { OR = { exists = no is_subject = yes NOT = { has_government = communism } } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { create_equipment_variant = { name = "Anshan Class" type = ship_hull_light_2 # equipment type id, example: ship_hull_carrier_2 allow_without_tech = yes #Makes no difference since requires tech, but it improves tooltip modules = { fixed_ship_battery_slot = ship_light_battery_2 fixed_ship_anti_air_slot = ship_anti_air_1 fixed_ship_fire_control_system_slot = ship_fire_control_system_0 fixed_ship_radar_slot = empty fixed_ship_engine_slot = light_ship_engine_2 fixed_ship_torpedo_slot = ship_torpedo_1 rear_1_custom_slot = ship_depth_charge_1 } name_group = CHI_DD_HISTORICAL } add_equipment_production = { equipment = { type = ship_hull_light_2 version_name = "Anshan Class" } name = "Anshan" requested_factories = 1 progress = 0.75 amount = 1 } add_equipment_production = { equipment = { type = ship_hull_light_2 version_name = "Anshan Class" } name = "Fushun" requested_factories = 1 progress = 0.75 amount = 1 } add_equipment_production = { equipment = { type = ship_hull_light_2 version_name = "Anshan Class" } name = "Changchun" requested_factories = 1 progress = 0.75 amount = 1 } add_equipment_production = { equipment = { type = ship_hull_light_2 version_name = "Anshan Class" } name = "Taiyuan" requested_factories = 1 progress = 0.75 amount = 1 } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = PRC_destroyers bonus = 0.25 uses = 2 category = mio_cat_tech_all_destroyer_and_modules # technology = technology_id # optional } custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_naval value = 0.25 } } } focus = { id = PRC_submarines icon = GFX_focus_PRC_submarines prerequisite = { focus = PRC_destroyers } x = 0 y = 1 relative_position_id = PRC_destroyers cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_pla_navy_modify_tt add_to_variable = { PRC_pla_navy_navy_submarine_attack_factor = 0.075 tooltip = navy_submarine_attack_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = PRC_submarines bonus = 0.25 uses = 2 category = ss_tech } } } focus = { id = PRC_the_pla_naval_school icon = GFX_focus_PRC_the_pla_naval_school prerequisite = { focus = PRC_dockyard_construction_efforts } x = 0 y = 2 relative_position_id = PRC_dockyard_construction_efforts cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = { FOCUS_FILTER_HISTORICAL } completion_reward = { add_doctrine_cost_reduction = { cost_reduction = 0.25 uses = 3 category = naval_doctrine } custom_effect_tooltip = generic_skip_one_line_tt add_mastery_bonus = { bonus = 0.1 days = 400 name = PRC_the_pla_naval_school folder = naval } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_pla_navy_modify_tt add_to_variable = { PRC_pla_navy_naval_coordination = 0.025 tooltip = naval_coordination_tt } } } focus = { id = PRC_reappoint_jinguang_as_admiral icon = GFX_focus_PRC_appoint_xiao_jianguang prerequisite = { focus = PRC_the_pla_naval_school } x = 0 y = 2 relative_position_id = PRC_the_pla_naval_school cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL} completion_reward = { PRC_ziao_jingguang = { remove_unit_leader_role = yes add_naval_commander_role = { character = PRC_ziao_jingguang traits = {navy_career_officer } skill = 3 attack_skill = 2 defense_skill = 2 maneuvering_skill = 1 coordination_skill = 2 legacy_id = -1 } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_chief_of_navy show_ideas_tooltip = PRC_ziao_jingguang } } focus = { id = PRC_naval_infrastructure_effort icon = GFX_focus_generic_navy_research_bonus prerequisite = { focus = PRC_naval_mio } x = 0 y = 2 relative_position_id = PRC_naval_mio cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_coastal = yes is_controlled_by = ROOT } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { NOT = { any_core_state = { is_coastal = yes is_controlled_by = ROOT } } } custom_effect_tooltip = PRC_naval_infrastructure_effort_tt } if = { ## If you have any naval bases, build in those limit = { any_core_state = { is_coastal = yes is_controlled_by = ROOT naval_base > 0 } } if = { ## If dou don't have a naval HQ, build one limit = { NOT = { any_core_state = { naval_headquarters > 0 } } } if = { ## Fixed so that it prioritizes states that have just 1 naval base, prevents edge case random_core_state = { limit = { is_coastal = yes is_controlled_by = ROOT naval_base > 0 naval_base < 2 ## Fixed so that it prioritizes states that have just 1 naval base, prevents edge case } add_building_construction = { ## Improve already existing naval base type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_naval_base = yes } } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } add_building_construction = { type = naval_headquarters level = 1 instant_build = yes province = { all_provinces = yes limit_to_naval_base = yes } } } } else = { # Better to have it build in a state with no naval base than build several HQs random_core_state = { limit = { is_coastal = yes is_controlled_by = ROOT #naval_base > 0 Better to have it build in a state with no naval base than build several HQs } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes #limit_to_naval_base = yes } } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } add_building_construction = { type = naval_headquarters level = 1 instant_build = yes province = { all_provinces = yes limit_to_naval_base = yes } } } } } else = { ## You have a naval HQ already random_core_state = { limit = { is_coastal = yes is_controlled_by = ROOT naval_base > 0 } add_building_construction = { ## Improve already existing naval base type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_naval_base = yes } } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } } } } else_if = { ## If don't have a naval HQ, build one limit = { NOT = { any_core_state = { naval_headquarters > 0 } } } random_core_state = { limit = { is_coastal = yes is_controlled_by = ROOT } add_building_construction = { type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes } } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } add_building_construction = { type = naval_headquarters level = 1 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes } } } } else = { ## You have a naval HQ already, just build naval base random_core_state = { limit = { is_coastal = yes is_controlled_by = ROOT naval_base > 0 } add_building_construction = { ## Improve already existing naval base type = naval_base level = 2 instant_build = yes province = { all_provinces = yes limit_to_coastal = yes } } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } construct_building_in_random_province = { coastal_bunker = 2 #level = 2 } } } } } focus = { id = PRC_cruisers icon = GFX_focus_generic_cruiser2 prerequisite = { focus = PRC_naval_infrastructure_effort focus = PRC_the_pla_naval_school } x = 1 y = 1 relative_position_id = PRC_the_pla_naval_school cost = 10 ai_will_do = { factor = 1 } enable_automatic_bypass = no available = { any_owned_state = { is_coastal = yes is_controlled_by = ROOT } has_tech = basic_ship_hull_cruiser ## 1936 SOV = { exists = yes is_subject = no has_government = communism } } bypass = { SOV = { OR = { exists = no is_subject = yes NOT = { has_government = communism } } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { create_equipment_variant = { name = "Kirov Class" type = ship_hull_cruiser_2 allow_without_tech = yes #Makes no difference since requires tech, but it improves tooltip name_group = CHI_CA_HISTORICAL modules = { fixed_ship_battery_slot = ship_medium_battery_1 fixed_ship_anti_air_slot = ship_anti_air_1 fixed_ship_fire_control_system_slot = ship_fire_control_system_0 fixed_ship_radar_slot = empty fixed_ship_engine_slot = cruiser_ship_engine_2 fixed_ship_armor_slot = ship_armor_cruiser_1 mid_1_custom_slot = ship_airplane_launcher_1 mid_2_custom_slot = ship_anti_air_1 rear_1_custom_slot = ship_medium_battery_1 } } add_equipment_production = { equipment = { type = ship_hull_cruiser_2 version_name = "Kirov Class" } name = "Haihong" requested_factories = 1 progress = 0.25 amount = 1 } add_equipment_production = { equipment = { type = ship_hull_cruiser_2 version_name = "Kirov Class" } name = "Donghai" requested_factories = 1 progress = 0.25 amount = 1 } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = PRC_cruisers bonus = 0.15 uses = 4 category = mio_cat_tech_all_cruiser_and_modules } custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_naval value = 0.25 } } } focus = { id = PRC_capital_ships icon = GFX_goal_generic_navy_battleship prerequisite = { focus = PRC_naval_infrastructure_effort focus = PRC_the_pla_naval_school } x = 3 y = 1 relative_position_id = PRC_the_pla_naval_school cost = 10 ai_will_do = { factor = 1 } enable_automatic_bypass = no available = { any_owned_state = { is_coastal = yes is_controlled_by = ROOT } has_tech = basic_ship_hull_heavy ## 1940 SOV = { exists = yes is_subject = no has_government = communism } } bypass = { SOV = { OR = { exists = no is_subject = yes NOT = { has_government = communism } } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { create_equipment_variant = { name = "Kronshtadt Class" type = ship_hull_heavy_2 allow_without_tech = yes #Makes no difference since requires tech, but it improves tooltip modules = { fixed_ship_battery_slot = ship_heavy_battery_1 fixed_ship_anti_air_slot = ship_anti_air_1 fixed_ship_fire_control_system_slot = ship_fire_control_system_0 fixed_ship_radar_slot = empty fixed_ship_engine_slot = heavy_ship_engine_2 fixed_ship_secondaries_slot = ship_secondaries_1 fixed_ship_armor_slot = ship_armor_bc_2 front_1_custom_slot = ship_heavy_battery_1 mid_1_custom_slot = ship_secondaries_1 mid_2_custom_slot = ship_anti_air_1 rear_1_custom_slot = ship_airplane_launcher_1 } name_group = CHI_BB_HISTORICAL } add_equipment_production = { equipment = { type = ship_hull_heavy_2 version_name = "Kronshtadt Class" } name = "Yan'an" requested_factories = 1 progress = 0.1 amount = 1 } add_tech_bonus = { name = PRC_capital_ships bonus = 0.25 uses = 1 category = mio_cat_tech_all_capital_ship_and_modules } add_breakthrough_progress = { specialization = specialization_naval value = 0.25 } } } focus = { id = PRC_carriers icon = GFX_focus_generic_air_carrier prerequisite = { focus = PRC_capital_ships } prerequisite = { focus = PRC_cruisers } x = 1 y = 1 relative_position_id = PRC_cruisers cost = 10 ai_will_do = { factor = 1 } available = { any_owned_state = { is_coastal = yes is_controlled_by = ROOT } } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_tech_bonus = { name = PRC_carriers bonus = 0.25 uses = 2 category = cv_tech } custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_naval value = 0.25 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PRC_pla_navy_modify_tt add_to_variable = { PRC_pla_navy_sortie_efficiency = 0.1 tooltip = sortie_efficiency_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } mio:PRC_dalian_shipbuilding_company_organization = { add_mio_size = 1 unlock_mio_trait_tooltip = PRC_dalian_shipbuilding_company_carrier_learners } } } } focus = { id = PRC_naval_guns icon = GFX_focus_ARG_study_the_battle_of_the_river_plate prerequisite = { focus = PRC_naval_infrastructure_effort } x = 0 y = 2 relative_position_id = PRC_naval_infrastructure_effort cost = 5 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_tech_bonus = { name = PRC_naval_guns bonus = 0.25 uses = 6 category = ship_modules_tech } } } focus = { id = PRC_naval_ocean_navy icon = GFX_goal_generic_navy_doctrines_tactics prerequisite = { focus = PRC_reappoint_jinguang_as_admiral } prerequisite = { focus = PRC_naval_guns } x = 2 y = 1 relative_position_id = PRC_reappoint_jinguang_as_admiral cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_pla_navy_modify_tt add_to_variable = { PRC_pla_navy_navy_max_range_factor = 0.2 tooltip = navy_max_range_factor_tt } add_to_variable = { PRC_pla_navy_navy_org_factor = 0.025 tooltip = navy_org_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = PRC_naval_ocean_navy cost_reduction = 0.25 uses = 5 category = naval_doctrine } } } focus = { id = PRC_naval_capstone icon = GFX_focus_PRC_naval_capstone prerequisite = { focus = PRC_naval_ocean_navy } x = 0 y = 1 relative_position_id = PRC_naval_ocean_navy cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = PRC_pla_navy_modify_tt add_to_variable = { PRC_pla_navy_industrial_capacity_dockyard = 0.1 tooltip = industrial_capacity_dockyard_tt } add_to_variable = { PRC_pla_navy_naval_accidents_chance = -0.05 tooltip = naval_accidents_chance_tt } add_to_variable = { PRC_pla_navy_naval_coordination = 0.025 tooltip = naval_coordination_tt } add_to_variable = { PRC_pla_navy_navy_org_factor = 0.025 tooltip = navy_org_factor_tt } if = { limit = { has_dlc = "Arms Against Tyranny" } custom_effect_tooltip = generic_skip_one_line_tt mio:PRC_dalian_shipbuilding_company_organization = { unlock_mio_trait_tooltip = { trait = PRC_dalian_shipbuilding_company_mass_production_carriers_trait } } } } } focus = { id = PRC_central_military_commision icon = GFX_focus_PRC_central_military_commision prerequisite = { focus = PRC_naval_capstone } prerequisite = { focus = PRC_air_force_capstone } prerequisite = { focus = PRC_a_modern_army } x = 0 y = 1 relative_position_id = PRC_air_force_capstone cost = 10 ai_will_do = { factor = 1 } available = { } bypass = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no search_filters = {FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_HISTORICAL} completion_reward = { add_ideas = PRC_central_military_commission_idea custom_effect_tooltip = generic_skip_one_line_tt every_army_leader = { add_planning = 1 } custom_effect_tooltip = generic_skip_one_line_tt army_experience = 25 navy_experience = 25 air_experience = 25 } } }