focus_tree = {
	id = ENG_covid_response
	country = {
		factor = 0
		modifier = { add = 10 tag = ENG }
	}
	default = no

	#================ 顶点 ==================
	focus = {
		id = ENG_covid_root
		icon = GFX_goal_ENG_covid_root
		x = 14
		y = 0
		cost = 10
		desc = ENG_covid_root_desc

		available = { tag = ENG }
		
		cancel_if_invalid = no            # 不可取消
		continue_if_invalid = yes  

    # 当国策开始时立即触发一个隐藏效果
		select_effect = {
			country_event = { id = ENG_Covid.1 days = 7 }   # 启动7天后自动触发事件
			country_event = { id = ENG_Covid.2 days = 14 }   # 启动14天后自动触发事件
			country_event = { id = ENG_Covid.3 days = 21 }
			country_event = { id = ENG_Covid.4 days = 28 }
			country_event = { id = ENG_Covid.5 days = 35 }
			country_event = { id = ENG_Covid.6 days = 42 }
			country_event = { id = ENG_Covid.7 days = 49 }
			country_event = { id = ENG_Covid.8 days = 70 }
		}

		completion_reward = {
			add_dynamic_modifier = { modifier = ENG_economy_dynamic }

		}
	}


	#================ 消极防控线（左） ==================
	focus = {
		id = ENG_passive_immunity_field
		icon = GFX_goal_ENG_passive_immunity_field
		prerequisite = { focus = ENG_covid_root }
		mutually_exclusive = { focus = ENG_active_health_act }
		x = 7
		y = 1
		cost = 1
		completion_reward = {
			add_stability = -0.03                     # 社会分歧和恐慌略增
			add_war_support = -0.02                   # 对政府信任下降
			add_political_power = 50                  # 政府快速拍板的政治收益
			country_event = ENG_Covid_Events.111
			}
		
		desc = ENG_passive_immunity_field_desc
		available = {
			always = no
		}
	}

	# 防控线
	focus = {
		id = ENG_delay_spread_theory
		icon = GFX_goal_ENG_delay_spread_theory
		prerequisite = { focus = ENG_passive_immunity_field }
		x = 5
		y = 2
		cost = 2
		
		completion_reward = {
			unlock_decision_tooltip = ENG_cover_up_pandemic
			add_political_power = 25
			add_to_variable = { ENG_uk_covid19_sf = 0.02 }
			add_to_variable = { ENG_uk_covid19_pdm = 0.05 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_6
				}
			}
			country_event = ENG_Covid_Events.112
		}
		desc = ENG_delay_spread_theory_desc
	}

	focus = {
		id = ENG_refuse_lockdown
		icon = GFX_goal_ENG_refuse_lockdown
		prerequisite = { focus = ENG_delay_spread_theory }
		x = 5
		y = 3
		cost = 2
		
		completion_reward = {
			unlock_decision_tooltip = ENG_relex_lockdown
			add_to_variable = { ENG_uk_covid19_sf = -0.02 }
			add_to_variable = { ENG_uk_covid19_icf = 0.05 }
			add_to_variable = { ENG_uk_covid19_pdm = 0.01 }
			add_to_variable = { ENG_uk_covid19_im = 0.001 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_8
				}
			}
			country_event = ENG_Covid_Events.113
		}
		
		desc = ENG_refuse_lockdown_desc
	}

	focus = {
		id = ENG_hospital_overflow
		icon = GFX_goal_ENG_hospital_overflow
		prerequisite = { focus = ENG_refuse_lockdown }
		x = 5
		y = 4
		cost = 2

		completion_reward = {
			add_political_power = 50
			add_to_variable = { ENG_uk_covid19_sf = -0.2 }
			add_to_variable = { ENG_uk_covid19_pdm = -0.15 }
			add_to_variable = { ENG_uk_covid19_sdm = -0.2 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_9
				}
			}
			country_event = ENG_Covid_Events.114
		}

		desc = ENG_hospital_overflow_desc
	}

	focus = {
		id = ENG_live_with_virus
		icon = GFX_goal_ENG_live_with_virus
		prerequisite = { focus = ENG_hospital_overflow }
		x = 5
		y = 5
		cost = 2

		completion_reward = {
			add_to_variable = { ENG_uk_covid19_sf = -0.25 }
			add_to_variable = { ENG_uk_covid19_pdm = -0.2 }
			add_to_variable = { ENG_uk_covid19_sdm = -0.2 }
			add_to_variable = { ENG_uk_covid19_icf = 0.03 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_10
				}
			}
			country_event = ENG_Covid_Events.115
		}

		desc = ENG_live_with_virus_desc
	}

	# 政治线
	focus = {
		id = ENG_cabinet_division
		icon = GFX_goal_ENG_cabinet_division
		prerequisite = { focus = ENG_passive_immunity_field }
		x = 7
		y = 2
		cost = 2

		completion_reward = {
			add_political_power = -50
			add_to_variable = { ENG_uk_covid19_sf = -0.05 }
			add_to_variable = { ENG_uk_covid19_pdm = -0.01 }
			add_to_variable = { ENG_uk_covid19_sdm = -0.03 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_11
				}
			}
			add_popularity = {
				ideology = libertarian_socialist
				popularity = -0.05
			}
			add_popularity = {
				ideology = social_democrat
				popularity = -0.05
			}
			add_popularity = {
				ideology = market_liberal
				popularity = -0.05
			}
			add_popularity = {
				ideology = conservative
				popularity = -0.05
			}
			country_event = ENG_Covid_Events.116
		}

		desc = ENG_cabinet_division_desc
	}

	focus = {
		id = ENG_street_anger
		icon = GFX_goal_ENG_street_anger
		prerequisite = { focus = ENG_cabinet_division }
		x = 7
		y = 3
		cost = 2

		completion_reward = {
			add_to_variable = { ENG_uk_covid19_sf = -0.1 }
			add_to_variable = { ENG_uk_covid19_sdm = -0.1 }
			add_to_variable = { ENG_uk_covid19_pdm = -0.12 }
			add_to_variable = { ENG_uk_covid19_sw = -0.1 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_12
				}
			}
			country_event = ENG_Covid_Events.117
		}

		desc = ENG_street_anger_desc
	}

	focus = {
		id = ENG_trust_collapse
		icon = GFX_goal_ENG_trust_collapse
		prerequisite = { focus = ENG_street_anger }
		x = 7
		y = 4
		cost = 2

		completion_reward = {
			add_political_power = -75
			add_to_variable = { ENG_uk_covid19_sf = -0.1 }
			add_to_variable = { ENG_uk_covid19_sdm = -0.2 }
			add_to_variable = { ENG_uk_covid19_pdm = -0.1 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_13
				}
			}
			add_popularity = {
				ideology = libertarian_socialist
				popularity = -0.05
			}
			add_popularity = {
				ideology = social_democrat
				popularity = -0.05
			}
			add_popularity = {
				ideology = market_liberal
				popularity = -0.05
			}
			add_popularity = {
				ideology = conservative
				popularity = -0.05
			}
		country_event = ENG_Covid_Events.118
		}

		desc = ENG_trust_collapse_desc
	}

	focus = {
		id = ENG_pm_resignation
		icon = GFX_goal_ENG_pm_resignation
		prerequisite = { focus = ENG_trust_collapse }
		x = 7
		y = 5
		cost = 2

		completion_reward = {
			add_political_power = 50
			add_to_variable = { ENG_uk_covid19_sf = 0.03 }
			add_to_variable = { ENG_uk_covid19_sdm = -0.3 }
			add_to_variable = { ENG_uk_covid19_pdm = -0.2 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_14
				}
			}
			country_event = ENG_Covid_Events.119
		}

		desc = ENG_pm_resignation_desc
	}

	# 经济线
	focus = {
		id = ENG_market_first_principle
		icon = GFX_goal_ENG_market_first_principle
		prerequisite = { focus = ENG_passive_immunity_field }
		x = 9
		y = 2
		cost = 2
		
		completion_reward = {
			unlock_decision_tooltip = ENG_reduce_pandemic_standard
			add_to_variable = { ENG_uk_covid19_sf = -0.02 }
			add_to_variable = { ENG_uk_covid19_icf = 0.05 }
			add_to_variable = { ENG_uk_covid19_idm = 0.04 }
			add_to_variable = { ENG_uk_covid19_pdm = 0.02 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_15
				}
			}
			set_temp_variable = {
				var = income_var_temp
				value = 20
			}
			add_income = yes
			country_event = ENG_Covid_Events.120
		}
		
		desc = ENG_market_first_principle_desc
	}

	focus = {
		id = ENG_open_island
		icon = GFX_goal_ENG_open_island
		prerequisite = { focus = ENG_market_first_principle }
		x = 9
		y = 3
		cost = 2
		
		completion_reward = {
			unlock_decision_tooltip = ENG_shorten_quarantine
			add_to_variable = { ENG_uk_covid19_sf = -0.03 }
			add_to_variable = { ENG_uk_covid19_tlcf = -0.02 }
			add_to_variable = { ENG_uk_covid19_lrf = 0.03 }
			add_to_variable = { ENG_uk_covid19_im = 0.001 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_16
				}
			}
			set_temp_variable = {
				var = income_var_temp
				value = 30
			}
			add_income = yes
			country_event = ENG_Covid_Events.121
		}
		
		desc = ENG_open_island_desc
	}

	focus = {
		id = ENG_city_reopening
		icon = GFX_goal_ENG_city_reopening
		prerequisite = { focus = ENG_open_island }
		x = 9
		y = 4
		cost = 2

		completion_reward = {
			add_to_variable = { ENG_uk_covid19_sf = -0.04 }
			add_to_variable = { ENG_uk_covid19_icf = 0.05 }
			add_to_variable = { ENG_uk_covid19_sdm = -0.03 }
			add_to_variable = { ENG_uk_covid19_pdm = 0.03 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_17
				}
			}
			set_temp_variable = {
				var = income_var_temp
				value = 40
			}
			add_income = yes
			country_event = ENG_Covid_Events.122
		}

		desc = ENG_city_reopening_desc
	}

	focus = {
		id = ENG_freedom_day
		icon = GFX_goal_ENG_freedom_day
		prerequisite = { focus = ENG_city_reopening }
		x = 9
		y = 5
		cost = 2

		completion_reward = {
			add_to_variable = { ENG_uk_covid19_sf = -0.1 }
			add_to_variable = { ENG_uk_covid19_wsf = -0.02 }
			add_to_variable = { ENG_uk_covid19_sdm = -0.05 }
			add_to_variable = { ENG_uk_covid19_icf = 0.03 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_18
				}
			}
			set_temp_variable = {
				var = income_var_temp
				value = 80
			}
			add_income = yes
			country_event = ENG_Covid_Events.123
		}

		desc = ENG_freedom_day_desc
	}
	
	#消极防控结算
	
		focus = {
		id = ENG_painful_victory
		icon = GFX_goal_ENG_painful_victory
		x = 7
		y = 6
		cost = 4

		prerequisite = { 
			focus = ENG_live_with_virus
			focus = ENG_pm_resignation
			focus = ENG_freedom_day 
		}

		available = { 
			AND = {
				has_completed_focus = ENG_pound_stability
				has_completed_focus = ENG_mass_vaccination
				NOT = {
					OR = {
						has_idea = PRC_coronavirus_pandemic_idea
						has_idea = PRC_coronavirus_pandemic_idea1
						has_idea = PRC_coronavirus_pandemic_idea2
						has_idea = PRC_coronavirus_pandemic_idea3
						has_idea = PRC_coronavirus_pandemic_idea4
					}
				}	
			}
		}
		
		completion_reward = {
			add_to_variable = { ENG_uk_covid19_sf = 0.05 }
			add_to_variable = { ENG_uk_covid19_sdm = -0.03 }
			add_to_variable = { ENG_uk_covid19_idm = 0.03 }
			add_to_variable = { ENG_uk_covid19_pdm = 0.01 }
			force_update_dynamic_modifier = yes
			effect_tooltip = {
				swap_ideas = {
					remove_idea = ENG_uk_covid19_tooltip_0
					add_idea = ENG_uk_covid19_tooltip_19
				}
			}
			country_event = ENG_Covid_Events.124
			hidden_effect = {
				country_event = {
					id = ENG_constitutional_monarchist_realignment_event.1
					days = 3
				}
			}
		}
		desc = ENG_painful_victory_desc
	}
	

	#================ 积极防控线（右） ==================
	focus = {
		id = ENG_active_health_act
		icon = GFX_goal_ENG_active_health_act
		prerequisite = { focus = ENG_covid_root }
		mutually_exclusive = { focus = ENG_passive_immunity_field }
		x = 21
		y = 1
		cost = 1
		available = {
			always = no
		}
	}

	# 防控线
	focus = {
		id = ENG_emergency_law
		icon = GFX_goal_ENG_emergency_law
		prerequisite = { focus = ENG_active_health_act }
		x = 21
		y = 2
		cost = 2
		
		completion_reward = {
			add_political_power = -50
			unlock_decision_tooltip = ENG_extend_quarantine
			add_stability = -0.05
			}
		
		desc = ENG_emergency_law_desc
	}

	focus = {
		id = ENG_full_lockdown
		icon = GFX_goal_ENG_full_lockdown
		prerequisite = { focus = ENG_emergency_law }
		x = 21
		y = 3
		cost = 2
		completion_reward = {
			add_political_power = 75
			unlock_decision_tooltip = ENG_declare_a_curfew
			unlock_decision_tooltip = ENG_enforce_lockdown
			add_stability = -0.1
			}
		desc = ENG_full_lockdown_desc
	}

	focus = {
		id = ENG_nhs_mobilization
		icon = GFX_goal_ENG_nhs_mobilization
		prerequisite = { focus = ENG_full_lockdown }
		x = 21
		y = 4
		cost = 2
		completion_reward = {
			add_days_mission_timeout = {
				mission = ENG_control_the_coronavirus_mission
				days = 28		
				}
			}
		desc = ENG_nhs_mobilization_desc
	}

	focus = {
		id = ENG_vaccine_dawn
		icon = GFX_goal_ENG_vaccine_dawn
		prerequisite = { focus = ENG_nhs_mobilization }
		x = 21
		y = 5
		cost = 2
		available = { 
			AND = {
				has_completed_focus = ENG_clinical_trials				
				}
			}
		desc = ENG_vaccine_dawn_desc
	}

	# 政治线
	focus = {
		id = ENG_parliament_meeting
		icon = GFX_goal_ENG_parliament_meeting
		prerequisite = { focus = ENG_active_health_act }
		x = 19
		y = 2
		cost = 2
		desc = ENG_parliament_meeting_desc
	}

	focus = {
		id = ENG_street_flags
		icon = GFX_goal_ENG_street_flags
		prerequisite = { focus = ENG_parliament_meeting }
		x = 19
		y = 3
		cost = 2
		desc = ENG_street_flags_desc
	}

	focus = {
		id = ENG_daily_briefing
		icon = GFX_goal_ENG_daily_briefing
		prerequisite = { focus = ENG_street_flags }
		x = 19
		y = 4
		cost = 2
		desc = ENG_daily_briefing_desc
	}

	focus = {
		id = ENG_steadfast_empire
		icon = GFX_goal_ENG_steadfast_empire
		prerequisite = { focus = ENG_daily_briefing }
		x = 19
		y = 5
		cost = 2
		desc = ENG_steadfast_empire_desc
	}

	# 经济线
	focus = {
		id = ENG_emergency_relief_fund
		icon = GFX_goal_ENG_emergency_relief_fund
		prerequisite = { focus = ENG_active_health_act }
		x = 23
		y = 2
		cost = 2
		desc = ENG_emergency_relief_fund_desc
	}

	focus = {
		id = ENG_freeze_rent
		icon = GFX_goal_ENG_freeze_rent
		prerequisite = { focus = ENG_emergency_relief_fund }
		x = 23
		y = 3
		cost = 2
		desc = ENG_freeze_rent_desc
	}

	focus = {
		id = ENG_factory_conversion
		icon = GFX_goal_ENG_factory_conversion
		prerequisite = { focus = ENG_freeze_rent }
		x = 23
		y = 4
		cost = 2
		desc = ENG_factory_conversion_desc
	}

	focus = {
		id = ENG_dawn_reopening
		icon = GFX_goal_ENG_dawn_reopening
		prerequisite = { focus = ENG_factory_conversion }
		x = 23
		y = 5
		cost = 2
		available = { 
			AND = {
				has_completed_focus = ENG_pound_stability				
				}
			}		
		desc = ENG_dawn_reopening_desc
	}
	
	#积极防控线结算 
		focus = {
		id = ENG_new_start
		icon = GFX_goal_ENG_new_start
		x = 21
		y = 6
		cost = 4

		prerequisite = { 
			focus = ENG_vaccine_dawn
			focus = ENG_dawn_reopening
			focus = ENG_steadfast_empire 
		}

		available = { 
			AND = {
				has_completed_focus = ENG_pound_stability
				has_completed_focus = ENG_mass_vaccination
			NOT = {
				OR = {
					has_idea = PRC_coronavirus_pandemic_idea
					has_idea = PRC_coronavirus_pandemic_idea1
					has_idea = PRC_coronavirus_pandemic_idea2
					has_idea = PRC_coronavirus_pandemic_idea3
					has_idea = PRC_coronavirus_pandemic_idea4
				}
			}				
		}
	}

		desc = ENG_new_start_desc
	}


	#================ 通用经济线 ==================
	focus = {
		id = ENG_covid_economic_support
		icon = GFX_goal_ENG_covid_economic_support
		prerequisite = { focus = ENG_passive_immunity_field focus = ENG_active_health_act }
		x = 12
		y = 2
		cost = 2
		completion_reward = {
			unlock_decision_tooltip = ENG_increase_pandemic_bonus
			unlock_decision_tooltip = ENG_decrease_pandemic_bonus
			}
		desc = ENG_covid_economic_support_desc
	}

	focus = {
		id = ENG_small_business_loan
		icon = GFX_goal_ENG_small_business_loan
		prerequisite = { focus = ENG_covid_economic_support }
		x = 12
		y = 3
		cost = 2
		completion_reward = {
			unlock_decision_tooltip = ENG_little_business_loan
			}
		desc = ENG_small_business_loan_desc
	}

	focus = {
		id = ENG_low_income_subsidy
		icon = GFX_goal_ENG_low_income_subsidy
		prerequisite = { focus = ENG_small_business_loan }
		x = 12
		y = 4
		cost = 2
		desc = ENG_low_income_subsidy_desc
	}

	focus = {
		id = ENG_nhs_overtime_bonus
		icon = GFX_goal_ENG_nhs_overtime_bonus
		prerequisite = { focus = ENG_low_income_subsidy }
		x = 12
		y = 5
		cost = 2
		completion_reward = {
			unlock_decision_tooltip = ENG_nhs_overtime
			}
		desc = ENG_nhs_overtime_bonus_desc
	}

	focus = {
		id = ENG_govt_bonds
		icon = GFX_goal_ENG_govt_bonds
		prerequisite = { focus = ENG_nhs_overtime_bonus }
		x = 12
		y = 6
		cost = 2
		desc = ENG_govt_bonds_desc
	}

	focus = {
		id = ENG_pound_stability
		icon = GFX_goal_ENG_pound_stability
		prerequisite = { focus = ENG_govt_bonds }
		x = 12
		y = 7
		cost = 2
		desc = ENG_pound_stability_desc
	}

	#================ 通用科研线 ==================
	focus = {
		id = ENG_oxford_vaccine_program
		icon = GFX_goal_ENG_oxford_vaccine_program
		prerequisite = { focus = ENG_passive_immunity_field focus = ENG_active_health_act }
		x = 16
		y = 2
		cost = 2
		completion_reward = {
			activate_mission = ENG_vaccine_development_mission
			add_political_power = -50
			}
		desc = ENG_oxford_vaccine_program_desc
	}

	focus = {
		id = ENG_pfizer_joint_project
		icon = GFX_goal_ENG_pfizer_joint_project
		prerequisite = { focus = ENG_oxford_vaccine_program }
		x = 16
		y = 3
		cost = 2
		completion_reward = {
			add_days_mission_timeout = {
				mission = ENG_vaccine_development_mission
				days = -45		
				}
			add_political_power = -50
		desc = ENG_pfizer_joint_project_desc
		}
	}

	focus = {
		id = ENG_clinical_trials
		icon = GFX_goal_ENG_clinical_trials
		prerequisite = { focus = ENG_pfizer_joint_project }
		x = 16
		y = 4
		cost = 2
		completion_reward = {
			add_days_mission_timeout = {
				mission = ENG_vaccine_development_mission
				days = -60		
				}
			add_stability = 0.05
			}
		desc = ENG_clinical_trials_desc
	}

	focus = {
		id = ENG_vaccine_distribution
		icon = GFX_goal_ENG_vaccine_distribution
		prerequisite = { focus = ENG_clinical_trials }
		x = 16
		y = 5
		cost = 2
		completion_reward = {
			add_days_mission_timeout = {
				mission = ENG_vaccine_development_mission
				days = -30		
				}
			add_stability = 0.05
			add_political_power = -50
			}
		desc = ENG_vaccine_distribution_desc
	}

	focus = {
		id = ENG_vaccine_diplomacy
		icon = GFX_goal_ENG_vaccine_diplomacy
		prerequisite = { focus = ENG_vaccine_distribution }
		x = 16
		y = 6
		cost = 2
		desc = ENG_vaccine_diplomacy_desc
	}

	focus = {
		id = ENG_mass_vaccination
		icon = GFX_goal_ENG_mass_vaccination
		prerequisite = { focus = ENG_vaccine_diplomacy }
		x = 16
		y = 7
		cost = 2
		desc = ENG_mass_vaccination_desc
		completion_reward = {
			add_days_mission_timeout = {
				mission = ENG_vaccine_development_mission
				days = -30		
				}
			add_stability = 0.05
			}
	}
}
