﻿namespace = elite_education

# 교육 시작
elite_education.0000 = {

	hidden = yes

	immediate = {
		
		set_variable = {
			name = elite_education_cnt
			value = 0
			days = 360
		}
		
		scope:recipient = {
			set_variable = {
				name = elite_education_plus
				value = 0
				days = 360
			}
		}
		
		trigger_event = elite_education.0001
	}
}

# 교육 시작화면 (1/10)
elite_education.0001 = {

	type = character_event
	title = elite_education.0001.t
	desc = elite_education.0001.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	
	option = {
	
		name = elite_education.0001.name
		
		custom_tooltip = elite_education.0001.tooltip

		trigger_event = {
			on_action = elite_education.get.random.events
		}
		
	}
	
}

# 교육 시작화면 (2/10)
elite_education.0002 = {

	type = character_event
	title = elite_education.0002.t
	desc = elite_education.0002.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	
	option = {
	
		name = elite_education.0001.name
		
		custom_tooltip = elite_education.0001.tooltip

		trigger_event = {
			on_action = elite_education.get.random.events
		}
		
	}
	
}

# 교육 시작화면 (3/10)
elite_education.0003 = {

	type = character_event
	title = elite_education.0003.t
	desc = elite_education.0003.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	
	option = {
	
		name = elite_education.0001.name
		
		custom_tooltip = elite_education.0001.tooltip

		trigger_event = {
			on_action = elite_education.get.random.events
		}
		
	}
	
}

# 교육 시작화면 (4/10)
elite_education.0004 = {

	type = character_event
	title = elite_education.0004.t
	desc = elite_education.0004.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	
	option = {
	
		name = elite_education.0001.name
		
		custom_tooltip = elite_education.0001.tooltip

		trigger_event = {
			on_action = elite_education.get.random.events
		}
		
	}
	
}

# 교육 시작화면 (5/10)
elite_education.0005 = {

	type = character_event
	title = elite_education.0005.t
	desc = elite_education.0005.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	
	option = {
	
		name = elite_education.0001.name
		
		custom_tooltip = elite_education.0001.tooltip

		trigger_event = {
			on_action = elite_education.get.random.events
		}
		
	}
	
}

# 교육 시작화면 (6/10)
elite_education.0006 = {

	type = character_event
	title = elite_education.0006.t
	desc = elite_education.0006.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	
	option = {
	
		name = elite_education.0001.name
		
		custom_tooltip = elite_education.0001.tooltip

		trigger_event = {
			on_action = elite_education.get.random.events
		}
		
	}
	
}

# 교육 시작화면 (7/10)
elite_education.0007 = {

	type = character_event
	title = elite_education.0007.t
	desc = elite_education.0007.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	
	option = {
	
		name = elite_education.0001.name
		
		custom_tooltip = elite_education.0001.tooltip

		trigger_event = {
			on_action = elite_education.get.random.events
		}
		
	}
	
}

# 교육 시작화면 (8/10)
elite_education.0008 = {

	type = character_event
	title = elite_education.0008.t
	desc = elite_education.0008.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	
	option = {
	
		name = elite_education.0001.name
		
		custom_tooltip = elite_education.0001.tooltip

		trigger_event = {
			on_action = elite_education.get.random.events
		}
		
	}
	
}

# 교육 시작화면 (9/10)
elite_education.0009 = {

	type = character_event
	title = elite_education.0009.t
	desc = elite_education.0009.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	
	option = {
	
		name = elite_education.0001.name
		
		custom_tooltip = elite_education.0001.tooltip

		trigger_event = {
			on_action = elite_education.get.random.events
		}
		
	}
	
}

# 교육 시작화면 (10/10)
elite_education.0010 = {

	type = character_event
	title = elite_education.0010.t
	desc = elite_education.0010.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	
	option = {
	
		name = elite_education.0001.name
		
		custom_tooltip = elite_education.0001.tooltip

		trigger_event = {
			on_action = elite_education.get.random.events
		}
		
	}
	
}



