# Add Upgrade Level For Player

Grammar — Add levels to upgrade upgrade for player p
FlagsNative | Action

Gives a player the specified number of levels of an upgrade.

# Arguments

  • int — Player
  • string<gamelink::Upgrade> — Upgrade
  • int — Levels

Returns — void

native void TechTreeUpgradeAddLevel(
	int player,
	string upgradeType,
	int levels,
);

Category: Tech Tree / Individual Restrictions

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:480

        autoE07C161E_var = PlayerGroupNextPlayer(autoE07C161E_g, autoE07C161E_var);
        if (autoE07C161E_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoE07C161E_var, lp_upgrade, lp_qty);
    }
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:533

    libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupInfantryFirebat, 1);
    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_p3_ZERG_LIGHTBLUE_SE, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "overlordspeed", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:534

    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupInfantryFirebat, 1);
    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_p3_ZERG_LIGHTBLUE_SE, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "overlordspeed", 1);
    TechTreeUpgradeAddLevel(gv_p3_ZERG_LIGHTBLUE_SE, "overlordspeed", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:535

    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_p3_ZERG_LIGHTBLUE_SE, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "overlordspeed", 1);
    TechTreeUpgradeAddLevel(gv_p3_ZERG_LIGHTBLUE_SE, "overlordspeed", 1);
    TechTreeUpgradeAddLevel(gv_p5_ZERG_TACTICALPHASE, "overlordspeed", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:536

    TechTreeUpgradeAddLevel(gv_p3_ZERG_LIGHTBLUE_SE, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "overlordspeed", 1);
    TechTreeUpgradeAddLevel(gv_p3_ZERG_LIGHTBLUE_SE, "overlordspeed", 1);
    TechTreeUpgradeAddLevel(gv_p5_ZERG_TACTICALPHASE, "overlordspeed", 1);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:537

    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "overlordspeed", 1);
    TechTreeUpgradeAddLevel(gv_p3_ZERG_LIGHTBLUE_SE, "overlordspeed", 1);
    TechTreeUpgradeAddLevel(gv_p5_ZERG_TACTICALPHASE, "overlordspeed", 1);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:830

    gv_unloadAmount[5] = 12;
    gv_convoyMovementSpeed = 1.0;
    TechTreeUpgradeAddLevel(gv_p4_COLONISTS, "CombatShield", 1);
    gv_unloadAmount[6] = 16;
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5678

    }

    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "hydraliskspeed", 1);
    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "zerglingmovementspeed", 1);
    GameTimeOfDayPause(true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:5679


    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "hydraliskspeed", 1);
    TechTreeUpgradeAddLevel(gv_p2_ZERG_ORANGE_NW, "zerglingmovementspeed", 1);
    GameTimeOfDayPause(true);
    AITimePause(true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:512

    libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupxxxSensorTower, gv_pLAYER_01_USER);
    TechTreeUpgradeAddLevel(gv_pLAYER_03_INFESTED_REFUGEES, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_pLAYER_04_INFESTEDREFUGEES, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_pLAYER_06_INFESTORS, "Burrow", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:513

    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupxxxSensorTower, gv_pLAYER_01_USER);
    TechTreeUpgradeAddLevel(gv_pLAYER_03_INFESTED_REFUGEES, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_pLAYER_04_INFESTEDREFUGEES, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_pLAYER_06_INFESTORS, "Burrow", 1);
    TechTreeAbilityAllow(gv_pLAYER_06_INFESTORS, AbilityCommand("NeuralParasite", 0), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:514

    TechTreeUpgradeAddLevel(gv_pLAYER_03_INFESTED_REFUGEES, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_pLAYER_04_INFESTEDREFUGEES, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_pLAYER_06_INFESTORS, "Burrow", 1);
    TechTreeAbilityAllow(gv_pLAYER_06_INFESTORS, AbilityCommand("NeuralParasite", 0), false);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:433

    // Automatic Variable Declarations
    // Implementation
    TechTreeUpgradeAddLevel(gv_pLAYER02_PROTOSS, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_pLAYER04_PURIFIER, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_pLAYER06_TERRORFLEET, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:434

    // Implementation
    TechTreeUpgradeAddLevel(gv_pLAYER02_PROTOSS, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_pLAYER04_PURIFIER, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_pLAYER06_TERRORFLEET, lp_upgrade, lp_qty);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:435

    TechTreeUpgradeAddLevel(gv_pLAYER02_PROTOSS, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_pLAYER04_PURIFIER, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_pLAYER06_TERRORFLEET, lp_upgrade, lp_qty);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:901

    libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupStarshipsViking, gv_p01_USER);
    TechTreeUpgradeAddLevel(gv_p02_ZERG_EAST, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p03_VIROPHAGE, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p04_ZERG_NORTH, "overlordtransport", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:902

    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupStarshipsViking, gv_p01_USER);
    TechTreeUpgradeAddLevel(gv_p02_ZERG_EAST, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p03_VIROPHAGE, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p04_ZERG_NORTH, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p07_ZERG_INFESTED, "overlordtransport", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:903

    TechTreeUpgradeAddLevel(gv_p02_ZERG_EAST, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p03_VIROPHAGE, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p04_ZERG_NORTH, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p07_ZERG_INFESTED, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p08_ZERG_SOUTH, "overlordtransport", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:904

    TechTreeUpgradeAddLevel(gv_p03_VIROPHAGE, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p04_ZERG_NORTH, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p07_ZERG_INFESTED, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p08_ZERG_SOUTH, "overlordtransport", 1);
    TechTreeAbilityAllow(gv_p02_ZERG_EAST, AbilityCommand("BurrowInfestedCivilianDown", 0), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:905

    TechTreeUpgradeAddLevel(gv_p04_ZERG_NORTH, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p07_ZERG_INFESTED, "overlordtransport", 1);
    TechTreeUpgradeAddLevel(gv_p08_ZERG_SOUTH, "overlordtransport", 1);
    TechTreeAbilityAllow(gv_p02_ZERG_EAST, AbilityCommand("BurrowInfestedCivilianDown", 0), false);
    TechTreeAbilityAllow(gv_p03_VIROPHAGE, AbilityCommand("BurrowInfestedCivilianDown", 0), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1188

        gf_SetUnitMaxLife(auto98C81D62_var, gv_virophageLife);
    }
    TechTreeUpgradeAddLevel(gv_p07_ZERG_INFESTED, "overlordspeed", 1);
    auto6A6E9979_g = gv_zergPlayers;
    auto6A6E9979_var = -1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1194

        auto6A6E9979_var = PlayerGroupNextPlayer(auto6A6E9979_g, auto6A6E9979_var);
        if (auto6A6E9979_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto6A6E9979_var, "ZergFlyerArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto6A6E9979_var, "ZergGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1195

        if (auto6A6E9979_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto6A6E9979_var, "ZergFlyerArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto6A6E9979_var, "ZergGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2978

        auto3FE98BF4_var = PlayerGroupNextPlayer(auto3FE98BF4_g, auto3FE98BF4_var);
        if (auto3FE98BF4_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto3FE98BF4_var, "ZergGroundArmorsLevel1", 1);
    }
    Wait(180.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:2986

        auto1C61CE14_var = PlayerGroupNextPlayer(auto1C61CE14_g, auto1C61CE14_var);
        if (auto1C61CE14_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto1C61CE14_var, "ZergFlyerArmorsLevel1", 1);
    }
    Wait(180.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:894

        autoAFFBB261_var = PlayerGroupNextPlayer(autoAFFBB261_g, autoAFFBB261_var);
        if (autoAFFBB261_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranVehicleWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranShipWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:895

        if (autoAFFBB261_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranVehicleWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranShipWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:896

        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranVehicleWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranShipWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranVehicleArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:897

        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranVehicleWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranShipWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranVehicleArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranShipArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:898

        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranShipWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranVehicleArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranShipArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "JackhammerConcussionGrenades", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:899

        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranVehicleArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranShipArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "JackhammerConcussionGrenades", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "MarauderLifeBoost", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:900

        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranVehicleArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranShipArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "JackhammerConcussionGrenades", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "MarauderLifeBoost", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "FireSuppressionSystems", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:901

        TechTreeUpgradeAddLevel(autoAFFBB261_var, "TerranShipArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "JackhammerConcussionGrenades", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "MarauderLifeBoost", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "FireSuppressionSystems", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "ShrikeTurret", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:902

        TechTreeUpgradeAddLevel(autoAFFBB261_var, "JackhammerConcussionGrenades", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "MarauderLifeBoost", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "FireSuppressionSystems", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "ShrikeTurret", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "HellionCampaignInfernalPreIgniter", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:903

        TechTreeUpgradeAddLevel(autoAFFBB261_var, "MarauderLifeBoost", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "FireSuppressionSystems", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAFFBB261_var, "ShrikeTurret", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "HellionCampaignInfernalPreIgniter", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:795

        autoAA741316_var = PlayerGroupNextPlayer(autoAA741316_g, autoAA741316_var);
        if (autoAA741316_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranShipArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranVehicleArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:796

        if (autoAA741316_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranShipArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranVehicleArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:797

        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranShipArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranVehicleArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranShipWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:798

        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranShipArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranVehicleArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranShipWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranVehicleWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:799

        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranVehicleArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranShipWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranVehicleWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "JackhammerConcussionGrenades", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:800

        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranShipWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranVehicleWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "JackhammerConcussionGrenades", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "MarauderLifeBoost", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:801

        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranShipWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranVehicleWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "JackhammerConcussionGrenades", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "MarauderLifeBoost", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "NeosteelFrame", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:802

        TechTreeUpgradeAddLevel(autoAA741316_var, "TerranVehicleWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "JackhammerConcussionGrenades", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "MarauderLifeBoost", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "NeosteelFrame", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:803

        TechTreeUpgradeAddLevel(autoAA741316_var, "JackhammerConcussionGrenades", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "MarauderLifeBoost", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoAA741316_var, "NeosteelFrame", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
    }
    auto0132201B_g = gv_miraHanPlayers;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:810

        auto0132201B_var = PlayerGroupNextPlayer(auto0132201B_g, auto0132201B_var);
        if (auto0132201B_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto0132201B_var, "CombatShield", 1);
        TechTreeUpgradeAddLevel(auto0132201B_var, "MarineStimpack", 1);
        TechTreeUpgradeAddLevel(auto0132201B_var, "NanobotInjectors", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:327

    libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
    UnitAbilityEnable(UnitFromId(2), "OdinBarrage", false);
    TechTreeUpgradeAddLevel(gv_p01_USER, "WraithCloak", 1);
    TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("WraithCloak", 0), true);
    TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("WraithCloak", 1), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:602

    }
    else if (autoA1DF5919_val == 3) {
        TechTreeUpgradeAddLevel(gv_p04_DOMINION_INFANTRY_A, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p08_DOMINION_INFANTRY_B, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p08_DOMINION_INFANTRY_B, "TerranInfantryArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:603

    else if (autoA1DF5919_val == 3) {
        TechTreeUpgradeAddLevel(gv_p04_DOMINION_INFANTRY_A, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p08_DOMINION_INFANTRY_B, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p08_DOMINION_INFANTRY_B, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranInfantryWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:604

        TechTreeUpgradeAddLevel(gv_p04_DOMINION_INFANTRY_A, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p08_DOMINION_INFANTRY_B, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p08_DOMINION_INFANTRY_B, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranInfantryArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:605

        TechTreeUpgradeAddLevel(gv_p08_DOMINION_INFANTRY_B, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p08_DOMINION_INFANTRY_B, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranVehicleWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:606

        TechTreeUpgradeAddLevel(gv_p08_DOMINION_INFANTRY_B, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranVehicleArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:607

        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p06_DOMINION_STARPORT_A, "TerranInfantryWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:608

        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p06_DOMINION_STARPORT_A, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p06_DOMINION_STARPORT_A, "TerranInfantryWeaponsLevel2", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:609

        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p06_DOMINION_STARPORT_A, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p06_DOMINION_STARPORT_A, "TerranInfantryWeaponsLevel2", 1);
        TechTreeUpgradeAddLevel(gv_p06_DOMINION_STARPORT_A, "TerranInfantryArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:610

        TechTreeUpgradeAddLevel(gv_p05_DOMINION_FACTORY, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p06_DOMINION_STARPORT_A, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p06_DOMINION_STARPORT_A, "TerranInfantryWeaponsLevel2", 1);
        TechTreeUpgradeAddLevel(gv_p06_DOMINION_STARPORT_A, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_p06_DOMINION_STARPORT_A, "TerranVehicleWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:340

    // Automatic Variable Declarations
    // Implementation
    TechTreeUpgradeAddLevel(gv_p02_DOMINION_INFANTRY, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p03_DOMINION_SIEGE, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p04_DOMINION_AIR, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:341

    // Implementation
    TechTreeUpgradeAddLevel(gv_p02_DOMINION_INFANTRY, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p03_DOMINION_SIEGE, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p04_DOMINION_AIR, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p05_DOMINION_RAIDER, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:342

    TechTreeUpgradeAddLevel(gv_p02_DOMINION_INFANTRY, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p03_DOMINION_SIEGE, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p04_DOMINION_AIR, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p05_DOMINION_RAIDER, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p08_DOMINION, lp_upgrade, lp_qty);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:343

    TechTreeUpgradeAddLevel(gv_p03_DOMINION_SIEGE, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p04_DOMINION_AIR, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p05_DOMINION_RAIDER, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p08_DOMINION, lp_upgrade, lp_qty);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:344

    TechTreeUpgradeAddLevel(gv_p04_DOMINION_AIR, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p05_DOMINION_RAIDER, lp_upgrade, lp_qty);
    TechTreeUpgradeAddLevel(gv_p08_DOMINION, lp_upgrade, lp_qty);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:631

    }

    TechTreeUpgradeAddLevel(gv_p2_DOMINION_RED, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
    TechTreeUpgradeAddLevel(gv_p2_DOMINION_RED, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:632


    TechTreeUpgradeAddLevel(gv_p2_DOMINION_RED, "TerranInfantryWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
    TechTreeUpgradeAddLevel(gv_p2_DOMINION_RED, "TerranInfantryArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:672

    else if (auto3687E612_val == 3) {
        AISetDifficulty(gv_pLAYER_02_DOMINION, c_diffRepairDamage, true);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleArmorsLevel1", 1);
        TriggerEnable(gt_AICrippled, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:673

        AISetDifficulty(gv_pLAYER_02_DOMINION, c_diffRepairDamage, true);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleArmorsLevel1", 1);
        TriggerEnable(gt_AICrippled, false);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:678

    else if (auto3687E612_val == 4) {
        AISetDifficulty(gv_pLAYER_02_DOMINION, c_diffRepairDamage, true);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:679

        AISetDifficulty(gv_pLAYER_02_DOMINION, c_diffRepairDamage, true);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:680

        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranInfantryArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_05_PATROL, "TerranVehicleArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:681

        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranInfantryWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_05_PATROL, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_05_PATROL, "TerranVehicleWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:682

        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_05_PATROL, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_05_PATROL, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "NeosteelFrame", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:683

        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_05_PATROL, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_05_PATROL, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "NeosteelFrame", 1);
        TriggerEnable(gt_AICrippled, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:684

        TechTreeUpgradeAddLevel(gv_pLAYER_05_PATROL, "TerranVehicleArmorsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_05_PATROL, "TerranVehicleWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "NeosteelFrame", 1);
        TriggerEnable(gt_AICrippled, false);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:3503


    Wait(960.0, c_timeAI);
    TechTreeUpgradeAddLevel(gv_pLAYER_02_DOMINION, "TerranVehicleWeaponsLevel1", 1);
    return true;
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:524

        auto27D6E41E_var = PlayerGroupNextPlayer(auto27D6E41E_g, auto27D6E41E_var);
        if (auto27D6E41E_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto27D6E41E_var, "Burrow", 1);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:777

        auto85721D3B_var = PlayerGroupNextPlayer(auto85721D3B_g, auto85721D3B_var);
        if (auto85721D3B_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergFlyerWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:778

        if (auto85721D3B_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergFlyerWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergFlyerArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:779

        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergFlyerWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergFlyerArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:780

        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergFlyerWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(auto85721D3B_var, "ZergFlyerArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2801

        autoAC0A0760_var = PlayerGroupNextPlayer(autoAC0A0760_g, autoAC0A0760_var);
        if (autoAC0A0760_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAC0A0760_var, "ZergMeleeWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(autoAC0A0760_var, "ZergMissileWeaponsLevel1", 1);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2802

        if (autoAC0A0760_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoAC0A0760_var, "ZergMeleeWeaponsLevel1", 1);
        TechTreeUpgradeAddLevel(autoAC0A0760_var, "ZergMissileWeaponsLevel1", 1);
    }
    Wait(210.0, c_timeAI);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2810

        autoE29501A8_var = PlayerGroupNextPlayer(autoE29501A8_g, autoE29501A8_var);
        if (autoE29501A8_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoE29501A8_var, "ZergFlyerWeaponsLevel1", 1);
    }
    Wait(330.0, c_timeAI);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2818

        auto64396211_var = PlayerGroupNextPlayer(auto64396211_g, auto64396211_var);
        if (auto64396211_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto64396211_var, "zerglingmovementspeed", 1);
        TechTreeUpgradeAddLevel(auto64396211_var, "hydraliskspeed", 1);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:2819

        if (auto64396211_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto64396211_var, "zerglingmovementspeed", 1);
        TechTreeUpgradeAddLevel(auto64396211_var, "hydraliskspeed", 1);
    }
    Wait(180.0, c_timeAI);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:537

        autoC02C0F37_var = PlayerGroupNextPlayer(autoC02C0F37_g, autoC02C0F37_var);
        if (autoC02C0F37_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "hydraliskspeed", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergMeleeWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:538

        if (autoC02C0F37_var < 0) { break; }
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "hydraliskspeed", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergMeleeWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergFlyerWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:539

        TechTreeUpgradeAddLevel(autoC02C0F37_var, "hydraliskspeed", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergMeleeWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergFlyerWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:540

        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergMeleeWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(autoC02C0F37_var, "ZergFlyerWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
    }
    UnitSetPropertyFixed(UnitFromId(407), c_unitPropMovementSpeed, libNtve_gf_DifficultyValueFixed(1.5, 1.5, 2.0, 2.5));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:731

            auto75FDF84D_var = PlayerGroupNextPlayer(auto75FDF84D_g, auto75FDF84D_var);
            if (auto75FDF84D_var < 0) { break; }
            TechTreeUpgradeAddLevel(auto75FDF84D_var, "zerglingmovementspeed", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
            TechTreeUpgradeAddLevel(auto75FDF84D_var, "ZergGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
            TechTreeUpgradeAddLevel(auto75FDF84D_var, "ZergFlyerArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:732

            if (auto75FDF84D_var < 0) { break; }
            TechTreeUpgradeAddLevel(auto75FDF84D_var, "zerglingmovementspeed", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
            TechTreeUpgradeAddLevel(auto75FDF84D_var, "ZergGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
            TechTreeUpgradeAddLevel(auto75FDF84D_var, "ZergFlyerArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:733

            TechTreeUpgradeAddLevel(auto75FDF84D_var, "zerglingmovementspeed", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
            TechTreeUpgradeAddLevel(auto75FDF84D_var, "ZergGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
            TechTreeUpgradeAddLevel(auto75FDF84D_var, "ZergFlyerArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        }
        Wait((gv_lavaInterval * 0.4), c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:744

            auto31750779_var = PlayerGroupNextPlayer(auto31750779_g, auto31750779_var);
            if (auto31750779_var < 0) { break; }
            TechTreeUpgradeAddLevel(auto31750779_var, "ZergMeleeWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
            TechTreeUpgradeAddLevel(auto31750779_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
            TechTreeUpgradeAddLevel(auto31750779_var, "ZergFlyerWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:745

            if (auto31750779_var < 0) { break; }
            TechTreeUpgradeAddLevel(auto31750779_var, "ZergMeleeWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
            TechTreeUpgradeAddLevel(auto31750779_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
            TechTreeUpgradeAddLevel(auto31750779_var, "ZergFlyerWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:746

            TechTreeUpgradeAddLevel(auto31750779_var, "ZergMeleeWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
            TechTreeUpgradeAddLevel(auto31750779_var, "ZergMissileWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
            TechTreeUpgradeAddLevel(auto31750779_var, "ZergFlyerWeaponsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 0));
        }
        Wait((gv_lavaInterval * 0.8), c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:641

        lv_p = PlayerGroupNextPlayer(autoBEC5C0B3_g, lv_p);
        if (lv_p < 0) { break; }
        TechTreeUpgradeAddLevel(lv_p, lp_upgrade, 1);
    }
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:686


    libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
    TechTreeUpgradeAddLevel(gv_p2_PROTOSS_EAST_ATTACKERS, "BlinkTech", 1);
    TechTreeUpgradeAddLevel(gv_p4_PROTOSS_WEST_ESCORTS, "BlinkTech", 1);
    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupVehiclesGoliath, gv_p1_USER);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:687

    libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
    TechTreeUpgradeAddLevel(gv_p2_PROTOSS_EAST_ATTACKERS, "BlinkTech", 1);
    TechTreeUpgradeAddLevel(gv_p4_PROTOSS_WEST_ESCORTS, "BlinkTech", 1);
    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupVehiclesGoliath, gv_p1_USER);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:910

        auto3A30A2F6_var = PlayerGroupNextPlayer(auto3A30A2F6_g, auto3A30A2F6_var);
        if (auto3A30A2F6_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ProtossShieldsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "PsiStormTech", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ProtossGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:911

        if (auto3A30A2F6_var < 0) { break; }
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ProtossShieldsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "PsiStormTech", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ProtossGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ObserverGraviticBooster", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:912

        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ProtossShieldsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "PsiStormTech", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ProtossGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ObserverGraviticBooster", 1);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:913

        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "PsiStormTech", libNtve_gf_DifficultyValueInt(0, 0, 1, 1));
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ProtossGroundArmorsLevel1", libNtve_gf_DifficultyValueInt(0, 0, 0, 1));
        TechTreeUpgradeAddLevel(auto3A30A2F6_var, "ObserverGraviticBooster", 1);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:4048

    }

    TechTreeUpgradeAddLevel(gv_p2_PROTOSS_EAST_ATTACKERS, "Charge", 1);
    auto53101F57_g = UnitGroup(null, c_playerAny, RegionFromId(20), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto53101F57_u = UnitGroupCount(auto53101F57_g, c_unitCountAll);