@gaiaCost = 35000
@gaiaTime = 1440

@machineCost = 35000
@machineTime = 1440

################
## Tomb World ##
################

terraform_link = {
	from = "pc_nuked"
	to = "pc_desert"
	
	energy = 35000
	duration = 1440
	
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	from = "pc_nuked"
	to = "pc_arid"
	
	energy = 35000
	duration = 1440
	
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	from = "pc_nuked"
	to = "pc_savannah"
	
	energy = 35000
	duration = 1440
	
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	from = "pc_nuked"
	to = "pc_arctic"
	
	energy = 35000
	duration = 1440
	
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	from = "pc_nuked"
	to = "pc_tundra"
	
	energy = 35000
	duration = 1440
	
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	from = "pc_nuked"
	to = "pc_alpine"
	
	energy = 35000
	duration = 1440
	
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	from = "pc_nuked"
	to = "pc_continental"
	
	energy = 35000
	duration = 1440
	
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	from = "pc_nuked"
	to = "pc_tropical"
	
	energy = 35000
	duration = 1440
	
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	from = "pc_nuked"
	to = "pc_ocean"
	
	energy = 35000
	duration = 1440
	
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	ai_weight = {
		weight = 2
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

################
## Gaia World ##
################

terraform_link = {
	to = "pc_gaia"
	from = "pc_desert"
	
	energy = @gaiaCost
	duration = @gaiaTime
	
	potential = {
		has_ascension_perk = "ap_world_shaper"
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0	
			energy < 40000
		}
		modifier = {
			factor = 0		
			from = { sector_controlled = yes }
		}
		modifier = {
			factor = 0
			OR = {		
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	from = "pc_arid"
	to = "pc_gaia"
	
	energy = @gaiaCost
	duration = @gaiaTime
	
	potential = {
		has_ascension_perk = "ap_world_shaper"
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0	
			energy < 40000
		}
		modifier = {
			factor = 0		
			from = { sector_controlled = yes }
		}
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	to = "pc_gaia"
	from = "pc_savannah"
	
	energy = @gaiaCost
	duration = @gaiaTime
	
	potential = {
		has_ascension_perk = "ap_world_shaper"
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0	
			energy < 40000
		}
		modifier = {
			factor = 0		
			from = { sector_controlled = yes }
		}
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	to = "pc_gaia"
	from = "pc_arctic"
	
	energy = @gaiaCost
	duration = @gaiaTime
	
	potential = {
		has_ascension_perk = "ap_world_shaper"
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0	
			energy < 40000
		}
		modifier = {
			factor = 0		
			from = { sector_controlled = yes }
		}
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	to = "pc_gaia"
	from = "pc_tundra"
	
	energy = @gaiaCost
	duration = @gaiaTime
	
	potential = {
		has_ascension_perk = "ap_world_shaper"
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0	
			energy < 40000
		}
		modifier = {
			factor = 0		
			from = { sector_controlled = yes }
		}
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	to = "pc_gaia"
	from = "pc_alpine"
	
	energy = @gaiaCost
	duration = @gaiaTime
	
	potential = {
		has_ascension_perk = "ap_world_shaper"
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0	
			energy < 40000
		}
		modifier = {
			factor = 0		
			from = { sector_controlled = yes }
		}
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	to = "pc_gaia"
	from = "pc_continental"
	
	energy = @gaiaCost
	duration = @gaiaTime
	
	potential = {
		has_ascension_perk = "ap_world_shaper"
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0	
			energy < 40000
		}
		modifier = {
			factor = 0		
			from = { sector_controlled = yes }
		}
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	to = "pc_gaia"
	from = "pc_tropical"
	
	energy = @gaiaCost
	duration = @gaiaTime
	
	potential = {
		has_ascension_perk = "ap_world_shaper"
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0	
			energy < 40000
		}
		modifier = {
			factor = 0		
			from = { sector_controlled = yes }
		}
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

terraform_link = {
	to = "pc_gaia"
	from = "pc_ocean"
	
	energy = @gaiaCost
	duration = @gaiaTime
	
	potential = {
		has_ascension_perk = "ap_world_shaper"
	}
	
	ai_weight = {
		weight = 1
		modifier = {
			factor = 0	
			energy < 40000
		}
		modifier = {
			factor = 0		
			from = { sector_controlled = yes }
		}
		modifier = {
			factor = 0
			OR = {
				is_mechanical_empire = yes
				is_cyborg_empire = yes
				has_authority = auth_machine_intelligence
			}
		}
	}
}

##################
## Barren World ##
##################

terraform_link = {
	from = "pc_barren"
	to = "pc_desert"
	
	energy = 20000
	duration = 720
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren"
	to = "pc_arid"
	
	energy = 20000
	duration = 720
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren"
	to = "pc_savannah"
	
	energy = 20000
	duration = 720
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren"
	to = "pc_continental"
	
	energy = 35000
	duration = 1080
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren"
	to = "pc_tropical"
	
	energy = 35000
	duration = 1080
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren"
	to = "pc_ocean"
	
	energy = 35000
	duration = 1080
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}


terraform_link = {
	from = "pc_barren"
	to = "pc_arctic"
	
	energy = 50000
	duration = 1440
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren"
	to = "pc_tundra"
	
	energy = 50000
	duration = 1440
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren"
	to = "pc_alpine"
	
	energy = 50000
	duration = 1440
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren_cold"
	to = "pc_arctic"
	
	energy = 20000
	duration = 720
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren_cold"
	to = "pc_tundra"
	
	energy = 20000
	duration = 720
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	} 
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren_cold"
	to = "pc_alpine"
	
	energy = 20000
	duration = 720
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren_cold"
	to = "pc_continental"
	
	energy = 35000
	duration = 1080
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren_cold"
	to = "pc_tropical"
	
	energy = 35000
	duration = 1080
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren_cold"
	to = "pc_ocean"
	
	energy = 35000
	duration = 1080
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren_cold"
	to = "pc_desert"
	
	energy = 50000
	duration = 1440
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren_cold"
	to = "pc_arid"
	
	energy = 50000
	duration = 1440
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

terraform_link = {
	from = "pc_barren_cold"
	to = "pc_savannah"
	
	energy = 50000
	duration = 1440
	
	potential = {
		from = { has_modifier = terraforming_candidate }
	}
	condition = {
		has_technology = "tech_climate_restoration"
	}
	
	effect = {
		from = { remove_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 5
	}
}

###################
## Machine World ##
###################


terraform_link = {
	to = "pc_machine"
	from = "pc_barren"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
		from = { has_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 20
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_barren_cold"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
		from = { has_modifier = terraforming_candidate }
	}
	
	ai_weight = {
		weight = 20
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}		
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_nuked"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_gaia"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	condition = { 
		from = {
			OR = {
				is_owned_by = root
				NOT = { has_modifier = "holy_planet" }
			}		
		}
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_desert"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	from = "pc_arid"
	to = "pc_machine"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_savannah"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}		
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_arctic"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_tundra"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_alpine"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_continental"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_tropical"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	to = "pc_machine"
	from = "pc_ocean"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_ascension_perk = ap_machine_worlds
	}
	
	ai_weight = {
		weight = 10
		modifier = {
			factor = 0
			from = {
				any_owned_pop = {
					NOR = {
						has_trait = trait_machine_unit
						has_trait = trait_mechanical
					}
				}
			}
		}
		modifier = {
			factor = 0
			from = {
				is_colony = no
			}
		}
	}
}

terraform_link = {
	from = "pc_machine"
	to = "pc_desert"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_technology = tech_climate_restoration
	}
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0
			has_authority = auth_machine_intelligence
		}
	}
}

terraform_link = {
	to = "pc_arid"
	from = "pc_machine"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_technology = tech_climate_restoration
	}
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0
			has_authority = auth_machine_intelligence
		}
	}
}