# 1 diplomacy 외교력 
# 2 martial 전투력
# 3 stewardship 관리력
# 4 intrigue 계책력
# 5 learning 학습력

# 외교, 전투, 관리 123 9001
elite_education.9001 = {
	
	type = character_event
	title = elite_education.step1.t
	desc = elite_education.step1r01.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	option = {
	
		name = elite_education.1.name
		custom_tooltip = elite_education.1.tooltip
		
		trigger_event = {
			id = elite_education.1001
		}
		
	}
	
	option = {
	
		name = elite_education.2.name
		custom_tooltip = elite_education.2.tooltip
		
		trigger_event = {
			id = elite_education.2001
		}
	}
	
	option = {
	
		name = elite_education.3.name
		custom_tooltip = elite_education.3.tooltip
		
		trigger_event = {
			id = elite_education.3001
		}
	}
}

# 외교, 전투, 계책 124 9002
elite_education.9002 = {
	
	type = character_event
	title = elite_education.step1.t
	desc = elite_education.step1r02.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	option = {
	
		name = elite_education.1.name
		custom_tooltip = elite_education.1.tooltip
		
		trigger_event = {
			id = elite_education.1001
		}
		
	}
	
	option = {
	
		name = elite_education.2.name
		custom_tooltip = elite_education.2.tooltip
		
		trigger_event = {
			id = elite_education.2001
		}
		
	}
	
	option = {
	
		name = elite_education.4.name
		custom_tooltip = elite_education.4.tooltip
		
		trigger_event = {
			id = elite_education.4001
		}
		
	}
}


# 외교 전투 학습 125 9003
elite_education.9003 = {
	
	type = character_event
	title = elite_education.step1.t
	desc = elite_education.step1r03.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	option = {
	
		name = elite_education.1.name
		custom_tooltip = elite_education.1.tooltip
		
		trigger_event = {
			id = elite_education.1001
		}
		
	}
	
	option = {
	
		name = elite_education.2.name
		custom_tooltip = elite_education.2.tooltip
		
		trigger_event = {
			id = elite_education.2001
		}
		
	}
	
	option = {
	
		name = elite_education.5.name
		custom_tooltip = elite_education.5.tooltip
		
		trigger_event = {
			id = elite_education.5001
		}
		
	}
}

# 외교 관리 계책 134 9004
elite_education.9004 = {
	
	type = character_event
	title = elite_education.step1.t
	desc = elite_education.step1r04.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	option = {
	
		name = elite_education.1.name
		custom_tooltip = elite_education.1.tooltip
		
		trigger_event = {
			id = elite_education.1001
		}
		
	}
	
	option = {
	
		name = elite_education.3.name
		custom_tooltip = elite_education.3.tooltip
		
		trigger_event = {
			id = elite_education.3001
		}
		
	}
	
	option = {
	
		name = elite_education.4.name
		custom_tooltip = elite_education.4.tooltip
		
		trigger_event = {
			id = elite_education.4001
		}
		
	}
}

# 외교 관리 학습 135 9005
elite_education.9005 = {
	
	type = character_event
	title = elite_education.step1.t
	desc = elite_education.step1r05.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	option = {
	
		name = elite_education.1.name
		custom_tooltip = elite_education.1.tooltip
		
		trigger_event = {
			id = elite_education.1001
		}
		
	}
	
	option = {
	
		name = elite_education.3.name
		custom_tooltip = elite_education.3.tooltip
		
		trigger_event = {
			id = elite_education.3001
		}
		
	}
	
	option = {
	
		name = elite_education.5.name
		custom_tooltip = elite_education.5.tooltip
		
		trigger_event = {
			id = elite_education.5001
		}
		
	}
}

