# Original Author(s): TheGeneral joint_focus = { id = CMW_Aso_Rock_Declaration icon = generic_government text_icon = NORDIC_focus_style x = 66 y = 0 # Offsets for Custom Focus Trees #England offset = { x = -30 y = 0 trigger = { original_tag = ENG } } offset = { x = 0 y = 12 trigger = { original_tag = CAN } } offset = { x = -12 y = 0 trigger = { original_tag = BRM } } offset = { x = 0 y = 9 trigger = { original_tag = NIG } } offset = { x = -58 y = 10 trigger = { original_tag = BOT } } offset = { x = 14 y = 14 trigger = { original_tag = EGY } } offset = { x = 14 y = 3 trigger = { original_tag = FIJ } } offset = { x = -74 y = 20 trigger = { original_tag = RAJ } } offset = { x = -30 y = 10 trigger = { original_tag = SIN } } cost = 25 allow_branch = { is_commonwealth_member = yes } search_filters = { FOCUS_FILTER_CMW FOCUS_FILTER_DIPLOMACY } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Aso_Rock_Declaration" add_political_power = 150 add_popularity = { ideology = democratic popularity = 0.05 } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Charter icon = government_beu text_icon = NORDIC_focus_style x = -5 y = 1 relative_position_id = CMW_Aso_Rock_Declaration cost = 25 prerequisite = { focus = CMW_Aso_Rock_Declaration } search_filters = { FOCUS_FILTER_CMW FOCUS_FILTER_DIPLOMACY } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Charter" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Stability_Factor = 0.05 tooltip = stability_factor_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Ministerial_Action_Group icon = expand_finance_ministry text_icon = NORDIC_focus_style x = -3 y = 1 relative_position_id = CMW_Charter cost = 25 prerequisite = { focus = CMW_Charter } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Ministerial_Action_Group" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Stability_Factor = 0.05 tooltip = stability_factor_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Kampala_Review icon = flag_uganda text_icon = NORDIC_focus_style x = 0 y = 1 relative_position_id = CMW_Ministerial_Action_Group cost = 25 prerequisite = { focus = CMW_Ministerial_Action_Group } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Kampala_Review" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Stability_Factor = 0.05 tooltip = stability_factor_tt } } completion_reward_joint_originator = { add_political_power = 100 } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Debt_Swaps icon = money_laundering text_icon = NORDIC_focus_style x = -2 y = 1 relative_position_id = CMW_Ministerial_Action_Group cost = 25 prerequisite = { focus = CMW_Ministerial_Action_Group } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Debt_Swaps" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Interest_rate_multiplier_modifier = -0.5 tooltip = interest_rate_multiplier_modifier_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Climate_Hub icon = sustainable_development text_icon = NORDIC_focus_style x = -1 y = 1 relative_position_id = CMW_Debt_Swaps cost = 25 prerequisite = { focus = CMW_Debt_Swaps } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Climate_Hub" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Energy_Use_Multiplier = 0.05 tooltip = energy_use_multiplier_tt } add_to_variable = { CMW_renewable_energy_gain_multiplier = 0.10 tooltip = renewable_energy_gain_multiplier_tt } add_to_variable = { CMW_production_speed_renewable_energy_infra_factor = 0.25 tooltip = production_speed_renewable_energy_infra_factor_tt } } completion_reward_joint_originator = { add_tech_bonus = { name = CMW_Climate_Hub uses = 1 bonus = 0.15 category = CAT_renewable } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Blue_Charter icon = treaty4 text_icon = NORDIC_focus_style x = 1 y = 1 relative_position_id = CMW_Debt_Swaps cost = 25 prerequisite = { focus = CMW_Debt_Swaps } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Blue_Charter" } completion_reward_joint_originator = { add_tech_bonus = { name = CMW_Blue_Charter uses = 3 bonus = 0.15 category = CAT_renewable } } completion_reward_joint_member = { add_tech_bonus = { name = CMW_Blue_Charter uses = 1 bonus = 0.15 category = CAT_renewable } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Living_Lands icon = agriculture2 text_icon = NORDIC_focus_style x = 0 y = 2 relative_position_id = CMW_Debt_Swaps cost = 25 prerequisite = { focus = CMW_Blue_Charter focus = CMW_Climate_Hub } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Living_Lands" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Global_Building_Slots_Modifier = -0.05 tooltip = global_building_slots_factor_tt } add_to_variable = { CMW_agriculture_workers_modifier = -0.05 tooltip = agriculture_workers_modifier_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Anti_Corruption_Centre icon = BLR_Anti_Corruption text_icon = NORDIC_focus_style x = 2 y = 1 relative_position_id = CMW_Ministerial_Action_Group cost = 25 prerequisite = { focus = CMW_Ministerial_Action_Group } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes root = { NOT = { has_idea = corruption_level_01 } } } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Anti_Corruption_Centre" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_corruption_cost_factor = -0.25 tooltip = corruption_cost_factor_tt } } completion_reward_joint_originator = { decrease_corruption = yes } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Association_Legislative_Council icon = legislative_palace text_icon = NORDIC_focus_style x = 2 y = 2 relative_position_id = CMW_Ministerial_Action_Group cost = 25 prerequisite = { focus = CMW_Anti_Corruption_Centre } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Association_Legislative_Council" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Expected_Adm_Modifier = 0.5 tooltip = expected_adm_modifier_tt } add_to_variable = { CMW_Stability_Factor = 0.05 tooltip = stability_factor_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Health_Section icon = health_care_reform text_icon = NORDIC_focus_style x = -1 y = 1 relative_position_id = CMW_Association_Legislative_Council cost = 25 prerequisite = { focus = CMW_Association_Legislative_Council } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Health_Section" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Health_Cost_Multiplier_Modifier = -0.05 tooltip = health_cost_multiplier_modifier_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Body_And_Sports icon = ukr_sport text_icon = NORDIC_focus_style x = -2 y = 2 relative_position_id = CMW_Association_Legislative_Council cost = 25 prerequisite = { focus = CMW_Living_Lands } prerequisite = { focus = CMW_Health_Section } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Body_And_Sports" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Expected_Healthcare_Modifier = -0.5 tooltip = expected_healthcare_modifier_tt } add_to_variable = { CMW_Health_Cost_Multiplier_Modifier = -0.03 tooltip = health_cost_multiplier_modifier_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Promoting_Democracy icon = propaganda text_icon = NORDIC_focus_style x = 1 y = 1 relative_position_id = CMW_Charter cost = 25 prerequisite = { focus = CMW_Charter } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Promoting_Democracy" if = { limit = { ENG = { has_government = democratic } } add_popularity = { ideology = democratic popularity = 0.05 } } else_if = { limit = { ENG = { has_government = communism } } add_popularity = { ideology = communism popularity = 0.05 } } else_if = { limit = { ENG = { has_government = neutrality } } add_popularity = { ideology = neutrality popularity = 0.05 } } else_if = { limit = { ENG = { has_government = nationalist } } add_popularity = { ideology = nationalist popularity = 0.05 } } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Connectivity_Agenda icon = irish_roads text_icon = NORDIC_focus_style x = 1 y = 3 relative_position_id = CMW_Charter cost = 25 prerequisite = { focus = CMW_Promoting_Democracy } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Connectivity_Agenda" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Investment_Cost_Modifier = -0.15 tooltip = investment_cost_modifier_tt } } completion_reward_joint_originator = { random_owned_state = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } random_owned_state = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } add_tech_bonus = { name = CMW_Connectivity_Agenda bonus = 0.5 category = CAT_infrastructure uses = 1 } } completion_reward_joint_member = { random_owned_state = { add_building_construction = { type = infrastructure level = 1 instant_build = yes } } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_of_Learning icon = university text_icon = NORDIC_focus_style x = 0 y = 1 relative_position_id = CMW_Aso_Rock_Declaration cost = 25 prerequisite = { focus = CMW_Aso_Rock_Declaration } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_of_Learning" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Research_Speed_Factor = 0.02 tooltip = research_speed_factor_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Legal_Education_Association icon = focus_generic_university_2 text_icon = NORDIC_focus_style x = -2 y = 1 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_of_Learning } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Legal_Education_Association" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Expected_Adm_Modifier = 0.5 tooltip = expected_adm_modifier_tt } add_to_variable = { CMW_Stability_Factor = 0.05 tooltip = stability_factor_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Fintech_Toolkit icon = focus_generic_financial_agreement text_icon = NORDIC_focus_style x = -2 y = 3 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_Legal_Education_Association } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Fintech_Toolkit" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Office_Park_Income_Tax_Modifier = 0.10 tooltip = office_park_income_tax_modifier_tt } add_to_variable = { CMW_Stability_Factor = 0.02 tooltip = stability_factor_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Youth_Networks icon = Generic_Child_Soldiers text_icon = NORDIC_focus_style x = -2 y = 4 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_Legal_Education_Association } prerequisite = { focus = CMW_Connectivity_Agenda } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Youth_Networks" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_offices_worker_requirement_modifier = -0.10 tooltip = offices_worker_requirement_modifier_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Education_Framework icon = tech_sharing text_icon = NORDIC_focus_style x = 0 y = 1 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_of_Learning } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Education_Framework" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_education_cost_multiplier_modifier = -0.05 tooltip = education_cost_multiplier_modifier_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_CFTC icon = education_reform text_icon = NORDIC_focus_style x = 0 y = 2 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_Education_Framework } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_CFTC" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_productivity_Growth = 0.05 tooltip = productivity_growth_modifier_tt } add_to_variable = { CMW_Tax_Gain_Multiplier_modifier = 0.025 tooltip = tax_gain_multiplier_modifier_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_School_Leaders icon = focus_generic_university_1 text_icon = NORDIC_focus_style x = 0 y = 3 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_CFTC } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_School_Leaders" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_expected_education_modifier = 0.5 tooltip = expected_education_modifier_tt } add_to_variable = { CMW_Research_Speed_Factor = 0.05 tooltip = research_speed_factor_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Trade_Association icon = treaty4 text_icon = NORDIC_focus_style x = 2 y = 1 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_of_Learning } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Trade_Association" } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Joint_Research_Initiative icon = continuous_research text_icon = NORDIC_focus_style x = 2 y = 2 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_Trade_Association } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Joint_Research_Initiative" add_to_tech_sharing_group = Commonwealth_allies_tech_share } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Hub_And_Spokes_Program icon = ExpandTrade text_icon = NORDIC_focus_style x = 2 y = 3 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_Joint_Research_Initiative } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Hub_And_Spokes_Program" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Trade_Opinion_Factor = 0.10 tooltip = trade_opinion_factor_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_New_Petroleum_Group icon = oil_companies text_icon = NORDIC_focus_style x = 2 y = 4 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_Hub_And_Spokes_Program } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_New_Petroleum_Group" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_Fuel_Gain_Factor = 0.05 tooltip = fuel_gain_factor_tt } } completion_reward_joint_originator = { random_owned_state = { add_resource = { type = oil amount = 6 } } } completion_reward_joint_member = { add_tech_bonus = { name = CMW_New_Petroleum_Group bonus = 0.25 category = CAT_fuel_oil uses = 1 } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Valuta icon = money text_icon = NORDIC_focus_style x = 0 y = 4 relative_position_id = CMW_of_Learning cost = 25 prerequisite = { focus = CMW_Fintech_Toolkit } prerequisite = { focus = CMW_School_Leaders } prerequisite = { focus = CMW_Hub_And_Spokes_Program } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Valuta" } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Defense_Association icon = defense text_icon = NORDIC_focus_style x = 6 y = 1 relative_position_id = CMW_Aso_Rock_Declaration cost = 25 prerequisite = { focus = CMW_Aso_Rock_Declaration } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes threat > 0.3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Defense_Association" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_experience_gain_air_factor = 0.10 tooltip = experience_gain_air_factor_tt } add_to_variable = { CMW_experience_gain_army_factor = 0.10 tooltip = experience_gain_army_factor_tt } add_to_variable = { CMW_experience_gain_navy_factor = 0.10 tooltip = experience_gain_navy_factor_tt } } completion_reward_joint_originator = { army_experience = 25 navy_experience = 25 air_experience = 25 } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Counter_Insurgency_Training icon = police_funding_bonus text_icon = NORDIC_focus_style x = -2 y = 1 relative_position_id = CMW_Defense_Association cost = 25 prerequisite = { focus = CMW_Defense_Association } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes threat > 0.3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Counter_Insurgency_Training" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_expected_police_modifier = 0.5 tooltip = expected_police_modifier_tt } add_to_variable = { CMW_resistance_growth = -0.25 tooltip = resistance_growth_tt } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Cyber_Declaration icon = cyberspace_protection text_icon = NORDIC_focus_style x = -2 y = 2 relative_position_id = CMW_Defense_Association cost = 25 prerequisite = { focus = CMW_Counter_Insurgency_Training } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes threat > 0.3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Cyber_Declaration" } completion_reward_joint_originator = { add_tech_bonus = { name = CMW_Cyber_Declaration bonus = 0.25 uses = 2 category = CAT_ai } } completion_reward_joint_member = { add_tech_bonus = { name = CMW_Cyber_Declaration bonus = 0.15 uses = 1 category = CAT_ai } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Intelligence_Network icon = Generic_Spy_Sabotage text_icon = NORDIC_focus_style x = -2 y = 3 relative_position_id = CMW_Defense_Association cost = 25 prerequisite = { focus = CMW_Cyber_Declaration } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes threat > 0.3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Intelligence_Network" if = { limit = { has_dlc = "La Resistance" } if = { limit = { has_intelligence_agency = no } create_intelligence_agency = { name = "Commonwealth Intelligence and Security Service" icon = x } } } else = { add_tech_bonus = { name = CMW_Intelligence_Network bonus = 0.15 uses = 1 category = CAT_decryption_tech } add_tech_bonus = { name = CMW_Intelligence_Network bonus = 0.15 uses = 1 category = CAT_encryption_tech } } } completion_reward_joint_originator = { add_tech_bonus = { name = CMW_Intelligence_Network bonus = 0.15 uses = 1 category = CAT_decryption_tech } add_tech_bonus = { name = CMW_Intelligence_Network bonus = 0.15 uses = 1 category = CAT_encryption_tech } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Patrol_Boat_Program icon = focus_generic_merchant_fleet text_icon = NORDIC_focus_style x = 0 y = 1 relative_position_id = CMW_Defense_Association cost = 25 prerequisite = { focus = CMW_Defense_Association } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes threat > 0.3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Patrol_Boat_Program" } completion_reward_joint_originator = { add_ideas = CMW_Patrol_Boat_Program_Leader } completion_reward_joint_member = { add_ideas = CMW_Patrol_Boat_Program_Member } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Chief_Of_Staff icon = chiefs_of_staff_committee text_icon = NORDIC_focus_style x = 0 y = 2 relative_position_id = CMW_Defense_Association cost = 25 prerequisite = { focus = CMW_Patrol_Boat_Program } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes threat > 0.3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Chief_Of_Staff" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_army_speed_factor = 0.5 tooltip = army_speed_factor_tt } add_to_variable = { CMW_terrain_trait_xp_gain_factor = 0.15 tooltip = terrain_trait_xp_gain_factor_tt } } completion_reward_joint_originator = { # Wanted the mechanic where you can call countries to send volunteers or a general } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Secretariat_CVE icon = counter text_icon = NORDIC_focus_style x = 0 y = 3 relative_position_id = CMW_Defense_Association cost = 25 prerequisite = { focus = CMW_Chief_Of_Staff } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes threat > 0.3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Secretariat_CVE" # TODO: Need a new thing here } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Offices_For_Peace icon = united_nations text_icon = NORDIC_focus_style x = 2 y = 1 relative_position_id = CMW_Defense_Association cost = 25 prerequisite = { focus = CMW_Defense_Association } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Offices_For_Peace" } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Academy icon = military_academy text_icon = NORDIC_focus_style x = 2 y = 2 relative_position_id = CMW_Defense_Association cost = 25 prerequisite = { focus = CMW_Offices_For_Peace } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes threat > 0.3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Academy" custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = Commonwealth_member_modifier } add_to_variable = { CMW_experience_gain_factor = 0.25 tooltip = leader_experience_gain_factor_tt } } completion_reward_joint_originator = { random_army_leader = { add_skill_level = 1 } random_army_leader = { add_skill_level = 1 } random_navy_leader = { add_skill_level = 1 } } completion_reward_joint_member = { random_army_leader = { promote_character = yes } } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Training_Day icon = Generic_Infantry_Training text_icon = NORDIC_focus_style x = 2 y = 3 relative_position_id = CMW_Defense_Association cost = 25 prerequisite = { focus = CMW_Academy } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes threat > 0.3 } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_Training_Day" } ai_will_do = { base = 1 } } joint_focus = { id = CMW_Defense_Treaty icon = forceful_treaty text_icon = NORDIC_focus_style x = 0 y = 5 relative_position_id = CMW_Defense_Association cost = 25 prerequisite = { focus = CMW_Intelligence_Network } prerequisite = { focus = CMW_Secretariat_CVE } prerequisite = { focus = CMW_Training_Day } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes threat > 0.5 } completion_reward_joint_originator = { create_faction_from_template = faction_template_commonwealth } ai_will_do = { base = 1 } } joint_focus = { id = CMW_New_CMW icon = align_to_commonwealth text_icon = NORDIC_focus_style x = 0 y = 6 relative_position_id = CMW_Aso_Rock_Declaration cost = 25 prerequisite = { focus = CMW_Valuta } search_filters = { FOCUS_FILTER_CMW } available = { is_commonwealth_member = yes } completion_reward = { log = "[GetDateText]: [Root.GetName]: Focus CMW_New_CMW" } ai_will_do = { base = 1 } }