﻿focus_tree = {
	id = plankton_phase3
	
	country = {
		factor = 0
		
		modifier = {
			add = 0
			OR = {
				tag = PLA
			}
 		}
	}
	
	default = no

	continuous_focus_position = { x = 2250 y = 5350 }

 

 
 	focus = {
		id =  patrick_hands
		icon = GFX_patrick_hands
		cost = 7

		mutually_exclusive = { }
		x = 10
		y = 0

  
		relative_position_id = 

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
				KRA = {
			load_oob = "KRA_1936"
			load_oob = "KRA_1936"
			load_oob = "KRA_1936"
			load_oob = "KRA_1936"
			add_manpower = 110000000
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1000000
				add_ideas = fff_buff
			}
 		}
		SPO = {
			load_oob = "SPO_1936"
			load_oob = "SPO_1936"
			load_oob = "SPO_1936"
			load_oob = "SPO_1936"
			add_manpower = 110000000
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1000000
								add_ideas = fff_buff

			}
 		}
		SQU = {
			load_oob = "SQU_1936"
			load_oob = "SQU_1936"
			load_oob = "SQU_1936"
			load_oob = "SQU_1936"
			add_manpower = 110000000
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1000000
								add_ideas = fff_buff

			}
 		}	
		PAT = {
			load_oob = "PAT_1936"
			load_oob = "PAT_1936"
			load_oob = "PAT_1936"
			load_oob = "PAT_1936"
			add_manpower = 110000000
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1000000
								add_ideas = fff_buff

			}
 		}		
  set_country_flag = finalbattle_bottom	
  set_global_flag = fff	


		ai_will_do = {
			factor = 1
		}
		}

	}
 	focus = {
		id =  patrick_happy
		icon = GFX_patrick_happy
		cost = 7

		mutually_exclusive = { }
		x = 8
		y = 3

 		prerequisite = { focus = patrick_hands}
		relative_position_id = 

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
		
custom_effect_tooltip = focus_squ_small_fff_tooltip
 add_to_variable = { var = squ_fff_progress value = 10 }
	custom_effect_tooltip = phase_3_tt	
	add_to_variable = { var = prayer_points value = 1 }

		ai_will_do = {
			factor = 1
		}
		}

	}
 	focus = {
		id =  patrick_stupid
		icon = GFX_patrick_stupid
		cost = 7

		mutually_exclusive = { }
		x = 12
		y = 3

		prerequisite = { focus = patrick_hands }
 		relative_position_id = 

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
		custom_effect_tooltip = focus_bob_fff_tooltip
 add_to_variable = { var = spo_fff_progress value = 10 }

	custom_effect_tooltip = phase_3_tt	
	add_to_variable = { var = prayer_points value = 1 }


		ai_will_do = {
			factor = 1
		}
		}

	}
	
		
 	focus = {
		id =  plankton_gas
		icon = GFX_plankton_gas
		cost = 7

		mutually_exclusive = { }
		x = 10
		y = 4

		prerequisite = { focus = patrick_stupid }
		prerequisite = { focus = patrick_happy}
 
		relative_position_id = 

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
		
custom_effect_tooltip = focus_squkra_fff_tooltip
			add_to_variable = { var = squ_fff_progress value = 15 }
			add_to_variable = { var = kra_fff_progress value = 20 }
	custom_effect_tooltip = phase_3_tt	
	add_to_variable = { var = prayer_points value = 1 }

		ai_will_do = {
			factor = 1
		}
		}

	}	
		
 	focus = {
		id =  PLANTKON_AI
		icon = GFX_PLANTKON_AI
		cost = 7

		mutually_exclusive = { }
		x = 10
		y = 5

		prerequisite = { focus = plankton_gas }
  
		relative_position_id = 

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
		
custom_effect_tooltip = focus_kraspo_fff_tooltip
			add_to_variable = { var = spo_fff_progress value = 10 }
			add_to_variable = { var = kra_fff_progress value = 20 }
	custom_effect_tooltip = phase_3_tt	
	add_to_variable = { var = prayer_points value = 1 }

		ai_will_do = {
			factor = 1
		}
		}

	}
 	focus = {
		id =  patrick_jellyfish
		icon = GFX_patrick_jellyfish
		cost = 7

		mutually_exclusive = { }
		x = 11
		y = 6

		prerequisite = { focus = plankton_gas }
  		prerequisite = { focus = PLANTKON_AI }

		relative_position_id = 

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
		
custom_effect_tooltip = focus_squspo_fff_tooltip
			add_to_variable = { var = spo_fff_progress value = 10 }
			add_to_variable = { var = squ_fff_progress value = 15 }
	custom_effect_tooltip = phase_3_tt	
	add_to_variable = { var = prayer_points value = 1 }

		ai_will_do = {
			factor = 1
		}
		}

	}	
 	focus = {
		id =  patrick_fallen
		icon = GFX_patrick_fallen
		cost = 7

		mutually_exclusive = { }
		x = 9
		y = 6

		prerequisite = { focus = plankton_gas }
    		prerequisite = { focus = PLANTKON_AI }

		relative_position_id = 

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
		
	custom_effect_tooltip = focus_kra_small_fff_tooltip
	add_to_variable = { var = kra_fff_progress value = 10 }
	custom_effect_tooltip = phase_3_tt	
	add_to_variable = { var = prayer_points value = 1 }

		ai_will_do = {
			factor = 1
		}
		}

	}	
 		
 	focus = {
		id =  patrick_upset
		icon = GFX_patrick_upset
		cost = 7

		mutually_exclusive = { }
		x = 10
		y = 8

		prerequisite = { focus = patrick_jellyfish }
		prerequisite = { focus = patrick_fallen }

		relative_position_id = 

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
	custom_effect_tooltip = phase_3_tt	
	add_to_variable = { var = prayer_points value = 1 }


		ai_will_do = {
			factor = 1
		}
		}

	}	  
 	focus = {
		id =  imout
		icon = GFX_imout
		cost = 7

		mutually_exclusive = { }
		x = 10
		y = 10

		prerequisite = { focus = patrick_upset }
  
		relative_position_id = 

		available = {

		}
		select_effect  = {	
country_event = {
    id = sponge.1774
    days = 10
 }
country_event = {
    id = sponge.1775
    days = 30
 }
country_event = {
    id = sponge.1776
    days = 20
 }

ai_will_do = {
	factor = 1
}
}
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
		 hidden_effect = {
		country_event = sponge.66665
				}

  	custom_effect_tooltip = phase_3_tt	
	add_to_variable = { var = prayer_points value = 1 }

		ai_will_do = {
			factor = 1
		}
		}

	}		 		
}
