Tech
    name = "GRO_XENO_GENETICS"
    description = "GRO_XENO_GENETICS_DESC"
    short_description = "POPULATION_SHORT_DESC"
    category = "GROWTH_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    tags = [ "PEDIA_GROWTH_CATEGORY" ]
    prerequisites = [
        "GRO_SYMBIOTIC_BIO"
        "GRO_GENETIC_MED"
    ]
    effectsgroups = [
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
                Planet environment = [
                    Adequate
                    Poor
                ]
            ]
            priority = [[TARGET_POPULATION_BEFORE_SCALING_PRIORITY]]
            effects = SetTargetPopulation value = Value + 2 * Target.HabitableSize accountinglabel = "GRO_XENO_GENETICS"
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
                Planet environment = [ Hostile ]
            ]
            priority = [[TARGET_POPULATION_BEFORE_SCALING_PRIORITY]]
            effects = SetTargetPopulation value = Value + 1 * Target.HabitableSize accountinglabel = "GRO_XENO_GENETICS"
    ]
    graphic = "icons/tech/xenological_genetics.png"

#include "/scripting/common/base_prod.macros"

#include "/scripting/common/priorities.macros"
