


#######################################
#######################################
#######################################
#POLITICAL TREE############################
#######################################
#######################################
#######################################


shared_focus = {
	id = cym_imperial_focus
	icon = GFX_focus_generic_self_management
	cost = 50
	x = 20
	y = 0


	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_imperial_focus"
		add_political_power = 250
		add_stability = 0.05
	}
}


#############
#############
#############
#STATE FOCUS PATH######
#############
#############
#############

shared_focus = {
	id = cym_internal_affairs
	icon = GFX_goal_generic_improve_relations
	cost = 25
	x = -6
	y = 1
	relative_position_id = cym_imperial_focus
    prerequisite = {
		focus = cym_imperial_focus
	}

	mutually_exclusive = {
		focus = cym_big_brain_time
		focus = cym_military_politics
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_internal_affairs"
		add_stability = 0.05
	}
}

#right main path, let states do shid
shared_focus = {
	id = cym_cantrefi_rights
	icon = GFX_goal_tfv_strengthen_commonwealth_ties
	cost = 25
	x = 2
	y = 1
	relative_position_id = cym_internal_affairs
    prerequisite = {
		focus = cym_internal_affairs
	}

	mutually_exclusive = {
		focus = cym_the_greater_sovereign
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_cantrefi_rights"
		add_political_power = 150
		hidden_effect = {
			every_core_state = {
				add_dynamic_modifier  = {
					modifier = cantrefi_autonomy_mod
				}
				set_base_autonomy_level = yes
			}
		}
		custom_effect_tooltip = cym_cantrefi_rights_t
	}
}

#right subpath, states are given their coveted freedom and return to feudalisms
shared_focus = {
	id = cym_freedom_isnt_free
	icon = GFX_focus_generic_manpower
	cost = 50
	x = 1
	y = 1
	relative_position_id = cym_cantrefi_rights
    prerequisite = {
		focus = cym_cantrefi_rights
	}

	mutually_exclusive = {
		focus = cym_a_burden_relieved
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_freedom_isnt_free"
		add_political_power = 50
		add_stability = -0.10
		custom_effect_tooltip = cym_freedom_isnt_free_t
		force_update_dynamic_modifier = yes
		hidden_effect = {
			every_core_state = {
				remove_dynamic_modifier = {
					modifier = cantrefi_autonomy_mod
				}
				add_dynamic_modifier  = {
					modifier = cantrefi_militant_autonomy_mod
				}
				set_militant_autonomy_level = yes
			}
		}
		force_update_dynamic_modifier = yes
	}
}

shared_focus = {#MORE CONTENT- Make the 'levy leader' thing a trait new generals can have
	id = cym_lord_generals
	icon = GFX_focus_generic_home_defense
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_freedom_isnt_free
    prerequisite = {
		focus = cym_freedom_isnt_free
	}

	ai_will_do = { 
		factor = 1
	}

    completion_reward = {
		add_political_power = 50
		#log = "[GetDateText]: [Root.GetName]: cym_lord_generals"
		add_ideas = cym_idea_levy_leaders	
		add_corps_commander_role = {
			Character = Iorwerth
			traits = {}
			skill = 6
			attack_skill = 7
			defense_skill = 7
			planning_skill = 4
			logistics_skill = 5
		}
		add_corps_commander_role = {
			Character = Meinir
			traits = { cavalry_officer cavalry_leader cavalry_expert}
			skill = 6
			attack_skill = 6
			defense_skill = 6
			planning_skill = 5
			logistics_skill = 7
		}
		add_advisor_role = {
			Character = Meinir
			advisor = {
				slot = high_command
				idea_token = Meinir_1
				cost = 50
				ledger = military
				traits = {
					army_cavalry_3
				}
			}			
		}
	}
}

#left subpath, states doing stuff relieves the Crown and allows smoother broad politics
shared_focus = {
	id = cym_a_burden_relieved
	icon = GFX_focus_generic_concessions
	cost = 50
	x = -1
	y = 1
	relative_position_id = cym_cantrefi_rights
    prerequisite = {
		focus = cym_cantrefi_rights
	}

	mutually_exclusive = {
		focus = cym_freedom_isnt_free
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_a_burden_relieved"
		add_political_power = 200
	}
}

shared_focus = {
	id = cym_economc_freedom
	icon = GFX_goal_generic_air_production
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_a_burden_relieved
    prerequisite = {
		focus = cym_a_burden_relieved
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_economc_freedom"
		add_ideas = cym_idea_economic_autonomy
	}
}

