### 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_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 = mu_czech_focus country = { factor = 0 modifier = { add = 50 tag = CZE has_dlc = "Peace For Our Time" } } initial_show_position = { focus = CZE_coalition_building offset = { x = -32 y = 0 trigger = { has_completed_focus = CZE_appeal_to_the_castle } } } default = no shortcut = { name = CZE_military_path_shortcut target = CZE_continue_armed_force_reform scroll_wheel_factor = 0.60 } shortcut = { name = CZE_economic_path_shortcut target = CZE_raise_more_industrial_funds scroll_wheel_factor = 0.70 } shortcut = { name = CZE_diplomacy_path_shortcut target = CZE_forgive_trading_debts scroll_wheel_factor = 0.95 trigger = { NOT = { has_completed_focus = CZE_appeal_to_the_castle } } } shortcut = { name = CZE_political_path_shortcut target = CZE_coalition_building scroll_wheel_factor = 0.47 trigger = { NOT = { OR = { has_completed_focus = CZE_appeal_to_the_castle has_completed_focus = CZE_coalition_building } } } } shortcut = { name = CZE_political_path_shortcut target = CZE_coalition_building scroll_wheel_factor = 0.62 trigger = { has_completed_focus = CZE_coalition_building NOT = { has_completed_focus = CZE_appeal_to_the_castle } } } shortcut = { name = CZE_political_path_shortcut target = CZE_appeal_to_the_castle scroll_wheel_factor = 0.61 trigger = { has_completed_focus = CZE_appeal_to_the_castle NOT = { has_completed_focus = CZE_coalition_building } } } shortcut = { name = CZE_fort_path_shortcut target = CZE_the_second_fortification_program scroll_wheel_factor = 0.90 trigger = { NOT = { OR = { has_completed_focus = CZE_redirect_the_fortification_councils_funds has_completed_focus = CZE_the_second_fortification_program #You found it! Now go away :( } } } } shortcut = { name = CZE_skoda_priority_shortcut_name target = CZE_skoda_priority_shortcut_finder scroll_wheel_factor = 0.80 } continuous_focus_position = { x = 350 y = 1800 } ####################################################################################################################################################### ## ## ## !DANGER - If you change focus offsets and X,Y's of branches, you MUST verify the position of the SKODA gui location is still correct! - DANGER! ## ## ## ####################################################################################################################################################### inlay_window = { id = cze_industry_focus_inlay_window position = { x = 9990 y = 350 } #y = ~2.5 override_position = { x = 8842 y = 345 trigger = { #verified 18/03/26 has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_coalition_building NOT = { OR = { has_completed_focus = CZE_increase_funding_from_moscow has_completed_focus = CZE_placate_benes_faction has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } } } override_position = { #verified 18/03/26 x = 6340 y = 345 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } AND = { has_completed_focus = CZE_placate_benes_faction has_completed_focus = CZE_coalition_building } } } override_position = { #verified 19/03/26 x = 5970 y = 345 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } AND = { has_completed_focus = CZE_negotiations_with_the_autonomous_bloc has_completed_focus = CZE_coalition_building } } } override_position = { #verified 16/04/26 after reorganizing the diplo branch a bit x = 6840 y = 350 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_increase_funding_from_moscow has_completed_focus = CZE_coalition_building } } override_position = { #verified 18/03/26 x = 5482 y = 350 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_appeal_to_the_castle NOT = { OR = { has_completed_focus = CZE_unify_the_fascist_parties has_completed_focus = CZE_petition_the_nobles } } } } override_position = { #verified 18/03/26 x = 5095 y = 350 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties NOT = { OR = { has_completed_focus = CZE_work_with_germany has_completed_focus = CZE_aggressive_foreign_policy has_completed_focus = CZE_complete_capitulation } } } } override_position = { #verified 26/03/26 x = 4710 y = 350 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties has_completed_focus = CZE_aggressive_foreign_policy NOT = { has_completed_focus = CZE_complete_capitulation } } } override_position = { #verified 26/03/26 x = 4423 y = 350 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties has_completed_focus = CZE_work_with_germany NOT = { has_completed_focus = CZE_complete_capitulation } } } override_position = { #verified 21/04/26 x = 5100 y = 350 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } AND = { has_completed_focus = CZE_unify_the_fascist_parties has_completed_focus = CZE_complete_capitulation } } } override_position = { #verified 18/03/26 x = 4900 y = 350 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } AND = { has_completed_focus = CZE_appeal_to_the_castle has_completed_focus = CZE_petition_the_nobles } } } } shared_focus = HABSBURG_part_of_something_bigger # focus = { # id = CZE_ # #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 = { # # } # } ######## ####### ## #### ######## #### ###### ###### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ######## ## ## ## ## ## ## ## ###### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ####### ######## #### ## #### ###### ###### #Politics Intro Focuses focus = { id = CZE_appeal_to_the_castle icon = GFX_focus_CZE_appeal_to_the_castle mutually_exclusive = { focus = CZE_coalition_building } x = 7 y = 0 allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = CZE_coalition_building } } } cost = 10 ai_will_do = { factor = 4 } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } completion_reward = { mark_focus_tree_layout_dirty = yes custom_effect_tooltip = CZE_a_divided_nation_category_tt custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_a_divided_nation_category_2_tt set_country_flag = CZE_show_a_divided_nation_category custom_effect_tooltip = generic_skip_one_line_tt add_country_leader_trait = undermined_support_base if = { limit = { NOT = { has_completed_focus = CZE_expand_prf_science_facilities } } #custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_karel_domin hidden_effect = { country_event = { id = MUN_czech.1036 hours = 1 } } } } } focus = { id = CZE_coalition_building icon = GFX_focus_CZE_coalition_building mutually_exclusive = { focus = CZE_appeal_to_the_castle } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = CZE_appeal_to_the_castle } } } x = 36 y = 0 offset = { x = -12 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_coalition_building } } offset = { x = -8 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_increase_funding_from_moscow } } offset = { x = -13 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } offset = { x = -13 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } cost = 5 ai_will_do = { factor = 8 } available = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { mark_focus_tree_layout_dirty = yes add_political_power = 50 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_a_divided_nation_category_tt custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_a_divided_nation_category_2_tt set_country_flag = CZE_show_a_divided_nation_category custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_coalition_building_idea days = 90 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_ferdinand_peroutka hidden_effect = { country_event = { id = MUN_czech.1036 hours = 1 } } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL_CHARACTER } } ############################ ##### Monarchy ###### ############################ focus = { id = CZE_petition_the_nobles icon = GFX_focus_generic_treaty prerequisite = { focus = CZE_appeal_to_the_castle } mutually_exclusive = { focus = CZE_unify_the_fascist_parties } x = -3 y = 1 relative_position_id = CZE_appeal_to_the_castle allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = CZE_unify_the_fascist_parties has_completed_focus = CZE_coalition_building } } } } offset = { x = 3 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } cost = 5 ai_will_do = { factor = 2 } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_BALANCE_OF_POWER } completion_reward = { mark_focus_tree_layout_dirty = yes CZE_karel_schwarzenberg = { promote_character = yes } set_party_name = { #by default this is RSZML which is the Agrarians, ideology = neutrality long_name = CZE_neutrality_party_monarchist #intentionally duplicate name = CZE_neutrality_party_monarchist } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_aristocratic_support_1 hidden_effect = { remove_trait = { character = CZE_josef_rozsevac slot = political_advisor trait = militant_minister } add_trait = { character = CZE_josef_rozsevac slot = political_advisor trait = militant_minister_2 } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_decrease_effect = yes } } } focus = { id = CZE_align_nationalist_parties icon = GFX_goal_generic_political_pressure prerequisite = { focus = CZE_petition_the_nobles focus = CZE_unify_the_fascist_parties } mutually_exclusive = { focus = CZE_align_slovak_catholics } cost = 10 relative_position_id = CZE_petition_the_nobles x = 3 y = 1 offset = { x = -5 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } completion_reward = { if = { limit = { has_completed_focus = CZE_unify_the_fascist_parties } add_popularity = { ideology = fascism popularity = 0.1 } } else = { add_popularity = { ideology = neutrality popularity = 0.05 } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_josef_rozsevac if = { limit = { has_character = CZE_jozef_tiso } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = { localization_key = remove_character_as_tt CHARACTER = CZE_jozef_tiso ROLE = political_advisor } hidden_effect = { retire_character = CZE_jozef_tiso } } if = { limit = { has_character = CZE_vojtech_tuka } custom_effect_tooltip = { localization_key = remove_character_as_tt CHARACTER = CZE_vojtech_tuka ROLE = political_advisor } hidden_effect = { retire_character = CZE_vojtech_tuka } } if = { limit = { OR = { 70 = { is_owned_and_controlled_by = ROOT } 71 = { is_owned_and_controlled_by = ROOT } } NOT = { has_global_flag = CZE_slovak_unrest_fired } } custom_effect_tooltip = generic_skip_one_line_tt set_global_flag = CZE_slovak_unrest_fired country_event = MUN_czech.1034 } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL } } focus = { id = CZE_align_slovak_catholics icon = GFX_focus_generic_befriend_slovakia prerequisite = { focus = CZE_petition_the_nobles } mutually_exclusive = { focus = CZE_align_nationalist_parties } cost = 10 relative_position_id = CZE_petition_the_nobles x = 1 y = 1 completion_reward = { add_popularity = { ideology = neutrality popularity = 0.05 } custom_effect_tooltip = generic_skip_one_line_tt #Better tooltip than within character scope remove_trait = { character = CZE_jozef_tiso slot = political_advisor trait = backroom_backstabber } add_trait = { character = CZE_jozef_tiso slot = political_advisor trait = militant_priest } if = { limit = { amount_taken_ideas = { amount < 3 slots = { political_advisor } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_jozef_tiso_tt hidden_effect = { activate_advisor = CZE_jozef_tiso } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_vojtech_tuka if = { limit = { has_completed_focus = CZE_integrated_paramilitaries } show_unit_leaders_tooltip = CZE_vojtech_tuka } hidden_effect = { if = { limit = { has_character = CZE_vojtech_tuka } CZE_vojtech_tuka = { set_character_flag = CZE_released_from_prison set_portraits = { army = { small ="GFX_portrait_SLO_vojtech_tuka_small" } } } } } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL } } focus = { id = CZE_align_catholic_parties icon = GFX_focus_mex_restore_the_army_of_christ prerequisite = { focus = CZE_petition_the_nobles } cost = 10 relative_position_id = CZE_petition_the_nobles x = -1 y = 1 completion_reward = { add_popularity = { ideology = neutrality popularity = 0.05 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_jan_sramek custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_jan_ruckl } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL } } focus = { id = CZE_restore_the_monarchy icon = GFX_focus_CZE_bohemia_crown prerequisite = { focus = CZE_align_catholic_parties } prerequisite = { focus = CZE_align_nationalist_parties focus = CZE_align_slovak_catholics } cost = 5 relative_position_id = CZE_align_catholic_parties x = 1 y = 1 available = { neutrality > 0.4 } completion_reward = { set_politics = { ruling_party = neutrality elections_allowed = no } custom_effect_tooltip = generic_skip_one_line_tt CZE_get_rid_of_agrarian_politics_with_less_steps = yes if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_decrease_effect = yes } hidden_effect = { if = { limit = { NOT = { OR = { has_cosmetic_tag = CZE_union has_cosmetic_tag = CZE_union_expanded has_cosmetic_tag = CZE_fall_of_the_republic has_cosmetic_tag = CZE_CEF has_cosmetic_tag = CZE_second_republic has_cosmetic_tag = CZE_ONLY has_cosmetic_tag = CZE_great_moravia has_cosmetic_tag = CZE_SLO_bohemia_expansion has_cosmetic_tag = EUR_UNIFIED } } } set_cosmetic_tag = CZE_first_monarchy_color } } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_semi_constitutional_monarchy icon = GFX_focus_rom_royal_dictatorship prerequisite = { focus = CZE_restore_the_monarchy } cost = 10 relative_position_id = CZE_restore_the_monarchy x = -1 y = 1 offset = { x = 1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } completion_reward = { add_ideas = CZE_semi_constitutional_constitution } } focus = { id = CZE_restore_noble_titles icon = GFX_focus_generic_support_the_left_right prerequisite = { focus = CZE_semi_constitutional_monarchy } cost = 5 relative_position_id = CZE_semi_constitutional_monarchy x = 0 y = 1 offset = { x = -2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } completion_reward = { add_country_leader_trait = traditionalist_theorist custom_effect_tooltip = generic_skip_one_line_tt swap_ideas = { remove_idea = CZE_aristocratic_support_1 add_idea = CZE_aristocratic_support_2 } } } focus = { id = CZE_catholic_focus icon = GFX_focus_por_concordat prerequisite = { focus = CZE_militarize_the_associations focus = CZE_semi_constitutional_monarchy } mutually_exclusive = { focus = CZE_hussite_legacy } cost = 10 relative_position_id = CZE_align_slovak_catholics y = 3 x = 2 offset = { x = -4 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } offset = { x = 3 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_complete_capitulation } } offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } available = { # } completion_reward = { add_political_power = 25 custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_state_catholicism if = { limit = { CZE_SLO_is_not_its_own_thing = yes has_completed_focus = CZE_align_slovak_catholics } custom_effect_tooltip = generic_skip_one_line_tt show_unit_leaders_tooltip = CZE_vojtech_tuka } if = { limit = { has_government = neutrality } custom_effect_tooltip = generic_skip_one_line_tt add_country_leader_trait = the_legitimist } } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL } } focus = { id = CZE_hussite_legacy icon = GFX_focus_CZE_hussite_legacy prerequisite = { focus = CZE_militarize_the_associations focus = CZE_semi_constitutional_monarchy } mutually_exclusive = { focus = CZE_catholic_focus } cost = 10 relative_position_id = CZE_catholic_focus y = 0 x = 3 offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } completion_reward = { if = { #effect preview limit = { NOT = { OR = { has_government = fascism has_government = neutrality } } } custom_effect_tooltip = AUS_seek_papal_support_tt hidden_effect = { add_popularity = { ideology = ROOT popularity = 0.05 } } } else = { add_popularity = { ideology = ROOT popularity = 0.05 } } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_religious_tolerance } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_align_with_germany icon = GFX_focus_ger_revive_kaiserreich relative_position_id = CZE_restore_the_monarchy x = 1 y = 1 offset = { x = 1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } cost = 5 prerequisite = { focus = CZE_restore_the_monarchy } mutually_exclusive = { #focus = CZE_integrate_sudeten_germans #might get stuck with divided nation focus = CZE_rally_against_germany } ai_will_do = { base = 1 modifier = { add = 1 GER = { is_ai = no } } } available = { is_subject = no GER = { is_faction_leader = yes has_government = neutrality NOT = { has_war_with = ROOT } } } completion_reward = { GER = { country_event = generic.2 } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_claim_lands_of_the_bohemian_crown icon = GFX_focus_CZE_our_royal_claims prerequisite = { focus = CZE_semi_constitutional_monarchy } cost = 5 relative_position_id = CZE_semi_constitutional_monarchy x = 2 y = 1 offset = { x = -2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } completion_reward = { add_ideas = CZE_bohemian_imperial_claims } } focus = { id = CZE_restore_the_austro_hungarian_customs_union icon = GFX_focus_AUS_proclaim_austrian_empire prerequisite = { focus = CZE_semi_constitutional_monarchy } cost = 5 relative_position_id = CZE_semi_constitutional_monarchy x = -2 y = 1 offset = { x = -2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } completion_reward = { #below is copied from the democratic/communist alliance branch build_railway = { #internal railway, necessary to connect with Hungary level = 2 fallback = yes path = { 6562 6576 3484 } start_province = 6562 target_province = 3484 } build_railway = { #Increase Hungary connection to level 2 level = 1 #it sums the level by building on top of the pre-existing one fallback = yes path = { 541 11679 6561 9690 9660 } start_province = 541 target_province = 9660 } build_railway = { #Increase Hungary-Yugoslavia connection to level 2 level = 1 #it sums the level by building on top of the pre-existing one fallback = yes start_province = 9660 target_province = 619 } custom_effect_tooltip = generic_skip_one_line_tt every_other_country = { limit = { OR = { original_tag = AUS original_tag = HUN original_tag = YUG # AND = { #marijn211: give them the idea if YUG accepts instead # is_subject_of = YUG # capital_scope = { # region = 24 # } # } } NOT = { has_war_with = ROOT } } country_event = MUN_czech.1021 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { add_ideas = CZE_trade_agreement } } search_filters = { FOCUS_FILTER_INTERNATIONAL_TRADE } } focus = { id = CZE_fight_over_silesia icon = GFX_focus_POL_reassert_silesian_claims prerequisite = { focus = CZE_claim_lands_of_the_bohemian_crown } mutually_exclusive = { focus = CZE_divide_germany } cost = 10 relative_position_id = CZE_claim_lands_of_the_bohemian_crown x = -1 y = 1 available = { is_subject = no NOT = { has_war_with = 66.owner is_ally_with = 66.owner } } ai_will_do = { base = 0 modifier = { add = 10 66 = { owner = { OR = { AND = { surrender_progress > 0.15 ROOT = { strength_ratio = { tag = PREV ratio > 0.4 } } } ROOT = { strength_ratio = { tag = PREV ratio > 1 } } } } } } } bypass = { OR = { owns_state = 66 has_war_with = 66.owner } } bypass_effect = { set_country_flag = CZE_unlock_white_peace unlock_decision_tooltip = CZE_white_peace_silesia_owner show_unit_leaders_tooltip = CZE_josef_shnejdarek } completion_reward = { # start_border_war = { # change_state_after_war = no # attacker = { # state = 69 # num_provinces = 2 # on_win = MUN_czech.1022 # } # defender = { # state = 66 # num_provinces = 4 # on_lose = MUN_czech.1022 # } # } # custom_effect_tooltip = generic_skip_one_line_tt # 66 = { # owner = { # country_event = MUN_czech.1023 # } # } # custom_effect_tooltip = generic_skip_one_line_tt # unlock_decision_tooltip = CZE_escalate_border_war # custom_effect_tooltip = generic_skip_one_line_tt create_wargoal = { type = take_state_focus target = 66.owner generator = { 66 } expire = 720 } custom_effect_tooltip = generic_skip_one_line_tt set_country_flag = CZE_unlock_white_peace unlock_decision_tooltip = CZE_white_peace_silesia_owner custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_character = CZE_josef_shnejdarek } show_unit_leaders_tooltip = CZE_josef_shnejdarek } } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_MILITARY_CHARACTER } } focus = { id = CZE_divide_germany icon = GFX_focus_attack_germany prerequisite = { focus = CZE_claim_lands_of_the_bohemian_crown } mutually_exclusive = { focus = CZE_fight_over_silesia } cost = 10 relative_position_id = CZE_fight_over_silesia x = -2 y = 0 will_lead_to_war_with = GER available = { is_subject = no has_government = neutrality GER = { exists = yes NOT = { has_war_with = ROOT is_ally_with = ROOT } } } ai_will_do = { #Take the other option if alone, if you have allies, let them start the war factor = 0 } bypass = { has_war_with = GER } bypass_effect = { 65 = { add_claim_by = ROOT } } completion_reward = { 65 = { add_claim_by = ROOT } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { FRA = { exists = yes is_subject = no has_government = neutrality NOT = { is_in_faction_with = GER is_in_faction_with = ROOT has_war_with = ROOT has_war_with = GER } } } custom_effect_tooltip = CZE_if_FRA_ally_tt FRA = { country_event = MUN_czech.1017 } else = { custom_effect_tooltip = CZE_if_FRA_ally_tt effect_tooltip = { FRA = { country_event = MUN_czech.1017 } } } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_completed_focus = CZE_a_strong_poland is_guaranteed_by = POL POL = { is_subject = no NOT = { is_in_faction_with = GER is_in_faction_with = ROOT has_war_with = ROOT has_war_with = GER } } } custom_effect_tooltip = CZE_if_POL_ally_tt POL = { country_event = MUN_czech.1017 } else = { custom_effect_tooltip = CZE_if_POL_ally_tt effect_tooltip = { POL = { country_event = MUN_czech.1017 } } } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { OR = { AND = { has_completed_focus = CZE_a_strong_poland is_guaranteed_by = POL POL = { is_subject = no NOT = { is_in_faction_with = GER is_in_faction_with = ROOT has_war_with = ROOT } } } FRA = { exists = yes is_subject = no has_government = neutrality NOT = { is_in_faction_with = GER is_in_faction_with = ROOT has_war_with = ROOT } } } } country_event = { id = MUN_czech.1018 days = 9 } } else = { declare_war_on = { target = GER type = annex_everything } } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_demand_katowice icon = GFX_goal_demand_sudetenland prerequisite = { focus = CZE_claim_lands_of_the_bohemian_crown } mutually_exclusive = { focus = CZE_poland_alliance_monarchist } cost = 10 relative_position_id = CZE_claim_lands_of_the_bohemian_crown x = 1 y = 1 ai_will_do = { factor = 1 modifier = { factor = 0 POL = { is_ai = no } } modifier = { factor = 0 strength_ratio = { tag = POL ratio < 0.85 } POL = { has_war = no } } modifier = { factor = 0 OR = { has_war_with_major = yes any_neighbor_country = { has_war_with = ROOT } } } } available = { is_subject = no 762 = { owner = { NOT = { is_ally_with = ROOT } } } } bypass = { OR = { owns_state = 762 has_war_with = 762.owner } } completion_reward = { 762 = { owner = { country_event = MUN_czech.1019 } } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_dismantle_poland icon = GFX_focus_generic_attack_poland prerequisite = { focus = CZE_demand_katowice } cost = 10 relative_position_id = CZE_demand_katowice x = 0 y = 1 will_lead_to_war_with = POL available = { is_subject = no POL = { exists = yes NOT = { is_ally_with = ROOT } } } bypass = { has_war_with = POL } bypass_effect = { 86 = { add_claim_by = ROOT } 807 = { add_claim_by = ROOT } 85 = { add_claim_by = ROOT } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { RUT = { exists = no } UKR = { exists = yes NOT = { is_subject_of = ROOT } } } 91 = { add_core_of = RUT } 89 = { add_core_of = RUT } 93 = { add_core_of = RUT } custom_effect_tooltip = generic_skip_one_line_tt } 88 = { add_core_of = GAL } custom_effect_tooltip = generic_skip_one_line_tt } completion_reward = { 86 = { add_claim_by = ROOT } 807 = { add_claim_by = ROOT } 85 = { add_claim_by = ROOT } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { RUT = { exists = no } UKR = { exists = yes NOT = { is_subject_of = ROOT } } } 91 = { add_core_of = RUT } 89 = { add_core_of = RUT } 93 = { add_core_of = RUT } custom_effect_tooltip = generic_skip_one_line_tt } 88 = { add_core_of = GAL } custom_effect_tooltip = generic_skip_one_line_tt create_wargoal = { type = puppet_wargoal_focus target = POL } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_proclaim_the_restoration_of_bohemia icon = GFX_focus_generic_befriend_bohemia prerequisite = { focus = CZE_fight_over_silesia focus = CZE_divide_germany } prerequisite = { focus = CZE_demand_katowice } cost = 10 relative_position_id = CZE_fight_over_silesia x = 0 y = 1 available = { controls_state = 66 controls_state = 67 controls_state = 762 } ai_will_do = { factor = 100 } completion_reward = { 762 = { add_core_of = ROOT } 66 = { add_core_of = ROOT } 67 = { add_core_of = ROOT } custom_effect_tooltip = generic_skip_one_line_tt set_cosmetic_tag = CZE_SLO_bohemia_expansion mark_focus_tree_layout_dirty = yes } search_filters = { FOCUS_FILTER_MANPOWER } } focus = { id = CZE_integrate_lost_territories icon = GFX_goal_generic_territory_or_war prerequisite = { focus = CZE_proclaim_the_restoration_of_bohemia } #marijn211: makes it impossible to have nice lines # prerequisite = { # focus = CZE_divide_germany # } # prerequisite = { # focus = CZE_dismantle_poland # } mutually_exclusive = { focus = CZE_deepen_ties_with_puppet_kingdoms } cost = 10 relative_position_id = CZE_proclaim_the_restoration_of_bohemia x = 0 y = 1 available = { OR = { controls_state = 65 has_subject = SAX } 86 = { is_controlled_by = ROOT } 807 = { is_controlled_by = ROOT } #Danzig optional } ai_will_do = { factor = 100 } completion_reward = { if = { limit = { has_subject = SAX } annex_country = { target = SAX transfer_troops = yes } } 65 = { add_core_of = CZE } 86 = { add_core_of = CZE } 807 = { add_core_of = CZE } 85 = { add_core_of = CZE } } search_filters = { FOCUS_FILTER_MANPOWER } } focus = { id = CZE_deepen_ties_with_puppet_kingdoms icon = GFX_goal_generic_national_unity prerequisite = { focus = CZE_dismantle_poland focus = CZE_proclaim_the_restoration_of_bohemia } mutually_exclusive = { focus = CZE_integrate_lost_territories } cost = 5 relative_position_id = CZE_integrate_lost_territories x = 2 y = 0 available = { any_other_country = { is_subject_of = ROOT OR = { has_autonomy_state = autonomy_dominion has_autonomy_state = autonomy_puppet } } } completion_reward = { custom_effect_tooltip = CZE_decrease_autonomy_tier hidden_effect = { every_subject_country = { if = { limit = { has_autonomy_state = autonomy_dominion } overlord = { set_autonomy = { target = PREV autonomous_state = autonomy_puppet end_wars = no end_civil_wars = no } } } else_if = { limit = { has_autonomy_state = autonomy_puppet } overlord = { set_autonomy = { target = PREV autonomous_state = autonomy_integrated_puppet end_wars = no end_civil_wars = no } } } } } } } focus = { id = CZE_usurp_the_mantle icon = GFX_focus_POL_habsburg # prerequisite = { # focus = CZE_catholic_focus # focus = CZE_hussite_legacy # } allow_branch = { OR = { #is_debug = yes has_completed_focus = CZE_proclaim_the_restoration_of_bohemia } } prerequisite = { focus = CZE_integrate_lost_territories } prerequisite = { focus = CZE_demand_the_istrian_peninsula } cost = 10 relative_position_id = CZE_proclaim_the_restoration_of_bohemia x = 2 y = 2 available = { is_subject = no } completion_reward = { unlock_decision_tooltip = { decision = form_hre show_effect_tooltip = no } custom_effect_tooltip = generic_skip_one_line_tt every_other_country = { limit = { NOT = { is_ally_with = ROOT has_war_with = ROOT ROOT = { has_wargoal_against = PREV } } OR = { any_owned_state = { is_in_array = { HRE_states = THIS } } any_controlled_state = { is_in_array = { HRE_states = THIS } } } } hidden_effect = { clear_temp_array = temp_states every_owned_state = { limit = { is_in_array = { HRE_states = THIS } NOT = { is_in_array = { temp_states = THIS } } } add_to_temp_array = { temp_states = THIS } } every_controlled_state = { limit = { is_in_array = { HRE_states = THIS } NOT = { is_in_array = { temp_states = THIS } } } add_to_temp_array = { temp_states = THIS } } } ROOT = { create_wargoal = { type = take_state_focus target = PREV generator = temp_states } } } custom_effect_tooltip = generic_skip_one_line_tt add_relation_modifier = { target = GER modifier = CZE_usurp_the_mantle } } } ############################ ##### Fascist ###### ############################ focus = { id = CZE_unify_the_fascist_parties icon = GFX_focus_CZE_unify_the_fascist_parties prerequisite = { focus = CZE_appeal_to_the_castle } mutually_exclusive = { focus = CZE_petition_the_nobles } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = CZE_petition_the_nobles has_completed_focus = CZE_coalition_building } } } } cost = 5 relative_position_id = CZE_appeal_to_the_castle x = 4 y = 1 offset = { x = -4 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } completion_reward = { mark_focus_tree_layout_dirty = yes add_political_power = 25 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_karel_schwarzenberg custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_unify_the_fascist_parties_idea days = 90 } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_revive_the_december_bloc icon = GFX_focus_generic_worker_administration prerequisite = { focus = CZE_unify_the_fascist_parties } cost = 10 relative_position_id = CZE_unify_the_fascist_parties x = 0 y = 1 offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_party_popularity_stability_factor = 0.025 tooltip = party_popularity_stability_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_command_power_gain_mult = 0.05 tooltip = command_power_gain_mult_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = { localization_key = remove_character_as_tt CHARACTER = CZE_jan_sramek ROLE = political_advisor } custom_effect_tooltip = { localization_key = remove_character_as_tt CHARACTER = CZE_josef_cerny ROLE = political_advisor } custom_effect_tooltip = { localization_key = remove_character_as_tt CHARACTER = CZE_rudolf_mlcoch ROLE = political_advisor } hidden_effect = { retire_character = CZE_jan_sramek retire_character = CZE_josef_cerny retire_character = CZE_rudolf_mlcoch } custom_effect_tooltip = generic_skip_one_line_tt CZE_get_rid_of_agrarian_politics_with_less_steps = yes custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_revive_the_december_bloc days = 180 } } } focus = { id = CZE_cooperate_with_the_sdp icon = GFX_goal_generic_dangerous_deal prerequisite = { focus = CZE_revive_the_december_bloc } mutually_exclusive = { focus = CZE_integrate_sudeten_germans } cost = 5 relative_position_id = CZE_revive_the_december_bloc x = -2 y = 1 available = { 69 = { is_owned_and_controlled_by = ROOT } 972 = { is_owned_and_controlled_by = ROOT } 74 = { is_owned_and_controlled_by = ROOT } } completion_reward = { unlock_decision_tooltip = CZE_a_divided_nation_sudentenland_germans_cooperate custom_effect_tooltip = generic_skip_one_line_tt remove_ideas = CZE_sudeten_german_quandary custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_konrad_henlein } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_integrate_sudeten_germans icon = GFX_goal_generic_major_alliance relative_position_id = CZE_revive_the_december_bloc x = -4 y = 1 offset = { x = 3 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } cost = 5 available = { 69 = { is_owned_and_controlled_by = ROOT } 972 = { is_owned_and_controlled_by = ROOT } 74 = { is_owned_and_controlled_by = ROOT } } prerequisite = { focus = CZE_revive_the_december_bloc focus = CZE_align_nationalist_parties focus = CZE_align_slovak_catholics } mutually_exclusive = { focus = CZE_cooperate_with_the_sdp #focus = CZE_align_with_germany #Might get stuck with divided nation } completion_reward = { add_stability = -0.05 if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_medium_increase_effect = yes } custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_tooltip = CZE_a_divided_nation_sudentenland_germans } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_rally_against_germany icon = { GFX_focus_GER_subdue_the_wehrmacht = { GER = { has_government = fascism } NOT = { ROOT = { has_completed_focus = CZE_restore_the_monarchy } } } GFX_focus_SWE_undermine_fascism = { GER = { has_government = fascism } ROOT = { has_completed_focus = CZE_restore_the_monarchy } } GFX_goal_generic_defence = yes } cost = 5 relative_position_id = CZE_integrate_sudeten_germans x = 1 y = 1 prerequisite = { focus = CZE_integrate_sudeten_germans focus = CZE_cooperate_with_the_sdp } mutually_exclusive = { focus = CZE_align_with_germany } available = { is_subject = no NOT = { is_in_faction_with = GER } NOT = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } } completion_reward = { if = { limit = { OR = { has_idea = disarmed_nation has_idea = volunteer_only has_idea = limited_conscription } } add_ideas = extensive_conscription custom_effect_tooltip = generic_skip_one_line_tt } add_timed_idea = { idea = BALTIC_anti_german_plans days = 720 } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_high_increase_effect = yes } } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_pro_rearmament_propaganda icon = { GFX_focus_generic_fascist_propaganda = { ROOT = { has_government = fascism } } GFX_focus_secret_rearmament = yes } cost = 5 prerequisite = { focus = CZE_petition_the_nobles focus = CZE_unify_the_fascist_parties } relative_position_id = CZE_appeal_to_the_castle x = 2 y = 2 offset = { x = -5 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } offset = { x = 3 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_training_time_factor = -0.05 tooltip = training_time_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_mobilization_speed = 0.05 tooltip = mobilization_speed_tt } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_pro_rearmament_propaganda_idea days = 180 } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt } } search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_revert_1926_anti_military_laws icon = GFX_focus_generic_military_dictatorship cost = 5 prerequisite = { focus = CZE_unify_the_fascist_parties } relative_position_id = CZE_unify_the_fascist_parties x = 2 y = 1 offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } available = { # } completion_reward = { if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = CZE_bop_to_fascism_support_tt set_temp_variable = { fascism_to_add = power_balance_value } if = { limit = { power_balance_value = { id = CZE_bop_army_readiness value < 0 } } multiply_temp_variable = { fascism_to_add = -0.33 } else = { multiply_temp_variable = { fascism_to_add = 0.33 } } } add_popularity = { ideology = fascism popularity = fascism_to_add } custom_effect_tooltip = generic_skip_one_line_tt } else = { #here just as preview of the forthcoming real reward - logan add_popularity = { ideology = fascism popularity = 0.05 } custom_effect_tooltip = generic_skip_one_line_tt } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_party_popularity_stability_factor = 0.025 tooltip = party_popularity_stability_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_command_power_gain_mult = 0.05 tooltip = command_power_gain_mult_tt } custom_effect_tooltip = generic_skip_one_line_tt show_unit_leaders_tooltip = CZE_emanuel_moravec } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_POLITICAL } } focus = { id = CZE_power_to_the_military icon = GFX_focus_generic_military_mission prerequisite = { focus = CZE_revert_1926_anti_military_laws } prerequisite = { focus = CZE_revive_the_december_bloc } cost = 5 relative_position_id = CZE_revert_1926_anti_military_laws x = -1 y = 1 available = { fascism > 0.4 } completion_reward = { set_politics = { ruling_party = fascism elections_allowed = no } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_experience_gain_army_unit_factor = 0.05 tooltip = experience_gain_army_unit_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_party_popularity_stability_factor = 0.05 tooltip = party_popularity_stability_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_command_power = 25 if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt } hidden_effect = { if = { limit = { NOT = { OR = { has_cosmetic_tag = CZE_union has_cosmetic_tag = CZE_union_expanded has_cosmetic_tag = CZE_fall_of_the_republic has_cosmetic_tag = CZE_CEF has_cosmetic_tag = CZE_second_republic has_cosmetic_tag = CZE_ONLY has_cosmetic_tag = CZE_great_moravia has_cosmetic_tag = CZE_SLO_bohemia_expansion } } } set_cosmetic_tag = CZE_fascist_color } } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_militarize_the_associations icon = GFX_focus_SWE_revoke_militia_law prerequisite = { focus = CZE_power_to_the_military } cost = 10 relative_position_id = CZE_power_to_the_military x = 0 y = 1 completion_reward = { add_popularity = { ideology = fascism popularity = 0.03 } if = { limit = { NOT = { has_tech = militia_tech } } custom_effect_tooltip = generic_skip_one_line_tt set_technology = { militia_tech = 1 popup = no } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_mobilization_speed = 0.05 tooltip = mobilization_speed_tt } add_to_variable = { CZE_ceskoslovenska_armada_modifier_army_sub_unit_militia_defence_factor = 0.05 tooltip = modifier_army_sub_unit_militia_defence_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_militias_officer_random_general_tt hidden_effect = { every_army_leader = { limit = { NOT = { has_trait = militias_officer } } random_select_amount = 1 add_trait = { trait = militias_officer } } } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_militarized_organizations #custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt } } search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_aggressive_foreign_policy icon = GFX_focus_CZE_czechoslovakian_hegemony cost = 5 prerequisite = { focus = CZE_militarize_the_associations } mutually_exclusive = { focus = CZE_work_with_germany focus = CZE_complete_capitulation } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = CZE_complete_capitulation has_completed_focus = CZE_petition_the_nobles has_completed_focus = CZE_coalition_building has_completed_focus = CZE_work_with_germany } } } } relative_position_id = CZE_militarize_the_associations x = 0 y = 1 offset = { x = 2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } available = { if = { limit = { is_ai = yes } is_subject = no } } completion_reward = { mark_focus_tree_layout_dirty = yes custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_mobilization_speed = 0.05 tooltip = mobilization_speed_tt } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_aggressive_foreign_policy_idea effect_tooltip = { #in the idea set_rule = { can_boost_other_ideologies = yes } set_rule = { #splitting makes a better tooltip can_guarantee_other_ideologies = yes } } } } focus = { id = CZE_feeding_the_alligator icon = GFX_focus_GER_fate_of_czechoslovakia prerequisite = { focus = CZE_contact_henlein #focus = CZE_unify_the_fascist_parties #had multiple issues if player did it before going fascist, therefore swapped with below focus = CZE_power_to_the_military } mutually_exclusive = { focus = CZE_bastion_of_liberty } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = CZE_negotiations_with_the_autonomous_bloc has_completed_focus = CZE_bastion_of_liberty has_completed_focus = CZE_petition_the_nobles has_completed_focus = CZE_increase_funding_from_moscow } } } } x = 21 y = 4 offset = { x = -11 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_coalition_building } } offset = { x = -3 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } offset = { x = -5 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } offset = { x = -6 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_work_with_germany } } offset = { x = -5 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_complete_capitulation NOT = { has_completed_focus = CZE_coalition_building #only for fascists } } } # offset = { # x = -1 # trigger = { # has_game_rule = { # rule = obsolete_focus_branches_visibility # option = HIDE # } # has_completed_focus = CZE_placate_benes_faction # } # } cost = 5 ai_will_do = { #don't take randomly - overriden by defeatist fascists factor = 0 } bypass = { ROOT = { is_subject_of = GER } } available = { is_neighbor_of = GER is_subject = no NOT = { has_war_with = GER } GER = { exists = yes is_subject = no has_government = fascism has_completed_focus = GER_remilitarize_the_rhineland } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { GER = { country_event = { hours = 1 id = czech.22 } } if = { limit = { OR = { 70 = { is_owned_and_controlled_by = ROOT } 71 = { is_owned_and_controlled_by = ROOT } } NOT = { has_global_flag = CZE_slovak_unrest_fired } } custom_effect_tooltip = generic_skip_one_line_tt set_global_flag = CZE_slovak_unrest_fired country_event = { hours = 4 id = MUN_the_fall_of_the_republic.1 } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } CZE_bop_absurdly_high_decrease_effect = yes } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_the_fall_of_the_republic_warning_tt } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_work_with_germany icon = GFX_focus_chi_mission_to_germany prerequisite = { focus = CZE_militarize_the_associations } prerequisite = { focus = CZE_feeding_the_alligator } mutually_exclusive = { focus = CZE_complete_capitulation } mutually_exclusive = { focus = CZE_aggressive_foreign_policy } cost = 10 relative_position_id = CZE_feeding_the_alligator x = -2 y = 1 allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = CZE_complete_capitulation has_completed_focus = CZE_petition_the_nobles has_completed_focus = CZE_coalition_building has_completed_focus = CZE_aggressive_foreign_policy } } } } available = { is_subject = no GER = { is_faction_leader = yes has_government = fascism has_completed_focus = GER_remilitarize_the_rhineland NOT = { has_war_with = ROOT } } } ai_will_do = { base = 1 modifier = { add = 1 GER = { is_ai = no } } modifier = { add = 5 GER = { has_completed_focus = GER_befriend_czechoslovakia } } } completion_reward = { mark_focus_tree_layout_dirty = yes GER = { country_event = MUN_czech.1049 } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_joint_equipment_designs icon = GFX_focus_BRA_acquire_german_tanks prerequisite = { focus = CZE_stabilize_the_protectorate focus = CZE_work_with_germany } cost = 5 relative_position_id = CZE_work_with_germany x = 1 y = 2 offset = { x = -2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_coalition_building } } offset = { #its intentional that this is seperate, do not merge x = -2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_complete_capitulation NOT = { has_completed_focus = CZE_coalition_building #only for fascists } } } available = { OR = { is_in_faction_with = GER is_subject_of = GER } } completion_reward = { add_to_tech_sharing_group = CZE_german_czechoslovak_equipment_design_group GER = { add_to_tech_sharing_group = CZE_german_czechoslovak_equipment_design_group } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_joint_equipment_designs bonus = 0.5 uses = 1 category = cat_medium_armor } if = { limit = { has_dlc = "No Step Back" } add_tech_bonus = { name = CZE_joint_equipment_designs bonus = 0.5 uses = 1 technology = engine_tech_1 technology = engine_tech_2 technology = engine_tech_3 technology = engine_tech_4 } } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_negotiate_sphere_of_influence icon = GFX_focus_generic_balkans_focus prerequisite = { focus = CZE_work_with_germany } cost = 5 relative_position_id = CZE_work_with_germany x = -1 y = 1 available = { is_subject = no is_in_faction_with = GER OR = { NOT = { has_war_together_with = HUN } NOT = { has_war_together_with = ROM } } } bypass = { has_war_together_with = HUN has_war_together_with = ROM } completion_reward = { GER = { country_event = MUN_czech.1051 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { ROM = { if = { limit = { NOT = { has_war_together_with = ROOT has_war_together_with = GER } } if = { limit = { GER = { is_faction_leader = yes is_in_faction_with = ROM } } leave_faction = yes } ROOT = { create_wargoal = { type = puppet_wargoal_focus target = PREV } } custom_effect_tooltip = generic_skip_one_line_tt } } HUN = { if = { limit = { NOT = { has_war_together_with = ROOT has_war_together_with = GER } } if = { limit = { GER = { is_faction_leader = yes is_in_faction_with = ROM } } leave_faction = yes } ROOT = { create_wargoal = { type = puppet_wargoal_focus target = PREV } } } } } } } focus = { id = CZE_set_up_polish_puppet_state icon = GFX_focus_GRE_a_land_of_mountains prerequisite = { focus = CZE_negotiate_sphere_of_influence } cost = 5 relative_position_id = CZE_negotiate_sphere_of_influence x = 0 y = 1 available = { OR = { AND = { has_war_with = 88.owner controls_state = 88 } owns_state = 88 } } completion_reward = { 88 = { add_core_of = GAL } release_puppet_on_controlled = GAL } } #Shared neutrality/fascist diplomacy focus = { id = CZE_assist_austria icon = GFX_focus_generic_befriend_austria cost = 5 prerequisite = { focus = CZE_aggressive_foreign_policy focus = CZE_claim_lands_of_the_bohemian_crown } mutually_exclusive = { focus = CZE_eliminate_austrian_defeatists } relative_position_id = CZE_aggressive_foreign_policy y = 1 x = 3 available = { is_subject = no AUS = { exists = yes has_war = no } } ai_will_do = { base = 0 modifier = { add = 15 ITA = { has_guaranteed = AUS OR = { AND = { is_in_faction = no ROOT = { OR = { is_in_faction = no is_faction_leader = yes } } } AND = { is_faction_leader = yes ROOT = { is_in_faction = no } } } } } } completion_reward = { give_guarantee = AUS } } focus = { id = CZE_eliminate_austrian_defeatists icon = GFX_focus_generic_attack_austria prerequisite = { focus = CZE_claim_lands_of_the_bohemian_crown focus = CZE_aggressive_foreign_policy } mutually_exclusive = { focus = CZE_assist_austria } cost = 10 will_lead_to_war_with = AUS relative_position_id = CZE_assist_austria x = -4 y = 0 available = { is_subject = no AUS = { exists = yes NOT = { is_ally_with = ROOT } } } ai_will_do = { base = 10 modifier = { factor = 0 strength_ratio = { tag = AUS ratio < 0.7 } } modifier = { #Austria is a liability to AI if Germany attacks factor = 0 strength_ratio = { tag = GER ratio < 0.7 } GER = { has_completed_focus = GER_remilitarize_the_rhineland } } modifier = { factor = 0 any_other_country = { has_guaranteed = AUS NOT = { has_guaranteed = ROOT is_ally_with = ROOT } strength_ratio = { tag = ROOT ratio > 0.7 } } } } bypass = { AUS = { OR = { exists = no is_subject_of = ROOT #this may seem duplicate but if our Austrian puppet doesnt control all it lands, still shouldnt give a wargoal all_core_state = { OR = { state = 39 state = 975 #Hungary being annoying otherwise becomes a big issue is_controlled_by = ROOT controller = { is_subject_of = ROOT } } } } } } completion_reward = { every_state = { limit = { OR = { state = 4 state = 975 state = 976 state = 152 state = 153 state = 848 } } add_claim_by = ROOT } custom_effect_tooltip = generic_skip_one_line_tt create_wargoal = { type = annex_everything target = AUS expire = 730 } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_the_legacy_of_ottokar icon = GFX_focus_AUS_legacy_of_the_empire prerequisite = { focus = CZE_eliminate_austrian_defeatists } # prerequisite = { #Cross over lines like this are non starters - logan # focus = CZE_hussite_legacy # } relative_position_id = CZE_eliminate_austrian_defeatists x = -1 y = 1 cost = 10 available = { controls_state = 4 controls_state = 152 controls_state = 976 controls_state = 153 } ai_will_do = { factor = 100 } completion_reward = { #stolen from formable to avoid duplicate loc custom_effect_tooltip = form_country_austria_coring_states_tt hidden_effect = { 848 = { add_core_of = ROOT } 153 = { add_core_of = ROOT } 152 = { add_core_of = ROOT } 4 = { add_core_of = ROOT } 975 = { add_core_of = ROOT } 976 = { add_core_of = ROOT } } } search_filters = { FOCUS_FILTER_MANPOWER } } focus = { id = CZE_demand_the_istrian_peninsula icon = GFX_focus_generic_mediterranean_sea_focus cost = 5 prerequisite = { focus = CZE_the_legacy_of_ottokar } relative_position_id = CZE_the_legacy_of_ottokar x = -2 y = 1 available = { is_subject = no controls_state = 153 } ai_will_do = { base = 0 } bypass = { OR = { owns_state = 852 controls_state = 852 } OR = { owns_state = 736 controls_state = 736 } } completion_reward = { every_other_country = { limit = { OR = { owns_state = 852 owns_state = 736 } } country_event = MUN_czech.1005 } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_demand_slovenia icon = GFX_focus_generic_attack_slovenia cost = 5 prerequisite = { focus = CZE_the_legacy_of_ottokar } mutually_exclusive = { focus = CZE_demand_overlordship_of_yugoslav_league } relative_position_id = CZE_the_legacy_of_ottokar x = 0 y = 1 available = { is_subject = no controls_state = 976 NOT = { has_war_with = 102.owner is_ally_with = 102.owner } } bypass = { OR = { controls_state = 102 owns_state = 102 } } completion_reward = { every_other_country = { limit = { owns_state = 102 } country_event = MUN_czech.1005 } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_demand_overlordship_of_yugoslav_league icon = GFX_focus_YUG_dissolve_serbia cost = 10 prerequisite = { focus = CZE_eliminate_austrian_defeatists focus = CZE_assist_austria } mutually_exclusive = { focus = CZE_demand_slovenia } relative_position_id = CZE_demand_slovenia x = 2 y = 0 available = { is_subject = no YUG = { exists = yes is_subject = no has_completed_focus = YUG_limited_self_government has_subject = SLV } } completion_reward = { YUG = { country_event = MUN_czech.1002 } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_poland_alliance_monarchist icon = GFX_focus_generic_befriend_poland prerequisite = { focus = CZE_claim_lands_of_the_bohemian_crown focus = CZE_aggressive_foreign_policy } mutually_exclusive = { focus = CZE_demand_katowice } cost = 5 relative_position_id = CZE_claim_lands_of_the_bohemian_crown x = 3 y = 1 offset = { x = -5 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } ai_will_do = { base = 1 modifier = { add = 1 POL = { is_ai = no } } } available = { is_subject = no has_war = no POL = { exists = yes is_subject = no is_in_faction = no has_war = no } } bypass = { OR = { POL = { is_ally_with = ROOT } AND = { AND = { has_guaranteed = POL is_guaranteed_by = POL } } } } completion_reward = { POL = { country_event = MUN_czech.1006 } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_a_strong_poland icon = GFX_focus_generic_polish_deal prerequisite = { focus = CZE_poland_alliance_monarchist } cost = 5 relative_position_id = CZE_poland_alliance_monarchist y = 1 will_lead_to_war_with = LIT available = { OR = { is_ally_with = POL AND = { has_guaranteed = POL is_guaranteed_by = POL } } LIT = { exists = yes NOT = { has_non_aggression_pact_with = POL is_ally_with = POL has_non_aggression_pact_with = ROOT is_ally_with = ROOT } } } completion_reward = { POL = { country_event = MUN_czech.1054 } effect_tooltip = { custom_effect_tooltip = if_they_accept_tt POL = { declare_war_on = { target = LIT type = annex_everything } activate_decision = form_commonwealth #help Poland form this more easily, meaning getting them as an ally becomes easier } add_to_war = { targeted_alliance = POL enemy = LIT } } } } focus = { id = CZE_facilitate_a_strong_hungary icon = GFX_focus_HUN_proclaim_greater_hungary prerequisite = { focus = CZE_eliminate_austrian_defeatists focus = CZE_assist_austria } cost = 10 relative_position_id = CZE_the_legacy_of_ottokar x = 4 y = 1 available = { is_subject = no HUN = { exists = yes NOT = { has_war_with = ROOT } } } bypass = { has_subject = HUN } completion_reward = { if = { limit = { HUN = { is_subject = yes } } create_wargoal = { type = puppet_wargoal_focus target = HUN } } else = { HUN = { country_event = MUN_czech.1007 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { add_named_threat = { threat = 4 name = CZE_demanded_overlordship_HUN } puppet = HUN CRO = { every_core_state = { add_core_of = HUN } } if = { limit = { has_subject = CRO CRO = { is_ai = yes } } HUN = { annex_country = { target = CRO transfer_troops = yes } } } } custom_effect_tooltip = if_they_refuse_tt effect_tooltip = { create_wargoal = { type = puppet_wargoal_focus target = HUN } } #target Yugoslavia(n league) for Croatia #demand Italian Croatian lands for Hungary? } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_subjegate_serbia icon = GFX_focus_generic_attack_yugoslavia prerequisite = { focus = CZE_demand_slovenia focus = CZE_demand_overlordship_of_yugoslav_league focus = CZE_facilitate_a_strong_hungary } cost = 5 relative_position_id = CZE_demand_slovenia x = 2 y = 1 available = { is_subject = no YUG = { exists = yes NOT = { is_ally_with = ROOT has_war_with = ROOT } } } will_lead_to_war_with = YUG ai_will_do = { base = 1 modifier = { factor = 0 strength_ratio = { tag = YUG ratio < 0.7 } } modifier = { factor = 0 any_other_country = { has_guaranteed = YUG NOT = { has_guaranteed = ROOT is_ally_with = ROOT } strength_ratio = { tag = ROOT ratio > 0.7 } } } } bypass = { OR = { has_war_with = YUG has_wargoal_against = YUG NOT = { country_exists = YUG } } } completion_reward = { create_wargoal = { type = puppet_wargoal_focus target = YUG expire = 730 } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_subjegate_romania icon = GFX_focus_generic_attack_romania prerequisite = { focus = CZE_facilitate_a_strong_hungary } cost = 10 relative_position_id = CZE_facilitate_a_strong_hungary x = 0 y = 1 available = { is_subject = no has_subject = HUN ROM = { exists = yes NOT = { is_ally_with = ROOT has_war_with = ROOT } } } bypass = { ROM = { OR = { exists = no is_subject_of = ROOT } } } completion_reward = { ROM = { add_opinion_modifier = { target = ROOT modifier = threatened_us_opinion_modifier } custom_effect_tooltip = generic_skip_one_line_tt country_event = MUN_czech.1053 } effect_tooltip = { custom_effect_tooltip = if_they_accept_tt add_named_threat = { threat = 5 name = CZE_demanded_overlordship_ROM } puppet = ROM custom_effect_tooltip = if_they_refuse_tt create_wargoal = { type = puppet_wargoal_focus target = ROM } 76 = { add_core_of = HUN } 84 = { add_claim_by = HUN } 83 = { add_claim_by = HUN } 82 = { add_claim_by = HUN } } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_integrate_hungary icon = GFX_focus_proclaim_the_restauration_of_Austria_Hungary prerequisite = { focus = CZE_subjegate_romania } prerequisite = { focus = CZE_subjegate_serbia } cost = 10 relative_position_id = CZE_subjegate_romania x = -1 y = 1 available = { OR = { has_subject = HUN has_subject = ROM has_subject = CRO has_subject = SLV has_subject = TRA } } completion_reward = { every_subject_country = { tooltip = CZE_austro_hungary_puppets visible_when_empty = yes limit = { OR = { original_tag = HUN original_tag = ROM original_tag = CRO original_tag = SLV original_tag = TRA } } add_timed_idea = { idea = CZE_integration_efforts days = 600 } } } } focus = { id = CZE_expand_the_rome_protocols icon = GFX_focus_befriend_italy prerequisite = { focus = CZE_assist_austria } cost = 10 relative_position_id = CZE_assist_austria x = 0 y = 1 available = { is_subject = no OR = { is_faction_leader = yes is_in_faction = no } ITA = { exists = yes is_subject = no OR = { is_in_faction = no AND = { is_faction_leader = yes ROOT = { is_in_faction = no } } } } } completion_reward = { if = { limit = { is_in_faction = no ITA = { is_faction_leader = yes } } ITA = { country_event = generic.2 } } else_if = { limit = { is_faction_leader = yes ITA = { is_in_faction = no } } ITA = { country_event = generic.5 } } else = { set_rule = { can_create_factions = yes } if = { limit = { has_dlc = "No Compromise, No Surrender" } create_faction_from_template = { template = faction_template_european_dominance name = CZE_prague_protocols } } else = { create_faction = CZE_prague_protocols } ITA = { country_event = generic.5 } } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_return_to_democracy icon = GFX_focus_ARG_defense_and_democracy prerequisite = { focus = CZE_assist_austria } cost = 10 relative_position_id = CZE_assist_austria x = 1 y = 2 available = { is_subject = no has_war = no has_government = fascism OR = { is_in_faction = no all_other_country = { NOT = { AND = { has_government = fascism is_faction_leader = yes is_in_faction_with = ROOT } } } } date > 1941.01.01 OR = { threat < 0.2 all_neighbor_country = { OR = { has_government = democratic AND = { has_government = neutrality has_added_tension_amount < 5 } is_ally_with = ROOT } } } } completion_reward = { set_politics = { ruling_party = democratic elections_allowed = yes } add_popularity = { ideology = democratic popularity = 0.3 } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_cooperate_with_the_allies icon = GFX_focus_ARG_join_the_allies prerequisite = { focus = CZE_return_to_democracy } cost = 10 relative_position_id = CZE_return_to_democracy x = 0 y = 1 available = { is_subject = no is_in_faction = no } completion_reward = { get_best_alliance_match_democratic_effect = yes var:best_leader = { country_event = generic.2 } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_central_european_faction icon = { GFX_focus_GER_european_confederation = { ROOT = { has_completed_focus = CZE_petition_the_nobles } } GFX_focus_generic_subjugation = yes } prerequisite = { focus = CZE_claim_lands_of_the_bohemian_crown focus = CZE_aggressive_foreign_policy } cost = 10 relative_position_id = CZE_deepen_ties_with_puppet_kingdoms x = 11 y = 3 offset = { x = -5 y = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } offset = { x = 1 y = -4 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } OR = { has_completed_focus = CZE_aggressive_foreign_policy has_completed_focus = CZE_work_with_germany } } } offset = { x = 1 y = -5 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } completion_reward = { add_ideas = CZE_central_european_faction_idea custom_effect_tooltip = generic_skip_one_line_tt set_rule = { can_create_factions = yes } custom_effect_tooltip = generic_skip_one_line_tt add_command_power = 25 } } ############################ ##### Colab/Exile ###### ############################ focus = { id = CZE_complete_capitulation icon = GFX_focus_CZE_german_puppet prerequisite = { focus = CZE_feeding_the_alligator } mutually_exclusive = { focus = CZE_work_with_germany focus = CZE_aggressive_foreign_policy } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = CZE_negotiations_with_the_autonomous_bloc has_completed_focus = CZE_work_with_germany has_completed_focus = CZE_bastion_of_liberty has_completed_focus = CZE_aggressive_foreign_policy has_completed_focus = CZE_petition_the_nobles has_completed_focus = CZE_increase_funding_from_moscow } } } } relative_position_id = CZE_feeding_the_alligator x = 2 y = 1 offset = { x = -2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_complete_capitulation NOT = { has_completed_focus = CZE_coalition_building #only for fascists } } } offset = { x = -2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_coalition_building } } cost = 5 ai_will_do = { factor = 1 } available = { NOT = { has_war_with = GER } is_neighbor_of = GER is_subject = no GER = { exists = yes is_subject = no has_government = fascism has_completed_focus = GER_remilitarize_the_rhineland } } bypass = { ROOT = { is_subject_of = GER } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { mark_focus_tree_layout_dirty = yes GER = { country_event = { hours = 1 id = czech.19 } } } } focus = { id = CZE_stabilize_the_protectorate icon = GFX_focus_ger_reichskommisariats prerequisite = {focus = CZE_complete_capitulation } mutually_exclusive = { focus = CZE_prepare_for_exile } relative_position_id = CZE_complete_capitulation x = 0 y = 1 allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = CZE_negotiations_with_the_autonomous_bloc has_completed_focus = CZE_prepare_for_exile has_completed_focus = CZE_petition_the_nobles has_completed_focus = CZE_increase_funding_from_moscow has_completed_focus = CZE_work_with_germany has_completed_focus = CZE_aggressive_foreign_policy has_completed_focus = CZE_bastion_of_liberty } } } } cost = 5 ai_will_do = { factor = 1 } available = { is_subject_of = GER } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { mark_focus_tree_layout_dirty = yes if = { limit = { has_country_flag = CZE_hide_konrade_henlein_for_now } clr_country_flag = CZE_hide_konrade_henlein_for_now #Welcome back Henlein custom_effect_tooltip = CZE_stabilize_the_protectorate_unretire_henlein_tt #Sorry Modder, unretiring a character effect is still not a thing. I'm doing a novel thing called lying though custom_effect_tooltip. if = { limit = { has_character = CZE_konrad_henlein CZE_konrad_henlein = { has_trait = CZE_leader_of_the_sdp } } custom_effect_tooltip = available_political_advisor remove_trait = { character = CZE_konrad_henlein slot = political_advisor trait = CZE_leader_of_the_sdp } add_trait = { character = CZE_konrad_henlein slot = political_advisor trait = national_socialist_paramilitarist } } custom_effect_tooltip = generic_skip_one_line_tt } else = { if = { limit = { has_character = CZE_konrad_henlein CZE_konrad_henlein = { has_trait = CZE_leader_of_the_sdp } } remove_trait = { character = CZE_konrad_henlein slot = political_advisor trait = CZE_leader_of_the_sdp } add_trait = { character = CZE_konrad_henlein slot = political_advisor trait = national_socialist_paramilitarist } custom_effect_tooltip = generic_skip_one_line_tt } } add_ideas = CZE_stabilize_the_protectorate_idea } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_full_faith_in_hacha icon = GFX_focus_CZE_full_faith_in_hacha prerequisite = {focus = CZE_stabilize_the_protectorate } mutually_exclusive = { focus = CZE_moravecs_bohemia } relative_position_id = CZE_stabilize_the_protectorate x = -1 y = 1 cost = 5 ai_will_do = { factor = 4 } available = { is_subject_of = GER has_government = fascism } bypass = { NOT = { has_government = fascism } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_stability = 0.05 add_country_leader_role = { character = CZE_emil_hacha promote_leader = yes country_leader = { ideology = nazism expire = "1965.1.1.1" traits = { CZE_3rd_prezident } } } } } focus = { id = CZE_moravecs_bohemia icon = GFX_focus_CZE_moravecs_bohemia prerequisite = {focus = CZE_stabilize_the_protectorate } mutually_exclusive = { focus = CZE_full_faith_in_hacha } relative_position_id = CZE_stabilize_the_protectorate x = 1 y = 1 cost = 5 ai_will_do = { factor = 1 } bypass = { NOT = { has_government = fascism } } available = { is_subject_of = GER has_government = fascism } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_war_support = 0.10 add_country_leader_role = { character = CZE_emanuel_moravec promote_leader = yes country_leader = { ideology = nazism expire = "1965.1.1.1" traits = { eager_commander de_facto_leader } } } } } focus = { id = CZE_form_the_government_army icon = GFX_goal_generic_small_arms prerequisite = { focus = CZE_full_faith_in_hacha focus = CZE_moravecs_bohemia } relative_position_id = CZE_full_faith_in_hacha x = 1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { is_subject_of = GER } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_mobilization_speed = 0.10 tooltip = mobilization_speed_tt } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_form_the_government_army_idea custom_effect_tooltip = generic_skip_one_line_tt add_command_power = 25 } } focus = { id = CZE_forced_administration_of_companies icon = GFX_focus_DEN_heavy_regulations prerequisite = { focus = CZE_form_the_government_army } relative_position_id = CZE_form_the_government_army x = 0 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { is_subject_of = GER } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 25 custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_forced_administration_of_companies_idea } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_prepare_for_exile icon = GFX_focus_POL_romania_bridgehead_strategy prerequisite = { focus = CZE_complete_capitulation #focus = CZE_outreach_to_the_western_powers } mutually_exclusive = { focus = CZE_stabilize_the_protectorate } allow_branch = { has_dlc = "Man the Guns" NOT = { AND = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } OR = { has_completed_focus = CZE_increase_funding_from_moscow has_completed_focus = CZE_negotiations_with_the_autonomous_bloc has_completed_focus = CZE_bastion_of_liberty has_completed_focus = CZE_stabilize_the_protectorate has_completed_focus = CZE_aggressive_foreign_policy has_completed_focus = CZE_work_with_germany has_completed_focus = CZE_petition_the_nobles } } } } cost = 5 relative_position_id = CZE_complete_capitulation x = 3 y = 1 offset = { x = -3 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_prepare_for_exile } } completion_reward = { mark_focus_tree_layout_dirty = yes create_dynamic_country = { original_tag = CZE reserve_dynamic_country = yes set_country_flag = CZE_exile_committee ROOT = { every_character = { limit = { OR = { AND = { ROOT = { has_completed_focus = CZE_unify_the_fascist_parties } is_character = CZE_radola_gajda } is_character = CZE_edvard_benesh is_character = CZE_stefan_osusky is_character = CZE_zdenek_fierlinger } } hidden_effect = { set_nationality = PREV.PREV } custom_effect_tooltip = CZE_joins_government_in_exile_tt } } } } } focus = { id = CZE_infiltrate_collaborationist_organizations icon = GFX_focus_generic_infiltration prerequisite = { focus = CZE_prepare_for_exile } cost = 5 relative_position_id = CZE_prepare_for_exile x = 0 y = 1 completion_reward = { custom_effect_tooltip = CZE_administrative_chaos_tt effect_tooltip = { add_timed_idea = { idea = CZE_adminstrative_chaos days = 120 } } } } focus = { id = CZE_enter_exile icon = GFX_focus_prc_infiltration prerequisite = { focus = CZE_infiltrate_collaborationist_organizations } cost = 2 relative_position_id = CZE_infiltrate_collaborationist_organizations x = 0 y = 1 available = { is_subject_of = GER any_other_country = { is_major = yes has_war_with = GER has_government = democratic NOT = { has_country_flag = CZE_refused_exile } } } completion_reward = { if = { #prefer faction leaders limit = { any_other_country = { is_faction_leader = yes has_war_with = GER has_government = democratic NOT = { has_country_flag = CZE_refused_exile } } } random_other_country = { limit = { is_faction_leader = yes has_war_with = GER has_government = democratic NOT = { has_country_flag = CZE_refused_exile } } country_event = MUN_czech.1033 } } else = { random_other_country = { limit = { is_major = yes has_war_with = GER has_government = democratic NOT = { has_country_flag = CZE_refused_exile } } country_event = MUN_czech.1033 } } } } focus = { id = CZE_contact_the_czech_and_slovak_legion icon = GFX_focus_generic_manpower prerequisite = { focus = CZE_enter_exile } cost = 2 relative_position_id = CZE_enter_exile x = 0 y = 1 available_if_capitulated = yes available = { has_capitulated = yes OR = { AND = { is_ally_with = FRA has_war_together_with = FRA FRA = { has_capitulated = no } } AND = { is_ally_with = POL has_war_together_with = POL POL = { has_capitulated = no } } } } completion_reward = { if = { limit = { has_character = CZE_josef_shnejdarek } show_unit_leaders_tooltip = CZE_josef_shnejdarek } division_template = { name = "Czech and Slovak Legion" priority = 2 regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } infantry = { x = 1 y = 0 } infantry = { x = 1 y = 1 } infantry = { x = 1 y = 2 } infantry = { x = 2 y = 0 } infantry = { x = 2 y = 1 } infantry = { x = 2 y = 2 } } support = { engineer = { x = 0 y = 0 } artillery = { x = 0 y = 1 } } } if = { limit = { is_ally_with = POL has_war_together_with = POL POL = { has_capitulated = no } } POL = { random_owned_controlled_state = { prioritize = { 10 } create_unit = { division = "name = \"Czech and Slovak Legion\" division_template = \"Czech and Slovak Legion\" start_experience_factor = 1.0" owner = ROOT } } } } if = { limit = { is_ally_with = FRA has_war_together_with = FRA FRA = { has_capitulated = no } } FRA = { random_owned_controlled_state = { prioritize = { 16 } create_unit = { division = "name = \"Czechoslovak Exile Army\" division_template = \"Czech and Slovak Legion\" start_experience_factor = 1.0" owner = ROOT } } } } custom_effect_tooltip = generic_skip_one_line_tt add_ace = { name = "Leopold" surname = "Šrom" callsign = "Orel" #made up based on coat of arms type = fighter_unique is_female = no } add_ace = { name = "Václav" surname = "Jícha" callsign = "Lev" #made up based on coat of arms type = fighter_unique is_female = no } if = { limit = { is_ally_with = FRA } add_ace = { name = "František" surname = "Peřina" callsign = "François" type = fighter_unique is_female = no } } else = { add_ace = { name = "František" surname = "Peřina" callsign = "Medvěd" #made up based on coat of arms type = fighter_unique is_female = no } } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER } } ############################ ##### Democratic ###### ############################ focus = { id = CZE_placate_benes_faction icon = GFX_focus_generic_befriend_czechoslovakia prerequisite = { focus = CZE_coalition_building } mutually_exclusive = { focus = CZE_negotiations_with_the_autonomous_bloc focus = CZE_increase_funding_from_moscow } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { OR = { has_completed_focus = CZE_appeal_to_the_castle has_completed_focus = CZE_increase_funding_from_moscow has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } } } relative_position_id = CZE_coalition_building x = -10 y = 1 offset = { x = 10 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } ai_will_do = { factor = 10 } cost = 5 available = { has_government = democratic } completion_reward = { mark_focus_tree_layout_dirty = yes add_political_power = 75 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_frantisek_machnik custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { CZE_milan_hodza = { has_trait = CZE_disoriented_minister_of_foreign_affairs } } remove_country_leader_trait = CZE_disoriented_minister_of_foreign_affairs } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } custom_effect_tooltip = generic_skip_one_line_tt CZE_the_broad_coalition_idea_up = yes } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_king_of_the_castle icon = GFX_focus_RAJ_kingmaker prerequisite = { focus = CZE_placate_benes_faction } relative_position_id = CZE_placate_benes_faction x = 1 y = 1 offset = { x = -3 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_bastion_of_liberty } } cost = 5 ai_will_do = { factor = 10 } available = { has_character = CZE_edvard_benesh has_government = democratic # NOT = { # has_country_leader = { # character = CZE_jan_syrovy # ruling_only = yes # } # } OR = { threat > 0.14 has_war = yes GER = { has_completed_focus = GER_anschluss } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 25 add_war_support = 0.03 add_popularity = { ideology = democratic popularity = 0.03 } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { has_country_leader = { character = CZE_jan_syrovy ruling_only = yes } } } CZE_edvard_benesh = { promote_character = yes } } else = { effect_tooltip = { set_can_be_fired_in_advisor_role = { character = CZE_edvard_benesh value = yes } } } hidden_effect = { if = { limit = { CZE_edvard_benesh = { advisor_can_be_fired = no } } } set_can_be_fired_in_advisor_role = { #Goes without saying if we're making him leader character = CZE_edvard_benesh value = yes } } #This will always be a idea swap so the tooltip should display a swap effect effect_tooltip = { swap_ideas = { remove_idea = CZE_the_broad_coalition_idea_2 add_idea = CZE_the_broad_coalition_idea_3 } } hidden_effect = { CZE_the_broad_coalition_idea_up = yes } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } #custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_WAR_SUPPORT } } focus = { id = CZE_merge_the_paramilitaries icon = GFX_focus_ITA_banda_carita x = -9 y = 1 offset = { x = 3 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_coalition_building } } offset = { x = 1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_bastion_of_liberty } } offset = { x = -5 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } offset = { x = -1 trigger = { has_completed_focus = CZE_bastion_of_liberty has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } # offset = { # x = -2 # trigger = { # has_game_rule = { # rule = obsolete_focus_branches_visibility # option = HIDE # } # has_completed_focus = CZE_placate_benes_faction # } # } cost = 5 prerequisite = { focus = CZE_placate_benes_faction focus = CZE_unify_the_fascist_parties } relative_position_id = CZE_placate_benes_faction available = { OR = { threat > 0.14 has_war = yes has_war_support > 0.75 } } cancel_if_invalid = no completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_conscription_factor = 0.05 tooltip = conscription_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_training_time_factor = -0.05 tooltip = training_time_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_modifier_army_sub_unit_militia_defence_factor = 0.05 tooltip = modifier_army_sub_unit_militia_defence_factor_tt } if = { limit = { NOT = { has_tech = militia_tech } } custom_effect_tooltip = generic_skip_one_line_tt set_technology = { militia_tech = 1 popup = no } } custom_effect_tooltip = generic_skip_one_line_tt add_command_power = 25 } search_filters = { FOCUS_FILTER_MANPOWER } } focus = { id = CZE_integrated_paramilitaries icon = GFX_focus_RAJ_a_private_military x = 0 y = 1 cost = 5 prerequisite = { focus = CZE_merge_the_paramilitaries } relative_position_id = CZE_merge_the_paramilitaries available = { OR = { threat > 0.20 has_war = yes has_war_support > 0.80 } } cancel_if_invalid = no completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_modifier_army_sub_unit_militia_defence_factor = 0.10 tooltip = modifier_army_sub_unit_militia_defence_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_training_time_factor = -0.05 tooltip = training_time_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_conscription_factor = 0.10 tooltip = conscription_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_militias_officer_random_general_tt hidden_effect = { every_army_leader = { limit = { NOT = { has_trait = militias_officer } } random_select_amount = 1 add_trait = { trait = militias_officer } } } #if = { # limit = { # has_completed_focus = CZE_align_slovak_catholics # } # show_unit_leaders_tooltip = CZE_vojtech_tuka #} } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_MANPOWER } } focus = { id = CZE_wielding_the_hammer icon = GFX_focus_AUS_lawmaking_leniency x = -2 y = 0 cost = 5 prerequisite = { focus = CZE_placate_benes_faction focus = CZE_unify_the_fascist_parties } relative_position_id = CZE_merge_the_paramilitaries ai_will_do = { factor = 1 } available = { if = { limit = { has_government = democratic NOT = { has_completed_focus = CZE_appeal_to_the_castle } } democratic > 0.75 } if = { limit = { has_completed_focus = CZE_appeal_to_the_castle } fascism > 0.75 } } completion_reward = { add_political_power = 25 add_command_power = 25 custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_wielding_the_hammer_idea } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_emergency_measures icon = GFX_focus_generic_expropriate_industrialist x = 0 y = 1 cost = 10 prerequisite = { focus = CZE_wielding_the_hammer } relative_position_id = CZE_wielding_the_hammer ai_will_do = { factor = 1 } available = { OR = { has_war = yes threat > 0.14 GER = { has_completed_focus = GER_anschluss } any_neighbor_country = { OR = { has_added_tension_amount > 10 is_justifying_wargoal_against = PREV #PREV is ROOT (CZE) here } } } } cancel_if_invalid = no continue_if_invalid = yes #dont cancel on dropping tension/ws completion_reward = { custom_effect_tooltip = AUS_seek_papal_support_tt hidden_effect = { add_popularity = { ideology = ROOT popularity = 0.05 } } if = { limit = { has_dlc = "La Resistance" has_intelligence_agency = yes } IF = { limit = { agency_upgrade_number < 4 } custom_effect_tooltip = generic_skip_one_line_tt upgrade_intelligence_agency = upgrade_passive_defense custom_effect_tooltip = generic_skip_one_line_tt } } else = { custom_effect_tooltip = generic_skip_one_line_tt } add_timed_idea = { idea = CZE_emergency_measures_idea days = 1095 } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_leverage_sokol icon = GFX_focus_CZE_mobilize_the_sokol prerequisite = { focus = CZE_negotiations_with_the_autonomous_bloc focus = CZE_placate_benes_faction } relative_position_id = CZE_placate_benes_faction x = 4 y = 1 offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } offset = { x = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_bastion_of_liberty } } cost = 5 ai_will_do = { factor = 1 } available = { democratic > 0.75 OR = { has_war = yes threat > 0.25 } } cancel_if_invalid = no continue_if_invalid = yes available_if_capitulated = no completion_reward = { add_ideas = CZE_leveraged_sokol custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_stanislav_bukovsky if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_super_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_MANPOWER } } focus = { id = CZE_negotiations_with_the_autonomous_bloc icon = GFX_focus_generic_befriend_slovakia relative_position_id = CZE_placate_benes_faction x = 12 y = 0 offset = { x = -2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } prerequisite = { focus = CZE_coalition_building } mutually_exclusive = { focus = CZE_placate_benes_faction focus = CZE_increase_funding_from_moscow } allow_branch = { if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = CZE_placate_benes_faction has_completed_focus = CZE_appeal_to_the_castle has_completed_focus = CZE_increase_funding_from_moscow } } } cost = 5 ai_will_do = { factor = 1 } available = { if = { limit = { is_ai = yes } is_subject = no } CZE_SLO_is_not_its_own_thing = yes CZE = { controls_state = 70 controls_state = 71 has_war = no } } bypass = { CZE_SLO_is_not_its_own_thing = no SLO = { is_subject_of = ROOT } NOT = { has_completed_focus = CZE_placate_benes_faction } } bypass_effect = { mark_focus_tree_layout_dirty = yes add_political_power = 50 } completion_reward = { mark_focus_tree_layout_dirty = yes add_political_power = 75 add_popularity = { ideology = neutrality popularity = -0.14 } hidden_effect = { add_popularity = { ideology = democratic popularity = 0.10 } } add_stability = -0.05 if = { limit = { has_character = CZE_jozef_tiso CZE_jozef_tiso = { has_trait = backroom_backstabber } } custom_effect_tooltip = generic_skip_one_line_tt remove_trait = { character = CZE_jozef_tiso slot = political_advisor trait = backroom_backstabber } add_trait = { character = CZE_jozef_tiso slot = political_advisor trait = nationalist_catholic_priest } } custom_effect_tooltip = generic_skip_one_line_tt activate_mission = CZE_the_autonomous_bloc_demands custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_tooltip = CZE_a_divided_nation_sudentenland_germans_cooperate hidden_effect = { CZE_get_rid_of_the_auto_blok = yes if = { #Making sure Benesh doesn't show up again after getting kicked to the curb limit = { has_character = CZE_edvard_benesh } remove_country_leader_role = { #You're not invite to our new cool club character = CZE_edvard_benesh ideology = conservatism } } } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL } } focus = { id = CZE_slovakia_autonomy_agreement icon = GFX_focus_CZE_slovak_independence prerequisite = { focus = CZE_negotiations_with_the_autonomous_bloc } relative_position_id = CZE_negotiations_with_the_autonomous_bloc x = 1 y = 1 offset = { x = 2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } cost = 5 ai_will_do = { factor = 1 } available = { is_subject = no controls_state = 70 controls_state = 71 } bypass = { CZE_SLO_is_not_its_own_thing = no NOT = { controls_state = 70 controls_state = 71 } } bypass_effect = { hidden_effect = { if = { limit = { SLO = { is_subject_of = ROOT } } SLO ={ set_cosmetic_tag = CZE_puppet } } set_country_flag = CZE_slovakia_autonomy_agreement_was_bypassed } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no select_effect = { set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled if = { limit = { has_active_mission = CZE_the_autonomous_bloc_demands } add_days_mission_timeout = { mission = CZE_the_autonomous_bloc_demands days = 35 #needs to be the same as cost } } } completion_reward = { if = { limit = { NOT = { has_country_flag = CZE_failed_SLO_demands } } custom_effect_tooltip = CZE_slovakia_autonomy_agreement_2_tt custom_effect_tooltip = generic_skip_one_line_tt } else_if = { limit = { any_owned_state = { has_dynamic_modifier = { modifier = CZE_nationalist_protests } } } every_owned_state = { limit = { has_dynamic_modifier = CZE_nationalist_protests } remove_dynamic_modifier = { modifier = CZE_nationalist_protests } } custom_effect_tooltip = generic_skip_one_line_tt } effect_tooltip = { release_autonomy = { target = SLO autonomy_state = autonomy_integrated_puppet freedom_level = 0.25 } SLO = { add_ideas = CZE_federalization_agreement_puppets } } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_federalization_agreement_1 if = { limit = { 73 = { is_controlled_by = ROOT } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_slovakia_autonomy_agreement_tt } hidden_effect = { if = { limit = { 73 = { is_owned_and_controlled_by = ROOT } } 73 = { remove_core_of = SLO } } release_autonomy = { target = SLO autonomy_state = autonomy_integrated_puppet freedom_level = 0.25 } if = { limit = { NOT = { has_completed_focus = CZE_form_a_federation } } SLO ={ set_cosmetic_tag = CZE_puppet } } else_if = { limit = { has_completed_focus = CZE_form_a_federation } SLO = { set_cosmetic_tag = CZE_CEF_puppet } } SLO = { add_ideas = CZE_federalization_agreement_puppets } if = { limit = { 73 = { NOT = { is_core_of = SLO } } } 73 = { add_core_of = SLO } } country_event = { id = MUN_czech.1047 hours = 1 } activate_mission = CZE_the_autonomous_bloc_demands hidden_effect = { if = { limit = { 70 = { NOT = { is_core_of = ROOT } } } 70 = { add_core_of = ROOT } } if = { limit = { 71 = { NOT = { is_core_of = ROOT } } } 71 = { add_core_of = ROOT } } if = { limit = { 664 = { NOT = { is_core_of = ROOT } } } 664 = { add_core_of = ROOT } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_decrease_effect = yes } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_topple_the_king icon = GFX_focus_PER_communist_afghanistan_intervention prerequisite = { focus = CZE_negotiations_with_the_autonomous_bloc } relative_position_id = CZE_negotiations_with_the_autonomous_bloc x = -1 y = 1 offset = { x = 2 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } cost = 5 ai_will_do = { factor = 1 } available = { threat > 0.10 NOT = { has_idea = CZE_taticek_of_czechoslovakia } CZE_edvard_benesh = { is_hired_as_advisor = yes advisor_can_be_fired = no } hidden_trigger = { has_character = CZE_edvard_benesh } } cancel_if_invalid = no continue_if_invalid = yes completion_reward = { add_political_power = 25 custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_character = CZE_edvard_benesh CZE_edvard_benesh = { is_hired_as_advisor = yes } } deactivate_advisor = CZE_edvard_benesh_idea hidden_effect = { if = { limit = { CZE_edvard_benesh = { advisor_can_be_fired = no } } } set_can_be_fired_in_advisor_role = { #Goes without saying if we're deactivating him character = CZE_edvard_benesh value = yes } } } custom_effect_tooltip = generic_skip_one_line_tt every_character = { limit = { is_advisor = yes has_trait = CZE_benes_lackey } remove_trait = { character = THIS slot = political_advisor trait = CZE_benes_lackey } } # if = { # limit = { # has_character = CZE_edvard_benesh # } # custom_effect_tooltip = generic_skip_one_line_tt # custom_effect_tooltip = { # localization_key = remove_character_as_tt # CHARACTER = CZE_edvard_benesh # ROLE = political_advisor # } # hidden_effect = { # retire_character = CZE_edvard_benesh # } # } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_comprise_with_the_carpathians icon = GFX_focus_HUN_demand_carpathian_ruthenia prerequisite = { focus = CZE_slovakia_autonomy_agreement } mutually_exclusive = { focus = CZE_cut_carpathia_loose } relative_position_id = CZE_slovakia_autonomy_agreement x = -1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { is_subject = no 73 = { is_fully_controlled_by = ROOT } } bypass = { 73 = { NOT = { is_controlled_by = ROOT } } } select_effect = { if = { limit = { has_active_mission = CZE_the_rut_demands } add_days_mission_timeout = { mission = CZE_the_rut_demands days = 35 #needs to be the same as cost } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { NOT = { has_country_flag = CZE_failed_RUT_demands } } custom_effect_tooltip = CZE_the_rut_demands_add_35_CZE_comprise_with_the_carpathians_tt custom_effect_tooltip = generic_skip_one_line_tt } else_if = { limit = { 73 = { has_dynamic_modifier = { modifier = CZE_nationalist_protests } } } 73 = { remove_dynamic_modifier = { modifier = CZE_nationalist_protests } } custom_effect_tooltip = generic_skip_one_line_tt } 73 = { add_dynamic_modifier = { modifier = CZE_rut_comprise_agreement_modifier } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_decrease_effect = yes } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_augustin_voloshyn } } focus = { id = CZE_cut_carpathia_loose icon = GFX_focus_CZE_federative_republic prerequisite = { focus = CZE_slovakia_autonomy_agreement } mutually_exclusive = { focus = CZE_comprise_with_the_carpathians } relative_position_id = CZE_slovakia_autonomy_agreement x = 1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { is_subject = no has_war = no 73 = { is_fully_controlled_by = ROOT } } # bypass = { # 73 = { # NOT = { # is_controlled_by = ROOT # } # } # } select_effect = { if = { limit = { has_active_mission = CZE_the_rut_demands } add_days_mission_timeout = { mission = CZE_the_rut_demands days = 35 #needs to be the same as cost } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { NOT = { has_country_flag = CZE_failed_RUT_demands } } custom_effect_tooltip = CZE_the_rut_demands_add_35_CZE_comprise_with_the_carpathians_tt custom_effect_tooltip = generic_skip_one_line_tt } else_if = { limit = { 73 = { has_dynamic_modifier = { modifier = CZE_nationalist_protests } } } 73 = { remove_dynamic_modifier = { modifier = CZE_nationalist_protests } } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { has_idea = CZE_federalization_agreement_1 } swap_ideas = { remove_idea = CZE_federalization_agreement_1 add_idea = CZE_federalization_agreement_2 } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_federalization_agreement_1 add_idea = CZE_federalization_agreement_2 } } } hidden_effect = { 73 = { add_core_of = RUT } } release_autonomy = { target = RUT autonomy_state = autonomy_integrated_puppet freedom_level = 0.5 } hidden_effect = { if = { limit = { 73 = { NOT = { is_core_of = ROOT } } } 73 = { add_core_of = ROOT } } } if = { limit = { NOT = { has_completed_focus = CZE_form_a_federation } } RUT ={ set_cosmetic_tag = CZE_puppet } } else_if = { limit = { has_completed_focus = CZE_form_a_federation } RUT = { set_cosmetic_tag = CZE_CEF_puppet } } RUT = { add_ideas = CZE_federalization_agreement_puppets } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_decrease_effect = yes } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_apart_but_togather icon = GFX_goal_generic_national_unity prerequisite = { focus = CZE_comprise_with_the_carpathians focus = CZE_cut_carpathia_loose } relative_position_id = CZE_comprise_with_the_carpathians x = 1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { OR = { SLO = { is_subject_of = ROOT } RUT = { is_subject_of = ROOT } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { has_idea = CZE_federalization_agreement_2 } swap_ideas = { remove_idea = CZE_federalization_agreement_2 add_idea = CZE_federalization_agreement_3 } } else_if = { limit = { has_idea = CZE_federalization_agreement_1 } swap_ideas = { remove_idea = CZE_federalization_agreement_1 add_idea = CZE_federalization_agreement_2 } } else_if = { limit = { NOT = { has_country_flag = CZE_slovakia_autonomy_agreement_was_bypassed } } effect_tooltip = { swap_ideas = { remove_idea = CZE_federalization_agreement_1 add_idea = CZE_federalization_agreement_2 } } } if = { limit = { has_country_flag = CZE_slovakia_autonomy_agreement_was_bypassed } add_ideas = CZE_federalization_agreement_1 } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } #custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_WAR_SUPPORT } } focus = { id = CZE_reorient_the_broad_coalition icon = GFX_focus_ETH_re-convene_the_parliament prerequisite = { focus = CZE_placate_benes_faction focus = CZE_negotiations_with_the_autonomous_bloc } relative_position_id = CZE_placate_benes_faction x = 6 y = 1 offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } offset = { x = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_bastion_of_liberty } } cost = 5 ai_will_do = { factor = 1 } available = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 25 custom_effect_tooltip = generic_skip_one_line_tt CZE_agrarian_politics_goes_down = yes CZE_the_broad_coalition_idea_up = yes custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_jan_sramek } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_compromise_with_the_veteran_agrarian icon = GFX_focus_CZE_rszml prerequisite = {focus = CZE_reorient_the_broad_coalition } relative_position_id = CZE_reorient_the_broad_coalition x = -1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no complete_tooltip = { } completion_reward = { add_war_support = 0.03 custom_effect_tooltip = generic_skip_one_line_tt CZE_agrarian_politics_goes_down = yes custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_josef_cerny } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT } } focus = { id = CZE_deepend_ties_with_the_trademans icon = GFX_focus_CZE_czos prerequisite = {focus = CZE_reorient_the_broad_coalition } relative_position_id = CZE_reorient_the_broad_coalition x = 1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 25 add_popularity = { ideology = ROOT popularity = 0.03 } custom_effect_tooltip = generic_skip_one_line_tt CZE_agrarian_politics_goes_down = yes custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_rudolf_mlcoch } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL } } focus = { id = CZE_truth_prevails icon = GFX_focus_ARG_defense_and_democracy prerequisite = { focus = CZE_compromise_with_the_veteran_agrarian focus = CZE_deepend_ties_with_the_trademans } relative_position_id = CZE_compromise_with_the_veteran_agrarian x = 1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { OR = { democratic > 0.75 has_war_with_major = yes } NOT = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } } cancel_if_invalid = no continue_if_invalid = yes completion_reward = { add_political_power = 75 add_popularity = { ideology = ROOT popularity = 0.05 } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_truth_prevails_idea if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } } focus = { id = CZE_reintegrate_cross_border_rail_connections icon = GFX_focus_GER_kriegslokomotive prerequisite = { focus = CZE_deepend_ties_with_the_trademans } prerequisite = { focus = CZE_negotiations_with_the_autonomous_bloc } relative_position_id = CZE_deepend_ties_with_the_trademans x = 3 y = 1 offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } any_neighbor_country = { NOT = { has_war_with = ROOT } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { #TODO_logan this should prob give an event to targets about this effect happening - low prio every_state = { limit = { controller = { OR = { is_neighbor_of = ROOT original_tag = CZE if = { limit = { SLO = { is_subject_of = CZE } } is_neighbor_of = SLO } if = { limit = { RUT = { is_subject_of = CZE } } is_neighbor_of = RUT } } NOT = { has_war_with = ROOT } OR = { has_government = ROOT has_government = neutrality original_tag = AUS } } OR = { #TODO_logan better checks then doing states, use has_railway_connection? #state = 89 #state = 88 state = 762 state = 43 state = 76 state = 4 state = 67 state = 65 state = 54 state = 71 state = 70 state = 972 state = 73 state = 72 state = 74 state = 69 } } add_dynamic_modifier = { modifier = CZE_improve_cross_border_rail_connections_modifier days = 180 } } custom_effect_tooltip = generic_skip_one_line_tt every_neighbor_country = { limit = { is_neighbor_of = ROOT NOT = { has_war_with = ROOT } OR = { has_government = ROOT has_government = neutrality original_tag = AUS } OR = { controls_state = 88 controls_state = 762 controls_state = 43 controls_state = 76 controls_state = 4 controls_state = 67 controls_state = 65 controls_state = 54 } } add_opinion_modifier = { target = FROM modifier = CZE_improving_cross_border_rail_connections } if = { limit = { OR = { original_tag = HUN original_tag = AUS } } set_country_flag = CZE_reintegrate_cross_border_rail_connections_flag } } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = infrastructure size > 0 } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = infrastructure size > 0 } is_in_home_area = yes } } } } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_owned_controlled_state = { prioritize = { 75 } limit = { free_building_slots = { building = infrastructure size > 1 } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = infrastructure size > 1 } is_in_home_area = yes } } } } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } } focus = { id = CZE_free_tuka icon = GFX_focus_CZE_free_tuka prerequisite = { focus = CZE_negotiations_with_the_autonomous_bloc focus = CZE_placate_benes_faction } relative_position_id = CZE_placate_benes_faction x = 8 y = 1 offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } offset = { x = 0 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_bastion_of_liberty } } cost = 5 ai_will_do = { factor = 1 } available = { OR = { CZE_SLO_is_not_its_own_thing = yes AND = { SLO = { is_subject_of = ROOT NOT = { has_government = fascism has_country_leader = { character = SLO_vojtech_tuka ruling_only = yes } } } ROOT = { #ROOT for tt reasons has_character = CZE_vojtech_tuka } } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 75 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_vojtech_tuka hidden_effect = { if = { limit = { has_character = CZE_vojtech_tuka } CZE_vojtech_tuka = { set_character_flag = CZE_released_from_prison set_portraits = { army = { small ="GFX_portrait_SLO_vojtech_tuka_small" } } } } } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_revisit_custom_union_talks icon = GFX_focus_GER_customs_union prerequisite = { focus = CZE_reintegrate_cross_border_rail_connections } relative_position_id = CZE_reintegrate_cross_border_rail_connections x = 0 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no any_neighbor_country = { OR = { original_tag = AUS original_tag = HUN } has_country_flag = CZE_reintegrate_cross_border_rail_connections_flag NOT = { has_war_with = ROOT } } any_core_state = { is_controlled_by = ROOT } hidden_trigger = { OR = { AUS = { exists = yes } HUN = { exists = yes } } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { NOT = { has_completed_focus = CZE_reintegrate_cross_border_rail_connections } } effect_tooltip = { every_neighbor_country = { limit = { OR = { original_tag = AUS original_tag = HUN } NOT = { has_country_flag = CZE_reintegrate_cross_border_rail_connections_flag } } country_event = { id = MUN_czech.1040 hours = 2 } } } } every_neighbor_country = { limit = { has_country_flag = CZE_reintegrate_cross_border_rail_connections_flag OR = { original_tag = AUS original_tag = HUN } NOT = { has_war_with = ROOT } } country_event = { id = MUN_czech.1040 hours = 2 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { add_opinion_modifier = { target = ROOT modifier = CZE_customs_union_member } } custom_effect_tooltip = CZE_revisit_custom_union_talks_2_tt } if = { limit = { NOT = { is_neighbor_of = HUN } SLO = { is_subject_of = ROOT is_neighbor_of = HUN } HUN = { NOT = { has_war_with = ROOT } } } HUN = { country_event = { id = MUN_czech.1040 hours = 2 } } } custom_effect_tooltip = if_they_refuse_tt event_option_tooltip = MUN_czech.1040.b custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_revisit_custom_union_talks_tt } } focus = { id = CZE_form_a_federation icon = GFX_focus_GER_european_confederation prerequisite = { focus = CZE_revisit_custom_union_talks } relative_position_id = CZE_revisit_custom_union_talks x = 0 y = 2 offset = { x = 0 y = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } cost = 10 ai_will_do = { factor = 1 } available = { is_subject = no any_neighbor_country = { OR = { original_tag = AUS original_tag = HUN } exists = yes } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { set_cosmetic_tag = CZE_CEF set_country_flag = CZE_form_the_european_federation_flag custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_category_tooltip = CZE_central_european_federation every_other_country = { limit = { is_subject_of = ROOT } add_autonomy_score = { value = -50 localization = CZE_form_a_federation } hidden_effect = { set_cosmetic_tag = CZE_CEF_puppet } #custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { original_tag = RUT original_tag = SLO has_idea = CZE_federalization_agreement_puppets } } add_ideas = CZE_federalization_agreement_puppets } } } } focus = { id = CZE_bend_the_bars icon = GFX_focus_generic_the_council_of_europe prerequisite = { focus = CZE_form_a_federation focus = CZE_demand_guarantees } relative_position_id = CZE_form_a_federation x = -1 y = 2 offset = { x = -1 y = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } offset = { x = -3 y = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } cost = 10 ai_will_do = { factor = 0 } available = { is_major = yes custom_trigger_tooltip = { tooltip = CZE_bop_no_divided_nation_tt NOT = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } } custom_trigger_tooltip = { tooltip = CZE_bop_no_agrarians_tt NOT = { has_idea = CZE_agrarian_politics_3 has_idea = CZE_agrarian_politics_2 has_idea = CZE_agrarian_politics_1 } } custom_trigger_tooltip = { tooltip = CZE_bop_no_industrialists_tt NOT = { has_idea = CZE_industrialists_veto has_idea = CZE_industrialists_veto_2 } } NOT = { has_power_balance = { id = CZE_bop_army_readiness } } is_subject = no } completion_reward = { add_political_power = 150 custom_effect_tooltip = generic_skip_one_line_tt every_other_country = { limit = { is_subject_of = ROOT } add_autonomy_score = { value = -25 localization = CZE_bend_the_bars } custom_effect_tooltip = generic_skip_one_line_tt } unlock_decision_tooltip = form_european_union } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_reassure_the_army icon = GFX_focus_ETH_peacekeeping_forces prerequisite = {focus = CZE_truth_prevails } relative_position_id = CZE_truth_prevails x = 0 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_war_support = 0.03 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_dig_in_speed_factor = 0.10 tooltip = dig_in_speed_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_cas_damage_reduction = 0.10 tooltip = cas_damage_reduction_tt } add_to_variable = { CZE_ceskoslovenska_armada_recon_factor_while_entrenched = 0.10 tooltip = recon_factor_while_entrenched_tt } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_medium_increase_effect = yes } } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_WAR_SUPPORT } } focus = { id = CZE_standing_against_the_storm icon = GFX_focus_generic_manpower prerequisite = { focus = CZE_reassure_the_army } relative_position_id = CZE_reassure_the_army x = 0 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { has_war_with_major = yes } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_war_support = 0.05 custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_standing_against_the_storm_idea days = 720 } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_high_increase_effect = yes } } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_WAR_SUPPORT } } focus = { id = CZE_outreach_to_the_western_powers icon = GFX_goal_generic_major_alliance prerequisite = { focus = CZE_bastion_of_liberty } prerequisite = { focus = CZE_compromise_with_the_veteran_agrarian } relative_position_id = CZE_placate_benes_faction x = 2 y = 4 offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_bastion_of_liberty } } cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } bypass = { GER = { OR = { exists = no if = { limit = { has_dlc = "Gotterdammerung" } has_completed_focus = GER_oppose_hitler_ww } else = { has_completed_focus = GER_oppose_hitler } has_completed_focus = GER_befriend_czechoslovakia has_completed_focus = GER_demand_sudetenland is_subject = yes } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_command_power = 25 if = { limit = { FRA = { has_government = ROOT NOT = { has_war_with = ROOT #can never be to safe } } } custom_effect_tooltip = generic_skip_one_line_tt FRA = { add_opinion_modifier = { target = CZE modifier = CZE_renewed_diplomatic_efforts } add_ai_strategy = { type = support id = CZE value = 5 } add_ai_strategy = { type = protect id = CZE value = 5 } } } if = { limit = { ENG = { has_government = ROOT NOT = { has_war_with = ROOT #can never be to safe } } } custom_effect_tooltip = generic_skip_one_line_tt ENG = { add_opinion_modifier = { target = CZE modifier = CZE_renewed_diplomatic_efforts } add_ai_strategy = { type = support id = CZE value = 5 } } } if = { limit = { USA = { has_government = ROOT NOT = { has_war_with = ROOT #can never be to safe } } } custom_effect_tooltip = generic_skip_one_line_tt USA = { add_opinion_modifier = { target = CZE modifier = CZE_renewed_diplomatic_efforts } } } if = { limit = { NOT = { GER = { OR = { exists = no has_completed_focus = GER_oppose_hitler has_completed_focus = GER_oppose_hitler_ww has_completed_focus = GER_befriend_czechoslovakia has_completed_focus = GER_demand_sudetenland is_subject = yes } } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_allies_more_likely_to_defend_us_3_tt } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_grow_the_anglo_czechoslovak_prague_credit_bank icon = GFX_focus_PER_national_bank prerequisite = {focus = CZE_outreach_to_the_western_powers } relative_position_id = CZE_outreach_to_the_western_powers x = 2 y = 1 offset = { y = 1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } offset = { x = -4 y = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_bastion_of_liberty } } cost = 10 ai_will_do = { factor = 1 } available = { ENG = { has_government = ROOT has_opinion = { target = ROOT value > 9 } } NOT = { has_war_with = ENG } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { ENG = { has_government = ROOT } } ENG = { add_opinion_modifier = { target = ROOT modifier = small_increase } } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { USA = { has_government = ROOT } } USA = { add_opinion_modifier = { target = ROOT modifier = small_increase } add_ai_strategy = { type = befriend id = CZE value = 5 } } custom_effect_tooltip = generic_skip_one_line_tt } custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_karel_englis custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = CZE_anglo_czechoslovak_bank } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_supply_fighters_for_allies icon = GFX_goal_generic_air_fighter prerequisite = {focus = CZE_outreach_to_the_western_powers } cost = 10 relative_position_id = CZE_outreach_to_the_western_powers x = 0 y = 1 available = { has_equipment = { small_plane_airframe > 149 } has_government = democratic OR = { ENG = { has_government = ROOT } FRA = { has_government = ROOT } } } bypass = { GER = { OR = { exists = no if = { limit = { has_dlc = "Gotterdammerung" } has_completed_focus = GER_oppose_hitler_ww } else = { has_completed_focus = GER_oppose_hitler } has_completed_focus = GER_befriend_czechoslovakia has_completed_focus = GER_demand_sudetenland is_subject = yes } } } ai_will_do = { factor = 2 } completion_reward = { if = { limit = { ENG = { exists = yes has_government = democratic has_completed_focus = ENG_steady_as_she_goes NOT = { has_war_with = ROOT has_war_with = FRA } } } send_equipment = { equipment = small_plane_airframe amount = 50 target = ENG } send_equipment = { equipment = small_plane_airframe amount = 100 target = FRA } } else = { send_equipment = { equipment = small_plane_airframe amount = 150 target = FRA } } if = { limit = { ENG = { NOT = { has_war_with = ROOT #can never be to safe } } } ENG = { add_ai_strategy = { type = support id = CZE value = 5 } } } if = { limit = { FRA = { NOT = { has_war_with = ROOT #can never be to safe } } } FRA = { add_ai_strategy = { type = support id = CZE value = 5 } add_ai_strategy = { type = protect id = CZE value = 5 } } } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_supply_fighters_for_allies bonus = 1 ahead_reduction = 0.5 uses = 1 category = light_fighter category = cat_heavy_fighter } if = { limit = { NOT = { GER = { OR = { exists = no has_completed_focus = GER_oppose_hitler has_completed_focus = GER_oppose_hitler_ww has_completed_focus = GER_befriend_czechoslovakia has_completed_focus = GER_demand_sudetenland is_subject = yes } } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_allies_more_likely_to_defend_us_tt } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_demand_guarantees icon = GFX_focus_chi_reach_out_to_france prerequisite = {focus = CZE_supply_fighters_for_allies } relative_position_id = CZE_supply_fighters_for_allies x = 0 y = 1 cost = 5 #shortened as guarantees come really late ai_will_do = { factor = 1 } available = { has_government = democratic OR = { ENG = { hidden_trigger = { exists = yes } has_government = ROOT OR = { is_in_faction_with = ROOT AND = { has_guaranteed = ROOT NOT = { has_war_with = ROOT } } } } FRA = { hidden_trigger = { exists = yes } has_government = ROOT OR = { is_in_faction_with = ROOT AND = { has_guaranteed = ROOT NOT = { has_war_with = ROOT } } } } } } bypass = { GER = { OR = { exists = no if = { limit = { has_dlc = "Gotterdammerung" } has_completed_focus = GER_oppose_hitler_ww } else = { has_completed_focus = GER_oppose_hitler } has_completed_focus = GER_befriend_czechoslovakia has_completed_focus = GER_demand_sudetenland is_subject = yes } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 25 add_command_power = 25 custom_effect_tooltip = generic_skip_one_line_tt add_opinion_modifier = { target = FRA modifier = medium_increase } custom_effect_tooltip = generic_skip_one_line_tt add_opinion_modifier = { target = ENG modifier = medium_increase } if = { limit = { ENG = { NOT = { has_war_with = ROOT #can never be to safe } } } ENG = { add_ai_strategy = { type = support id = CZE value = 15 } add_ai_strategy = { type = protect id = CZE value = 25 } } } if = { limit = { FRA = { NOT = { has_war_with = ROOT #can never be to safe } } } FRA = { add_ai_strategy = { type = support id = CZE value = 15 } add_ai_strategy = { type = protect id = CZE value = 15 } } } if = { limit = { NOT = { GER = { OR = { exists = no has_completed_focus = GER_oppose_hitler has_completed_focus = GER_oppose_hitler_ww has_completed_focus = GER_befriend_czechoslovakia has_completed_focus = GER_demand_sudetenland is_subject = yes } } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_allies_more_likely_to_defend_us_2_tt } } } focus = { id = CZE_guardian_of_central_europe icon = GFX_focus_generic_democratic_europe prerequisite = { focus = CZE_demand_guarantees focus = CZE_form_a_federation } relative_position_id = CZE_demand_guarantees x = 1 y = 4 offset = { x = 3 y = -3 trigger = { has_completed_focus = CZE_coalition_building has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -4 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } offset = { x = 4 y = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } cost = 5 ai_will_do = { factor = 1 } available = { has_government = democratic } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_ideas = CZE_guardian_of_central_europe_idea custom_effect_tooltip = generic_skip_one_line_tt set_rule = { can_create_factions = yes } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_strike_at_the_heart_of_bolshevism icon = { GFX_focus_attack_soviet = { SOV = { has_government = communism } } GFX_focus_attack_soviet = yes } dynamic = yes prerequisite = { focus = CZE_guardian_of_central_europe focus = CZE_central_european_faction } relative_position_id = CZE_guardian_of_central_europe x = -7 y = 1 offset = { x = -6 trigger = { has_completed_focus = CZE_appeal_to_the_castle has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = 6 trigger = { has_completed_focus = CZE_coalition_building has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = 1 y = -4 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } OR = { has_completed_focus = CZE_aggressive_foreign_policy has_completed_focus = CZE_work_with_germany } } } offset = { x = -5 y = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } offset = { x = 3 y = -5 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } cost = 5 ai_will_do = { factor = 1 modifier = { factor = 0 NOT = { any_allied_country = { strength_ratio = { tag = SOV ratio > 0.7 } } } } } available = { is_subject = no SOV = { exists = yes NOT = { is_ally_with = ROOT has_war_with = ROOT } } } will_lead_to_war_with = SOV completion_reward = { create_wargoal = { type = puppet_wargoal_focus target = SOV } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_strike_at_the_heart_of_bolshevism_idea days = 365 } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_destroy_the_fascist_threats #todo_logan prob needs dynamic local for when Czech's are fascist icon = { GFX_goal_generic_major_war = { ROOT = { has_government = fascism } } GFX_focus_ITA_liberation_or_death = yes } prerequisite = { focus = CZE_guardian_of_central_europe focus = CZE_central_european_faction } relative_position_id = CZE_strike_at_the_heart_of_bolshevism x = 2 y = 0 cost = 5 ai_will_do = { factor = 0 } available = { is_subject = no any_other_country = { has_government = fascism capital_scope = { is_on_continent = europe } NOT = { has_war_with = ROOT is_ally_with = ROOT } } } will_lead_to_war_with = GER cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { every_other_country = { limit = { capital_scope = { is_on_continent = europe } has_government = fascism NOT = { has_war_with = ROOT is_ally_with = ROOT } } ROOT = { create_wargoal = { type = puppet_wargoal_focus target = PREV } } custom_effect_tooltip = generic_skip_one_line_tt } add_timed_idea = { idea = CZE_destroy_the_fascist_threats_idea days = 365 } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_peace_on_our_time icon = GFX_focus_CZE_flag_and_fortification prerequisite = { focus = CZE_guardian_of_central_europe focus = CZE_central_european_faction } relative_position_id = CZE_strike_at_the_heart_of_bolshevism x = 1 y = 1 cost = 10 ai_will_do = { factor = 4 } available = { OR = { has_war_with_major = yes has_country_flag = CZE_lessons_of_war_i_had_war_with_major_flag } NOT = { has_power_balance = { id = CZE_bop_army_readiness } } any_core_state = { is_controlled_by = ROOT } is_subject = no } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 25 # custom_effect_tooltip = generic_skip_one_line_tt # custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt # add_to_variable = { # CZE_ceskoslovenska_armada_military_leader_cost_factor = -0.25 # tooltip = military_leader_cost_factor_tt # } custom_effect_tooltip = generic_skip_one_line_tt if = { #Should always have ones of these ideas, also for TT limit = { NOT = { OR = { has_idea = CZE_guardian_of_central_europe_idea has_idea = CZE_central_european_faction_idea } } } add_ideas = CZE_peace_on_our_time_idea } else_if = { limit = { has_idea = CZE_guardian_of_central_europe_idea } swap_ideas = { remove_idea = CZE_guardian_of_central_europe_idea add_idea = CZE_peace_on_our_time_from_guardian_of_central_europe_idea } } else_if = { limit = { has_idea = CZE_central_european_faction_idea } swap_ideas = { remove_idea = CZE_central_european_faction_idea add_idea = CZE_peace_on_our_time_central_european_faction_idea } } else = { add_ideas = CZE_peace_on_our_time_idea } } search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL } } focus = { id = CZE_contact_henlein icon = GFX_focus_RAJ_red_in_the_shadows prerequisite = { focus = CZE_placate_benes_faction } relative_position_id = CZE_placate_benes_faction x = -4 y = 1 # offset = { # x = 1 # trigger = { # has_game_rule = { # rule = obsolete_focus_branches_visibility # option = HIDE # } # has_completed_focus = CZE_coalition_building # } # } offset = { x = 1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } offset = { x = -1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } # offset = { # x = 1 # trigger = { # has_game_rule = { # rule = obsolete_focus_branches_visibility # option = HIDE # } # has_completed_focus = CZE_bastion_of_liberty # } # } cost = 5 ai_will_do = { factor = 1 modifier = { add = 1 GER = { is_ai = no } } modifier = { add = 9 GER = { has_completed_focus = GER_befriend_czechoslovakia } } } available = { NOT = { has_war_with = GER } if = { limit = { has_completed_focus = CZE_no_compromise_with_the_sdp } has_country_flag = { flag = CZE_contact_henlein_cooldown_flag days > 350 } custom_trigger_tooltip = { tooltip = CZE_contact_henlein_cooldown_flag_tt has_country_flag = { flag = CZE_contact_henlein_cooldown_flag days > 350 } } } else = { custom_trigger_tooltip = { tooltip = CZE_contact_henlein_focus_warning_tt always = yes } } is_subject = no any_controlled_state = { NOT = { has_dynamic_modifier = { modifier = CZE_sudetenland_paramilitaries_modifier } } } OR = { controls_state = 69 controls_state = 972 controls_state = 74 } } bypass = { GER = { has_government = fascism is_major = yes } is_subject_of = GER } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no complete_tooltip = { add_popularity = { ideology = fascism popularity = 0.05 } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { custom_effect_tooltip = available_political_advisor remove_trait = { character = CZE_konrad_henlein slot = political_advisor trait = national_socialist_paramilitarist } add_trait = { character = CZE_konrad_henlein slot = political_advisor trait = CZE_leader_of_the_sdp } } if = { limit = { NOT = { has_completed_focus = CZE_no_compromise_with_the_sdp } } custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_tooltip = CZE_a_divided_nation_sudentenland_germans_cooperate } if = { limit = { GER = { exists = yes has_government = fascism } } reverse_add_opinion_modifier = { target = GER modifier = CZE_working_with_henlein } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_decrease_effect = yes } } completion_reward = { if = { limit = { NOT = { has_completed_focus = CZE_no_compromise_with_the_sdp } } add_political_power = 50 add_popularity = { ideology = fascism popularity = 0.05 } } else = { add_political_power = 25 add_popularity = { ideology = fascism popularity = 0.03 } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_character = CZE_konrad_henlein CZE_konrad_henlein = { has_trait = national_socialist_paramilitarist } } custom_effect_tooltip = available_political_advisor remove_trait = { character = CZE_konrad_henlein slot = political_advisor trait = national_socialist_paramilitarist } add_trait = { character = CZE_konrad_henlein slot = political_advisor trait = CZE_leader_of_the_sdp } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_decrease_effect = yes } set_country_flag = CZE_no_compromise_with_the_sdp_cooldown_flag if = { limit = { NOT = { has_completed_focus = CZE_no_compromise_with_the_sdp } } unlock_decision_tooltip = CZE_a_divided_nation_sudentenland_germans_cooperate custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_contact_henlein_focus_order_warning_tt set_country_flag = CZE_contact_henlein_was_first_flag } if = { limit = { GER = { exists = yes has_government = fascism NOT = { has_war_with = ROOT } } } custom_effect_tooltip = generic_skip_one_line_tt GER = { add_opinion_modifier = { target = ROOT modifier = CZE_working_with_henlein } } } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_no_compromise_with_the_sdp icon = GFX_focus_focus_fra_fascist_threat prerequisite = {focus = CZE_placate_benes_faction } relative_position_id = CZE_placate_benes_faction x = -1 y = 1 offset = { x = 1 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_bastion_of_liberty } } cost = 5 ai_will_do = { factor = 2 } available = { if = { limit = { has_completed_focus = CZE_contact_henlein } has_country_flag = { flag = CZE_no_compromise_with_the_sdp_cooldown_flag days > 350 } custom_trigger_tooltip = { tooltip = CZE_no_compromise_with_the_sdp_cooldown_flag_tt has_country_flag = { flag = CZE_no_compromise_with_the_sdp_cooldown_flag days > 350 } } } else = { custom_trigger_tooltip = { tooltip = CZE_no_compromise_with_the_sdp_focus_warning_tt always = yes } } NOT = { has_government = fascism is_subject_of = GER } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 25 if = { limit = { NOT = { has_completed_focus = CZE_contact_henlein } } add_popularity = { ideology = fascism popularity = -0.05 } } else = { add_popularity = { ideology = fascism popularity = -0.03 } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } CZE_bop_very_low_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt } set_country_flag = CZE_contact_henlein_cooldown_flag if = { limit = { NOT = { has_completed_focus = CZE_contact_henlein } } unlock_decision_tooltip = CZE_a_divided_nation_sudentenland_germans set_country_flag = CZE_no_compromise_with_the_sdp_was_first } else = { if = { limit = { has_character = CZE_konrad_henlein } set_country_flag = CZE_hide_konrade_henlein_for_now custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { retire_character = CZE_konrad_henlein } } } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_closer_ties_with_the_moderate_germany_parties icon = GFX_focus_generic_befriend_germany_democratic prerequisite = { focus = CZE_no_compromise_with_the_sdp } relative_position_id = CZE_no_compromise_with_the_sdp x = 2 y = 1 offset = { x = -4 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_bastion_of_liberty } } cost = 10 ai_will_do = { factor = 2 } available = { threat > 0.05 NOT = { has_government = fascism } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_political_power = 120 if = { limit = { GER = { NOT = { has_government = democratic } } } add_popularity = { ideology = GER popularity = -0.05 } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_ludwig_czech if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_decrease_effect = yes } set_country_flag = CZE_complete_reconciliation_cooldown_flag } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_complete_reconciliation icon = GFX_focus_generic_population_growth prerequisite = { focus = CZE_closer_ties_with_the_moderate_germany_parties } relative_position_id = CZE_closer_ties_with_the_moderate_germany_parties x = 0 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { has_country_flag = { flag = CZE_complete_reconciliation_cooldown_flag days > 420 } custom_trigger_tooltip = { tooltip = CZE_complete_reconciliation_cooldown_flag_tt has_country_flag = { flag = CZE_complete_reconciliation_cooldown_flag days > 420 #yes that high } } if = { limit = { has_idea = CZE_sudeten_german_quandary } has_idea = CZE_sudeten_german_quandary } else = { democratic > 0.75 } if = { limit = { GER = { exists = yes } } GER = { #do not move out of the if statement as it might mess up the tooltip NOT = { #todo_logan if time allows, a custom trigger would be much better here that acounts for german focues is_justifying_wargoal_against = ROOT } } } NOT = { has_dynamic_modifier = { modifier = CZE_a_divided_nation_dynamic_modifier } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_popularity = { ideology = democratic popularity = 0.03 } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = CZE_sudeten_german_quandary } remove_ideas = CZE_sudeten_german_quandary } else = { add_political_power = 25 add_stability = 0.10 } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_bastion_of_liberty icon = GFX_focus_SWE_refuge_from_war prerequisite = { focus = CZE_no_compromise_with_the_sdp } relative_position_id = CZE_no_compromise_with_the_sdp mutually_exclusive = { focus = CZE_feeding_the_alligator } x = 0 y = 2 cost = 5 ai_will_do = { factor = 10 } available = { has_government = democratic is_subject = no if = { limit = { is_ai = yes } democratic > 0.60 #Someone is trying to influence me! } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { mark_focus_tree_layout_dirty = yes add_popularity = { ideology = democratic popularity = 0.03 } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_bastion_of_liberty_idea custom_effect_tooltip = generic_skip_one_line_tt #This will always be a idea swap so the tooltip should display a swap effect effect_tooltip = { swap_ideas = { remove_idea = CZE_the_broad_coalition_idea_2 add_idea = CZE_the_broad_coalition_idea_3 } } hidden_effect = { CZE_the_broad_coalition_idea_up = yes } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL } } ############################ ##### Communism ###### ############################ focus = { id = CZE_increase_funding_from_moscow icon = GFX_focus_focus_fra_revolution_utmost prerequisite = { focus = CZE_coalition_building } mutually_exclusive = { focus = CZE_placate_benes_faction focus = CZE_negotiations_with_the_autonomous_bloc } allow_branch = { #always = no if = { limit = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } NOT = { has_completed_focus = CZE_appeal_to_the_castle has_completed_focus = CZE_negotiations_with_the_autonomous_bloc has_completed_focus = CZE_placate_benes_faction } } } cost = 10 relative_position_id = CZE_coalition_building x = 13 y = 1 offset = { x = 3 trigger = { has_completed_focus = CZE_increase_funding_from_moscow has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -16 trigger = { has_completed_focus = CZE_increase_funding_from_moscow has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -12 trigger = { OR = { has_completed_focus = CZE_negotiations_with_the_autonomous_bloc has_completed_focus = CZE_placate_benes_faction } has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } bypass = { SOV = { OR = { exists = no NOT = { has_government = communism } has_war_with = ROOT } } } ai_will_do = { factor = 1 } completion_reward = { mark_focus_tree_layout_dirty = yes add_political_power = 50 custom_effect_tooltip = generic_skip_one_line_tt #Better tooltip than within character scope remove_trait = { character = CZE_zdenek_fierlinger slot = political_advisor trait = CZE_benes_lackey } add_trait = { character = CZE_zdenek_fierlinger slot = political_advisor trait = fellow_traveller } if = { limit = { amount_taken_ideas = { amount < 3 slots = { political_advisor } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_zdenek_fierlinger_tt hidden_effect = { activate_advisor = CZE_zdenek_fierlinger } } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL } } focus = { id = CZE_expand_the_communist_press icon = GFX_focus_generic_printing_press prerequisite = { focus = CZE_increase_funding_from_moscow } cost = 5 #marijn211: can set back to 10 if I expand the effects relative_position_id = CZE_increase_funding_from_moscow x = 0 y = 1 completion_reward = { add_popularity = { ideology = communism popularity = 0.03 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_pavel_reiman } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_form_workers_brigades icon = GFX_focus_GER_support_the_proletarian_uprising cost = 5 prerequisite = { focus = CZE_expand_the_communist_press } relative_position_id = CZE_expand_the_communist_press x = -4 y = 1 completion_reward = { if = { limit = { NOT = { has_tech = militia_tech } } set_technology = { militia_tech = 1 popup = no } custom_effect_tooltip = generic_skip_one_line_tt } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_conscription_factor = 0.05 tooltip = conscription_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_training_time_factor = -0.05 tooltip = training_time_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_modifier_army_sub_unit_militia_defence_factor = 0.05 tooltip = modifier_army_sub_unit_militia_defence_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_militias_officer_random_general_tt hidden_effect = { every_army_leader = { limit = { NOT = { has_trait = militias_officer } } random_select_amount = 1 add_trait = { trait = militias_officer } } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { has_government = communism } } add_stability = -0.05 } add_popularity = { ideology = communism popularity = 0.1 } add_equipment_to_stockpile = { type = infantry_equipment amount = -100 } } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER } } focus = { id = CZE_anti_rearmament_propaganda icon = GFX_focus_NOR_broken_gun_policies relative_position_id = CZE_expand_the_communist_press x = 1 y = 1 cost = 5 prerequisite = { focus = CZE_expand_the_communist_press } mutually_exclusive = { focus = CZE_anti_democratic_propaganda } available = { if = { limit = { has_dlc = "Gotterdammerung" } GER = { has_completed_focus = GER_oppose_hitler_ww } } else = { GER = { has_completed_focus = GER_oppose_hitler } } } completion_reward = { add_stability = 0.03 custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } CZE_bop_very_low_decrease_effect = yes custom_effect_tooltip = generic_skip_one_line_tt } add_timed_idea = { idea = CZE_anti_rearmament_propaganda_idea days = 180 } } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY} } focus = { id = CZE_anti_democratic_propaganda icon = GFX_focus_generic_strike_at_democracy2 relative_position_id = CZE_expand_the_communist_press x = -1 y = 1 cost = 5 prerequisite = { focus = CZE_expand_the_communist_press } mutually_exclusive = { focus = CZE_anti_rearmament_propaganda } completion_reward = { add_stability = -0.05 custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_anti_democratic_propaganda_idea days = 180 } } } focus = { id = CZE_zapotocky_faction #against civil war - stalinist? but extra willing to cooperate with social democrats icon = GFX_focus_generic_social_democracy relative_position_id = CZE_expand_the_communist_press x = 5 y = 2 cost = 5 prerequisite = { focus = CZE_anti_rearmament_propaganda focus = CZE_anti_democratic_propaganda } mutually_exclusive = { focus = CZE_kohler_faction focus = CZE_gottwald_faction } available = { communism > 0.4 } completion_reward = { promote_character = CZE_bohumir_smeral custom_effect_tooltip = generic_skip_one_line_tt set_politics = { ruling_party = communism elections_allowed = yes } hidden_effect = { set_cosmetic_tag = CZE_democratic } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_josef_guttman } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY } } focus = { id = CZE_ally_with_moderate_socialists icon = GFX_focus_CHL_union_of_hispanic_republics relative_position_id = CZE_zapotocky_faction x = 0 y = 2 cost = 5 prerequisite = { focus = CZE_zapotocky_faction } mutually_exclusive = { focus = CZE_cooperation_with_the_ussr } completion_reward = { custom_effect_tooltip = CZE_democracies_willing_to_join_faction_tt hidden_effect={ if = { limit = { has_government = communism } every_other_country = { limit = { capital_scope = { is_on_continent = europe } has_government = democratic } add_ai_strategy = { type = befriend id = ROOT value = 25 } add_ai_strategy = { type = alliance id = ROOT value = 35 } } } } } } focus = { id = CZE_gottwald_faction #against civil war - stalinist icon = GFX_goal_support_communism relative_position_id = CZE_expand_the_communist_press x = 0 y = 2 cost = 5 prerequisite = { focus = CZE_anti_rearmament_propaganda focus = CZE_anti_democratic_propaganda } mutually_exclusive = { focus = CZE_kohler_faction focus = CZE_zapotocky_faction } available = { communism > 0.5 } completion_reward = { set_politics = { ruling_party = communism elections_allowed = no } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_vaclav_kopecky custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_army_questionable_loyalties } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_kohler_faction #for civil war icon = GFX_focus_GER_proletarian_solidarity relative_position_id = CZE_expand_the_communist_press x = -7 y = 2 cost = 5 prerequisite = { focus = CZE_anti_democratic_propaganda } prerequisite = { focus = CZE_form_workers_brigades } mutually_exclusive = { focus = CZE_gottwald_faction focus = CZE_zapotocky_faction } available = { is_subject = no communism > 0.3 NOT = { has_completed_focus = CZE_strengthen_the_little_entente } } completion_reward = { start_civil_war = { ideology = democratic ruling_party = communism size = party_popularity@democratic } hidden_effect = { division_template = { name = "Workers Militia" is_locked = yes priority = 0 regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } infantry = { x = 0 y = 3 } } support = { engineer = { x = 0 y = 0 } military_police = { x = 0 y = 1 } } } random_controlled_state = { create_unit = { division = "name = \"Workers Militia\" division_template = \"Workers Militia\" start_experience_factor = 0" owner = ROOT count = 3 } } random_country_with_original_tag = { original_tag_to_check = CZE limit = { has_government = democratic } reserve_dynamic_country = yes #keep generals from disappearing set_country_flag = CZE_remove_cores civil_war_anti_exploiter_punitive_action = yes #give free units if player deleted army random_controlled_state = { prioritize = { 70 } #close to the border create_unit = { division = "name = \"Finanční Stráž\" division_template = \"Finanční Stráž\" start_experience_factor = 0.2" owner = PREV count = 4 } } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_vaclav_kopecky } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_revolutionary_brigades icon = GFX_focus_generic_spur_communist_revolutions relative_position_id = CZE_kohler_faction x = 0 y = 3 cost = 5 prerequisite = { focus = CZE_kohler_faction } prerequisite = { focus = CZE_agrarian_reform } prerequisite = { focus = CZE_rehabilitate_the_army } available = { has_civil_war = no } completion_reward = { if = { limit = { has_dlc = "No Compromise, No Surrender" } add_mastery_bonus = { name = CZE_revolutionary_brigades bonus = 0.10 days = 180 sub_doctrine = peoples_war } } else = { add_mastery_bonus = { name = CZE_revolutionary_brigades bonus = 0.10 days = 180 sub_doctrine = irregulars } } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_revolutionary_brigades_idea } search_filters = { FOCUS_FILTER_MANPOWER } } focus = { id = CZE_recruit_communist_exiles icon = GFX_focus_GER_strengthen_the_proletarian_international prerequisite = { focus = CZE_revolutionary_brigades } relative_position_id = CZE_revolutionary_brigades x = 0 y = 1 cost = 5 completion_reward = { custom_effect_tooltip = available_political_advisor show_ideas_tooltip = AUS_ernst_fischer custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_tooltip = CZE_a_divided_nation_sudentenland_germans_cooperate if = { limit = { AUS = { exists = no } } custom_effect_tooltip = generic_skip_one_line_tt every_possible_country = { limit = { has_character = AUS_alfred_klahr } AUS_alfred_klahr = { set_nationality = ROOT add_advisor_role = { advisor = { slot = political_advisor cost = 50 idea_token = AUS_alfred_klahr traits = { communist_theorist } } } } } } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_destabilize_potential_adversaries icon = GFX_focus_generic_communism_anti_fascism prerequisite = { focus = CZE_recruit_communist_exiles } cost = 10 relative_position_id = CZE_recruit_communist_exiles x = 0 y = 1 completion_reward = { set_rule = { can_boost_other_ideologies = yes } if = { limit = { has_dlc = "La Resistance" } if = { limit = { NOT = { has_done_agency_upgrade = upgrade_training_centers } } custom_effect_tooltip = generic_skip_one_line_tt upgrade_intelligence_agency = upgrade_training_centers } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "La Resistance" } add_ideas = CZE_working_with_exiles_lar #foreign influence thing, since that impacts justifications as well } else = { add_ideas = CZE_working_with_exiles } } } focus = { id = CZE_nationalize_key_industries icon = GFX_goal_generic_soviet_construction relative_position_id = CZE_zapotocky_faction x = -3 y = 1 cost = 5 prerequisite = { focus = CZE_zapotocky_faction focus = CZE_gottwald_faction focus = CZE_kohler_faction } completion_reward = { add_popularity = { ideology = communism popularity = 0.1 } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_nationalized_key_industries } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_control_the_associations icon = GFX_focus_NOR_empower_sivorg relative_position_id = CZE_zapotocky_faction x = -1 y = 1 cost = 5 prerequisite = { focus = CZE_zapotocky_faction focus = CZE_gottwald_faction focus = CZE_kohler_faction } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_mobilization_speed = 0.05 tooltip = mobilization_speed_tt } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_control_organizations } search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT } } focus = { id = CZE_agrarian_reform icon = GFX_focus_prc_agrarian_socialism relative_position_id = CZE_kohler_faction x = 3 y = 2 cost = 5 prerequisite = { focus = CZE_zapotocky_faction focus = CZE_gottwald_faction focus = CZE_kohler_faction } completion_reward = { add_timed_idea = { idea = CZE_agrarian_reform days = 365 } custom_effect_tooltip = generic_skip_one_line_tt CZE_get_rid_of_agrarian_politics_with_less_steps = yes } } focus = { id = CZE_realign_the_church icon = GFX_focus_mex_triumph_over_the_cristeros relative_position_id = CZE_kohler_faction x = 4 y = 1 cost = 5 prerequisite = { focus = CZE_zapotocky_faction focus = CZE_gottwald_faction focus = CZE_kohler_faction } mutually_exclusive = { focus = CZE_change_the_narrative } completion_reward = { add_ideas = ETH_secular_education } } focus = { id = CZE_promote_urbanization icon = GFX_focus_generic_low_cost_housing prerequisite = { focus = CZE_agrarian_reform } cost = 5 relative_position_id = CZE_agrarian_reform x = -1 y = 1 completion_reward = { every_controlled_state = { limit = { OR = { state = 70 #state = 71 #state = 73 #state = 74 state = 75 } } increase_state_category = yes } every_subject_country = { every_controlled_state = { limit = { OR = { state = 70 #state = 71 #state = 73 #state = 74 state = 75 } } increase_state_category = yes } } every_controlled_state = { limit = { OR = { #state = 70 state = 71 state = 73 state = 74 #state = 75 } } increase_state_category = yes } every_subject_country = { every_controlled_state = { limit = { OR = { #state = 70 state = 71 state = 73 state = 74 #state = 75 } } increase_state_category = yes } } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 1 include_locked = yes } } add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_extra_state_shared_building_slots = 2 } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_confiscate_church_lands icon = GFX_focus_PER_communist_afghanistan_intervention prerequisite = { focus = CZE_agrarian_reform } prerequisite = { focus = CZE_realign_the_church } cost = 5 relative_position_id = CZE_realign_the_church x = 0 y = 2 completion_reward = { add_stability = -0.03 custom_effect_tooltip = generic_skip_one_line_tt every_core_state = { limit = { is_fully_controlled_by = ROOT } random_select_amount = 3 add_extra_state_shared_building_slots = 1 } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 1 include_locked = yes } } add_building_construction = { type = industrial_complex level = 2 instant_build = yes } add_extra_state_shared_building_slots = 2 } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_create_a_secret_police_branch icon = GFX_focus_generic_whispers prerequisite = { focus = CZE_realign_the_church focus = CZE_change_the_narrative } cost = 10 relative_position_id = CZE_realign_the_church x = 1 y = 1 available = { if = { limit = { has_dlc = "La Resistance" } has_intelligence_agency = yes } } completion_reward = { if = { limit = { has_dlc = "La Resistance" } if = { limit = { NOT = { has_done_agency_upgrade = upgrade_passive_defense } } upgrade_intelligence_agency = upgrade_passive_defense custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { NOT = { has_done_agency_upgrade = upgrade_interrogation_techniques } } upgrade_intelligence_agency = upgrade_interrogation_techniques custom_effect_tooltip = generic_skip_one_line_tt } add_ideas = CZE_secret_police_lar } else = { add_ideas = CZE_secret_police } if = { limit = { has_character = CZE_karel_domin } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = { localization_key = remove_character_as_tt CHARACTER = CZE_karel_domin ROLE = political_advisor } hidden_effect = { retire_character = CZE_karel_domin } } } } focus = { id = CZE_change_the_narrative #Intentionally on the side of the communist tree intended to border democratic in case they wanna use the church for propaganda too icon = GFX_focus_ARG_liberation_theology relative_position_id = CZE_realign_the_church x = 2 y = 0 cost = 5 prerequisite = { focus = CZE_zapotocky_faction focus = CZE_gottwald_faction focus = CZE_kohler_faction } mutually_exclusive = { focus = CZE_realign_the_church } completion_reward = { add_ideas = CZE_aligned_church } search_filters = { FOCUS_FILTER_STABILITY } } focus = { id = CZE_cooperation_with_the_ussr icon = GFX_focus_generic_stalinist_industry cost = 5 relative_position_id = CZE_gottwald_faction x = 0 y = 2 prerequisite = { focus = CZE_gottwald_faction focus = CZE_kohler_faction } prerequisite = { focus = CZE_nationalize_key_industries } mutually_exclusive = { focus = CZE_ally_with_moderate_socialists } dynamic = yes available = { SOV = { exists = yes has_government = communism NOT = { has_war_with = ROOT } } } bypass = { SOV = { OR = { exists = no NOT = { has_government = communism } has_war_with = ROOT } } } completion_reward = { swap_ideas = { add_idea = CZE_widespread_nationalization remove_idea = CZE_nationalized_key_industries } } } focus = { id = CZE_rehabilitate_the_army icon = GFX_focus_SOV_builder_of_the_red_army cost = 5 relative_position_id = CZE_kohler_faction x = 1 y = 1 prerequisite = { focus = CZE_kohler_faction focus = CZE_gottwald_faction } available = { has_civil_war = no has_government = communism } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_experience_gain_army_unit_factor = 0.05 tooltip = experience_gain_army_unit_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { has_completed_focus = CZE_kohler_faction } } remove_ideas = CZE_army_questionable_loyalties } else = { custom_effect_tooltip = CZE_unlock_civil_war_army_generals_tt hidden_effect = { every_possible_country = { limit = { original_tag = CZE } every_character = { limit = { OR = { is_corps_commander = yes is_field_marshal = yes } } set_nationality = { target_country = ROOT } } } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_purge_two_random_commanders_tt hidden_effect = { #marijn211: if these random_character blocks ever have a bug, they could perhaps be switched to unit_leader scopes, I hadn't been aware those automatically exclude hidden commanders, but I don't want to risk breaking anything by replacing now #WARNING: running a random_list on each commander isn't a good idea because very unlucky players can end up without any commanders random_character = { limit = { is_field_marshal = yes NOT = { is_character = CZE_sergej_vojcechovsky #has a focus named after him is_character = CZE_josef_shnejdarek #always invisible for communists } } retire = yes } random_character = { limit = { is_corps_commander = yes NOT = { is_character = CZE_richard_tesarzhik #would be silly to purge the guy we've just made available is_character = CZE_emanuel_moravec #always invisible for communists is_character = CZE_vojtech_tuka #always invisible for communists is_character = CZE_augustin_voloshyn #always invisible AND = { is_character = CZE_melichar_frantisek ROOT = { NOT = { has_completed_focus = CZE_continue_armed_force_reform } } } AND = { is_character = CZE_karel_husarek ROOT = { NOT = { has_completed_focus = CZE_the_second_fortification_program } } } AND = { is_character = CZE_karel_pavala_army ROOT = { NOT = { has_completed_focus = CZE_expand_the_river_monitor_fleet } } } AND = { is_character = CZE_josef_vana ROOT = { NOT = { has_completed_focus = CZE_form_the_state_defense_guard } } } AND = { is_character = CZE_rudolf_viest OR = { ROOT = { NOT = { has_completed_focus = CZE_elevate_slovak_officers } } SLO = { exists = yes NOT = { has_government = fascism is_subject_of = ROOT } } } } AND = { is_character = CZE_stefan_jurech OR = { ROOT = { NOT = { has_completed_focus = CZE_elevate_slovak_officers } } SLO = { exists = yes NOT = { is_subject_of = ROOT } } } } } } retire = yes } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_recruit_ideologically_aligned_generals icon = GFX_focus_GER_proletarian_dictatorship prerequisite = { focus = CZE_rehabilitate_the_army } cost = 5 relative_position_id = CZE_rehabilitate_the_army x = 0 y = 1 completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_party_popularity_stability_factor = 0.05 tooltip = party_popularity_stability_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_recruit_communist_generic_general_tt custom_effect_tooltip = generic_skip_one_line_tt show_unit_leaders_tooltip = CZE_richard_tesarzhik hidden_effect = { create_corps_commander = { traits = { JAP_communist_sympathizer politically_connected } attack_skill = 2 defense_skill = 2 planning_skill = 2 logistics_skill = 1 skill = 2 } } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_communist_officers_training if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_limited_cooperation icon = GFX_focus_chi_mission_to_the_soviet_union prerequisite = { focus = CZE_ally_with_moderate_socialists } mutually_exclusive = { focus = CZE_denounce_stalinism } dynamic = yes cost = 5 relative_position_id = CZE_ally_with_moderate_socialists x = 1 y = 1 ai_will_do = { base = 1 } available = { SOV = { exists = yes NOT = { has_war_with = ROOT } controls_state = 202 } } completion_reward = { SOV = { country_event = MUN_czech.1027 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { SOV = { #Marijn_TODO ideally change this, there's already many resource rights things in Balkan Trade Relations focus (could be moved there :o ) give_resource_rights = { receiver = FROM state = 202 } add_timed_idea = { idea = CZE_machine_tools days = 90 } } } } } focus = { id = CZE_denounce_stalinism icon = GFX_focus_spr_masters_of_our_own_fate prerequisite = { focus = CZE_ally_with_moderate_socialists } mutually_exclusive = { focus = CZE_limited_cooperation } cost = 10 relative_position_id = CZE_ally_with_moderate_socialists x = 3 y = 1 available = { any_other_country = { capital_scope = { is_on_continent = europe } custom_trigger_tooltip = { tooltip = CZE_country_leader_has_ideology_stalinism_tt has_country_leader_ideology = stalinism } } } ai_will_do = { factor = 0 } completion_reward = { every_other_country = { limit = { capital_scope = { is_on_continent = europe } has_country_leader_ideology = stalinism NOT = { has_war_with = ROOT is_ally_with = ROOT } } ROOT = { create_wargoal = { type = puppet_wargoal_focus target = PREV } } } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_cooperate_with_tito icon = GFX_focus_YUG_pan_slavic_congress prerequisite = { focus = CZE_zapotocky_faction } cost = 5 relative_position_id = CZE_zapotocky_faction x = 1 y = 1 available = { YUG = { exists = yes is_subject = no has_government = communism NOT = { has_war_with = ROOT } } } completion_reward = { custom_effect_tooltip = CZE_reduce_divided_nation_cost_tt hidden_effect = { set_variable = { CZE_divided_nation_35_default = 25 } set_variable = { CZE_divided_nation_25_default = 15 } set_variable = { CZE_divided_nation_15_default = 10 } } custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_tooltip = CZE_a_divided_nation_sudentenland_germans_cooperate custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_trait_mountaineer_random_generals_tt hidden_effect = { every_army_leader = { limit = { NOT = { has_trait = winter_expert has_trait = desert_fox has_trait = swamp_fox has_trait = trait_mountaineer has_trait = hill_fighter has_trait = jungle_rat has_trait = ranger has_trait = urban_assault_specialist has_trait = adaptable } } random_select_amount = 2 add_trait = { trait = trait_mountaineer } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_trickster_random_general_tt hidden_effect = { every_army_leader = { limit = { NOT = { has_trait = trickster } } random_select_amount = 1 add_trait = { trait = trickster } } } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER } } focus = { id = CZE_czechoslovak_union icon = GFX_focus_CZE_federative_republic cost = 10 prerequisite = { focus = CZE_ally_with_moderate_socialists focus = CZE_cooperation_with_the_ussr #focus = CZE_revolutionary_brigades } relative_position_id = CZE_ally_with_moderate_socialists x = -1 y = 1 available = { is_subject = no SLO = { exists = no #no stealing of someone elses puppet all_core_state = { #ensure no shenanigans where its released while occupied OR = { is_fully_controlled_by = ROOT NOT = { is_owned_by = ROOT } } } } RUT = { exists = no #no stealing of someone elses puppet all_core_state = { #ensure no shenanigans where its released while occupied OR = { is_fully_controlled_by = ROOT NOT = { is_owned_by = ROOT } } } } } completion_reward = { hidden_effect = { 73 = { add_core_of = RUT } } release_autonomy = { target = RUT autonomy_state = autonomy_integrated_puppet freedom_level = 0.5 } hidden_effect = { #necessary or theyll keep elections RUT = { set_politics = { ruling_party = communism elections_allowed = no } } } release_autonomy = { target = SLO autonomy_state = autonomy_integrated_puppet freedom_level = 0.5 } custom_effect_tooltip = generic_skip_one_line_tt hidden_effect = { set_cosmetic_tag = CZE_union #must happen last or the CZE_only cosmetic tag gets applied } effect_tooltip = { set_cosmetic_tag = CZE_union_communism } hidden_effect = { #readd cores so it could be diplo-annexed back SLO = { every_core_state = { add_core_of = ROOT } } RUT = { every_core_state = { add_core_of = ROOT } } } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_balkan_union icon = GFX_focus_AUS_danubian_socialist_communes prerequisite = { focus = CZE_czechoslovak_union } prerequisite = { focus = CZE_spread_the_revolution } cost = 10 relative_position_id = CZE_czechoslovak_union x = -1 y = 1 completion_reward = { custom_effect_tooltip = CZE_propose_unification_tt custom_effect_tooltip = CZE_integrate_nation_tt } search_filters = { FOCUS_FILTER_MANPOWER } } focus = { id = CZE_spread_the_revolution icon = GFX_focus_ger_great_red_menace prerequisite = { focus = CZE_ally_with_moderate_socialists focus = CZE_cooperation_with_the_ussr #focus = CZE_revolutionary_brigades } cost = 10 relative_position_id = CZE_cooperation_with_the_ussr x = 2 y = 1 completion_reward = { unlock_decision_category_tooltip = CZE_spread_the_revolution_category custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_demand_regime_change_tt } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_exchange_military_expertise icon = GFX_focus_generic_combined_arms cost = 10 prerequisite = { focus = CZE_cooperation_with_the_ussr } relative_position_id = CZE_cooperation_with_the_ussr x = 0 y = 1 available = { #marijn211: could make dynamic and turn into something that invites Soviet exiles if they lost the civil war SOV = { exists = yes has_government = communism NOT = { has_war_with = ROOT } } } completion_reward = { #tank engine tech, medium/heavy tank tech if = { limit = { NOT = { has_tech = engine_tech_1 } } set_technology = { engine_tech_1 = 1 } } if = { limit = { NOT = { has_tech = engine_tech_2 } } set_technology = { engine_tech_2 = 1 } } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = CZE_exchange_military_expertise cost_reduction = 0.5 uses = 2 category = land_doctrine } custom_effect_tooltip = generic_skip_one_line_tt IF = { limit = { 70 = { can_construct_building = land_facility is_fully_controlled_by = ROOT air_facility < 1 land_facility < 1 naval_facility < 1 nuclear_facility < 1 } } custom_effect_tooltip = { localization_key = CZE_facility_in_state_tt STATE = "[70.GetName]" FACILITY_TYPE = { localization_key = land_facility } } hidden_effect = { 70 = { add_building_construction = { type = land_facility level = 1 instant_build = yes province = 541 # Nitra } } } } else = { random_owned_controlled_state = { limit = { can_construct_building = land_facility air_facility < 1 land_facility < 1 naval_facility < 1 nuclear_facility < 1 } hidden_effect = { construct_building_in_random_province = { land_facility = 1 } } custom_effect_tooltip = { localization_key = CZE_facility_in_state_tt STATE = "[THIS.GetName]" FACILITY_TYPE = { localization_key = land_facility } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_join_comintern_pfot text = CZE_join_comintern icon = GFX_focus_generic_join_comintern cost = 5 prerequisite = { focus = CZE_exchange_military_expertise } relative_position_id = CZE_exchange_military_expertise x = 0 y = 1 available = { is_subject = no is_in_faction = no SOV = { exists = yes is_faction_leader = yes has_government = communism NOT = { has_war_with = ROOT } } } bypass = { is_in_faction_with = SOV } completion_reward = { SOV = { country_event = generic.2 } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_pressure_romania icon = GFX_focus_generic_attack_romania cost = 10 prerequisite = { focus = CZE_join_comintern_pfot } relative_position_id = CZE_join_comintern_pfot y = 1 available = { is_subject = no is_in_faction_with = SOV ROM = { exists = yes NOT = { is_ally_with = ROOT has_war_with = ROOT } } } completion_reward = { ROM = { country_event = MUN_czech.1012 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { add_named_threat = { threat = 5 name = CZE_demanded_overlordship_ROM } puppet = ROM if = { limit = { #sanity check: do they border Romania? SOV = { owns_state = 834 } } every_state = { limit = { OR = { state = 78 state = 80 state = 766 } is_owned_by = ROM NOT = { is_claimed_by = SOV is_owned_by = SOV } } transfer_state_to = SOV } } } custom_effect_tooltip = if_they_refuse_tt effect_tooltip = { create_wargoal = { type = puppet_wargoal_focus target = ROM } if = { limit = { #sanity check: do they border Romania? SOV = { owns_state = 834 } } every_state = { limit = { OR = { state = 78 state = 80 state = 766 } is_owned_by = ROM NOT = { is_claimed_by = SOV is_owned_by = SOV } } add_claim_by = SOV } } } } search_filters = { FOCUS_FILTER_ANNEXATION } } ######## #### ######## ## ####### ## ## ### ###### ## ## ## ## ## ## ## ## ## ## ### ### ## ## ## ## ## ## ## ## ## ## ## ## ## ## #### #### ## ## ## #### ## ## ## ######## ## ## ## ## ### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ######### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ######## #### ## ######## ####### ## ## ## ## ###### ## ########################################### ##### Revive the Czechoslovak Legion ###### ########################################### focus = { id = CZE_revive_the_czechoslovak_legion_dynamic # prerequisite = { # focus = CZE_coia # focus = CZE_increase_funding_from_moscow # } icon = { GFX_focus_ger_great_red_menace = { has_government = communism } GFX_focus_POL_support_global_falangism = { has_government = fascism } GFX_focus_CZE_czechoslovak_legion = yes } relative_position_id = CZE_coalition_building x = 39 y = 0 offset = { x = -47 trigger = { has_completed_focus = CZE_appeal_to_the_castle has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -13 trigger = { has_completed_focus = CZE_increase_funding_from_moscow has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -13 trigger = { has_completed_focus = CZE_placate_benes_faction has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -17 trigger = { has_completed_focus = CZE_negotiations_with_the_autonomous_bloc has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -4 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_unify_the_fascist_parties } } offset = { x = -4 trigger = { has_completed_focus = CZE_aggressive_foreign_policy has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } offset = { x = -7 trigger = { has_completed_focus = CZE_work_with_germany has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } # offset = { # x = -2 # trigger = { # has_game_rule = { # rule = obsolete_focus_branches_visibility # option = HIDE # } # has_completed_focus = CZE_complete_capitulation # } # } offset = { x = -6 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_petition_the_nobles } } dynamic = yes cost = 5 available = { if = { limit = { is_ai = yes } is_subject = no } } bypass = { #has_rule = can_send_volunteers } completion_reward = { set_rule = { can_send_volunteers = yes } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = CZE_legacy_of_the_czechoslovak_legion_army_spirit } custom_effect_tooltip = CZE_revive_the_czechoslovak_legion_nsb_tt custom_effect_tooltip = generic_skip_one_line_tt swap_ideas = { remove_idea = CZE_legacy_of_the_czechoslovak_legion_army_spirit add_idea = CZE_legacy_of_the_czechoslovak_legion_army } } else = { add_ideas = CZE_legacy_of_the_czechoslovak_legion_army custom_effect_tooltip = generic_skip_one_line_tt } add_ideas = CZE_state_sponsored_recruitment_idea custom_effect_tooltip = generic_skip_one_line_tt add_mastery_bonus = { name = CZE_legacy_of_the_czechoslovak_legion_army bonus = 0.10 days = 365 sub_doctrine = expeditionary_warfare } } } focus = { id = CZE_state_sponsored_recruitment_for_spain icon = { GFX_focus_intervention_spain_nationalists = { has_government = fascism } GFX_focus_intervention_spain_republic = yes } cost = 5 dynamic = yes prerequisite = { focus = CZE_revive_the_czechoslovak_legion_dynamic } mutually_exclusive = { focus = CZE_profit_off_the_spanish_civil_war } relative_position_id = CZE_revive_the_czechoslovak_legion_dynamic x = 1 y = 1 available = { has_global_flag = spanish_civil_war NOT = { has_global_flag = scw_over } } ai_will_do = { factor = 10 modifier = { factor = 0 has_war = yes } } completion_reward = { if = { limit = { has_idea = CZE_state_sponsored_recruitment_idea } swap_ideas = { remove_idea = CZE_state_sponsored_recruitment_idea add_idea = CZE_state_sponsored_recruitment_idea_2 } } else_if = { limit = { NOT = { has_completed_focus = CZE_intervene_in_the_ussr } } effect_tooltip = { swap_ideas = { remove_idea = CZE_state_sponsored_recruitment_idea add_idea = CZE_state_sponsored_recruitment_idea_2 } } } if = { limit = { FRA = { has_government = ROOT has_country_flag = FRA_non_intervention } } reverse_add_opinion_modifier = { target = FRA modifier = CZE_defied_non_intervention_committee } custom_effect_tooltip = generic_skip_one_line_tt } custom_effect_tooltip = CZE_support_spain_reward_tt event_option_tooltip = MUN_czech.1025.a } } focus = { id = CZE_profit_off_the_spanish_civil_war icon = GFX_focus_mex_privatisation prerequisite = { focus = CZE_revive_the_czechoslovak_legion_dynamic } mutually_exclusive = { focus = CZE_state_sponsored_recruitment_for_spain } relative_position_id = CZE_revive_the_czechoslovak_legion_dynamic x = 3 y = 1 cost = 5 available = { has_global_flag = spanish_civil_war NOT = { has_global_flag = scw_over } all_country_with_original_tag = { original_tag_to_check = SPR has_volunteers_amount_from = { tag = ROOT count < 1 } } } completion_reward = { custom_effect_tooltip = CZE_skoda_sell_weapons_to_SPR_tt custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { has_global_flag = spanish_civil_war } } add_relation_rule_override = { #purely for tooltip, cant ever fire due to available target = SPR can_send_volunteers = no } } else = { add_relation_rule_override = { target = SPD can_send_volunteers = no } add_relation_rule_override = { target = SPA can_send_volunteers = no } if = { limit = { has_dlc = "La Resistance" } add_relation_rule_override = { target = SPB can_send_volunteers = no } add_relation_rule_override = { target = SPC can_send_volunteers = no } } } } } ########################################### ##### Vonapo 20 ###### ########################################### #Demo/Commie Diplo focus = { id = CZE_vonapo_20 icon = { GFX_focus_JAP_learn_from_the_nkvd = { SOV = { has_government = communism } } GFX_focus_generic_secret_service_agency = yes } prerequisite = { focus = CZE_coalition_building } relative_position_id = CZE_revive_the_czechoslovak_legion_dynamic x = -3 y = 1 cost = 5 available = { SOV = { exists = yes NOT = { has_war_with = ROOT } } } bypass = { SOV = { exists = no } } completion_reward = { if = { limit = { has_dlc = "La Resistance" } if = { limit = { NOT = { has_intelligence_agency = yes } } create_intelligence_agency = { name = "Vojennyj Nabljudatelnyj Post" #ě doesn't show up icon = GFX_intelligence_agency_logo_cze } custom_effect_tooltip = generic_skip_one_line_tt } IF = { limit = { NOT = { has_done_agency_upgrade = upgrade_army_department } } upgrade_intelligence_agency = upgrade_army_department } IF = { limit = { NOT = { has_done_agency_upgrade = upgrade_economy_civilian } } upgrade_intelligence_agency = upgrade_economy_civilian } } else = { add_tech_bonus = { name = CZE_vonapo_20 bonus = 0.75 uses = 2 category = decryption_tech } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { country_exists = SOV NOT = { has_war_with = SOV } } SOV = { add_opinion_modifier = { target = ROOT modifier = medium_increase } } } } search_filters = { FOCUS_FILTER_HISTORICAL } } focus = { id = CZE_german_nonagressionpact #Haushofer-Krofta Pact icon = GFX_focus_chi_mission_to_germany prerequisite = { focus = CZE_vonapo_20 } # mutually_exclusive = { # focus = CZE_soviet_alliance # } cost = 5 relative_position_id = CZE_vonapo_20 x = -3 y = 1 available = { is_subject = no GER = { exists = yes NOT = { has_war_with = ROOT } OR = { has_war = yes #fascist Germany is occupied -> they might accept NOT = { #germany isnt as aggressive -> might accept has_government = fascism } } } } completion_reward = { GER = { country_event = MUN_czech.1016 } } } focus = { id = CZE_intervene_in_the_ussr icon = GFX_focus_attack_soviet relative_position_id = CZE_revive_the_czechoslovak_legion_dynamic x = 0 y = 2 cost = 5 prerequisite = { focus = CZE_revive_the_czechoslovak_legion_dynamic } mutually_exclusive = { focus = CZE_soviet_alliance } available = { is_subject = no any_country = { original_tag = SOV has_civil_war = yes NOT = { has_war_with = ROOT has_government = communism } } } bypass = { any_country = { original_tag = SOV has_war_with = ROOT } } completion_reward = { unlock_decision_tooltip = CZE_escalate_involvement_in_soviet_civil_war if = { limit = { has_idea = CZE_state_sponsored_recruitment_idea } custom_effect_tooltip = generic_skip_one_line_tt swap_ideas = { remove_idea = CZE_state_sponsored_recruitment_idea add_idea = CZE_state_sponsored_recruitment_idea_2 } } else_if = { limit = { NOT = { has_completed_focus = CZE_state_sponsored_recruitment_for_spain } } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { swap_ideas = { remove_idea = CZE_state_sponsored_recruitment_idea add_idea = CZE_state_sponsored_recruitment_idea_2 } } } } } focus = { id = CZE_claim_ukraine icon = GFX_focus_HUN_the_kingdom_of_ukraine relative_position_id = CZE_intervene_in_the_ussr x = -2 y = 2 offset = { x = 2 trigger = { OR = { has_completed_focus = CZE_work_with_germany has_completed_focus = CZE_aggressive_foreign_policy } has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } prerequisite = { focus = CZE_demand_corridor_to_ussr } mutually_exclusive = { focus = CZE_integrate_western_ukrainians } mutually_exclusive = { focus = CZE_ally_russia } cost = 5 #again, big focus, but Soviet civil war happens very fast available = { is_subject = no UKR = { OR = { exists = no is_subject_of = ROOT } any_core_state = { owner = { #sanity check has_war_with = ROOT } region = 130 #prevent releasing tiny ukraine in Poland/Romania/Ruthenia is_controlled_by = ROOT } } 91 = { is_controlled_by = ROOT } 89 = { is_controlled_by = ROOT } } completion_reward = { hidden_effect = { if = { limit = { 73 = { is_owned_by = ROOT is_core_of = ROOT } } set_country_flag = CZE_return_state_temp } } release_puppet_on_controlled = UKR hidden_effect = { if = { limit = { has_country_flag = CZE_return_state_temp 73 = { is_owned_by = UKR } } transfer_state = 73 add_state_core = 73 clr_country_flag = CZE_return_state_temp } } } } focus = { id = CZE_ally_russia icon = GFX_focus_SOV_patriarch_of_all_russia relative_position_id = CZE_intervene_in_the_ussr x = 0 y = 2 offset = { x = 2 trigger = { OR = { has_completed_focus = CZE_work_with_germany has_completed_focus = CZE_aggressive_foreign_policy } has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } cost = 5 prerequisite = { focus = CZE_intervene_in_the_ussr } mutually_exclusive = { focus = CZE_claim_ukraine } available = { is_faction_leader = yes any_country_with_original_tag = { original_tag_to_check = SOV has_civil_war = no is_in_faction = no OR = { AND = { NOT = { has_government = communism } ROOT = { NOT = { has_government = communism } } } AND = { has_government = communism ROOT = { has_government = communism } } } } } completion_reward = { random_country_with_original_tag = { original_tag_to_check = SOV limit = { OR = { AND = { has_government = communism ROOT = { has_government = communism } } AND = { NOT = { has_government = communism } ROOT = { NOT = { has_government = communism } } } } } country_event = generic.5 } } search_filters = { FOCUS_FILTER_POLITICAL } } ########################################### ##### Forgive Trading Debts ###### ########################################### #Demo/Commie Diplo focus = { id = CZE_forgive_trading_debts icon = GFX_focus_CZE_forgive_trading_debts prerequisite = { focus = CZE_coalition_building } relative_position_id = CZE_coalition_building x = 28 y = 1 offset = { x = -14 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_placate_benes_faction } } offset = { x = -17 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_negotiations_with_the_autonomous_bloc } } offset = { x = -13 trigger = { has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } has_completed_focus = CZE_increase_funding_from_moscow } } cost = 5 completion_reward = { if = { limit = { YUG = { exists = yes NOT = { has_war_with = ROOT } } } YUG = { add_opinion_modifier = { target = ROOT modifier = small_increase } } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { ROM = { exists = yes NOT = { has_war_with = ROOT } } } ROM = { add_opinion_modifier = { target = ROOT modifier = small_increase } } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { AUS = { exists = yes has_government = ROOT NOT = { has_war_with = ROOT } } } AUS = { add_opinion_modifier = { target = ROOT modifier = small_increase } } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { HUN = { exists = yes has_government = ROOT NOT = { has_war_with = ROOT } } } HUN = { add_opinion_modifier = { target = ROOT modifier = small_increase } } custom_effect_tooltip = generic_skip_one_line_tt } add_timed_idea = { idea = CZE_forgive_trading_debts_idea days = 180 } } } focus = { id = CZE_improve_balkan_trade_relations icon = GFX_goal_generic_positive_trade_relations prerequisite = { focus = CZE_forgive_trading_debts } relative_position_id = CZE_forgive_trading_debts x = -4 y = 1 cost = 5 completion_reward = { #invest in USSR -> stalin propaganda poster easter egg? unlock_decision_category_tooltip = CZE_invest_in_the_balkans custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { has_dlc = "Arms Against Tyranny" } } unlock_decision_tooltip = CZE_skoda_select_little_entente_group } else = { custom_effect_tooltip = CZE_ai_nations_more_likely_to_buy_weapons_tt } } search_filters = { FOCUS_FILTER_INTERNATIONAL_TRADE } } focus = { id = CZE_strengthen_the_little_entente icon = GFX_focus_AUS_invite_the_entente prerequisite = { focus = CZE_forgive_trading_debts } cost = 10 relative_position_id = CZE_improve_balkan_trade_relations x = 6 y = 0 available = { #marijn211: Could bypass instead if France is leader since then its equivalent to giving France leadership? is_subject = no is_in_faction = no } completion_reward = { if = { limit = { is_guaranteed_by = SOV has_guaranteed = SOV } set_country_flag = CZE_restore_guarantee } set_rule = { can_create_factions = yes } if = { limit = { has_dlc = "No Compromise, No Surrender" } create_faction_from_template = { template = faction_template_the_little_entente name = FRA_little_entente icon = GFX_faction_logo_little_entente } } else = { create_faction = FRA_little_entente } if = { limit = { has_country_flag = CZE_restore_guarantee NOT = { has_guaranteed = SOV } } diplomatic_relation = { country = SOV relation = guarantee active = yes } SOV = { diplomatic_relation = { country = ROOT relation = guarantee active = yes } } } clr_country_flag = CZE_restore_guarantee #hide effect after completion } } focus = { id = CZE_seek_french_leadership icon = GFX_focus_chi_reach_out_to_france prerequisite = { focus = CZE_strengthen_the_little_entente } cost = 10 relative_position_id = CZE_strengthen_the_little_entente x = 0 y = 1 available = { is_faction_leader = yes FRA = { exists = yes is_subject = no OR = { AND = { has_government = democratic has_completed_focus = FRA_form_the_popular_front } AND = { has_government = communism has_completed_focus = FRA_anti_fascist_coalition } } OR = { #pulling them out of the allies might be a bit silly is_faction_leader = yes is_in_faction = no } } } completion_reward = { #cancel France historical plan if going down it, instead decide Allies/Entente forming based on focuses below this one/in the political branches if = { limit = { FRA = { is_faction_leader = yes } } FRA = { country_event = MUN_czech.1015 } } else = { FRA = { country_event = MUN_czech.1010 } effect_tooltip = { custom_effect_tooltip = if_they_accept_tt add_to_faction = FRA FRA = { set_faction_leader = yes } } } hidden_effect = { add_ai_strategy = { #marijn211: Prevents CZE leaving their own faction after letting France lead it type = alliance id = FRA value = 150 } } } } focus = { id = CZE_ally_romania icon = GFX_focus_invite_romania relative_position_id = CZE_improve_balkan_trade_relations x = -2 y = 2 cost = 5 prerequisite = { focus = CZE_improve_balkan_trade_relations } prerequisite = { focus = CZE_strengthen_the_little_entente } available = { is_subject = no OR = { is_faction_leader = yes AND = { OR = { has_government = democratic has_government = communism } is_in_faction = yes faction_leader = { original_tag = FRA } } } ROM = { exists = yes is_in_faction = no NOT = { has_war_with = ROOT } } } bypass = { ROM = { OR = { exists = no is_subject = yes is_ally_with = ROOT has_war_with = ROOT } } } completion_reward = { if = { limit = { is_in_faction = yes faction_leader = { original_tag = FRA } } ROM = { save_global_event_target_as = CZE_invited_country } FRA = { country_event = MUN_czech.1008 } } else = { ROM = { country_event = generic.5 } } if = { limit = { NOT = { has_completed_focus = CZE_intervene_in_the_ussr } } custom_effect_tooltip = if_they_refuse_tt custom_effect_tooltip = CZE_request_ally_give_ussr_mil_access_tt_ROM } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_ally_hungary icon = GFX_focus_generic_befriend_hungary cost = 5 relative_position_id = CZE_improve_balkan_trade_relations x = 2 y = 1 prerequisite = { focus = CZE_strengthen_the_little_entente } prerequisite = { #yes I know they technically arent Balkan focus = CZE_improve_balkan_trade_relations } mutually_exclusive = { focus = CZE_neutralize_the_hungarian_threat } ai_will_do = { factor = 1 modifier = { factor = 2 HUN = { is_ai = no } } } available = { is_subject = no OR = { is_faction_leader = yes AND = { OR = { has_government = democratic has_government = communism } is_in_faction = yes faction_leader = { original_tag = FRA } } } HUN = { exists = yes is_in_faction = no NOT = { has_war_with = ROOT } } } bypass = { HUN = { OR = { exists = no is_subject = yes is_ally_with = ROOT } } } completion_reward = { if = { limit = { is_in_faction = yes faction_leader = { original_tag = FRA } } HUN = { save_global_event_target_as = CZE_invited_country } FRA = { country_event = MUN_czech.1008 } } else = { HUN = { country_event = MUN_czech.1009 } } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_neutralize_the_hungarian_threat icon = { GFX_focus_generic_communist_attack_hungary = { ROOT = { has_government = communism } } GFX_focus_generic_attack_hungary = yes } cost = 5 relative_position_id = CZE_ally_hungary x = 2 y = 0 prerequisite = { focus = CZE_strengthen_the_little_entente } mutually_exclusive = { focus = CZE_ally_hungary } will_lead_to_war_with = HUN ai_will_do = { factor = 1 modifier = { factor = 0 HUN = { is_ai = no } } } available = { if = { limit = { is_ai = yes } is_subject = no } NOT = { has_country_flag = CZE_cancel_anti_hungary_focus } OR = { is_faction_leader = yes is_in_faction = no AND = { is_in_faction = yes if = { limit = { has_government = democratic } faction_leader = { has_government = ROOT } } else = { faction_leader = { NOT = { has_government = democratic } } } } } HUN = { exists = yes NOT = { has_war_with = ROOT is_ally_with = ROOT } } } bypass = { has_war_with = HUN } select_effect = { GER = { if = { limit = { exists = yes NOT = { has_war_with = ROOT } OR = { has_government = neutrality has_government = fascism } HUN = { is_in_faction = no is_subject = no OR = { AND = { has_government = neutrality OR = { NOT = { has_completed_focus = wuw_HUN_end_the_regency has_completed_focus = HUN_elect_a_democratic_king has_completed_focus = HUN_invite_the_habsburg_prince } has_completed_focus = wuw_HUN_elect_a_fascist_king has_completed_focus = HUN_elect_a_fascist_king } } has_government = fascism } } } country_event = { id = MUN_czech.1004 days = 7 } } } } completion_reward = { if = { limit = { GER = { exists = yes NOT = { has_war_with = ROOT } OR = { has_government = neutrality has_government = fascism } HUN = { is_in_faction = no is_subject = no OR = { AND = { has_government = neutrality OR = { NOT = { has_completed_focus = wuw_HUN_end_the_regency has_completed_focus = HUN_elect_a_democratic_king has_completed_focus = HUN_invite_the_habsburg_prince } has_completed_focus = wuw_HUN_elect_a_fascist_king has_completed_focus = HUN_elect_a_fascist_king } } has_government = fascism } } } } custom_effect_tooltip = SOV_focus_select_effect_tt GER = { effect_tooltip = { country_event = { id = MUN_czech.1004 days = 7 } } } custom_effect_tooltip = SOV_focus_complete_effect_tt } if = { limit = { has_government = democratic } set_rule = { can_puppet = yes } } custom_effect_tooltip = generic_skip_one_line_tt create_wargoal = { type = puppet_wargoal_focus target = HUN expire = 730 } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_ally_austria icon = GFX_focus_generic_befriend_austria prerequisite = { focus = CZE_ally_hungary focus = CZE_neutralize_the_hungarian_threat } mutually_exclusive = { focus = CZE_demand_the_czech_corridor } cost = 5 relative_position_id = CZE_neutralize_the_hungarian_threat x = -2 y = 1 available = { is_subject = no OR = { is_faction_leader = yes AND = { OR = { has_government = democratic has_government = communism } is_in_faction = yes faction_leader = { original_tag = FRA } } } AUS = { exists = yes is_in_faction = no NOT = { has_war_with = ROOT } } } bypass = { AUS = { OR = { exists = no is_subject = yes is_ally_with = ROOT has_war_with = ROOT } } } completion_reward = { if = { limit = { is_in_faction = yes faction_leader = { original_tag = FRA } } AUS = { save_global_event_target_as = CZE_invited_country } FRA = { country_event = MUN_czech.1008 } } else = { AUS = { country_event = generic.5 } } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_protect_neutrality icon = GFX_goal_generic_military_sphere prerequisite = { focus = CZE_ally_austria focus = CZE_demand_the_czech_corridor focus = CZE_ally_romania } cost = 10 relative_position_id = CZE_ally_austria x = 0 y = 1 available = { OR = { is_faction_leader = yes #marijn211: intentionally doesnt work while France is, unlike the invite focuses is_in_faction = no #added because being in charge is the point of the trigger above, not just being faction leader } is_subject = no OR = { has_government = democratic has_completed_focus = CZE_ally_with_moderate_socialists } } bypass = { NOT = { any_other_country = { capital_scope = { is_on_continent = europe } CZE_has_neutrality_idea = yes } } } completion_reward = { every_other_country = { limit = { capital_scope = { is_on_continent = europe } NOT = { original_tag = SWI } CZE_has_neutrality_idea = yes } ROOT = { give_guarantee = PREV } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_completed_focus = CZE_ally_with_moderate_socialists } custom_effect_tooltip = CZE_if_cooperate_with_moderate_socialists_completed_tt set_rule = { can_guarantee_other_ideologies = yes } } else = { custom_effect_tooltip = CZE_if_cooperate_with_moderate_socialists_completed_tt effect_tooltip = { set_rule = { can_guarantee_other_ideologies = yes } } } } } focus = { id = CZE_mutual_protection_agreement_with_switzerland icon = GFX_focus_SWI_patriotic_shooting_clubs prerequisite = { focus = CZE_protect_neutrality } cost = 10 relative_position_id = CZE_protect_neutrality x = 0 y = 1 available = { is_subject = no SWI = { exists = yes is_subject = no has_war = no } } completion_reward = { SWI = { country_event = MUN_czech.1011 } effect_tooltip = { custom_effect_tooltip = if_they_accept_tt give_guarantee = SWI SWI = { give_guarantee = ROOT } } } } focus = { id = CZE_ally_yugoslavia icon = GFX_focus_invite_yugoslavia prerequisite = { focus = CZE_improve_balkan_trade_relations } prerequisite = { focus = CZE_strengthen_the_little_entente } relative_position_id = CZE_improve_balkan_trade_relations x = 0 y = 1 cost = 5 available = { is_subject = no OR = { is_faction_leader = yes AND = { OR = { has_government = democratic has_government = communism } is_in_faction = yes faction_leader = { original_tag = FRA } } } YUG = { exists = yes is_in_faction = no NOT = { has_war_with = ROOT } } } bypass = { YUG = { OR = { exists = no is_subject = yes is_ally_with = ROOT has_war_with = ROOT } } } completion_reward = { if = { limit = { is_in_faction = yes faction_leader = { original_tag = FRA } } YUG = { save_global_event_target_as = CZE_invited_country } FRA = { country_event = MUN_czech.1008 } } else = { YUG = { country_event = generic.5 } } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_demand_the_czech_corridor icon = GFX_focus_CZE_demand_the_czech_corridor cost = 5 prerequisite = { focus = CZE_ally_yugoslavia } mutually_exclusive = { focus = CZE_ally_austria } relative_position_id = CZE_ally_yugoslavia x = 0 y = 1 available = { is_subject = no is_ally_with = YUG 975 = { owner = { is_subject = no NOT = { is_ally_with = ROOT } } } } bypass = { OR = { owns_state = 975 155 = { owner = { is_ally_with = ROOT } } 975 = { owner = { OR = { is_ally_with = ROOT is_subject = yes has_war_with = ROOT } } } } } completion_reward = { 975 = { owner = { country_event = MUN_czech.1056 } } } } focus = { id = CZE_exchange_technology icon = GFX_goal_tfv_generic_tech_sharing prerequisite = { focus = CZE_ally_austria #focus = CZE_ally_yugoslavia focus = CZE_ally_romania focus = CZE_demand_the_czech_corridor } cost = 5 relative_position_id = CZE_ally_yugoslavia x = -2 y = 2 available = { num_faction_members > 2 } completion_reward = { add_to_tech_sharing_group = CZE_balkan_tech_sharing_group every_other_country = { #marijn211: already tried the same thing with every_allied_country but that crashed the game limit = { is_in_faction_with = ROOT } add_to_tech_sharing_group = CZE_balkan_tech_sharing_group } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_increase_food_and_resource_imports icon = GFX_focus_generic_agricultural_subsidies relative_position_id = CZE_ally_yugoslavia x = 0 y = 2 prerequisite = { focus = CZE_ally_austria focus = CZE_demand_the_czech_corridor focus = CZE_ally_romania } cost = 10 available = { count_triggers = { amount = 2 is_in_faction_with = AUS is_in_faction_with = HUN is_in_faction_with = YUG is_in_faction_with = SOV } } completion_reward = { build_railway = { #internal railway, necessary to connect with Hungary level = 2 fallback = yes path = { 6562 6576 3484 } start_province = 6562 target_province = 3484 } build_railway = { #Increase Hungary connection to level 2 level = 1 #it sums the level by building on top of the pre-existing one fallback = yes path = { 541 11679 6561 9690 9660 } start_province = 541 target_province = 9660 } build_railway = { #Increase Hungary-Yugoslavia connection to level 2 level = 1 #it sums the level by building on top of the pre-existing one fallback = yes start_province = 9660 target_province = 619 } custom_effect_tooltip = generic_skip_one_line_tt add_offsite_building = { type = industrial_complex level = 2 } custom_effect_tooltip = generic_skip_one_line_tt every_other_country = { #marijn211: already tried the same thing with every_allied_country but that crashed the game limit = { is_in_faction_with = ROOT OR = { original_tag = POL original_tag = AUS original_tag = HUN BUL_is_balkan_nation = yes } } random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 1 include_locked = yes } } add_building_construction = { type = industrial_complex level = 2 instant_build = yes } add_extra_state_shared_building_slots = 2 } } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_double_down_on_heavy_industry icon = { GFX_focus_generic_communist_industry = { ROOT = { has_government = communism } } GFX_focus_generic_military_industry = yes } prerequisite = { focus = CZE_increase_food_and_resource_imports focus = CZE_exchange_technology } cost = 10 relative_position_id = CZE_increase_food_and_resource_imports x = -1 y = 1 available = { num_faction_members > 2 } completion_reward = { random_owned_controlled_state = { limit = { arms_factory > 1 } remove_building = { type = arms_factory level = 2 } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { OR = { is_in_faction = no NOT = { any_other_country = { is_in_faction_with = ROOT } } } } custom_effect_tooltip = ALL_FACTION_MEMBERS } every_other_country = { limit = { is_in_faction_with = ROOT } visible_when_empty = yes country_event = MUN_czech.1035 custom_effect_tooltip = if_they_accept_tt effect_tooltip = { add_offsite_building = { type = arms_factory level = 2 } add_ideas = CZE_outsourced_weapons_production } } } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNATIONAL_TRADE } } focus = { id = CZE_soviet_alliance icon = GFX_focus_chi_mission_to_the_soviet_union prerequisite = { focus = CZE_vonapo_20 } mutually_exclusive = { focus = CZE_intervene_in_the_ussr } cost = 10 relative_position_id = CZE_vonapo_20 x = 0 y = 1 ai_will_do = { base = 0 modifier = { add = 2 SOV = { is_ai = no } } } available = { is_subject = no SOV = { exists = yes has_government = communism has_civil_war = no NOT = { has_war_with = ROOT } } OR = { SOV = { NOT = { has_country_leader = { character = SOV_iosif_stalin ruling_only = yes } } } NOT = { has_completed_focus = CZE_zapotocky_faction } } } bypass = { is_in_faction_with = SOV } completion_reward = { if = { limit = { has_government = communism NOT = { is_faction_leader = yes } SOV = { is_faction_leader = yes } } SOV = { country_event = generic.2 } } else_if = { limit = { has_war = yes is_faction_leader = yes all_enemy_country = { has_war_with = SOV } SOV = { is_faction_leader = yes all_enemy_country = { has_war_with = CZE } } } SOV = { country_event = MUN_czech.1015 } } else = { SOV = { country_event = MUN_czech.1014 } } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_airlift_soviet_support icon = GFX_focus_generic_long_range_aircraft relative_position_id = CZE_soviet_alliance x = -2 y = 1 prerequisite = { focus = CZE_soviet_alliance } mutually_exclusive = { focus = CZE_ally_poland focus = CZE_demand_corridor_to_ussr } cost = 5 available = { 73 = { is_controlled_by = ROOT air_base > 0 } SOV = { has_civil_war = no OR = { has_guaranteed = ROOT is_ally_with = ROOT } } #no land connection to SOV NOT = { is_neighbor_of = SOV } all_neighbor_country = { OR = { NOT = { is_neighbor_of = SOV } NOT = { gives_military_access_to = SOV is_ally_with = SOV } } } } completion_reward = { SOV = { #unlock_decision_tooltip = SOV_airlift_troops_into_czechoslovakia custom_effect_tooltip = CZE_unlocks_volunteer_transport_raid_tt } } } focus = { id = CZE_demand_corridor_to_ussr icon = { GFX_focus_generic_communist_attack_poland = { ROOT = { has_government = communism } } GFX_focus_GER_danzig_or_war = yes } relative_position_id = CZE_soviet_alliance x = 0 y = 1 offset = { x = 2 trigger = { OR = { has_completed_focus = CZE_work_with_germany has_completed_focus = CZE_aggressive_foreign_policy } has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } } prerequisite = { focus = CZE_soviet_alliance focus = CZE_intervene_in_the_ussr } mutually_exclusive = { focus = CZE_ally_poland focus = CZE_airlift_soviet_support } cost = 5 #major focus, but every day counts in the Soviet civil war available = { is_subject = no strength_ratio = { tag = POL ratio > 0.7 } POL = { is_subject = no owns_state = 89 owns_state = 91 if = { #if youre being friendly with the USSR, military access is enough to block this focus limit = { NOT = { SOV = { has_war_with = ROOT } has_completed_focus = CZE_intervene_in_the_ussr } } NOT = { gives_military_access_to = SOV } } } } bypass = { OR = { has_war_with = POL AND = { 89 = { NOT = { is_owned_by = POL } } 91 = { NOT = { is_owned_by = POL } } } } } completion_reward = { POL = { country_event = MUN_czech.1001 } custom_effect_tooltip = if_they_accept_tt effect_tooltip = { transfer_state = 89 transfer_state = 91 } } search_filters = { FOCUS_FILTER_ANNEXATION } } focus = { id = CZE_integrate_western_ukrainians icon = GFX_focus_POL_ukrainian_army relative_position_id = CZE_demand_corridor_to_ussr x = -1 y = 1 prerequisite = { focus = CZE_demand_corridor_to_ussr } mutually_exclusive = { focus = CZE_claim_ukraine } cost = 10 available = { 91 = { is_controlled_by = ROOT compliance > 30 } 89 = { is_controlled_by = ROOT compliance > 30 } } completion_reward = { 91 = { add_core_of = ROOT } 89 = { add_core_of = ROOT } 93 = { add_core_of = ROOT } if = { limit = { NOT = { has_completed_focus = CZE_soviet_alliance } } 199 = { add_core_of = ROOT } } } search_filters = { FOCUS_FILTER_MANPOWER } } focus = { id = CZE_ally_poland icon = GFX_focus_generic_befriend_poland relative_position_id = CZE_strengthen_the_little_entente x = 2 y = 1 prerequisite = { focus = CZE_strengthen_the_little_entente } mutually_exclusive = { focus = CZE_demand_corridor_to_ussr focus = CZE_airlift_soviet_support } ai_will_do = { base = 0 modifier = { add = 2 POL = { is_ai = no } } } cost = 5 available = { is_subject = no OR = { is_faction_leader = yes AND = { OR = { has_government = democratic has_government = communism } is_in_faction = yes faction_leader = { original_tag = FRA } } } POL = { exists = yes is_subject = no is_in_faction = no NOT = { has_war_with = ROOT } } OR = { strength_ratio = { tag = GER ratio > 0.5 } GER = { OR = { exists = no has_capitulated = yes has_government = democratic is_in_faction_with = ROOT } } } } bypass = { POL = { is_ally_with = ROOT OR = { is_subject = no is_subject_of = ROOT } } } completion_reward = { if = { limit = { is_in_faction = yes faction_leader = { original_tag = FRA } } POL = { save_global_event_target_as = CZE_invited_country } FRA = { country_event = MUN_czech.1008 } } else = { POL = { country_event = MUN_czech.1009 } } if = { limit = { NOT = { has_completed_focus = CZE_intervene_in_the_ussr } } custom_effect_tooltip = if_they_refuse_tt custom_effect_tooltip = CZE_request_ally_give_ussr_mil_access_tt_POL } } search_filters = { FOCUS_FILTER_POLITICAL } } focus = { id = CZE_realize_the_polish_czechoslovak_confederation icon = GFX_focus_POL_common_organization_of_society prerequisite = { focus = CZE_ally_poland } cost = 10 relative_position_id = CZE_ally_poland x = 0 y = 1 available = { is_subject = no POL = { is_ally_with = ROOT OR = { is_subject = no is_subject_of = ROOT } has_capitulated = yes all_enemy_country = { has_war_with = ROOT } } } completion_reward = { POL = { country_event = MUN_czech.1031 custom_effect_tooltip = if_they_accept_newline_tt effect_tooltip = { every_core_state = { add_core_of = ROOT } every_unit_leader = { set_nationality = ROOT } } } effect_tooltip = { annex_country = { target = POL } set_cosmetic_tag = CZE_POL_union } } } ###### ####### ## ## ## ## ####### ## ## ######## ######## ### ## ## ###### ## ## ######## ###### ## ## ## ## ### ### ### ### ## ## ### ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ## ## ## ## #### #### #### #### ## ## #### ## ## ## ## ## ## ## #### ## ## ## ## ## ## ## ## ## ## ### ## ## ### ## ## ## ## ## ## ######## ######## ## ## ## ## ## ## ######### ###### ###### ## ## ## ## ## ## ## ## ## ## #### ## ## ## ## ######### ## #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ### ## ## ## ## ## ## ## ###### ####### ## ## ## ## ####### ## ## ######## ## ## ## ## ## ## ###### ## ## ######## ###### ############################ ##### Industry ###### ############################ focus = { id = CZE_raise_more_industrial_funds icon = GFX_focus_generic_industry_investment relative_position_id = CZE_revive_the_czechoslovak_legion_dynamic x = 16 y = 0 cost = 5 ai_will_do = { factor = 10 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { # CZE_start_skoda_GUI = yes # hidden_effect = { # add_dynamic_modifier = { modifier = CZE_skoda_works_dynamic_modifier } # } #custom_effect_tooltip = CZE_start_skoda_raise_more_industrial_funds_tt custom_effect_tooltip = CZE_start_skoda_GUI_focus_tt custom_effect_tooltip = generic_skip_one_line_tt country_event = { id = MUN_czech_skoda_priority.1 hours = 1 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_start_skoda_raise_more_industrial_funds_tt custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_raise_more_industrial_funds bonus = 0.50 uses = 1 category = industry } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = industrial_complex size > 1 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } # add_extra_state_shared_building_slots = 1 # add_building_construction = { # type = arms_factory # level = 1 # instant_build = yes # } } if = { limit = { 74 = { #Czeske Slezsko is_fully_controlled_by = ROOT } } custom_effect_tooltip = generic_skip_one_line_tt 74 = { #For tt reasons add_building_construction = { type = supply_node level = 1 instant_build = yes province = 3583 } } } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_influx_of_industrial_funds days = 180 } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_tooltip = CZE_construction_telephone_stations } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = CZE_national_bank_of_czechoslovakia custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_skoda_priority_focus_info_tt } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_the_slovak_arrow icon = GFX_focus_CZE_slovak_arrow prerequisite = { focus = CZE_raise_more_industrial_funds } relative_position_id = CZE_raise_more_industrial_funds x = -10 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_infrastructure_factor = 0.025 tooltip = production_speed_infrastructure_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_rail_way_factor = 0.025 tooltip = production_speed_rail_way_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_infrastructure_factor = 0.025 tooltip = production_speed_industrial_infrastructure_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_the_slovak_arrow ahead_reduction = 0.50 bonus = 1 uses = 1 category = train_tech } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { 75 = { #Oberbayern state_is_fully_controlled_by_ROOT_or_subject = yes } 70 = { #Upper Austria state_is_fully_controlled_by_ROOT_or_subject = yes } can_build_railway = { start_state = 75 target_state = 70 } } #Brno - Bratislava build_railway = { path = { 3569 11511 9539 9692 } } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { NOT = { has_dlc = "Arms Against Tyranny"} } if = { limit = { has_idea = CZE_CKD_plzen } swap_ideas = { remove_idea = CZE_CKD_plzen add_idea = CZE_CKD_plzen_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_CKD_plzen add_idea = CZE_CKD_plzen_improved } } } } else = { mio:CZE_CKD_plzen_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.25 add_mio_research_bonus = 0.05 #unlock_mio_trait_tooltip = #unlock_mio_trait_tooltip = } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = CZE_csd custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_jan_dostalek } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH } } focus = { id = CZE_realize_motorway_proposals icon = GFX_focus_generic_road_investment prerequisite = { focus = CZE_the_slovak_arrow } x = -1 y = 1 relative_position_id = CZE_the_slovak_arrow cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_infrastructure_factor = 0.025 tooltip = production_speed_infrastructure_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_rail_way_factor = 0.025 tooltip = production_speed_rail_way_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_infrastructure_factor = 0.025 tooltip = production_speed_industrial_infrastructure_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = infrastructure size > 0 } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = infrastructure size > 0 } is_in_home_area = yes } } } } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_owned_controlled_state = { prioritize = { 75 } limit = { free_building_slots = { building = infrastructure size > 1 } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = infrastructure size > 1 } is_in_home_area = yes } } } } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_the_freeway_project days = 180 } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_finish_double_tracking_efforts icon = GFX_goal_generic_construct_infrastructure prerequisite = { focus = CZE_the_slovak_arrow } x = 1 y = 1 relative_position_id = CZE_the_slovak_arrow cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_infrastructure_factor = 0.025 tooltip = production_speed_infrastructure_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_rail_way_factor = 0.025 tooltip = production_speed_rail_way_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_infrastructure_factor = 0.025 tooltip = production_speed_industrial_infrastructure_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { 74 = { #Slezsko state_is_fully_controlled_by_ROOT_or_subject = yes } 72 = { #Tesinsko state_is_fully_controlled_by_ROOT_or_subject = yes } 70 = { #Tesinsko state_is_fully_controlled_by_ROOT_or_subject = yes } can_build_railway = { start_state = 74 target_state = 72 } can_build_railway = { start_state = 72 target_state = 70 } } #Ostrava - Zilina build_railway = { path = { 3583 9567 9551 11539 } } } if = { limit = { 70 = { #Western Slovakia state_is_fully_controlled_by_ROOT_or_subject = yes } 664 = { #Southern Slovakia state_is_fully_controlled_by_ROOT_or_subject = yes } can_build_railway = { start_state = 70 target_state = 644 } } #Nitra - 65 build_railway = { path = { 541 11679 6561 } } } if = { limit = { 70 = { #Western Slovakia state_is_fully_controlled_by_ROOT_or_subject = yes } 71 = { #Eastern Slovakia state_is_fully_controlled_by_ROOT_or_subject = yes } can_build_railway = { start_state = 70 target_state = 71 } } #Zilina - Presov build_railway = { path = { 11539 581 3550 3581 } } } if = { limit = { 71 = { #Western Slovakia state_is_fully_controlled_by_ROOT_or_subject = yes } 73 = { #Podkarpatska state_is_fully_controlled_by_ROOT_or_subject = yes } can_build_railway = { start_state = 71 target_state = 73 } } #Zilina - Presov build_railway = { path = { 3581 6586 11691 3548} } } if = { limit = { 9 = { #Bohemia state_is_fully_controlled_by_ROOT_or_subject = yes } 74 = { #Slezsko state_is_fully_controlled_by_ROOT_or_subject = yes } 75 = { #Moravia state_is_fully_controlled_by_ROOT_or_subject = yes } can_build_railway = { start_state = 9 target_state = 75 } } #Bohemia - #Moravia build_railway = { path = { 11542 9429 583 421 6562 } } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_double_tracking_efforts days = 365 } } } } focus = { id = CZE_build_additional_rail_stations icon = GFX_focus_POL_warsaw_main_station overlay = GFX_focus_fast_overlay_generic_clock prerequisite = { focus = CZE_finish_double_tracking_efforts } prerequisite = { focus = CZE_realize_motorway_proposals } x = 0 y = 2 relative_position_id = CZE_the_slovak_arrow cost = 10 ai_will_do = { factor = 1 } available = { OR = { 9 = { #Bohemia is_fully_controlled_by = ROOT } 75 = { #Moravia is_fully_controlled_by = ROOT } } } completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_infrastructure_factor = 0.025 tooltip = production_speed_infrastructure_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_rail_way_factor = 0.025 tooltip = production_speed_rail_way_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_infrastructure_factor = 0.025 tooltip = production_speed_industrial_infrastructure_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { 9 = { #Bohemia is_fully_controlled_by = ROOT } } 9 = { #For tt reasons add_building_construction = { type = supply_node level = 1 instant_build = yes province = 6418 } } } if = { limit = { 75 = { #Moravia is_fully_controlled_by = ROOT } } 75 = { #For tt reasons add_building_construction = { type = supply_node level = 1 instant_build = yes province = 6562 } } } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_railway_station_construction_effort days = 180 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_build_additional_rail_stations_focus_cost_tt } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_complete_the_power_grid icon = { GFX_focus_AFG_helmand_river_authority = { ROOT = { has_government = communism } } GFX_focus_generic_energy = yes } prerequisite = { focus = CZE_raise_more_industrial_funds } relative_position_id = CZE_raise_more_industrial_funds x = -7 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { has_tech = construction1 any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_industrial_capacity_factory = 0.025 tooltip = industrial_capacity_factory_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_energy_infrastructure_factor = 0.05 tooltip = production_speed_energy_infrastructure_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 } random_owned_controlled_state = { prioritize = { 75 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 } random_owned_controlled_state = { prioritize = { 70 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 } random_owned_controlled_state = { prioritize = { 71 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 } random_owned_controlled_state = { prioritize = { 72 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 } if = { limit = { 70 = { is_controlled_by = ROOT } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = CZE_zse } } } focus = { id = CZE_build_the_slapy_reservoir icon = GFX_focus_focus_generic_build_dam prerequisite = { focus = CZE_complete_the_power_grid } relative_position_id = CZE_complete_the_power_grid x = 0 y = 2 cost = 10 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_no_focus = yes has_tech = construction3 has_full_control_of_state = 9 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_industrial_capacity_factory = 0.025 tooltip = industrial_capacity_factory_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_energy_infrastructure_factor = 0.05 tooltip = production_speed_energy_infrastructure_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 3 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt 9 = { add_building_construction = { type = dam level = 1 instant_build = yes province = { id = 9569 } } } custom_effect_tooltip = { localization_key = building_state_modifier|dam INDENT = " " } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_devaluate_the_koruna icon = GFX_focus_ITA_devaluate_the_lire overlay = GFX_focus_overlay_cze_level_four prerequisite = { focus = CZE_raise_more_industrial_funds } relative_position_id = CZE_raise_more_industrial_funds x = 1 y = 1 cost = 10 ai_will_do = { factor = 2 } available = { custom_trigger_tooltip = { tooltip = skoda_optimization_tier_greater_than_three_tt check_variable = { var = skoda_optimization_tier value = 3 compare = greater_than } } any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = no continue_if_invalid = yes available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_efficiency_gain_factor = 0.025 tooltip = production_factory_efficiency_gain_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_industrial_capacity_factory = 0.025 tooltip = industrial_capacity_factory_tt } custom_effect_tooltip = generic_skip_one_line_tt add_stability = -0.03 custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_devaluate_the_koruna_idea days = 365 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_josef_kalfus custom_effect_tooltip = generic_skip_one_line_tt reduce_focus_completion_cost = { focus = { CZE_build_additional_rail_stations CZE_increase_bauxite_imports CZE_bailout_moser CZE_expand_central_bohemian_mines} cost = 35 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = PHI_clock_tt } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER } } focus = { id = CZE_joint_stock_schemes icon = GFX_focus_RAJ_issue_bonds_on_the_stock_market #overlay = GFX_focus_overlay_cze_air_focus #prerequisite = { focus = CZE_devaluate_the_koruna focus = CZE_kickstart_rapid_rearmanent } prerequisite = { focus = CZE_raise_more_industrial_funds } relative_position_id = CZE_devaluate_the_koruna x = 1 y = 2 cost = 5 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_planes_focus = yes } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_efficiency_gain_factor = 0.025 tooltip = production_factory_efficiency_gain_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { has_dlc = "Arms Against Tyranny" } } add_ideas = CZE_joint_stock_schemes_idea_no_aat } else = { add_ideas = CZE_joint_stock_schemes_idea_aat } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "By Blood Alone" } add_tech_bonus = { name = CZE_joint_stock_schemes bonus = 0.25 uses = 1 category = cat_air_engine } } else = { add_tech_bonus = { name = CZE_joint_stock_schemes bonus = 0.05 uses = 1 category = air_equipment } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = CZE_walter_co } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_continue_the_central_bohemia_plan icon = GFX_focus_CZE_bohemia_plan prerequisite = { focus = CZE_raise_more_industrial_funds } mutually_exclusive = { focus = CZE_balance_industrial_invevestments } relative_position_id = CZE_raise_more_industrial_funds x = -4 y = 1 cost = 10 ai_will_do = { factor = 8 } available = { #any_core_state = { # is_controlled_by = ROOT #} controls_state = 9 controls_state = 75 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_max_efficiency_factor = 0.025 tooltip = production_factory_max_efficiency_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt every_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { state = 9 state = 75 } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_dynamic_modifier = { modifier = CZE_central_bohemia_modifier } } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_balance_industrial_invevestments icon = GFX_focus_CZE_balance_plan #overlay = GFX_focus_overlay_cze_industry_focus prerequisite = { focus = CZE_raise_more_industrial_funds } mutually_exclusive = { focus = CZE_continue_the_central_bohemia_plan } relative_position_id = CZE_raise_more_industrial_funds x = -2 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_no_focus = yes any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_efficiency_gain_factor = 0.025 tooltip = production_factory_efficiency_gain_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt every_state = { limit = { is_controlled_by_ROOT_or_ally = yes free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { state = 69 state = 53 state = 74 state = 72 state = 73 state = 70 state = 71 state = 664 state = 154 state = 972 } } add_extra_state_shared_building_slots = 1 add_dynamic_modifier = { modifier = CZE_balance_industrial_development } } } } focus = { id = CZE_expand_prf_science_facilities icon = GFX_focus_generic_university_3 prerequisite = { focus = CZE_continue_the_central_bohemia_plan } relative_position_id = CZE_continue_the_central_bohemia_plan x = -1 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { if = { limit = { amount_research_slots < 7 } add_research_slot = 1 } add_tech_bonus = { name = CZE_expand_prf_science_facilities bonus = 0.50 uses = 1 category = electronics } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_emil_franke if = { limit = { NOT = { OR = { has_completed_focus = CZE_appeal_to_the_castle has_completed_focus = CZE_create_a_secret_police_branch } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_karel_domin } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_RESEARCH } } focus = { id = CZE_shrink_educational_disparities icon = { GFX_focus_NOR_moscows_education_centers = { ROOT = { has_government = communism } } GFX_focus_generic_education = yes } prerequisite = { focus = CZE_balance_industrial_invevestments} relative_position_id = CZE_balance_industrial_invevestments x = 1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_tech_bonus = { name = CZE_shrink_educational_disparities bonus = 0.25 uses = 1 category = electronics } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_rural_education_efforts days = 365 } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_jan_krcmar } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_RESEARCH } } focus = { id = CZE_grow_ckd_secondary_facilities icon = { GFX_focus_generic_communist_industry = { ROOT = { has_government = communism } } GFX_focus_generic_industry_1 = yes } prerequisite = { focus = CZE_continue_the_central_bohemia_plan focus = CZE_balance_industrial_invevestments } relative_position_id = CZE_continue_the_central_bohemia_plan x = 1 y = 1 cost = 5 ai_will_do = { factor = 8 } available = { any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_out_of_power_impact_factor = 0.05 tooltip = modifier_out_of_power_impact_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_efficiency_gain_factor = 0.025 tooltip = production_factory_efficiency_gain_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_infrastructure_factor = 0.05 tooltip = production_speed_industrial_infrastructure_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 75 } limit = { free_building_slots = { building = industrial_complex size > 1 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = 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 random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } if = { limit = { has_dlc = "Arms Against Tyranny" } custom_effect_tooltip = generic_skip_one_line_tt mio:CZE_ckd_praga_organization = { add_mio_funds = 250 } mio:CZE_CKD_plzen_organization = { add_mio_funds = 250 } #custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { ROOT = { is_subject = no } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_emil_kolben } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_bolster_domestic_construction icon = GFX_focus_generic_industral_devlopment_bucket prerequisite = { focus = CZE_grow_ckd_secondary_facilities } relative_position_id = CZE_continue_the_central_bohemia_plan x = 1 y = 2 cost = 5 ai_will_do = { factor = 4 } available = { #CZE_has_a_skoda_no_focus = yes any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { production_speed_buildings_factor = 0.05 tooltip = production_speed_buildings_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_bolster_domestic_construction bonus = 1.0 uses = 1 category = construction_tech } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = 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 custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = CZE_muller_and_kapsa } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_expand_trinec_ironworks icon = GFX_focus_CZE_trinec_ironwork prerequisite = { focus = CZE_bolster_domestic_construction focus = CZE_joint_stock_schemes } relative_position_id = CZE_bolster_domestic_construction x = 2 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_no_focus = yes has_tech = construction2 has_full_control_of_state = 72 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_efficiency_gain_factor = 0.025 tooltip = production_factory_efficiency_gain_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 72 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = 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 custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = CZE_trinec_ironworks } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_expand_praga icon = GFX_focus_generic_truck overlay = GFX_focus_overlay_cze_military_equipment prerequisite = { focus = CZE_bolster_domestic_construction focus = CZE_joint_stock_schemes } relative_position_id = CZE_bolster_domestic_construction x = 4 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_any_focus = yes #CZE_has_a_skoda_tank_focus = yes any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_industrial_capacity_factory = 0.025 tooltip = industrial_capacity_factory_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } mio:CZE_praga_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.25 } if = { limit = { has_dlc = "Gotterdammerung" } if = { limit = { is_special_project_completed = sp_air_helicopter } mio:CZE_praga_aviation_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.25 } } else = { mio:CZE_praga_aviation_organization = { add_mio_funds = 250 add_mio_funds_gain_factor = 0.25 } } } custom_effect_tooltip = generic_skip_one_line_tt } else = { if = { limit = { has_idea = CZE_praga } swap_ideas = { remove_idea = CZE_praga add_idea = CZE_praga_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_praga add_idea = CZE_praga_improved } } } } random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_grow_tatras_capabilities icon = GFX_focus_CHL_domestic_production_of_the_willys_mb overlay = GFX_focus_overlay_cze_level_four prerequisite = { focus = CZE_expand_praga } relative_position_id = CZE_expand_praga x = 0 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { custom_trigger_tooltip = { tooltip = skoda_optimization_tier_greater_than_three_tt check_variable = { var = skoda_optimization_tier value = 3 compare = greater_than } } any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_max_efficiency_factor = 0.025 tooltip = production_factory_max_efficiency_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_industrial_capacity_factory = 0.025 tooltip = industrial_capacity_factory_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } mio:CZE_tatra_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.25 } if = { limit = { has_dlc = "La Resistance" } } mio:CZE_ringhoffer_tatra_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.25 } } else = { if = { limit = { has_idea = CZE_tatra } swap_ideas = { remove_idea = CZE_tatra add_idea = CZE_tatra_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_tatra add_idea = CZE_tatra_improved } } } } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_merge_skodas_consumer_good_plants icon = GFX_focus_SOV_merge_plants overlay = GFX_focus_overlay_cze_industry_focus prerequisite = { focus = CZE_grow_tatras_capabilities } prerequisite = { focus = CZE_bailout_moser } relative_position_id = CZE_grow_tatras_capabilities x = 1 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_no_focus = yes any_core_state = { is_controlled_by = ROOT } num_of_factories > 50 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { CZE_increase_skoda_max_optimization_tier = yes add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_complex_factor = 0.10 tooltip = production_speed_industrial_complex_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_merge_skodas_consumer_good_plants bonus = 0.75 uses = 1 category = cat_production } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = 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_ideas = CZE_merged_consumer_good_plants } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_invest_in_vhht icon = { GFX_goal_generic_soviet_construction = { ROOT = { has_government = communism } } GFX_focus_generic_public_works = yes } overlay = GFX_focus_overlay_cze_industry_focus prerequisite = { focus = CZE_bolster_domestic_construction } relative_position_id = CZE_bolster_domestic_construction x = -1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { #has_tech = excavation1 CZE_has_a_skoda_no_focus = yes any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_complex_factor = 0.025 tooltip = production_speed_industrial_complex_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = industrial_bonus bonus = 0.25 uses = 1 category = industry } custom_effect_tooltip = generic_skip_one_line_tt CZE_vhht_idea_go_up = yes custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 72 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_expand_vitkovice_ironworks icon = GFX_focus_generic_steel_mill prerequisite = { focus = CZE_invest_in_vhht } relative_position_id = CZE_invest_in_vhht x = -2 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { 74 = { is_fully_controlled_by = CZE } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_complex_factor = 0.025 tooltip = production_speed_industrial_complex_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { 74 = { is_fully_controlled_by = ROOT } } random_owned_controlled_state = { prioritize = { 74 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_resource = { type = steel amount = 4 } } } custom_effect_tooltip = generic_skip_one_line_tt #This will always be a idea swap so the tooltip should display a swap effect effect_tooltip = { swap_ideas = { remove_idea = CZE_vitkovice_mining_and_metallurgical_company add_idea = CZE_vitkovice_mining_and_metallurgical_company_2 } } hidden_effect = { CZE_vhht_idea_go_up = yes } custom_effect_tooltip = generic_skip_one_line_tt } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_expand_central_bohemian_mines icon = GFX_focus_generic_coal_mining overlay = GFX_focus_fast_overlay_generic_clock prerequisite = { focus = CZE_expand_vitkovice_ironworks } relative_position_id = CZE_expand_vitkovice_ironworks x = 0 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { has_tech = excavation3 9 = { is_fully_controlled_by = CZE } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_complex_factor = 0.025 tooltip = production_speed_industrial_complex_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { 9 = { is_fully_controlled_by = ROOT } } random_core_state = { limit = { is_fully_controlled_by = ROOT } if = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } add_extra_state_shared_building_slots = 1 } prioritize = { 9 } add_resource = { type = coal amount = 8 } add_resource = { type = steel amount = 2 } } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { has_tech = advanced_equipment_conversion } } add_tech_bonus = { name = CZE_expand_central_bohemian_mines bonus = 1 uses = 1 technology = improved_equipment_conversion technology = advanced_equipment_conversion } custom_effect_tooltip = generic_skip_one_line_tt } custom_effect_tooltip = CZE_build_additional_rail_stations_focus_cost_tt } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } } focus = { id = CZE_jachymov_uranium_mine icon = GFX_focus_generic_uranium_extraction prerequisite = { focus = CZE_invest_in_vhht } relative_position_id = CZE_invest_in_vhht x = 0 y = 1 cost = 10 available = { #CZE_has_a_skoda_no_focus = yes has_tech = excavation2 controls_state = 69 } completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_facility_factor = 0.05 tooltip = production_speed_facility_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt IF = { limit = { NOT = { has_tech = atomic_research } } add_tech_bonus = { name = CZE_jachymov_uranium_mine bonus = 0.35 uses = 1 category = nuclear } add_breakthrough_progress = { specialization = specialization_nuclear value = 0.5 } } ELSE = { add_breakthrough_progress = { specialization = specialization_nuclear value = 0.75 } } if = { limit = { has_character = CZE_georg_placzek } custom_effect_tooltip = generic_skip_one_line_tt CZE_georg_placzek = { add_scientist_xp = { experience = 500 specialization = specialization_nuclear } } } } } focus = { id = CZE_diversify_refinery_processes icon = GFX_focus_generic_rubber prerequisite = { focus = CZE_bolster_domestic_construction } relative_position_id = CZE_bolster_domestic_construction x = -6 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_synthetic_refinery_factor = 0.10 tooltip = production_speed_synthetic_refinery_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_diversify_refinery_processes bonus = 1 uses = 2 category = synth_resources } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_industrial_concern show_ideas_tooltip = CZE_apollo } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_enlarge_smaller_wells icon = GFX_focus_PER_increase_oil_sales prerequisite = { focus = CZE_bolster_domestic_construction } relative_position_id = CZE_bolster_domestic_construction x = -4 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { has_tech = excavation1 OR = { controls_state = 70 controls_state = 75 controls_state = 71 } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_fuel_gain_factor = 0.10 tooltip = fuel_gain_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_enlarge_smaller_wells bonus = 1.0 uses = 1 category = excavation_tech } custom_effect_tooltip = generic_skip_one_line_tt random_core_state = { limit = { is_fully_controlled_by = ROOT } prioritize = { 70 } add_resource = { type = oil amount = 2 } } random_core_state = { limit = { is_fully_controlled_by = ROOT } prioritize = { 75 } add_resource = { type = oil amount = 2 } } random_core_state = { limit = { is_fully_controlled_by = ROOT } prioritize = { 71 } add_resource = { type = oil amount = 1 } } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_merge_the_oil_companies icon = GFX_focus_generic_resource_extraction overlay = GFX_focus_overlay_cze_industry_focus prerequisite = { focus = CZE_enlarge_smaller_wells focus = CZE_diversify_refinery_processes } relative_position_id = CZE_diversify_refinery_processes x = 1 y = 2 cost = 10 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_no_focus = yes any_core_state = { is_controlled_by = ROOT } synthetic_refinery > 0 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt # add_to_variable = { # CZE_skoda_works_dynamic_modifier_fuel_gain_factor = 0.10 # tooltip = fuel_gain_factor_tt # } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_synthetic_refinery_factor = 0.10 tooltip = production_speed_synthetic_refinery_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = CZE_apollo } swap_ideas = { remove_idea = CZE_apollo add_idea = CZE_apollo_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_apollo add_idea = CZE_apollo_improved } } } add_ideas = CZE_czech_state_oil } } focus = { id = CZE_develop_sudetenland_resources icon = GFX_focus_generic_tungsten prerequisite = { focus = CZE_invest_in_vhht } relative_position_id = CZE_invest_in_vhht x = 2 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { has_tech = excavation2 OR = { has_full_control_of_state = 69 has_full_control_of_state = 972 } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_complex_factor = 0.025 tooltip = production_speed_industrial_complex_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { 69 = { is_fully_controlled_by = ROOT } } random_core_state = { limit = { is_fully_controlled_by = ROOT } prioritize = { 69 } add_resource = { type = tungsten amount = 5 } add_resource = { type = coal amount = 2 } } } if = { limit = { 972 = { is_fully_controlled_by = ROOT } } random_core_state = { limit = { is_fully_controlled_by = ROOT } prioritize = { 972 } add_resource = { type = tungsten amount = 3 } } } if = { limit = { 74 = { is_fully_controlled_by = ROOT } } random_core_state = { limit = { is_fully_controlled_by = ROOT } prioritize = { 74 } add_resource = { type = coal amount = 1 } } } custom_effect_tooltip = generic_skip_one_line_tt #This will always be a idea swap so the tooltip should display a swap effect effect_tooltip = { swap_ideas = { remove_idea = CZE_vitkovice_mining_and_metallurgical_company add_idea = CZE_vitkovice_mining_and_metallurgical_company_2 } } hidden_effect = { CZE_vhht_idea_go_up = yes } } } focus = { id = CZE_increase_bauxite_imports icon = GFX_focus_generic_aluminum overlay = GFX_focus_fast_overlay_generic_clock prerequisite = { focus = CZE_develop_sudetenland_resources } relative_position_id = CZE_invest_in_vhht x = 2 y = 2 cost = 10 ai_will_do = { factor = 1 } available = { has_tech = excavation3 any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_complex_factor = 0.025 tooltip = production_speed_industrial_complex_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { any_core_state = { is_controlled_by = ROOT } } random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_resource = { type = aluminium amount = 2 } } } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { swap_ideas = { remove_idea = CZE_vitkovice_mining_and_metallurgical_company add_idea = CZE_vitkovice_mining_and_metallurgical_company_2 } } hidden_effect = { CZE_vhht_idea_go_up = yes } #custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_build_additional_rail_stations_focus_cost_tt } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_consolidate_mining_operations icon = GFX_focus_generic_central_planning overlay = GFX_focus_overlay_cze_industry_focus prerequisite = { focus = CZE_expand_vitkovice_ironworks } prerequisite = { focus = CZE_develop_sudetenland_resources } relative_position_id = CZE_invest_in_vhht x = 0 y = 2 cost = 10 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_no_focus = yes any_core_state = { is_controlled_by = ROOT } if = { limit = { num_subjects < 1 } has_resources_in_country = { resource = steel amount > 49 extracted = yes } has_resources_in_country = { resource = tungsten amount > 9 extracted = yes } } else = { has_resources_in_country = { resource = steel amount > 49 #extracted = no in general } has_resources_in_country = { resource = tungsten amount > 9 #extracted = no in general } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { CZE_increase_skoda_max_optimization_tier = yes custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_consolidate_mining_operations bonus = 0.75 uses = 1 category = excavation_tech } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_czech_state_mines } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_diversify_bata icon = GFX_focus_CHL_enlarge_the_textile_industries overlay = GFX_focus_overlay_cze_level_four prerequisite = { focus = CZE_joint_stock_schemes } relative_position_id = CZE_bolster_domestic_construction cost = 10 x = 6 y = 1 available = { custom_trigger_tooltip = { tooltip = skoda_optimization_tier_greater_than_three_tt check_variable = { var = skoda_optimization_tier value = 3 compare = greater_than } } has_full_control_of_state = 75 } completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_lack_of_resource_penalty_factor = -0.05 tooltip = production_lack_of_resource_penalty_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt every_core_state = { limit = { is_fully_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } random_select_amount = 2 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 custom_effect_tooltip = available_industrial_concern custom_effect_tooltip = CZE_bata_corporation_tt #marijn211: fixes odd tooltip with show_ideas_tooltip } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_bailout_moser icon = GFX_focus_generic_currency_reforms overlay = GFX_focus_fast_overlay_generic_clock_and_cze_industry_focus prerequisite = { focus = CZE_diversify_bata } relative_position_id = CZE_diversify_bata x = 0 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_no_focus = yes OR = { has_full_control_of_state = 69 has_full_control_of_state = 972 has_full_control_of_state = 74 } } bypass = { NOT = { controls_state = 69 controls_state = 972 controls_state = 74 } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_lack_of_resource_penalty_factor = -0.05 tooltip = production_lack_of_resource_penalty_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_complex_factor = 0.025 tooltip = production_speed_industrial_complex_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { every_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { state = 69 state = 74 state = 972 } } add_extra_state_shared_building_slots = 1 add_dynamic_modifier = { modifier = CZE_industrial_subsidies } } } hidden_effect = { every_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { state = 69 state = 74 state = 972 } } add_extra_state_shared_building_slots = 1 } every_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { state = 69 state = 74 state = 972 } } add_dynamic_modifier = { modifier = CZE_industrial_subsidies } } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_build_additional_rail_stations_focus_cost_tt } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_giant_of_central_europe_industry icon = GFX_focus_generic_modernize_industry overlay = GFX_focus_overlay_cze_level_four prerequisite = { focus = CZE_merge_skodas_consumer_good_plants } prerequisite = { focus = CZE_consolidate_mining_operations } prerequisite = { focus = CZE_merge_the_oil_companies } relative_position_id = CZE_bolster_domestic_construction x = 0 y = 5 cost = 15 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_no_focus = yes #is_major = yes #num_of_factories > 55 custom_trigger_tooltip = { tooltip = skoda_optimization_tier_greater_than_three_tt check_variable = { var = skoda_optimization_tier value = 3 compare = greater_than } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_efficiency_gain_factor = 0.10 tooltip = production_factory_efficiency_gain_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { #Should always have this idea limit = { NOT = { has_idea = CZE_czech_state_mines } } add_ideas = CZE_giant_of_central_europe_industry_idea custom_effect_tooltip = generic_skip_one_line_tt } else = { swap_ideas = { remove_idea = CZE_czech_state_mines add_idea = CZE_giant_of_central_europe_industry_idea } } random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_owned_controlled_state = { prioritize = { 75 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_owned_controlled_state = { prioritize = { 70 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } random_owned_controlled_state = { prioritize = { 71 } limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } } } search_filters = { FOCUS_FILTER_INDUSTRY } } #Mil Industry# focus = { id = CZE_kickstart_rapid_rearmanent icon = GFX_focus_generic_combined_arms overlay = GFX_focus_overlay_cze_military_equipment mutually_exclusive = { focus = CZE_keep_focus_on_weapon_exports } prerequisite = { focus = CZE_raise_more_industrial_funds } relative_position_id = CZE_raise_more_industrial_funds x = 3 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_any_focus = yes #CZE_has_a_skoda_infantry_focus = yes has_war_support > 0.30 has_idea = CZE_industrialists_veto } complete_tooltip = { #Prevents the focus saying it had no effect custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_industrial_capacity_factory = -0.05 tooltip = industrial_capacity_factory_tt } custom_effect_tooltip = generic_skip_one_line_tt add_stability = -0.15 add_war_support = -0.30 custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_country_flag = CZE_i_had_civ_and_went_to_low_mob } add_ideas = low_economic_mobilisation custom_effect_tooltip = generic_skip_one_line_tt } remove_ideas = CZE_industrialists_veto if = { limit = { has_dlc = "Arms Against Tyranny" } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_kickstart_rapid_rearmanent_aat_idea days = 365 } } else = { custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_kickstart_rapid_rearmanent_no_aat_idea days = 365 } } } completion_reward = { if = { limit = { OR = { has_idea = CZE_industrialists_veto has_idea = CZE_industrialists_veto_2 #tooltip reasons, if you did the other focus and hover this focus } } if = { limit = { has_idea = civilian_economy has_war = no } custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_industrial_capacity_factory = -0.05 tooltip = industrial_capacity_factory_tt } custom_effect_tooltip = generic_skip_one_line_tt add_stability = -0.15 add_war_support = -0.30 custom_effect_tooltip = generic_skip_one_line_tt } remove_ideas = CZE_industrialists_veto custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { has_idea = civilian_economy } add_ideas = low_economic_mobilisation set_country_flag = CZE_i_had_civ_and_went_to_low_mob #for the complete_tooltip } else_if = { limit = { has_war = yes } add_political_power = 25 add_war_support = 0.05 #yes, we're adding in this context } else = { add_political_power = 25 } if = { limit = { has_dlc = "Arms Against Tyranny" } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_kickstart_rapid_rearmanent_aat_idea days = 365 } } else = { custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_kickstart_rapid_rearmanent_no_aat_idea days = 365 } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_medium_increase_effect = yes } } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_keep_focus_on_weapon_exports icon = GFX_focus_generic_arms_trade mutually_exclusive = { focus = CZE_kickstart_rapid_rearmanent } prerequisite = { focus = CZE_raise_more_industrial_funds } relative_position_id = CZE_raise_more_industrial_funds x = 7 y = 1 cost = 5 ai_will_do = { factor = 6 } available = { #CZE_has_a_skoda_tank_focus = yes if = { limit = { has_idea = CZE_industrialists_veto } has_idea = CZE_industrialists_veto } if = { limit = { has_idea = CZE_industrialists_veto_2 } has_idea = CZE_industrialists_veto_2 } } bypass = { #idk if there would be a context this would need to be bypassed, just being extra safe if = { limit = { has_idea = CZE_industrialists_veto } NOT = { has_idea = CZE_industrialists_veto } } if = { limit = { has_idea = CZE_industrialists_veto_2 } NOT = { has_idea = CZE_industrialists_veto_2 } } NOT = { has_completed_focus = CZE_kickstart_rapid_rearmanent } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_industrial_complex_factor = 0.10 tooltip = production_speed_industrial_complex_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt swap_ideas = { remove_idea = CZE_industrialists_veto add_idea = CZE_industrialists_veto_2 } if = { limit = { has_dlc = "Arms Against Tyranny" } mio:CZE_zbrojovka_brno_organization = { add_mio_funds = 250 } custom_effect_tooltip = generic_skip_one_line_tt } else = { army_experience = 5 } random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_decrease_effect = yes } hidden_effect = { every_other_country = { limit = { exists = yes is_major = no NOT = { has_relation_modifier = { target = ROOT modifier = CZE_i_am_agreeable_to_license } } OR = { AND = { has_government = ROOT has_opinion = { target = ROOT value > 19 } } original_tag = AFG original_tag = BUL original_tag = JAP original_tag = TUR original_tag = BOL original_tag = ECU original_tag = GUT original_tag = NIC original_tag = VEN original_tag = COL original_tag = URG } } add_relation_modifier = { target = ROOT modifier = CZE_i_am_agreeable_to_license } } } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_force_the_industrialists_hand icon = { GFX_focus_spr_class_war = { ROOT = { has_government = communism } } GFX_focus_RAJ_union_busting = yes } mutually_exclusive = { focus = CZE_embrace_corporatism } prerequisite = { focus = CZE_keep_focus_on_weapon_exports } available = { OR = { has_war_support > 0.45 threat > 0.14 GER = { has_completed_focus = GER_anschluss } } } cancel_if_invalid = no continue_if_invalid = yes #dont cancel on dropping tension/ws complete_tooltip = { add_war_support = 0.03 custom_effect_tooltip = generic_skip_one_line_tt remove_ideas = CZE_industrialists_veto_2 if = { limit = { has_idea = civilian_economy } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = low_economic_mobilisation set_country_flag = CZE_i_had_civ_and_went_to_low_mob_force #for the complete_tooltip } } relative_position_id = CZE_keep_focus_on_weapon_exports x = 1 y = 1 cost = 5 ai_will_do = { factor = 10 } completion_reward = { add_political_power = 25 add_war_support = 0.03 custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = CZE_industrialists_veto } remove_ideas = CZE_industrialists_veto } if = { limit = { has_idea = CZE_industrialists_veto_2 } remove_ideas = CZE_industrialists_veto_2 } if = { limit = { has_idea = civilian_economy } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = low_economic_mobilisation set_country_flag = CZE_i_had_civ_and_went_to_low_mob_force } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { remove_decision = CZE_prioritize_export_contracts } } if = { limit = { has_character = CZE_dominik_cipera } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = { localization_key = remove_character_as_tt CHARACTER = CZE_dominik_cipera ROLE = political_advisor } hidden_effect = { retire_character = CZE_dominik_cipera } } } search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_HISTORICAL FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_embrace_corporatism icon = { GFX_focus_ICE_state_corporatism = { ROOT = { has_government = fascism NOT = { has_completed_focus = CZE_catholic_focus } } } GFX_focus_BEL_christian_corporatism = { ROOT = { has_completed_focus = CZE_catholic_focus } } GFX_focus_generic_industrialists = yes } mutually_exclusive = { focus = CZE_force_the_industrialists_hand } relative_position_id = CZE_keep_focus_on_weapon_exports x = 3 y = 1 cost = 5 ai_will_do = { factor = 10 } available = { OR = { has_government = fascism has_government = neutrality } if = { limit = { has_government = fascism } fascism > 0.55 } if = { limit = { has_government = neutrality } neutrality > 0.50 #harder than fascism to increase quickly } } prerequisite = { focus = CZE_keep_focus_on_weapon_exports } complete_tooltip = { custom_effect_tooltip = AUS_seek_papal_support_tt hidden_effect = { add_popularity = { ideology = ROOT popularity = 0.05 } } custom_effect_tooltip = generic_skip_one_line_tt remove_ideas = CZE_industrialists_veto_2 #We HAD to be removing this custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_czech_corporatism if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_low_decrease_effect = yes } } completion_reward = { custom_effect_tooltip = AUS_seek_papal_support_tt hidden_effect = { add_popularity = { ideology = ROOT popularity = 0.05 } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = CZE_industrialists_veto } remove_ideas = CZE_industrialists_veto custom_effect_tooltip = generic_skip_one_line_tt } else_if = { limit = { has_idea = CZE_industrialists_veto_2 } remove_ideas = CZE_industrialists_veto_2 custom_effect_tooltip = generic_skip_one_line_tt } add_ideas = CZE_czech_corporatism if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_low_decrease_effect = yes } } search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_continue_industrial_relocation_schemes icon = GFX_focus_CZE_continue_industrial_relocation_schemes mutually_exclusive = { focus = CZE_expand_existing_armory_plants } prerequisite = { focus = CZE_kickstart_rapid_rearmanent focus = CZE_keep_focus_on_weapon_exports } relative_position_id = CZE_keep_focus_on_weapon_exports x = -1 y = 1 cost = 5 ai_will_do = { factor = 8 } available = { 9 = { is_controlled_by = ROOT } 75 = { is_controlled_by = ROOT } any_core_state = { OR = { hidden_trigger = { has_state_flag = CZE_had_a_mil_moved #do not cancel because the mil has already been removed } AND = { arms_factory > 0 is_fully_controlled_by = ROOT OR = { state = 74 state = 69 state = 972 } } } } } bypass = { 74 = { NOT = { is_fully_controlled_by = ROOT } } 69 = { NOT = { is_fully_controlled_by = ROOT } } 972 = { NOT = { is_fully_controlled_by = ROOT } } } bypass_effect = { if = { limit = { 69 = { NOT = { is_fully_controlled_by = ROOT } } 972 = { NOT = { is_fully_controlled_by = ROOT } } 74 = { NOT = { is_fully_controlled_by = ROOT } } } custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_facility_factor = 0.10 tooltip = production_speed_facility_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_arms_factory_factor = 0.05 tooltip = production_speed_arms_factory_factor_tt } } } select_effect = { if = { limit = { has_full_control_of_state = 74 74 = { arms_factory > 0 } } set_country_flag = CZE_74_had_mil_to_move 74 = { remove_building = { type = arms_factory level = 1 } set_state_flag = CZE_had_a_mil_moved } } if = { limit = { has_full_control_of_state = 69 69 = { arms_factory > 0 } } set_country_flag = CZE_69_had_mil_to_move 69 = { remove_building = { type = arms_factory level = 1 } set_state_flag = CZE_had_a_mil_moved } } if = { limit = { has_full_control_of_state = 972 972 = { arms_factory > 0 } } set_country_flag = CZE_972_had_mil_to_move 972 = { remove_building = { type = arms_factory level = 1 } set_state_flag = CZE_had_a_mil_moved } } } #This might be a bit overly complex? But it works and accounts for rare edge cases. completion_reward = { if = { #Just so this doesn't show up as a reward in bypass contexts limit = { OR = { 69 = { is_fully_controlled_by = ROOT } 74 = { is_fully_controlled_by = ROOT } 972 = { is_fully_controlled_by = ROOT } } } custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_facility_factor = 0.05 tooltip = production_speed_facility_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_arms_factory_factor = 0.05 tooltip = production_speed_arms_factory_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_industry_air_damage_factor = -0.10 tooltip = industry_air_damage_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt } effect_tooltip = { #We do a little tooltip lying, it's true in a majority of contexts every_state = { limit = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved AND = { arms_factory > 0 OR = { state = 69 state = 74 state = 972 } } } } custom_effect_tooltip = CZE_continue_industrial_relocation_schemes_tt } if = { limit = { 972 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } 74 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } 69 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } } 9 = { add_building_construction = { type = arms_factory level = 2 instant_build = yes } add_extra_state_shared_building_slots = 2 } 75 = { add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_extra_state_shared_building_slots = 2 } custom_effect_tooltip = CZE_continue_industrial_relocation_schemes_2_tt } else_if = { limit = { 972 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } 69 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } } every_state = { limit = { is_controlled_by = ROOT OR = { state = 9 state = 75 } } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_extra_state_shared_building_slots = 2 } custom_effect_tooltip = CZE_continue_industrial_relocation_schemes_2_tt } else_if = { limit = { 972 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } 74 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } } every_state = { limit = { is_controlled_by = ROOT OR = { state = 9 state = 75 } } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_extra_state_shared_building_slots = 2 } custom_effect_tooltip = CZE_continue_industrial_relocation_schemes_2_tt } else_if = { limit = { 69 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } 74 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } } every_state = { limit = { is_controlled_by = ROOT OR = { state = 9 state = 75 } } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_extra_state_shared_building_slots = 2 } custom_effect_tooltip = CZE_continue_industrial_relocation_schemes_2_tt } else_if = { limit = { 74 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } } every_state = { limit = { is_controlled_by = ROOT state = 9 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_extra_state_shared_building_slots = 2 } custom_effect_tooltip = CZE_continue_industrial_relocation_schemes_2_tt } else_if = { limit = { 69 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } } every_state = { limit = { is_controlled_by = ROOT state = 9 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_extra_state_shared_building_slots = 2 } custom_effect_tooltip = CZE_continue_industrial_relocation_schemes_2_tt } else_if = { limit = { 972 = { is_controlled_by = ROOT OR = { has_state_flag = CZE_had_a_mil_moved arms_factory > 0 } } } every_state = { limit = { is_controlled_by = ROOT state = 9 } add_building_construction = { type = arms_factory level = 1 instant_build = yes } add_extra_state_shared_building_slots = 2 } custom_effect_tooltip = CZE_continue_industrial_relocation_schemes_2_tt } } hidden_effect = { if = { limit = { has_full_control_of_state = 74 has_country_flag = CZE_74_had_mil_to_move } random_core_state = { prioritize = { 9 } limit = { is_fully_controlled_by = ROOT NOT = { OR = { state = 69 state = 74 state = 972 state = 72 } } free_building_slots = { building = arms_factory size > 1 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } set_state_flag = CZE_mil_building_to_damage_1 add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } if = { limit = { has_full_control_of_state = 75 has_country_flag = CZE_69_had_mil_to_move } random_core_state = { prioritize = { 75 } limit = { is_fully_controlled_by = ROOT NOT = { OR = { state = 69 state = 74 state = 972 state = 72 } } free_building_slots = { building = arms_factory size > 1 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } set_state_flag = CZE_mil_building_to_damage_2 add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } if = { limit = { has_full_control_of_state = 75 has_country_flag = CZE_972_had_mil_to_move } random_core_state = { prioritize = { 75 } limit = { is_fully_controlled_by = ROOT NOT = { OR = { state = 69 state = 74 state = 972 state = 72 } } free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } set_state_flag = CZE_mil_building_to_damage_3 add_extra_state_shared_building_slots = 2 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } random_controlled_state = { limit = { has_state_flag = CZE_mil_building_to_damage_1 } hidden_effect = { damage_building = { type = arms_factory damage = 0.95 } } } random_controlled_state = { limit = { has_state_flag = CZE_mil_building_to_damage_2 } hidden_effect = { damage_building = { type = arms_factory damage = 0.95 } } } random_controlled_state = { limit = { has_state_flag = CZE_mil_building_to_damage_3 } hidden_effect = { damage_building = { type = arms_factory damage = 0.95 } } } } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_continue_industrial_relocation_schemes_idea days = 180 } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_expand_existing_armory_plants icon = GFX_goal_generic_construct_mil_factory overlay = GFX_focus_overlay_cze_plane_tank mutually_exclusive = { focus = CZE_continue_industrial_relocation_schemes } prerequisite = { focus = CZE_kickstart_rapid_rearmanent focus = CZE_keep_focus_on_weapon_exports } relative_position_id = CZE_keep_focus_on_weapon_exports x = -3 y = 1 cost = 10 available = { OR = { CZE_has_a_skoda_tank_focus = yes CZE_has_a_skoda_planes_focus = yes } has_full_control_of_state = 74 } ai_will_do = { factor = 1 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_max_efficiency_factor = 0.025 tooltip = production_factory_max_efficiency_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt random_core_state = { prioritize = { 74 } limit = { is_fully_controlled_by = ROOT free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = 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 if = { limit = { 74 = { can_construct_building = land_facility is_fully_controlled_by = ROOT air_facility < 1 land_facility < 1 naval_facility < 1 nuclear_facility < 1 } } custom_effect_tooltip = { localization_key = CZE_facility_in_state_tt STATE = "[74.GetName]" FACILITY_TYPE = { localization_key = land_facility } } hidden_effect = { 74 = { add_building_construction = { type = land_facility level = 1 instant_build = yes province = 3414 #Opava } } } } else = { random_core_state = { prioritize = { 69 972 } limit = { NOT = { state = 74 } can_construct_building = land_facility is_fully_controlled_by = ROOT air_facility < 1 land_facility < 1 naval_facility < 1 nuclear_facility < 1 } hidden_effect = { construct_building_in_random_province = { land_facility = 1 } } custom_effect_tooltip = { localization_key = CZE_facility_in_state_tt STATE = "[THIS.GetName]" FACILITY_TYPE = { localization_key = land_facility } } } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_decrease_effect = yes } } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_establish_a_armament_factory_in_uhersky_brod icon = GFX_focus_generic_reorient_production overlay = GFX_focus_overlay_cze_small_arms_focus prerequisite = { focus = CZE_continue_industrial_relocation_schemes focus = CZE_expand_existing_armory_plants} relative_position_id = CZE_keep_focus_on_weapon_exports x = -2 y = 2 cost = 5 available = { CZE_has_a_skoda_infantry_focus = yes #Forces the player to interact with this focus atleast once has_full_control_of_state = 75 } ai_will_do = { factor = 2 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_arms_factory_factor = 0.05 tooltip = production_speed_arms_factory_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "By Blood Alone" } add_tech_bonus = { name = CZE_establish_a_armament_factory_in_uhersky_brod bonus = 0.25 uses = 1 category = cat_air_guns } } else = { add_tech_bonus = { name = CZE_establish_a_armament_factory_in_uhersky_brod bonus = 0.05 uses = 1 category = air_equipment } } add_tech_bonus = { name = CZE_establish_a_armament_factory_in_uhersky_brod bonus = 1 uses = 1 category = infantry_weapons } random_owned_controlled_state = { prioritize = { 75 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = 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 if = { limit = { has_dlc = "Arms Against Tyranny" } unlock_military_industrial_organization_tooltip = mio:CZE_ceska_zbrojovka_uhersky_brod_organization mio:CZE_ceska_zbrojovka_uhersky_brod_organization = { add_mio_size = 2 add_mio_funds_gain_factor = 0.25 } custom_effect_tooltip = generic_skip_one_line_tt } else = { custom_effect_tooltip = available_designer show_ideas_tooltip = CZE_ceska_zbrojovka_uhersky_brod custom_effect_tooltip = generic_skip_one_line_tt } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_expand_skoda_offices icon = GFX_focus_generic_money_for_equipment overlay = GFX_focus_overlay_cze_military_equipment prerequisite = { focus = CZE_establish_a_armament_factory_in_uhersky_brod focus = CZE_keep_focus_on_weapon_exports } relative_position_id = CZE_establish_a_armament_factory_in_uhersky_brod x = 2 y = 1 cost = 5 available = { CZE_has_a_skoda_any_focus = yes } completion_reward = { custom_effect_tooltip = CZE_skoda_office_unlock_tt custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_max_efficiency_factor = 0.025 tooltip = production_factory_max_efficiency_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_arms_factory_factor = 0.025 tooltip = production_speed_arms_factory_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = 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 if = { limit = { has_dlc = "Arms Against Tyranny" } mio:CZE_skoda_artillery_organization = { add_mio_funds = 250 } custom_effect_tooltip = generic_skip_one_line_tt } else = { if = { limit = { has_idea = CZE_skoda_artillery } swap_ideas = { remove_idea = CZE_skoda_artillery add_idea = CZE_skoda_artillery_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_skoda_artillery add_idea = CZE_skoda_artillery_improved } } } } add_tech_bonus = { name = CZE_expand_skoda_offices bonus = 0.25 uses = 1 category = artillery } } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH } } focus = { id = CZE_skoda_internal_competition icon = GFX_focus_generic_mass_production overlay = GFX_focus_overlay_cze_military_four prerequisite = { focus = CZE_expand_skoda_offices } relative_position_id = CZE_expand_skoda_offices x = -1 y = 1 cost = 10 available_if_capitulated = yes available = { custom_trigger_tooltip = { tooltip = skoda_optimization_tier_greater_than_three_tt check_variable = { var = skoda_optimization_tier value = 3 compare = greater_than } } CZE_has_a_skoda_any_focus = yes } ai_will_do = { factor = 1 } mutually_exclusive = { focus = CZE_skoda_increase_cooperation } completion_reward = { #custom_effect_tooltip = CZE_skoda_max_optimization_tt #set_variable = { skoda_max_optimization_tier = 7 } CZE_increase_skoda_max_optimization_tier = yes add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_max_efficiency_factor = 0.025 tooltip = production_factory_max_efficiency_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = 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 add_breakthrough_progress = { specialization = specialization_land value = 0.30 } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_skoda_increase_cooperation icon = GFX_focus_spa_the_spanish_miracle overlay = GFX_focus_overlay_cze_military_four prerequisite = { focus = CZE_expand_skoda_offices } relative_position_id = CZE_expand_skoda_offices x = 1 y = 1 cost = 10 available_if_capitulated = yes available = { custom_trigger_tooltip = { tooltip = skoda_optimization_tier_greater_than_three_tt check_variable = { var = skoda_optimization_tier value = 3 compare = greater_than } } CZE_has_a_skoda_any_focus = yes } ai_will_do = { factor = 4 } mutually_exclusive = { focus = CZE_skoda_internal_competition } completion_reward = { #custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt CZE_increase_skoda_max_optimization_tier = yes custom_effect_tooltip = CZE_skoda_fast_optimization_tt set_country_flag = CZE_skoda_optimization_raise_fast add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_efficiency_gain_factor = 0.025 tooltip = production_factory_efficiency_gain_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt # add_to_variable = { # CZE_skoda_works_dynamic_modifier_production_factory_max_efficiency_factor = 0.05 # tooltip = production_factory_max_efficiency_factor_tt # } #custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = 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 add_breakthrough_progress = { specialization = specialization_land value = 0.25 } } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL } } focus = { id = CZE_master_of_armaments icon = GFX_focus_generic_tank_production overlay = GFX_focus_overlay_cze_military_five prerequisite = { focus = CZE_skoda_internal_competition focus = CZE_skoda_increase_cooperation } relative_position_id = CZE_skoda_internal_competition x = 1 y = 1 cost = 10 available = { custom_trigger_tooltip = { tooltip = skoda_optimization_tier_greater_than_four_tt check_variable = { var = skoda_optimization_tier value = 4 compare = greater_than } } CZE_has_a_skoda_any_focus = yes num_of_military_factories > 25 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_industrial_capacity_factory = 0.025 tooltip = industrial_capacity_factory_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_max_efficiency_factor = 0.025 tooltip = production_factory_max_efficiency_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_efficiency_gain_factor = 0.025 tooltip = production_factory_efficiency_gain_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_arms_factory_factor = 0.025 tooltip = production_speed_arms_factory_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } mio:CZE_skoda_artillery_organization = { add_mio_funds = 250 } mio:CZE_skoda_armor_organization = { add_mio_funds = 250 } mio:CZE_skoda_plzen_tank_destroyer_organization = { add_mio_funds = 250 } mio:CZE_skoda_shipyards_organization = { add_mio_funds = 250 } custom_effect_tooltip = generic_skip_one_line_tt } else = { add_tech_bonus = { name = CZE_master_of_armaments bonus = 0.10 uses = 1 category = artillery } } add_tech_bonus = { name = CZE_master_of_armaments bonus = 1 uses = 1 category = infantry_weapons } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_only_the_best_is_good_enough icon = GFX_focus_generic_military_industry overlay = GFX_focus_overlay_cze_level_four prerequisite = { focus = CZE_master_of_armaments } prerequisite = { focus = CZE_merge_skodas_consumer_good_plants } relative_position_id = CZE_master_of_armaments x = -2 y = 2 cost = 15 available = { #num_of_military_factories > 30 custom_trigger_tooltip = { tooltip = skoda_optimization_tier_greater_than_three_tt check_variable = { var = skoda_optimization_tier value = 3 compare = greater_than } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_equipment_conversion_speed = 0.10 tooltip = equipment_conversion_speed_tt } add_to_variable = { line_change_production_efficiency_factor = 0.10 tooltip = line_change_production_efficiency_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_start_efficiency_factor = 0.10 tooltip = production_factory_start_efficiency_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { #Should always have this idea limit = { NOT = { has_idea = CZE_merged_consumer_good_plants } } add_ideas = CZE_only_the_best_is_good_enough_idea custom_effect_tooltip = generic_skip_one_line_tt } else = { swap_ideas = { remove_idea = CZE_merged_consumer_good_plants add_idea = CZE_only_the_best_is_good_enough_idea } } random_owned_controlled_state = { prioritize = { 70 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } random_owned_controlled_state = { prioritize = { 71 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_an_industrial_legacy icon = GFX_focus_SWE_landsverk overlay = GFX_focus_overlay_cze_level_five prerequisite = { focus = CZE_giant_of_central_europe_industry } prerequisite = { focus = CZE_only_the_best_is_good_enough } relative_position_id = CZE_only_the_best_is_good_enough x = -4 y = 1 cost = 20 available = { custom_trigger_tooltip = { tooltip = skoda_optimization_tier_greater_than_four_tt check_variable = { var = skoda_optimization_tier value = 4 compare = greater_than } } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { production_speed_buildings_factor = 0.10 tooltip = production_speed_buildings_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt every_core_state = { limit = { is_owned_and_controlled_by = ROOT free_building_slots = { building = industrial_complex size > 0 include_locked = yes } } random_select_amount = 20 #Some limit on this madness add_extra_state_shared_building_slots = 1 } custom_effect_tooltip = generic_skip_one_line_tt if = { #Should always have this idea, also for TT limit = { NOT = { has_idea = CZE_giant_of_central_europe_industry_idea } } add_ideas = CZE_an_industrial_legacy_idea custom_effect_tooltip = generic_skip_one_line_tt } else = { swap_ideas = { remove_idea = CZE_giant_of_central_europe_industry_idea add_idea = CZE_an_industrial_legacy_idea } } if = { limit = { has_idea = CZE_skoda_works_2 } swap_ideas = { remove_idea = CZE_skoda_works_2 add_idea = CZE_skoda_works_2_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_skoda_works_2 add_idea = CZE_skoda_works_2_improved } } } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_powerhouse_of_europe icon = GFX_focus_CZE_skoda_menace overlay = GFX_focus_overlay_cze_industry_focus prerequisite = { focus = CZE_an_industrial_legacy } relative_position_id = CZE_an_industrial_legacy x = 0 y = 1 cost = 20 available = { CZE_has_a_skoda_no_focus = yes } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_lack_of_resource_penalty_factor = -0.05 tooltip = production_lack_of_resource_penalty_factor_tt } add_to_variable = { CZE_skoda_works_dynamic_modifier_out_of_power_impact_factor = 0.05 tooltip = modifier_out_of_power_impact_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = industrial_complex size > 1 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 } random_owned_controlled_state = { prioritize = { 75 } limit = { free_building_slots = { building = industrial_complex size > 1 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 } custom_effect_tooltip = generic_skip_one_line_tt if = { #Should always have this idea, also for TT limit = { NOT = { has_idea = CZE_an_industrial_legacy_idea } } add_ideas = CZE_powerhouse_of_europe_idea custom_effect_tooltip = generic_skip_one_line_tt } else = { swap_ideas = { remove_idea = CZE_an_industrial_legacy_idea add_idea = CZE_powerhouse_of_europe_idea } } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_redirect_the_fortification_councils_funds icon = GFX_focus_RAJ_institutional_money_laundering prerequisite = { focus = CZE_raise_more_industrial_funds } relative_position_id = CZE_raise_more_industrial_funds x = 13 y = 1 cost = 5 mutually_exclusive = { focus = CZE_the_second_fortification_program } available = { #CZE_has_a_skoda_no_focus = yes any_core_state = { is_controlled_by = ROOT } } ai_will_do = { factor = 1 } completion_reward = { add_political_power = 25 custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_redirected_fortification_council_funds days = 1095 } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_redirect_the_fortification_councils_funds bonus = 1 uses = 1 category = industry } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_broken_shield days = 1095 } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } CZE_bop_absurdly_high_decrease_effect = yes custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { has_idea = CZE_national_bank_of_czechoslovakia } swap_ideas = { remove_idea = CZE_national_bank_of_czechoslovakia add_idea = CZE_national_bank_of_czechoslovakia_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_national_bank_of_czechoslovakia add_idea = CZE_national_bank_of_czechoslovakia_improved } } } #TODO_logan news event? } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL } } focus = { id = CZE_skoda_priority_shortcut_finder icon = GFX_idea_CZE_skoda_artillery allow_branch = { has_global_flag = CZE_skoda_focus_activation has_completed_focus = CZE_raise_more_industrial_funds CZE = { exists = yes is_ai = no } } relative_position_id = CZE_redirect_the_fortification_councils_funds x = 2 y = 3 cost = 10 ai_will_do = { factor = 0 } available = { ROOT = { exists = yes } hidden_trigger = { always = no } } completion_reward = { custom_effect_tooltip = CZE_skoda_works_dynamic_custom_modifier_tt } } ############################ ##### Armed Forces ###### ############################ focus = { id = CZE_continue_armed_force_reform icon = GFX_focus_CZE_build_infantry cost = 5 prerequisite = { focus = CZE_raise_more_industrial_funds } relative_position_id = CZE_raise_more_industrial_funds x = 36 y = 1 offset = { x = -4 trigger = { NOT = { has_global_flag = CZE_skoda_focus_activation } } } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { army_experience = 25 air_experience = 5 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_org_factor = 0.10 tooltip = army_org_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = CZE_continue_armed_force_reform cost_reduction = 0.25 uses = 1 category = land_doctrine } custom_effect_tooltip = generic_skip_one_line_tt show_unit_leaders_tooltip = CZE_melichar_frantisek custom_effect_tooltip = available_chief_of_army show_ideas_tooltip = CZE_melichar_frantisek if = { limit = { has_government = democratic NOT = { has_war_with = FRA } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_chief_of_army show_ideas_tooltip = CZE_louis_eugene_faucher } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_tooltip = CZE_junior_officer_recruitment unlock_decision_tooltip = CZE_send_foreign_attaches } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_XP FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_AIR_XP } } #Forts focus = { id = CZE_the_second_fortification_program icon = GFX_focus_CZE_second_fortification_program relative_position_id = CZE_redirect_the_fortification_councils_funds prerequisite = { focus = CZE_raise_more_industrial_funds } x = 3 y = 0 cost = 5 mutually_exclusive = { focus = CZE_redirect_the_fortification_councils_funds } available = { any_core_state = { is_controlled_by = ROOT } } ai_will_do = { factor = 10 } completion_reward = { unlock_decision_category_tooltip = CZE_the_second_fortification_program_category custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Gotterdammerung" } add_ideas = CZE_directorate_of_fortification_works_gd_idea } else = { add_ideas = CZE_directorate_of_fortification_works_no_gd_idea } custom_effect_tooltip = generic_skip_one_line_tt show_unit_leaders_tooltip = CZE_karel_husarek custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_karel_husarek custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_land value = 0.25 } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER } } ############################ ##### Air Forces ###### ############################ focus = { id = CZE_air_force_officer_recruitment icon = GFX_focus_SOV_flying_clubs prerequisite = { focus = CZE_continue_armed_force_reform } relative_position_id = CZE_continue_armed_force_reform x = -13 y = 1 cost = 5 available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { air_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = CZE_air_force_officer_recruitment cost_reduction = 0.50 uses = 1 category = air_doctrine } custom_effect_tooltip = generic_skip_one_line_tt add_dynamic_modifier = { modifier = CZE_ceskoslovenske_letectvo_dynamic_modifier } } search_filters = { FOCUS_FILTER_AIR_XP } } focus = { id = CZE_expand_airfield_capacity icon = GFX_focus_generic_air_bases prerequisite = { focus = CZE_air_force_officer_recruitment } relative_position_id = CZE_air_force_officer_recruitment x = -2 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_planes_focus = yes any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_ceskoslovenske_letectvo_ns_intro_tt add_to_variable = { CZE_ceskoslovenske_letectvo_production_speed_air_base_factor = 0.15 tooltip = production_speed_air_base_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_accidents_factor = -0.05 tooltip = air_accidents_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_weather_penalty = -0.05 tooltip = air_weather_penalty_tt } custom_effect_tooltip = generic_skip_one_line_tt #Bohemia if = { limit = { controls_state = 9 9 = { air_base < 8 } } 9 = { add_building_construction = { type = air_base level = 3 instant_build = yes } } } # Czeske Slezsko if = { limit = { controls_state = 74 74 = { air_base < 9 } } 74 = { add_building_construction = { type = air_base level = 2 instant_build = yes } } } #South Sudentenland if = { limit = { controls_state = 972 972 = { air_base < 9 } } 972 = { add_building_construction = { type = air_base level = 2 instant_build = yes } } } # Moravia if = { limit = { controls_state = 75 } if = { limit = { 75 = { air_base < 9 } } 75 = { add_building_construction = { type = air_base level = 2 instant_build = yes } } } } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = CZE_expand_airfield_capacity cost_reduction = 0.25 uses = 1 category = air_doctrine } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_BALANCE_OF_POWER} } focus = { id = CZE_trust_in_old_guard icon = { GFX_focus_PER_the_peoples_airforce = { ROOT = { has_government = communism } } GFX_focus_generic_air_partners = yes } prerequisite = { focus = CZE_expand_airfield_capacity } relative_position_id = CZE_expand_airfield_capacity x = 0 y = 1 cost = 5 completion_reward = { add_daily_mastery = { amount = 0.1 days = 180 name = CZE_trust_in_old_guard folder = air } custom_effect_tooltip = generic_skip_one_line_tt air_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenske_letectvo_ns_intro_tt add_to_variable = { CZE_ceskoslovenske_letectvo_air_ace_generation_chance_factor = 0.10 tooltip = air_ace_generation_chance_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_ace_effectiveness_factor = 0.10 tooltip = ace_effectiveness_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_chief_of_airforce show_ideas_tooltip = CZE_alois_vicherek_advisor_idea_reform } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_AIR_XP } } focus = { id = CZE_expand_the_aero_clubs icon = GFX_focus_SMB_special_forces_option_3 prerequisite = { focus = CZE_trust_in_old_guard } relative_position_id = CZE_trust_in_old_guard x = 0 y = 1 cost = 5 completion_reward = { add_daily_mastery = { amount = 0.1 days = 180 name = CZE_trust_in_old_guard track = fighter_aircraft } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenske_letectvo_ns_intro_tt add_to_variable = { CZE_ceskoslovenske_letectvo_air_wing_xp_loss_when_killed_factor = -0.25 tooltip = air_wing_xp_loss_when_killed_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_ace_generation_chance_factor = 0.10 tooltip = air_ace_generation_chance_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_ace_effectiveness_factor = 0.10 tooltip = ace_effectiveness_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_night_penalty = -0.10 tooltip = air_night_penalty_tt } custom_effect_tooltip = generic_skip_one_line_tt add_ace = { name = "Karel" surname = "Kuttelwascher" callsign = "Kut" type = fighter_unique is_female = no } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_chief_of_airforce show_ideas_tooltip = CZE_jaroslav_kejla_idea } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER } } focus = { id = CZE_air_training_abroad icon = GFX_focus_generic_pilot_training prerequisite = { focus = CZE_trust_in_old_guard } relative_position_id = CZE_trust_in_old_guard x = -2 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } has_war_with_major = no } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { air_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt add_mastery = { amount = 5 folder = air } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenske_letectvo_ns_intro_tt add_to_variable = { CZE_ceskoslovenske_letectvo_air_training_xp_gain_factor = 0.10 tooltip = air_training_xp_gain_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_accidents_factor = -0.10 tooltip = air_accidents_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_untrained_pilots_penalty_factor = -0.10 tooltip = air_untrained_pilots_penalty_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = CZE_air_training_abroad cost_reduction = 0.25 uses = 1 category = air_doctrine } } search_filters = { FOCUS_FILTER_AIR_XP } } focus = { id = CZE_establish_air_defense_zones icon = GFX_focus_PRC_anti_air_effort prerequisite = { focus = CZE_trust_in_old_guard } relative_position_id = CZE_trust_in_old_guard x = 2 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_planes_focus = yes any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_mastery_bonus = { name = CZE_establish_air_defense_zones bonus = 0.10 days = 365 sub_doctrine = air_subdoctrine_fighter_homeland_defense } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenske_letectvo_ns_intro_tt add_to_variable = { CZE_ceskoslovenske_letectvo_production_speed_anti_air_building_factor = 0.10 tooltip = production_speed_anti_air_building_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_establish_air_defense_zones bonus = 0.75 uses = 1 category = cat_anti_air } custom_effect_tooltip = generic_skip_one_line_tt random_owned_controlled_state = { prioritize = { 75 } limit = { free_building_slots = { building = anti_air_building size > 0 } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = anti_air_building size > 0 } is_in_home_area = yes } } } } } add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } random_owned_controlled_state = { prioritize = { 74 } limit = { free_building_slots = { building = anti_air_building size > 0 } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = anti_air_building size > 0 } is_in_home_area = yes } } } } } add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } random_owned_controlled_state = { prioritize = { 69 } limit = { free_building_slots = { building = anti_air_building size > 0 } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = anti_air_building size > 0 } is_in_home_area = yes } } } } } add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } random_owned_controlled_state = { prioritize = { 972 } limit = { free_building_slots = { building = anti_air_building size > 0 } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = anti_air_building size > 0 } is_in_home_area = yes } } } } } add_building_construction = { type = anti_air_building level = 1 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_establish_air_defense_zones_enable_tt custom_effect_tooltip = CZE_establish_air_defense_zones_tt hidden_effect = { set_technology = { MUN_CZE_establish_air_defense_zones = 1 popup = no } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_the_air_is_our_sea icon = GFX_focus_CZE_the_air_is_our_sea prerequisite = { focus = CZE_air_training_abroad focus = CZE_establish_air_defense_zones focus = CZE_expand_the_aero_clubs } relative_position_id = CZE_air_training_abroad x = 2 y = 2 cost = 10 ai_will_do = { factor = 1 } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_mastery = { amount = 25 folder = air } add_mastery_bonus = { name = CZE_the_air_is_our_sea bonus = 0.25 days = 180 sub_doctrine = air_subdoctrine_dogfighting_mastery } #air_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenske_letectvo_ns_intro_tt add_to_variable = { CZE_ceskoslovenske_letectvo_air_attack_factor = 0.10 tooltip = air_attack_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_range_factor = 0.10 tooltip = air_range_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_ace_effectiveness_factor = 0.25 tooltip = ace_effectiveness_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_weather_penalty = -0.25 tooltip = air_weather_penalty_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_home_defence_factor = 0.25 tooltip = air_home_defence_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_the_air_is_our_sea bonus = 0.75 uses = 1 category = air_equipment } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIR_XP } } #Army/Air Research and misc mil industry focus = { id = CZE_national_defense_act icon = GFX_focus_SWE_defense_act prerequisite = { focus = CZE_continue_armed_force_reform } relative_position_id = CZE_continue_armed_force_reform x = -7 y = 1 cost = 5 available = { any_core_state = { is_controlled_by = ROOT } OR = { has_war_support > 0.40 has_defensive_war = yes any_neighbor_country = { has_added_tension_amount > 5 } } } cancel_if_invalid = no continue_if_invalid = yes #dont cancel on dropping tension/ws completion_reward = { add_war_support = 0.03 custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_national_defense_act_idea if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { remove_decision = CZE_redirect_military_discretionary_spending remove_decision = CZE_focus_on_export_designs } unlock_decision_tooltip = CZE_state_defense_loans unlock_decision_tooltip = CZE_seize_rail_lines } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_car_and_oil_rationing icon = GFX_focus_generic_truck #overlay = GFX_focus_overlay_cze_military_equipment prerequisite = { focus = CZE_national_defense_act } relative_position_id = CZE_national_defense_act x = -1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_any_focus = yes any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_truck_attrition_factor = -0.05 tooltip = truck_attrition_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_equipment_to_stockpile = { type = motorized_equipment amount = 200 } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_car_and_oil_rationing_idea days = 730 } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_super_low_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_tooltip = CZE_bop_car_rationing } } search_filters = { FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_mobilize_the_reserves icon = { GFX_focus_SOV_mobilization_plan = { ROOT = { has_government = communism } } GFX_focus_generic_fascist_troops = { ROOT = { has_government = fascism } } GFX_focus_generic_limited_social_mobilization = yes } prerequisite = { focus = CZE_national_defense_act } relative_position_id = CZE_national_defense_act x = 1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { OR = { has_war = yes threat > 0.25 GER = { has_completed_focus = GER_anschluss } any_neighbor_country = { OR = { has_added_tension_amount > 15 is_justifying_wargoal_against = PREV #PREV is ROOT (CZE) here } } } } cancel_if_invalid = no continue_if_invalid = yes available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_conscription_factor = 0.15 tooltip = conscription_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_timed_idea = { idea = CZE_mobilize_the_reserves_idea days = 180 } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_invest_in_the_smaller_air_plants icon = GFX_focus_SMB_purchase_aircraft overlay = GFX_focus_overlay_cze_air_focus prerequisite = { focus = CZE_national_defense_act } prerequisite = { focus = CZE_air_force_officer_recruitment } mutually_exclusive = { focus = CZE_continue_avia_expansion } relative_position_id = CZE_national_defense_act x = -5 y = 1 cost = 10 available = { CZE_has_a_skoda_planes_focus = yes } ai_will_do = { factor = 1 } completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_industrial_capacity_factory = 0.025 tooltip = industrial_capacity_factory_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } mio:CZE_zlin_aircraft_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.10 } mio:CZE_benees_mraz_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.10 } mio:CZE_letov_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.10 } } else = { add_ideas = CZE_invest_in_the_smaller_air_plants_idea custom_effect_tooltip = generic_skip_one_line_tt } random_owned_controlled_state = { prioritize = { 75 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } if = { limit = { NOT = { has_dlc = "Arms Against Tyranny" } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = CZE_letov } swap_ideas = { remove_idea = CZE_letov add_idea = CZE_letov_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_letov add_idea = CZE_letov_improved } } } if = { limit = { has_idea = CZE_benees_mraz } swap_ideas = { remove_idea = CZE_benees_mraz add_idea = CZE_benees_mraz_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_benees_mraz add_idea = CZE_benees_mraz_improved } } } if = { limit = { has_idea = CZE_zlin_aircraft } swap_ideas = { remove_idea = CZE_zlin_aircraft add_idea = CZE_zlin_aircraft_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_zlin_aircraft add_idea = CZE_zlin_aircraft_improved } } } } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_continue_avia_expansion icon = GFX_focus_generic_aircraft_production overlay = GFX_focus_overlay_cze_air_focus prerequisite = { focus = CZE_national_defense_act } prerequisite = { focus = CZE_air_force_officer_recruitment } mutually_exclusive = { focus = CZE_invest_in_the_smaller_air_plants } relative_position_id = CZE_national_defense_act x = -3 y = 1 cost = 10 available = { CZE_has_a_skoda_planes_focus = yes } ai_will_do = { factor = 4 } completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_factory_efficiency_gain_factor = 0.025 tooltip = production_factory_efficiency_gain_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } mio:CZE_avia_organization = { add_mio_size = 3 add_mio_funds_gain_factor = 0.25 add_mio_research_bonus = 0.05 } custom_effect_tooltip = generic_skip_one_line_tt } random_owned_controlled_state = { prioritize = { 9 } limit = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = arms_factory size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = arms_factory level = 1 instant_build = yes } } if = { limit = { NOT = { has_dlc = "Arms Against Tyranny" } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = CZE_avia } swap_ideas = { remove_idea = CZE_avia add_idea = CZE_avia_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_avia add_idea = CZE_avia_improved } } } } } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL } } focus = { id = CZE_increase_military_aeronautical_institute_funding icon = GFX_focus_CZE_military_aeronautical_institute overlay = GFX_focus_overlay_cze_air_focus prerequisite = { focus = CZE_invest_in_the_smaller_air_plants focus = CZE_continue_avia_expansion } relative_position_id = CZE_invest_in_the_smaller_air_plants x = 1 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_planes_focus = yes any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_ideas = CZE_military_aeronautical_institute_idea custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_increase_military_aeronautical_institute_funding bonus = 0.25 uses = 1 category = air_equipment } add_breakthrough_progress = { specialization = specialization_air value = 0.25 } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { ROOT = { #ROOT are here just to be safe against any character weridness has_character = CZE_antonin_husnik } } ROOT = { CZE_antonin_husnik = { add_scientist_xp = { experience = 500 specialization = specialization_air } } } custom_effect_tooltip = generic_skip_one_line_tt } if = { limit = { 9 = { is_fully_controlled_by = ROOT air_facility < 1 land_facility < 1 naval_facility < 1 nuclear_facility < 1 } } custom_effect_tooltip = { localization_key = CZE_facility_in_state_tt STATE = "[9.GetName]" FACILITY_TYPE = { localization_key = air_facility } } hidden_effect = { 9 = { add_building_construction = { type = air_facility level = 1 instant_build = yes province = 9421 } } } } else = { random_core_state = { prioritize = { 75 } limit = { is_fully_controlled_by = ROOT air_facility < 1 land_facility < 1 naval_facility < 1 nuclear_facility < 1 } hidden_effect = { construct_building_in_random_province = { air_facility = 1 } } custom_effect_tooltip = { localization_key = CZE_facility_in_state_tt STATE = "[THIS.GetName]" FACILITY_TYPE = { localization_key = air_facility } } } } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_bring_kramer_and_lobel_under_state_control icon = GFX_focus_generic_radio_communication overlay = GFX_focus_overlay_cze_military_equipment prerequisite = { focus = CZE_increase_military_aeronautical_institute_funding } relative_position_id = CZE_increase_military_aeronautical_institute_funding x = 0 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_any_focus = yes #CZE_has_a_skoda_planes_focus = yes OR = { has_war = yes threat > 0.10 } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_tech_bonus = { name = CZE_bring_kramer_and_lobel_under_state_control bonus = 0.25 uses = 1 category = electronics } add_breakthrough_progress = { specialization = specialization_air value = 0.25 } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_kramer_and_lobel_research custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = CZE_elektra } swap_ideas = { remove_idea = CZE_elektra add_idea = CZE_elektra_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_elektra add_idea = CZE_elektra_improved } } } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_second_to_none icon = GFX_goal_generic_air_fighter2 overlay = GFX_focus_overlay_cze_air_focus prerequisite = { focus = CZE_increase_military_aeronautical_institute_funding } mutually_exclusive = { focus = CZE_diversify_airframe_production } relative_position_id = CZE_increase_military_aeronautical_institute_funding x = -1 y = 2 cost = 10 ai_will_do = { factor = 4 } available = { CZE_has_a_skoda_planes_focus = yes } available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_ceskoslovenske_letectvo_ns_intro_tt add_to_variable = { CZE_ceskoslovenske_letectvo_air_superiority_efficiency = 0.05 tooltip = air_superiority_efficiency_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_attack_factor = 0.05 tooltip = air_attack_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_second_to_none bonus = 1 uses = 1 category = light_fighter category = cat_heavy_fighter } custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_air value = 0.25 } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL } } focus = { id = CZE_diversify_airframe_production icon = GFX_focus_generic_multi_role_aircraft overlay = GFX_focus_overlay_cze_air_focus prerequisite = { focus = CZE_increase_military_aeronautical_institute_funding } mutually_exclusive = { focus = CZE_second_to_none } relative_position_id = CZE_increase_military_aeronautical_institute_funding x = 1 y = 2 cost = 10 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_planes_focus = yes } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_ceskoslovenske_letectvo_ns_intro_tt add_to_variable = { CZE_ceskoslovenske_letectvo_air_range_factor = 0.10 tooltip = air_range_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_strategic_bomber_bombing_factor = 0.05 tooltip = air_strategic_bomber_bombing_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_cas_efficiency = 0.05 tooltip = air_cas_efficiency_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_diversify_airframe_production bonus = 0.50 uses = 2 category = cas_bomber category = cat_strategic_bomber category = tactical_bomber } custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_air value = 0.25 } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_projekt_l_52 icon = GFX_focus_generic_jet_planes prerequisite = { focus = CZE_second_to_none focus = CZE_diversify_airframe_production } relative_position_id = CZE_second_to_none x = 0 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_planes_focus = yes } available_if_capitulated = no completion_reward = { add_tech_bonus = { name = CZE_projekt_l_52 ahead_reduction = 0.50 bonus = 0.50 uses = 1 category = jet_technology } add_breakthrough_progress = { specialization = specialization_air value = 0.50 } custom_effect_tooltip = generic_skip_one_line_tt swap_ideas = { remove_idea = CZE_military_aeronautical_institute_idea add_idea = CZE_military_aeronautical_institute_idea_2 } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_fund_vladimir_mandl_research icon = GFX_focus_rocketry prerequisite = { focus = CZE_second_to_none focus = CZE_diversify_airframe_production } relative_position_id = CZE_diversify_airframe_production x = 0 y = 1 cost = 5 ai_will_do = { factor = 1 } available_if_capitulated = no completion_reward = { add_tech_bonus = { name = CZE_fund_vladimir_mandl_research ahead_reduction = 0.50 bonus = 1 uses = 1 category = rocketry } add_breakthrough_progress = { specialization = specialization_air value = 0.50 } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_vladimirs_rocket_program custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_vladimir_mandl } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_RESEARCH } } #Army focus = { id = CZE_form_the_state_defense_guard icon = GFX_focus_CZE_state_defense_guard relative_position_id = CZE_continue_armed_force_reform prerequisite = { focus = CZE_continue_armed_force_reform } x = 0 y = 1 cost = 5 available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { army_experience = 10 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_dig_in_speed_factor = 0.05 tooltip = dig_in_speed_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_recon_factor_while_entrenched = 0.05 tooltip = recon_factor_while_entrenched_tt } add_to_variable = { CZE_ceskoslovenska_armada_conscription_factor = 0.05 tooltip = conscription_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_form_the_state_defense_guard bonus = 0.30 uses = 1 category = infantry_weapons } custom_effect_tooltip = generic_skip_one_line_tt show_unit_leaders_tooltip = CZE_josef_vana #show_unit_leaders_tooltip = CZE_alois_elias if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_MANPOWER } } focus = { id = CZE_expand_the_horska_divisions icon = GFX_focus_AUS_osterreichische_gebirgsjager prerequisite = { focus = CZE_form_the_state_defense_guard} x = 3 y = 1 relative_position_id = CZE_form_the_state_defense_guard cost = 10 ai_will_do = { factor = 1 } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_special_forces_cap = 0.05 tooltip = special_forces_cap_tt } add_to_variable = { CZE_ceskoslovenska_armada_special_forces_out_of_supply_factor = -0.05 tooltip = special_forces_out_of_supply_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_acclimatization_cold_climate_gain_factor = 0.05 tooltip = acclimatization_cold_climate_gain_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_recon_factor_while_entrenched = 0.05 tooltip = recon_factor_while_entrenched_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_winter_specialist_random_generals_tt hidden_effect = { #It's not 100% random, I lied :D every_army_leader = { limit = { NOT = { has_trait = winter_expert has_trait = desert_fox has_trait = swamp_fox has_trait = trait_mountaineer has_trait = hill_fighter has_trait = jungle_rat has_trait = ranger has_trait = urban_assault_specialist has_trait = adaptable has_trait = winter_specialist } } random_select_amount = 2 add_trait = { trait = winter_specialist } } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } add_doctrine_cost_reduction = { name = CZE_expand_the_horska_divisions cost_reduction = 0.25 uses = 2 category = cat_mountaineers_doctrine } } add_tech_bonus = { name = CZE_expand_the_horska_divisions bonus = 1.0 uses = 1 category = mountaineers_tech } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH } } focus = { id = CZE_develop_horska_artillery icon = GFX_focus_RAJ_mountain_guns overlay = GFX_focus_overlay_cze_small_arms_focus prerequisite = { focus = CZE_expand_the_horska_divisions } mutually_exclusive = { focus = CZE_diversify_our_specialists } x = -1 y = 1 relative_position_id = CZE_expand_the_horska_divisions cost = 10 ai_will_do = { factor = 4 } available = { CZE_has_a_skoda_infantry_focus = yes } completion_reward = { add_daily_mastery = { amount = 0.1 days = 90 name = CZE_develop_horska_artillery #folder = land track = combat_support } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_unit_artillery_brigade_design_cost_factor = -0.50 tooltip = unit_artillery_brigade_design_cost_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_develop_horska_artillery bonus = 0.50 uses = 2 category = artillery } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_character = CZE_josef_votruba } CZE_josef_votruba = { gain_xp = 250 } custom_effect_tooltip = generic_skip_one_line_tt } custom_effect_tooltip = CZE_develop_horska_artillery_tech_tt hidden_effect = { set_technology = { MUN_horska_artillery = 1 popup = no } } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL } } focus = { id = CZE_diversify_our_specialists icon = GFX_goal_generic_special_forces overlay = GFX_focus_overlay_cze_small_arms_focus prerequisite = { focus = CZE_expand_the_horska_divisions } mutually_exclusive = { focus = CZE_develop_horska_artillery } x = 1 y = 1 relative_position_id = CZE_expand_the_horska_divisions cost = 10 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_infantry_focus = yes } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_special_forces_out_of_supply_factor = 0.01 tooltip = special_forces_cap_tt } add_to_variable = { CZE_ceskoslovenska_armada_special_forces_out_of_supply_factor = -0.05 tooltip = special_forces_out_of_supply_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" NOT = { has_dlc = "No Compromise, No Surrender" } } add_potential_special_forces_tree = yes add_doctrine_cost_reduction = { name = CZE_diversify_our_specialists cost_reduction = 0.25 uses = 2 category = cat_marines_doctrine category = cat_paratroopers_doctrine } } else_if = { limit = { has_dlc = "Arms Against Tyranny" has_dlc = "No Compromise, No Surrender" } add_doctrine_cost_reduction = { name = CZE_diversify_our_specialists cost_reduction = 0.25 uses = 2 category = cat_marines_doctrine category = cat_paratroopers_doctrine category = cat_rangers_doctrine } } if = { limit = { has_dlc = "No Compromise, No Surrender" } add_tech_bonus = { name = CZE_diversify_our_specialists bonus = 0.50 uses = 2 category = para_tech category = marine_tech category = rangers_tech_cat } } else = { add_tech_bonus = { name = CZE_diversify_our_specialists bonus = 0.50 uses = 2 category = para_tech category = marine_tech } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_character = CZE_frantisek_hrabcik CZE_frantisek_hrabcik = { NOT = { has_trait = commando } } } CZE_frantisek_hrabcik = { add_trait = { trait = commando } } } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH } } focus = { id = CZE_bribery_investigations icon = GFX_focus_ARG_crackdown_on_corruption prerequisite = { focus = CZE_form_the_state_defense_guard } x = 0 y = 1 relative_position_id = CZE_form_the_state_defense_guard cost = 5 ai_will_do = { factor = 1 } select_effect = { set_country_flag = SOV_paranoia_do_not_cancel_focus_flag #This focus cannot be canceled warning add_ideas = CZE_bribery_investigations_idea } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { #Tooltip purposes (Select Effect) custom_effect_tooltip = SOV_focus_select_effect_tt effect_tooltip = { add_ideas = CZE_bribery_investigations_idea } custom_effect_tooltip = CZE_bribery_investigations_remove_effect_tt #(Complete Effect) custom_effect_tooltip = SOV_focus_complete_effect_tt hidden_effect = { remove_ideas = CZE_bribery_investigations_idea } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_org_factor = 0.05 tooltip = army_org_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_training_time_factor = -0.05 tooltip = training_time_factor_tt } if = { limit = { has_character = CZE_lev_prchala CZE_lev_prchala = { has_trait = politically_connected } } custom_effect_tooltip = generic_skip_one_line_tt CZE_lev_prchala = { remove_trait = { trait = politically_connected } } } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_bribery_investigations bonus = 0.50 uses = 1 category = military_police_tech } custom_effect_tooltip = generic_skip_one_line_tt add_command_power = 25 if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { remove_decision = CZE_embezzle_quatermaster_funds } unlock_decision_tooltip = CZE_warehouse_inspections } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_expand_the_river_monitor_fleet icon = GFX_focus_generic_merchant_fleet prerequisite = { focus = CZE_continue_armed_force_reform } relative_position_id = CZE_continue_armed_force_reform x = 4 y = 1 cost = 10 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { navy_experience = 5 add_equipment_to_stockpile = { type = convoy_1 amount = 75 producer = CZE } custom_effect_tooltip = generic_skip_one_line_tt show_unit_leaders_tooltip = CZE_karel_pavala_army hidden_effect = { if = { limit = { has_character = CZE_karel_pavala_army } CZE_karel_pavala_army = { gain_xp = 250 } } } if = { limit = { has_character = CZE_karel_pavala } CZE_karel_pavala = { gain_xp = 250 } custom_effect_tooltip = generic_skip_one_line_tt } every_state = { limit = { is_owned_and_controlled_by = ROOT OR = { state = 9 state = 75 state = 70 } } add_dynamic_modifier = { modifier = CZE_river_monitor_fleet } } } search_filters = { FOCUS_FILTER_NAVY_XP } } focus = { id = CZE_merge_the_financial_and_state_guard icon = GFX_focus_AFG_royal_guard prerequisite = { focus = CZE_form_the_state_defense_guard } x = 8 y = 1 relative_position_id = CZE_form_the_state_defense_guard cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { add_daily_mastery = { amount = 0.1 days = 90 name = CZE_merge_the_financial_and_state_guard #folder = land track = combat_support } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_conscription_factor = 0.05 tooltip = conscription_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_training_time_factor = -0.05 tooltip = training_time_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_dig_in_speed_factor = 0.05 tooltip = dig_in_speed_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_merge_the_financial_and_state_guard bonus = 0.75 uses = 1 category = military_police_tech } add_tech_bonus = { name = CZE_merge_the_financial_and_state_guard bonus = 1 uses = 1 category = support_tech } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_merge_the_financial_and_state_guard_tt hidden_effect = { set_technology = { MUN_merge_the_financial_and_state_guard_tech = 1 popup = no } } if = { limit = { has_template = "Finanční Stráž" } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { NOT = { has_tech = militia_tech } } hidden_effect = { set_technology = { militia_tech = 1 popup = no } } } set_division_template_lock = { division_template = "Finanční Stráž" is_locked = no } clear_division_template_cap = { division_template = "Finanční Stráž" } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_MANPOWER FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_recon_in_force icon = GFX_focus_generic_armored_air_support prerequisite = { focus = CZE_merge_the_financial_and_state_guard } x = -2 y = 1 relative_position_id = CZE_merge_the_financial_and_state_guard cost = 10 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { add_mastery_bonus = { name = CZE_recon_in_force bonus = 0.1 days = 365 sub_doctrine = mobile_recon_and_assault } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_recon_factor_while_entrenched = 0.10 tooltip = recon_factor_while_entrenched_tt } add_to_variable = { CZE_ceskoslovenska_armada_dig_in_speed_factor = 0.10 tooltip = dig_in_speed_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "La Resistance" NOT = { has_dlc = "By Blood Alone" } } add_tech_bonus = { name = CZE_recon_in_forces bonus = 0.75 uses = 1 category = cat_scout_plane } } else_if = { limit = { has_dlc = "La Resistance" has_dlc = "By Blood Alone" NOT = { has_tech = photo_reconnaisance } } add_tech_bonus = { name = CZE_recon_in_forces bonus = 0.75 uses = 1 technology = photo_reconnaisance } } add_tech_bonus = { name = CZE_recon_in_force bonus = 3 uses = 1 category = recon_tech } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_recon_in_force_tech_tt hidden_effect = { set_technology = { MUN_recon_in_force = 1 popup = no } } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_integrate_fortification_engineers icon = GFX_goal_generic_construction2 prerequisite = { focus = CZE_merge_the_financial_and_state_guard } x = 2 y = 1 relative_position_id = CZE_merge_the_financial_and_state_guard cost = 10 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { add_mastery_bonus = { name = CZE_integrate_fortification_engineers bonus = 0.1 days = 365 sub_doctrine = field_engineering } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_max_dig_in_factor = 0.05 tooltip = max_dig_in_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_integrate_fortification_engineers bonus = 1 uses = 1 category = engineers_tech } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_integrate_fortification_engineers_tech_tt hidden_effect = { set_technology = { MUN_intergrate_fortification_engineers = 1 popup = no } } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_logistics_beyond_the_sudetes icon = GFX_focus_generic_supply_line prerequisite = { focus = CZE_merge_the_financial_and_state_guard } relative_position_id = CZE_merge_the_financial_and_state_guard x = 0 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_supply_combat_penalties_on_core_factor = 0.10 tooltip = supply_combat_penalties_on_core_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_out_of_supply_factor = -0.10 tooltip = out_of_supply_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_truck_attrition_factor = -0.05 tooltip = truck_attrition_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_equipment_to_stockpile = { type = motorized_equipment amount = 150 } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_logistics_beyond_the_sudetes bonus = 1 uses = 1 category = logistics_tech } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_logistics_beyond_the_sudetes_tt hidden_effect = { set_technology = { MUN_improved_supply_dumps = 1 popup = no } } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_opl_exercises icon = { GFX_focus_PRC_a_modern_army = { ROOT = { has_government = communism } } GFX_goal_generic_army_doctrines = yes } prerequisite = { focus = CZE_form_the_state_defense_guard} x = -3 y = 1 relative_position_id = CZE_form_the_state_defense_guard cost = 5 ai_will_do = { factor = 1 } available = { } completion_reward = { army_experience = 10 custom_effect_tooltip = generic_skip_one_line_tt add_mastery_bonus = { name = CZE_opl_exercises bonus = 0.1 days = 365 track = infantry grand_doctrine = new_mobile_warfare } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_core_defence_factor = 0.025 tooltip = army_core_defence_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_army_speed_factor = 0.05 tooltip = army_speed_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = CZE_opl_exercises cost_reduction = 0.50 uses = 1 category = land_doctrine } } search_filters = { FOCUS_FILTER_ARMY_XP } } focus = { id = CZE_rapid_response_divisions icon = GFX_focus_generic_tankette prerequisite = { focus = CZE_opl_exercises } x = -1 y = 1 relative_position_id = CZE_opl_exercises cost = 10 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_tank_focus = yes } completion_reward = { add_mastery_bonus = { name = CZE_rapid_response_divisions bonus = 0.1 days = 365 track = armor } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_core_defence_factor = 0.025 tooltip = army_core_defence_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_org_loss_when_moving = -0.05 tooltip = org_loss_when_moving_tt } add_to_variable = { CZE_ceskoslovenska_armada_army_armor_attack_factor = 0.025 tooltip = army_armor_attack_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "La Resistance" } add_tech_bonus = { name = CZE_rapid_response_divisions bonus = 1 uses = 1 category = cat_armored_cars } } add_tech_bonus = { name = CZE_rapid_response_divisions bonus = 1 uses = 1 category = cat_mechanized_equipment } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_rapid_response_divisions_idea if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_redouble_tank_development_efforts icon = { GFX_focus_generic_army_tanks2 = { ROOT = { has_government = fascism } } GFX_goal_generic_army_tanks = yes } overlay = GFX_focus_overlay_cze_tank_focus prerequisite = { focus = CZE_national_defense_act } relative_position_id = CZE_national_defense_act x = 0 y = 2 cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_tank_focus = yes } complete_tooltip = { add_ideas = CZE_vtlu_idea custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_armor_attack_factor = 0.025 tooltip = army_armor_attack_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_redouble_tank_development_efforts bonus = 0.75 uses = 1 category = armor } if = { limit = { has_dlc = "Arms Against Tyranny" } mio:CZE_skoda_armor_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.25 } custom_effect_tooltip = generic_skip_one_line_tt } else = { if = { limit = { has_idea = CZE_skoda_armor } swap_ideas = { remove_idea = CZE_skoda_armor add_idea = CZE_skoda_armor_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_skoda_armor add_idea = CZE_skoda_armor_improved } } } } add_breakthrough_progress = { specialization = specialization_land value = 0.25 } } completion_reward = { CZE_vtlu_idea_go_up = yes custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_armor_attack_factor = 0.025 tooltip = army_armor_attack_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_redouble_tank_development_efforts bonus = 0.75 uses = 1 category = armor } if = { limit = { has_dlc = "Arms Against Tyranny" } mio:CZE_skoda_armor_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.25 } custom_effect_tooltip = generic_skip_one_line_tt } else = { if = { limit = { has_idea = CZE_skoda_armor } swap_ideas = { remove_idea = CZE_skoda_armor add_idea = CZE_skoda_armor_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_skoda_armor add_idea = CZE_skoda_armor_improved } } } } add_breakthrough_progress = { specialization = specialization_land value = 0.25 } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_rearmed_and_retooled icon = GFX_focus_generic_tank_assembly overlay = GFX_focus_overlay_cze_tank_focus prerequisite = { focus = CZE_redouble_tank_development_efforts } relative_position_id = CZE_redouble_tank_development_efforts x = 1 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_tank_focus = yes } completion_reward = { #This will always be a idea swap so the tooltip should display a swap effect always effect_tooltip = { swap_ideas = { remove_idea = CZE_vtlu_idea add_idea = CZE_vtlu_idea_2 } } hidden_effect = { CZE_vtlu_idea_go_up = yes } #custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_armor_attack_factor = 0.025 tooltip = army_armor_attack_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_rearmed_and_retooled bonus = 0.50 uses = 1 category = cat_medium_armor } add_tech_bonus = { name = CZE_rearmed_and_retooled bonus = 1 uses = 1 ahead_reduction = 1 category = cat_heavy_armor } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Arms Against Tyranny" } unlock_military_industrial_organization_tooltip = mio:CZE_skoda_plzen_tank_destroyer_organization mio:CZE_skoda_plzen_tank_destroyer_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.25 } custom_effect_tooltip = generic_skip_one_line_tt } else = { custom_effect_tooltip = available_designer show_ideas_tooltip = CZE_skoda_plzen_tank_destroyer custom_effect_tooltip = generic_skip_one_line_tt } add_breakthrough_progress = { specialization = specialization_land value = 0.25 } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { #marijn211: a Czech post-war project to combine the best features of German, allied and Soviet tanks id = CZE_the_tvp_project icon = GFX_focus_PER_czech_tanks overlay = GFX_focus_overlay_cze_tank_focus cost = 5 prerequisite = { focus = CZE_redouble_tank_development_efforts } relative_position_id = CZE_redouble_tank_development_efforts x = -1 y = 1 available = { CZE_has_a_skoda_tank_focus = yes } completion_reward = { #This will always be a idea swap so the tooltip should display a swap effect always effect_tooltip = { swap_ideas = { remove_idea = CZE_vtlu_idea add_idea = CZE_vtlu_idea_2 } } hidden_effect = { CZE_vtlu_idea_go_up = yes } custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_armor_attack_factor = 0.025 tooltip = army_armor_attack_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_the_tvp_project bonus = 1 uses = 1 category = armor } if = { limit = { has_dlc = "Arms Against Tyranny" } mio:CZE_ckd_organization = { add_mio_size = 1 add_mio_funds_gain_factor = 0.25 } custom_effect_tooltip = generic_skip_one_line_tt } add_breakthrough_progress = { specialization = specialization_land value = 0.25 } if = { limit = { NOT = { has_dlc = "Arms Against Tyranny" } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_idea = CZE_ckd } swap_ideas = { remove_idea = CZE_ckd add_idea = CZE_ckd_improved } } else = { effect_tooltip = { swap_ideas = { remove_idea = CZE_ckd add_idea = CZE_ckd_improved } } } } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_expand_the_land_department_of_vtu icon = { GFX_focus_generic_socialist_science = { ROOT = { has_government = communism } } GFX_focus_ARG_fascist_researchers = { ROOT = { has_government = fascism } } GFX_focus_research = yes } overlay = GFX_focus_overlay_cze_military_equipment prerequisite = { focus = CZE_the_tvp_project } prerequisite = { focus = CZE_rearmed_and_retooled } x = 1 y = 1 relative_position_id = CZE_the_tvp_project cost = 10 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_any_focus = yes #OR = { # CZE_has_a_skoda_tank_focus = yes # CZE_has_a_skoda_no_focus = yes #} } completion_reward = { if = { limit = { amount_research_slots < 7 } add_research_slot = 1 custom_effect_tooltip = generic_skip_one_line_tt } #This will always be the last idea swap so the tooltip should display a swap effect always effect_tooltip = { swap_ideas = { remove_idea = CZE_vtlu_idea_3 add_idea = CZE_vtlu_idea_4 } } hidden_effect = { CZE_vtlu_idea_go_up = yes } #custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_land value = 0.25 } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_three_kings icon = GFX_focus_SWE_varnplikt prerequisite = { focus = CZE_continue_armed_force_reform } cancel_if_invalid = no continue_if_invalid = yes available_if_capitulated = yes available = { NOT = { has_government = fascism } OR = { any_owned_state = { controller = { has_war_with = ROOT } } AND = { has_war_with_major = yes has_defensive_war = yes } } } cost = 5 relative_position_id = CZE_continue_armed_force_reform x = -4 y = 1 completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_equipment_capture_factor = 0.30 tooltip = equipment_capture_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_mastery_bonus = { name = CZE_three_kings bonus = 0.10 days = 720 sub_doctrine = guerilla_war } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = ETH_scavenger_random_generals_tt hidden_effect = { random_army_leader = { limit = { NOT = { has_trait = scavenger } } add_trait = {trait = scavenger } } random_army_leader = { limit = { NOT = { has_trait = scavenger } } add_trait = {trait = scavenger } } random_army_leader = { limit = { NOT = { has_trait = scavenger } } add_trait = {trait = scavenger } } } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "La Resistance" } add_timed_idea = { idea = CZE_heighten_resistance_lar days = 720 } } else = { add_timed_idea = { idea = CZE_heighten_resistance days = 720 } } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER } } focus = { id = CZE_anti_tank_development icon = GFX_focus_generic_anti_tank_guns overlay = GFX_focus_overlay_cze_military_equipment prerequisite = { focus = CZE_opl_exercises } x = 1 y = 1 relative_position_id = CZE_opl_exercises cost = 5 ai_will_do = { factor = 2 } available = { CZE_has_a_skoda_any_focus = yes } completion_reward = { add_mastery_bonus = { name = CZE_anti_tank_development bonus = 0.1 days = 365 sub_doctrine = anti_tank_frontline } add_mastery_bonus = { name = CZE_anti_tank_development bonus = 0.1 days = 365 sub_doctrine = tank_destroyer_force } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_core_defence_factor = 0.025 tooltip = army_core_defence_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_anti_tank_development bonus = 0.50 uses = 2 category = cat_anti_tank } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_anti_tank_development_tech_tt hidden_effect = { set_technology = { MUN_anti_tank_development_tech = 1 popup = no } } custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_land value = 0.50 } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_establish_the_fall_backlines icon = GFX_goal_generic_position_armies prerequisite = { focus = CZE_rapid_response_divisions } prerequisite = { focus = CZE_anti_tank_development } x = 0 y = 2 relative_position_id = CZE_opl_exercises cost = 10 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { add_mastery_bonus = { name = CZE_establish_the_fall_backlines bonus = 0.1 days = 365 sub_doctrine = defensive_postures } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_core_defence_factor = 0.025 tooltip = army_core_defence_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_org_loss_when_moving = -0.05 tooltip = org_loss_when_moving_tt } add_to_variable = { CZE_ceskoslovenska_armada_dig_in_speed_factor = 0.05 tooltip = dig_in_speed_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { 9 = { is_fully_controlled_by = ROOT } } 9 = { add_building_construction = { type = bunker instant_build = yes province = 9569 level < 1 } add_building_construction = { type = bunker instant_build = yes province = 9414 level < 1 } add_building_construction = { type = bunker instant_build = yes province = 9429 level < 1 } add_building_construction = { type = bunker instant_build = yes province = 9421 level < 1 } } } #custom_effect_tooltip = generic_skip_one_line_tt hidden_effect = { unlock_tactic = tactic_masterful_delay } custom_effect_tooltip = CZE_establish_the_fall_backlines_masterful_delay_tactic_tt custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_establish_the_fall_backlines bonus = 1 ahead_reduction = 1 uses = 1 category = engineers_tech } if = { limit = { NOT = { has_tech = sp_armored_engineer_tech } } add_tech_bonus = { name = CZE_establish_the_fall_backlines bonus = 1 uses = 1 technology = sp_armored_engineer_tech } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } } custom_effect_tooltip = generic_skip_one_line_tt CZE_bop_very_low_increase_effect = yes } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_concealment_efforts icon = GFX_focus_prc_infiltration prerequisite = { focus = CZE_recon_in_force } prerequisite = { focus = CZE_integrate_fortification_engineers } relative_position_id = CZE_recon_in_force x = 2 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_mastery_bonus = { name = CZE_concealment_efforts bonus = 0.1 days = 365 sub_doctrine = infiltration_tactics } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt # add_to_variable = { # CZE_ceskoslovenska_armada_army_core_defence_factor = 0.025 # tooltip = army_core_defence_factor_tt # } add_to_variable = { CZE_ceskoslovenska_armada_cas_damage_reduction = 0.05 tooltip = cas_damage_reduction_tt } add_to_variable = { CZE_ceskoslovenska_armada_recon_factor_while_entrenched = 0.05 tooltip = recon_factor_while_entrenched_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_concealment_efforts_tech_tt hidden_effect = { set_technology = { MUN_camo_netting = 1 popup = no } } } } focus = { id = CZE_elevate_the_vsv icon = GFX_focus_CZE_war_college prerequisite = { focus = CZE_bribery_investigations } x = 0 y = 1 relative_position_id = CZE_bribery_investigations cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { army_experience = 5 custom_effect_tooltip = generic_skip_one_line_tt add_daily_mastery = { amount = 0.1 days = 180 name = CZE_elevate_the_vsv #folder = land track = infantry } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_field_officer_promotion_penalty = -1 tooltip = modifier_field_officer_promotion_penalty_tt } add_to_variable = { CZE_ceskoslovenska_armada_military_leader_cost_factor = -0.25 tooltip = military_leader_cost_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { #Will always be first add_ideas = CZE_elevate_the_vsv_idea_1 } hidden_effect = { CZE_vsv_idea_go_up = yes } custom_effect_tooltip = generic_skip_one_line_tt every_army_leader = { add_planning = 1 } } search_filters = { FOCUS_FILTER_ARMY_XP } #Marijn_TODO army char? } focus = { id = CZE_continue_with_snejdareks_plan_dynamic icon = GFX_goal_generic_defence prerequisite = { focus = CZE_elevate_the_vsv } mutually_exclusive = { focus = CZE_go_with_vojcechovskys_plan_dynamic } relative_position_id = CZE_elevate_the_vsv x = -1 y = 2 dynamic = yes cost = 5 ai_will_do = { factor = 4 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { add_mastery_bonus = { name = CZE_continue_with_snejdareks_plan_no_snejdareks bonus = 0.1 days = 365 sub_doctrine = defensive_postures } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_recon_factor_while_entrenched = 0.05 tooltip = recon_factor_while_entrenched_tt } add_to_variable = { CZE_ceskoslovenska_armada_max_dig_in_factor = 0.05 tooltip = max_dig_in_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { #Will always be a swap swap_ideas = { remove_idea = CZE_elevate_the_vsv_idea_1 add_idea = CZE_elevate_the_vsv_idea_2 } } hidden_effect = { CZE_vsv_idea_go_up = yes } #custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_completed_focus = CZE_contact_the_czech_and_slovak_legion has_completed_focus = CZE_fight_over_silesia } if = { limit = { has_character = CZE_josef_shnejdarek CZE_josef_shnejdarek = { NOT = { has_trait = organizer } } } CZE_josef_shnejdarek = { add_trait = { trait = organizer } } } } else = { hidden_effect = { if = { limit = { has_character = CZE_josef_shnejdarek CZE_josef_shnejdarek = { NOT = { has_trait = organizer } } } CZE_josef_shnejdarek = { add_trait = { trait = organizer } } } } } every_army_leader = { add_defense = 1 } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL } } focus = { #Go with Luza's plan id = CZE_go_with_vojcechovskys_plan_dynamic icon = GFX_goal_generic_occupy_states_ongoing_war prerequisite = { focus = CZE_elevate_the_vsv } mutually_exclusive = { focus = CZE_continue_with_snejdareks_plan_dynamic } relative_position_id = CZE_elevate_the_vsv x = 1 y = 2 dynamic = yes cost = 5 ai_will_do = { factor = 1 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { add_mastery_bonus = { name = CZE_go_with_vojcechovskys_plan_no_luza bonus = 0.1 days = 365 sub_doctrine = assault_infantry } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_core_attack_factor = 0.10 tooltip = army_core_attack_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_dig_in_speed_factor = 0.10 tooltip = dig_in_speed_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { #Will always be a swap swap_ideas = { remove_idea = CZE_elevate_the_vsv_idea_1 add_idea = CZE_elevate_the_vsv_idea_2 } } hidden_effect = { CZE_vsv_idea_go_up = yes } #custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_character = CZE_vojtyech_luzha CZE_vojtyech_luzha = { NOT = { has_trait = organizer } } } CZE_vojtyech_luzha = { add_trait = { trait = organizer } } } every_army_leader = { add_attack = 1 } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER } } focus = { id = CZE_elevate_slovak_officers icon = GFX_focus_CZE_army_reform prerequisite = { focus = CZE_go_with_vojcechovskys_plan_dynamic focus = CZE_continue_with_snejdareks_plan_dynamic } mutually_exclusive = { focus = CZE_improve_the_current_officer_pool } relative_position_id = CZE_elevate_the_vsv x = -1 y = 3 cost = 10 ai_will_do = { factor = 1 } available = { SLO = { OR = { exists = no is_subject_of = ROOT } } } completion_reward = { add_daily_mastery = { amount = 0.1 days = 90 name = CZE_elevate_slovak_officers #folder = land track = infantry } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_org_factor = 0.02 tooltip = army_org_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { #Will always be a swap swap_ideas = { remove_idea = CZE_elevate_the_vsv_idea_1 add_idea = CZE_elevate_the_vsv_idea_2 } } hidden_effect = { CZE_vsv_idea_go_up = yes } #custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_character = CZE_rudolf_viest } show_unit_leaders_tooltip = CZE_rudolf_viest } if = { limit = { has_character = CZE_stefan_jurech } show_unit_leaders_tooltip = CZE_stefan_jurech } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = CZE_elevate_slovak_officers cost_reduction = 0.25 uses = 1 category = land_doctrine } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER } } focus = { id = CZE_improve_the_current_officer_pool icon = { GFX_focus_PRC_army_command = { ROOT = { has_government = communism } } GFX_focus_generic_military_academy = yes } prerequisite = { focus = CZE_go_with_vojcechovskys_plan_dynamic focus = CZE_continue_with_snejdareks_plan_dynamic } mutually_exclusive = { focus = CZE_elevate_slovak_officers } relative_position_id = CZE_elevate_the_vsv x = 1 y = 3 cost = 10 ai_will_do = { factor = 4 } available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { #army_experience = 10 add_daily_mastery = { amount = 0.1 days = 180 name = CZE_improve_the_current_officer_pool #folder = land track = infantry } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_experience_gain_army_unit_factor = 0.05 tooltip = experience_gain_army_unit_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_coordination_bonus = 0.02 tooltip = coordination_bonus_tt } add_to_variable = { CZE_ceskoslovenska_armada_army_regain = 0.02 tooltip = army_org_regain_tt } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { #Will always be a swap swap_ideas = { remove_idea = CZE_elevate_the_vsv_idea_1 add_idea = CZE_elevate_the_vsv_idea_2 } } hidden_effect = { CZE_vsv_idea_go_up = yes } #custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_character = CZE_bedrich_homola } CZE_bedrich_homola = { gain_xp = 300 } } if = { limit = { has_character = CZE_lev_prchala } CZE_lev_prchala = { gain_xp = 300 } } if = { limit = { has_character = CZE_antonin_hasal } CZE_antonin_hasal = { gain_xp = 300 } } custom_effect_tooltip = generic_skip_one_line_tt add_doctrine_cost_reduction = { name = CZE_improve_the_current_officer_pool cost_reduction = 0.75 uses = 1 category = land_doctrine } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_XP FOCUS_FILTER_HISTORICAL } } focus = { id = CZE_lessons_of_war icon = { GFX_focus_SOV_the_glory_of_the_red_army_communism = { ROOT = { has_government = communism } } GFX_focus_generic_advanced_military_studies = { ROOT = { has_government = neutrality } } GFX_focus_generic_army_doctrines_2 = yes } prerequisite = { focus = CZE_elevate_slovak_officers focus = CZE_improve_the_current_officer_pool } x = 0 y = 4 relative_position_id = CZE_elevate_the_vsv cost = 10 ai_will_do = { factor = 1 } available = { OR = { has_war_with_major = yes has_country_flag = CZE_lessons_of_war_i_had_war_with_major_flag } any_core_state = { is_controlled_by = ROOT } } completion_reward = { army_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt add_mastery = { amount = 25 folder = land } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt # add_to_variable = { # CZE_ceskoslovenska_armada_military_leader_cost_factor = -0.25 # tooltip = military_leader_cost_factor_tt # } add_to_variable = { CZE_ceskoslovenska_armada_army_org_factor = 0.02 tooltip = army_org_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt effect_tooltip = { #Will always be the last swap swap_ideas = { remove_idea = CZE_elevate_the_vsv_idea_4 add_idea = CZE_elevate_the_vsv_idea_5 } } hidden_effect = { CZE_vsv_idea_go_up = yes } #custom_effect_tooltip = generic_skip_one_line_tt every_army_leader = { add_logistics = 1 } if = { limit = { has_character = CZE_lev_prchala CZE_lev_prchala = { is_field_marshal = no } } custom_effect_tooltip = generic_skip_one_line_tt CZE_lev_prchala = { promote_leader = yes } } if = { limit = { has_character = CZE_josef_votruba CZE_josef_votruba = { is_field_marshal = no } } custom_effect_tooltip = generic_skip_one_line_tt CZE_josef_votruba = { promote_leader = yes } } if = { limit = { has_power_balance = { id = CZE_bop_army_readiness } has_power_balance_modifier = { id = CZE_bop_army_readiness modifier = CZE_bop_modifier_czech_sovereignty_is_threatened } } custom_effect_tooltip = generic_skip_one_line_tt remove_power_balance_modifier = { id = CZE_bop_army_readiness modifier = CZE_bop_modifier_czech_sovereignty_is_threatened } } } search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_BALANCE_OF_POWER } } focus = { id = CZE_for_the_homeland icon = GFX_focus_CZE_demonstration_of_military_achievements prerequisite = { focus = CZE_lessons_of_war } prerequisite = { focus = CZE_expand_the_land_department_of_vtu } prerequisite = { focus = CZE_establish_the_fall_backlines } relative_position_id = CZE_lessons_of_war x = -4 y = 1 cost = 10 ai_will_do = { factor = 2 } available = { NOT = { has_power_balance = { id = CZE_bop_army_readiness } } } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt # add_to_variable = { # CZE_ceskoslovenska_armada_army_armor_attack_factor = 0.05 # tooltip = army_armor_attack_factor_tt # } add_to_variable = { CZE_ceskoslovenska_armada_conscription_factor = 0.05 tooltip = conscription_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_experience_gain_army_unit_factor = 0.05 tooltip = experience_gain_army_unit_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_training_time_factor = -0.05 tooltip = training_time_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_army_morale_factor = 0.05 tooltip = army_morale_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_command_power = 25 } search_filters = { FOCUS_FILTER_MANPOWER } } focus = { id = CZE_the_lions_roar icon = GFX_focus_BEL_order_of_the_golden_lion prerequisite = { focus = CZE_for_the_homeland } prerequisite = { focus = CZE_the_air_is_our_sea } relative_position_id = CZE_for_the_homeland x = -6 y = 1 cost = 20 ai_will_do = { factor = 2 } available = { } available_if_capitulated = no completion_reward = { army_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_army_org_factor = 0.03 tooltip = army_org_factor_tt } add_to_variable = { CZE_ceskoslovenska_armada_special_forces_out_of_supply_factor = 0.01 tooltip = special_forces_cap_tt } add_to_variable = { CZE_ceskoslovenska_armada_dynamic_modifier_command_power_gain_mult = 0.10 tooltip = command_power_gain_mult_tt } add_to_variable = { CZE_ceskoslovenska_armada_special_forces_out_of_supply_factor = -0.10 tooltip = special_forces_out_of_supply_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenske_letectvo_ns_intro_tt add_to_variable = { CZE_ceskoslovenske_letectvo_air_superiority_efficiency = 0.05 tooltip = air_superiority_efficiency_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_strategic_bomber_bombing_factor = 0.05 tooltip = air_strategic_bomber_bombing_factor_tt } add_to_variable = { CZE_ceskoslovenske_letectvo_air_cas_efficiency = 0.05 tooltip = air_cas_efficiency_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { #Should always have this idea, also for TT limit = { NOT = { has_idea = CZE_national_defense_act_idea } } add_ideas = CZE_the_lions_roar_idea #custom_effect_tooltip = generic_skip_one_line_tt } else = { swap_ideas = { remove_idea = CZE_national_defense_act_idea add_idea = CZE_the_lions_roar_idea } } } search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_XP } } focus = { id = CZE_promote_moravec_writings icon = GFX_focus_CZE_moravecs_bohemia prerequisite = { focus = CZE_elevate_the_vsv } x = 0 y = 1 relative_position_id = CZE_elevate_the_vsv cost = 5 ai_will_do = { factor = 1 } available = { } completion_reward = { army_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt add_daily_mastery = { amount = 0.1 days = 180 name = CZE_promote_moravec_writings #folder = land track = operations } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_experience_gain_army_factor = 0.10 tooltip = experience_gain_army_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_theorist show_ideas_tooltip = CZE_emanuel_moravec } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_XP } } focus = { id = CZE_department_two_expansion icon = GFX_focus_generic_secret_service_agency cost = 5 prerequisite = { focus = CZE_continue_armed_force_reform } relative_position_id = CZE_continue_armed_force_reform x = 12 y = 1 available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_intel_from_combat_factor = 0.05 tooltip = intel_from_combat_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "La Resistance" } if = { limit = { NOT = { has_intelligence_agency = yes } } create_intelligence_agency = { name = "2. oddelení Hl. štábu" icon = GFX_intelligence_agency_logo_cze } } IF = { limit = { agency_upgrade_number < 4 } upgrade_intelligence_agency = upgrade_passive_defense } IF = { limit = { NOT = { has_done_agency_upgrade = upgrade_form_department } } upgrade_intelligence_agency = upgrade_form_department } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_department_2_idea_lar custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_frantisek_moravec_mun } else = { add_tech_bonus = { name = CZE_department_two_expansion bonus = 0.75 uses = 2 category = decryption_tech } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = available_political_advisor show_ideas_tooltip = CZE_frantisek_moravec_mun_no_lar } } search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_RESEARCH } } focus = { id = CZE_military_intelligence icon = GFX_goal_generic_intelligence_exchange cost = 5 prerequisite = { focus = CZE_department_two_expansion } relative_position_id = CZE_department_two_expansion x = -1 y = 1 available = { #CZE_has_a_skoda_infantry_focus = yes if = { limit = { has_dlc = "La Resistance" } has_intelligence_agency = yes } } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_intel_from_combat_factor = 0.05 tooltip = intel_from_combat_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "La Resistance" } if = { limit = { NOT = { has_completed_focus = CZE_air_intelligence } } swap_ideas = { remove_idea = CZE_department_2_idea_lar add_idea = CZE_department_2_idea_lar_land_first } } else = { swap_ideas = { remove_idea = CZE_department_2_idea_lar_air_first add_idea = CZE_department_2_idea_lar_third } } } else = { if = { limit = { NOT = { has_completed_focus = CZE_air_intelligence } } swap_ideas = { remove_idea = CZE_department_2_idea_no_lar add_idea = CZE_department_2_idea_no_lar_land_first } } else = { swap_ideas = { remove_idea = CZE_department_2_idea_no_lar_air_first add_idea = CZE_department_2_idea_no_lar_third } } } } } focus = { id = CZE_air_intelligence icon = GFX_focus_generic_air_partners cost = 5 prerequisite = { focus = CZE_department_two_expansion } relative_position_id = CZE_department_two_expansion x = 1 y = 1 available = { #CZE_has_a_skoda_planes_focus = yes if = { limit = { has_dlc = "La Resistance" } has_intelligence_agency = yes } } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_intel_from_combat_factor = 0.05 tooltip = intel_from_combat_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "La Resistance" } if = { limit = { NOT = { has_completed_focus = CZE_military_intelligence } } swap_ideas = { remove_idea = CZE_department_2_idea_lar add_idea = CZE_department_2_idea_lar_air_first } } else = { swap_ideas = { remove_idea = CZE_department_2_idea_lar_land_first add_idea = CZE_department_2_idea_lar_third } } } else = { if = { limit = { NOT = { has_completed_focus = CZE_military_intelligence } } swap_ideas = { remove_idea = CZE_department_2_idea_no_lar add_idea = CZE_department_2_idea_no_lar_air_first } } else = { swap_ideas = { remove_idea = CZE_department_2_idea_no_lar_land_first add_idea = CZE_department_2_idea_no_lar_third } } } } } focus = { id = CZE_within_the_eagles_nest icon = GFX_focus_AFG_work_with_german_inteligence cost = 10 prerequisite = { focus = CZE_air_intelligence } prerequisite = { focus = CZE_military_intelligence } relative_position_id = CZE_department_two_expansion x = 0 y = 2 available = { if = { limit = { has_dlc = "La Resistance" } has_intelligence_agency = yes } } completion_reward = { custom_effect_tooltip = CZE_ceskoslovenska_armada_ns_intro_tt add_to_variable = { CZE_ceskoslovenska_armada_intel_from_combat_factor = 0.05 tooltip = intel_from_combat_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "La Resistance" } swap_ideas = { remove_idea = CZE_department_2_idea_lar_third add_idea = CZE_department_2_idea_lar_final } gain_random_agency_upgrade = yes if = { limit = { ROOT = { is_neighbor_of = GER } GER = { NOT = { is_ally_with = ROOT } } } every_state = { limit = { is_controlled_by = GER OR = { state = 4 state = 53 state = 54 state = 65 state = 66 state = 67 state = 69 state = 74 state = 972 state = 975 } } add_dynamic_modifier = { modifier = CZE_enemy_intelligence_collaborators days = 1095 } } } } else = { swap_ideas = { remove_idea = CZE_department_2_idea_no_lar_third add_idea = CZE_department_2_idea_no_lar_final } if = { limit = { ROOT = { is_neighbor_of = GER } GER = { NOT = { is_ally_with = ROOT } } } every_state = { limit = { is_controlled_by = GER OR = { state = 4 state = 53 state = 54 state = 65 state = 66 state = 67 state = 69 state = 74 state = 972 state = 975 } } add_dynamic_modifier = { modifier = CZE_enemy_intelligence_collaborators_no_lar days = 1095 } } } } } } ############################ ##### Navy Forces ###### ############################ focus = { id = CZE_restart_naval_gun_production icon = GFX_focus_generic_battleship_guns prerequisite = { focus = CZE_continue_armed_force_reform } cost = 5 relative_position_id = CZE_continue_armed_force_reform x = 16 y = 1 available = { any_core_state = { is_controlled_by = ROOT } } completion_reward = { custom_effect_tooltip = CZE_restart_naval_gun_production_tt custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_industrial_capacity_dockyard = 0.10 tooltip = industrial_capacity_dockyard_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { has_dlc = "Man the Guns" } add_tech_bonus = { name = CZE_restart_naval_gun_production bonus = 0.25 uses = 1 category = naval_equipment } add_tech_bonus = { name = CZE_restart_naval_gun_production bonus = 0.50 uses = 1 category = naval_artillery } } else = { add_tech_bonus = { name = CZE_restart_naval_gun_production bonus = 0.25 uses = 2 category = naval_equipment } } 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 = available_chief_of_navy show_ideas_tooltip = CZE_frantisek_placak hidden_effect={ set_country_flag = CZE_unlock_skoda_naval_focus set_variable = { skoda_plane_x = 148 } } } search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH } } focus = { id = CZE_reform_the_naval_detachment icon = { GFX_focus_PHI_maritime_communism = { ROOT = { has_government = communism } } GFX_goal_generic_build_navy = yes } prerequisite = { focus = CZE_continue_armed_force_reform } x = 18 y = 1 relative_position_id = CZE_continue_armed_force_reform cost = 5 ai_will_do = { factor = 1 } available = { any_controlled_state = { is_coastal = yes } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_mastery_bonus = { name = CZE_reform_the_naval_detachment bonus = 0.1 days = 1095 folder = naval } custom_effect_tooltip = generic_skip_one_line_tt add_dynamic_modifier = { modifier = CZE_ceskoslovenske_alecne_lodstvo_dynamic_modifier } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { any_controlled_state = { NOT = { is_coastal = yes } } } custom_effect_tooltip = CZE_build_2_dockyards_when_we_have_coast_tt } random_owned_controlled_state = { limit = { is_coastal = yes free_building_slots = { building = dockyard size > 1 include_locked = yes } } add_extra_state_shared_building_slots = 2 add_building_construction = { type = dockyard level = 2 instant_build = yes } } custom_effect_tooltip = generic_skip_one_line_tt unlock_decision_tooltip = { decision = CZE_recall_zdenko_hudecek } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_skoda_naval_yards icon = GFX_focus_generic_refit_civilian_ships overlay = GFX_focus_overlay_cze_navy_focus prerequisite = { focus = CZE_restart_naval_gun_production } prerequisite = { focus = CZE_reform_the_naval_detachment } x = 1 y = 1 relative_position_id = CZE_restart_naval_gun_production cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_naval_focus_focus = yes any_state = { is_coastal = yes is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_skoda_works_ns_intro_tt add_to_variable = { CZE_skoda_works_dynamic_modifier_production_speed_dockyard_factor = 0.10 tooltip = production_speed_dockyard_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt if = { limit = { any_controlled_state = { NOT = { is_coastal = yes } } } custom_effect_tooltip = CZE_build_3_dockyards_when_we_have_coast_tt } random_owned_controlled_state = { limit = { is_coastal = yes free_building_slots = { building = dockyard size > 2 include_locked = yes } } add_extra_state_shared_building_slots = 3 add_building_construction = { type = dockyard level = 3 instant_build = yes } } } search_filters = { FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_legacy_of_the_kriegsmarine icon = GFX_focus_generic_large_navy #overlay = GFX_focus_overlay_cze_navy_focus prerequisite = { focus = CZE_skoda_naval_yards } mutually_exclusive = { focus = CZE_leverage_gunboat_experience focus = CZE_wolfs_of_bohemia } relative_position_id = CZE_skoda_naval_yards x = -3 y = 1 cost = 5 ai_will_do = { factor = 1 } available = { #CZE_has_a_skoda_naval_focus_focus = yes any_state = { is_coastal = yes is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_mastery_bonus = { name = CZE_legacy_of_the_kriegsmarine bonus = 0.25 days = 365 track = capital_ships } custom_effect_tooltip = generic_skip_one_line_tt navy_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_modify_ceskoslovenske_alecne_lodstvo_dynamic_modifier_tt add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_navy_capital_ship_attack_factor = 0.10 tooltip = navy_capital_ship_attack_factor_tt } add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_screening_without_screens = 0.10 tooltip = screening_without_screens_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_legacy_of_the_kriegsmarine bonus = 0.25 uses = 1 category = bb_tech } add_doctrine_cost_reduction = { name = CZE_legacy_of_the_kriegsmarine cost_reduction = 0.25 uses = 2 category = fleet_in_being_tree } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP } } focus = { id = CZE_build_off_old_ganz_danubius_designs icon = GFX_focus_generic_navy_battleship2 overlay = GFX_focus_overlay_cze_navy_focus prerequisite = { focus = CZE_legacy_of_the_kriegsmarine } x = 0 y = 1 relative_position_id = CZE_legacy_of_the_kriegsmarine cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_naval_focus_focus = yes any_state = { is_coastal = yes is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_ceskoslovenske_alecne_lodstvo_dynamic_modifier_tt add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_naval_heavy_gun_hit_chance_factor = 0.05 tooltip = naval_heavy_gun_hit_chance_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_build_off_old_ganz_danubius_designs bonus = 1.0 ahead_reduction = 2 uses = 1 category = bc_tech category = bb_tech } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_modernize_trieste_designs icon = GFX_focus_generic_cruiser2 overlay = GFX_focus_overlay_cze_navy_focus prerequisite = { focus = CZE_legacy_of_the_kriegsmarine focus = CZE_leverage_gunboat_experience } x = 2 y = 1 relative_position_id = CZE_legacy_of_the_kriegsmarine cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_naval_focus_focus = yes any_state = { is_coastal = yes is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_ceskoslovenske_alecne_lodstvo_dynamic_modifier_tt add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_navy_capital_ship_defence_factor = 0.10 tooltip = navy_capital_ship_defence_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_modernize_trieste_designs bonus = 1.0 ahead_reduction = 1 uses = 1 category = ca_tech } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_leverage_gunboat_experience icon = GFX_focus_generic_trade_interdiction prerequisite = { focus = CZE_skoda_naval_yards } mutually_exclusive = { focus = CZE_legacy_of_the_kriegsmarine focus = CZE_wolfs_of_bohemia } x = 0 y = 1 relative_position_id = CZE_skoda_naval_yards cost = 5 ai_will_do = { factor = 2 } available = { any_state = { is_coastal = yes is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_mastery_bonus = { name = CZE_legacy_of_the_kriegsmarine bonus = 0.25 days = 365 track = screens } custom_effect_tooltip = generic_skip_one_line_tt navy_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_modify_ceskoslovenske_alecne_lodstvo_dynamic_modifier_tt add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_navy_screen_attack_factor = 0.10 tooltip = navy_screen_attack_factor_tt } add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_screening_efficiency = 0.10 tooltip = screening_efficiency_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_leverage_gunboat_experience bonus = 0.25 uses = 1 category = dd_tech } add_doctrine_cost_reduction = { name = CZE_leverage_gunboat_experience cost_reduction = 0.25 uses = 2 category = fleet_in_being_tree } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP } } focus = { id = CZE_revive_kraljevica_designs icon = GFX_focus_generic_destroyer overlay = GFX_focus_overlay_cze_navy_focus prerequisite = { focus = CZE_leverage_gunboat_experience focus = CZE_wolfs_of_bohemia } x = 1 y = 1 relative_position_id = CZE_leverage_gunboat_experience cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_naval_focus_focus = yes any_state = { is_coastal = yes is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_ceskoslovenske_alecne_lodstvo_dynamic_modifier_tt add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_navy_screen_defence_factor = 0.10 tooltip = navy_screen_defence_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_revive_kraljevica_designs bonus = 1.0 ahead_reduction = 1 uses = 1 category = dd_tech } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_wolfs_of_bohemia icon = GFX_goal_generic_wolf_pack prerequisite = { focus = CZE_skoda_naval_yards } mutually_exclusive = { focus = CZE_legacy_of_the_kriegsmarine focus = CZE_leverage_gunboat_experience } x = 3 y = 1 relative_position_id = CZE_skoda_naval_yards cost = 5 ai_will_do = { factor = 1 } available = { } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { add_mastery_bonus = { name = CZE_wolfs_of_bohemia bonus = 0.25 days = 365 track = submarines } custom_effect_tooltip = generic_skip_one_line_tt navy_experience = 25 custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_modify_ceskoslovenske_alecne_lodstvo_dynamic_modifier_tt add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_convoy_raiding_efficiency_factor = 0.10 tooltip = convoy_raiding_efficiency_factor_tt } add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_naval_torpedo_reveal_chance_factor = -0.10 tooltip = naval_torpedo_reveal_chance_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_wolfs_of_bohemia bonus = 0.25 uses = 1 category = ss_tech } add_doctrine_cost_reduction = { name = CZE_wolfs_of_bohemia cost_reduction = 0.25 uses = 2 category = trade_interdiction_tree } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP } } focus = { id = CZE_raider_lineage icon = GFX_goal_generic_navy_submarine overlay = GFX_focus_overlay_cze_navy_focus prerequisite = { focus = CZE_wolfs_of_bohemia } x = 0 y = 1 relative_position_id = CZE_wolfs_of_bohemia cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_naval_focus_focus = yes any_state = { is_coastal = yes is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_ceskoslovenske_alecne_lodstvo_dynamic_modifier_tt add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_navy_submarine_defence_factor = 0.10 tooltip = navy_submarine_defence_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_raider_lineage bonus = 1.0 ahead_reduction = 1 uses = 1 category = ss_tech } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_a_modern_navy icon = { GFX_focus_PER_the_peoples_navy = { ROOT = { has_government = communism } } GFX_focus_SMB_blue_water_fleet = yes } overlay = GFX_focus_overlay_cze_navy_focus prerequisite = { focus = CZE_build_off_old_ganz_danubius_designs focus = CZE_modernize_trieste_designs focus = CZE_revive_kraljevica_designs focus = CZE_raider_lineage } x = 0 y = 3 relative_position_id = CZE_skoda_naval_yards cost = 10 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_naval_focus_focus = yes } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no complete_tooltip = { } completion_reward = { add_mastery = { amount = 25 folder = naval } custom_effect_tooltip = generic_skip_one_line_tt custom_effect_tooltip = CZE_modify_ceskoslovenske_alecne_lodstvo_dynamic_modifier_tt add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_experience_gain_navy_factor = 0.05 tooltip = experience_gain_navy_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt 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 } } if = { limit = { any_controlled_state = { NOT = { is_coastal = yes } } } custom_effect_tooltip = CZE_build_1_dockyards_when_we_have_coast_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_a_modern_navy bonus = 0.75 uses = 1 category = naval_equipment } custom_effect_tooltip = generic_skip_one_line_tt add_ideas = CZE_a_modern_navy_idea custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_naval value = 0.25 } } search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY } } focus = { id = CZE_naval_aviation icon = GFX_focus_generic_air_carrier overlay = GFX_focus_overlay_cze_navy_focus prerequisite = { focus = CZE_a_modern_navy } x = -1 y = 1 relative_position_id = CZE_a_modern_navy cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_naval_focus_focus = yes any_state = { is_coastal = yes is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_ceskoslovenske_alecne_lodstvo_dynamic_modifier_tt add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_sortie_efficiency = 0.10 tooltip = sortie_efficiency_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_naval_aviation bonus = 1.0 uses = 1 category = cv_tech } custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_naval value = 0.50 } } search_filters = { FOCUS_FILTER_RESEARCH } } focus = { id = CZE_across_the_atlantic icon = GFX_focus_generic_north_atlantic_fleet overlay = GFX_focus_overlay_cze_navy_focus prerequisite = { focus = CZE_a_modern_navy } x = 1 y = 1 relative_position_id = CZE_a_modern_navy cost = 5 ai_will_do = { factor = 1 } available = { CZE_has_a_skoda_naval_focus_focus = yes any_state = { is_coastal = yes is_controlled_by = ROOT } } cancel_if_invalid = yes continue_if_invalid = no available_if_capitulated = no completion_reward = { custom_effect_tooltip = CZE_modify_ceskoslovenske_alecne_lodstvo_dynamic_modifier_tt add_to_variable = { CZE_ceskoslovenske_alecne_lodstvo_navy_max_range_factor = 0.10 tooltip = navy_max_range_factor_tt } custom_effect_tooltip = generic_skip_one_line_tt add_tech_bonus = { name = CZE_across_the_atlantic bonus = 1.0 uses = 1 category = tp_tech } custom_effect_tooltip = generic_skip_one_line_tt add_breakthrough_progress = { specialization = specialization_naval value = 0.50 } } search_filters = { FOCUS_FILTER_RESEARCH } } }