# Free States of America FT Civil War / Reconstruction Era
# Civil War ~ 4 Years
# Reconstruction ~ 10 Years

focus_tree = {
	id = manhattan_commune_vic_ft
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = MHC
		}
	}

	#continuous_focus_position = {x = 600 y = 1000 }

	default = no
	
	focus = {
		id = MHC_our_neighbors
		icon = GFX_Focus_Continent_North_America
		x = 14
		y = 0
		cost = 75
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_emergency_elections_concluded_tooltip
				has_country_flag = MHC_emergency_elections_concluded_flag
			}
		}
		completion_reward = {
			
		}
	}
	
	focus = {
		id = MHC_the_successor_question
		icon = GFX_Focus_Monarchy_Usurp_Throne
		relative_position_id = MHC_our_neighbors
		x = -1
		y = 1
		cost = 75
		prerequisite = { 
			focus = MHC_our_neighbors
		}
		completion_reward = {
			country_event = { id = mh_commune.18 }
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_embargo_policies
		icon = GFX_goal_generic_intelligence_exchange
		relative_position_id = MHC_our_neighbors
		x = 1
		y = 1
		cost = 75
		available = {
			has_completed_focus = MHC_the_successor_question
		}
		prerequisite = { 
			focus = MHC_our_neighbors
		}
		completion_reward = {
			country_event = { id = mh_commune.31 }
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_propose_new_england_treaty
		icon = GFX_Focus_Ideology_Socialism_ally
		relative_position_id = MHC_our_neighbors
		x = 4
		y = 2
		cost = 75
		available = {
			if = {
				limit = { NEG = { has_country_flag = is_successor_state_of_usa_flag } }
				MHC = {
					custom_trigger_tooltip = {
						tooltip = not_successor_state_tooltip
						has_country_flag = not_successor_state_of_usa_flag
					}
				}
			}
			else_if = {
				limit = { has_country_flag = is_successor_state_of_usa_flag }
				NEG = {
					custom_trigger_tooltip = {
						tooltip = not_successor_state_tooltip
						has_country_flag = not_successor_state_of_usa_flag
					}
				}
			}
			else_if = {
				limit = { 
					NEG = { has_country_flag = not_successor_state_of_usa_flag }
					MHC = { has_country_flag = not_successor_state_of_usa_flag }
				}
				MHC = {
					custom_trigger_tooltip = {
						tooltip = not_successor_state_tooltip
						has_country_flag = not_successor_state_of_usa_flag
					}
				}
				NEG = {
					custom_trigger_tooltip = {
						tooltip = not_successor_state_tooltip
						has_country_flag = not_successor_state_of_usa_flag
					}
				}
			}
			else = {
				OR = {
					MHC = {
						custom_trigger_tooltip = {
							tooltip = not_successor_state_tooltip
							has_country_flag = not_successor_state_of_usa_flag
						}
					}
					NEG = {
						custom_trigger_tooltip = {
							tooltip = not_successor_state_tooltip
							has_country_flag = not_successor_state_of_usa_flag
						}
					}
				}
			}
		}
		prerequisite = { 
			focus = MHC_the_successor_question
		}
		prerequisite = { 
			focus = MHC_embargo_policies
		}
		completion_reward = {
			country_event = { id = mh_commune.32 }
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_propose_manhattan_connecticut_railroad
		icon = GFX_Focus_transport_railroad_development
		relative_position_id = MHC_propose_new_england_treaty
		x = 0
		y = 1
		cost = 75
		prerequisite = { 
			focus = MHC_propose_new_england_treaty
		}
		completion_reward = {
			country_event = { id = mh_commune.36 }
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_propose_free_movement_policies
		icon = GFX_Focus_Ideology_Support_Liberalism
		relative_position_id = MHC_propose_new_england_treaty
		x = 0
		y = 2
		cost = 75
		available = { has_country_flag = MHC_manhattan_connecticut_railroad_finished }
		prerequisite = { 
			focus = MHC_propose_manhattan_connecticut_railroad
		}
		completion_reward = {
			country_event = { id = mh_commune.40 }
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_achieve_economic_interdependence 
		icon = GFX_focus_generic_the_giant_wakes
		relative_position_id = MHC_propose_new_england_treaty
		x = 0
		y = 3
		cost = 75
		prerequisite = { 
			focus = MHC_propose_free_movement_policies
		}
		completion_reward = {
			country_event = { id = mh_commune.44 }
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_support_general_strikes_abroad
		icon = GFX_focus_YUG_pan_slavic_congress
		relative_position_id = MHC_our_neighbors
		x = 1
		y = 2
		cost = 75
		prerequisite = { 
			focus = MHC_the_successor_question
		}
		prerequisite = { 
			focus = MHC_embargo_policies
		}
		completion_reward = {
			
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_support_anti_slavery_movements_abroad
		icon = GFX_goal_continuous_boost_freedom
		relative_position_id = MHC_our_neighbors
		x = -1
		y = 2
		cost = 75
		prerequisite = { 
			focus = MHC_the_successor_question
		}
		prerequisite = { 
			focus = MHC_embargo_policies
		}
		completion_reward = {
			
		}
		ai_will_do = {
			factor = 1
		}
	}

	focus = {
		id = MHC_american_civil_war
		icon = GFX_Focus_War_American_Civil_War
		x = 7
		y = 0
		cost = 14
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			
		}
		bypass = {
			has_war = no
		}
	}
	
	focus = {
		id = MHC_emergency_elections
		icon = GFX_Focus_Vote_Election
		relative_position_id = MHC_american_civil_war
		x = 0
		y = 1
		cost = 75
		available_if_capitulated = no
		available = {
			
		}
		prerequisite = { 
			focus = MHC_american_civil_war
		}
		completion_reward = {
			ROOT = { country_event = { id = mh_commune.15 } }
			hidden_effect = {
				MHC = {
					set_variable = { var = council_leadership_score_social_egalitarianism 	value = 100 }
					set_variable = { var = council_leadership_score_anarchism 				value = 100 }
					set_variable = { var = council_leadership_score_ideology_radical_socialism 	value = 100 }
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_revolutionary_council_vote_militarism
		icon = GFX_Focus_Army_Reformed
		relative_position_id = MHC_emergency_elections
		x = -3
		y = 1
		cost = 75
		available_if_capitulated = no
		
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_emergency_elections_initiated_tooltip
				has_country_flag = MHC_emergency_elections_initiated_flag
			}
		}
		prerequisite = { 
			focus = MHC_emergency_elections
		}
		completion_reward = {
			custom_effect_tooltip = MHC_revolutionary_council_vote_militarism_tooltip
			hidden_effect = {
				MHC = {
					country_event = { id = mh_commune.1 }
					country_event = { id = mh_commune.2 days = 7 }
					country_event = { id = mh_commune.3 days = 14 }
					country_event = { id = mh_commune.4 days = 21 }
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_revolutionary_council_vote_bill_of_rights
		icon = GFX_Focus_Ideology_Liberty
		relative_position_id = MHC_emergency_elections
		x = -1
		y = 1
		cost = 75
		available_if_capitulated = no
		
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_emergency_elections_initiated_tooltip
				has_country_flag = MHC_emergency_elections_initiated_flag
			}
		}
		prerequisite = { 
			focus = MHC_emergency_elections
		}
		completion_reward = {
			custom_effect_tooltip = MHC_revolutionary_council_vote_bill_of_rights_tooltip
			hidden_effect = {
				MHC = {
					country_event = { id = mh_commune.5 }
					country_event = { id = mh_commune.6 days = 7 }
					country_event = { id = mh_commune.7 days = 14 }
					country_event = { id = mh_commune.8 days = 21 }
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_revolutionary_council_vote_internationalism
		icon = GFX_focus_usa_socialist_internationalism
		relative_position_id = MHC_emergency_elections
		x = 1
		y = 1
		cost = 75
		available_if_capitulated = no
		
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_emergency_elections_initiated_tooltip
				has_country_flag = MHC_emergency_elections_initiated_flag
			}
		}
		prerequisite = { 
			focus = MHC_emergency_elections
		}
		completion_reward = {
			custom_effect_tooltip = MHC_revolutionary_council_vote_internationalism_tooltip
			hidden_effect = {
				MHC = {
					country_event = { id = mh_commune.9 }
					country_event = { id = mh_commune.10 days = 7 }
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_revolutionary_council_vote_capitalism
		icon = GFX_Focus_Working_Hours
		relative_position_id = MHC_emergency_elections
		x = 3
		y = 1
		cost = 75
		available_if_capitulated = no
		
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_emergency_elections_initiated_tooltip
				has_country_flag = MHC_emergency_elections_initiated_flag
			}
		}
		prerequisite = { 
			focus = MHC_emergency_elections
		}
		completion_reward = {
			custom_effect_tooltip = MHC_revolutionary_council_vote_capitalism_tooltip
			hidden_effect = {
				MHC = {
					country_event = { id = mh_commune.11 }
					country_event = { id = mh_commune.12 days = 7 }
					country_event = { id = mh_commune.13 days = 14 }
					country_event = { id = mh_commune.14 days = 21 }
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_emergency_elections_concluded
		icon = GFX_focus_generic_soviet_politics
		relative_position_id = MHC_emergency_elections
		x = 0
		y = 2
		cost = 75
		available_if_capitulated = no
		
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_revolutionary_council_voted_militarism_tooltip
				has_country_flag = MHC_revolutionary_council_voted_militarism_flag
			}
			custom_trigger_tooltip = {
				tooltip = MHC_revolutionary_council_voted_bill_of_rights_tooltip
				has_country_flag = MHC_revolutionary_council_voted_bill_of_rights_flag
			}
			custom_trigger_tooltip = {
				tooltip = MHC_revolutionary_council_voted_capitalism_tooltip
				has_country_flag = MHC_revolutionary_council_voted_capitalism_flag
			}
			custom_trigger_tooltip = {
				tooltip = MHC_revolutionary_council_voted_foreign_tooltip
				has_country_flag = MHC_revolutionary_council_voted_foreign_flag
			}
		}
		prerequisite = { 
			focus = MHC_revolutionary_council_vote_militarism
		}
		prerequisite = { 
			focus = MHC_revolutionary_council_vote_bill_of_rights
		}
		prerequisite = { 
			focus = MHC_revolutionary_council_vote_internationalism
		}
		prerequisite = { 
			focus = MHC_revolutionary_council_vote_capitalism
		}
		completion_reward = {
			MHC = { country_event = { id = mh_commune.16 } }
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_social_egalitarianism_victory
		icon = GFX_Focus_Ideology_Support_Democracy
		relative_position_id = MHC_emergency_elections
		x = 2
		y = 3
		cost = 75
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_revolutionary_council_voted_party_tooltip
				has_country_flag = MHC_revolutionary_council_voted_party_flag
			}
			has_government = social_egalitarianism
		}
		prerequisite = { 
			focus = MHC_emergency_elections_concluded
		}
		completion_reward = {
			#swap_ideas = {
			#	remove_idea = revolutionary_government
			#	add_idea = presidential_republic
			#}
			hidden_effect = {
				add_ideas = {
					NA_B_executive_branch_idea
					NA_B_congressional_branch_idea
					NA_B_judicial_branch_idea
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_anarchism_victory
		icon = GFX_Focus_Ideology_Soviet_Revolution_Council
		relative_position_id = MHC_emergency_elections
		x = 0
		y = 3
		cost = 75
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_revolutionary_council_voted_party_tooltip
				has_country_flag = MHC_revolutionary_council_voted_party_flag
			}
			has_government = anarchism
		}
		prerequisite = { 
			focus = MHC_emergency_elections_concluded
		}
		completion_reward = {
			#swap_ideas = {
			#	remove_idea = revolutionary_government
			#	add_idea = council_communism
			#}
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_radical_socialism_victory
		icon = GFX_focus_prc_agrarian_socialism
		relative_position_id = MHC_emergency_elections
		x = -2
		y = 3
		cost = 75
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_revolutionary_council_voted_party_tooltip
				has_country_flag = MHC_revolutionary_council_voted_party_flag
			}
			has_government = ideology_radical_socialism
		}
		prerequisite = { 
			focus = MHC_emergency_elections_concluded
		}
		completion_reward = {
			#swap_ideas = {
			#	remove_idea = revolutionary_government
			#	add_idea = council_communism
			#}
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_revolutionary_council_disjointed
		icon = GFX_goal_anti_comintern_pact
		relative_position_id = MHC_emergency_elections
		x = -1
		y = 4
		cost = 75
		available_if_capitulated = no
		
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_emergency_elections_concluded_tooltip
				has_country_flag = MHC_emergency_elections_concluded_flag
			}
			custom_trigger_tooltip = {
				tooltip = MHC_revolutionary_council_disjointed_tooltip
				has_country_flag = MHC_revolutionary_council_disjointed_flag
				NOT = { has_country_flag = MHC_revolutionary_council_risk_of_disjoint_flag }
			}
		}
		prerequisite = {
			focus = MHC_radical_socialism_victory
			focus = MHC_anarchism_victory
			focus = MHC_social_egalitarianism_victory
		}
		completion_reward = {
			
		}
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = MHC_revolutionary_council_unified
		icon = GFX_goal_support_communism
		relative_position_id = MHC_emergency_elections
		x = 1
		y = 4
		cost = 75
		available_if_capitulated = no
		
		available = {
			custom_trigger_tooltip = {
				tooltip = MHC_emergency_elections_concluded_tooltip
				has_country_flag = MHC_emergency_elections_concluded_flag
			}
			custom_trigger_tooltip = {
				tooltip = MHC_revolutionary_council_unified_tooltip
				has_country_flag = MHC_revolutionary_council_unified_flag
				NOT = { has_country_flag = MHC_revolutionary_council_risk_of_disjoint_flag }
			}
		}
		prerequisite = { 
			focus = MHC_radical_socialism_victory
			focus = MHC_anarchism_victory
			focus = MHC_social_egalitarianism_victory
		}
		completion_reward = {
			
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	
}