# 외교 계책 학습 145 9006
elite_education.9006 = {
	
	type = character_event
	title = elite_education.step1.t
	desc = elite_education.step1r06.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	option = {
	
		name = elite_education.1.name
		custom_tooltip = elite_education.1.tooltip
		
		trigger_event = {
			id = elite_education.1001
		}
		
	}
	
	option = {
	
		name = elite_education.4.name
		custom_tooltip = elite_education.4.tooltip
		
		trigger_event = {
			id = elite_education.4001
		}
		
	}
	
	option = {
	
		name = elite_education.5.name
		custom_tooltip = elite_education.5.tooltip
		
		trigger_event = {
			id = elite_education.5001
		}
		
	}
}

# 전투 관리 계책 234 9007 
elite_education.9007 = {
	
	type = character_event
	title = elite_education.step1.t
	desc = elite_education.step1r07.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	option = {
	
		name = elite_education.2.name
		custom_tooltip = elite_education.2.tooltip
		
		trigger_event = {
			id = elite_education.2001
		}
		
	}
	
	option = {
	
		name = elite_education.3.name
		custom_tooltip = elite_education.3.tooltip
		
		trigger_event = {
			id = elite_education.3001
		}
		
	}
	
	option = {
	
		name = elite_education.4.name
		custom_tooltip = elite_education.4.tooltip
		
		trigger_event = {
			id = elite_education.4001
		}
		
	}
}

# 전투 관리 학습 235 9008
elite_education.9008 = {
	
	type = character_event
	title = elite_education.step1.t
	desc = elite_education.step1r08.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	option = {
	
		name = elite_education.2.name
		custom_tooltip = elite_education.2.tooltip
		
		trigger_event = {
			id = elite_education.2001
		}
		
	}
	
	option = {
	
		name = elite_education.3.name
		custom_tooltip = elite_education.3.tooltip
		
		trigger_event = {
			id = elite_education.3001
		}
		
	}
	
	option = {
	
		name = elite_education.5.name
		custom_tooltip = elite_education.5.tooltip
		
		trigger_event = {
			id = elite_education.5001
		}
		
	}
}

# 전투 계책 학습 245 9009
elite_education.9009 = {
	
	type = character_event
	title = elite_education.step1.t
	desc = elite_education.step1r09.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	option = {
	
		name = elite_education.2.name
		custom_tooltip = elite_education.2.tooltip
		
		trigger_event = {
			id = elite_education.2001
		}
		
	}
	
	option = {
	
		name = elite_education.4.name
		custom_tooltip = elite_education.4.tooltip
		
		trigger_event = {
			id = elite_education.4001
		}
		
	}
	
	option = {
	
		name = elite_education.5.name
		custom_tooltip = elite_education.5.tooltip
		
		trigger_event = {
			id = elite_education.5001
		}
		
	}
}

# 관리 계책 학습 345 9010
elite_education.9010 = {
	
	type = character_event
	title = elite_education.step1.t
	desc = elite_education.step1r10.desc
	
	theme = education
	background = study
	
	left_portrait= {
		character = scope:actor
		animation = idle
	}

	right_portrait = {
		character = scope:recipient
		animation = personality_zealous
	}
	
	option = {
	
		name = elite_education.3.name
		custom_tooltip = elite_education.3.tooltip
		
		trigger_event = {
			id = elite_education.3001
		}
		
	}
	
	option = {
	
		name = elite_education.4.name
		custom_tooltip = elite_education.4.tooltip
		
		trigger_event = {
			id = elite_education.4001
		}
		
	}
	
	option = {
	
		name = elite_education.5.name
		custom_tooltip = elite_education.5.tooltip
		
		trigger_event = {
			id = elite_education.5001
		}
		
	}
}


