# Author(s): Batalshi focus_tree = { id = cuba_focus country = { base = 0 modifier = { add = 20 original_tag = CUB } } continuous_focus_position = { x = 100 y = 500 } shortcut = { name = CUB_battle_ideas target = CUB_battle_ideas scroll_wheel_factor = 0.80 } shortcut = { name = CUB_nationalists target = CUB_nationalists scroll_wheel_factor = 0.80 } shortcut = { name = CUB_democratic_start target = CUB_democratic_start scroll_wheel_factor = 0.80 } shortcut = { name = CUB_economic target = CUB_economic scroll_wheel_factor = 0.80 } shortcut = { name = CUB_army_reorganisation target = CUB_army_reorganisation scroll_wheel_factor = 0.80 } focus = { id = CUB_cuban_politics icon = stability x = 20 y = 0 cost = 3 search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cuban_politics" hidden_effect = { if = { limit = { CUB = { is_ai = yes } } country_event = { id = cuba.52 days = 1 } } } add_political_power = 150 add_stability = 0.02 add_war_support = 0.03 } ai_will_do = { base = 200 modifier = { factor = 3 is_historical_focus_on = yes } } } focus = { id = CUB_battle_ideas icon = cubabattleofidea x = -10 y = 1 relative_position_id = CUB_cuban_politics cost = 3 prerequisite = { focus = CUB_cuban_politics } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes western_autocrats_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_battle_ideas" set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 19 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes set_temp_variable = { party_index = 0 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes } ai_will_do = { base = 100 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } ### Military Tree #made by batalshi #Military Start focus = { id = CUB_army_reorganisation icon = CUB_far_cub x = 60 y = 0 cost = 7 search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_army_reorganisation" army_experience = 25 air_experience = 25 navy_experience = 25 add_war_support = 0.03 set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes add_command_power = 150 } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_reforms_of_army icon = CUB_armyreformsnine x = 0 y = 1 relative_position_id = CUB_army_reorganisation cost = 4 prerequisite = { focus = CUB_army_reorganisation } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_reforms_of_army" army_experience = 30 air_experience = 30 navy_experience = 30 set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } #Army Reform focus = { id = CUB_coop_china icon = peoples_liberation_army x = -1 y = 1 relative_position_id = CUB_reforms_of_army cost = 3 prerequisite = { focus = CUB_reforms_of_army } mutually_exclusive = { focus = CUB_coop_usa } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { country_exists = CHI NOT = { has_war_with = CHI } } bypass = { OR = { NOT = { country_exists = CHI } has_war_with = CHI } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_coop_china" add_opinion_modifier = { target = CHI modifier = military_deals } CHI = { add_opinion_modifier = { target = CUB modifier = military_deals } } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_coop_usa icon = american_shield x = 1 y = 1 relative_position_id = CUB_reforms_of_army cost = 3 prerequisite = { focus = CUB_reforms_of_army } mutually_exclusive = { focus = CUB_coop_china } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { OR = { western_autocrats_are_in_power = yes western_liberals_are_in_power = yes western_conservatism_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = USA NOT = { has_war_with = USA } } bypass = { OR = { NOT = { country_exists = USA } has_war_with = USA } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_coop_usa" USA = { add_opinion_modifier = { target = CUB modifier = military_deals } } CUB = { add_opinion_modifier = { target = USA modifier = military_deals } } } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } #revolutionary army focus = { id = CUB_revolutionary_army icon = Cuban_Revolutionary_Army_1 x = -1 y = 1 relative_position_id = CUB_coop_china cost = 3 prerequisite = { focus = CUB_coop_china focus = CUB_coop_usa } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_revolutionary_army" army_experience = 50 add_war_support = 0.05 add_command_power = 120 } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_reforms_of_command icon = army_general_stuff1 x = 1 y = 1 relative_position_id = CUB_revolutionary_army cost = 5 prerequisite = { focus = CUB_revolutionary_army } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_reforms_of_command" add_political_power = 50 add_command_power = 20 country_event = cuba.3 } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_create_ter_defense icon = cubaterdef x = -1 y = 1 relative_position_id = CUB_revolutionary_army cost = 3 prerequisite = { focus = CUB_revolutionary_army } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { has_war = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_create_ter_defense" unlock_decision_category_tooltip = CUB_ter_defence_category } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_defense_strategy icon = army_defence1 x = -1 y = 1 relative_position_id = CUB_reforms_of_command cost = 5 prerequisite = { focus = CUB_create_ter_defense focus = CUB_reforms_of_command } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_defense_strategy" every_army_leader = { add_defense = 1 add_planning = 1 } } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_mass_army icon = army_mobilisation x = -1 y = 1 relative_position_id = CUB_defense_strategy cost = 5 prerequisite = { focus = CUB_defense_strategy } mutually_exclusive = { focus = CUB_prof_army } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_mass_army" swap_ideas = { remove_idea = CUB_disorg_in_army_idea_1 add_idea = CUB_disorgonis_in_army_idea } } ai_will_do = { base = 50 modifier = { factor = 3 has_idea = CUB_disorg_in_army_idea_1 } modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_prof_army icon = cubaprof x = 1 y = 1 relative_position_id = CUB_defense_strategy cost = 7 prerequisite = { focus = CUB_defense_strategy } mutually_exclusive = { focus = CUB_mass_army } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_prof_army" increase_officer_training_level = yes set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes swap_ideas = { remove_idea = CUB_disorg_in_army_idea_1 add_idea = CUB_disorg_army_idea } } ai_will_do = { base = 50 modifier = { factor = 3 has_idea = CUB_disorg_in_army_idea_1 } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_contract_army icon = cubaconract x = 0 y = 1 relative_position_id = CUB_prof_army cost = 5 prerequisite = { focus = CUB_prof_army } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_contract_army" add_stability = 0.05 increase_military_spending = yes } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_3_years icon = army_marching x = 0 y = 1 relative_position_id = CUB_mass_army cost = 5 prerequisite = { focus = CUB_mass_army } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_3_years" add_manpower = 5000 add_stability = -0.05 add_command_power = 150 set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes swap_ideas = { remove_idea = CUB_disorgonisation_in_army_idea add_idea = CUB_disorgonis_in_army_idea } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_new_uniform icon = army_upgrade x = 0 y = 1 relative_position_id = CUB_contract_army cost = 5 prerequisite = { focus = CUB_contract_army focus = CUB_3_years } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_uniform" add_tech_bonus = { name = CUB_new_uniform uses = 1 bonus = 1 technology = camouflage_1 } set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_armor_upgrade icon = army_tank_industry x = 0 y = 1 relative_position_id = CUB_3_years cost = 5 prerequisite = { focus = CUB_contract_army focus = CUB_3_years } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_armor_upgrade" add_tech_bonus = { name = CUB_armor_upgrade bonus = 0.4 uses = 1 category = CAT_armor } set_temp_variable = { treasury_change = -6 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_modernize_to_current_standarts icon = mobilizecuba x = -1 y = 1 relative_position_id = CUB_new_uniform cost = 8 prerequisite = { focus = CUB_armor_upgrade } prerequisite = { focus = CUB_new_uniform } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_modernize_to_current_standarts" custom_effect_tooltip = cub_modern_tt if = { limit = { has_idea = CUB_disorg_army_idea } swap_ideas = { remove_idea = CUB_disorg_army_idea add_idea = CUB_reforming_army_idea } } if = { limit = { has_idea = CUB_disorgonis_in_army_idea } swap_ideas = { remove_idea = CUB_disorgonis_in_army_idea add_idea = CUB_reforming_army_idea } } } ai_will_do = { base = 50 modifier = { factor = 3 OR = { has_idea = CUB_disorg_army_idea has_idea = CUB_disorgonis_in_army_idea } } modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_our_vpk icon = army_military_industryy x = -4 y = 1 relative_position_id = CUB_modernize_to_current_standarts cost = 5 prerequisite = { focus = CUB_modernize_to_current_standarts } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_our_vpk" one_random_arms_factory = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 can_staff_an_arms_industry = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_mobilize_our_army icon = mobilizecubarmy x = 0 y = 1 relative_position_id = CUB_modernize_to_current_standarts cost = 10 prerequisite = { focus = CUB_modernize_to_current_standarts } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_mobilize_our_army" set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes add_tech_bonus = { name = CUB_mobilize_our_army bonus = 0.4 uses = 1 category = CAT_util } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_constant_drill icon = cubadrills x = 2 y = 1 relative_position_id = CUB_modernize_to_current_standarts cost = 5 prerequisite = { focus = CUB_modernize_to_current_standarts } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_constant_drill" add_timed_idea = { idea = CUB_long_training_idea days = 120 } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_develop_young icon = CUB_youtharmy x = 0 y = 1 relative_position_id = CUB_mobilize_our_army cost = 7 prerequisite = { focus = CUB_mobilize_our_army } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_develop_young" set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes add_ideas = CUB_youth_army } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_btr_100 icon = btr100 x = 0 y = 1 relative_position_id = CUB_our_vpk cost = 5 prerequisite = { focus = CUB_our_vpk } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_btr_100" add_tech_bonus = { name = CUB_btr_100 bonus = 0.3 uses = 1 category = CAT_armor } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_CBI_73M icon = cbi x = -2 y = 1 relative_position_id = CUB_our_vpk cost = 5 prerequisite = { focus = CUB_our_vpk } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_CBI_73M" add_tech_bonus = { name = CUB_CBI_73M uses = 1 bonus = 0.2 category = CAT_sam } add_tech_bonus = { name = CUB_CBI_73M uses = 1 bonus = 0.2 category = CAT_abm } set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_Jupiter_III icon = jupiter x = 2 y = 1 relative_position_id = CUB_our_vpk cost = 5 prerequisite = { focus = CUB_our_vpk } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_Jupiter_III" add_tech_bonus = { name = CUB_Jupiter_III bonus = 0.3 uses = 1 category = CAT_artillery } set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_field_generals icon = army_planning x = 0 y = 1 relative_position_id = CUB_constant_drill cost = 10 prerequisite = { focus = CUB_constant_drill } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_field_generals" add_timed_idea = { idea = CUB_general_field_idea days = 120 } swap_ideas = { remove_idea = CUB_reforming_army_idea add_idea = CUB_reform_army_idea } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_modern_army icon = modernarmycuba x = 1 y = 1 relative_position_id = CUB_develop_young cost = 10 prerequisite = { focus = CUB_develop_young } prerequisite = { focus = CUB_field_generals } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_modern_army" add_ideas = CUB_modern_army_idea swap_ideas = { remove_idea = CUB_reform_army_idea add_idea = CUB_modern_army_idea } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } #Union de Industrias Militares #special forces branch focus = { id = CUB_black_wasps icon = CUB_black_wasp x = -6 y = 1 relative_position_id = CUB_revolutionary_army cost = 4 prerequisite = { focus = CUB_revolutionary_army } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_black_wasps" army_experience = 25 add_war_support = 0.03 custom_effect_tooltip = cub_special_unit_tt hidden_effect = { division_template = { name = "Spetsnaz Brigade" regiments = { Special_Forces = { x = 0 y = 0 } Special_Forces = { x = 0 y = 1 } Special_Forces = { x = 0 y = 2 } Special_Forces = { x = 0 y = 3 } } priority = 2 } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 854 } create_unit = { division = "name = \"Black Wasps\" division_template = \"Spetsnaz Brigade\" start_experience_factor = 0.3" owner = ROOT } } } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_extr_trai icon = Generic_Jungle_Ghost x = 0 y = 1 relative_position_id = CUB_black_wasps cost = 5 prerequisite = { focus = CUB_black_wasps } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_extr_trai" add_war_support = 0.03 add_stability = 0.03 add_command_power = 120 army_experience = 25 } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_expand_int icon = cub_spy_agency x = 2 y = 1 relative_position_id = CUB_black_wasps cost = 5 prerequisite = { focus = CUB_black_wasps } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_int" add_intel = { target = USA civilian_intel = 2 army_intel = 10 } add_intel = { target = HAI civilian_intel = 10 army_intel = 20 } set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = USA } change_influence_percentage = yes set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = HAI } change_influence_percentage = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_improve_communication_between_squads icon = Generic_Partisan x = 3 y = 1 relative_position_id = CUB_extr_trai cost = 5 prerequisite = { focus = CUB_extr_trai } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_improve_communication_between_squads" add_tech_bonus = { name = CUB_improve_communication_between_squads bonus = 0.2 uses = 1 category = CAT_cnc } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_night_vison_equipment icon = army_equipn x = -3 y = 1 relative_position_id = CUB_extr_trai cost = 5 prerequisite = { focus = CUB_extr_trai } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_night_vison_equipment" add_tech_bonus = { name = CUB_night_vison_equipment bonus = 0.2 uses = 1 category = CAT_nvg } set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_introduce_drones_in_sso icon = army_uav x = 1 y = 1 relative_position_id = CUB_extr_trai cost = 5 prerequisite = { focus = CUB_extr_trai } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_introduce_drones_in_sso " add_tech_bonus = { name = CUB_introduce_drones_in_sso bonus = 0.2 uses = 1 category = CAT_l_drone } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_academy icon = army_russia_officer_shool x = -2 y = 1 relative_position_id = CUB_black_wasps cost = 7 prerequisite = { focus = CUB_black_wasps } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_academy" add_war_support = 0.03 add_stability = 0.03 increase_officer_training_level = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_special_weapons icon = grenade x = -1 y = 1 relative_position_id = CUB_extr_trai cost = 5 prerequisite = { focus = CUB_extr_trai } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_special_weapons" add_tech_bonus = { name = CUB_special_weapons uses = 1 bonus = 0.2 category = CAT_special_forces } set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_new_doctrine icon = position_armies x = 3 y = 1 relative_position_id = CUB_night_vison_equipment cost = 7 prerequisite = { focus = CUB_night_vison_equipment } prerequisite = { focus = CUB_special_weapons } prerequisite = { focus = CUB_introduce_drones_in_sso } prerequisite = { focus = CUB_improve_communication_between_squads } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_doctrine" add_tech_bonus = { name = CUB_new_doctrine uses = 1 bonus = 0.2 category = CAT_land_doctrine } set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_sso_is_our_all icon = CUB_sepc_above x = 0 y = 1 relative_position_id = CUB_new_doctrine cost = 10 prerequisite = { focus = CUB_new_doctrine } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_sso_is_our_all" add_stability = 0.02 add_war_support = 0.04 add_ideas = CUB_powerful_sso_idea } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } #airforce focus = { id = CUB_upgrade_airforce icon = Cuban_Revolutionary_Air_Force_1 x = 5 y = 1 relative_position_id = CUB_coop_china cost = 3 prerequisite = { focus = CUB_coop_china focus = CUB_coop_usa } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_upgrade_airforce" air_experience = 30 add_war_support = 0.03 add_command_power = 120 set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes add_ideas = CUB_airforce_idea } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_modernize_planes icon = jet_mig21 x = 0 y = 1 relative_position_id = CUB_upgrade_airforce cost = 5 prerequisite = { focus = CUB_upgrade_airforce } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_modernize_planes" air_experience = 20 add_tech_bonus = { name = CUB_modernize_planes bonus = 0.3 uses = 1 category = CAT_air_eqp } } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_modernize_air_def icon = army_antiair x = -2 y = 1 relative_position_id = CUB_modernize_planes cost = 5 prerequisite = { focus = CUB_modernize_planes } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_modernize_air_def" set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes add_tech_bonus = { name = CUB_modernize_air_def bonus = 0.5 uses = 1 category = CAT_sam } add_tech_bonus = { name = CUB_modernize_air_def bonus = 0.5 uses = 1 category = CAT_abm } } ai_will_do = { base = 50 modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_upgrade_radars icon = army_radar x = 0 y = 1 relative_position_id = CUB_modernize_planes cost = 5 prerequisite = { focus = CUB_modernize_planes } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_upgrade_radars" add_tech_bonus = { name = CUB_upgrade_radars bonus = 0.4 uses = 1 category = CAT_internet_tech } set_temp_variable = { treasury_change = -2.5 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_upgrade_airbase icon = nanjing_airport x = 2 y = 1 relative_position_id = CUB_modernize_planes cost = 5 prerequisite = { focus = CUB_modernize_planes } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_upgrade_airbase" one_air_base = yes add_political_power = 75 air_experience = 20 } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_buy_drones icon = shahed x = 1 y = 1 relative_position_id = CUB_upgrade_radars cost = 5 prerequisite = { focus = CUB_upgrade_airbase } prerequisite = { focus = CUB_modernize_air_def } prerequisite = { focus = CUB_upgrade_radars } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { if = { limit = { has_dlc = "By Blood Alone" } PER = { has_tech = gen_3_medium } else = { PER = { has_tech = Air_Kamikaze1 } } } country_exists = PER NOT = { has_war_with = PER } PER = { has_opinion = { target = CUB value > 29 } } } bypass = { OR = { NOT = { country_exists = PER } has_war_with = PER } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_buy_drones" add_equipment_to_stockpile = { type = medium_plane_suicide_airframe amount = 500 producer = PER } add_opinion_modifier = { target = PER modifier = military_deals } PER = { add_opinion_modifier = { target = CUB modifier = military_deals } } set_temp_variable = { treasury_change = -7.5 } modify_treasury_effect = yes set_temp_variable = { percent_change = 5 } change_domestic_influence_percentage = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_new_transport_planes icon = Generic_Transport_Aircraft x = -1 y = 1 relative_position_id = CUB_upgrade_radars cost = 8 prerequisite = { focus = CUB_upgrade_airbase } prerequisite = { focus = CUB_modernize_air_def } prerequisite = { focus = CUB_upgrade_radars } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { country_exists = SOV NOT = { has_war_with = SOV } } bypass = { OR = { NOT = { country_exists = SOV } has_war_with = SOV } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_transport_planes" set_temp_variable = { treasury_change = -7 } modify_treasury_effect = yes add_equipment_to_stockpile = { type = large_plane_air_transport_airframe amount = 40 producer = SOV } SOV = { set_temp_variable = { treasury_change = 7 } modify_treasury_effect = yes } add_opinion_modifier = { target = SOV modifier = improve_trade } reverse_add_opinion_modifier = { target = SOV modifier = improve_trade } } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_rus_migs icon = blr_mig29 x = 0 y = 1 relative_position_id = CUB_new_transport_planes cost = 5 prerequisite = { focus = CUB_new_transport_planes } mutually_exclusive = { focus = CUB_us_f } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { country_exists = SOV NOT = { has_war_with = SOV } SOV = { has_opinion = { target = CUB value > 29 } } } bypass = { OR = { NOT = { country_exists = SOV } has_war_with = SOV } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_rus_migs" SOV = { set_temp_variable = { treasury_change = 8 } modify_treasury_effect = yes } add_equipment_to_stockpile = { type = small_plane_airframe_2 amount = 20 producer = SOV } hidden_effect = { SOV = { add_equipment_to_stockpile = { type = small_plane_airframe_2 amount = -20 producer = SOV } } } add_opinion_modifier = { target = SOV modifier = military_deals } reverse_add_opinion_modifier = { target = SOV modifier = military_deals } set_temp_variable = { treasury_change = -8 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_us_f icon = amercian_f16 x = 2 y = 1 relative_position_id = CUB_new_transport_planes cost = 10 prerequisite = { focus = CUB_new_transport_planes } mutually_exclusive = { focus = CUB_rus_migs } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { country_exists = USA NOT = { has_war_with = USA } USA = { has_opinion = { target = CUB value > 29 } } } bypass = { OR = { NOT = { country_exists = USA } has_war_with = USA } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_us_f" USA = { set_temp_variable = { treasury_change = 7 } modify_treasury_effect = yes } add_equipment_to_stockpile = { type = small_plane_airframe_2 amount = 20 producer = USA } hidden_effect = { USA = { add_equipment_to_stockpile = { type = small_plane_airframe_2 amount = -20 producer = USA } } } add_opinion_modifier = { target = USA modifier = military_deals } USA = { add_opinion_modifier = { target = CUB modifier = military_deals } } set_temp_variable = { treasury_change = -7 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_airforce_doc icon = CUB_reorganizeair x = 1 y = 1 relative_position_id = CUB_rus_migs cost = 5 prerequisite = { focus = CUB_rus_migs focus = CUB_us_f } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_airforce_doc" air_experience = 20 add_doctrine_cost_reduction = { name = CUB_airforce_doc category = CAT_air_doctrine uses = 2 cost_reduction = 0.3 } add_command_power = 150 remove_ideas = CUB_airforce_idea } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_air_doc icon = eagle44 x = -1 y = 1 relative_position_id = CUB_airforce_doc cost = 5 prerequisite = { focus = CUB_airforce_doc } mutually_exclusive = { focus = CUB_ground_doc } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_air_doc" add_doctrine_cost_reduction = { name = CUB_air_doc category = CAT_operational_integrity_tree uses = 2 cost_reduction = 0.3 } } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_ground_doc icon = focus_SWE_marauder_bombers x = 1 y = 1 relative_position_id = CUB_airforce_doc cost = 5 prerequisite = { focus = CUB_airforce_doc } mutually_exclusive = { focus = CUB_air_doc } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ground_doc" add_doctrine_cost_reduction = { name = CUB_ground_doc category = CAT_battlefield_support_tree uses = 2 cost_reduction = 0.3 } } ai_will_do = { base = 50 modifier = { factor = 3 is_historical_focus_on = yes } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_rebirth_of_avia icon = CUB_reborning x = 0 y = 2 relative_position_id = CUB_airforce_doc cost = 10 prerequisite = { focus = CUB_air_doc focus = CUB_ground_doc } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_rebirth_of_avia" add_ideas = CUB_avia_idea } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } #navy focus = { id = CUB_navy_reform icon = Cuban_Revolutionary_Navy_1 x = 10 y = 1 relative_position_id = CUB_coop_china cost = 3 prerequisite = { focus = CUB_coop_china focus = CUB_coop_usa } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_navy_reform" navy_experience = 20 add_manpower = 5000 set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes add_command_power = 120 add_ideas = CUB_navy_idea } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_ask_north_korea icon = NKO_start_fleet x = 1 y = 1 relative_position_id = CUB_navy_reform cost = 5 prerequisite = { focus = CUB_navy_reform } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { country_exists = NKO NOT = { has_war_with = NKO } NKO = { has_opinion = { target = CUB value > 29 } } } bypass = { OR = { NOT = { country_exists = NKO } has_war_with = NKO } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ask_north_korea" add_opinion_modifier = { target = NKO modifier = military_deals } NKO = { add_opinion_modifier = { target = CUB modifier = military_deals } } set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes add_tech_bonus = { name = CUB_ask_north_korea bonus = 0.4 uses = 1 category = CAT_sub } } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_new_navy_doc icon = focus_ARG_study_the_battle_of_the_river_plate x = -1 y = 1 relative_position_id = CUB_ask_north_korea cost = 5 prerequisite = { focus = CUB_ask_north_korea } prerequisite = { focus = CUB_restore_spanish_boats } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_navy_doc" add_tech_bonus = { name = CUB_new_navy_doc bonus = 0.4 uses = 1 category = CAT_naval_doctrine } } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_restore_spanish_boats icon = generic_ship1 x = -1 y = 1 relative_position_id = CUB_navy_reform cost = 7 prerequisite = { focus = CUB_navy_reform } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_restore_spanish_boats" set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes add_tech_bonus = { name = CUB_restore_spanish_boats bonus = 0.4 uses = 1 category = CAT_frigate } } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_create_own_missles icon = torpedo x = -2 y = 1 relative_position_id = CUB_new_navy_doc cost = 5 prerequisite = { focus = CUB_new_navy_doc } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_create_own_missles" navy_experience = 30 add_command_power = 120 set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_restore_sovie_sub icon = Generic_Submarine2 x = 0 y = 1 relative_position_id = CUB_new_navy_doc cost = 5 prerequisite = { focus = CUB_new_navy_doc } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_restore_sovie_sub" navy_experience = 30 add_command_power = 120 add_tech_bonus = { name = CUB_restore_sovie_sub bonus = 0.4 uses = 1 category = CAT_sub } } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_doc_mining icon = wolfpacks x = 2 y = 1 relative_position_id = CUB_new_navy_doc cost = 5 prerequisite = { focus = CUB_new_navy_doc } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_doc_mining" navy_experience = 30 add_command_power = 120 add_tech_bonus = { name = CUB_doc_mining bonus = 0.2 uses = 1 category = CAT_green_water_navy } } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_own_projects icon = Generic_Submarine1 x = 1 y = 1 relative_position_id = CUB_restore_sovie_sub cost = 8 prerequisite = { focus = CUB_doc_mining } prerequisite = { focus = CUB_create_own_missles } prerequisite = { focus = CUB_restore_sovie_sub } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_own_projects" add_timed_idea = { idea = CUB_our_projects_idea days = 100 } remove_ideas = CUB_navy_idea } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_ill_mig icon = illmig x = -1 y = 1 relative_position_id = CUB_own_projects cost = 5 prerequisite = { focus = CUB_own_projects } prerequisite = { focus = CUB_exp_bases } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ill_mig" add_stability = 0.05 add_manpower = -1500 remove_ideas = CUB_idea_migration_crisis } ai_will_do = { base = 50 modifier = { factor = 3 has_idea = CUB_idea_migration_crisis } } } focus = { id = CUB_new_navy icon = focus_SMB_blue_water_fleet x = 0 y = 1 relative_position_id = CUB_ill_mig cost = 5 prerequisite = { focus = CUB_ill_mig } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_navy" add_ideas = CUB_revived_cuban_fleet } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_exp_bases icon = civitavecchia_port x = -1 y = 1 relative_position_id = CUB_restore_sovie_sub cost = 8 prerequisite = { focus = CUB_doc_mining } prerequisite = { focus = CUB_create_own_missles } prerequisite = { focus = CUB_restore_sovie_sub } search_filters = { FOCUS_FILTER_MILITARY_LAWS } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_exp_bases" one_random_dockyard = yes } ai_will_do = { base = 50 modifier = { factor = 0 can_staff_an_dockyard = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } modifier = { factor = 2 ai_is_threatened = yes } } } #Economic tree focus = { id = CUB_economic icon = cuban_economy_peso_new x = 84 y = 0 cost = 10 search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_economic" add_political_power = 50 swap_ideas = { remove_idea = CUB_idea_special_period add_idea = CUB_better_sp } } ai_will_do = { base = 150 modifier = { factor = 3 has_idea = CUB_idea_special_period } } } focus = { id = CUB_allow_foreign_inv icon = money x = -5 y = 1 relative_position_id = CUB_economic cost = 5 prerequisite = { focus = CUB_economic } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_allow_foreign_inv" add_timed_idea = { idea = CUB_encouraged_foreign_investments_idea days = 100 } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_legalize_dollar icon = usa_investments x = 1 y = 1 relative_position_id = CUB_economic cost = 5 prerequisite = { focus = CUB_economic } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_legalize_dollar" set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes swap_ideas = { remove_idea = CUB_better_sp add_idea = CUB_better_special_period } add_ideas = CUB_dual_curency } ai_will_do = { base = 100 modifier = { factor = 3 has_idea = CUB_better_sp } modifier = { factor = 50 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_new_model_economy icon = sing_on_rise x = 0 y = 1 relative_position_id = CUB_legalize_dollar cost = 10 prerequisite = { focus = CUB_legalize_dollar } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_model_economy" remove_ideas = CUB_old_command_economy } ai_will_do = { base = 100 modifier = { factor = 3 has_idea = CUB_old_command_economy } modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_ask_russia icon = russian_ruble x = -1 y = 1 relative_position_id = CUB_allow_foreign_inv cost = 5 prerequisite = { focus = CUB_allow_foreign_inv } mutually_exclusive = { focus = CUB_ask_EU } search_filters = { FOCUS_FILTER_EXPENDITURE } available = { SOV = { has_opinion = { target = CUB value > 29 } } country_exists = SOV NOT = { has_war_with = SOV } } bypass = { OR = { NOT = { country_exists = SOV } has_war_with = SOV } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ask_russia" SOV = { country_event = { id = cuba.56 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { one_random_infrastructure = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes } } ai_will_do = { base = 50 modifier = { factor = 2 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_ask_EU icon = euro x = 1 y = 1 relative_position_id = CUB_allow_foreign_inv cost = 8 prerequisite = { focus = CUB_allow_foreign_inv } mutually_exclusive = { focus = CUB_ask_russia } search_filters = { FOCUS_FILTER_EXPENDITURE } available = { OR = { western_autocrats_are_in_power = yes western_liberals_are_in_power = yes western_conservatism_are_in_power = yes western_social_democrats_are_in_power = yes } EU_european_union_currently_exists = yes } bypass = { EU_european_union_currently_exists = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ask_EU" GER = { country_event = { id = cuba.56 days = 1 } } ENG = { country_event = { id = cuba.56 days = 1 } } FRA = { country_event = { id = cuba.56 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { one_random_infrastructure = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = GER } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes } } ai_will_do = { base = 50 modifier = { factor = 2 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_eastern_invest icon = prc_coal x = -2 y = 1 relative_position_id = CUB_ask_EU cost = 7 prerequisite = { focus = CUB_ask_russia } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = CHI NOT = { has_war_with = CHI } CHI = { has_opinion = { target = CUB value > 29 } } country_exists = RAJ NOT = { has_war_with = RAJ } RAJ = { has_opinion = { target = CUB value > 29 } } } bypass = { OR = { NOT = { country_exists = CHI } has_war_with = CHI } OR = { NOT = { country_exists = RAJ } has_war_with = RAJ } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_eastern_invest" CHI = { country_event = { id = cuba.56 days = 1 } } RAJ = { country_event = { id = cuba.56 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { one_random_infrastructure = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes } } ai_will_do = { base = 50 modifier = { factor = 2 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_western_invest icon = focus_generic_american_investments x = 0 y = 1 relative_position_id = CUB_ask_EU cost = 7 prerequisite = { focus = CUB_ask_EU } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = USA NOT = { has_war_with = USA } USA = { has_opinion = { target = CUB value > 29 } } country_exists = CAN NOT = { has_war_with = CAN } CAN = { has_opinion = { target = CUB value > 29 } } } bypass = { OR = { NOT = { country_exists = USA } has_war_with = USA } OR = { NOT = { country_exists = CAN } has_war_with = CAN } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_western_invest" USA = { country_event = { id = cuba.56 days = 1 } } CAN = { country_event = { id = cuba.56 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { one_random_infrastructure = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = USA } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes } } ai_will_do = { base = 50 modifier = { factor = 2 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_create_ZEDM icon = zedmcub x = -1 y = 1 relative_position_id = CUB_western_invest cost = 5 prerequisite = { focus = CUB_eastern_invest focus = CUB_western_invest } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_create_ZEDM" add_ideas = CUB_zedm_idea one_random_dockyard = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 can_staff_an_dockyard = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_agriculture_revive icon = focus_CHL_focus_on_cattle_and_wool x = -3 y = 1 relative_position_id = CUB_new_model_economy cost = 10 prerequisite = { focus = CUB_new_model_economy } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_agriculture_revive" swap_ideas = { remove_idea = CUB_destoryed_agriculture_idea add_idea = CUB_agriculture } set_temp_variable = { treasury_change = -4.5 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes newline = yes if = { limit = { has_idea = farmers } custom_effect_tooltip = if_farmers_opinion_at_least_enthusiastic_tt effect_tooltip = { set_temp_variable = { skip_payment = 1 } one_random_agriculture_district = yes } hidden_effect = { if = { limit = { check_variable = { farmers_opinion > 74.999 } } set_temp_variable = { skip_payment = 1 } one_random_agriculture_district = yes } } } } ai_will_do = { base = 75 modifier = { factor = 3 has_idea = CUB_destoryed_agriculture_idea } modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 can_staff_an_agriculture_district = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_develop_fishing_sector icon = cubfishing x = 0 y = 1 relative_position_id = CUB_agriculture_revive cost = 10 prerequisite = { focus = CUB_agriculture_revive } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_develop_fishing_sector" set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes change_maritime_industry_opinion = yes swap_ideas = { remove_idea = CUB_agriculture add_idea = CUB_revive_agri } } ai_will_do = { base = 50 modifier = { factor = 3 has_idea = CUB_agriculture } modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_airports icon = modern_bomber x = 3 y = 1 relative_position_id = CUB_new_model_economy cost = 5 prerequisite = { focus = CUB_new_model_economy } search_filters = { FOCUS_FILTER_INDUSTRY } available = { 1121 = { is_owned_and_controlled_by = CUB } } bypass = { 1121 = { NOT = { is_owned_and_controlled_by = CUB } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_airports" one_air_base = yes add_political_power = 150 set_temp_variable = { percent_change = 10 } change_domestic_influence_percentage = yes set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_cubana_inv icon = cubcubanna x = 0 y = 1 relative_position_id = CUB_airports cost = 5 prerequisite = { focus = CUB_airports } search_filters = { FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cubana_inv" set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes if = { limit = { has_dlc = "By Blood Alone" } add_equipment_to_stockpile = { type = large_plane_air_transport_airframe amount = 40 variant_name = "AN-26" producer = SOV } } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_energy_rev icon = BRA_renewable_energy_funds x = -1 y = 1 relative_position_id = CUB_new_model_economy cost = 5 prerequisite = { focus = CUB_new_model_economy } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_energy_rev" one_random_renewable_energy_infra = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 1.5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_update_energy_system icon = hydroelectric2 x = 0 y = 1 relative_position_id = CUB_energy_rev cost = 5 prerequisite = { focus = CUB_energy_rev } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_update_energy_system" one_random_fossil_fuel_powerplant = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 1.5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_privitazing_manufactures icon = generic_factory x = 1 y = 1 relative_position_id = CUB_new_model_economy cost = 10 prerequisite = { focus = CUB_new_model_economy } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_privitazing_manufactures" random_owned_controlled_state = { limit = { check_variable = { building_level@industrial_complex > 0 } } remove_building = { type = industrial_complex level = 1 } } set_temp_variable = { treasury_change = 7.5 } modify_treasury_effect = yes set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_fin_sector_reforms icon = balance_buget x = 0 y = 1 relative_position_id = CUB_privitazing_manufactures cost = 5 prerequisite = { focus = CUB_privitazing_manufactures } search_filters = { FOCUS_FILTER_INTERNAL_FACTION } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_fin_sector_reforms" if = { limit = { has_idea = farmers NOT = { has_idea = small_medium_business_owners } } swap_ideas = { remove_idea = farmers add_idea = small_medium_business_owners } } set_temp_variable = { temp_opinion = 5 } change_small_medium_business_owners_opinion = yes set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_nuclear_power icon = glowing_vault_boy x = 1 y = 1 relative_position_id = CUB_fin_sector_reforms cost = 10 prerequisite = { focus = CUB_fin_sector_reforms } prerequisite = { focus = CUB_cubana_inv } search_filters = { FOCUS_FILTER_RESEARCH } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_nuclear_power" add_tech_bonus = { name = CUB_nuclear_power bonus = 0.7 uses = 2 category = CAT_nuclear_reactors } one_random_nuclear_reactor = yes } ai_will_do = { base = 50 modifier = { factor = 1.5 has_an_energy_deficit = yes } modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_sugar icon = sugartobaccocuba x = -1 y = 1 relative_position_id = CUB_update_energy_system cost = 10 prerequisite = { focus = CUB_develop_fishing_sector } prerequisite = { focus = CUB_update_energy_system } search_filters = { FOCUS_FILTER_EXPENDITURE FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_sugar" one_random_industrial_complex = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_end_dual_currency icon = enddollar x = -2 y = 1 relative_position_id = CUB_nuclear_power cost = 10 prerequisite = { focus = CUB_sugar } prerequisite = { focus = CUB_nuclear_power } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_end_dual_currency" remove_ideas = CUB_dual_curency increase_economic_growth = yes } ai_will_do = { base = 50 modifier = { factor = 3 has_idea = CUB_dual_curency } modifier = { factor = 3 OR = { has_idea = depression has_idea = recession } } modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_become_global icon = cub_become_global_ec x = 1 y = 1 relative_position_id = CUB_end_dual_currency cost = 5 prerequisite = { focus = CUB_end_dual_currency } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_become_global" increase_exports = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_modern_economy icon = economic_prosperity x = -1 y = 1 relative_position_id = CUB_end_dual_currency cost = 10 prerequisite = { focus = CUB_end_dual_currency } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_modern_economy" increase_economic_growth = yes remove_ideas = CUB_better_special_period } ai_will_do = { base = 50 modifier = { factor = 3 has_idea = CUB_better_special_period } modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_invest_in_education icon = generic_university x = -2 y = 1 relative_position_id = CUB_create_ZEDM cost = 5 prerequisite = { focus = CUB_create_ZEDM } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invest_in_education" increase_education_budget = yes hidden_effect = { block_edu_change = yes } custom_effect_tooltip = edu_tt } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_invest_in_manufacturing icon = factory_facto x = 0 y = 1 relative_position_id = CUB_create_ZEDM cost = 5 prerequisite = { focus = CUB_create_ZEDM } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invest_in_manufacturing" increase_centralization = yes hidden_effect = { block_bureau_change = yes } custom_effect_tooltip = bureau_tt add_timed_idea = { idea = CUB_manf_dev days = 300 } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_invest_in_healthcare icon = generic_hospital x = 2 y = 1 relative_position_id = CUB_create_ZEDM cost = 5 prerequisite = { focus = CUB_create_ZEDM } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invest_in_healthcare" increase_healthcare_budget = yes hidden_effect = { block_health_change = yes } custom_effect_tooltip = heal_tt } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_invest_in_infrastructure icon = house x = -1 y = 1 relative_position_id = CUB_invest_in_healthcare cost = 5 prerequisite = { focus = CUB_invest_in_education } prerequisite = { focus = CUB_invest_in_manufacturing } prerequisite = { focus = CUB_invest_in_healthcare } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invest_in_infrastructure" one_random_infrastructure = yes set_temp_variable = { party_popularity_increase = 0.07 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_subsidies icon = pensions_increase x = -3 y = 1 relative_position_id = CUB_invest_in_healthcare cost = 5 prerequisite = { focus = CUB_invest_in_education } prerequisite = { focus = CUB_invest_in_manufacturing } prerequisite = { focus = CUB_invest_in_healthcare } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_subsidies" increase_social_spending = yes hidden_effect = { block_social_change = yes } custom_effect_tooltip = soc_tt } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_invest_hub icon = CUBinvestors x = -1 y = 1 relative_position_id = CUB_invest_in_infrastructure cost = 5 prerequisite = { focus = CUB_invest_in_infrastructure } prerequisite = { focus = CUB_subsidies } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invest_hub" one_random_infrastructure = yes increase_exports = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_oil icon = CUBoil x = -10 y = 1 relative_position_id = CUB_economic cost = 3 prerequisite = { focus = CUB_economic } search_filters = { FOCUS_FILTER_STABILITY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_oil" add_political_power = 30 add_stability = 0.02 set_temp_variable = { party_popularity_increase = 0.07 } change_relative_party_popularity = yes add_timed_idea = { idea = CUB_oil_repair_idea1 days = 365 } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_cooperation_with_rus icon = align_to_russia x = -2 y = 1 relative_position_id = CUB_oil cost = 10 prerequisite = { focus = CUB_oil } search_filters = { FOCUS_FILTER_RESOURCE } available = { SOV = { has_opinion = { target = CUB value > 19 } } country_exists = SOV NOT = { has_war_with = SOV } } bypass = { OR = { NOT = { country_exists = SOV } has_war_with = SOV } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cooperation_with_rus" add_opinion_modifier = { target = SOV modifier = large_commercial_relations } reverse_add_opinion_modifier = { target = SOV modifier = large_commercial_relations } 854 = { add_resource = { type = oil amount = 6 } } set_temp_variable = { skip_payment = 1 } one_fuel_reserve = yes SOV = { set_temp_variable = { SOV_modify_capitalisation_gazprom = 0.130 } SOV_modify_capitalisation_gazprom_support = yes } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_cooperation_with_ven icon = align_to_venezuela x = 0 y = 1 relative_position_id = CUB_oil cost = 10 prerequisite = { focus = CUB_oil } search_filters = { FOCUS_FILTER_RESOURCE } available = { VEN = { has_opinion = { target = CUB value > 19 } } country_exists = VEN NOT = { has_war_with = VEN } } bypass = { OR = { NOT = { country_exists = VEN } has_war_with = VEN } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cooperation_with_ven" add_opinion_modifier = { target = VEN modifier = large_commercial_relations } reverse_add_opinion_modifier = { target = VEN modifier = large_commercial_relations } 855 = { add_resource = { type = oil amount = 6 } } set_temp_variable = { skip_payment = 1 } one_fuel_reserve = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_cooperation_with_per icon = align_to_iran x = 2 y = 1 relative_position_id = CUB_oil cost = 10 prerequisite = { focus = CUB_oil } search_filters = { FOCUS_FILTER_RESOURCE } available = { PER = { has_opinion = { target = CUB value > 19 } } country_exists = PER NOT = { has_war_with = PER } } bypass = { OR = { NOT = { country_exists = PER } has_war_with = PER } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cooperation_with_per" add_opinion_modifier = { target = PER modifier = large_commercial_relations } reverse_add_opinion_modifier = { target = PER modifier = large_commercial_relations } 854 = { add_resource = { type = oil amount = 6 } } one_fuel_reserve = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_search_for_new_deposits icon = oil_green x = 2 y = 1 relative_position_id = CUB_cooperation_with_rus cost = 10 prerequisite = { focus = CUB_cooperation_with_rus focus = CUB_cooperation_with_ven focus = CUB_cooperation_with_per } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_search_for_new_deposits" 855 = { add_resource = { type = oil amount = 3 } } one_fuel_reserve = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_PDVSA icon = pdvsa x = 0 y = 1 relative_position_id = CUB_search_for_new_deposits cost = 7 prerequisite = { focus = CUB_search_for_new_deposits } mutually_exclusive = { focus = CUB_ROSNEFT } search_filters = { FOCUS_FILTER_RESOURCE } available = { VEN = { has_opinion = { target = CUB value > 29 } } country_exists = VEN NOT = { has_war_with = VEN } } bypass = { OR = { NOT = { country_exists = VEN } has_war_with = VEN } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_PDVSA" 855 = { add_resource = { type = oil amount = 8 } } } ai_will_do = { base = 50 modifier = { factor = 2 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH } } } } focus = { id = CUB_ROSNEFT icon = Rosneft x = -2 y = 1 relative_position_id = CUB_search_for_new_deposits cost = 7 prerequisite = { focus = CUB_search_for_new_deposits } mutually_exclusive = { focus = CUB_PDVSA } search_filters = { FOCUS_FILTER_RESOURCE } available = { SOV = { has_opinion = { target = CUB value > 29 } } country_exists = SOV NOT = { has_war_with = SOV } } bypass = { OR = { NOT = { country_exists = SOV } has_war_with = SOV } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ROSNEFT" 854 = { add_resource = { type = oil amount = 8 } } SOV = { set_temp_variable = { SOV_modify_capitalisation_rosneft = 0.130 } SOV_modify_capitalisation_rosneft_support = yes } } ai_will_do = { base = 50 modifier = { factor = 2 OR = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_CUPET icon = CUB_cupet x = 4 y = 0 relative_position_id = CUB_ROSNEFT cost = 10 prerequisite = { focus = CUB_search_for_new_deposits } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_CUPET" add_ideas = CUB_CUPET_idea } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_infr_development icon = construction_buldozer x = 6 y = 1 relative_position_id = CUB_economic cost = 7 prerequisite = { focus = CUB_economic } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_infr_development" add_political_power = 50 add_timed_idea = { idea = CUB_infrastructure_dev_idea days = 200 } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_invest_habanna icon = infra_habanna x = -1 y = 1 relative_position_id = CUB_infr_development cost = 5 prerequisite = { focus = CUB_infr_development } search_filters = { FOCUS_FILTER_INDUSTRY } available = { 854 = { is_owned_and_controlled_by = CUB } CUB = { has_tech = internet2 } } bypass = { 854 = { NOT = { is_owned_and_controlled_by = CUB } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invest_habanna" one_random_network_infrastructure = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 5 check_variable = { overall_productivity < 800 } } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_invest_camaguey icon = Generic_Loadsamoney x = 1 y = 1 relative_position_id = CUB_infr_development cost = 5 prerequisite = { focus = CUB_infr_development } search_filters = { FOCUS_FILTER_INDUSTRY } available = { 855 = { is_owned_and_controlled_by = CUB } CUB = { has_tech = internet2 } } bypass = { 855 = { NOT = { is_owned_and_controlled_by = CUB } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invest_camaguey" one_random_network_infrastructure = yes } ai_will_do = { base = 50 modifier = { factor = 50 is_historical_focus_on = yes } modifier = { factor = 5 check_variable = { overall_productivity < 800 } } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_upgrade_central_road icon = cuban_central_road_icon x = -1 y = 1 relative_position_id = CUB_invest_camaguey cost = 5 prerequisite = { focus = CUB_invest_camaguey } prerequisite = { focus = CUB_invest_habanna } search_filters = { FOCUS_FILTER_INDUSTRY } available = { 854 = { is_owned_and_controlled_by = CUB } 855 = { is_owned_and_controlled_by = CUB } 1121 = { is_owned_and_controlled_by = CUB } } bypass = { NOT = { OR = { 854 = { is_owned_and_controlled_by = CUB } 855 = { is_owned_and_controlled_by = CUB } 1121 = { is_owned_and_controlled_by = CUB } } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_upgrade_central_road" 854 = { if = { limit = { free_building_slots = { building = infrastructure size > 0 } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } 855 = { if = { limit = { free_building_slots = { building = infrastructure size > 0 } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } 1121 = { if = { limit = { free_building_slots = { building = infrastructure size > 0 } } add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_upgrade_railway icon = NKO_railways x = 0 y = 1 relative_position_id = CUB_upgrade_central_road cost = 5 prerequisite = { focus = CUB_upgrade_central_road } search_filters = { FOCUS_FILTER_INDUSTRY } available = { 1121 = { is_owned_and_controlled_by = CUB } 855 = { is_owned_and_controlled_by = CUB } } bypass = { NOT = { OR = { 1121 = { is_owned_and_controlled_by = CUB } 855 = { is_owned_and_controlled_by = CUB } } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_upgrade_railway" build_railway = { level = 1 build_only_on_allied = yes fallback = yes path = { 7622 9613 10498 7451 10374 9607 4476 7546 12347 9603 } start_province = 7622 target_province = 9603 } set_temp_variable = { treasury_change = -2.25 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 50 is_historical_focus_on = yes } modifier = { factor = 5 check_variable = { overall_productivity < 800 } } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_invest_santa_clara icon = mlw_buying_kubotas x = -1 y = 1 relative_position_id = CUB_upgrade_railway cost = 5 prerequisite = { focus = CUB_upgrade_railway } search_filters = { FOCUS_FILTER_INDUSTRY } available = { 1121 = { is_owned_and_controlled_by = CUB } } bypass = { 1121 = { NOT = { is_owned_and_controlled_by = CUB } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invest_santa_clara" one_random_network_infrastructure = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 5 check_variable = { overall_productivity < 800 } } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_port icon = Generic_Maritime x = 1 y = 1 relative_position_id = CUB_upgrade_railway cost = 5 prerequisite = { focus = CUB_upgrade_railway } search_filters = { FOCUS_FILTER_INDUSTRY } available = { 1121 = { is_owned_and_controlled_by = CUB } } bypass = { 1121 = { NOT = { is_owned_and_controlled_by = CUB } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_port" one_random_dockyard = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 can_staff_an_dockyard = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_develop_internet icon = economic_internet x = 1 y = 1 relative_position_id = CUB_invest_santa_clara cost = 5 prerequisite = { focus = CUB_invest_santa_clara } prerequisite = { focus = CUB_port } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_develop_internet" 1121 = { add_extra_state_shared_building_slots = 1 add_building_construction = { type = internet_station level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -9 } modify_treasury_effect = yes add_tech_bonus = { name = CUB_develop_internet bonus = 0.4 uses = 1 category = CAT_internet_tech } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_tourism_projects2 icon = starttourismprojectscuba x = 10 y = 1 relative_position_id = CUB_economic cost = 5 prerequisite = { focus = CUB_economic } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_tourism_projects2" add_political_power = 50 add_timed_idea = { idea = CUB_idea_tourist_industry_1 days = 365 } } ai_will_do = { base = 75 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_hotels icon = shenzhen_night x = 0 y = 1 relative_position_id = CUB_tourism_projects2 cost = 10 prerequisite = { focus = CUB_tourism_projects2 } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_hotels" one_office_construction = yes if = { limit = { has_idea = CUB_idea_tourist_industry_1 } modify_timed_idea = { idea = CUB_idea_tourist_industry_1 days = 180 } } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 can_staff_an_offices = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_habanna icon = generic_office_construct x = 2 y = 1 relative_position_id = CUB_hotels cost = 4 prerequisite = { focus = CUB_hotels } search_filters = { FOCUS_FILTER_INDUSTRY } available = { 854 = { is_owned_and_controlled_by = CUB } } bypass = { 854 = { NOT = { is_owned_and_controlled_by = CUB } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_habanna" 854 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_camaguey icon = crane_and_tower x = 0 y = 1 relative_position_id = CUB_hotels cost = 4 prerequisite = { focus = CUB_hotels } search_filters = { FOCUS_FILTER_INDUSTRY } available = { 855 = { is_owned_and_controlled_by = CUB } } bypass = { 855 = { NOT = { is_owned_and_controlled_by = CUB } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_camaguey" 855 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -4.5 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_santa icon = generic_housing x = -2 y = 1 relative_position_id = CUB_hotels cost = 4 prerequisite = { focus = CUB_hotels } search_filters = { FOCUS_FILTER_INDUSTRY } available = { 1121 = { is_owned_and_controlled_by = CUB } } bypass = { 1121 = { NOT = { is_owned_and_controlled_by = CUB } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_santa" 1121 = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_mir_card icon = mircardcuba x = 2 y = 1 relative_position_id = CUB_santa cost = 7 prerequisite = { focus = CUB_santa } prerequisite = { focus = CUB_camaguey } prerequisite = { focus = CUB_habanna } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_mir_card " set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes set_temp_variable = { treasury_change = 6 } modify_treasury_effect = yes set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_invite_foreign_inv icon = align_to_canada x = -1 y = 1 relative_position_id = CUB_mir_card cost = 5 prerequisite = { focus = CUB_mir_card } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invite_foreign_inv" set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = ENG } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = FRA } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = GER } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes set_temp_variable = { percent_change = 2 } set_temp_variable = { tag_index = CAN } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes set_temp_variable = { treasury_change = 7 } modify_treasury_effect = yes set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes one_random_infrastructure = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_new_airports icon = cubaairbases x = 1 y = 1 relative_position_id = CUB_mir_card cost = 5 prerequisite = { focus = CUB_mir_card } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_airports" one_air_base = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_tourism_hub icon = economic_tourism x = 1 y = 1 relative_position_id = CUB_invite_foreign_inv cost = 10 prerequisite = { focus = CUB_invite_foreign_inv } prerequisite = { focus = CUB_new_airports } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_tourism_hub" add_ideas = CUB_tourism_hub_idea } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_blokade_economy icon = blockadeeconomy x = 20 y = 1 relative_position_id = CUB_economic cost = 4 prerequisite = { focus = CUB_economic } search_filters = { FOCUS_FILTER_POLITICAL } available = { custom_trigger_tooltip = { tooltip = CUB_blockade_fight has_idea = CUB_idea_blockade1 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_blokade_economy" add_political_power = 50 one_random_infrastructure = yes add_stability = 0.03 } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_wto icon = wto x = 0 y = 1 relative_position_id = CUB_blokade_economy cost = 10 prerequisite = { focus = CUB_blokade_economy } search_filters = { FOCUS_FILTER_TRADE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_wto" add_timed_idea = { idea = recently_acceded_to_wto days = 365 } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_coop_with_eacu icon = economic_community x = -2 y = 1 relative_position_id = CUB_wto cost = 7 prerequisite = { focus = CUB_wto } mutually_exclusive = { focus = CUB_ties_with_latin_america } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_coop_with_eacu" one_random_industrial_complex = yes } ai_will_do = { base = 50 modifier = { factor = 2 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_end_common_position icon = association_agreement x = 3 y = 1 relative_position_id = CUB_wto cost = 5 prerequisite = { focus = CUB_wto } search_filters = { FOCUS_FILTER_POLITICAL } available = { EU_european_union_currently_exists = yes } bypass = { EU_european_union_currently_exists = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_end_common_position" GER = { add_opinion_modifier = { target = CUB modifier = diplomatic_proximity } } CUB = { add_opinion_modifier = { target = GER modifier = diplomatic_proximity } } ENG = { add_opinion_modifier = { target = CUB modifier = diplomatic_proximity } } CUB = { add_opinion_modifier = { target = ENG modifier = diplomatic_proximity } } FRA = { add_opinion_modifier = { target = CUB modifier = diplomatic_proximity } } CUB = { add_opinion_modifier = { target = FRA modifier = diplomatic_proximity } } set_temp_variable = { percent_change = 1.5 } set_temp_variable = { tag_index = GER } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_ties_with_latin_america icon = cubtieslatinamerica x = 1 y = 1 relative_position_id = CUB_wto cost = 5 prerequisite = { focus = CUB_wto } mutually_exclusive = { focus = CUB_coop_with_eacu } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = BRA NOT = { has_war_with = BRA } country_exists = VEN NOT = { has_war_with = VEN } country_exists = ARG NOT = { has_war_with = ARG } } bypass = { OR = { NOT = { country_exists = BRA } has_war_with = BRA } OR = { NOT = { country_exists = VEN } has_war_with = VEN } OR = { NOT = { country_exists = ARG } has_war_with = ARG } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ties_with_latin_america" BRA = { add_opinion_modifier = { target = CUB modifier = diplomatic_proximity } } CUB = { add_opinion_modifier = { target = BRA modifier = diplomatic_proximity } } VEN = { add_opinion_modifier = { target = CUB modifier = diplomatic_proximity } } CUB = { add_opinion_modifier = { target = VEN modifier = diplomatic_proximity } } ARG = { add_opinion_modifier = { target = CUB modifier = diplomatic_proximity } } CUB = { add_opinion_modifier = { target = ARG modifier = diplomatic_proximity } } set_temp_variable = { percent_change = 1 } set_temp_variable = { influence_target = VEN } change_influence_percentage = yes set_temp_variable = { percent_change = 1 } set_temp_variable = { influence_target = ARG } change_influence_percentage = yes } ai_will_do = { base = 50 modifier = { factor = 2 OR = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_trade_with_rus icon = trade_with_russia x = -1 y = 1 relative_position_id = CUB_coop_with_eacu cost = 5 prerequisite = { focus = CUB_coop_with_eacu } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = SOV NOT = { has_war_with = SOV } } bypass = { OR = { NOT = { country_exists = SOV } has_war_with = SOV } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_trade_with_rus" set_temp_variable = { receiver_nation = SOV.id } set_temp_variable = { sender_nation = CUB.id } set_improved_trade_agreement = yes set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_trade_with_chi icon = trade_with_china x = 1 y = 1 relative_position_id = CUB_coop_with_eacu cost = 5 prerequisite = { focus = CUB_coop_with_eacu } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = CHI NOT = { has_war_with = CHI } } bypass = { OR = { NOT = { country_exists = CHI } has_war_with = CHI } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_trade_with_chi" set_temp_variable = { receiver_nation = CUB.id } set_temp_variable = { sender_nation = CHI.id } set_improved_trade_agreement = yes set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = CHI } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_enter_brics icon = GFX_brics x = 1 y = 1 relative_position_id = CUB_trade_with_rus cost = 7 prerequisite = { focus = CUB_trade_with_rus } prerequisite = { focus = CUB_trade_with_chi } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = RAJ RAJ = { has_completed_focus = RAJ_BRICS_integer } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_enter_brics" BRICS_join_via_event = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_MERCOSUR icon = coopmercosur x = 0 y = 1 relative_position_id = CUB_ties_with_latin_america cost = 3 prerequisite = { focus = CUB_ties_with_latin_america } search_filters = { FOCUS_FILTER_POLITICAL } available = { BRA = { has_dynamic_modifier = mercosur_member_state_modifier } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_MERCOSUR" BRA = { add_opinion_modifier = { target = ROOT modifier = friendship } } add_opinion_modifier = { target = BRA modifier = friendship } set_temp_variable = { percent_change = 1 } set_temp_variable = { tag_index = BRA } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_operation_miracle icon = focus_generic_field_hostpital x = 0 y = 1 relative_position_id = CUB_MERCOSUR cost = 7 prerequisite = { focus = CUB_MERCOSUR } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_operation_miracle" add_ideas = CUB_miracle_operation_idea } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_ties_with_west icon = endcommonpositioncuba x = 0 y = 1 relative_position_id = CUB_end_common_position cost = 5 prerequisite = { focus = CUB_end_common_position } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = GER NOT = { has_war_with = GER } country_exists = ENG NOT = { has_war_with = ENG } country_exists = FRA NOT = { has_war_with = FRA } } bypass = { OR = { NOT = { country_exists = GER } has_war_with = GER } OR = { NOT = { country_exists = ENG } has_war_with = ENG } OR = { NOT = { country_exists = FRA } has_war_with = FRA } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ties_with_west" GER = { country_event = { id = cuba.57 days = 1 } } ENG = { country_event = { id = cuba.57 days = 1 } } FRA = { country_event = { id = cuba.57 days = 1 } } newline = yes custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { set_temp_variable = { receiver_nation = GER.id } set_temp_variable = { sender_nation = CUB.id } set_improved_trade_agreement = yes set_temp_variable = { percent_change = 5 } set_temp_variable = { tag_index = GER } set_temp_variable = { influence_target = CUB } change_influence_percentage = yes } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_PDCA icon = tradeagreementcuba x = 0 y = 1 relative_position_id = CUB_ties_with_west cost = 4 prerequisite = { focus = CUB_ties_with_west } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_PDCA" add_timed_idea = { idea = BRA_idea_eu_trade_agreement days = 100 } } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_demand_from_us icon = CUB_callforblockade x = -2 y = 1 relative_position_id = CUB_PDCA cost = 10 prerequisite = { focus = CUB_PDCA } prerequisite = { focus = CUB_operation_miracle focus = CUB_enter_brics } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_demand_from_us" custom_effect_tooltip = CUB_blockade_tt newline = yes unlock_decision_tooltip = CUB_normalisation_with_USA unlock_decision_tooltip = CUB_diplomacy_with_USA unlock_decision_tooltip = CUB_open_bank_and_trade_with_USA unlock_decision_tooltip = CUB_negotations_with_USA } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } } } focus = { id = CUB_revive_metallurgy icon = industry_civilian x = 15 y = 1 relative_position_id = CUB_economic cost = 3 prerequisite = { focus = CUB_economic } search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_revive_metallurgy" add_political_power = 50 add_stability = 0.03 set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes one_random_industrial_complex = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_upgrade_old_factories icon = construct_factory x = 0 y = 1 relative_position_id = CUB_revive_metallurgy cost = 5 prerequisite = { focus = CUB_revive_metallurgy } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_upgrade_old_factories" one_random_industrial_complex = yes set_temp_variable = { party_popularity_increase = 0.07 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_expand_iron_mining icon = steel_production2 x = -1 y = 1 relative_position_id = CUB_upgrade_old_factories cost = 5 prerequisite = { focus = CUB_upgrade_old_factories } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_iron_mining" random_owned_controlled_state = { add_resource = { type = steel amount = 3 } } set_temp_variable = { treasury_change = -2 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_expand_gold_mining icon = gold_standard x = 1 y = 1 relative_position_id = CUB_upgrade_old_factories cost = 5 prerequisite = { focus = CUB_upgrade_old_factories } search_filters = { FOCUS_FILTER_RESOURCE FOCUS_FILTER_EXPENDITURE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_gold_mining" random_owned_controlled_state = { add_resource = { type = chromium amount = 2 } } set_temp_variable = { treasury_change = -5 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_update_old_factory icon = red_industry x = -1 y = 1 relative_position_id = CUB_expand_gold_mining cost = 5 prerequisite = { focus = CUB_expand_gold_mining } prerequisite = { focus = CUB_expand_iron_mining } search_filters = { FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_update_old_factory" one_random_industrial_complex = yes set_temp_variable = { party_popularity_increase = 0.07 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_expand_aluminum_mining icon = focus_generic_aluminum x = -1 y = 1 relative_position_id = CUB_update_old_factory cost = 5 prerequisite = { focus = CUB_update_old_factory } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_aluminum_mining" random_owned_controlled_state = { add_resource = { type = aluminium amount = 4 } } set_temp_variable = { treasury_change = -3 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_expand_tungsten_mining icon = rustavi_metal x = 1 y = 1 relative_position_id = CUB_update_old_factory cost = 5 prerequisite = { focus = CUB_update_old_factory } search_filters = { FOCUS_FILTER_RESOURCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_tungsten_mining" random_owned_controlled_state = { add_resource = { type = tungsten amount = 2 } } set_temp_variable = { treasury_change = -4 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 2 is_historical_focus_on = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_castro icon = CUB_fidelcastro x = 0 y = 1 relative_position_id = CUB_battle_ideas cost = 5 prerequisite = { focus = CUB_battle_ideas } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_castro" if = { limit = { NOT = { check_variable = { ruling_party = 4 } } } set_temp_variable = { rul_party_temp = 4 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.075 } set_temp_variable = { temp_outlook_increase = 0.075 } if = { limit = { check_variable = { ruling_party = 4 } } add_to_temp_variable = { party_popularity_increase = 0.025 } add_to_temp_variable = { temp_outlook_increase = 0.025 } } change_relative_party_popularity = yes country_event = cuba.9 } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_friends_in_power icon = army_officers_communist x = 0 y = 1 relative_position_id = CUB_castro cost = 5 prerequisite = { focus = CUB_castro } mutually_exclusive = { focus = CUB_the_new_castro } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_CORRUPTION } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_friends_in_power" increase_corruption = yes set_temp_variable = { temp_opinion = 5 } change_communist_cadres_opinion = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_put_natoinalist_in_jail icon = cubatesakiconcub x = 2 y = 1 relative_position_id = CUB_friends_in_power cost = 5 prerequisite = { focus = CUB_friends_in_power } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_put_natoinalist_in_jail" add_stability = -0.02 add_political_power = 70 add_popularity = { ideology = nationalist popularity = -0.1 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_politcal_purges icon = TotSoc_Focus x = -2 y = 1 relative_position_id = CUB_put_natoinalist_in_jail cost = 5 prerequisite = { focus = CUB_put_natoinalist_in_jail } prerequisite = { focus = CUB_police_exp } prerequisite = { focus = CUB_cpc_new_people } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_politcal_purges" add_stability = -0.05 add_war_support = 0.1 } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_ban_opposition icon = banopposition x = 0 y = 1 relative_position_id = CUB_politcal_purges cost = 5 prerequisite = { focus = CUB_politcal_purges } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ban_opposition" add_stability = -0.05 add_political_power = 120 add_war_support = 0.05 add_popularity = { ideology = democratic popularity = -0.1 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_the_new_castro icon = democraticcastrocuba icon = CUB_fidelcastro x = 9 y = 1 relative_position_id = CUB_castro cost = 3 prerequisite = { focus = CUB_castro } mutually_exclusive = { focus = CUB_friends_in_power } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_autocrats_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_the_new_castro" country_event = cuba.12 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_start_reformism icon = startrefromscuba x = 0 y = 1 relative_position_id = CUB_the_new_castro cost = 10 prerequisite = { focus = CUB_the_new_castro } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_start_reformism" add_ideas = CUB_reformism_idea1 add_political_power = 70 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_empower_banks icon = cubabankscuba x = -1 y = 1 relative_position_id = CUB_start_reformism cost = 5 prerequisite = { focus = CUB_start_reformism } search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INTERNAL_FACTION } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_empower_banks" if = { limit = { has_idea = labour_unions } swap_ideas = { remove_idea = labour_unions add_idea = international_bankers } } else_if = { limit = { has_idea = international_bankers } set_temp_variable = { temp_change = 8 } change_international_bankers_opinion = yes } add_stability = -0.03 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_expand_oligarch_influence icon = business_man x = 1 y = 1 relative_position_id = CUB_start_reformism cost = 7 prerequisite = { focus = CUB_start_reformism } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_CORRUPTION } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_oligarch_influence" add_ideas = CUB_communist_opposition_idea swap_ideas = { remove_idea = communist_cadres add_idea = landowners } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_churc icon = preaching x = -1 y = 1 relative_position_id = CUB_expand_oligarch_influence cost = 7 prerequisite = { focus = CUB_expand_oligarch_influence } prerequisite = { focus = CUB_empower_banks } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_churc" add_political_power = 100 add_stability = 0.02 set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_allow_multi_party_system icon = dominant_party x = -1 y = 1 relative_position_id = CUB_churc cost = 4 prerequisite = { focus = CUB_churc } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_allow_multi_party_system" swap_ideas = { remove_idea = CUB_reformism_idea1 add_idea = CUB_new_dem_reforms } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_the_new_constitution icon = cubaconsdemocraic x = 1 y = 1 relative_position_id = CUB_churc cost = 5 prerequisite = { focus = CUB_churc } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_the_new_constitution" remove_ideas = CUB_cpc_good country_event = cuba.10 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_guantanamo_que icon = cuba_guantanamo_question x = 1 y = 1 relative_position_id = CUB_allow_multi_party_system cost = 10 prerequisite = { focus = CUB_the_new_constitution } prerequisite = { focus = CUB_allow_multi_party_system } search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes USA = { owns_state = 424 } NOT = { CUB = { owns_state = 424 } } } bypass = { CUB = { owns_state = 424 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_guantanamo_que" USA = { country_event = { id = cuba.14 days = 1 } } newline = yes custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_state_core = 424 transfer_state = 424 } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_demilitarize_society icon = demilitarizationcuba x = -2 y = 1 relative_position_id = CUB_guantanamo_que cost = 7 prerequisite = { focus = CUB_guantanamo_que } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_demilitarize_society" decrease_military_spending = yes swap_ideas = { remove_idea = draft_army add_idea = partial_draft_army } add_popularity = { ideology = nationalist popularity = -0.1 } add_stability = 0.03 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_deals_with_rare_communists icon = Leftist_Stuff_IV x = -4 y = 1 relative_position_id = CUB_guantanamo_que cost = 5 prerequisite = { focus = CUB_guantanamo_que } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_deals_with_rare_communists" remove_ideas = CUB_communist_opposition_idea set_temp_variable = { add_col_one = 4 } add_coalition_members_effect = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 3 has_idea = CUB_communist_opposition_idea } } } focus = { id = CUB_stable_society icon = newcubansocietydemcastro x = 1 y = 1 relative_position_id = CUB_deals_with_rare_communists cost = 5 prerequisite = { focus = CUB_deals_with_rare_communists } prerequisite = { focus = CUB_demilitarize_society } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_stable_society" add_country_leader_trait = pro_western_dima } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_business_for_all icon = BRA_mensalao_new x = 0 y = 1 relative_position_id = CUB_guantanamo_que cost = 10 prerequisite = { focus = CUB_guantanamo_que } search_filters = { FOCUS_FILTER_EXPENDITURE } available = { western_autocrats_are_in_power = yes has_idea = small_medium_business_owners has_idea = international_bankers has_idea = landowners } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_business_for_all" add_political_power = 100 set_temp_variable = { temp_opinion = 5 } change_international_bankers_opinion = yes set_temp_variable = { temp_opinion = 5 } change_landowners_opinion = yes set_temp_variable = { treasury_change = 15 } modify_treasury_effect = yes set_temp_variable = { temp_opinion = 10 } change_small_medium_business_owners_opinion = yes increase_economic_growth = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_the_new_cuba icon = newcubademcastro x = 1 y = 1 relative_position_id = CUB_business_for_all cost = 5 prerequisite = { focus = CUB_business_for_all } prerequisite = { focus = CUB_police_influence } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_the_new_cuba" add_ideas = CUB_idea_new_cuba } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_police_influence icon = reducepoliceinfluencecubadem x = 2 y = 1 relative_position_id = CUB_guantanamo_que cost = 7 prerequisite = { focus = CUB_guantanamo_que } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_police_influence" decrease_policing_budget = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_parthership_with_usa icon = align_to_america x = 4 y = 1 relative_position_id = CUB_guantanamo_que cost = 10 prerequisite = { focus = CUB_guantanamo_que } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = USA NOT = { has_war_with = USA } } bypass = { OR = { NOT = { country_exists = USA } has_war_with = USA } western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_parthership_with_usa" add_ideas = USA_usaid } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_cooperation_with_taiwan icon = align_to_taiwan x = -1 y = 1 relative_position_id = CUB_parthership_with_usa cost = 10 prerequisite = { focus = CUB_parthership_with_usa } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes country_exists = TAI NOT = { has_war_with = TAI } } bypass = { OR = { NOT = { country_exists = TAI } has_war_with = TAI } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cooperation_with_taiwan" TAI = { add_opinion_modifier = { target = CUB modifier = improve_trade } } CUB = { add_opinion_modifier = { target = TAI modifier = improve_trade } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_recognize_taiwan_as_china icon = china x = 1 y = 1 relative_position_id = CUB_parthership_with_usa cost = 10 prerequisite = { focus = CUB_parthership_with_usa } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes country_exists = TAI NOT = { has_war_with = TAI } country_exists = CHI } bypass = { OR = { NOT = { OR = { country_exists = TAI country_exists = CHI } } has_war_with = TAI } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_recognize_taiwan_as_china" CHI = { add_opinion_modifier = { target = CUB modifier = criticized_us } } TAI = { add_opinion_modifier = { target = CUB modifier = supports_us } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_support_venezuellas_opposition icon = democracy_venez x = 2 y = 1 relative_position_id = CUB_recognize_taiwan_as_china cost = 6.5 prerequisite = { focus = CUB_recognize_taiwan_as_china } search_filters = { FOCUS_FILTER_INFLUENCE } available = { western_autocrats_are_in_power = yes VEN = { NOT = { is_subject_of = CUB } NOT = { has_government = democratic } NOT = { is_in_faction_with = CUB } } country_exists = VEN NOT = { has_war_with = VEN } } bypass = { VEN = { is_subject_of = CUB has_government = democratic is_in_faction_with = CUB } OR = { NOT = { country_exists = VEN } has_war_with = VEN } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_support_venezuellas_opposition" set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = VEN } change_influence_percentage = yes VEN = { add_popularity = { ideology = democratic popularity = 0.10 } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_kill_last_dictator icon = killlastdictatorcuba x = 0 y = 1 relative_position_id = CUB_support_venezuellas_opposition cost = 10 prerequisite = { focus = CUB_support_venezuellas_opposition } search_filters = { FOCUS_FILTER_INFLUENCE } available = { VEN = { influence_higher_40 = yes } western_autocrats_are_in_power = yes VEN = { NOT = { is_subject_of = CUB } NOT = { has_government = democratic } NOT = { is_in_faction_with = CUB } } country_exists = VEN NOT = { has_war_with = VEN } } bypass = { VEN = { is_subject_of = CUB has_government = democratic is_in_faction_with = CUB } OR = { NOT = { country_exists = VEN } has_war_with = VEN } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_kill_last_dictator" custom_effect_tooltip = CUB_start_democratic_venezuellas hidden_effect = { VEN = { set_temp_variable = { party_index = 3 } set_temp_variable = { party_popularity_increase = 0.45 } set_temp_variable = { temp_outlook_increase = 0.45 } change_relative_party_popularity = yes hidden_effect = { set_temp_variable = { rul_party_temp = 3 } change_ruling_party_effect = yes } start_civil_war = { ideology = communism keep_political_leader = yes keep_political_party_members = yes size = 0.35 } } } VEN = { country_event = { id = cuba.53 days = 1 } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_cooperation_with_EU icon = align_to_europe x = 2 y = 1 relative_position_id = CUB_cooperation_with_taiwan cost = 5 prerequisite = { focus = CUB_cooperation_with_taiwan focus = CUB_recognize_taiwan_as_china } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes EU_european_union_currently_exists = yes } bypass = { EU_european_union_currently_exists = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cooperation_with_EU" if = { limit = { NOT = { has_global_flag = GAME_RULE_eu_disabled } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } add_opinion_modifier = { target = ROOT modifier = improve_trade } reverse_add_opinion_modifier = { target = ROOT modifier = improve_trade } add_opinion_modifier = { target = ROOT modifier = european_commitment } reverse_add_opinion_modifier = { target = ROOT modifier = european_commitment } } } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_nato_standarts icon = nato_nation x = 0 y = 1 relative_position_id = CUB_cooperation_with_taiwan cost = 5 prerequisite = { focus = CUB_cooperation_with_taiwan focus = CUB_recognize_taiwan_as_china } search_filters = { FOCUS_FILTER_MILITARY_LAWS } available = { western_autocrats_are_in_power = yes NATO_currently_exists = yes } bypass = { NATO_currently_exists = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_nato_standarts" add_ideas = CUB_idea_nato_standards } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_cuba_nato_exercises icon = Strike_NATO_new6 x = 1 y = 1 relative_position_id = CUB_nato_standarts cost = 10 prerequisite = { focus = CUB_nato_standarts } prerequisite = { focus = CUB_cooperation_with_EU } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes NATO_currently_exists = yes } bypass = { NATO_currently_exists = no } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cuba_nato_exercises" for_each_scope_loop = { array = global.nato_members tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } add_opinion_modifier = { target = ROOT modifier = military_cooperation } reverse_add_opinion_modifier = { target = ROOT modifier = military_cooperation } } } news_event = { hours = 6 id = cuba_news.29 } give_military_access = USA } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_change icon = CUB_castrobrothers x = -3 y = 1 relative_position_id = CUB_ban_opposition cost = 7 prerequisite = { focus = CUB_ban_opposition focus = CUB_cpc_reforms focus = CUB_castroism } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes date > 2006.7.31 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_change" swap_ideas = { remove_idea = CUB_cpc_bad add_idea = CUB_cpc_good } add_ideas = CUB_castros_new_idea country_event = cuba.11 } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_prisoners icon = ITA_Focus_Prisoners_Rights x = 1 y = 1 relative_position_id = CUB_change cost = 5 prerequisite = { focus = CUB_change } search_filters = { FOCUS_FILTER_POLITICAL } available = { neutrality_neutral_communism_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_prisoners" swap_ideas = { remove_idea = CUB_castros_new_idea add_idea = CUB_rauls_second_stage } news_event = { id = cuba_news.62 hours = 6 } hidden_effect = { set_temp_variable = { party_popularity_increase = 0.07 } change_relative_party_popularity = yes add_stability = 0.02 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_migrants_problem icon = blr_migrant_crisis x = 0 y = 1 relative_position_id = CUB_prisoners cost = 7 prerequisite = { focus = CUB_prisoners } search_filters = { FOCUS_FILTER_POLITICAL } available = { neutrality_neutral_communism_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_migrants_problem" set_temp_variable = { party_popularity_increase = 0.07 } change_relative_party_popularity = yes swap_ideas = { remove_idea = CUB_rauls_second_stage add_idea = CUB_rauls_third_refs } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_raul_in_power icon = CUB_raulcaro x = 1 y = 1 relative_position_id = CUB_migrants_problem cost = 5 prerequisite = { focus = CUB_meet_with_putin } prerequisite = { focus = CUB_migrants_problem } mutually_exclusive = { focus = CUB_Miguel_Mario_Diaz } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_autocrats_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_raul_in_power" custom_effect_tooltip = raul_strenght_power_tt set_temp_variable = { party_index = 19 } set_temp_variable = { party_popularity_increase = 0.04 } change_relative_party_popularity = yes add_war_support = 0.04 add_stability = 0.03 add_political_power = 120 } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_small_privatizaion icon = economic_privatisation x = 0 y = 1 relative_position_id = CUB_raul_in_power cost = 8 prerequisite = { focus = CUB_raul_in_power } search_filters = { FOCUS_FILTER_INTERNAL_FACTION } available = { neutrality_neutral_communism_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_small_privatizaion" random_owned_controlled_state = { if = { limit = { industrial_complex > 0 } remove_building = { type = industrial_complex level = 1 } } } set_temp_variable = { temp_opinion = 3 } change_communist_cadres_opinion = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_parlament icon = generic_one_party x = 0 y = 1 relative_position_id = CUB_small_privatizaion cost = 5 prerequisite = { focus = CUB_small_privatizaion } search_filters = { FOCUS_FILTER_POLITICAL } available = { neutrality_neutral_communism_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_parlament" custom_effect_tooltip = CUB_parlament_one add_stability = 0.04 } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_rohel icon = rohelcasecubaicon x = 1 y = 1 relative_position_id = CUB_parlament cost = 10 prerequisite = { focus = CUB_parlament } search_filters = { FOCUS_FILTER_CORRUPTION } available = { neutrality_neutral_communism_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_rohel" country_event = cuba.15 } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_expand_police icon = policereformscuba x = 0 y = 1 relative_position_id = CUB_rohel cost = 10 prerequisite = { focus = CUB_rohel } search_filters = { FOCUS_FILTER_POLITICAL } available = { neutrality_neutral_communism_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_police" increase_policing_budget = yes add_political_power = 150 add_war_support = 0.03 add_popularity = { ideology = neutrality popularity = 0.05 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_police_exp icon = expnadpoliceinfcuba x = 0 y = 1 relative_position_id = CUB_friends_in_power cost = 7 prerequisite = { focus = CUB_friends_in_power } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_police_exp" increase_policing_budget = yes add_political_power = 150 add_war_support = 0.03 set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.025 } change_relative_party_popularity = yes add_manpower = 1500 } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_cpc_new_people icon = CUB_newcommunist x = -2 y = 1 relative_position_id = CUB_friends_in_power cost = 5 prerequisite = { focus = CUB_friends_in_power } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cpc_new_people" add_ideas = CUB_youth_castro_organisation } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_cdrs icon = builder_of_the_red_army x = 0 y = 1 relative_position_id = CUB_cpc_new_people cost = 5 prerequisite = { focus = CUB_cpc_new_people } prerequisite = { focus = CUB_put_natoinalist_in_jail } prerequisite = { focus = CUB_police_exp } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cdrs" add_ideas = CUB_cdr } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_cpc_reforms icon = CUB_cpcreforms x = 0 y = 1 relative_position_id = CUB_cdrs cost = 5 prerequisite = { focus = CUB_cdrs } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cpc_reforms" swap_ideas = { remove_idea = CUB_cpc_idea1 add_idea = CUB_cpc_bad } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } modifier = { factor = 3 has_idea = CUB_cpc_idea1 } } } focus = { id = CUB_com_party_dominance icon = Leftist_Stuff_III x = 0 y = 1 relative_position_id = CUB_put_natoinalist_in_jail cost = 5 prerequisite = { focus = CUB_put_natoinalist_in_jail } prerequisite = { focus = CUB_police_exp } prerequisite = { focus = CUB_cpc_new_people } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { add_stability = 0.05 log = "[GetDateText]: [Root.GetName]: Focus CUB_com_party_dominance" set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes add_popularity = { ideology = democratic popularity = -0.02 } add_popularity = { ideology = neutrality popularity = -0.02 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_christianity icon = preaching x = -1 y = 1 relative_position_id = CUB_parlament cost = 5 prerequisite = { focus = CUB_parlament } search_filters = { FOCUS_FILTER_POLITICAL } available = { neutrality_neutral_communism_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_christianity" add_political_power = 50 add_stability = 0.03 set_temp_variable = { party_index = 20 } set_temp_variable = { party_popularity_increase = 0.06 } change_relative_party_popularity = yes country_event = cuba.16 } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_economic_low icon = Focus_SOV_To_Get_Rich x = 0 y = 1 relative_position_id = CUB_christianity cost = 10 prerequisite = { focus = CUB_christianity } search_filters = { FOCUS_FILTER_POLITICAL } available = { neutrality_neutral_communism_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_economic_low" increase_economic_growth = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_castroism icon = CUB_castroismdgd x = 0 y = 1 relative_position_id = CUB_com_party_dominance cost = 5 prerequisite = { focus = CUB_com_party_dominance } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_castroism" add_ideas = CUB_idea_castroism } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_rauls_modernization icon = communist_factories x = 2 y = 1 relative_position_id = CUB_ban_opposition cost = 8 prerequisite = { focus = CUB_ban_opposition focus = CUB_cpc_reforms focus = CUB_castroism } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_rauls_modernization" add_ideas = CUB_rauls_four_reforms } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_expand_ETECSA icon = etescacuba x = 0 y = 1 relative_position_id = CUB_rauls_modernization cost = 5 prerequisite = { focus = CUB_rauls_modernization } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } CUB = { has_tech = internet2 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_ETECSA" one_random_network_infrastructure = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 5 check_variable = { overall_productivity < 800 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_expand_private_sector icon = market_economy x = -1 y = 1 relative_position_id = CUB_expand_ETECSA cost = 10 prerequisite = { focus = CUB_expand_ETECSA } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_private_sector" swap_ideas = { remove_idea = CUB_rauls_four_reforms add_idea = CUB_rauls_actualisation_begin } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_selling_houses_cars icon = middle_class_focus x = 1 y = 1 relative_position_id = CUB_expand_ETECSA cost = 10 prerequisite = { focus = CUB_expand_ETECSA } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_selling_houses_cars" swap_ideas = { remove_idea = CUB_rauls_four_reforms add_idea = CUB_rauls_actual_finishing } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH } } } } focus = { id = CUB_meet_with_obama icon = USA_obama_prism x = -1 y = 1 relative_position_id = CUB_change cost = 5 prerequisite = { focus = CUB_change } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = USA NOT = { has_war_with = USA } neutrality_neutral_communism_are_in_power = yes } bypass = { OR = { NOT = { country_exists = USA } has_war_with = USA } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_meet_with_obama" add_opinion_modifier = { modifier = peace_talks target = USA } reverse_add_opinion_modifier = { modifier = peace_talks target = USA } news_event = { id = cuba_news.59 hours = 6 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_meet_with_putin icon = SOV_putin_dictator x = 0 y = 1 relative_position_id = CUB_meet_with_obama cost = 5 prerequisite = { focus = CUB_meet_with_obama } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = SOV NOT = { has_war_with = SOV } neutrality_neutral_communism_are_in_power = yes } bypass = { OR = { NOT = { country_exists = SOV } has_war_with = SOV } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_meet_with_putin" add_opinion_modifier = { target = SOV modifier = declaration_of_friendship } SOV = { add_opinion_modifier = { target = ROOT modifier = declaration_of_friendship } } news_event = { id = cuba_news.60 hours = 6 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } } } focus = { id = CUB_new_cuban_constituation icon = newcubanconstitutioncuba x = 1 y = 2 relative_position_id = CUB_economic_low cost = 10 prerequisite = { focus = CUB_economic_low focus = CUB_expand_police focus = CUB_new_dictatorship focus = CUB_controlling_oposition } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_cuban_constituation" remove_ideas = CUB_cpc_good country_event = cuba.10 add_ideas = CUB_const_communist_idea } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_mobilize_youth icon = mobilizeyoungpeoplecub x = 1 y = 1 relative_position_id = CUB_new_cuban_constituation cost = 5 prerequisite = { focus = CUB_new_cuban_constituation } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_mobilize_youth" add_manpower = 5000 add_political_power = 50 set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_increase_minimum_wage icon = blr_collectivism x = -1 y = 1 relative_position_id = CUB_mobilize_youth cost = 7 prerequisite = { focus = CUB_mobilize_youth } prerequisite = { focus = CUB_5_years_economy_plan } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_increase_minimum_wage" increase_social_spending = yes set_temp_variable = { temp_opinion = 5 } change_labour_unions_opinion = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_increase_farmers icon = blr_support_of_the_worker x = -3 y = 1 relative_position_id = CUB_mobilize_youth cost = 5 prerequisite = { focus = CUB_mobilize_youth } prerequisite = { focus = CUB_5_years_economy_plan } search_filters = { FOCUS_FILTER_INTERNAL_FACTION } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_increase_farmers" add_political_power = 150 set_temp_variable = { temp_opinion = 5 } change_farmers_opinion = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_alba_creation icon = formalbacuba x = -6 y = 1 relative_position_id = CUB_mobilize_youth cost = 7 prerequisite = { focus = CUB_mobilize_youth } prerequisite = { focus = CUB_5_years_economy_plan } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_alba_creation" VEN = { country_event = { id = cuba.17 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_ideas = CUB_alba_idea VEN = { add_ideas = CUB_alba_idea } } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_usa_presense icon = usa x = -1 y = 1 relative_position_id = CUB_alba_creation cost = 7 prerequisite = { focus = CUB_alba_creation } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = USA OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } bypass = { NOT = { country_exists = USA } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_usa_presense" add_war_support = 0.05 add_stability = 0.02 USA = { add_opinion_modifier = { target = CUB modifier = criticized_us } } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_israel icon = menorah x = 1 y = 1 relative_position_id = CUB_alba_creation cost = 7 prerequisite = { focus = CUB_alba_creation } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = ISR OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } bypass = { NOT = { country_exists = ISR } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_israel" add_political_power = 150 ISR = { add_opinion_modifier = { target = CUB modifier = criticized_us } } PAL = { add_opinion_modifier = { target = CUB modifier = supports_us } } PER = { add_opinion_modifier = { target = CUB modifier = supports_us } } SAU = { add_opinion_modifier = { target = CUB modifier = supports_us } } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_support_eacu icon = eaeu_union_icon x = -1 y = 1 relative_position_id = CUB_usa_presense cost = 7 prerequisite = { focus = CUB_usa_presense } prerequisite = { focus = CUB_israel } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_support_eacu" news_event = { hours = 6 id = cuba_news.24 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_military_coop_with_rus icon = { union_state_weapon = { SOV = { has_cosmetic_tag = BLR_UNS_Communism } } blr_russian_weapon_deal = yes } x = 0 y = 1 relative_position_id = CUB_support_eacu cost = 5 prerequisite = { focus = CUB_support_eacu } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_LAWS } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } country_exists = SOV NOT = { has_war_with = SOV } } bypass = { OR = { NOT = { country_exists = SOV } has_war_with = SOV } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_military_coop_with_rus" CUB = { add_equipment_to_stockpile = { type = medium_tank_amphibious_chassis_1 amount = 150 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_chassis_1 amount = 100 producer = SOV } add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 6000 producer = SOV } if = { limit = { SOV = { has_cosmetic_tag = BLR_UNS_Communism } } add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 1000 producer = BLR } add_equipment_to_stockpile = { type = medium_tank_amphibious_chassis_1 amount = 55 producer = BLR } } } add_opinion_modifier = { target = SOV modifier = military_cooperation } SOV = { add_opinion_modifier = { target = CUB modifier = military_cooperation } } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_venesuella_brothers icon = align_to_venezuela x = 3 y = 1 relative_position_id = CUB_usa_presense cost = 5 prerequisite = { focus = CUB_usa_presense } prerequisite = { focus = CUB_israel } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } country_exists = VEN NOT = { has_war_with = VEN } } bypass = { OR = { NOT = { country_exists = VEN } has_war_with = VEN } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_venesuella_brothers" add_opinion_modifier = { target = VEN modifier = declaration_of_friendship } VEN = { add_opinion_modifier = { target = ROOT modifier = declaration_of_friendship } } set_temp_variable = { percent_change = 7 } change_domestic_influence_percentage = yes set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.025 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_venesuella_defence icon = defencewithvenezuelacuba x = 0 y = 1 relative_position_id = CUB_venesuella_brothers cost = 7 prerequisite = { focus = CUB_venesuella_brothers } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } country_exists = VEN NOT = { has_war_with = VEN } } bypass = { OR = { NOT = { country_exists = VEN } has_war_with = VEN } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_venesuella_defence" add_timed_idea = { idea = CUB_prepare_for_worst_idea days = 1000 } VEN = { add_timed_idea = { idea = CUB_prepare_for_worst_idea days = 1000 } } CUB = { diplomatic_relation = { country = VEN relation = guarantee active = yes } } VEN = { diplomatic_relation = { country = CUB relation = guarantee active = yes } } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_expand_economic_trade icon = prc_sign x = 1 y = 1 relative_position_id = CUB_usa_presense cost = 10 prerequisite = { focus = CUB_usa_presense } prerequisite = { focus = CUB_israel } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } country_exists = CHI NOT = { has_war_with = CHI } } bypass = { OR = { NOT = { country_exists = CHI } has_war_with = CHI } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_economic_trade" CHI = { add_opinion_modifier = { target = ROOT modifier = economic_mission } reverse_add_opinion_modifier = { target = ROOT modifier = economic_mission } } one_random_industrial_complex = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_under_china_protection icon = align_to_china x = 0 y = 1 relative_position_id = CUB_expand_economic_trade cost = 10 prerequisite = { focus = CUB_expand_economic_trade } search_filters = { FOCUS_FILTER_POLITICAL } available = { CHI = { has_opinion = { target = CUB value > 30 } } country_exists = CHI NOT = { has_war_with = CHI } OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } bypass = { OR = { NOT = { country_exists = CHI } has_war_with = CHI } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_under_china_protection" CHI = { country_event = { id = cuba.25 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { CHI = { give_guarantee = CUB } } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_guantanamo_question icon = cuba_guantanamo_question x = 0 y = 1 relative_position_id = CUB_under_china_protection cost = 7 prerequisite = { focus = CUB_military_coop_with_rus focus = CUB_under_china_protection focus = CUB_venesuella_defence } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE FOCUS_FILTER_ANNEXATION } available = { log = "[GetDateText]: [Root.GetName]: Focus CUB_guantanamo_question" OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } USA = { owns_state = 424 } NOT = { CUB = { owns_state = 424 } } } bypass = { CUB = { owns_state = 424 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_guantanamo_question" USA = { country_event = { id = cuba.14 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_state_core = 424 transfer_state = 424 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_the_new_education_system icon = Communist_Education x = 0 y = 1 relative_position_id = CUB_increase_farmers cost = 5 prerequisite = { focus = CUB_increase_farmers } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_the_new_education_system" increase_education_budget = yes add_popularity = { ideology = communism popularity = 0.05 } set_temp_variable = { party_popularity_increase = 0.03 } change_relative_party_popularity = yes add_political_power = 120 } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_nationalize_foreign_business icon = communism16 x = 0 y = 1 relative_position_id = CUB_increase_minimum_wage cost = 10 prerequisite = { focus = CUB_increase_minimum_wage } search_filters = { FOCUS_FILTER_INDUSTRY } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_nationalize_foreign_business" set_temp_variable = { percent_change = 10 } change_domestic_influence_percentage = yes one_random_industrial_complex = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_anti_lgbt_pos icon = anti_lgbt x = 29 y = 1 relative_position_id = CUB_cuban_politics cost = 5 prerequisite = { focus = CUB_cuban_politics } mutually_exclusive = { focus = CUB_pro_lgbt_pos } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_anti_lgbt_pos" add_ideas = CUB_anti_lgbtqa_idea } ai_will_do = { base = 50 modifier = { factor = 150 OR = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_pro_lgbt_pos icon = pro_lgbt x = 27 y = 1 relative_position_id = CUB_cuban_politics cost = 5 prerequisite = { focus = CUB_cuban_politics } mutually_exclusive = { focus = CUB_anti_lgbt_pos } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes western_autocrats_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_pro_lgbt_pos" add_ideas = CUB_pro_lgbt_idea_comu } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_PRO_WESTERN_REFORM_FOCUS_PATH has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } } modifier = { factor = 0 OR = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH has_global_flag = CUB_NATIONALIST_FOCUS_PATH } } } } focus = { id = CUB_millitarism icon = army_mobilisation x = 2 y = 1 relative_position_id = CUB_mobilize_youth cost = 6.5 prerequisite = { focus = CUB_mobilize_youth } prerequisite = { focus = CUB_5_years_economy_plan } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_millitarism" add_political_power = 100 add_war_support = 0.04 set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_soviet_legacy icon = Russian_civil_war x = 1 y = 1 relative_position_id = CUB_millitarism cost = 5 prerequisite = { focus = CUB_millitarism } search_filters = { FOCUS_FILTER_POLITICAL } available = { country_exists = SOV NOT = { has_war_with = SOV } OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } bypass = { OR = { NOT = { country_exists = SOV } has_war_with = SOV } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_soviet_legacy" set_temp_variable = { party_index = 4 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes set_temp_variable = { party_index = 19 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes SOV = { add_opinion_modifier = { target = CUB modifier = historic_friends } } CUB = { add_opinion_modifier = { target = SOV modifier = historic_friends } } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_create_patrioitc_schools icon = creaepatoicschools x = -1 y = 1 relative_position_id = CUB_millitarism cost = 10 prerequisite = { focus = CUB_millitarism } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_create_patrioitc_schools" increase_officer_training_level = yes set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_cuban_communsim icon = cubancommunismcuba x = -2 y = 1 relative_position_id = CUB_create_patrioitc_schools cost = 10 prerequisite = { focus = CUB_create_patrioitc_schools } prerequisite = { focus = CUB_nationalize_foreign_business } prerequisite = { focus = CUB_the_new_education_system } prerequisite = { focus = CUB_soviet_legacy } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cuban_communsim" add_ideas = CUB_communism_idea } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } focus = { id = CUB_5_years_economy_plan icon = five_year_plan x = -1 y = 1 relative_position_id = CUB_new_cuban_constituation cost = 7 prerequisite = { focus = CUB_new_cuban_constituation } search_filters = { FOCUS_FILTER_INDUSTRY } available = { OR = { neutrality_neutral_communism_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_5_years_economy_plan" increase_economic_growth = yes add_timed_idea = { idea = CUB_5_years_plans_idea days = 1825 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { is_historical_focus_on = yes has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 has_global_flag = CUB_AI_PATH_SET NOT = { OR = { has_global_flag = CUB_HISTORICAL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } } } } #Miguel_Mario_Diaz focus = { id = CUB_Miguel_Mario_Diaz icon = CUB_migel x = -5 y = 1 relative_position_id = CUB_migrants_problem cost = 3 prerequisite = { focus = CUB_meet_with_putin } prerequisite = { focus = CUB_migrants_problem } mutually_exclusive = { focus = CUB_raul_in_power } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_autocrats_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_Miguel_Mario_Diaz" hidden_effect = { set_temp_variable = { rul_party_temp = 0 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes recalculate_party = yes set_temp_variable = { party_index = 19 } set_temp_variable = { add_col_one = 19 } add_coalition_members_effect = yes set_temp_variable = { party_index = 4 } set_temp_variable = { add_col_one = 4 } add_coalition_members_effect = yes set_temp_variable = { party_index = 0 } unban_party_scripted_call = yes create_country_leader = { name = "Miguel Diaz Canel" picture = "miguel_diaz_canel.dds" ideology = liberalism traits = { western_Western_Autocracy neutrality_oligarchism party_trait_social_democrat honest } } } news_event = { id = cuba_news.61 hours = 6 } } ai_will_do = { base = 50 modifier = { factor = 150 OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_castro_support icon = honorcastrocuba x = -1 y = 1 relative_position_id = CUB_Miguel_Mario_Diaz cost = 5 prerequisite = { focus = CUB_Miguel_Mario_Diaz } mutually_exclusive = { focus = CUB_say_about_castro } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_castro_support" add_ideas = CUB_dem_castroism } ai_will_do = { base = 50 modifier = { factor = 150 OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_say_about_castro icon = crushcastroism x = 1 y = 1 relative_position_id = CUB_Miguel_Mario_Diaz cost = 5 prerequisite = { focus = CUB_Miguel_Mario_Diaz } mutually_exclusive = { focus = CUB_castro_support } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_say_about_castro" add_ideas = CUB_idea_castroism_anti } ai_will_do = { base = 50 modifier = { factor = 150 OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_freedom_of_debate icon = Fight_for_Freedom x = 0 y = 1 relative_position_id = CUB_castro_support cost = 5 prerequisite = { focus = CUB_castro_support focus = CUB_say_about_castro } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_freedom_of_debate" add_political_power = 100 add_stability = 0.05 set_temp_variable = { party_index = 0 } set_temp_variable = { party_popularity_increase = 0.02 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_president icon = cubapresident x = 2 y = 1 relative_position_id = CUB_castro_support cost = 7 prerequisite = { focus = CUB_castro_support focus = CUB_say_about_castro } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_president" add_ideas = CUB_constitution_democracy } ai_will_do = { base = 50 modifier = { factor = 150 OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_new_leader icon = newcubanleadermugel x = -1 y = 1 relative_position_id = CUB_president cost = 5 prerequisite = { focus = CUB_freedom_of_debate } prerequisite = { focus = CUB_president } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_leader" add_country_leader_trait = new_cuban } ai_will_do = { base = 50 modifier = { factor = 150 OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } modifier = { factor = 0 NOT = { OR = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_bring_liberalism_to_cuba icon = democracy4 x = -3 y = 1 relative_position_id = CUB_new_leader cost = 5 prerequisite = { focus = CUB_new_leader } mutually_exclusive = { focus = CUB_new_socialism_ideas } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_bring_liberalism_to_cuba" swap_ideas = { remove_idea = CUB_idea_democratic_reforms add_idea = CUB_idea_democratic_reforms_continue } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_allow_elections icon = Generic_Woman x = -2 y = 1 relative_position_id = CUB_bring_liberalism_to_cuba cost = 5 prerequisite = { focus = CUB_bring_liberalism_to_cuba } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_allow_elections" hidden_effect = { enable_elections_with_no_leader_change = yes } custom_effect_tooltip = CUB_allow_elections_tt } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_censour icon = crushcensourcuba x = 0 y = 1 relative_position_id = CUB_bring_liberalism_to_cuba cost = 5 prerequisite = { focus = CUB_bring_liberalism_to_cuba } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_censour" hidden_effect = { set_temp_variable = { party_index = 0 } unban_party_scripted_call = yes set_temp_variable = { party_index = 1 } unban_party_scripted_call = yes set_temp_variable = { party_index = 2 } unban_party_scripted_call = yes set_temp_variable = { party_index = 15 } unban_party_scripted_call = yes set_temp_variable = { party_index = 19 } unban_party_scripted_call = yes set_temp_variable = { party_index = 20 } unban_party_scripted_call = yes set_temp_variable = { party_index = 21 } unban_party_scripted_call = yes } custom_effect_tooltip = CUB_allow_parties_tt } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_pro_lgbt_position icon = pro_lgbt x = 2 y = 1 relative_position_id = CUB_bring_liberalism_to_cuba cost = 5 prerequisite = { focus = CUB_bring_liberalism_to_cuba } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } bypass = { has_idea = CUB_pro_lgbt_idea_comu } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_pro_lgbt_position" add_ideas = CUB_pro_lgbtqa_idea } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_cuban_economic_miracle icon = blr_choose_democracy x = -1 y = 1 relative_position_id = CUB_censour cost = 10 prerequisite = { focus = CUB_pro_lgbt_position } prerequisite = { focus = CUB_allow_elections } prerequisite = { focus = CUB_censour } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cuban_economic_miracle" increase_economic_growth = yes set_temp_variable = { party_index = 0 } set_temp_variable = { party_popularity_increase = 0.025 } change_relative_party_popularity = yes add_political_power = 130 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_new_cuban_society icon = cubansocietymigel x = 1 y = 1 relative_position_id = CUB_censour cost = 7 prerequisite = { focus = CUB_pro_lgbt_position } prerequisite = { focus = CUB_allow_elections } prerequisite = { focus = CUB_censour } search_filters = { FOCUS_FILTER_POLITICAL } available = { western_autocrats_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_cuban_society" add_ideas = CUB_new_cuba } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_DIAZ_CANEL_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_new_socialism_ideas icon = Leftist_Stuff_II x = 2 y = 1 relative_position_id = CUB_new_leader cost = 3 prerequisite = { focus = CUB_new_leader } mutually_exclusive = { focus = CUB_bring_liberalism_to_cuba } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { neutrality_neutral_communism_are_in_power = yes western_autocrats_are_in_power = yes emerging_communist_state_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_socialism_ideas" hidden_effect = { set_temp_variable = { rul_party_temp = 4 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes recalculate_party = yes add_popularity = { ideology = communism popularity = 0.2 } create_country_leader = { name = "Miguel Diaz Canel" picture = "miguel_diaz_canel.dds" ideology = Communist-State traits = { technocrat communist_sympathizer } } } custom_effect_tooltip = CUB_miguel_comeback } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_new_dictatorship icon = purgesocial x = -1 y = 1 relative_position_id = CUB_new_socialism_ideas cost = 3 prerequisite = { focus = CUB_new_socialism_ideas } mutually_exclusive = { focus = CUB_controlling_oposition } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_dictatorship" add_stability = -0.05 add_popularity = { ideology = democratic popularity = -0.1 } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_controlling_oposition icon = revolutionary_government x = 1 y = 1 relative_position_id = CUB_new_socialism_ideas cost = 7 prerequisite = { focus = CUB_new_socialism_ideas } mutually_exclusive = { focus = CUB_new_dictatorship } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_controlling_oposition" add_popularity = { ideology = democratic popularity = 0.05 } add_stability = 0.05 set_temp_variable = { add_col_one = 2 } add_coalition_members_effect = yes set_temp_variable = { add_col_one = 3 } add_coalition_members_effect = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_trade_with_north icon = trade_with_north_korea x = -1 y = 1 relative_position_id = CUB_controlling_oposition cost = 7 prerequisite = { focus = CUB_new_dictatorship focus = CUB_controlling_oposition } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } available = { emerging_communist_state_are_in_power = yes country_exists = NKO NOT = { has_war_with = NKO } } bypass = { OR = { NOT = { country_exists = NKO } has_war_with = NKO } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_trade_with_north" NKO = { add_opinion_modifier = { target = ROOT modifier = improve_trade } CUB = { add_opinion_modifier = { target = NKO modifier = improve_trade } } set_temp_variable = { percent_change = 2 } change_influence_percentage = yes set_temp_variable = { percent_change = 2 } change_domestic_influence_percentage = yes } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_join_csto icon = army_csto x = -1 y = 1 relative_position_id = CUB_trade_with_north cost = 7 prerequisite = { focus = CUB_trade_with_north } mutually_exclusive = { focus = CUB_russian_bases } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes country_exists = SOV NOT = { has_war_with = SOV } is_subject = no SOV = { is_faction_leader = yes has_idea = CSTO_member } } bypass = { OR = { is_in_faction_with = SOV has_idea = CSTO_member } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_join_csto" if = { limit = { is_in_faction = yes } leave_faction = yes } SOV = { country_event = { id = CSTO.1 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { CSTO_join = yes } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_russian_bases icon = sov_wagner_teroborona x = 1 y = 1 relative_position_id = CUB_trade_with_north cost = 7 prerequisite = { focus = CUB_trade_with_north } mutually_exclusive = { focus = CUB_join_csto } search_filters = { FOCUS_FILTER_POLITICAL } available = { emerging_communist_state_are_in_power = yes country_exists = SOV NOT = { has_war_with = SOV } } bypass = { OR = { NOT = { country_exists = SOV } SOV = { has_military_access_to = CUB } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_russian_bases" SOV = { country_event = { id = cuba.72 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { SOV = { give_military_access = CUB give_guarantee = CUB } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NEW_SOCIALISM_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } #TESAK focus = { id = CUB_tesak_in_power icon = tesakiconone x = 41 y = 15 cost = 5 allow_branch = { has_game_rule = { rule = allow_fictional_content option = yes } } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_tesak_in_power" hidden_effect = { set_temp_variable = { rul_party_temp = 22 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes recalculate_party = yes } create_country_leader = { name = "Maxim Marcinkevich" picture = "maxim_marcinkevich.dds" ideology = Nat_Autocracy traits = { nationalist_Nat_Autocracy emotional likeable war_criminal interventionist } } } ai_will_do = { base = 50 modifier = { factor = 0 is_historical_focus_on = yes } modifier = { factor = 0 OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_loyal_police icon = cubaloyalpolice x = -1 y = 1 relative_position_id = CUB_tesak_in_power cost = 3 prerequisite = { focus = CUB_tesak_in_power } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_loyal_police" add_stability = 0.05 add_political_power = 140 } ai_will_do = { base = 50 } } focus = { id = CUB_loyal_military icon = loyalmilitarycubat x = 1 y = 1 relative_position_id = CUB_tesak_in_power cost = 3 prerequisite = { focus = CUB_tesak_in_power } search_filters = { FOCUS_FILTER_MILITARY_LAWS FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_loyal_military" army_experience = 20 add_stability = 0.05 set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.05 } change_relative_party_popularity = yes add_war_support = 0.05 } ai_will_do = { base = 50 modifier = { factor = 2 ai_is_threatened = yes } } } focus = { id = CUB_new_justice_constitution icon = cubatesakscons x = -1 y = 1 relative_position_id = CUB_loyal_military cost = 10 prerequisite = { focus = CUB_loyal_police } prerequisite = { focus = CUB_loyal_military } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_justice_constitution" increase_military_spending = yes increase_policing_budget = yes decrease_centralization = yes } ai_will_do = { base = 50 } } focus = { id = CUB_fight_with_lgbt icon = anti_lgbt x = -2 y = 1 relative_position_id = CUB_new_justice_constitution cost = 7 prerequisite = { focus = CUB_new_justice_constitution } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_fight_with_lgbt" add_ideas = CUB_anti_lgbtqa_idea } ai_will_do = { base = 50 } } focus = { id = CUB_revolution_support icon = cubancommunismcuba x = 0 y = 1 relative_position_id = CUB_new_justice_constitution cost = 5 prerequisite = { focus = CUB_new_justice_constitution } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_revolution_support" add_popularity = { ideology = communism popularity = 0.05 } add_stability = 0.05 add_political_power = 150 } ai_will_do = { base = 50 } } focus = { id = CUB_welfare_funds icon = generic_hospital2 x = 0 y = 1 relative_position_id = CUB_revolution_support cost = 5 prerequisite = { focus = CUB_revolution_support } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_welfare_funds" one_random_industrial_complex = yes } ai_will_do = { base = 50 modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_internet_propoganda icon = focus_youtube x = 0 y = 1 relative_position_id = CUB_welfare_funds cost = 3 prerequisite = { focus = CUB_welfare_funds } search_filters = { FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_internet_propoganda" set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = SOV } change_influence_percentage = yes set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = BLR } change_influence_percentage = yes set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = UKR } change_influence_percentage = yes set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = KAZ } change_influence_percentage = yes } ai_will_do = { base = 50 } } focus = { id = CUB_regional_influence icon = recover_latin_america x = 2 y = 1 relative_position_id = CUB_new_justice_constitution cost = 7 prerequisite = { focus = CUB_new_justice_constitution } search_filters = { FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_regional_influence" set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = VEN } change_influence_percentage = yes set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = DOM } change_influence_percentage = yes set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = MEX } change_influence_percentage = yes set_temp_variable = { percent_change = 2.5 } set_temp_variable = { influence_target = HAI } change_influence_percentage = yes } ai_will_do = { base = 50 } } focus = { id = CUB_root_out_liberals icon = anti_democracy2 x = 1 y = 1 relative_position_id = CUB_regional_influence cost = 3 prerequisite = { focus = CUB_regional_influence } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_root_out_liberals" set_temp_variable = { party_index = 16 } ban_party_scripted_call = yes } ai_will_do = { base = 50 } } focus = { id = CUB_navalny icon = navalnycuba x = 1 y = 1 relative_position_id = CUB_root_out_liberals cost = 5 prerequisite = { focus = CUB_root_out_liberals } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_navalny" custom_effect_tooltip = leha_where_are_you hidden_effect = { if = { limit = { SOV = { has_idea = corruption_level_10 check_variable = { influence_array^0 = CUB } } } CUB = { country_event = { id = cuba.33 days = 1 } } else = { CUB = { country_event = { id = cuba.34 days = 1 } } } } } } ai_will_do = { base = 50 } } focus = { id = CUB_ateism_as_state_religion icon = blr_state_atheism x = -1 y = 1 relative_position_id = CUB_fight_with_lgbt cost = 7 prerequisite = { focus = CUB_fight_with_lgbt } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ateism_as_state_religion" swap_ideas = { remove_idea = christian add_idea = DEN_idea_state_atheism } } ai_will_do = { base = 50 } } focus = { id = CUB_root_out_coruption icon = espionage x = -1 y = 1 relative_position_id = CUB_ateism_as_state_religion cost = 10 prerequisite = { focus = CUB_ateism_as_state_religion } search_filters = { FOCUS_FILTER_POLITICAL } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_root_out_coruption" decrease_corruption = yes } ai_will_do = { base = 50 } } focus = { id = CUB_intervention_for_best icon = armoured_fist x = 3 y = 1 relative_position_id = CUB_root_out_coruption cost = 10 prerequisite = { focus = CUB_root_out_coruption } prerequisite = { focus = CUB_navalny } prerequisite = { focus = CUB_internet_propoganda } search_filters = { FOCUS_FILTER_POLITICAL } bypass = { has_idea = intervention_neo_imperialism } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_intervention_for_best" increase_intervention_law_effect = yes if = { limit = { NOT = { has_country_leader_with_trait = interventionist } } add_country_leader_trait = interventionist } } ai_will_do = { base = 50 } } focus = { id = CUB_save_venezuella icon = attack_venezuela x = 5 y = 1 relative_position_id = CUB_root_out_coruption cost = 7 prerequisite = { focus = CUB_root_out_coruption } prerequisite = { focus = CUB_navalny } prerequisite = { focus = CUB_internet_propoganda } will_lead_to_war_with = VEN search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_save_venezuella" set_temp_variable = { wargoal_on = VEN } set_temp_variable = { wargoal_type = 1 } add_threat_from_wargoal_effect = yes create_wargoal = { target = VEN type = liberate_wargoal } } ai_will_do = { base = 50 } } focus = { id = CUB_save_cis icon = cis_union x = -1 y = 1 relative_position_id = CUB_save_venezuella cost = 10 prerequisite = { focus = CUB_save_venezuella focus = CUB_intervention_for_best } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_save_cis" SOV = { decrease_corruption = yes } BLR = { decrease_corruption = yes } } ai_will_do = { base = 50 } } focus = { id = CUB_spain icon = attack_spain x = -2 y = 1 relative_position_id = CUB_save_cis cost = 7 prerequisite = { focus = CUB_save_cis } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } available = { SPR = { influence_higher_70 = yes NOT = { has_government = nationalist } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_spain" SPR = { start_civil_war = { ideology = nationalist keep_political_leader = yes keep_political_party_members = yes size = 0.35 } } } ai_will_do = { base = 50 } } focus = { id = CUB_ukraine icon = attack_ukraine x = 0 y = 1 relative_position_id = CUB_save_cis cost = 7 prerequisite = { focus = CUB_save_cis } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } available = { UKR = { influence_higher_70 = yes NOT = { has_government = nationalist } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ukraine" UKR = { start_civil_war = { ideology = nationalist keep_political_leader = yes keep_political_party_members = yes size = 0.35 } } } ai_will_do = { base = 50 } } focus = { id = CUB_kazahstan icon = attack_kazakhstan x = 2 y = 1 relative_position_id = CUB_save_cis cost = 7 prerequisite = { focus = CUB_save_cis } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INFLUENCE } available = { KAZ = { influence_higher_60 = yes NOT = { has_government = nationalist } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_kazahstan" KAZ = { start_civil_war = { ideology = nationalist keep_political_leader = yes keep_political_party_members = yes size = 0.35 } } } ai_will_do = { base = 50 } } #Nationalist branch focus = { id = CUB_nationalists icon = cubanationalists x = 11 y = 1 relative_position_id = CUB_cuban_politics cost = 2 prerequisite = { focus = CUB_cuban_politics } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_nationalists" if = { limit = { NOT = { check_variable = { ruling_party = 21 } } } set_temp_variable = { rul_party_temp = 21 } set_temp_variable = { disable_elections = 1 } change_ruling_party_effect = yes } set_temp_variable = { party_index = 21 } unban_party_scripted_call = yes set_temp_variable = { party_popularity_increase = 0.075 } set_temp_variable = { temp_outlook_increase = 0.075 } if = { limit = { check_variable = { ruling_party = 21 } } add_to_temp_variable = { party_popularity_increase = 0.025 } add_to_temp_variable = { temp_outlook_increase = 0.025 } } change_relative_party_popularity = yes news_event = { hours = 6 id = cuba_news.35 } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_mass_propoganda icon = cubanatiprop x = 0 y = 1 relative_position_id = CUB_nationalists cost = 3 prerequisite = { focus = CUB_nationalists } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_mass_propoganda" add_ideas = CUB_nationalist_idea1 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_decommunisation icon = anti_communism x = -3 y = 1 relative_position_id = CUB_mass_propoganda cost = 4 prerequisite = { focus = CUB_mass_propoganda } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_decommunisation" swap_ideas = { remove_idea = CUB_nationalist_idea1 add_idea = CUB_nationalist_politics } set_temp_variable = { party_index = 0 } ban_party_scripted_call = yes set_temp_variable = { party_index = 19 } ban_party_scripted_call = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_crush_castro icon = crushcastroism x = 0 y = 1 relative_position_id = CUB_decommunisation cost = 5 prerequisite = { focus = CUB_decommunisation } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_crush_castro" swap_ideas = { remove_idea = CUB_nationalist_politics add_idea = CUB_nationalist_politics_cont } set_temp_variable = { party_index = 4 } ban_party_scripted_call = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_police_reforms_nati icon = policenatio x = -2 y = 1 relative_position_id = CUB_crush_castro cost = 5 prerequisite = { focus = CUB_crush_castro } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_police_reforms_nati" increase_policing_budget = yes set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.025 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_teritorial_reforms icon = cubaterreforms x = 0 y = 1 relative_position_id = CUB_crush_castro cost = 7 prerequisite = { focus = CUB_crush_castro } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_teritorial_reforms" increase_centralization = yes swap_ideas = { remove_idea = CUB_nationalist_politics_cont add_idea = CUB_nationalist_politics_four } set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.025 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_the_new_education_system_nati icon = Sooty_Reich x = 2 y = 1 relative_position_id = CUB_crush_castro cost = 5 prerequisite = { focus = CUB_crush_castro } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_the_new_education_system_nati" increase_education_budget = yes set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.025 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_patriotism icon = newcubansocietydemcastro x = 3 y = 1 relative_position_id = CUB_mass_propoganda cost = 5 prerequisite = { focus = CUB_mass_propoganda } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_patriotism" add_ideas = CUB_patrotism_idea } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_militarism icon = developmilitarism x = -1 y = 1 relative_position_id = CUB_patriotism cost = 7 prerequisite = { focus = CUB_patriotism } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_militarism" swap_ideas = { remove_idea = CUB_patrotism_idea add_idea = CUB_militarism_idea } add_war_support = 0.07 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_new_standarts_of_edcuation_mil icon = focus_generic_fascist_propaganda x = 1 y = 1 relative_position_id = CUB_patriotism cost = 7 prerequisite = { focus = CUB_patriotism } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_standarts_of_edcuation_mil" increase_officer_training_level = yes set_temp_variable = { party_popularity_increase = 0.07 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_power_to_military icon = cubacooparmyn x = -3 y = 1 relative_position_id = CUB_new_standarts_of_edcuation_mil cost = 10 prerequisite = { focus = CUB_militarism } prerequisite = { focus = CUB_new_standarts_of_edcuation_mil } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_power_to_military" add_political_power = 150 add_stability = 0.04 add_war_support = 0.05 set_temp_variable = { party_index = 22 } set_temp_variable = { party_popularity_increase = 0.025 } change_relative_party_popularity = yes set_temp_variable = { add_col_one = 22 } add_coalition_members_effect = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_anti_coruption icon = BLR_Anti_Corruption x = 1 y = 1 relative_position_id = CUB_power_to_military cost = 10 prerequisite = { focus = CUB_foreign_legion } prerequisite = { focus = CUB_purchase_of_russian_equipment } prerequisite = { focus = CUB_power_to_military } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_anti_coruption" add_stability = 0.05 add_political_power = 150 decrease_corruption = yes set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.030 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_expand_youth_labour_army icon = expandyouthnati x = 3 y = 1 relative_position_id = CUB_power_to_military cost = 10 prerequisite = { focus = CUB_foreign_legion } prerequisite = { focus = CUB_purchase_of_russian_equipment } prerequisite = { focus = CUB_power_to_military } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes has_idea = CUB_youth_army } has_idea = CUB_youth_army } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_expand_youth_labour_army" add_ideas = CUB_youth_labour_nati_idea swap_ideas = { remove_idea = CUB_youth_army add_idea = CUB_youth_labour_nati_idea } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_increase_social icon = family x = -1 y = 2 relative_position_id = CUB_expand_youth_labour_army cost = 5 prerequisite = { focus = CUB_expand_youth_labour_army } prerequisite = { focus = CUB_anti_coruption } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes has_idea = CUB_youth_army } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_increase_social" increase_social_spending = yes set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.025 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_purchase_of_russian_equipment icon = { union_state_weapon = { SOV = { has_cosmetic_tag = BLR_UNS_Communism } } blr_russian_weapon_deal = yes } x = -1 y = 1 relative_position_id = CUB_new_standarts_of_edcuation_mil cost = 10 prerequisite = { focus = CUB_militarism } prerequisite = { focus = CUB_new_standarts_of_edcuation_mil } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_EXPENDITURE } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = SOV NOT = { has_war_with = SOV } } bypass = { OR = { NOT = { country_exists = SOV } has_war_with = SOV } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_purchase_of_russian_equipment" CUB = { add_equipment_to_stockpile = { type = medium_tank_amphibious_chassis_1 amount = 300 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_chassis_1 amount = 200 producer = SOV } add_equipment_to_stockpile = { type = infantry_weapons_1 amount = 10000 producer = SOV } } add_opinion_modifier = { target = SOV modifier = military_cooperation } SOV = { add_opinion_modifier = { target = CUB modifier = military_cooperation } } set_temp_variable = { treasury_change = -14 } modify_treasury_effect = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 0 check_variable = { interest_rate > 8 } } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_foreign_legion icon = army_mobilisation1 x = 1 y = 1 relative_position_id = CUB_new_standarts_of_edcuation_mil cost = 7 prerequisite = { focus = CUB_militarism } prerequisite = { focus = CUB_new_standarts_of_edcuation_mil } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_foreign_legion" set_temp_variable = { treasury_change = -2 } custom_effect_tooltip = cub_foreign_legion_TT modify_treasury_effect = yes hidden_effect = { division_template = { name = "Foreign Legion" is_locked = yes regiments = { Special_Forces = { x = 0 y = 0 } Special_Forces = { x = 0 y = 1 } } support = { L_Recce_Comp = { x = 0 y = 0 } } priority = 2 } random_owned_controlled_state = { limit = { ROOT = { has_full_control_of_state = PREV } } prioritize = { 855 } create_unit = { division = "name = \"Foreign Legion Battalion\" division_template = \"Foreign Legion\" start_experience_factor = 50.0" owner = CUB } } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_new_economic_politics icon = fast_inovations x = -1 y = 1 relative_position_id = CUB_the_new_education_system_nati cost = 5 prerequisite = { focus = CUB_police_reforms_nati } prerequisite = { focus = CUB_teritorial_reforms } prerequisite = { focus = CUB_the_new_education_system_nati } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_economic_politics" increase_economic_growth = yes set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.030 } change_relative_party_popularity = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_industry_expansion icon = factory_facto x = -3 y = 1 relative_position_id = CUB_the_new_education_system_nati cost = 7 prerequisite = { focus = CUB_police_reforms_nati } prerequisite = { focus = CUB_teritorial_reforms } prerequisite = { focus = CUB_the_new_education_system_nati } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_industry_expansion" one_random_industrial_complex = yes swap_ideas = { remove_idea = CUB_nationalist_politics_four add_idea = CUB_nationalist_politics_finish } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_purge_democrats icon = anti_democracy2 x = 2 y = 1 relative_position_id = CUB_industry_expansion cost = 7 prerequisite = { focus = CUB_new_economic_politics } prerequisite = { focus = CUB_industry_expansion } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_purge_democrats" add_popularity = { ideology = democratic popularity = -0.1 } set_temp_variable = { party_index = 21 } set_temp_variable = { party_popularity_increase = 0.025 } change_relative_party_popularity = yes add_stability = 0.03 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_anti_lgbt icon = anti_lgbt x = 0 y = 1 relative_position_id = CUB_industry_expansion cost = 5 prerequisite = { focus = CUB_industry_expansion } prerequisite = { focus = CUB_new_economic_politics } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } bypass = { has_idea = CUB_anti_lgbtqa_idea } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_anti_lgbt" add_ideas = CUB_anti_lgbtqa_idea_nati } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_form_coaltition_with_nationalist icon = focus_generic_fascist_uprising x = -1 y = 1 relative_position_id = CUB_purge_democrats cost = 5 prerequisite = { focus = CUB_purge_democrats } prerequisite = { focus = CUB_anti_lgbt } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_form_coaltition_with_nationalist" add_stability = 0.05 set_temp_variable = { add_col_one = 20 } add_coalition_members_effect = yes set_temp_variable = { add_col_one = 23 } add_coalition_members_effect = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_cuba_for_cubans icon = Ultranationalism x = -3 y = 1 relative_position_id = CUB_increase_social cost = 5 prerequisite = { focus = CUB_form_coaltition_with_nationalist } prerequisite = { focus = CUB_increase_social } search_filters = { FOCUS_FILTER_POLITICAL } available = { is_subject = no OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } custom_trigger_tooltip = { tooltip = CUB_has_updated_the_military_trigger_TT NOT = { OR = { has_idea = CUB_disorg_in_army_idea_1 has_idea = CUB_disorg_army_idea } } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cuba_for_cubans" create_faction_from_template = faction_template_greater_spanish_alliance } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_haiti icon = anti_fascist_revolution x = -3 y = 1 relative_position_id = CUB_cuba_for_cubans cost = 5 prerequisite = { focus = CUB_cuba_for_cubans } will_lead_to_war_with = HAI search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = HAI NOT = { has_war_with = HAI } HAI = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = HAI } has_war_with = HAI } HAI = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_haiti" set_temp_variable = { wargoal_on = HAI } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = HAI type = annex_everything } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_demand_dominicana icon = dominican x = 0 y = 1 relative_position_id = CUB_haiti cost = 5 prerequisite = { focus = CUB_haiti } will_lead_to_war_with = DOM search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = DOM NOT = { has_war_with = DOM } DOM = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = DOM } has_war_with = DOM } DOM = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_demand_dominicana" DOM = { country_event = { id = cuba.36 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_state_core = 862 transfer_state = 862 add_state_core = 861 transfer_state = 861 } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_annex_jamaica icon = annexjamaica x = 0 y = 1 relative_position_id = CUB_demand_dominicana cost = 5 prerequisite = { focus = CUB_demand_dominicana } will_lead_to_war_with = JAM search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = JAM NOT = { has_war_with = JAM } JAM = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = JAM } has_war_with = JAM } JAM = { is_subject_of = CUB } CUB = { owns_state = 858 } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_annex_jamaica" JAM = { country_event = { id = cuba.54 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_state_core = 858 transfer_state = 858 } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_seize_venezuella icon = attack_venezuela x = 1 y = 1 relative_position_id = CUB_cuba_for_cubans cost = 5 prerequisite = { focus = CUB_cuba_for_cubans } mutually_exclusive = { focus = CUB_friendship_with_venezuella } will_lead_to_war_with = VEN search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = VEN NOT = { has_war_with = VEN } VEN = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = VEN } has_war_with = VEN } VEN = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_seize_venezuella" set_temp_variable = { wargoal_on = VEN } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = VEN type = annex_everything } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_control_colombia icon = attack_colombia x = 0 y = 1 relative_position_id = CUB_seize_venezuella cost = 5 prerequisite = { focus = CUB_seize_venezuella } will_lead_to_war_with = COL search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = COL NOT = { has_war_with = COL } COL = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = COL } has_war_with = COL } COL = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_control_colombia" set_temp_variable = { wargoal_on = COL } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = COL type = annex_everything } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_panama_ours icon = ultimatum2 x = 0 y = 1 relative_position_id = CUB_control_colombia cost = 5 prerequisite = { focus = CUB_control_colombia } will_lead_to_war_with = PAN search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = PAN NOT = { has_war_with = PAN } PAN = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = PAN } has_war_with = PAN } PAN = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_panama_ours" set_temp_variable = { wargoal_on = PAN } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = PAN type = annex_everything } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_friendship_with_venezuella icon = align_to_venezuela x = -1 y = 1 relative_position_id = CUB_cuba_for_cubans cost = 5 prerequisite = { focus = CUB_cuba_for_cubans } mutually_exclusive = { focus = CUB_seize_venezuella } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = VEN NOT = { has_war_with = VEN } } bypass = { OR = { NOT = { country_exists = VEN } has_war_with = VEN } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_friendship_with_venezuella" add_opinion_modifier = { target = VEN modifier = declaration_of_friendship } VEN = { add_opinion_modifier = { target = ROOT modifier = declaration_of_friendship } } set_temp_variable = { percent_change = 5 } set_temp_variable = { influence_target = VEN } change_influence_percentage = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_invite_venesuells icon = formalbacuba x = 0 y = 1 relative_position_id = CUB_friendship_with_venezuella cost = 5 prerequisite = { focus = CUB_friendship_with_venezuella } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invite_venesuells" VEN = { country_event = { id = cuba.17 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { add_ideas = CUB_alba_idea VEN = { add_ideas = CUB_alba_idea } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_military_technical_cooperation icon = flag_venez x = 0 y = 1 relative_position_id = CUB_invite_venesuells cost = 5 prerequisite = { focus = CUB_invite_venesuells } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = VEN NOT = { has_war_with = VEN } } bypass = { OR = { NOT = { country_exists = VEN } has_war_with = VEN } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_military_technical_cooperation" add_ideas = CUB_prepare_for_worst_idea VEN = { add_ideas = CUB_prepare_for_worst_idea } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_annex_costa_rica icon = ultranationalist_volunteers x = 3 y = 1 relative_position_id = CUB_cuba_for_cubans cost = 5 prerequisite = { focus = CUB_cuba_for_cubans } will_lead_to_war_with = COS search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = COS NOT = { has_war_with = COS } COS = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = COS } has_war_with = COS } COS = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_annex_costa_rica" set_temp_variable = { wargoal_on = COS } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = COS type = annex_everything } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_demand_nicaragua_to_be_annexed icon = demand_territory3 x = 0 y = 1 relative_position_id = CUB_annex_costa_rica cost = 5 prerequisite = { focus = CUB_annex_costa_rica } will_lead_to_war_with = NIC search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } country_exists = NIC NOT = { has_war_with = NIC } NIC = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = NIC } has_war_with = NIC } NIC = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_demand_nicaragua_to_be_annexed" set_temp_variable = { wargoal_on = NIC } set_temp_variable = { wargoal_type = 2 } add_threat_from_wargoal_effect = yes create_wargoal = { target = NIC type = annex_everything } hidden_effect = { SPR = { country_event = { id = cuba.58 days = 1 } } MEX = { country_event = { id = cuba.58 days = 1 } } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_nationalist_revolutions icon = carlism x = 0 y = 1 relative_position_id = CUB_demand_nicaragua_to_be_annexed cost = 5 prerequisite = { focus = CUB_demand_nicaragua_to_be_annexed } search_filters = { FOCUS_FILTER_FOREIGN_POLICY FOCUS_FILTER_INFLUENCE } available = { SPR = { influence_higher_70 = yes } MEX = { influence_higher_70 = yes } country_exists = MEX country_exists = SPR MEX = { NOT = { has_government = nationalist } } SPR = { NOT = { has_government = nationalist } } OR = { nationalist_military_junta_are_in_power = yes nationalist_fascist_are_in_power = yes nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } bypass = { OR = { NOT = { country_exists = SPR } SPR = { has_government = nationalist } } OR = { NOT = { country_exists = MEX } MEX = { has_government = nationalist } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_nationalist_revolutions" SPR = { start_civil_war = { ideology = nationalist keep_political_leader = yes keep_political_party_members = yes size = 0.35 } } MEX = { start_civil_war = { ideology = nationalist keep_political_leader = yes keep_political_party_members = yes size = 0.35 } } hidden_effect = { SPR = { country_event = { id = cuba.53 days = 1 } } MEX = { country_event = { id = cuba.53 days = 1 } } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_NATIONALIST_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_NATIONALIST_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } #Democratic branch focus = { id = CUB_democratic_start icon = revivalofrpcub x = 23 y = 1 relative_position_id = CUB_cuban_politics cost = 5 prerequisite = { focus = CUB_cuban_politics } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_democratic_start" add_popularity = { ideology = democratic popularity = 0.03 } country_event = cuba.39 add_ideas = CUB_idea_democrats_in_power } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_wind_of_changes icon = focus_ARG_defense_and_democracy x = 0 y = 1 relative_position_id = CUB_democratic_start cost = 7 prerequisite = { focus = CUB_democratic_start } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_wind_of_changes" add_popularity = { ideology = democratic popularity = 0.05 } swap_ideas = { remove_idea = CUB_idea_democrats_in_power add_idea = CUB_idea_democrats_start_ref } add_ideas = CUB_old_system_protests } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_eliminate_nationalists icon = focus_generic_fascist_crush_workers x = -1 y = 1 relative_position_id = CUB_wind_of_changes cost = 10 prerequisite = { focus = CUB_wind_of_changes } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_eliminate_nationalists" set_temp_variable = { party_index = 21 } ban_party_scripted_call = yes add_popularity = { ideology = nationalist popularity = -0.05 } add_stability = 0.05 add_political_power = 130 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_decommunisation_society icon = anti_communism x = 1 y = 1 relative_position_id = CUB_wind_of_changes cost = 4 prerequisite = { focus = CUB_wind_of_changes } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_decommunisation_society" add_timed_idea = { idea = CUB_decommunisation days = 1825 } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_support_of_western_communists icon = supportprowestcomcuba x = 0 y = 1 relative_position_id = CUB_decommunisation_society cost = 10 prerequisite = { focus = CUB_decommunisation_society } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_support_of_western_communists" add_political_power = 150 add_stability = 0.04 set_temp_variable = { party_index = 0 } set_temp_variable = { party_popularity_increase = 0.025 } change_relative_party_popularity = yes set_temp_variable = { add_col_one = 0 } add_coalition_members_effect = yes add_popularity = { ideology = democratic popularity = 0.05 } hidden_effect = { set_temp_variable = { party_index = 0 } unban_party_scripted_call = yes } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_release_political_prisoners icon = break_free2 x = 0 y = 1 relative_position_id = CUB_eliminate_nationalists cost = 7 prerequisite = { focus = CUB_eliminate_nationalists } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_release_political_prisoners" add_popularity = { ideology = democratic popularity = 0.05 } add_political_power = 150 add_war_support = 0.04 add_stability = 0.04 set_temp_variable = { party_index = 16 } unban_party_scripted_call = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_republic_alive icon = democracy6 x = -1 y = 1 relative_position_id = CUB_support_of_western_communists cost = 5 prerequisite = { focus = CUB_release_political_prisoners } prerequisite = { focus = CUB_support_of_western_communists } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_republic_alive" add_popularity = { ideology = democratic popularity = 0.15 } swap_ideas = { remove_idea = CUB_idea_democrats_start_ref add_idea = CUB_idea_democrats_ref } custom_effect_tooltip = CUB_allow_elections_tt } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_new_constutition_reforms icon = cubaconsdemocraic x = -3 y = 1 relative_position_id = CUB_republic_alive cost = 5 prerequisite = { focus = CUB_republic_alive } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_constutition_reforms" add_popularity = { ideology = democratic popularity = 0.07 } remove_ideas = CUB_old_system_protests add_political_power = 125 add_stability = 0.04 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 3 has_idea = CUB_old_system_protests } } } focus = { id = CUB_reduce_burecracy_apparat icon = dangerous_laws x = 1 y = 1 relative_position_id = CUB_republic_alive cost = 5 prerequisite = { focus = CUB_republic_alive } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_reduce_burecracy_apparat" decrease_centralization = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_guarantee_multi_party_programm icon = multypartycuba x = 3 y = 1 relative_position_id = CUB_republic_alive cost = 5 prerequisite = { focus = CUB_republic_alive } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_guarantee_multi_party_programm" add_popularity = { ideology = democratic popularity = 0.1 } add_popularity = { ideology = neutrality popularity = 0.05 } add_stability = 0.04 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_lets_unite icon = liberal_par x = 0 y = 1 relative_position_id = CUB_guarantee_multi_party_programm cost = 5 prerequisite = { focus = CUB_guarantee_multi_party_programm } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_lets_unite" add_popularity = { ideology = democratic popularity = 0.15 } country_event = cuba.49 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_fight_against_corruption icon = blr_anti_corruption_law x = -1 y = 1 relative_position_id = CUB_republic_alive cost = 5 prerequisite = { focus = CUB_republic_alive } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_fight_against_corruption" decrease_corruption = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_demilitarize_minister icon = army_saper x = 1 y = 1 relative_position_id = CUB_fight_against_corruption cost = 5 prerequisite = { focus = CUB_fight_against_corruption } prerequisite = { focus = CUB_reduce_burecracy_apparat } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_demilitarize_minister" swap_ideas = { remove_idea = draft_army add_idea = partial_draft_army } decrease_military_spending = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_ally_church icon = focus_bible x = -1 y = 1 relative_position_id = CUB_new_constutition_reforms cost = 5 prerequisite = { focus = CUB_new_constutition_reforms } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ally_church" if = { limit = { has_idea = labour_unions } swap_ideas = { remove_idea = labour_unions add_idea = the_clergy } } add_popularity = { ideology = democratic popularity = 0.08 } add_stability = 0.05 } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_business icon = ano3 x = 1 y = 1 relative_position_id = CUB_new_constutition_reforms cost = 5 prerequisite = { focus = CUB_new_constutition_reforms } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_business" swap_ideas = { remove_idea = farmers add_idea = small_medium_business_owners } increase_economic_growth = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_cuban_liberalism icon = cuberaliberalism x = 0 y = 1 relative_position_id = CUB_demilitarize_minister cost = 5 prerequisite = { focus = CUB_demilitarize_minister } prerequisite = { focus = CUB_business } prerequisite = { focus = CUB_ally_church } prerequisite = { focus = CUB_lets_unite } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cuban_liberalism" decrease_policing_budget = yes swap_ideas = { remove_idea = CUB_idea_democrats_ref add_idea = CUB_idea_democrats_policiy } enable_elections_with_no_leader_change = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_memory_of_republic_leaders icon = cubahonorrep x = -5 y = 1 relative_position_id = CUB_cuban_liberalism cost = 5 prerequisite = { focus = CUB_cuban_liberalism } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_memory_of_republic_leaders" add_ideas = CUB_idea_memory add_popularity = { ideology = democratic popularity = 0.03 } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_end_blockade icon = align_to_america x = -1 y = 1 relative_position_id = CUB_cuban_liberalism cost = 5 prerequisite = { focus = CUB_cuban_liberalism } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = USA NOT = { has_war_with = USA } } bypass = { OR = { NOT = { country_exists = USA } has_war_with = USA } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_end_blockade" USA = { country_event = { id = cuba.43 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { remove_ideas = CUB_idea_blockade1 add_opinion_modifier = { target = USA modifier = supports_us } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 3 has_idea = CUB_idea_blockade1 } } } focus = { id = CUB_ask_for_us_protection icon = rooseveltcollary x = 0 y = 1 relative_position_id = CUB_end_blockade cost = 5 prerequisite = { focus = CUB_end_blockade } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = USA NOT = { has_war_with = USA } } bypass = { OR = { NOT = { country_exists = USA } has_war_with = USA } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_ask_for_us_protection" USA = { country_event = { id = cuba.63 days = 1 } } custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { USA = { give_guarantee = CUB give_military_access = CUB } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_destroy_revanshists_memories icon = anti_fascism x = 0 y = 1 relative_position_id = CUB_memory_of_republic_leaders cost = 5 prerequisite = { focus = CUB_memory_of_republic_leaders } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_destroy_revanshists_memories" swap_ideas = { remove_idea = CUB_idea_memory add_idea = CUB_idea_republic_memory } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_invest_in_social icon = pensions_increase x = 1 y = 1 relative_position_id = CUB_cuban_liberalism cost = 5 prerequisite = { focus = CUB_cuban_liberalism } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invest_in_social" increase_social_spending = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_invest_in_healthcare_dem icon = pharma_drugs x = 3 y = 1 relative_position_id = CUB_cuban_liberalism cost = 5 prerequisite = { focus = CUB_cuban_liberalism } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invest_in_healthcare_dem" increase_healthcare_budget = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_cuban_econmy icon = cubanewpoliticseco x = 1 y = 1 relative_position_id = CUB_invest_in_social cost = 5 prerequisite = { focus = CUB_invest_in_social } prerequisite = { focus = CUB_invest_in_healthcare_dem } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_cuban_econmy" increase_economic_growth = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_era_of_cuban_freedom icon = Generic_Liberty_Calling x = -2 y = 1 relative_position_id = CUB_cuban_econmy cost = 5 prerequisite = { focus = CUB_cuban_econmy } prerequisite = { focus = CUB_ask_for_us_protection } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_era_of_cuban_freedom" swap_ideas = { remove_idea = CUB_idea_democrats_policiy add_idea = CUB_idea_democrats_policiy_finish } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_reesatblish_relations icon = world_citizen_focus x = -2 y = 1 relative_position_id = CUB_destroy_revanshists_memories cost = 3 prerequisite = { focus = CUB_destroy_revanshists_memories } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_reesatblish_relations" DOM = { add_opinion_modifier = { target = CUB modifier = has_expressed_loyalty } } add_opinion_modifier = { target = DOM modifier = has_expressed_loyalty } HAI = { add_opinion_modifier = { target = CUB modifier = has_expressed_loyalty } } add_opinion_modifier = { target = HAI modifier = has_expressed_loyalty } JAM = { add_opinion_modifier = { target = CUB modifier = has_expressed_loyalty } } add_opinion_modifier = { target = JAM modifier = has_expressed_loyalty } COL = { add_opinion_modifier = { target = CUB modifier = has_expressed_loyalty } } add_opinion_modifier = { target = COL modifier = has_expressed_loyalty } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_prepare_federation icon = government_beu x = 0 y = 1 relative_position_id = CUB_destroy_revanshists_memories cost = 5 prerequisite = { focus = CUB_destroy_revanshists_memories } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_prepare_federation" add_timed_idea = { idea = CUB_idea_conf_one days = 390 } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_improve_trade icon = liberalization x = 2 y = 1 relative_position_id = CUB_destroy_revanshists_memories cost = 5 prerequisite = { focus = CUB_destroy_revanshists_memories } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_improve_trade" set_temp_variable = { receiver_nation = CUB.id } set_temp_variable = { sender_nation = HAI.id } set_improved_trade_agreement = yes set_temp_variable = { target_nation = HAI.id } set_temp_variable = { adding_nation = CUB.id } change_permanent_investment_target = yes set_temp_variable = { receiver_nation = CUB.id } set_temp_variable = { sender_nation = DOM.id } set_improved_trade_agreement = yes set_temp_variable = { target_nation = DOM.id } set_temp_variable = { adding_nation = CUB.id } change_permanent_investment_target = yes set_temp_variable = { receiver_nation = CUB.id } set_temp_variable = { sender_nation = JAM.id } set_improved_trade_agreement = yes set_temp_variable = { target_nation = JAM.id } set_temp_variable = { adding_nation = CUB.id } change_permanent_investment_target = yes set_temp_variable = { receiver_nation = CUB.id } set_temp_variable = { sender_nation = COL.id } set_improved_trade_agreement = yes set_temp_variable = { target_nation = COL.id } set_temp_variable = { adding_nation = CUB.id } change_permanent_investment_target = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_first_stage_of_federation icon = legislation x = 0 y = 1 relative_position_id = CUB_prepare_federation cost = 5 prerequisite = { focus = CUB_prepare_federation } prerequisite = { focus = CUB_reesatblish_relations } prerequisite = { focus = CUB_improve_trade } search_filters = { FOCUS_FILTER_POLITICAL } available = { NOT = { has_idea = CUB_idea_conf_one } OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_first_stage_of_federation" unlock_decision_category_tooltip = CUB_confederation_category custom_effect_tooltip = CUB_conf_tt } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_solve_problems_with_haiti icon = align_to_haiti x = -2 y = 1 relative_position_id = CUB_first_stage_of_federation cost = 5 prerequisite = { focus = CUB_first_stage_of_federation } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = HAI NOT = { has_war_with = HAI } HAI = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = HAI } has_war_with = HAI } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_solve_problems_with_haiti" add_opinion_modifier = { modifier = peace_talks target = HAI } reverse_add_opinion_modifier = { modifier = peace_talks target = HAI } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = HAI } change_influence_percentage = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_realetions_with_dominicana icon = improve_relations x = 0 y = 1 relative_position_id = CUB_first_stage_of_federation cost = 5 prerequisite = { focus = CUB_first_stage_of_federation } search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = DOM NOT = { has_war_with = DOM } DOM = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = DOM } has_war_with = DOM } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_realetions_with_dominicana" add_opinion_modifier = { modifier = peace_talks target = DOM } reverse_add_opinion_modifier = { modifier = peace_talks target = DOM } HAI = { one_random_industrial_complex = yes } set_temp_variable = { percent_change = 2 } set_temp_variable = { influence_target = DOM } change_influence_percentage = yes } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 0 can_staff_an_industrial_complex = no } modifier = { factor = 0 has_active_mission = bankruptcy_incoming_collapse } } } focus = { id = CUB_liberate_puerto_rico icon = american_military_agreement x = 2 y = 1 relative_position_id = CUB_first_stage_of_federation cost = 5 prerequisite = { focus = CUB_first_stage_of_federation } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } USA = { owns_state = 815 } NOT = { country_exists = PTR } } bypass = { country_exists = PTR } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_liberate_puerto_rico" unlock_decision_tooltip = CUB_ask_puerto USA = { country_event = { id = cuba.40 days = 1 } } newline = yes custom_effect_tooltip = TT_IF_THEY_ACCEPT effect_tooltip = { USA = { 815 = { add_core_of = PTR } release = PTR set_temp_variable = { treasury_change = 10 } modify_treasury_effect = yes } CUB = { set_temp_variable = { treasury_change = -10 } modify_treasury_effect = yes } } } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } focus = { id = CUB_invite_puerto_rico icon = invitepuertorico x = 0 y = 1 relative_position_id = CUB_liberate_puerto_rico cost = 2 prerequisite = { focus = CUB_liberate_puerto_rico } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = PTR } bypass = { country_exists = PTR } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invite_puerto_rico" custom_effect_tooltip = CUB_invite_puerto_tt } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_invite_dominicana icon = invitedominicana x = 0 y = 1 relative_position_id = CUB_realetions_with_dominicana cost = 5 prerequisite = { focus = CUB_realetions_with_dominicana } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = DOM NOT = { has_war_with = DOM } DOM = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = DOM } has_war_with = DOM } DOM = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invite_dominicana" unlock_decision_tooltip = CUB_invite_dominicana unlock_decision_tooltip = CUB_invite_puerto_rico custom_effect_tooltip = CUB_invite_dominicana_tt } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_invite_haiti icon = invitehaiticonfcu x = 0 y = 1 relative_position_id = CUB_solve_problems_with_haiti cost = 5 prerequisite = { focus = CUB_solve_problems_with_haiti } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = HAI NOT = { has_war_with = HAI } HAI = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = HAI } has_war_with = HAI } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_invite_haiti" unlock_decision_tooltip = CUB_invite_haiti custom_effect_tooltip = CUB_invite_haiti_tt } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_talks_with_jamaica icon = cubinvitejamaica x = 1 y = 1 relative_position_id = CUB_invite_haiti cost = 5 prerequisite = { focus = CUB_invite_haiti } prerequisite = { focus = CUB_invite_dominicana focus = CUB_invite_puerto_rico } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = JAM NOT = { has_war_with = JAM } JAM = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = JAM } has_war_with = JAM } JAM = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_talks_with_jamaica" unlock_decision_tooltip = CUB_invite_jamaica custom_effect_tooltip = CUB_invite_jamaica_tt } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_talks_with_colombia icon = invitecolumbia x = 3 y = 1 relative_position_id = CUB_invite_haiti cost = 5 prerequisite = { focus = CUB_invite_haiti } prerequisite = { focus = CUB_invite_dominicana focus = CUB_invite_puerto_rico } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = COL NOT = { has_war_with = COL } COL = { NOT = { is_subject_of = CUB } } } bypass = { OR = { NOT = { country_exists = COL } has_war_with = COL } COL = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_talks_with_colombia" unlock_decision_tooltip = CUB_invite_colombia custom_effect_tooltip = CUB_invite_colombia_tt } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } focus = { id = CUB_new_center_of_caribean icon = cubanewpowerconf x = -1 y = 1 relative_position_id = CUB_talks_with_colombia cost = 5 prerequisite = { focus = CUB_talks_with_jamaica } prerequisite = { focus = CUB_talks_with_colombia } search_filters = { FOCUS_FILTER_POLITICAL } available = { OR = { western_conservatism_are_in_power = yes western_liberals_are_in_power = yes western_social_democrats_are_in_power = yes } country_exists = CUB HAI = { is_subject_of = CUB } DOM = { is_subject_of = CUB } COL = { is_subject_of = CUB } JAM = { is_subject_of = CUB } PTR = { is_subject_of = CUB } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CUB_new_center_of_caribean" add_ideas = CUB_caribbean_nation } ai_will_do = { base = 50 modifier = { factor = 150 has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } modifier = { factor = 0 NOT = { has_global_flag = CUB_RESTORED_REPUBLIC_FOCUS_PATH } OR = { is_historical_focus_on = yes has_global_flag = CUB_AI_PATH_SET } } } } }