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"

        EffectsGroup
            scope = Source
            activation = Number low = 1 condition = OwnerHasTech name = "SPY_STEALTH_2"
            effects = [
                CreateShip designname = "SM_ASH" empire = Source.Owner
                Destroy
            ]

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

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