# 외교 1번째 화면 - 금화 사용여부 결정
 elite_education.1001 = {
 	
 	type = character_event
 	title = elite_education.step2.t
 	desc = elite_education.step2.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
		
		trigger = {
			gold >= 1000
		}
		
 		name = elite_education.step2a.name
		custom_tooltip = elite_education.step2a.tooltip
		
 		trigger_event = {
			id = elite_education.1002
		}
 
 	}
	
	option = {
		
		trigger = {
			gold >= 500
		}
		
 		name = elite_education.step2c.name
		custom_tooltip = elite_education.step2c.tooltip
		
 		trigger_event = {
			id = elite_education.1004
		}
 
 	}
	
	option = {
		
		trigger = {
			gold >= 100
		}
		
 		name = elite_education.step2d.name
		custom_tooltip = elite_education.step2d.tooltip
		
 		trigger_event = {
			id = elite_education.1005
		}
 
 	}
 	
 	option = {
 	
 		name = elite_education.step2b.name
		custom_tooltip = elite_education.step2b.tooltip
		
 		trigger_event = {
			id = elite_education.1003
		}
 		
 	}
 }
 
# 외교 2번째 화면 - 금화 사용
 elite_education.1002 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_diplomacy_gold_effect = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }
 
# 외교 2번째 화면 - 금화 미사용
 elite_education.1003 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3b.tooltip
 
 		scope:recipient = {
 			elite_education_diplomacy_no_gold_effect = yes
 		}

 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}
 	
 }

# 외교 2번째 화면 - 금화 사용
 elite_education.1004 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_diplomacy_gold_effect2 = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }
 
# 외교 2번째 화면 - 금화 사용
 elite_education.1005 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_diplomacy_gold_effect3 = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }
 
# 전투 1번째 화면 - 금화 사용여부 결정
 elite_education.2001 = {
 	
 	type = character_event
 	title = elite_education.step2.t
 	desc = elite_education.step2.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
		trigger = {
			gold >= 1000
		}
		
 		name = elite_education.step2a.name
		custom_tooltip = elite_education.step2a.tooltip
		
 		trigger_event = {
			id = elite_education.2002
		}
 
 	}
	
	option = {
		
		trigger = {
			gold >= 500
		}
		
 		name = elite_education.step2c.name
		custom_tooltip = elite_education.step2c.tooltip
		
 		trigger_event = {
			id = elite_education.2004
		}
 
 	}
	
	option = {
		
		trigger = {
			gold >= 100
		}
		
 		name = elite_education.step2d.name
		custom_tooltip = elite_education.step2d.tooltip
		
 		trigger_event = {
			id = elite_education.2005
		}
 
 	}
 	
 	option = {
 	
 		name = elite_education.step2b.name
		custom_tooltip = elite_education.step2b.tooltip
		
 		trigger_event = {
			id = elite_education.2003
		}
 		
 	}
 }
 
# 전투 2번째 화면 - 금화 사용
 elite_education.2002 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
		
 		scope:recipient = {
 			elite_education_martial_gold_effect = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }
 
# 전투 2번째 화면 - 금화 미사용
 elite_education.2003 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3b.tooltip
 
 		scope:recipient = {
 			elite_education_martial_no_gold_effect = yes
 		}

 	}
 	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}
	
 }

# 전투 2번째 화면 - 금화 사용
 elite_education.2004 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_martial_gold_effect2 = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }
 
# 전투 2번째 화면 - 금화 사용
 elite_education.2005 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_martial_gold_effect3 = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }
 
# 관리 1번째 화면 - 금화 사용여부 결정
 elite_education.3001 = {
 	
 	type = character_event
 	title = elite_education.step2.t
 	desc = elite_education.step2.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
	
		trigger = {
			gold >= 1000
		}
 	
 		name = elite_education.step2a.name
		custom_tooltip = elite_education.step2a.tooltip
		
 		trigger_event = {
			id = elite_education.3002
		}
 
 	}
	
	option = {
		
		trigger = {
			gold >= 500
		}
		
 		name = elite_education.step2c.name
		custom_tooltip = elite_education.step2c.tooltip
		
 		trigger_event = {
			id = elite_education.3004
		}
 
 	}
	
	option = {
		
		trigger = {
			gold >= 100
		}
		
 		name = elite_education.step2d.name
		custom_tooltip = elite_education.step2d.tooltip
		
 		trigger_event = {
			id = elite_education.3005
		}
 
 	}
 	
 	option = {
 	
 		name = elite_education.step2b.name
		custom_tooltip = elite_education.step2b.tooltip
		
 		trigger_event = {
			id = elite_education.3003
		}
 		
 	}
 }
 
