Tech
    name = "DEF_GARRISON_1"
    description = "DEF_GARRISON_1_DESC"
    short_description = "TROOPS_SHORT_DESC"
    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"
    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"
    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"
    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"

#include "../techs.macros"

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