#right main path finisher
shared_focus = {
	id = cym_old_powers_restored
	icon = GFX_goal_generic_major_alliance
	cost = 50
	x = 1
	y = 1
	relative_position_id = cym_economc_freedom
    prerequisite = {
		focus = cym_economc_freedom
		focus = cym_lord_generals
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_economc_freedom"
		if = {
			limit = {has_completed_focus = cym_economc_freedom}
			custom_effect_tooltip = cym_old_powers_restored_ta
			swap_ideas = {
				add_idea = cym_idea_economic_autonomy_b
				remove_idea = cym_idea_economic_autonomy
			}
			hidden_effect = {
				every_core_state = {
					remove_dynamic_modifier = {
						modifier = cantrefi_autonomy_mod
					}
					add_dynamic_modifier  = {
						modifier = cantrefi_elevated_autonomy_mod
					}
					set_elevated_autonomy_level = yes
				}
			}
		}
		else_if = {
			limit = {has_completed_focus = cym_lord_generals}
			custom_effect_tooltip = cym_old_powers_restored_tb
			swap_ideas = {
				add_idea = cym_idea_levy_leaders_b
				remove_idea = cym_idea_levy_leaders
			}
			hidden_effect = {
				every_core_state = {
					remove_dynamic_modifier = {
						modifier = cantrefi_militant_autonomy_mod
					}
					add_dynamic_modifier  = {
						modifier = cantrefi_elevated_militant_autonomy_mod
					}
					set_elevated_militant_autonomy_level = yes
				}
			}
		}
		else = {
			custom_effect_tooltip = cym_old_powers_restored_t
		}
	}
}

#Right main path, a focus on state control over all matters
shared_focus = {
	id = cym_the_greater_sovereign
	icon = GFX_focus_generic_monarchy_1
	cost = 25
	x = -2
	y = 1
	relative_position_id = cym_internal_affairs
    prerequisite = {
		focus = cym_internal_affairs
	}

	mutually_exclusive = {
		focus = cym_cantrefi_rights
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_the_greater_sovereign"
		add_stability = 0.10
	}
}

#right path, total crown authority
shared_focus = {
	id = cym_complete_submission
	icon = GFX_goal_generic_forceful_treaty
	cost = 50
	x = -1
	y = 1
	relative_position_id = cym_the_greater_sovereign
    prerequisite = {
		focus = cym_the_greater_sovereign
	}

	mutually_exclusive = {
		focus = cym_increased_integration
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_complete_submission"
		add_political_power = 50
		add_ideas = cym_idea_crown_authority
		every_core_state = {
			add_state_modifier = {
				modifier = {
					local_factories = 0.02
				}
			}
		}
		hidden_effect = {
			#country_event = {id = oevent.10 hours = 1}
			force_update_factory_count = yes
		}
	}
}

shared_focus = {
	id = cym_imperial_lands
	icon = GFX_goal_generic_construct_civ_factory
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_complete_submission
    prerequisite = {
		focus = cym_complete_submission
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_imperial_lands"
		custom_effect_tooltip = cym_imperial_lands_t #fuck u spaghett paradox code that makes a broken tooltip
		hidden_effect = {
			every_core_state = {
				add_state_modifier = {
					modifier = {
						local_building_slots = 1
						local_factories = 0.03
					}
				}
			}
		}
		hidden_effect = {
			#country_event = {id = oevent.10 hours = 1}
			force_update_factory_count = yes
		}
	}
}

#left path, heavy crown authority
shared_focus = {
	id = cym_increased_integration
	icon = GFX_focus_generic_treaty
	cost = 50
	x = 1
	y = 1
	relative_position_id = cym_the_greater_sovereign
    prerequisite = {
		focus = cym_the_greater_sovereign
	}

	mutually_exclusive = {
		focus = cym_complete_submission
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_increased_integration"
		add_political_power = 50
		add_ideas = cym_idea_integrated_penaethiaid
	}
}

shared_focus = {
	id = cym_risen_advisors
	icon = GFX_goal_generic_demand_territory
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_increased_integration
    prerequisite = {
		focus = cym_increased_integration
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_risen_advisors"
		add_corps_commander_role = {
			Character = Iorwerth
			traits = {}
			skill = 6
			attack_skill = 7
			defense_skill = 7
			planning_skill = 4
			logistics_skill = 5
		}
		add_corps_commander_role = {
			Character = Meinir
			traits = { cavalry_officer cavalry_leader cavalry_expert}
			skill = 6
			attack_skill = 6
			defense_skill = 6
			planning_skill = 5
			logistics_skill = 7
		}
		add_advisor_role = {
			Character = Meinir
			advisor = {
				slot = high_command
				idea_token = Meinir_1
				cost = 50
				ledger = military
				traits = {
					army_cavalry_3
				}
			}			
		}
		
		add_advisor_role = {
			Character = Meinir
			advisor = {
				slot = political_advisor
				idea_token = Meinir_2
				cost = 50
				#ledger = military
				traits = {
					princess_of_terror
				}
			}
		}
	}
}