# 관리 2번째 화면 - 금화 사용
 elite_education.3002 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_stewardship_gold_effect = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }
 
# 관리 2번째 화면 - 금화 미사용
 elite_education.3003 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3b.tooltip
 
 		scope:recipient = {
 			elite_education_stewardship_no_gold_effect = yes
 		}

 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}
 	
 }

# 관리 2번째 화면 - 금화 사용
 elite_education.3004 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_stewardship_gold_effect2 = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }
 
# 관리 2번째 화면 - 금화 사용
 elite_education.3005 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_stewardship_gold_effect3 = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }

# 계책 1번째 화면 - 금화 사용여부 결정
 elite_education.4001 = {
 	
 	type = character_event
 	title = elite_education.step2.t
 	desc = elite_education.step2.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
	
		trigger = {
			gold >= 1000
		}
 	
 		name = elite_education.step2a.name
		custom_tooltip = elite_education.step2a.tooltip
		
 		trigger_event = {
			id = elite_education.4002
		}
 
 	}
	
	option = {
		
		trigger = {
			gold >= 500
		}
		
 		name = elite_education.step2c.name
		custom_tooltip = elite_education.step2c.tooltip
		
 		trigger_event = {
			id = elite_education.4004
		}
 
 	}
	
	option = {
		
		trigger = {
			gold >= 100
		}
		
 		name = elite_education.step2d.name
		custom_tooltip = elite_education.step2d.tooltip
		
 		trigger_event = {
			id = elite_education.4005
		}
 
 	}
 	
 	option = {
 	
 		name = elite_education.step2b.name
		custom_tooltip = elite_education.step2b.tooltip
		
 		trigger_event = {
			id = elite_education.4003
		}
 		
 	}
 }
 
# 계책 2번째 화면 - 금화 사용
 elite_education.4002 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_intrigue_gold_effect = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }
 
# 계책 2번째 화면 - 금화 미사용
 elite_education.4003 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3b.tooltip
 
 		scope:recipient = {
 			elite_education_intrigue_no_gold_effect = yes
 		}

 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}
 	
 }

# 계책 2번째 화면 - 금화 사용
 elite_education.4004 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_intrigue_gold_effect2 = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }

# 계책 2번째 화면 - 금화 사용
 elite_education.4005 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_intrigue_gold_effect3 = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }

# 학습 1번째 화면 - 금화 사용여부 결정
 elite_education.5001 = {
 	
 	type = character_event
 	title = elite_education.step2.t
 	desc = elite_education.step2.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
	
		trigger = {
			gold >= 1000
		}
 	
 		name = elite_education.step2a.name
		custom_tooltip = elite_education.step2a.tooltip
		
 		trigger_event = {
			id = elite_education.5002
		}
 
 	}
	
	option = {
		
		trigger = {
			gold >= 500
		}
		
 		name = elite_education.step2c.name
		custom_tooltip = elite_education.step2c.tooltip
		
 		trigger_event = {
			id = elite_education.5004
		}
 
 	}
	
	option = {
		
		trigger = {
			gold >= 100
		}
		
 		name = elite_education.step2d.name
		custom_tooltip = elite_education.step2d.tooltip
		
 		trigger_event = {
			id = elite_education.5005
		}
 
 	}
 	
 	option = {
 	
 		name = elite_education.step2b.name
		custom_tooltip = elite_education.step2b.tooltip
		
 		trigger_event = {
			id = elite_education.5003
		}
 		
 	}
 }
 
