#include "shared_macros.txt"

Category
    name = "LEARNING_CATEGORY"
    graphic = "learning.png"
    colour = (54, 202, 229)

Category 
    name = "GROWTH_CATEGORY"
    graphic = "growth.png"
    colour = (116, 225, 107)

Category 
    name = "PRODUCTION_CATEGORY"
    graphic = "production.png"
    colour = (240, 106, 106, 255)

Category 
    name = "CONSTRUCTION_CATEGORY"
    graphic = "construction.png"
    colour = (241, 233, 87, 255)
    
Category 
    name = "DEFENSE_CATEGORY"
    graphic = "defense.png"
    colour = (70, 80, 215, 255)

Category 
    name = "SHIPS_CATEGORY"
    graphic = "ships.png"
    colour = (255, 139, 85, 255)
    
Category 
    name = "SPY_CATEGORY"
    graphic = "spy.png"
    colour = (168, 0, 255, 255)

//########################################################
//#     D E F E N S E
//########################################################
//CORRESPONDING MAX TROOP, DEFENSE, & SHIELD VALUES ARE SPECIFIED IN SPECIES.TXT

Tech
    Name = "DEF_ROOT_DEFENSE"
    description = "DEF_ROOT_DEFENSE_DESC"
    short_description = "TROOPS_SHORT_DESC"
    techtype = Application
    category = "DEFENSE_CATEGORY"
    researchcost = 1
    researchturns = 1
    graphic = ""


CANDIDATE_BATTLE_CHECK
'''Turn low = LocalCandidate.System.LastTurnBattleHere + 1'''
Tech
    Name = "DEF_GARRISON_1"
    description = "DEF_GARRISON_1_DESC"
    short_description = "TROOPS_SHORT_DESC"
    techtype = Application
    category = "DEFENSE_CATEGORY"
    researchcost = 5 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "DEF_ROOT_DEFENSE"
    graphic = "icons/tech/troops.png"
    
Tech
    Name = "DEF_GARRISON_2"
    description = "DEF_GARRISON_2_DESC"
    short_description = "TROOPS_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 15 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "DEF_GARRISON_1"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
                [[CANDIDATE_BATTLE_CHECK]]
            ]
            effects = SetTroops value = Value + 1
    graphic = "icons/tech/troops.png"
    
Tech
    Name = "DEF_GARRISON_3"
    description = "DEF_GARRISON_3_DESC"
    short_description = "TROOPS_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 50 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = "DEF_GARRISON_2"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
                [[CANDIDATE_BATTLE_CHECK]]
            ]
            effects = SetTroops value = Value + 2
    graphic = "icons/tech/troops.png"
    
Tech
    Name = "DEF_GARRISON_4"
    description = "DEF_GARRISON_4_DESC"
    short_description = "TROOPS_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 9
    prerequisites = "DEF_GARRISON_3"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
                [[CANDIDATE_BATTLE_CHECK]]
            ]
            effects = SetTroops value = Value + 3
    graphic = "icons/tech/troops.png"

Tech
    name = "DEF_DEFENSE_NET_1"
    description = "DEF_DEFENSE_NET_1_DESC"
    short_description = "DEFENSE_SHORT_DESC"
    techtype = Application
    category = "DEFENSE_CATEGORY"
    researchcost = 16 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "DEF_ROOT_DEFENSE"
            
Tech
    name = "DEF_DEFENSE_NET_2"
    description = "DEF_DEFENSE_NET_2_DESC"
    short_description = "DEFENSE_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 80 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "DEF_DEFENSE_NET_1"

Tech
    name = "DEF_DEFENSE_NET_3"
    description = "DEF_DEFENSE_NET_3_DESC"
    short_description = "DEFENSE_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 160 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "DEF_DEFENSE_NET_2"

Tech
    name = "DEF_DEFENSE_NET_REGEN_1"
    description = "DEF_DEFENSE_NET_REGEN_1_DESC"
    short_description = "DEFENSE_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 60 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "DEF_DEFENSE_NET_2"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = SetDefense value = Value + 0.1*Target.MaxDefense

Tech
    name = "DEF_DEFENSE_NET_REGEN_2"
    description = "DEF_DEFENSE_NET_REGEN_2_DESC"
    short_description = "DEFENSE_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 160 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = "DEF_DEFENSE_NET_REGEN_1"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = SetDefense value = Value + max(0.1*Target.MaxDefense, 0.25*Target.Construction)

Tech
    name = "DEF_PLAN_BARRIER_SHLD_1"
    description = "DEF_PLAN_BARRIER_SHLD_1_DESC"
    short_description = "SHIELD_SHORT_DESC"
    techtype = Application
    category = "DEFENSE_CATEGORY"
    researchcost = 80 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "LRN_FORCE_FIELD"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = [
//                SetMaxShield value = Value + 30
                SetShield value = Value + max(min(1.0, Value), 0.25*Target.Construction)
            ]
    graphic = "icons/tech/planetary_barrier_shield.png"

Tech
    name = "DEF_PLAN_BARRIER_SHLD_2"
    description = "DEF_PLAN_BARRIER_SHLD_2_DESC"
    short_description = "SHIELD_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 120 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "DEF_PLAN_BARRIER_SHLD_1"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = [
//                SetMaxShield value = Value + 60
                SetShield value = Value + max(min(3.0, Value), 0.75*Target.Construction)
            ]
    graphic = "icons/tech/planetary_barrier_shield.png"

Tech
    name = "DEF_PLAN_BARRIER_SHLD_3"
    description = "DEF_PLAN_BARRIER_SHLD_3_DESC"
    short_description = "SHIELD_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 240 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = "DEF_PLAN_BARRIER_SHLD_2"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = [
//                SetMaxShield value = Value + 90
                SetShield value = Value + max(min(5.0, Value), 1.0*Target.Construction)
            ]
    graphic = "icons/tech/planetary_barrier_shield.png"

Tech
    name = "DEF_PLAN_BARRIER_SHLD_4"
    description = "DEF_PLAN_BARRIER_SHLD_4_DESC"
    short_description = "SHIELD_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = "DEF_PLAN_BARRIER_SHLD_3"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = [
//                SetMaxShield value = Value + 150
                SetShield value = Value + max(min(9.0, Value), 1.5*Target.Construction)
            ]
    graphic = "icons/tech/planetary_barrier_shield.png"

Tech
    name = "DEF_PLAN_BARRIER_SHLD_5"
    description = "DEF_PLAN_BARRIER_SHLD_5_DESC"
    short_description = "SHIELD_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 1200* [[TECH_COST_MULTIPLIER]]
    researchturns = 12
    prerequisites = "DEF_PLAN_BARRIER_SHLD_4"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = [
//                SetMaxShield value = Value + 150
                SetShield value = Value + max(min(14.0, Value), 2.5*Target.Construction)
            ]
    graphic = "icons/tech/planetary_barrier_shield.png"

Tech
    name = "DEF_PLANET_CLOAK"
    description = "DEF_PLANET_CLOAK_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "DEFENSE_CATEGORY"
    researchcost = 9999
    researchturns = 9999
    Unresearchable
    prerequisites = "SPY_STEALTH_3"
    unlock = Item type = Building name = "BLD_PLANET_CLOAK"
    
Tech
    name = "DEF_SYST_DEF_MINE_1"
    description = "DEF_SYST_DEF_MINE_1_DESC"
    short_description = "DEFENSE_SHORT_DESC"
    techtype = Application
    category = "DEFENSE_CATEGORY"
    researchcost = 120 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "DEF_DEFENSE_NET_1"
    effectsgroups = [
        EffectsGroup
            scope = And [
                Ship
                ContainedBy And [
                    System 
                    Contains And [
                        Planet
                        OwnedBy empire = Source.Owner
                        Not HasSpecial name = "FORTRESS_SPECIAL"
                    ]
                ]
                Or [
                    OwnedBy affiliation = EnemyOf empire = Source.Owner
                    Unowned
                ]
            ]
            activation = Not OwnerHasTech name = "DEF_SYST_DEF_MINE_2"
            effects = SetStructure value = Value - 2
        EffectsGroup
            scope = And [
                Fleet
                ContainedBy And [
                    System 
                    Contains And [
                        Planet
                        OwnedBy empire = Source.Owner
                        Not HasSpecial name = "FORTRESS_SPECIAL"
                    ]
                ]
                OwnedBy affiliation = EnemyOf empire = Source.Owner
            ]
            activation = Not OwnerHasTech name = "DEF_SYST_DEF_MINE_2"
            effects = [
                GenerateSitRepMessage
                    message = "EFFECT_MINES"
                    icon = "icons/sitrep/combat_damage.png"
                    parameters = [
                        tag = "empire" data = Target.Owner
                        tag = "fleet" data = Target.ID
                        tag = "rawtext" data = "2"
                        tag = "system" data = Target.SystemID
                    ]
                    empire = Target.Owner
            ]
        EffectsGroup
            scope = And [
                Ship
                ContainedBy And [
                    System 
                    Contains And [
                        Planet
                        OwnedBy empire = Source.Owner
                        Not HasSpecial name = "FORTRESS_SPECIAL"
                    ]
                ]
                OwnedBy affiliation = EnemyOf empire = Source.Owner
                Structure high = 2
            ]
            activation = Not OwnerHasTech name = "DEF_SYST_DEF_MINE_2"
            effects = [
                GenerateSitRepMessage
                    message = "EFFECT_MINES_SHIP_DESTROYED"
                    icon = "icons/sitrep/combat_destroyed.png"
                    parameters = [
                        tag = "empire" data = Target.Owner
                        tag = "ship" data = Target.ID
                        tag = "system" data = Target.SystemID
                    ]
                    empire = Target.Owner
                Destroy
            ]
    ]
    graphic = "icons/tech/system_defense_mines.png"

