﻿# 외교 골드 사용 
elite_education_diplomacy_gold_effect = {

	scope:actor = {
		remove_short_term_gold = 1000
	}

	random_list = {
	
		80 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 1
					}

				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		15 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		5 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
	}
}

elite_education_diplomacy_gold_effect2 = {

	scope:actor = {
		remove_short_term_gold = 500
	}

	random_list = {
	
		67 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 1
					}

				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		10 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		3 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
		20 = {}
	}
}

elite_education_diplomacy_gold_effect3 = {

	scope:actor = {
		remove_short_term_gold = 100
	}

	random_list = {
	
		54 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 1
					}

				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		5 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		1 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
		40 = {}
	}
}

# 외교 골드 미사용
elite_education_diplomacy_no_gold_effect = {

	random_list = {
	
		29 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
		}
		
		1 = {
			scope:actor = {
				send_interface_message = {
					type = event_diplomacy_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_diplomacy_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		70 = {}
	}
}

# 전투 골드 사용
elite_education_martial_gold_effect = {

	scope:actor = {
		remove_short_term_gold = 1000
	}

	random_list = {
	
		80 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		15 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		5 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
	}
}

elite_education_martial_gold_effect2 = {

	scope:actor = {
		remove_short_term_gold = 500
	}

	random_list = {
	
		67 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		10 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		3 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
		20 = {}
		
	}
}

elite_education_martial_gold_effect3 = {

	scope:actor = {
		remove_short_term_gold = 100
	}

	random_list = {
	
		54 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		5 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		1 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
		40 = {}
		
	}
}

# 전투 골드 미사용
elite_education_martial_no_gold_effect = {

	random_list = {
	
		29 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
		}
		
		1 = {
			scope:actor = {
				send_interface_message = {
					type = event_martial_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_martial_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		70 = {}
	}
}


# 관리 골드 사용
elite_education_stewardship_gold_effect = {

	scope:actor = {
		remove_short_term_gold = 1000
	}

	random_list = {
	
		80 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		15 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		5 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
	}
}

elite_education_stewardship_gold_effect2 = {

	scope:actor = {
		remove_short_term_gold = 500
	}

	random_list = {
	
		67 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		10 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		3 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
		20 = {}
		
	}
}

elite_education_stewardship_gold_effect3 = {

	scope:actor = {
		remove_short_term_gold = 100
	}

	random_list = {
	
		54 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		5 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		1 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
		40 = {}
		
	}
}

# 관리 골드 미사용
elite_education_stewardship_no_gold_effect = {

	random_list = {
	
		29 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
		}
		
		1 = {
			scope:actor = {
				send_interface_message = {
					type = event_stewardship_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_stewardship_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		70 = {}
	}
}

# 계책 골드 사용
elite_education_intrigue_gold_effect = {

	scope:actor = {
		remove_short_term_gold = 1000
	}

	random_list = {
	
		80 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		15 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		5 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
	}
}

elite_education_intrigue_gold_effect2 = {

	scope:actor = {
		remove_short_term_gold = 500
	}

	random_list = {
	
		67 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		10 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		3 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
		20 = {}
		
	}
}

elite_education_intrigue_gold_effect3 = {

	scope:actor = {
		remove_short_term_gold = 100
	}

	random_list = {
	
		54 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		5 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		1 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
		40 = {}
		
	}
}

# 계책 골드 미사용
elite_education_intrigue_no_gold_effect = {

	random_list = {
	
		29 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
		}
		
		1 = {
			scope:actor = {
				send_interface_message = {
					type = event_intrigue_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_intrigue_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		70 = {}
	}
}



# 학습 골드 사용
elite_education_learning_gold_effect = {

	scope:actor = {
		remove_short_term_gold = 1000
	}

	random_list = {
	
		80 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
		}
		
		15 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		5 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
	}
}

elite_education_learning_gold_effect2 = {

	scope:actor = {
		remove_short_term_gold = 500
	}

	random_list = {
	
		67 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		10 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		3 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
		20 = {}
	}
}

elite_education_learning_gold_effect3 = {

	scope:actor = {
		remove_short_term_gold = 100
	}

	random_list = {
	
		54 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
			
		}
		
		5 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		1 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 3
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 3
			}
		}
		
		40 = {}
	}
}

# 학습 골드 미사용
elite_education_learning_no_gold_effect = {

	random_list = {
	
		29 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 1
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 1
			}
		}
		
		1 = {
			scope:actor = {
				send_interface_message = {
					type = event_learning_good
					title = elite_education_msg_title
					left_icon = scope:recipient

					scope:recipient = {
						add_learning_skill = 2
					}
				}
			}
			
			change_variable = {
				name = elite_education_plus
				add = 2
			}
		}
		
		70 = {}
	}
}