Tech
    name = "SHP_ADV_DAM_CONT"
    description = "SHP_ADV_DAM_CONT_DESC"
    short_description = "STRUCTURE_SHORT_DESC"
    category = "SHIP_PARTS_CATEGORY"
    researchcost = 100 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    tags = [ "PEDIA_DAMAGE_CONTROL_PART_TECHS" ]
    prerequisites = [
        "SHP_FLEET_REPAIR"
        "CON_GAL_INFRA"
        ]
    effectsgroups =
        EffectsGroup
            scope = And [
                Ship
                OwnedBy empire = Source.Owner
                InSystem
                Stationary
                Turn low = LocalCandidate.System.LastTurnBattleHere + 1
            ]
            effects = SetStructure value = Value + (Target.MaxStructure/10)

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