Tech
    name = "DEF_SYST_DEF_MINE_2"
    description = "DEF_SYST_DEF_MINE_2_DESC"
    short_description = "DEFENSE_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 240 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "DEF_SYST_DEF_MINE_1"
    effectsgroups = [
        EffectsGroup
            scope = And [
                Ship
                ContainedBy And [
                    System 
                    Contains And [
                        Planet
                        OwnedBy empire = Source.Owner
                    ]
                ]
                Or [
                    OwnedBy affiliation = EnemyOf empire = Source.Owner
                    Unowned
                ]
            ]
            activation = Not OwnerHasTech name = "DEF_SYST_DEF_MINE_3"
            effects = SetStructure value = Value - 6
        EffectsGroup
            scope = And [
                Fleet
                ContainedBy And [
                    System 
                    Contains And [
                        Planet
                        OwnedBy empire = Source.Owner
                    ]
                ]
                OwnedBy affiliation = EnemyOf empire = Source.Owner
            ]
            activation = Not OwnerHasTech name = "DEF_SYST_DEF_MINE_3"
            effects = [
                GenerateSitRepMessage
                    message = "EFFECT_MINES"
                    icon = "icons/sitrep/combat_damage.png"
                    parameters = [
                        tag = "empire" data = Target.Owner
                        tag = "fleet" data = Target.ID
                        tag = "rawtext" data = "6"
                        tag = "system" data = Target.SystemID
                    ]
                    empire = Target.Owner
            ]
        EffectsGroup
            scope = And [
                Ship
                ContainedBy And [
                    System 
                    Contains And [
                        Planet
                        OwnedBy empire = Source.Owner
                    ]
                ]
                OwnedBy affiliation = EnemyOf empire = Source.Owner
                Structure high = 6
            ]
            activation = Not OwnerHasTech name = "DEF_SYST_DEF_MINE_3"
            effects = [
                GenerateSitRepMessage
                    message = "EFFECT_MINES_SHIP_DESTROYED"
                    icon = "icons/sitrep/combat_destroyed.png"
                    parameters = [
                        tag = "empire" data = Target.Owner
                        tag = "ship" data = Target.ID
                        tag = "system" data = Target.SystemID
                    ]
                    empire = Target.Owner
                Destroy
            ]
    ]
    graphic = "icons/tech/system_defense_mines.png"

Tech
    name = "DEF_SYST_DEF_MINE_3"
    description = "DEF_SYST_DEF_MINE_3_DESC"
    short_description = "DEFENSE_SHORT_DESC"
    techtype = Refinement
    category = "DEFENSE_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = "DEF_SYST_DEF_MINE_2"
    effectsgroups = [
        EffectsGroup
            scope = And [
                Ship
                ContainedBy And [
                    System 
                    Contains And [
                        Planet
                        OwnedBy empire = Source.Owner
                    ]
                ]
                Or [
                    OwnedBy affiliation = EnemyOf empire = Source.Owner
                    Unowned
                ]
            ]
            effects = SetStructure value = Value - 14
        EffectsGroup
            scope = And [
                Fleet
                ContainedBy And [
                    System 
                    Contains And [
                        Planet
                        OwnedBy empire = Source.Owner
                    ]
                ]
                OwnedBy affiliation = EnemyOf empire = Source.Owner
            ]
            effects = [
                GenerateSitRepMessage
                    message = "EFFECT_MINES"
                    icon = "icons/sitrep/combat_damage.png"
                    parameters = [
                        tag = "empire" data = Target.Owner
                        tag = "fleet" data = Target.ID
                        tag = "rawtext" data = "14"
                        tag = "system" data = Target.SystemID
                    ]
                    empire = Target.Owner
            ]
        EffectsGroup
            scope = And [
                Ship
                ContainedBy And [
                    System 
                    Contains And [
                        Planet
                        OwnedBy empire = Source.Owner
                    ]
                ]
                OwnedBy affiliation = EnemyOf empire = Source.Owner
                Structure high = 14
            ]
            effects = [
                GenerateSitRepMessage
                    message = "EFFECT_MINES_SHIP_DESTROYED"
                    icon = "icons/sitrep/combat_destroyed.png"
                    parameters = [
                        tag = "empire" data = Target.Owner
                        tag = "ship" data = Target.ID
                        tag = "system" data = Target.SystemID
                    ]
                    empire = Target.Owner
                Destroy
            ]
    ]
    graphic = "icons/tech/system_defense_mines.png"


//########################################################
//#     L E A R N I N G
//########################################################


Tech
    name = "LRN_PHYS_BRAIN"
    description = "LRN_PHYS_BRAIN_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "LEARNING_CATEGORY"
    researchcost = 4 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    graphic = "icons/tech/the_physical_brain.png"

Tech
    name = "LRN_ALGO_ELEGANCE"
    description = "LRN_ALGO_ELEGANCE_DESC"
    short_description = "RESEARCH_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 12 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    effectsgroups = [
        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Focus type = "FOCUS_RESEARCH"
            ]
            effects = SetTargetResearch value = Value + Target.Population * 0.5 * [[RESEARCH_PER_POP]]
    ]
    graphic = "icons/tech/algorithmic_elegance.png"

Tech
    name = "LRN_TRANSLING_THT"
    description = "LRN_TRANSLING_THT_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "LEARNING_CATEGORY"
    researchcost = 16 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = [
        "LRN_PHYS_BRAIN"
        "LRN_ALGO_ELEGANCE"
    ]
    graphic = "icons/tech/translingustic_thought.png"

Tech
    name = "LRN_PSIONICS"
    description = "LRN_PSIONICS_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "LEARNING_CATEGORY"
    researchcost = 300 * [[TECH_COST_MULTIPLIER]] - (250 * [[TECH_COST_MULTIPLIER]] * If condition = AND [
        OwnedBy empire = Source.Owner
        HasTag name = "TELEPATHIC"
    ])
    researchturns = 4
    prerequisites = "LRN_TRANSLING_THT"
    graphic = "icons/tech/psionics.png"

Tech
    name = "LRN_XENOARCH"
    description = "LRN_XENOARCH_DESC"
    short_description = "XENOARCH_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 36 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "LRN_TRANSLING_THT"
    graphic = "icons/tech/xenoarchaeology.png"

Tech
    name = "LRN_GRAVITONICS"
    description = "LRN_GRAVITONICS_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "LEARNING_CATEGORY"
    researchcost = 80 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "LRN_FORCE_FIELD"
    graphic = "icons/tech/gravitonics.png"

Tech
    name = "LRN_FORCE_FIELD"
    description = "LRN_FORCE_FIELD_DESC"
    short_description = "SHIELD_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 50 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "LRN_ARTIF_MINDS"
    unlock = Item type = ShipPart name = "SH_DEFENSE_GRID"
    graphic = "icons/ship_parts/defense_grid.png"

Tech
    name = "LRN_EVERYTHING"
    description = "LRN_EVERYTHING_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "LEARNING_CATEGORY"
    researchcost = 400 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "LRN_GRAVITONICS"
    graphic = "icons/tech/the_theory_of_everything.png"

Tech
    name = "LRN_MIND_VOID"
    description = "LRN_MIND_VOID_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "LEARNING_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = "LRN_XENOARCH"
    graphic = "icons/tech/mind_of_the_void.png"

Tech
    name = "LRN_NDIM_SUBSPACE"
    description = "LRN_NDIM_SUBSPACE_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "LEARNING_CATEGORY"
    researchcost = 80 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "LRN_FORCE_FIELD"
    graphic = "icons/tech/n-dimensional_subspace.png"

Tech
    name = "LRN_TIME_MECH"
    description = "LRN_TIME_MECH_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "LEARNING_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = "LRN_EVERYTHING"
    graphic = "icons/tech/temporal_mechanics.png"

Tech
    name = "LRN_ARTIF_MINDS"
    description = "LRN_ARTIF_MINDS_DESC"
    short_description = "RESEARCH_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 25 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "LRN_ALGO_ELEGANCE"
    effectsgroups = [
        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                NOT TargetPopulation low = 0 high = 0
            ]
            effects = SetTargetResearch value = Value + 10 * [[RESEARCH_PER_POP]]
    ]
    graphic = "icons/tech/basic_autolabs.png"

Tech
    name = "LRN_DISTRIB_THOUGHT"
    description = "LRN_DISTRIB_THOUGHT_DESC"
    short_description = "RESEARCH_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "LRN_PSIONICS"
    effectsgroups = [
        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                // Focus type = "FOCUS_RESEARCH"  //Does not require research Focus
            ]
            effects = SetTargetResearch value = Value + Target.Population * 0.5 * [[RESEARCH_PER_POP]]
    ]
    graphic = "icons/tech/distributed_thought.png"

/*  // commented out because current form doesn't work with current detection mechanics, which have a hard limit on range that can't be exceeded
Tech
    name = "LRN_OBSERVATORY_I"
    description = "LRN_OBSERVATORY_I_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "LRN_FORCE_FIELD"
    unlock = Item type = Building name = "BLD_OBSERVATORY"
*/

/*
Tech
    name = "LRN_SOLAR_MAN"
    description = "LRN_SOLAR_MAN_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 750 * [[TECH_COST_MULTIPLIER]]
    researchturns = 1
    prerequisites = "LRN_GRAVITONICS"
    unlock = [
        Item type = Building name = "BLD_SOL_ACCEL"
        Item type = Building name = "BLD_SOL_REJUV"
    ]
*/

Tech
    name = "LRN_SPATIAL_DISTORT_GEN"
    description = "LRN_SPATIAL_DISTORT_GEN_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 125 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "LRN_NDIM_SUBSPACE"
    unlock = Item type = Building name = "BLD_SPATIAL_DISTORT_GEN"

Tech
    name = "LRN_QUANT_NET"
    description = "LRN_QUANT_NET_DESC"
    short_description = "RESEARCH_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 200 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "LRN_NDIM_SUBSPACE"
    effectsgroups = [
        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Focus type = "FOCUS_RESEARCH"
            ]
            effects = SetTargetResearch value = Value + Target.Population * 2.5 * [[RESEARCH_PER_POP]]
    ]

Tech
    name = "LRN_STELLAR_TOMOGRAPHY"
    description = "LRN_STELLAR_TOMOGRAPHY_DESC"
    short_description = "RESEARCH_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 125 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "LRN_EVERYTHING"
    effectsgroups = [
        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Star type = BlackHole
                Focus type = "FOCUS_RESEARCH"
            ]
            effects = SetTargetResearch value = Value + Target.Population * 5 * [[RESEARCH_PER_POP]]

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Star type = Neutron
                Focus type = "FOCUS_RESEARCH"
            ]
            effects = SetTargetResearch value = Value + Target.Population * 3.75 * [[RESEARCH_PER_POP]]

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Star type = [Blue White]
                Focus type = "FOCUS_RESEARCH"
            ]
            effects = SetTargetResearch value = Value + Target.Population * 2.5 * [[RESEARCH_PER_POP]]

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Star type = [Red Orange Yellow]
                Focus type = "FOCUS_RESEARCH"
            ]
            effects = SetTargetResearch value = Value + Target.Population * 1 * [[RESEARCH_PER_POP]]
    ]
    graphic = "icons/tech/stellar_tomography.png"

