je_hangeul_research = {

	icon = "gfx/interface/icons/institution_icons/schools.dds"

	group = je_group_historical_content

	modifiers_while_active = {
		modifier_hangeul_research
	}

	progressbar = yes

	immediate = {
		set_variable = {
			name = hangeul_research_var
			value = 0
		}
	}

	on_monthly_pulse = {
		effect = {
			change_variable = {
				name = hangeul_research_var
				add = 1
			}
		}
	}

	goal_add_value = {
		value = scope:hangeul_research_timegoing
		}

	complete = {
		scope:journal_entry = { is_goal_complete = yes }
		}

	on_complete = {
		set_variable = hangeul_research_completed
		trigger_event = { id = hangeul.2 }
	}

	current_value = {
		value = root.var:hangeul_research_var
	}

	goal_add_value = {
		value = 24
	}


}

je_hangeul_spread = {
	icon = "gfx/interface/icons/institution_icons/schools.dds"
	
	group = je_group_historical_content

	modifiers_while_active = {
		modifier_hangeul_spread
	}

	complete = {
		institution_investment_level = {
			institution = institution_schools
			value >= 3
		}
	}

	on_complete = {
		add_modifier = {
			name = modifier_hangeul
		}
		set_variable = hangeul_spread_completed
	}

	weight = 100
}

je_enact_hangeul_bureaucracy = {

	group = je_group_historical_content

	modifiers_while_active = {
		modifier_enact_hangeul_bureaucracy
	}

	progressbar = yes

	immediate = {
		set_variable = {
			name = enact_hangeul_bureaucracy_var
			value = 0
		}
	}

	on_monthly_pulse = {
		effect = {
			change_variable = {
				name = enact_hangeul_bureaucracy_var
				add = 1
			}
		}
	}

	goal_add_value = {
		value = scope:hangeul_research_timegoing
		}

	complete = {
		scope:journal_entry = { is_goal_complete = yes }
		}

	on_complete = {
		add_modifier = {
			name = modifier_hangeul_bureaucracy
		}
		set_variable = enact_hangeul_bureaucracy_completed
	}

	current_value = {
		value = root.var:enact_hangeul_bureaucracy_var
	}

	goal_add_value = {
		value = 12
	}

}