shared_focus = {
	id = cym_centralized_might
	icon = GFX_goal_generic_military_deal
	cost = 50
	x = -1
	y = 1
	relative_position_id = cym_risen_advisors
    prerequisite = {
		focus = cym_risen_advisors
		focus = cym_imperial_lands
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_centralized_might"
		add_political_power = 200
		add_stability = 0.10
		every_core_state = {
			add_state_modifier = {
				modifier = {
					local_manpower = 0.15
					local_factories = 0.05
				}
			}
		}
	}
}

#############
#############
#############
#RESEARCH TIME######
#############
#############
#############
shared_focus = {
	id = cym_big_brain_time
	icon = GFX_goal_generic_intelligence_exchange
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_imperial_focus
    prerequisite = {
		focus = cym_imperial_focus
	}

	mutually_exclusive = {
		focus = cym_internal_affairs
		focus = cym_military_politics
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_big_brain_time"
		add_stability = 0.10
		add_research_slot = 1
	}
}

shared_focus = {
	id = cym_glimpse_the_future
	icon = GFX_focus_research
	cost = 50
	x = 1
	y = 1
	relative_position_id = cym_big_brain_time
    prerequisite = {
		focus = cym_big_brain_time
	}

	mutually_exclusive = {
		focus = cym_concerted_efforts
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_glimpse_the_future"
		hidden_effect = {
			add_tech_bonus = {
				bonus = 0.5
				ahead_reduction = 1.0
				uses = 3
				category = light_air
				category = medium_air
				category = heavy_air
				category = armor
				category = cat_light_armor
				category = cat_medium_armor
				category = cat_heavy_armor
				category = artillery
				category = cat_anti_tank
				category = cat_anti_air
				category = naval_air
				category = infantry_weapons
				category = motorized_equipment
				category = cat_mechanized_equipment
				category = naval_equipment
				category = rocketry
				category = nuclear
				category = industry
				category = electronics
				category = jet_technology
				category = convoy_defense_tree
				category = light_fighter
				category = cat_heavy_fighter
				category = tactical_bomber
				category = cat_strategic_bomber
				category = naval_bomber
				category = cas_bomber
				category = ship_modules_tech
				category = dd_tech
				category = cl_tech
				category = ca_tech
				category = cv_tech
				category = bc_tech
				category = bb_tech
				category = shbb_tech
				category = ss_tech
				category = tp_tech
				category = synth_resources
				category = encryption_tech
				category = decryption_tech
				category = computing_tech
				category = radar_tech
				category = infantry_tech
				category = marine_tech
				category = construction_tech
				category = excavation_tech
				category = submarine_doctrine
				category = air_equipment
				category = night_vision
				category = base_strike_main
				category = mot_rockets
				category = support_tech
				category = para_tech
				category = engineers_tech
				category = recon_tech
				category = mountaineers_tech
				category = military_police_tech
				category = hospital_tech
				category = logistics_tech
				category = signal_company_tech
				category = maintenance_company_tech
				category = naval_mines
				category = concentrated_industry_category
				category = dispersed_industry_category
				category = asw_tech
				category = naval_minesweeping
				category = naval_minelaying
				category = cat_scout_plane
				category = train_tech
				category = cat_production
				category = cat_synth_rubber
				category = cat_synth_oil
			}
		}
		custom_effect_tooltip = cym_glimpse_the_future_t

	}
}