Tech
    name = "LRN_GATEWAY_VOID"
    description = "LRN_GATEWAY_VOID_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "LRN_MIND_VOID"
        "LRN_NDIM_SUBSPACE"
    ]
    unlock = Item type = Building name = "BLD_GATEWAY_VOID"
    graphic = "icons/tech/monument_to_exodus.png"

Tech
    name = "LRN_ENCLAVE_VOID"
    description = "LRN_ENCLAVE_VOID_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "LRN_GATEWAY_VOID"
        "LRN_EVERYTHING"
    ]
    unlock = Item type = Building name = "BLD_ENCLAVE_VOID"
    graphic = "icons/tech/enclave_of_the_void.png"

Tech
    name = "LRN_PSY_DOM"
    description = "LRN_PSY_DOM_DESC"
    short_description = "MIND_CONTROL_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 750 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = [
        "LRN_UNIF_CONC"
        "LRN_TIME_MECH"
    ]
    effectsgroups =
        EffectsGroup
            scope = And [
                Ship
                Not OwnedBy empire = Source.Owner
                VisibleToEmpire empire = Source.Owner
                Random probability = 0.1
                Not Monster
                Not HasTag name = "TELEPATHIC"
                Not OwnerHasTech name = "LRN_PSY_DOM"
                ContainedBy And [
                    System
                    Contains And [
                        Planet
                        OwnedBy empire = Source.Owner
                        HasTag name = "TELEPATHIC"
                        Focus type = "FOCUS_DOMINATION"
                    ]
                ]
            ]
            effects = [
                GenerateSitRepMessage
                    message = "EFFECT_PSY_DOM"
                    icon = "icons/sitrep/ship_produced.png"
                    parameters = [
                        tag = "empire" data = Target.Owner
                        tag = "ship" data = Target.ID
                    ]
                    empire = Target.Owner
                GenerateSitRepMessage
                    message = "EFFECT_PSY_DOM"
                    icon = "icons/sitrep/ship_produced.png"
                    parameters = [
                        tag = "empire" data = Target.Owner
                        tag = "ship" data = Target.ID
                    ]
                    empire = Source.Owner
                SetOwner empire = Source.Owner
            ]

Tech
    name = "LRN_ART_BLACK_HOLE"
    description = "LRN_ART_BLACK_HOLE_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 350 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = "LRN_TIME_MECH"
    unlock = Item type = Building name = "BLD_ART_BLACK_HOLE"

Tech
    name = "LRN_UNIF_CONC"
    description = "LRN_UNIF_CONC_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 400 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = [
        "LRN_GATEWAY_VOID"
        "LRN_QUANT_NET"
    ]
    unlock = Item type = Building name = "BLD_COLLECTIVE_NET"
    graphic = "icons/tech/unified_conscious.png"

Tech
    name = "LRN_TRANSCEND"
    description = "LRN_TRANSCEND_DESC"
    short_description = "VICTORY_SHORT_DESC"
    techtype = Application
    category = "LEARNING_CATEGORY"
    researchcost = 500 * GalaxySize * [[TECH_COST_MULTIPLIER]]
    researchturns = 20
    prerequisites = [
        "CON_TRANS_ARCH"
        "LRN_PSY_DOM"
        "PRO_ZERO_GEN"
        "GRO_ENERGY_META"
    ]
    effectsgroups =
        EffectsGroup
            scope = Source
            effects = [
                GenerateSitRepMessage
                    message = "SITREP_VICTORY_TECH"
                    icon = "icons/sitrep/victory.png"
                    empire = Source.Owner
                Victory reason = "TECH_VICTORY"
            ]
    graphic = "icons/tech/singularity_of_transcendence.png"



//########################################################
//#     G R O W T H
//########################################################
    
Tech
    name = "GRO_PLANET_ECOL"
    description = "GRO_PLANET_ECOL_DESC"
    short_description = "POPULATION_SHORT_DESC"
    techtype = Theory
    category = "GROWTH_CATEGORY"
    researchcost = 4 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    graphic = "icons/tech/planetary_ecology.png"

Tech
    name = "GRO_GENETIC_ENG"
    description = "GRO_GENETIC_ENG_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "GROWTH_CATEGORY"
    researchcost = 4 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    graphic = "icons/tech/genetic_engineering.png"
/*
Tech
    name = "CON_REMOTE_COL"
    description = "CON_REMOTE_COL_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 3 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    unlock = Item type = ShipPart name = "CO_COLONY_POD"
    graphic = "icons/tech/environmental_encapsulation.png"
*/
Tech
    name = "GRO_SYMBIOTIC_BIO"
    description = "GRO_SYMBIOTIC_BIO_DESC"
    short_description = "POPULATION_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 50 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "GRO_PLANET_ECOL"
    // Effects are located in species.txt
    graphic = "icons/tech/symbiosis_biology.png"

Tech
    name = "GRO_ADV_ECOMAN"
    description = "GRO_ADV_ECOMAN_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "GROWTH_CATEGORY"
    researchcost = 50 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "GRO_SUBTER_HAB"

Tech
    name = "GRO_XENO_GENETICS"
    description = "GRO_XENO_GENETICS_DESC"
    short_description = "POPULATION_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = [
        "GRO_SYMBIOTIC_BIO"
        "GRO_GENETIC_MED"
    ]
    // Effects are located in species.txt
    graphic = "icons/tech/xenological_genetics.png"

Tech
    name = "GRO_NANOTECH_MED"
    description = "GRO_NANOTECH_MED_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "GROWTH_CATEGORY"
    researchcost = 40 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "GRO_GENETIC_MED"
        "PRO_NANOTECH_PROD"
    ]
    graphic = "icons/tech/nanotech_medicine.png"

Tech
    name = "GRO_XENO_HYBRIDS"
    description = "GRO_XENO_HYBRIDS_DESC"
    short_description = "POPULATION_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = "GRO_XENO_GENETICS"
    // Effects are located in species.txt
    graphic = "icons/tech/xenological_hybridization.png"
    
Tech
    name = "GRO_CYBORG"
    description = "GRO_CYBORG_DESC"
    short_description = "POPULATION_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 250 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = "GRO_NANO_CYBERNET"
    // Effects are located in species.txt

Tech
    name = "GRO_GENETIC_MED"
    description = "GRO_GENETIC_MED_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 12 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "GRO_GENETIC_ENG"
    unlock = Item type = Building name = "BLD_GENOME_BANK"
    graphic = "icons/tech/genetic_medicine.png"

Tech
    name = "GRO_LIFECYCLE_MAN"
    description = "GRO_LIFECYCLE_MAN_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "GRO_GENETIC_ENG"
    unlock = Item type = ShipPart name = "CO_SUSPEND_ANIM_POD"
    graphic = "icons/tech/lifecycle_manipulation.png"

Tech
    name = "GRO_NANO_CYBERNET"
    description = "GRO_NANO_CYBERNET_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "GRO_NANOTECH_MED"
    unlock = Item type = ShipPart name = "GT_TROOP_POD_2"
    graphic = "icons/tech/nanotech_cybernetics.png"

Tech
    name = "GRO_TRANSORG_SENT"
    description = "GRO_TRANSORG_SENT_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "GROWTH_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = [
        "GRO_TERRAFORM"
    ]

Tech
    name = "GRO_ENERGY_META"
    description = "GRO_ENERGY_META_DESC"
    short_description = "VARIOUS_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 200 * [[TECH_COST_MULTIPLIER]]
    researchturns = 15
    prerequisites = [
        "GRO_CYBORG"
        "LRN_EVERYTHING"
        "GRO_TRANSORG_SENT"
    ]
    effectsgroups = [
        EffectsGroup
            scope = And [
                Ship
                OwnedBy empire = Source.Owner
            ]
            effects = SetMaxFuel value = Value + 2

//Shield & defense now adjusted in Species.txt

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Focus type = "FOCUS_INDUSTRY"

            ]
            effects = SetTargetIndustry value = Value + Target.Population * 1.0 * [[INDUSTRY_PER_POP]]

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Focus type = "FOCUS_RESEARCH"

            ]
            effects = SetTargetResearch value = Value  + Target.Population * 2.5 * [[RESEARCH_PER_POP]]
    ]
    graphic = "icons/tech/pure-energy_metabolism.png"

Tech
    name = "GRO_SUBTER_HAB"
    description = "GRO_SUBTER_HAB_DESC"
    short_description = "POPULATION_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 12 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "GRO_PLANET_ECOL"
    // Effect is specified in species.txt
    graphic = "icons/tech/subterranean_construction.png"

/*
Tech
    name = "GRO_GENOME_BANK"
    description = "GRO_GENOME_BANK_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 35 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "GRO_GENETIC_MED"
    unlock = Item type = Building name = "BLD_GENOME_BANK"
    graphic = "icons/tech/genome_bank.png"

Tech
    name = "GRO_INDUSTRY_CLONE"
    description = "GRO_INDUSTRY_CLONE_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 8 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "GRO_LIFECYCLE_MAN"
    unlock = Item type = Building name = "BLD_CLONING_CENTER"
    graphic = "icons/tech/industrial_cloning.png"
*/

Tech
    name = "GRO_TERRAFORM"
    description = "GRO_TERRAFORM_DESC"
    short_description = "GRO_TERRAFORM_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 100 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "GRO_ADV_ECOMAN"
    unlock = [
        Item type = Building name = "BLD_TERRAFORM"
        Item type = Building name = "BLD_TERRAFORM_REVERT"
    ]
    graphic = "icons/tech/terraform.png"

Tech
    name = "GRO_BIOTERROR"
    description = "GRO_BIOTERROR_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 50 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "GRO_NANOTECH_MED"
    unlock = Item type = Building name = "BLD_BIOTERROR_PROJECTOR"
    graphic = "icons/tech/bioterror_facilities.png"
    
/*  Remote Terraforming is broken badly so hidden
Tech
    name = "GRO_REMOTE_TERRAFORM"
    description = "GRO_REMOTE_TERRAFORM_DESC"
    short_description = "GRO_REMOTE_TERRAFORM_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 16 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "GRO_ECO_METAMORPH"
    unlock = Item type = Building name = "BLD_REMOTE_TERRAFORM"
    graphic = "icons/tech/terraform_rapid.png"
    */

