Tech
    name = "SPY_STEALTH_2"
    description = "SPY_STEALTH_2_DESC"
    short_description = "PLANET_PROTECT_SHORT_DESC"
    category = "SPY_CATEGORY"
    researchcost = 200 * [[TECH_COST_MULTIPLIER]] - (100 * [[TECH_COST_MULTIPLIER]] * Statistic If Condition = OwnerHasTech Name = "SPY_STEALTH_PART_2" )
    researchturns = 6
    tags = [ "PEDIA_SPY_CATEGORY" ]
    prerequisites = "SPY_STEALTH_1"
    effectsgroups =
        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Planet
            ]
            activation = And [
                Not OwnerHasTech name = "SPY_STEALTH_3"
                Not OwnerHasTech name = "SPY_STEALTH_4"
            ]
            effects = [
                AddSpecial name = "VOLCANIC_ASH_SLAVE_SPECIAL"
                RemoveSpecial name = "CLOUD_COVER_SLAVE_SPECIAL"
            ]
    graphic = "icons/specials_huge/volcanic_ash.png"

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