Special
    name = "INDEPENDENT_COLONY_SHIELD_SPECIAL"
    description = "INDEPENDENT_COLONY_SHIELD_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_OVERRIDE_PRIORITY]]
            effects = [
                SetMaxShield value = max(Value, SpecialCapacity name = ThisSpecial object = Source.ID)
            ]
    ]
    graphic = "icons/meter/shield.png"

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