Tech
    name = "GRO_GAIA_TRANS"
    description = "GRO_GAIA_TRANS_DESC"
    short_description = "GRO_GAIA_TRANS_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 250 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = "GRO_TRANSORG_SENT"
    unlock = Item type = Building name = "BLD_GAIA_TRANS"
    graphic = "icons/tech/the_living_planet.png"


//########################################################
//#     P R O D U C T I O N
//########################################################


Tech
    name = "PRO_MICROGRAV_MAN"
    description = "PRO_MICROGRAV_MAN_DESC"
    short_description = "INDUSTRY_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 50 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "CON_ORBITAL_CON"
    effectsgroups = [
        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                ContainedBy And [
                    System 
                    Contains And [
                        Planet
                        Planet type = Asteroids
                        OwnedBy empire = Source.Owner
                    ]
                ]
                Focus type = "FOCUS_INDUSTRY"
            ]
            effects = SetTargetIndustry value = Value + 5
    ]
    graphic = "icons/tech/microgravity_manufacturing.png"

Tech
    name = "PRO_ROBOTIC_PROD"
    description = "PRO_ROBOTIC_PROD_DESC"
    short_description = "INDUSTRY_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 12 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    effectsgroups = [
        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Focus type = "FOCUS_INDUSTRY"
            ]
            effects = SetTargetIndustry value = Value + Target.Population * 0.5 * [[INDUSTRY_PER_POP]]
        ]
    graphic = "icons/tech/robotic_production.png"
    
Tech
    name = "PRO_EXOBOTS"
    description = "PRO_EXOBOTS_DESC"
    short_description = "EXOBOT_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 50 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "PRO_SENTIENT_AUTOMATION"
    unlock = Item type = Building name = "BLD_COL_EXOBOT"
    
    graphic = "icons/species/robotic-01.png"

Tech
    name = "PRO_FUSION_GEN"
    description = "PRO_FUSION_GEN_DESC"
    short_description = "INDUSTRY_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 18 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "PRO_ROBOTIC_PROD"
    effectsgroups = [
        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Focus type = "FOCUS_INDUSTRY"
            ]
            effects = SetTargetIndustry value = Value + Target.Population * 1.0 * [[INDUSTRY_PER_POP]]
    ]
    graphic = "icons/tech/fusion_generation.png"

Tech
    name = "PRO_NANOTECH_PROD"
    description = "PRO_NANOTECH_PROD_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "PRODUCTION_CATEGORY"
    researchcost = 45 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "PRO_ROBOTIC_PROD"
    graphic = "icons/tech/nanotech_production.png"

Tech
    name = "PRO_ORBITAL_GEN"
    description = "PRO_ORBITAL_GEN_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 60 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = [
        "PRO_FUSION_GEN"
        "CON_ORBITAL_CON"
    ]
    unlock = Item type = Building name = "BLD_GAS_GIANT_GEN"
    graphic = "icons/tech/orbital_generation.png"

Tech
    name = "PRO_SENTIENT_AUTOMATION"
    description = "PRO_SENTIENT_AUTOMATION_DESC"
    short_description = "INDUSTRY_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 125 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "LRN_ARTIF_MINDS"
        "PRO_NANOTECH_PROD"
    ]
    effectsgroups = [
        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                NOT TargetPopulation low = 0 high = 0
             ]
             effects = SetTargetIndustry value = Value + 5
    ]
    graphic = "icons/tech/basic_autofactories.png"

Tech
    name = "PRO_NDIM_ASSMB"
    description = "PRO_NDIM_ASSMB_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 200 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "LRN_NDIM_SUBSPACE"
    unlock = Item type = Building name = "BLD_HYPER_DAM"
    graphic = "icons/tech/n-dimensional_assembly.png"

Tech
    name = "PRO_SINGULAR_GEN"
    description = "PRO_SINGULAR_GEN_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = [
        "LRN_GRAVITONICS"
        "PRO_SOL_ORB_GEN"
    ]
    unlock = Item type = Building name = "BLD_BLACK_HOLE_POW_GEN"
    graphic = "icons/tech/artificial_black_hole.png"

Tech
    name = "PRO_ZERO_GEN"
    description = "PRO_ZERO_GEN_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "PRODUCTION_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = [
        "PRO_NDIM_ASSMB"
        "PRO_SINGULAR_GEN"
        "LRN_EVERYTHING"
    ]
    graphic = "icons/tech/zero_point_energy.png"

Tech
    name = "PRO_INDUSTRY_CENTER_I"
    description = "PRO_INDUSTRY_CENTER_I_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 30 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "PRO_ROBOTIC_PROD"
    unlock = Item type = Building name = "BLD_INDUSTRY_CENTER"
    graphic = "icons/tech/industrial_centre_i.png"

Tech
    name = "PRO_INDUSTRY_CENTER_II"
    description = "PRO_INDUSTRY_CENTER_II_DESC"
    short_description = "BUILDING_REFINE_SHORT_DESC"
    techtype = Refinement
    category = "PRODUCTION_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "PRO_INDUSTRY_CENTER_I"
    graphic = "icons/tech/industrial_centre_ii.png"

Tech
    name = "PRO_INDUSTRY_CENTER_III"
    description = "PRO_INDUSTRY_CENTER_III_DESC"
    short_description = "BUILDING_REFINE_SHORT_DESC"
    techtype = Refinement
    category = "PRODUCTION_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = "PRO_INDUSTRY_CENTER_II"
    graphic = "icons/tech/industrial_centre_iii.png"

Tech
    name = "PRO_SOL_ORB_GEN"
    description = "PRO_SOL_ORB_GEN_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 100 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = "PRO_ORBITAL_GEN"
    unlock = Item type = Building name = "BLD_SOL_ORB_GEN"
    graphic = "icons/building/miniature_sun.png"

Tech
    name = "PRO_NEUTRONIUM_EXTRACTION"
    description = "PRO_NEUTRONIUM_EXTRACTION_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "PRODUCTION_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "PRO_ZERO_GEN"
        "LRN_STELLAR_TOMOGRAPHY"
    ]
    unlock = [
        Item type = Building name = "BLD_NEUTRONIUM_EXTRACTOR"
        Item type = Building name = "BLD_NEUTRONIUM_FORGE"
        Item type = ShipPart name = "AR_NEUTRONIUM_PLATE"
    ]


//########################################################
//#     C O N S T R U C T I O N
//########################################################


Tech
    name = "CON_ASYMP_MATS"
    description = "CON_ASYMP_MATS_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 10 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    graphic = "icons/tech/asymptotic_materials.png"

Tech
    name = "CON_ARCH_PSYCH"
    description = "CON_ARCH_PSYCH_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 100 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "CON_ASYMP_MATS"
    graphic = "icons/tech/architecture_psychology.png"

Tech
    name = "CON_ARCH_MONOFILS"
    description = "CON_ARCH_MONOFILS_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "CON_ASYMP_MATS"
    unlock = Item type = Building name = "BLD_SPACE_ELEVATOR"
    graphic = "icons/tech/architectural_monofilaments.png"

Tech
    name = "CON_GAL_INFRA"
    description = "CON_GAL_INFRA_DESC"
    short_description = "SUPPLY_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 750 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = "SHP_INTSTEL_LOG"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = SetMaxSupply value = Value + 1

Tech
    name = "CON_FRC_ENRG_STRC"
    description = "CON_FRC_ENRG_STRC_DESC"
    short_description = "METER_GROWTH_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 200 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "LRN_FORCE_FIELD"
        "CON_ARCH_PSYCH"
    ]
    effectsgroups = [
        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Industry high = RootCandidate.TargetIndustry - 3
            ]
            effects = SetIndustry value = Value + 2

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Research high = RootCandidate.TargetResearch - 3
            ]
            effects = SetResearch value = Value + 2

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Construction high = RootCandidate.TargetConstruction - 3
            ]
            effects = SetConstruction value = Value + 2

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Industry low = RootCandidate.TargetIndustry - 3 high = RootCandidate.TargetIndustry
            ]
            effects = SetIndustry value = Target.TargetIndustry

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Research low = RootCandidate.TargetResearch - 3 high = RootCandidate.TargetResearch
            ]
            effects = SetResearch value = Target.TargetResearch

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Construction low = RootCandidate.TargetConstruction - 3 high = RootCandidate.TargetConstruction
            ]
            effects = SetConstruction value = Target.TargetConstruction

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Industry low = RootCandidate.TargetIndustry + 5
            ]
            effects = SetIndustry value = Value - 3

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Research low = RootCandidate.TargetResearch + 5
            ]
            effects = SetResearch value = Value - 3

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Construction low = RootCandidate.TargetConstruction + 5
            ]
            effects = SetConstruction value = Value - 3

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Industry low = RootCandidate.TargetIndustry high = RootCandidate.TargetIndustry + 5
            ]
            effects = SetIndustry value = Target.TargetIndustry

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Research low = RootCandidate.TargetResearch high = RootCandidate.TargetResearch + 5
            ]
            effects = SetResearch value = Target.TargetResearch

        EffectsGroup
            scope = And [
                ProductionCenter
                OwnedBy empire = Source.Owner
                Construction low = RootCandidate.TargetConstruction high = RootCandidate.TargetConstruction + 5
            ]
            effects = SetConstruction value = Target.TargetConstruction
    ]
    graphic = "icons/tech/force_energy_structures.png"

Tech
    name = "CON_ORBITAL_HAB"
    description = "CON_ORBITAL_HAB_DESC"
    short_description = "POPULATION_SHORT_DESC"
    techtype = Application
    category = "GROWTH_CATEGORY"
    researchcost = 250 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = "PRO_MICROGRAV_MAN"
    graphic = "icons/tech/orbital_gardens.png"

Tech
    name = "CON_NDIM_STRC"
    description = "CON_NDIM_STRC_DESC"
    short_description = "POPULATION_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 450 * [[TECH_COST_MULTIPLIER]]
    researchturns = 9
    prerequisites = [
        "CON_FRC_ENRG_STRC"
        "LRN_NDIM_SUBSPACE"
    ]
    effectsgroups = 
        EffectsGroup
            scope = And [
                        Species
                        OwnedBy empire = Source.Owner
                    ]
            effects = SetTargetConstruction value = Value + 10
    graphic = "icons/tech/n-dimensional_structures.png"

Tech
    name = "CON_TRANS_ARCH"
    description = "CON_TRANS_ARCH_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 1000 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = [
        "CON_ORGANIC_STRC"
        "CON_NDIM_STRC"
    ]
    unlock = Item type = Building name = "BLD_MEGALITH"
    graphic = "icons/tech/transcendent_architecture.png"