shared_focus = {
	id = cym_realize_the_future
	icon = GFX_goal_tfv_generic_tech_sharing
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_glimpse_the_future
    prerequisite = {
		focus = cym_glimpse_the_future
	}


	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_realize_the_future"
		hidden_effect = {
			add_tech_bonus = {
				bonus = 1.0
				ahead_reduction = 1.25
				uses = 3
				category = light_air
				category = medium_air
				category = heavy_air
				category = armor
				category = cat_light_armor
				category = cat_medium_armor
				category = cat_heavy_armor
				category = artillery
				category = cat_anti_tank
				category = cat_anti_air
				category = naval_air
				category = infantry_weapons
				category = motorized_equipment
				category = cat_mechanized_equipment
				category = naval_equipment
				category = rocketry
				category = nuclear
				category = industry
				category = electronics
				category = jet_technology
				category = convoy_defense_tree
				category = light_fighter
				category = cat_heavy_fighter
				category = tactical_bomber
				category = cat_strategic_bomber
				category = naval_bomber
				category = cas_bomber
				category = ship_modules_tech
				category = dd_tech
				category = cl_tech
				category = ca_tech
				category = cv_tech
				category = bc_tech
				category = bb_tech
				category = shbb_tech
				category = ss_tech
				category = tp_tech
				category = synth_resources
				category = encryption_tech
				category = decryption_tech
				category = computing_tech
				category = radar_tech
				category = infantry_tech
				category = marine_tech
				category = construction_tech
				category = excavation_tech
				category = submarine_doctrine
				category = air_equipment
				category = night_vision
				category = base_strike_main
				category = mot_rockets
				category = support_tech
				category = para_tech
				category = engineers_tech
				category = recon_tech
				category = mountaineers_tech
				category = military_police_tech
				category = hospital_tech
				category = logistics_tech
				category = signal_company_tech
				category = maintenance_company_tech
				category = naval_mines
				category = concentrated_industry_category
				category = dispersed_industry_category
				category = asw_tech
				category = naval_minesweeping
				category = naval_minelaying
				category = cat_scout_plane
				category = train_tech
				category = cat_production
				category = cat_synth_rubber
				category = cat_synth_oil
			}
		}
		custom_effect_tooltip = cym_realize_the_future_t
	}
}

shared_focus = {
	id = cym_concerted_efforts
	icon = GFX_goal_generic_scientific_exchange
	cost = 50
	x = -1
	y = 1
	relative_position_id = cym_big_brain_time
    prerequisite = {
		focus = cym_big_brain_time
	}

	mutually_exclusive = {
		focus = cym_glimpse_the_future
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_concerted_efforts"
		add_ideas = cym_idea_research_efforts_a
	}
}

shared_focus = {
	id = cym_expanded_experience
	icon = GFX_goal_continuous_research
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_concerted_efforts
    prerequisite = {
		focus = cym_concerted_efforts
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_concerted_efforts"
		swap_ideas = {
			remove_idea = cym_idea_research_efforts_a
			add_idea = cym_idea_research_efforts_b
		}
	}
}

shared_focus = {
	id = cym_knowledge_unfettered
	icon = GFX_focus_research2
	cost = 50
	x = 1
	y = 1
	relative_position_id = cym_expanded_experience
    prerequisite = {
		focus = cym_expanded_experience
		focus = cym_realize_the_future
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_knowledge_unfettered"
		custom_effect_tooltip = cym_knowledge_unfettered_t
		hidden_effect = {
			if = {
				limit = {has_completed_focus = cym_expanded_experience}
				swap_ideas = {
					remove_idea = cym_idea_research_efforts_b
					add_idea = cym_idea_research_efforts_c
				}
			}
			else = {
				add_ideas = cym_idea_research_efforts_side
			}
		}
		add_research_slot = 1
	}
}


#############
#############
#############
#POLITICAL ARMY FOCUS######
#############
#############
shared_focus = {
	id = cym_military_politics
	icon = GFX_focus_POL_belarus_army
	cost = 25
	x = 6
	y = 1
	relative_position_id = cym_imperial_focus
    prerequisite = {
		focus = cym_imperial_focus
	}

	mutually_exclusive = {
		focus = cym_big_brain_time
		focus = cym_internal_affairs
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_military_politics"
		add_political_power = 50
		add_command_power = 50
		army_experience = 25
		navy_experience = 25
		air_experience = 25
	}
}

shared_focus = {
	id = cym_army_of_armies
	icon = GFX_focus_generic_little_entente
	cost = 25
	x = -2
	y = 1
	relative_position_id = cym_military_politics
    prerequisite = {
		focus = cym_military_politics
	}

	mutually_exclusive = {
		focus = cym_grand_command
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		#log = "[GetDateText]: [Root.GetName]: cym_army_of_armies"
		add_political_power = 150
		every_core_state = {
			add_state_modifier = {
				modifier = {
					local_manpower = 0.05
				}
			}
		}

	}
}

shared_focus = {
	id = cym_local_levies
	icon = GFX_focus_generic_monarchy_2
	cost = 50
	x = -1
	y = 1
	relative_position_id = cym_army_of_armies
    prerequisite = {
		focus = cym_army_of_armies
	}

	mutually_exclusive = {
		focus = cym_youth_organizations
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		add_political_power = 100
		every_core_state = {
			add_state_modifier = {
				modifier = {
					local_manpower = 0.15
				}
			}
		}

	}
}

