focus_tree = {
id = unrest
 country = {
	factor = 0
	
	modifier = {
		add = 0
		OR = {
			tag = RIR
		}
	}
}

default = no

continuous_focus_position = { x = 2250 y = 5350 }

focus = {
	id =   deadplankt
	icon = GFX_deadplankt
	cost = 1

	mutually_exclusive = { }
	x = 10
	y = 0

	prerequisite = { }
	relative_position_id = 5

	available = {

	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	complete_tooltip = {

	}

	completion_reward = {	
	hidden_effect = {	
	set_country_flag = unrest_bottom
	
    if = {
        limit = {
		AND = {
            has_country_flag = failwar_squidy_dead
            has_country_flag = failwar_krabs_dead   
            has_country_flag = failwar_sponge_dead
               }               }

         country_event = { id = sponge.3221 days = 25 }
    }
    else = {
         country_event = { id = sponge.3222 days = 25 }
    }
	
 	}


	ai_will_do = {
		factor = 1
	}
	}

}

focus = {
	id =    fish_laying
	icon = GFX_fish_laying
	cost = 1

	mutually_exclusive = { }
	x = 12
	y = 1

	prerequisite = { focus = deadplankt	}
	relative_position_id = 4

	available = {

	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	complete_tooltip = {

	}

	completion_reward = {	
	
add_command_power = 200
add_manpower = -1000000

	ai_will_do = {
		factor = 1
	}
	}

}
focus = {
	id = pistol_icon
	icon = GFX_pistol_icon
	cost = 1

	mutually_exclusive = { }
	x = 8
	y = 1

	prerequisite = { focus = deadplankt}
	relative_position_id = 3

	available = {

	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	complete_tooltip = {

	}

	completion_reward = {	
	add_timed_idea = {
    idea = unrest_cp
    days = 260
}  


	ai_will_do = {
		factor = 1
	}
	}

}
focus = {
	id = plankton_hands
	icon = GFX_plankton_hands
	cost = 1

	mutually_exclusive = { }
	x = 10
	y = 2
	prerequisite = { focus = deadplankt}
 	relative_position_id = 2

	available = {

	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	complete_tooltip = {

	}

	completion_reward = {	
	
add_stability = 0.15
add_political_power = 1000


	ai_will_do = {
		factor = 1
	}
	}

}
focus = {
	id =  vial
	icon = GFX_vial
	cost = 1

	mutually_exclusive = { }
	x = 11
	y = 3
	prerequisite = { focus = deadplankt}
 	relative_position_id = 1

	available = {
has_war = no

	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	complete_tooltip = {

	}

	completion_reward = {	
	add_research_slot = -2

add_command_power = 250
 add_stability = 0.25
add_war_support = 0.25
add_political_power = 550

	ai_will_do = {
		factor = 1
	}
	}

} 
focus = {
	id =   call
	icon = GFX_call
	cost = 1

	mutually_exclusive = { }
	x = 9
	y = 3
	prerequisite = { focus = deadplankt}
 	relative_position_id = 1

	available = {
has_war = no

	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	complete_tooltip = {

	}

	completion_reward = {	
	
	country_event = sponge.33
 

	ai_will_do = {
		factor = 1
	}
	}

} 
focus = {
	id =    acidrain
	icon = GFX_acidrain
	cost = 1

	mutually_exclusive = { }
	x = 9
	y = 3
	prerequisite = { focus = deadplankt}
 	relative_position_id = 1

	available = {
has_war = no

	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no



	completion_reward = {	
 			custom_effect_tooltip = unrest_focus_1_tt
			add_to_variable = { military_research = 0.05 }

 
	ai_will_do = {
		factor = 1
	}
	}

} 
focus = {
	id =    bottom
	icon = GFX_bottom
	cost = 1

	mutually_exclusive = { }
	x = 13
	y = 4
	prerequisite = { focus = deadplankt}
 	relative_position_id = 1

	available = {
has_war = no

	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	complete_tooltip = {

	}

	completion_reward = {	
	
add_command_power = 400
add_war_support = 0.15
  		add_equipment_to_stockpile = {
    type = infantry_equipment_1
    amount = -100000
	  producer = RIR

}

	ai_will_do = {
		factor = 1
	}
	}

}   
focus = {
	id = plankton_teeth
	icon = GFX_plankton_teeth
	cost = 1

	mutually_exclusive = { }
	x = 7
	y = 4
	prerequisite = { focus = deadplankt}
 	relative_position_id = 1

	available = {
has_war = no

	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	complete_tooltip = {

	}

	completion_reward = {	
	
set_political_power = 666
 

	ai_will_do = {
		factor = 1
	}
	}

}  

focus = {
	id = clock2
	icon = GFX_clock2
	cost = 1

	mutually_exclusive = { }
	x = 6
	y = 6
	prerequisite = { focus = deadplankt}
 	relative_position_id = 1

	available = {
 
	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	complete_tooltip = {

	}

	completion_reward = {	
	
add_timed_idea = {
    idea = clock
    days = 60
} 

	ai_will_do = {
		factor = 1
	}
	}

}  
focus = {
	id = city2
	icon = GFX_city2
	cost = 1

	mutually_exclusive = { }
	x = 14
	y = 6
	prerequisite = { focus = deadplankt}
 	relative_position_id = 1

	available = {
has_war = no

	}
	
	bypass = {

	}

	cancel_if_invalid = yes
	continue_if_invalid = no
	available_if_capitulated = no

	complete_tooltip = {

	}

	completion_reward = {	
	
			custom_effect_tooltip = unrest_focus_2_tt
 add_to_variable = { var = unrest_1 value = -10 }
add_to_variable = { var = unrest_2 value = -10 }
add_to_variable = { var = unrest_3 value = -10 }
add_to_variable = { var = unrest_4 value = -10 }
add_to_variable = { var = unrest_5 value = -10 }
add_to_variable = { var = unrest_6 value = -10 }
add_to_variable = { var = unrest_7 value = -10 }


	ai_will_do = {
		factor = 1
	}
	}

} 
}