Tech
    name = "CON_ORGANIC_STRC"
    description = "CON_ORGANIC_STRC_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = [
        "CON_CONTGRAV_ARCH"
        "CON_FRC_ENRG_STRC"
    ]
    unlock = Item type = Building name = "BLD_TRANSFORMER"
    graphic = "icons/tech/transforming_structures.png"

Tech
    name = "CON_CONTGRAV_ARCH"
    description = "CON_CONTGRAV_ARCH_DESC"
    short_description = "SUPPLY_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 100 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "CON_ARCH_MONOFILS"
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = SetMaxSupply value = Value + 1
    graphic = "icons/tech/controlled_gravity_architecture.png"

Tech
    name = "CON_ART_HEAVENLY"
    description = "CON_ART_HEAVENLY_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 100 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "CON_CONTGRAV_ARCH"
    unlock = Item type = Building name = "BLD_ART_MOON"
    graphic = "icons/tech/artificial_heavenly_bodies.png"

Tech
    name = "CON_ORBITAL_CON"
    description = "CON_ORBITAL_CON_DESC"
    short_description = "SUPPLY_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 40 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    effectsgroups =
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = SetMaxSupply value = Value + 1
    graphic = "icons/tech/orbital_construction.png"

Tech
    name = "CON_CONC_CAMP"
    description = "CON_CONC_CAMP_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 36 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "CON_ARCH_PSYCH"
    unlock = Item type = Building name = "BLD_CONC_CAMP"
    graphic = "icons/building/concentration-camp.png"

Tech
    name = "CON_FRC_ENRG_CAMO"
    description = "CON_FRC_ENRG_CAMO_DESC"
    short_description = "STEALTH_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 125 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "CON_FRC_ENRG_STRC"
    effectsgroups =
        EffectsGroup
            scope = And [
                Building
                OwnedBy empire = Source.Owner
            ]
            effects = SetStealth value = Value + 20

Tech
    name = "CON_PLANET_DRIVE"
    description = "CON_PLANET_DRIVE_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 250 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "CON_GAL_INFRA"
    unlock = [
        Item type = Building name = "BLD_PLANET_DRIVE"
        Item type = Building name = "BLD_PLANET_BEACON"
    ]

Tech
    name = "CON_STARGATE"
    description = "CON_STARGATE_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 250 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "CON_GAL_INFRA"
    unlock = [
        Item type = Building name = "BLD_STARGATE"
    ]
    graphic = "icons/building/stargate.png"

Tech
    name = "CON_ART_PLANET"
    description = "CON_ART_PLANET_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 300 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = [
        "CON_ART_HEAVENLY"
        "CON_GAL_INFRA"
    ]
    unlock = [
        Item type = Building name = "BLD_ART_PLANET"
        Item type = Building name = "BLD_ART_FACTORY_PLANET"
        Item type = Building name = "BLD_ART_PARADISE_PLANET"
        ]


//########################################################
//#     S H I P S
//########################################################


Tech
    name = "SHP_GAL_EXPLO"
    description = "SHP_GAL_EXPLO_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "SHIPS_CATEGORY"
    researchcost = 4 * [[TECH_COST_MULTIPLIER]]
    researchturns = 1
    effectsgroups = [
        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Planet size = Tiny
            ]
            activation = Planet
            accountinglabel = "TINY_PLANET_LABEL"
            effects = SetMaxSupply value = Value + 2

        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Planet size = Small
            ]
            activation = Planet
            accountinglabel = "SMALL_PLANET_LABEL"
            effects = SetMaxSupply value = Value + 1

        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Planet size = Large
            ]
            activation = Planet
            accountinglabel = "LARGE_PLANET_LABEL"
            effects = SetMaxSupply value = Value - 1

        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Planet size = Huge
            ]
            activation = Planet
            accountinglabel = "HUGE_PLANET_LABEL"
            effects = SetMaxSupply value = Value - 2

        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Planet type = GasGiant
            ]
            activation = Planet
            accountinglabel = "GAS_GIANT_LABEL"
            effects = SetMaxSupply value = Value - 1

        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
                CanColonize
                ValueTest low = ([[MIN_RECOLONIZING_SIZE]] - LocalCandidate.Population)  testvalue = LocalCandidate.NextTurnPopGrowth
                ValueTest low = ([[MIN_RECOLONIZING_HAPPINESS]])  testvalue = LocalCandidate.TargetHappiness
                ValueTest low = ([[MIN_RECOLONIZING_HAPPINESS]] - 1)  testvalue = LocalCandidate.Happiness
                Or [
                    ValueTest low = 0.1 high = ([[MIN_RECOLONIZING_SIZE]] - 0.001) testvalue = LocalCandidate.Population
                    ValueTest low = 0.1 high = ([[MIN_RECOLONIZING_HAPPINESS]] - 0.001) testvalue = LocalCandidate.Happiness
                ]
            ]
            activation = Source
            effects = [
                GenerateSitRepMessage
                    message = "SITREP_POP_THRESHOLD"
                    icon = "icons/sitrep/colony_growth.png"
                    parameters = [
                        tag = "planet" data = Target.ID
                    ]
                    empire = Source.Owner
                ]

        EffectsGroup
            scope = Source
            activation = Turn low = 0 high = 0
            effects = [
                GenerateSitRepMessage
                    message = "SITREP_WELCOME"
                    label = "SITREP_WELCOME_LABEL"  // explicitly provided so that the custom SitRep intro message can share the same SitRepPanel filter
                    icon = "icons/sitrep/fo_logo.png"
                    empire = Source.Owner
                ]
    ]
    graphic = "icons/tech/galactic_exploration.png"

Tech
    name = "SHP_DOMESTIC_MONSTER"
    description = "SHP_DOMESTIC_MONSTER_DESC"
    short_description = "TAME_MONSTER_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 9 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "GRO_PLANET_ECOL"

Tech
    name = "SHP_INTSTEL_LOG"
    description = "SHP_INTSTEL_LOG_DESC"
    short_description = "STARLANE_SPEED_SHORT_DESC"
    techtype = Application
    category = "CONSTRUCTION_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "CON_ORBITAL_CON"
    effectsgroups = EffectsGroup
            scope = And [
                Ship
                OwnedBy empire = Source.Owner
                Speed low = 1 // Immobile objects do not get the starlane speed boost.
                WithinDistance distance = 50 condition = And [
                    Planet
                    OwnedBy empire = Source.Owner
                ]
            ]
        effects = SetSpeed value = Value + 20
    graphic = "icons/tech/stellar_navigation.png"
    
//########################################################
//#     Robotic Hulls
//########################################################

Tech
    name = "SHP_MIL_ROBO_CONT"
    description = "SHP_MIL_ROBO_CONT_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 12 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "PRO_ROBOTIC_PROD"
    unlock = [
        Item type = ShipHull name = "SH_ROBOTIC"
        Item type = ShipPart name = "SH_ROBOTIC_INTERFACE_SHIELDS"
    ]
    graphic = "icons/ship_hulls/robotic_hull_small.png"

Tech
    name = "SHP_SPACE_FLUX_DRIVE"
    description = "SHP_SPACE_FLUX_DRIVE_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 25 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "SHP_MIL_ROBO_CONT"
    unlock = Item type = ShipHull name = "SH_SPATIAL_FLUX"
    graphic = "icons/ship_hulls/spatial_flux_hull_small.png"

Tech
    name = "SHP_CONTGRAV_MAINT"
    description = "SHP_CONTGRAV_MAINT_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 250 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "SHP_SPACE_FLUX_DRIVE"
        "CON_ARCH_MONOFILS"
    ]
    unlock = [
        Item type = ShipHull name = "SH_SELF_GRAVITATING"
        Item type = Building name = "BLD_SHIPYARD_CON_GEOINT"
    ]
    graphic = "icons/ship_hulls/self_gravitating_hull_small.png"

Tech
    name = "SHP_NANOROBO_MAINT"
    description = "SHP_NANOROBO_MAINT_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 600 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = [
        "SHP_SPACE_FLUX_DRIVE"
        "PRO_NANOTECH_PROD"
    ]
    unlock = [
        Item type = ShipHull name = "SH_NANOROBOTIC"
        Item type = Building name = "BLD_SHIPYARD_CON_NANOROBO"
    ]
    graphic = "icons/ship_hulls/nano_robotic_hull_small.png"

Tech
    name = "SHP_MASSPROP_SPEC"
    description = "SHP_MASSPROP_SPEC_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 800 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = "SHP_CONTGRAV_MAINT"
    unlock = [
        Item type = ShipHull name = "SH_TITANIC"
        Item type = Building name = "BLD_SHIPYARD_CON_GEOINT"
    ]
    graphic = "icons/ship_hulls/titanic_hull_small.png"

Tech
    name = "SHP_XENTRONIUM_HULL"
    description = "SH_XENTRONIUM_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "SHP_XENTRONIUM_PLATE"
    unlock = [
        Item type = ShipHull name = "SH_XENTRONIUM"
    ]
    graphic = "icons/ship_hulls/xentronium_hull_small.png"

Tech
    name = "SHP_TRANSSPACE_DRIVE"
    description = "SHP_TRANSSPACE_DRIVE_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "SHP_NANOROBO_MAINT"
    unlock = [
        Item type = ShipHull name = "SH_TRANSSPATIAL"
        Item type = ShipPart name = "FU_TRANSPATIAL_DRIVE"
        Item type = Building name = "BLD_SHIPYARD_CON_ADV_ENGINE"
    ]
    graphic = "icons/ship_hulls/trans_spatial_hull_small.png"

Tech
    name = "SHP_MIDCOMB_LOG"
    description = "SHP_MIDCOMB_LOG_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 800 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = [
        "SHP_MASSPROP_SPEC"
        "SHP_TRANSSPACE_DRIVE"
        "CON_GAL_INFRA"
    ]
    unlock = [
        Item type = ShipHull name = "SH_LOGISTICS_FACILITATOR"
        Item type = Building name = "BLD_SHIPYARD_CON_ADV_ENGINE"
        Item type = Building name = "BLD_SHIPYARD_CON_GEOINT"
        Item type = Building name = "BLD_SHIPYARD_CON_NANOROBO"
    ]
    graphic = "icons/ship_hulls/logistics_facilitator_hull_small.png"
    
//########################################################
//#     Asteroid Hulls
//########################################################

