#@cost = 56

tr_plentiful_biogenesis_adopt = {
#	cost = { unity = @cost }
	modifier = {
		category_biology_research_speed_mult = 0.2
	}
	
	ai_weight = {
		factor = 10
		modifier = {
			factor = 1
			has_ethic = ethic_fanatic_xenophobe
		}
		modifier = {
			factor = 1
			has_ethic = ethic_fanatic_materialist
		}
		modifier = {
			factor = 2
			has_authority = auth_hive_mind
		}
		modifier = {
			factor = -5
			has_authority = auth_machine_intelligence
		}
	}
}

tr_plentiful_biogenesis_finish = {
	on_enabled = {
#		add_research_option = tech_gene_tailoring
	}
	
	modifier = {
		modify_species_cost_mult = -0.10
		BIOLOGICAL_species_trait_points_add = 3
		ascension_perks_add = 1
	}

	tradition_swap = {
		name = tr_plentiful_biogenesis_machine_finish
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = {
			has_authority = auth_machine_intelligence
		}
		
		modifier = {
			modify_species_cost_mult = -0.1
			BIOLOGICAL_species_trait_points_add = 1
			ROBOT_species_trait_points_add = 3
			MACHINE_species_trait_points_add = 3
			ascension_perks_add = 1
		}
		
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_biogenesis_1 = {
#	cost = { unity = @cost }
	modifier = {
		planet_pops_organics_food_upkeep_mult = -0.15
		planet_livestock_food_produces_add = 3
	}

	tradition_swap = {
		name = tr_plentiful_biogenesis_machine_1
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = {
			has_authority = auth_machine_intelligence
		}
		
		modifier = {
			planet_pop_assemblers_alloys_upkeep_mult = -0.15

			#planet_organic_battery_energy_produces_add = 1
			#planet_job_organic_battery_energy_produces_add = 2
			#job_organic_battery_energy_produces_add = 3
		}
		
		weight = {
			factor = 1
		}
	}

	tradition_swap = {
		name = tr_plentiful_biogenesis_lithoids_1
		inherit_effects = no
		inherit_icon = yes
		inherit_name = no
		trigger = {
			is_lithoid_empire = yes
		}
		
		modifier = {
			
			planet_pops_organics_minerals_upkeep_mult = -0.15
			planet_livestock_minerals_produces_add = 3

			#planet_organic_battery_energy_produces_add = 1
			#planet_job_organic_battery_energy_produces_add = 2
			#job_organic_battery_energy_produces_add = 3
		}
		
		weight = {
			factor = 1
		}
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_biogenesis_2 = {
#	cost = { unity = @cost }
	modifier = {
		planet_clear_blocker_time_mult = -0.2
		deposit_blockers_cost_mult = -0.2
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_biogenesis_3 = {
#	cost = { unity = @cost }
	custom_tooltip_with_modifiers = tr_plentiful_biogenesis_3_desc
	
	modifier = {
# ehemals Infliction, jetzt partial_terraforming
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_biogenesis_4 = {
#	cost = { unity = @cost }
	possible = {
		has_tradition = tr_plentiful_biogenesis_1
		has_tradition = tr_plentiful_biogenesis_2
	}
	modifier = {
# Biogenesis Lab
	}
	on_enabled = {
		add_research_option = tech_basic_science_lab_3
		add_research_option = tech_mine_exotic_gases
	}
	
	ai_weight = {
		factor = 1000
	}
}

tr_plentiful_biogenesis_5 = {
#	cost = { unity = @cost }
	possible = {
		has_tradition = tr_plentiful_biogenesis_3
		has_tradition = tr_plentiful_biogenesis_2
	}
	modifier = {
		planet_researchers_society_research_produces_mult = 0.15
	}
	
	ai_weight = {
		factor = 1000
	}
}