shared_focus = {
	id = cym_hunters_experience
	icon = GFX_focus_generic_women_in_military
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_local_levies
    prerequisite = {
		focus = cym_local_levies
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		army_experience = 25
		add_ideas = cym_idea_local_experience

	}
}

shared_focus = {
	id = cym_youth_organizations
	icon = GFX_focus_generic_support_the_left_right
	cost = 50
	x = 1
	y = 1
	relative_position_id = cym_army_of_armies
    prerequisite = {
		focus = cym_army_of_armies
	}

	mutually_exclusive = {
		focus = cym_local_levies
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		add_ideas = cym_idea_youth_organizations
		every_core_state = {
			add_state_modifier = {
				modifier = {
					local_manpower = 0.10
				}
			}
		}

	}
}

shared_focus = {
	id = cym_veteran_trainers
	icon = GFX_focus_generic_military_academy
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_youth_organizations
    prerequisite = {
		focus = cym_youth_organizations
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		army_experience = 25
		swap_ideas = {
			remove_idea = cym_idea_youth_organizations
			add_idea = cym_idea_youth_organizations_b
		}

	}
}

shared_focus = {
	id = cym_broad_command
	icon = GFX_goal_generic_air_doctrine
	cost = 50
	x = 1
	y = 1
	relative_position_id = cym_hunters_experience
    prerequisite = {
		focus = cym_hunters_experience
		focus = cym_veteran_trainers
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		add_political_power = 150
		add_ideas = cym_idea_broad_command
	}
}

shared_focus = {
	id = cym_grand_command
	icon = GFX_focus_generic_military_dictatorship
	cost = 25
	x = 2
	y = 1
	relative_position_id = cym_military_politics
    prerequisite = {
		focus = cym_military_politics
	}

	mutually_exclusive = {
		focus = cym_army_of_armies
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		add_political_power = 100
		army_experience = 20
		add_ideas = cym_idea_grand_command_a
	}
}

shared_focus = {
	id = cym_well_laid_plans
	icon = GFX_goal_generic_army_doctrines
	cost = 50
	x = -1
	y = 1
	relative_position_id = cym_grand_command
    prerequisite = {
		focus = cym_grand_command
	}

	mutually_exclusive = {
		focus = cym_special_commands
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		swap_ideas = {
			remove_idea = cym_idea_grand_command_a
			add_idea = cym_idea_grand_command_b
		}
	}
}

shared_focus = {
	id = cym_theory_classes
	icon = GFX_focus_hol_the_foundations_of_defense
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_well_laid_plans
    prerequisite = {
		focus = cym_well_laid_plans
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		swap_ideas = {
			remove_idea = cym_idea_grand_command_b
			add_idea = cym_idea_grand_command_c
		}
		every_unit_leader = {
			add_planning = 1
		}
	}
}

shared_focus = {
	id = cym_special_commands
	icon = GFX_goal_generic_special_forces
	cost = 50
	x = 1
	y = 1
	relative_position_id = cym_grand_command
    prerequisite = {
		focus = cym_grand_command
	}

	mutually_exclusive = {
		focus = cym_well_laid_plans
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		add_political_power = 50
		swap_ideas = {
			remove_idea = cym_idea_grand_command_a
			add_idea = cym_idea_grand_command_x
		}
	}
}

shared_focus = {
	id = cym_better_training
	icon = GFX_goal_generic_military_sphere
	cost = 50
	x = 0
	y = 1
	relative_position_id = cym_special_commands
    prerequisite = {
		focus = cym_special_commands
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		swap_ideas = {
			remove_idea = cym_idea_grand_command_x
			add_idea = cym_idea_grand_command_y
		}
	}
}

shared_focus = {
	id = cym_solidified_command
	icon = GFX_focus_rom_royal_dictatorship
	cost = 50
	x = 1
	y = 1
	relative_position_id = cym_theory_classes
    prerequisite = {
		focus = cym_theory_classes
		focus = cym_better_training
	}

	ai_will_do = { 
		factor = 1
	}    
    completion_reward = {
		add_political_power = 200
		add_command_power = 100

		effect_tooltip = {
			swap_ideas = {
				remove_idea = cym_idea_grand_command_a
				add_idea = cym_idea_grand_command_demonstration
			}
		}

		hidden_effect = {
			if = {
				limit = {has_completed_focus = cym_better_training}
				swap_ideas = {
					remove_idea = cym_idea_grand_command_y
					add_idea = cym_idea_grand_command_z
				}
			}
			else = {
				swap_ideas = {
					remove_idea = cym_idea_grand_command_c
					add_idea = cym_idea_grand_command_d
				}
			}
		}
		
	}
}