Tech
    name = "SHP_ASTEROID_HULLS"
    description = "SHP_ASTEROID_HULLS_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 25 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "PRO_MICROGRAV_MAN"
    unlock = [
        Item type = ShipHull name = "SH_SMALL_ASTEROID"
        Item type = ShipHull name = "SH_ASTEROID"
        Item type = Building name = "BLD_SHIPYARD_AST"
    ]
    graphic = "icons/ship_hulls/asteroid_hull_small.png"

Tech
    name = "SHP_HEAVY_AST_HULL"
    description = "SHP_HEAVY_AST_HULL_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 80 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = "SHP_ASTEROID_REFORM"
    unlock = [
        Item type = ShipHull name = "SH_HEAVY_ASTEROID"
    ]
    graphic = "icons/ship_hulls/heavy_asteroid_hull_small.png"

Tech
    name = "SHP_ASTEROID_REFORM"
    description = "SHP_ASTEROID_REFORM_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 100 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "SHP_ASTEROID_HULLS"
    unlock = [
        //Item type = ShipHull name = "SH_AGREGATE_ASTEROID"
        Item type = Building name = "BLD_SHIPYARD_AST_REF"
        Item type = ShipPart name = "AR_ROCK_PLATE"
    ]
    graphic = "icons/ship_parts/rock_plating.png"

Tech
    name = "SHP_MONOMOLEC_LATTICE"
    description = "SHP_MONOMOLEC_LATTICE_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 800 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "SHP_ASTEROID_REFORM"
    unlock = [
        Item type = ShipHull name = "SH_CRYSTALLIZED_ASTEROID"
        Item type = ShipPart name = "AR_CRYSTAL_PLATE"
        ]
    graphic = "icons/ship_parts/crystal_plating.png"

Tech
    name = "SHP_CAMO_AST_HULL"
    description = "SHP_CAMO_AST_HULL_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 26 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_ASTEROID_HULLS"
    unlock = [
        Item type = ShipHull name = "SH_SMALL_CAMOUFLAGE_ASTEROID"
        Item type = ShipHull name = "SH_CAMOUFLAGE_ASTEROID"
        Item type = Building name = "BLD_SHIPYARD_AST"
    ]
    graphic = "icons/ship_hulls/camouflage_asteroid_hull_small.png"

Tech
    name = "SHP_MINIAST_SWARM"
    description = "SHP_MINIAST_SWARM_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 80 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "SHP_ASTEROID_REFORM"
    unlock = [
        Item type = ShipHull name = "SH_MINIASTEROID_SWARM"
        Item type = Building name = "BLD_SHIPYARD_AST_REF"
    ]
    graphic = "icons/ship_hulls/mini_asteroid_swarm_small.png"

Tech
    name = "SHP_SCAT_AST_HULL"
    description = "SHP_SCAT_AST_HULL_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 145 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "SHP_MINIAST_SWARM"
        "SHP_HEAVY_AST_HULL"
        "SHP_CAMO_AST_HULL"
        "SHP_MONOMOLEC_LATTICE"
    ]
    unlock = [
        Item type = ShipHull name = "SH_SCATTERED_ASTEROID"
        Item type = Building name = "BLD_SHIPYARD_AST_REF"
    ]
    graphic = "icons/ship_hulls/scattered_asteroid_hull_small.png"

        
//########################################################
//#     Organic Hulls
//########################################################


Tech
    name = "SHP_ORG_HULL"
    description = "SHP_ORG_HULL_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 8 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "SHP_DOMESTIC_MONSTER"
    unlock = [
        Item type = ShipHull name = "SH_ORGANIC"
        Item type = Building name = "BLD_SHIPYARD_ORG_ORB_INC"
    ]
    graphic = "hulls_design/organic_hull.png"
        
Tech
    name = "SHP_MULTICELL_CAST"
    description = "SHP_MULTICELL_CAST_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 10 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "SHP_ORG_HULL"
        "GRO_GENETIC_ENG"
    ]
    unlock = [
        Item type = ShipHull name = "SH_STATIC_MULTICELLULAR"
        Item type = Building name = "BLD_SHIPYARD_ORG_XENO_FAC"
    ]
    graphic = "icons/ship_hulls/static_multicellular_small.png"
        
Tech
    name = "SHP_ENDOCRINE_SYSTEMS"
    description = "SHP_ENDOCRINE_SYSTEMS_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 45 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = [
        "SHP_MULTICELL_CAST"
        "GRO_LIFECYCLE_MAN"
        ]
    unlock = [
        Item type = ShipHull name = "SH_ENDOMORPHIC"
        Item type = Building name = "BLD_SHIPYARD_ORG_XENO_FAC"
    ]
    graphic = "icons/ship_hulls/endomorphic_hull_small.png"
    
Tech
    name = "SHP_ENDOSYMB_HULL"
    description = "SHP_ENDOSYMB_HULL_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 72 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = [
        "SHP_MONOCELL_EXP"
        "SHP_ENDOCRINE_SYSTEMS"
    ]
    unlock = [
        Item type = ShipHull name = "SH_ENDOSYMBIOTIC"
        Item type = Building name = "BLD_SHIPYARD_ORG_CELL_GRO_CHAMB"
        Item type = Building name = "BLD_SHIPYARD_ORG_XENO_FAC"
    ]
    graphic = "icons/ship_hulls/endosymbiotic_hull_small.png"
    
    
Tech
    name = "SHP_MONOCELL_EXP"
    description = "SHP_MONOCELL_EXP_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 45 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = [
        "SHP_CONT_SYMB"
    ]
    unlock = [
        Item type = ShipHull name = "SH_PROTOPLASMIC"
        Item type = Building name = "BLD_SHIPYARD_ORG_CELL_GRO_CHAMB"
    ]
    graphic = "icons/ship_hulls/protoplasmic_hull_small.png"

Tech
    name = "SHP_CONT_SYMB"
    description = "SHP_CONT_SYMB_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 16 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = [        
        "SHP_ORG_HULL"
    ]
    unlock = [
        Item type = ShipHull name = "SH_SYMBIOTIC"
        Item type = Building name = "BLD_SHIPYARD_ORG_CELL_GRO_CHAMB"
    ]
    graphic = "icons/ship_hulls/symbiotic_hull_small.png"

Tech
    name = "SHP_BIOADAPTIVE_SPEC"
    description = "SHP_BIOADAPTIVE_SPEC_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 125 * [[TECH_COST_MULTIPLIER]]
    researchturns = 12
    prerequisites = [
        "SHP_MONOCELL_EXP"
        "GRO_TRANSORG_SENT"
    ]
    unlock = [
        Item type = ShipHull name = "SH_BIOADAPTIVE"
        Item type = Building name = "BLD_SHIPYARD_ORG_CELL_GRO_CHAMB"
    ]
    graphic = "icons/ship_hulls/bio_adaptive_hull_small.png"
    

Tech
    name = "SHP_CONT_BIOADAPT"
    description = "SHP_CONT_BIOADAPT_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 125 * [[TECH_COST_MULTIPLIER]]
    researchturns = 12
    prerequisites = [
        "GRO_XENO_HYBRIDS"
        "SHP_ENDOCRINE_SYSTEMS"
    ]
    unlock = [
        Item type = ShipHull name = "SH_RAVENOUS"
        Item type = Building name = "BLD_SHIPYARD_ORG_XENO_FAC"
    ]
    graphic = "icons/ship_hulls/ravenous_hull_small.png"
    
        
Tech    name = "SHP_SENT_HULL"
    description = "SHP_SENT_HULL_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 200 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "SHP_BIOADAPTIVE_SPEC"
        "SHP_CONT_BIOADAPT"
    ]
    unlock = [
        Item type = ShipHull name = "SH_SENTIENT"
        Item type = Building name = "BLD_SHIPYARD_ORG_CELL_GRO_CHAMB"
        Item type = Building name = "BLD_SHIPYARD_ORG_XENO_FAC"
    ]
    graphic = "icons/ship_hulls/sentient_hull_small.png"
    
//########################################################
//#     Energy Hulls
//########################################################

    
Tech
    name = "SHP_FRC_ENRG_COMP"
    description = "SHP_FRC_ENRG_COMP_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 160 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = [
        "LRN_GRAVITONICS"
    ]
    unlock = [
        Item type = ShipHull name = "SH_COMPRESSED_ENERGY"
        Item type = Building name = "BLD_SHIPYARD_ENRG_COMP"
    ]
    graphic = "icons/ship_hulls/compressed_energy_hull_small.png"

Tech
    name = "SHP_QUANT_ENRG_MAG"
    description = "SHP_QUANT_ENRG_MAG_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 420 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "SHP_FRC_ENRG_COMP"
    unlock = Item type = ShipHull name = "SH_QUANTUM_ENERGY"
    graphic = "icons/ship_hulls/quantum_energy_hull_small.png"

Tech
    name = "SHP_ENRG_BOUND_MAN"
    description = "SHP_ENRG_BOUND_MAN_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 420 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "SHP_FRC_ENRG_COMP"
    unlock = Item type = ShipHull name = "SH_FRACTAL_ENERGY"
    graphic = "icons/ship_hulls/fractal_energy_hull_small.png"

Tech
    name = "SHP_SOLAR_CONT"
    description = "SHP_SOLAR_CONT_DESC"
    short_description = "SHIP_HULL_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 950 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = [
        "SHP_QUANT_ENRG_MAG"
        "SHP_ENRG_BOUND_MAN"
        "PRO_ZERO_GEN"
    ]
    unlock = [
        Item type = ShipHull name = "SH_SOLAR"
        Item type = Building name = "BLD_SHIPYARD_ENRG_SOLAR"
    ]
    graphic = "icons/ship_hulls/solar_hull_small.png"
        
//########################################################
//#     Damage control
//########################################################

Tech
    name = "SHP_REINFORCED_HULL"
    description = "SHP_REINFORCED_HULL_DESC"
    short_description = "STRUCTURE_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 36 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "CON_ARCH_MONOFILS"
    effectsgroups =
        EffectsGroup
            scope = And [
                Ship
                OwnedBy empire = Source.Owner
            ]
            effects = SetMaxStructure value = Value + 5

Tech
    name = "SHP_BASIC_DAM_CONT"
    description = "SHP_BASIC_DAM_CONT_DESC"
    short_description = "STRUCTURE_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 40 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "SHP_MIL_ROBO_CONT"
    effectsgroups =
        EffectsGroup
            scope = And [
                Ship
                OwnedBy empire = Source.Owner
            ]
