Tech
    name = "SPY_STEALTH_3"
    description = "SPY_STEALTH_3_DESC"
    short_description = "PLANET_PROTECT_SHORT_DESC"
    category = "SPY_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]] - (250 * [[TECH_COST_MULTIPLIER]] * Statistic If Condition = OwnerHasTech Name = "SPY_STEALTH_PART_3" )
    researchturns = 7
    tags = [ "PEDIA_SPY_CATEGORY" ]
    prerequisites = "SPY_STEALTH_2"
    effectsgroups =
        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Planet
            ]
            activation = Not OwnerHasTech name = "SPY_STEALTH_4"
            effects = [
                AddSpecial name = "DIM_RIFT_SLAVE_SPECIAL"
                RemoveSpecial name = "VOLCANIC_ASH_SLAVE_SPECIAL"
                RemoveSpecial name = "CLOUD_COVER_SLAVE_SPECIAL"
            ]
    graphic = "icons/specials_huge/dim_rift.png"

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