Special
    name = "TEMPORAL_ANOMALY_SPECIAL"
    description = "TEMPORAL_ANOMALY_SPECIAL_DESC"
    stealth = 0
    spawnrate = 0.3
    spawnlimit = 9999
    location = And [
        Planet
        Not Species
        Not Planet type = [Asteroids GasGiant]
    ]
    effectsgroups = [
        EffectsGroup
            scope = And [
                Source
                Focus type = "FOCUS_RESEARCH"
            ]
            priority = [[EARLY_PRIORITY]]
            effects = SetTargetResearch value = Value + Target.Population * 25 * [[RESEARCH_PER_POP]]

        EffectsGroup
            scope = Object id = Source.PlanetID
            priority = [[TARGET_POPULATION_AFTER_SCALING_PRIORITY]]
            effects = SetTargetPopulation value = Value - 5 * Target.HabitableSize accountinglabel = "TEMPORAL_ANOMALY_SPECIAL"
    ]
    graphic = "icons/specials_huge/temporal_anomaly.png"

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

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