# 학습 2번째 화면 - 금화 사용
 elite_education.5002 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_learning_gold_effect = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }
 
# 학습 2번째 화면 - 금화 사용
 elite_education.5004 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_learning_gold_effect2 = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 }

# 학습 2번째 화면 - 금화 사용
 elite_education.5005 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3a.tooltip
 		
 		scope:recipient = {
 			elite_education_learning_gold_effect3 = yes
 		}
 
 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}

 } 
 
# 학습 2번째 화면 - 금화 미사용
 elite_education.5003 = {
 	
 	type = character_event
 	title = elite_education.step3.t
 	desc = elite_education.step3.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
 	
 	option = {
 	
 		name = elite_education.step3.name
		custom_tooltip = elite_education.step3b.tooltip
 
 		scope:recipient = {
 			elite_education_learning_no_gold_effect = yes
 		}

 	}
	
	after = {
		trigger_event = {
			id = elite_education.9998
		}
	}
 	
 }
 
 
# 반복처리
 elite_education.9998 = {
 
	hidden = yes
	
	immediate = {
		change_variable = {
			name = elite_education_cnt
			add = 1
		}
		
		if = {
			limit = {
				var:elite_education_cnt = 10
			}
			
			# 교육 종료
			trigger_event = {
				id = elite_education.9999
			}
		}
		else_if = {
			
			limit = {
				var:elite_education_cnt = 9
			}
			
			trigger_event = {
				id = elite_education.0010
				# FIXME
				days = 30
			}
			
		}
		else_if = {
			
			limit = {
				var:elite_education_cnt = 8
			}
			
			trigger_event = {
				id = elite_education.0009
				# FIXME
				days = 30
			}
			
		}
		else_if = {
			
			limit = {
				var:elite_education_cnt = 7
			}
			
			trigger_event = {
				id = elite_education.0008
				# FIXME
				days = 30
			}
			
		}
		else_if = {
			
			limit = {
				var:elite_education_cnt = 6
			}
			
			trigger_event = {
				id = elite_education.0007
				# FIXME
				days = 30
			}
			
		}
		else_if = {
			
			limit = {
				var:elite_education_cnt = 5
			}
			
			trigger_event = {
				id = elite_education.0006
				# FIXME
				days = 30
			}
			
		}
		else_if = {
			
			limit = {
				var:elite_education_cnt = 4
			}
			
			trigger_event = {
				id = elite_education.0005
				# FIXME
				days = 30
			}
			
		}
		else_if = {
			
			limit = {
				var:elite_education_cnt = 3
			}
			
			trigger_event = {
				id = elite_education.0004
				# FIXME
				days = 30
			}
			
		}
		else_if = {
			
			limit = {
				var:elite_education_cnt = 2
			}
			
			trigger_event = {
				id = elite_education.0003
				# FIXME
				days = 30
			}
			
		}
		else_if = {
			
			limit = {
				var:elite_education_cnt = 1
			}
			
			trigger_event = {
				id = elite_education.0002
				# FIXME
				days = 30
			}
			
		}
		else = {
		
			trigger_event = {
				id = elite_education.9999
			}
		}
		
	}

 }
 
 
# 교육 종료
 elite_education.9999 = {
 
	type = character_event
 	title = elite_education.step4.t
 	desc = elite_education.step4.desc
 	
 	theme = education
 	background = study
 	
 	left_portrait= {
 		character = scope:actor
 		animation = idle
 	}
 
 	right_portrait = {
 		character = scope:recipient
 		animation = personality_zealous
 	}
	
	option = {
 	
 		name = elite_education.step4.name
		custom_tooltip = elite_education.step4.tooltip
		
 		scope:recipient = {
			
			if = {
				limit = {
					var:elite_education_plus >= 10
				}
				
				add_trait = elite_education
				
			}
 			
			set_relation_friend = scope:actor
 		}

 	}
 
 }