//            activation = Not OwnerHasTech name = "SHP_ADV_DAM_CONT"
            effects = SetStructure value = Value + 1

Tech
    name = "SHP_FLEET_REPAIR"
    description = "SHP_FLEET_REPAIR_DESC"
    short_description = "SHIP_REPAIR_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 80 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = [
        "SHP_INTSTEL_LOG"
        "SHP_BASIC_DAM_CONT"
            ]
    effectsgroups =
        EffectsGroup
            scope = And [
                Ship
                InSystem
                Stationary
                OwnedBy empire = Source.Owner
                Turn low = LocalCandidate.System.LastTurnBattleHere + 1
                Structure high = LocalCandidate.MaxStructure - 0.001
                ResupplyableBy empire = Source.Owner
            ]
            effects = SetStructure value = Value + (Target.MaxStructure/10)

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

Tech
    name = "SHP_IMPROVED_ENGINE_COUPLINGS"
    description = "SHP_IMPROVED_ENGINE_COUPLINGS_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 24 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "SHP_GAL_EXPLO"
    unlock = Item type = ShipPart name = "FU_IMPROVED_ENGINE_COUPLINGS"
    graphic = "icons/ship_parts/engine-1.png"
    
Tech
    name = "SHP_N_DIMENSIONAL_ENGINE_MATRIX"
    description = "SHP_N_DIMENSIONAL_ENGINE_MATRIX_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 250 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "SHP_IMPROVED_ENGINE_COUPLINGS"
        "LRN_NDIM_SUBSPACE"
    ]
    unlock = Item type = ShipPart name = "FU_N_DIMENSIONAL_ENGINE_MATRIX"
    graphic = "icons/ship_parts/engine-2.png"
    
Tech
    name = "SHP_SINGULARITY_ENGINE_CORE"
    description = "SHP_SINGULARITY_ENGINE_CORE_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = [
        "SHP_N_DIMENSIONAL_ENGINE_MATRIX"
        "PRO_SINGULAR_GEN"
    ]
    unlock = Item type = ShipPart name = "FU_SINGULARITY_ENGINE_CORE"
    graphic = "icons/ship_parts/engine-3.png"
    
Tech
    name = "SHP_DEUTERIUM_TANK"
    description = "SHP_DEUTERIUM_TANK_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 24 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = [
        "SHP_GAL_EXPLO"
        "PRO_FUSION_GEN"
    ]
    unlock = [
        Item type = ShipPart name = "FU_DEUTERIUM_TANK"
        Item type = ShipPart name = "FU_RAMSCOOP"
    ]
    graphic = "icons/ship_parts/deuterium_tank.png"

Tech
    name = "SHP_ANTIMATTER_TANK"
    description = "SHP_ANTIMATTER_TANK_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 175 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = [
        "SHP_DEUTERIUM_TANK"
        "LRN_FORCE_FIELD"
    ]
    unlock = Item type = ShipPart name = "FU_ANTIMATTER_TANK"
    graphic = "icons/ship_parts/antimatter_tank.png"

Tech
    name = "SHP_ZERO_POINT"
    description = "SHP_ZERO_POINT_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 175 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = [
        "SHP_ANTIMATTER_TANK"
        "PRO_ZERO_GEN"
    ]
    unlock = Item type = ShipPart name = "FU_ZERO_FUEL"
    graphic = "icons/tech/zero_point_energy.png"

Tech
    name = "SHP_NOVA_BOMB"
    description = "SHP_NOVA_BOMB_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 750 * [[TECH_COST_MULTIPLIER]]
    researchturns = 12
    prerequisites = [
        "LRN_TIME_MECH"
        "PRO_ZERO_GEN"
    ]
    unlock = [
        Item type = ShipPart name = "SP_NOVA_BOMB"
        Item type = Building name = "BLD_NOVA_BOMB_ACTIVATOR"
    ]
    graphic = "icons/ship_parts/nova-bomb.png"

Tech
    name = "SHP_DEATH_SPORE"
    description = "SHP_DEATH_SPORE_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 450 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = 
        "GRO_ADV_ECOMAN"
    unlock = Item type = ShipPart name = "SP_DEATH_SPORE"

Tech
    name = "SHP_BIOTERM"
    description = "SHP_BIOTERM_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = [
        "SHP_DEATH_SPORE"
        "GRO_BIOTERROR"
    ]
    unlock = Item type = ShipPart name = "SP_BIOTERM"

//#
//#     SHIPS SHIELDS
//#

Tech
    name = "SHP_DEFLECTOR_SHIELD"
    description = "SHP_DEFLECTOR_SHIELD_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = "LRN_FORCE_FIELD"
    unlock = Item type = ShipPart name = "SH_DEFLECTOR"
    graphic = "icons/ship_parts/deflector_shield.png"

Tech
    name = "SHP_PLASMA_SHIELD"
    description = "SHP_PLASMA_SHIELD_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 750 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = "SHP_DEFLECTOR_SHIELD"
    unlock = Item type = ShipPart name = "SH_PLASMA"
    graphic = "icons/ship_parts/plasma_shield.png"

Tech
    name = "SHP_BLACKSHIELD"
    description = "SHP_BLACKSHIELD_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 3750 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = "SHP_PLASMA_SHIELD"
    unlock = Item type = ShipPart name = "SH_BLACK"
    graphic = "icons/ship_parts/blackshield.png"

Tech
    name = "SHP_MULTISPEC_SHIELD"
    description = "SHP_MULTISPEC_SHIELD_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 2000
    researchturns = 10
    //Unresearchable
    prerequisites = [
        "SHP_PLASMA_SHIELD"
        "SPY_DIST_MOD"
    ]
    unlock = Item type = ShipPart name = "SH_MULTISPEC"
    graphic = "icons/ship_parts/multi-spectral.png"

//#
//#     SHIPS ARMOR
//#

Tech
    name = "SHP_ROOT_ARMOR"
    description = "SHP_ROOT_ARMOR_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 1
    researchturns = 1
    unlock = Item type = ShipPart name = "AR_STD_PLATE"
    graphic = "icons/tech/armor_plating.png"

Tech
    name = "SHP_ZORTRIUM_PLATE"
    description = "SHP_ZORTRIUM_PLATE_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 30 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_ROOT_ARMOR"
    unlock = Item type = ShipPart name = "AR_ZORTRIUM_PLATE"
    graphic = "icons/tech/armor_plating.png"

Tech
    name = "SHP_DIAMOND_PLATE"
    description = "SHP_DIAMOND_PLATE_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "SHP_ZORTRIUM_PLATE"
    unlock = Item type = ShipPart name = "AR_DIAMOND_PLATE"
    graphic = "icons/tech/armor_plating.png"

Tech
    name = "SHP_XENTRONIUM_PLATE"
    description = "SHP_XENTRONIUM_PLATE_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 750 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "SHP_DIAMOND_PLATE"
    unlock = Item type = ShipPart name = "AR_XENTRONIUM_PLATE"
    graphic = "icons/tech/armor_plating.png"

//#
//#     SHIPS WEAPONS
//#

Tech
    Name ="SHP_ROOT_AGGRESSION"
    description = "SHP_ROOT_AGGRESSION_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 1
    researchturns = 1
    unlock = [
        Item type = ShipPart name = "SR_WEAPON_1_1"
        Item type = ShipPart name = "GT_TROOP_POD"
    ]
    graphic = ""

Tech
    name = "SHP_WEAPON_1_2"
    description = "SHP_WEAPON_1_2_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 4 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_ROOT_AGGRESSION"
    unlock = Item type = ShipPart name = "SR_WEAPON_1_2"
    graphic = "icons/ship_parts/mass-driver-2.png"
    
Tech
    name = "SHP_WEAPON_1_3"
    description = "SHP_WEAPON_1_3_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 6 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_WEAPON_1_2"
    unlock = Item type = ShipPart name = "SR_WEAPON_1_3"
    graphic = "icons/ship_parts/mass-driver-3.png"

Tech
    name = "SHP_WEAPON_1_4"
    description = "SHP_WEAPON_1_4_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 10 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_WEAPON_1_3"
    unlock = Item type = ShipPart name = "SR_WEAPON_1_4"
    graphic = "icons/ship_parts/mass-driver-4.png"

Tech
    name = "SHP_WEAPON_2_1"
    description = "SHP_WEAPON_2_1_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 30 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = "SHP_ROOT_AGGRESSION"
    unlock = Item type = ShipPart name = "SR_WEAPON_2_1"
    graphic = "icons/ship_parts/laser-1.png"

Tech
    name = "SHP_WEAPON_2_2"
    description = "SHP_WEAPON_2_2_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 20 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_WEAPON_2_1"
    unlock = Item type = ShipPart name = "SR_WEAPON_2_2"
    graphic = "icons/ship_parts/laser-2.png"

Tech
    name = "SHP_WEAPON_2_3"
    description = "SHP_WEAPON_2_3_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 30 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_WEAPON_2_2"
    unlock = Item type = ShipPart name = "SR_WEAPON_2_3"
    graphic = "icons/ship_parts/laser-3.png"

Tech
    name = "SHP_WEAPON_2_4"
    description = "SHP_WEAPON_2_4_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 50 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_WEAPON_2_3"
    unlock = Item type = ShipPart name = "SR_WEAPON_2_4"
    graphic = "icons/ship_parts/laser-4.png"

Tech
    name = "SHP_WEAPON_3_1"
    description = "SHP_WEAPON_3_1_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = "SHP_WEAPON_2_1"
    unlock = Item type = ShipPart name = "SR_WEAPON_3_1"
    graphic = "icons/ship_parts/plasma-1.png"

Tech
    name = "SHP_WEAPON_3_2"
    description = "SHP_WEAPON_3_2_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 100 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_WEAPON_3_1"
    unlock = Item type = ShipPart name = "SR_WEAPON_3_2"
    graphic = "icons/ship_parts/plasma-2.png"

Tech
    name = "SHP_WEAPON_3_3"
    description = "SHP_WEAPON_3_3_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 150 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_WEAPON_3_2"
    unlock = Item type = ShipPart name = "SR_WEAPON_3_3"
    graphic = "icons/ship_parts/plasma-3.png"

Tech
    name = "SHP_WEAPON_3_4"
    description = "SHP_WEAPON_3_4_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 250 * [[TECH_COST_MULTIPLIER]]
    researchturns = 2
    prerequisites = "SHP_WEAPON_3_3"
    unlock = Item type = ShipPart name = "SR_WEAPON_3_4"
    graphic = "icons/ship_parts/plasma-4.png"

