#################
# U9. Worldseeders (terraforming; follow-up to World Shaper)
# -20% terraforming cost, +50% terraforming speed.
# Every ten years (on_decade_pulse_country) one barren world inside our borders is
# marked with vanilla's terraforming_candidate modifier (toxic and frozen worlds too,
# when we meet vanilla's conditions for terraforming them). The edict
# "Survey for Candidates" (common/edicts/apb_worldseeders_edicts.txt) finds one at once.
# Every world we finish terraforming gets apb_young_biosphere for 20 years.
# Logic: events/apb_worldseeders_events.txt, common/scripted_effects/apb_worldseeders_effects.txt
#################

ap_worldseeders = {
	potential = {
		NOT = {
			has_ascension_perk = ap_worldseeders
		}
		is_nomadic = no
		is_wilderness_empire = no
	}
	possible = {
		custom_tooltip = {
			fail_text = "apb_requires_ap_world_shaper"
			has_ascension_perk = ap_world_shaper
		}
		custom_tooltip = {
			fail_text = "requires_ascension_perks_2"
			num_ascension_perks > 1
		}
	}
	modifier = {
		terraforming_cost_mult = -0.20
		terraform_speed_mult = 0.50
	}
	on_enabled = {
		custom_tooltip = apb_worldseeders_tt
	}
	ai_weight = {
		factor = 2
	}
}
