namespace = MT_antiquity

# award XP to all leaders if country has the antiquity knowledge of a legacy tradition
country_event = {
	id = MT_antiquity.1
	hide_window = yes
	is_triggered_only = yes

	immediate = {
		if = {
			limit = {
				has_tradition = tr_mt_antiquity_1
			}
			every_owned_leader = {
				add_experience = 100
			}
			create_message = {
				type = TRADITION_EFFECT
				localization =  message_tradition_effect_MT_history_lessons_effect_desc
				days = @toast_message_days
				#custom_toast_content_text = tr_mt_antiquity_1_toast_text
				#custom_toast_content_icon = GFX_topbar_leaders_button
			}
		}
	}
}