terraform_link = {
	from = "pc_machine"
	to = "pc_savannah"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_technology = tech_climate_restoration
	}
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0
			has_authority = auth_machine_intelligence
		}
	}
}

terraform_link = {
	from = "pc_machine"
	to = "pc_arctic"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_technology = tech_climate_restoration
	}
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0
			has_authority = auth_machine_intelligence
		}
	}
}

terraform_link = {
	from = "pc_machine"
	to = "pc_tundra"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_technology = tech_climate_restoration
	}
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0
			has_authority = auth_machine_intelligence
		}
	}
}

terraform_link = {
	from = "pc_machine"
	to = "pc_alpine"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_technology = tech_climate_restoration
	}
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0
			has_authority = auth_machine_intelligence
		}
	}
}

terraform_link = {
	from = "pc_machine"
	to = "pc_continental"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_technology = tech_climate_restoration
	}
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0
			has_authority = auth_machine_intelligence
		}
	}
}

terraform_link = {
	from = "pc_machine"
	to = "pc_tropical"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_technology = tech_climate_restoration
	}
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0
			has_authority = auth_machine_intelligence
		}
	}
}

terraform_link = {
	from = "pc_machine"
	to = "pc_ocean"
	
	energy = @machineCost
	duration = @machineTime
	
	potential = {
		has_technology = tech_climate_restoration
	}
	
	ai_weight = {
		weight = 5
		modifier = {
			factor = 0
			has_authority = auth_machine_intelligence
		}
	}
}
