Special
    name = "INDEPENDENT_COLONY_POPULATION_SPECIAL"
    description = "INDEPENDENT_COLONY_POPULATION_SPECIAL_DESC"
    spawnrate = 0.0
    effectsgroups = [
        // Remove the special if the population died out or the planet is invaded
        EffectsGroup
            scope = Source
            activation = Or [
                Not Unowned
                Population high = 0
            ]
            effects = RemoveSpecial name = ThisSpecial

        EffectsGroup
            scope = Source
            activation = And [
                Unowned
                Species
            ]
            priority = [[TARGET_POPULATION_OVERRIDE_PRIORITY]]
            effects = [
                SetTargetPopulation value = max(Value, SpecialCapacity name = ThisSpecial object = Source.ID)
            ]
    ]
    graphic = "icons/meter/pop.png"

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