namespace = autoautoautoexplore

# This fires when the game starts up
event = {
	id = autoautoautoexplore.1
	hide_window = yes
	is_triggered_only = yes

	immediate = {
		every_country = {
			limit = {
				not = {
					has_technology = tech_automated_exploration
				}
			}
			give_technology = {
				tech = tech_automated_exploration
				message = no
			}
		}
	}
}

# This fires every time a country researches anything,
# because I could not find an event that fires when
# either a primitive colony advances to space age or
# other random empires suddenly pop in to existence.

country_event = {
	id = autoautoautoexplore.2
	hide_window = yes
	is_triggered_only = yes
	trigger = {
		NOT = { has_technology = tech_automated_exploration }
	}
	immediate = {
		give_technology = {
			tech = tech_automated_exploration
			message = no
		}
	}
}
