namespace = eap_world_shaper

country_event = {
	id = eap_world_shaper.1
	title = nnnworld_shaper
	desc = nnnworld_shaper_desc
	picture = GFX_evt_landing_ship
	show_sound = event_activating_unknown_technology
	location = root
	is_triggered_only = yes

	trigger = {
		not = { 
			has_global_flag = nneap_world_shaper
		}
	}   
	
	immediate = {
		set_global_flag = nneap_world_shaper
		every_planet = {
			limit = {
				or = { 
					is_planet_class = pc_barren
					is_planet_class = pc_barren_cold
				}
				planet_size > 19
				planet_size < 26
			}
			random_list = {
				1 = { 
					add_modifier = {
						modifier = "nnn_terraforming_candidate"  #Ӻԭ治ͬԷֹڵǰͻûøȨ
						days = -1
					} 
				}
				2 = {}
				
			}
		}
	}
	option = {
		name = world_shaper.a
		custom_tooltip = world_shaper_tooltip
	}
}