Tech
    name = "SHP_WEAPON_4_1"
    description = "SHP_WEAPON_4_1_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 750 * [[TECH_COST_MULTIPLIER]]
    researchturns = 10
    prerequisites = "SHP_WEAPON_3_1"
    unlock = Item type = ShipPart name = "SR_WEAPON_4_1"
    graphic = "icons/ship_parts/death-ray-1.png"

Tech
    name = "SHP_WEAPON_4_2"
    description = "SHP_WEAPON_4_2_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "SHP_WEAPON_4_1"
    unlock = Item type = ShipPart name = "SR_WEAPON_4_2"
    graphic = "icons/ship_parts/death-ray-2.png"

Tech
    name = "SHP_WEAPON_4_3"
    description = "SHP_WEAPON_4_3_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 750 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "SHP_WEAPON_4_2"
    unlock = Item type = ShipPart name = "SR_WEAPON_4_3"
    graphic = "icons/ship_parts/death-ray-3.png"

Tech
    name = "SHP_WEAPON_4_4"
    description = "SHP_WEAPON_4_4_DESC"
    short_description = "SHIP_WEAPON_UNLOCK_SHORT_DESC"
    techtype = Refinement
    category = "SHIPS_CATEGORY"
    researchcost = 1250 * [[TECH_COST_MULTIPLIER]]
    researchturns = 3
    prerequisites = "SHP_WEAPON_4_3"
    unlock = Item type = ShipPart name = "SR_WEAPON_4_4"
    graphic = "icons/ship_parts/death-ray-4.png"


Tech
    name = "SPY_PLANET_STEALTH_MOD"
    description = "SPY_PLANET_STEALTH_MOD_DESC"
    short_description = "GAME_MAKE_WORK_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 1
    researchturns = 1
    Unresearchable
    effectsgroups =
        EffectsGroup
            scope = OR [
                Building
                Planet
                ]
            stackinggroup = "PLANET_STEALTH_MOD_STACK"
            accountinglabel = "BASIC_PLANET_STEALTH"
            effects = SetStealth value = Value + 5
    graphic = ""


//#     Ship Other

Tech
    name = "SHP_KRILL_SPAWN"
    description = "SHP_KRILL_SPAWN_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SHIPS_CATEGORY"
    researchcost = 9999
    researchturns = 9999
    Unresearchable
    unlock = Item type = ShipPart name = "SP_KRILL_SPAWNER"


//########################################################
//#     I N T E L L I G E N C E
//########################################################


    
//#
//#     D E T E C T I O N
//#

Tech
    name = "SPY_DETECT_1"
    description = "SPY_DETECT_1_DESC"
    short_description = "DETECTION_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 1
    researchturns = 1
    Unresearchable
    effectsgroups = [
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            activation = And [
                Not OwnerHasTech name = "SPY_DETECT_2"
                Not OwnerHasTech name = "SPY_DETECT_3"
                Not OwnerHasTech name = "SPY_DETECT_4"
                Not OwnerHasTech name = "SPY_DETECT_5"
            ]
            effects = SetDetection value = Value + 50

        EffectsGroup
            scope = Source
            activation = And [
                Not OwnerHasTech name = "SPY_DETECT_2"
                Not OwnerHasTech name = "SPY_DETECT_3"
                Not OwnerHasTech name = "SPY_DETECT_4"
                Not OwnerHasTech name = "SPY_DETECT_5"
            ]
            effects = SetEmpireMeter empire = Source.Owner meter = "METER_DETECTION_STRENGTH" value = Value + 10
    ]

Tech
    name = "SPY_DETECT_2"
    description = "SPY_DETECT_2_DESC"
    short_description = "DETECTION_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 50 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "SHP_GAL_EXPLO"
    unlock = [
        Item type = ShipPart name = "DT_DETECTOR_2"
        Item type = Building name = "BLD_SCANNING_FACILITY"
    ]
    effectsgroups = [
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            activation = And [
                Not OwnerHasTech name = "SPY_DETECT_3"
                Not OwnerHasTech name = "SPY_DETECT_4"
                Not OwnerHasTech name = "SPY_DETECT_5"
            ]
            effects = SetDetection value = Value + 75

        EffectsGroup
            scope = Source
            activation = And [
                Not OwnerHasTech name = "SPY_DETECT_3"
                Not OwnerHasTech name = "SPY_DETECT_4"
                Not OwnerHasTech name = "SPY_DETECT_5"
            ]
            effects = SetEmpireMeter empire = Source.Owner meter = "METER_DETECTION_STRENGTH" value = Value + 30
    ]
    graphic = "icons/tech/active_radar.png"
    
Tech
    name = "SPY_DETECT_3"
    description = "SPY_DETECT_3_DESC"
    short_description = "DETECTION_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 200 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "SPY_DETECT_2"
    unlock = Item type = ShipPart name = "DT_DETECTOR_3"
    effectsgroups = [
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            activation = And [
                Not OwnerHasTech name = "SPY_DETECT_4"
                Not OwnerHasTech name = "SPY_DETECT_5"
                ]
            effects = SetDetection value = Value + 150

        EffectsGroup
            scope = Source
            activation = And [
                Not OwnerHasTech name = "SPY_DETECT_4"
                Not OwnerHasTech name = "SPY_DETECT_5"
                ]
            effects = SetEmpireMeter empire = Source.Owner meter = "METER_DETECTION_STRENGTH" value = Value + 50
    ]
    
Tech
    name = "SPY_DETECT_4"
    description = "SPY_DETECT_4_DESC"
    short_description = "DETECTION_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = "SPY_DETECT_3"
    unlock = Item type = ShipPart name = "DT_DETECTOR_4"
    effectsgroups = [
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            activation = Not OwnerHasTech name = "SPY_DETECT_5"
            effects = SetDetection value = Value + 200

        EffectsGroup
            scope = Source
            activation = Not OwnerHasTech name = "SPY_DETECT_5"
            effects = SetEmpireMeter empire = Source.Owner meter = "METER_DETECTION_STRENGTH" value = Value + 70
    ]
    
Tech
    name = "SPY_DETECT_5"
    description = "SPY_DETECT_5_DESC"
    short_description = "DETECTION_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 1000 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = "SPY_DETECT_4"
    effectsgroups = [
        EffectsGroup
            scope = And [
                Planet
                OwnedBy empire = Source.Owner
            ]
            effects = SetDetection value = Value + 300

        EffectsGroup
            scope = Source
            effects = SetEmpireMeter empire = Source.Owner meter = "METER_DETECTION_STRENGTH" value = Value + 200
    ]

Tech
    name = "SPY_DIST_MOD"
    description = "SPY_DIST_MOD_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "LRN_EVERYTHING"
    unlock = Item type = ShipPart name = "SP_DISTORTION_MODULATOR"
    
Tech
    name = "SPY_LIGHTHOUSE"
    description = "SPY_LIGHTHOUSE_DESC"
    short_description = "BUILDING_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 75 * [[TECH_COST_MULTIPLIER]]
    researchturns = 4
    prerequisites = "SPY_DETECT_2"
    unlock = Item type = Building name = "BLD_LIGHTHOUSE"
    graphic = "icons/tech/interstellar_lighthouse.png"

//#
//#     S T E A L T H
//#    

Tech
    name = "SPY_ROOT_DECEPTION"
    description = "SPY_ROOT_DECEPTION_DESC"
    short_description = "THEORY_SHORT_DESC"
    techtype = Theory
    category = "SPY_CATEGORY"
    researchcost = 1
    researchturns = 1

Tech
    name = "SPY_STEALTH_1"
    description = "SPY_STEALTH_1_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 100 * [[TECH_COST_MULTIPLIER]]
    researchturns = 5
    prerequisites = "SPY_ROOT_DECEPTION"
    unlock = Item type = ShipPart name = "ST_CLOAK_1"
    effectsgroups =
        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Or [
                    Planet
                    System
                ]
            ]
            activation = And [
                Not OwnerHasTech name = "SPY_STEALTH_2"
                Not OwnerHasTech name = "SPY_STEALTH_3"
                Not OwnerHasTech name = "SPY_STEALTH_4"
            ]
            effects = AddSpecial name = "CLOUD_COVER_SLAVE_SPECIAL"
            
Tech
    name = "SPY_STEALTH_2"
    description = "SPY_STEALTH_2_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 200 * [[TECH_COST_MULTIPLIER]]
    researchturns = 6
    prerequisites = "SPY_STEALTH_1"
    unlock = Item type = ShipPart name = "ST_CLOAK_2"
    effectsgroups =
        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Or [
                    Planet
                    System
                ]
            ]
            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"
            ]
            
Tech
    name = "SPY_STEALTH_3"
    description = "SPY_STEALTH_3_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 500 * [[TECH_COST_MULTIPLIER]]
    researchturns = 7
    prerequisites = "SPY_STEALTH_2"
    unlock = Item type = ShipPart name = "ST_CLOAK_3"
    effectsgroups =
        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Or [
                    Planet
                    System
                ]
            ]
            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"
            ]
            
Tech
    name = "SPY_STEALTH_4"
    description = "SPY_STEALTH_4_DESC"
    short_description = "SHIP_PART_UNLOCK_SHORT_DESC"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 1000 * [[TECH_COST_MULTIPLIER]]
    researchturns = 8
    prerequisites = "SPY_STEALTH_3"
    unlock = Item type = ShipPart name = "ST_CLOAK_4"
    effectsgroups =
        EffectsGroup
            scope = And [
                OwnedBy empire = Source.Owner
                Or [
                    Planet
                    System
                ]
            ]
            effects = [
                AddSpecial name = "VOID_SLAVE_SPECIAL"
                RemoveSpecial name = "DIM_RIFT_SLAVE_SPECIAL"
                RemoveSpecial name = "VOLCANIC_ASH_SLAVE_SPECIAL"
                RemoveSpecial name = "CLOUD_COVER_SLAVE_SPECIAL"
            ]

//#     Spy Other

Tech
    name = "SPY_CUSTOM_ADVISORIES"
    description = "SPY_CUSTOM_ADVISORIES_DESC"
    short_description = "SPY_CUSTOM_ADVISORIES"
    techtype = Application
    category = "SPY_CATEGORY"
    researchcost = 1
    researchturns = 1
#include "customizations/custom_sitreps.txt"
