namespace = est_might

#Might Adopt, gives bonus production while not under Naval Capacity.
country_event = {
	id = est_might.1
	hide_window = yes
	is_triggered_only = yes
	
	trigger = {
		has_active_tradition = tr_est_might_adopt	
	}

	immediate = {
		if = {	
			limit = {
				Not = {
					used_naval_capacity_percent < 1.0
				}
			}
			if = {
				limit = {
					Not = {
						has_modifier = mod_est_might_adopt
					}
				}
				add_modifier = {
					modifier = "mod_est_might_adopt"
				}
			}
		}
		else = {
			if = {
				limit = {
					has_modifier = mod_est_might_adopt
				}
				remove_modifier = "mod_est_might_adopt"
			}
		}
	}
}
