Part
    name = "SP_CLOUD"
    description = "SP_CLOUD"
    class = General
    mountableSlotTypes = Internal
    buildcost = 1
    buildtime = 1
    tags = [ "PEDIA_PC_GENERAL" ]
    location = All
    effectsgroups = [
        EffectsGroup
            scope = NumberOf number = 1 condition = And [
                Planet
                InSystem id = Source.SystemID
                Not Planet type = [Asteroids GasGiant Barren Desert]
            ]
            activation = And [
                Random probability = 0.15
                InSystem
            ]
            effects = AddSpecial name = "CLOUD_COVER_MASTER_SPECIAL"

        // does any empire have a tech that can produce stealth specials?
        EffectsGroup
            scope = Source
            activation = Number low = 1 condition = And [Capital OwnerHasTech name = "SPY_STEALTH_2"]
            effects = [
                CreateShip designname = "SM_ASH" empire = Source.Owner name = Source.Name
                Destroy
            ]

        EffectsGroup
            scope = Source
            activation = Number low = 1 condition = And [Capital OwnerHasTech name = "SPY_STEALTH_3"]
            effects = [
                CreateShip designname = "SM_DIM" empire = Source.Owner name = Source.Name
                Destroy
            ]

        EffectsGroup
            scope = Source
            activation = Number low = 1 condition = And [Capital OwnerHasTech name = "SPY_STEALTH_4"]
            effects = [
                CreateShip designname = "SM_VOID" empire = Source.Owner name = Source.Name
                Destroy
            ]
    ]
    icon = ""
