# Difficulty Value (Integer)

Grammar — Difficulty(easy / normal / advanced / expert)
FlagsFunction

Returns the integer parameter that matches the current difficulty setting. This is for campaign use (in which all players have the same difficulty setting), so player 1’s setting is used.

# Arguments

  • int — Easy
  • int — Normal
  • int — Advanced
  • int — Expert

Returns — int

int libNtve_gf_DifficultyValueInt(
	int lp_easy,
	int lp_normal,
	int lp_advanced,
	int lp_expert,
);

Category: AI / MiscCampaign / Functions

# Examples

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

    gv_zergOnTheLoose2 = UnitGroupEmpty();
    gv_colonistsSaveQuota = 50;
    gv_colonistsDeathQuota = libNtve_gf_DifficultyValueInt(0, 0, 20, 20);
    gv_colonistLeaderBoard = c_timerWindowNone;
    gv_activeNydusWorms = UnitGroupEmpty();

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

        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), lp_param_SpoogeTarget), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("GenerateCreep", 0)), c_orderQueueAddToEnd);
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        }

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

    }

    if ((libNtve_gf_DifficultyValueInt(1, 0, 0, 0) == 1)) {
        auto395B6C3C_g = gv_zergPlayers;
        auto395B6C3C_var = -1;

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

    gv_colonistsSaveQuota = 50;
    gv_waveDelay = libNtve_gf_DifficultyValueFixed(50.0, 50.0, 25.0, 15.0);
    gv_doomsdayZergSpawnCount = libNtve_gf_DifficultyValueInt(3, 3, 4, 5);
    gv_unloadAmount[1] = 10;
    gv_unloadAmount[2] = 10;

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

    libCamp_gf_AddUnitTypeToUnitHelpPanel("SporeCrawler", false, gv_p1_USER);
    libCamp_gf_AddUnitTypeToUnitHelpPanel("ZergDropPod", false, gv_p1_USER);
    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
        libCamp_gf_AddUnitTypeToUnitHelpPanel("Ultralisk", false, gv_p1_USER);
        libCamp_gf_AddUnitTypeToUnitHelpPanel("Baneling", false, gv_p1_USER);

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

    }

    if ((libNtve_gf_DifficultyValueInt(0, 0, 0, 1) == 1)) {
        libCamp_gf_AddUnitTypeToUnitHelpPanel("Corruptor", false, gv_p1_USER);
        libCamp_gf_AddUnitTypeToUnitHelpPanel("Infestor", false, gv_p1_USER);

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

    TriggerExecute(gt_SwitchtoEscortPhaseQ, true, false);
    Wait(2.0, c_timeReal);
    if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
        TriggerExecute(gt_CameraPantoTownCasualNormal, true, false);
    }

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

    }
    else if (auto7A0CF44A_val == 6) {
        if ((libNtve_gf_DifficultyValueInt(0, 0, 0, 1) == 1)) {
            if ((gv_finalZergWaveVariation == false)) {
                TriggerExecute(gt_ConvoyAttack6AHH, true, false);

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

    gf_WaitForColonistToEnterRegion(RegionFromId(1));
    gf_SpoogeAreawithTumor(PointFromId(657));
    gf_AttackwithZergDropPod(libNtve_gf_DifficultyValueInt(4, 4, 8, 12), "Zergling", 0, "Hydralisk", 0, "Roach", PointFromId(773));
    AIAttackWaveAddUnits4(0, 0, 0, 1, "Mutalisk");
    AIAttackWaveSend(gv_p2_ZERG_ORANGE_NW, 0, false);

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

    AIAttackWaveSend(gv_p2_ZERG_ORANGE_NW, 0, false);
    gf_WaitForColonistToEnterRegion(RegionFromId(7));
    gf_AttackwithZergDropPod(libNtve_gf_DifficultyValueInt(14, 14, 16, 12), "Zergling", 0, "Hydralisk", libNtve_gf_DifficultyValueInt(0, 0, 1, 2), "Roach", PointFromId(127));
    gf_WaitForColonistToEnterRegion(RegionFromId(3));
    gf_SpoogeAreawithOverlord(PointFromId(2675), PointFromId(1408));

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

        TriggerExecute(gt_NightDefenderPing, true, false);
        SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0);
        libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(3, 4, 5, 6), "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
        AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
        SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0);

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

        SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0);
        if ((gv_infestedBuildingsKilled < 50)) {
            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(2, 2, 3, 4), "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
        }

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


        if ((gv_infestedBuildingsKilled >= 50) && (gv_infestedBuildingsKilled < 100)) {
            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(2, 3, 4, 5), "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
        }

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


        if ((gv_infestedBuildingsKilled >= 100)) {
            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(3, 4, 2, 3), "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
            AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "InfestedAbomination", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));

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

            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(3, 4, 2, 3), "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
            AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "InfestedAbomination", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
        }

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

    gv_timeOfDay = ge_PRESET_TimeOfDay_Day;
    GameTimeOfDayPause(true);
    if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
        TimerStart(gv_transitionToNight, 80.0, false, c_timeGame);
        TimerStart(gv_mainTimer, 120.0, false, c_timeGame);

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

        TimerWindowSetColor(gv_mainTimerWindow, c_timerWindowColorTitle, Color(100.00, 0.00, 0.00), 0.0);
        TimerWindowShow(gv_mainTimerWindow, PlayerGroupAll(), true);
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            TriggerExecute(gt_NightlyAttackWavesP03EN, true, false);
        }

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


    UnitSetCustomValue(EventUnit(), 0, (UnitGetCustomValue(EventUnit(), 0) + 1.0));
    if ((libNtve_gf_DifficultyValueInt(0, 0, 0, 1) == 1)) {
        if ((UnitGroupHasUnit(gv_infestorAggressionInhibitor, EventUnit()) == false)) {
            UnitGroupAdd(gv_infestorAggressionInhibitor, EventUnit());

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


    if ((gv_infestedBuildingsKilled <= 13) && (gv_areasCleared <= 0)) {
        gv_infestedMarineQty = libNtve_gf_DifficultyValueInt(0, 0, 0, 0);
        gv_infestedTerranQty = libNtve_gf_DifficultyValueInt(50, 50, 70, 90);
        gv_spawnCooldown = libNtve_gf_DifficultyValueInt(45, 45, 35, 30);

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

    if ((gv_infestedBuildingsKilled <= 13) && (gv_areasCleared <= 0)) {
        gv_infestedMarineQty = libNtve_gf_DifficultyValueInt(0, 0, 0, 0);
        gv_infestedTerranQty = libNtve_gf_DifficultyValueInt(50, 50, 70, 90);
        gv_spawnCooldown = libNtve_gf_DifficultyValueInt(45, 45, 35, 30);
        return true;

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

    UnitSetPropertyFixed(gv_purifier, c_unitPropEnergyPercent, 100.0);
    UnitSetPropertyFixed(gv_purifier, c_unitPropMovementSpeed, 0.35);
    if ((libNtve_gf_DifficultyValueInt(0, 0, 0, 1) == 1)) {
        UnitBehaviorAdd(gv_purifier, "Detector12", gv_purifier, 1);
    }

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

        autoE1EF7D94_var = UnitGroupUnitFromEnd(autoE1EF7D94_g, autoE1EF7D94_u);
        if (autoE1EF7D94_var == null) { break; }
        UnitMagazineArm(autoE1EF7D94_var, AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
    }
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Charge");

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

        UnitMagazineArm(autoE1EF7D94_var, AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
    }
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Charge");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 1, 0), "ProtossAirWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 1, 0), "ProtossGroundWeaponsLevel1");

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

    }
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Charge");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 1, 0), "ProtossAirWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 1, 0), "ProtossGroundWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossAirWeaponsLevel1");

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

    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Charge");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 1, 0), "ProtossAirWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 1, 0), "ProtossGroundWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossAirWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossAirArmorsLevel1");

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

    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 1, 0), "ProtossAirWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 1, 0), "ProtossGroundWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossAirWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossAirArmorsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossGroundArmorsLevel1");

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

    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 1, 0), "ProtossGroundWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossAirWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossAirArmorsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossGroundArmorsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossGroundWeaponsLevel1");

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

    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossAirWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossAirArmorsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossGroundArmorsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossGroundWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ExtendedThermalLance");

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

    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossAirArmorsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossGroundArmorsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossGroundWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ExtendedThermalLance");
    gf_UpgradeAllProtoss(1, "PsiStormTech");

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

    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossGroundArmorsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ProtossGroundWeaponsLevel1");
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ExtendedThermalLance");
    gf_UpgradeAllProtoss(1, "PsiStormTech");
    return true;

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:1595

    autoFC259E5F_val = lv_colonyIndex;
    if (autoFC259E5F_val == ge_ColonyIndex_Base1Green) {
        gf_CreateInfestedHorde(libNtve_gf_DifficultyValueInt(20, 20, 15, 10), libNtve_gf_DifficultyValueInt(0, 0, 2, 4), lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 1, 2), "HydraliskBurrowed", lv_colonyIndex);
    }

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

    autoFC259E5F_val = lv_colonyIndex;
    if (autoFC259E5F_val == ge_ColonyIndex_Base1Green) {
        gf_CreateInfestedHorde(libNtve_gf_DifficultyValueInt(20, 20, 15, 10), libNtve_gf_DifficultyValueInt(0, 0, 2, 4), lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 1, 2), "HydraliskBurrowed", lv_colonyIndex);
    }

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

    if (autoFC259E5F_val == ge_ColonyIndex_Base1Green) {
        gf_CreateInfestedHorde(libNtve_gf_DifficultyValueInt(20, 20, 15, 10), libNtve_gf_DifficultyValueInt(0, 0, 2, 4), lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 1, 2), "HydraliskBurrowed", lv_colonyIndex);
    }
    else if (autoFC259E5F_val == ge_ColonyIndex_Base2Pink) {

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

    }
    else if (autoFC259E5F_val == ge_ColonyIndex_Base3Purple) {
        gf_CreateInfestedHorde(libNtve_gf_DifficultyValueInt(25, 25, 15, 10), libNtve_gf_DifficultyValueInt(0, 3, 4, 6), lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 1, 2), "HydraliskBurrowed", lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 4, 4), "BanelingBurrowed", lv_colonyIndex);

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

    }
    else if (autoFC259E5F_val == ge_ColonyIndex_Base3Purple) {
        gf_CreateInfestedHorde(libNtve_gf_DifficultyValueInt(25, 25, 15, 10), libNtve_gf_DifficultyValueInt(0, 3, 4, 6), lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 1, 2), "HydraliskBurrowed", lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 4, 4), "BanelingBurrowed", lv_colonyIndex);

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

    else if (autoFC259E5F_val == ge_ColonyIndex_Base3Purple) {
        gf_CreateInfestedHorde(libNtve_gf_DifficultyValueInt(25, 25, 15, 10), libNtve_gf_DifficultyValueInt(0, 3, 4, 6), lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 1, 2), "HydraliskBurrowed", lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 4, 4), "BanelingBurrowed", lv_colonyIndex);
    }

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

        gf_CreateInfestedHorde(libNtve_gf_DifficultyValueInt(25, 25, 15, 10), libNtve_gf_DifficultyValueInt(0, 3, 4, 6), lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 1, 2), "HydraliskBurrowed", lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 4, 4), "BanelingBurrowed", lv_colonyIndex);
    }
    else if (autoFC259E5F_val == ge_ColonyIndex_Base4Red) {

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

    }
    else if (autoFC259E5F_val == ge_ColonyIndex_Base4Red) {
        gf_CreateInfestedHorde(libNtve_gf_DifficultyValueInt(20, 20, 15, 10), libNtve_gf_DifficultyValueInt(3, 3, 4, 6), lv_colonyIndex);
        gf_SpawnAndUnburrowUnitsAtColony(libNtve_gf_DifficultyValueInt(0, 0, 2, 3), "HydraliskBurrowed", lv_colonyIndex);
    }

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

    }
    gv_trainGas = 3;
    gv_trainsNeeded = libNtve_gf_DifficultyValueInt(8, 8, 8, 8);
    gv_trainWaveWait = libNtve_gf_DifficultyValueFixed(180.0, 180.0, 180.0, 150.0);
    gv_stackKillerNumRespawn = 1;

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

    gv_trainWaveWait = libNtve_gf_DifficultyValueFixed(180.0, 180.0, 180.0, 150.0);
    gv_stackKillerNumRespawn = 1;
    gv_stackKillerSize = libNtve_gf_DifficultyValueInt(8, 12, 16, 14);
    PlayerModifyPropertyInt(gv_pLAYER_02_DOMINION, c_playerPropSuppliesLimit, c_playerPropOperSetTo, 250);
    autoAFFBB261_g = gv_dominionPlayerGroup;

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/thorner02.sc2map/MapScript.galaxy:624

        autoA8826E3A_var = UnitGroupUnitFromEnd(autoA8826E3A_g, autoA8826E3A_u);
        if (autoA8826E3A_var == null) { break; }
        if ((libNtve_gf_DifficultyValueInt(1, 0, 0, 0) == 1)) {
            UnitSetInfoText(autoA8826E3A_var, StringExternal("Param/Value/57034AFD"), StringExternal("Param/Value/E4C2663E"), StringToText(""));
            UnitSetState(autoA8826E3A_var, c_unitStateTooltipable, true);

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

        }
    }
    if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
        gf_SetOrlanCommandCenterText(UnitFromId(767));
        gf_SetOrlanCommandCenterText(UnitFromId(894));

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/thorner03.sc2map/MapScript.galaxy:459

    UnitSetState(UnitFromId(109), c_unitStateTargetable, false);
    UnitSetState(UnitFromId(109), c_unitStateTooltipable, false);
    UnitCargoCreate(UnitFromId(80), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(175), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(7), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));

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

    UnitSetState(UnitFromId(109), c_unitStateTooltipable, false);
    UnitCargoCreate(UnitFromId(80), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(175), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(7), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(433), "Marine", libNtve_gf_DifficultyValueInt(2, 1, 2, 0));

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

    UnitCargoCreate(UnitFromId(80), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(175), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(7), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(433), "Marine", libNtve_gf_DifficultyValueInt(2, 1, 2, 0));
    UnitCargoCreate(UnitFromId(433), "Marauder", libNtve_gf_DifficultyValueInt(0, 1, 1, 2));

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

    UnitCargoCreate(UnitFromId(175), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(7), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(433), "Marine", libNtve_gf_DifficultyValueInt(2, 1, 2, 0));
    UnitCargoCreate(UnitFromId(433), "Marauder", libNtve_gf_DifficultyValueInt(0, 1, 1, 2));
    UnitCargoCreate(UnitFromId(218), "Marauder", libNtve_gf_DifficultyValueInt(1, 1, 2, 2));

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

    UnitCargoCreate(UnitFromId(7), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    UnitCargoCreate(UnitFromId(433), "Marine", libNtve_gf_DifficultyValueInt(2, 1, 2, 0));
    UnitCargoCreate(UnitFromId(433), "Marauder", libNtve_gf_DifficultyValueInt(0, 1, 1, 2));
    UnitCargoCreate(UnitFromId(218), "Marauder", libNtve_gf_DifficultyValueInt(1, 1, 2, 2));
    UnitCargoCreate(UnitFromId(694), "Marine", 4);

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

    UnitCargoCreate(UnitFromId(433), "Marine", libNtve_gf_DifficultyValueInt(2, 1, 2, 0));
    UnitCargoCreate(UnitFromId(433), "Marauder", libNtve_gf_DifficultyValueInt(0, 1, 1, 2));
    UnitCargoCreate(UnitFromId(218), "Marauder", libNtve_gf_DifficultyValueInt(1, 1, 2, 2));
    UnitCargoCreate(UnitFromId(694), "Marine", 4);
    UnitCargoCreate(UnitFromId(1007), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));

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

    UnitCargoCreate(UnitFromId(218), "Marauder", libNtve_gf_DifficultyValueInt(1, 1, 2, 2));
    UnitCargoCreate(UnitFromId(694), "Marine", 4);
    UnitCargoCreate(UnitFromId(1007), "Marine", libNtve_gf_DifficultyValueInt(2, 3, 4, 4));
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(341), true);
    libNtve_gf_MakeUnitInvulnerable(UnitFromId(935), true);

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

    }

    if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
        UnitSetPropertyFixed(UnitFromId(1014), c_unitPropLifeMax, 200.0);
        UnitSetPropertyFixed(UnitFromId(1006), c_unitPropLifeMax, 200.0);

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

    }

    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 0) == 1)) {
        UnitSetPropertyFixed(UnitFromId(1014), c_unitPropLifeMax, 250.0);
        UnitSetPropertyFixed(UnitFromId(1006), c_unitPropLifeMax, 250.0);

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

    UnitSetPropertyFixed(UnitFromId(1014), c_unitPropLifePercent, 100.0);
    UnitSetPropertyFixed(UnitFromId(1006), c_unitPropLifePercent, 100.0);
    if ((libNtve_gf_DifficultyValueInt(1, 0, 0, 0) == 1)) {
        PlayerModifyPropertyInt(gv_p03_DOMINION_WAREHOUSE, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p04_DOMINION_INFANTRY_A, c_playerPropHandicap, c_playerPropOperSetTo, 50);

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

    UnitSetPropertyFixed(gv_odin, c_unitPropEnergyPercent, 100.0);
    gv_uploadTime = 55.0;
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(1, 1, 1, 1), "SiegeTech");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranInfantryArmorsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranInfantryWeaponsLevel1");

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

    gv_uploadTime = 55.0;
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(1, 1, 1, 1), "SiegeTech");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranInfantryArmorsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranInfantryWeaponsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranVehicleArmorsLevel1");

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

    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(1, 1, 1, 1), "SiegeTech");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranInfantryArmorsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranInfantryWeaponsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranVehicleArmorsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranVehicleWeaponsLevel1");

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

    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranInfantryArmorsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranInfantryWeaponsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranVehicleArmorsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranVehicleWeaponsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranShipArmorsLevel1");

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

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

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

    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranVehicleArmorsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranVehicleWeaponsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranShipArmorsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranShipWeaponsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "AresClassWeaponsSystemViking");

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

    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranVehicleWeaponsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranShipArmorsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranShipWeaponsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "AresClassWeaponsSystemViking");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ClusterWarheads");

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

    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranShipArmorsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranShipWeaponsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "AresClassWeaponsSystemViking");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ClusterWarheads");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "AresClassWeaponsSystem");

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

    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "TerranShipWeaponsLevel1");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "AresClassWeaponsSystemViking");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ClusterWarheads");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "AresClassWeaponsSystem");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "MaelstromRounds");

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

    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "AresClassWeaponsSystemViking");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "ClusterWarheads");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "AresClassWeaponsSystem");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "MaelstromRounds");
    gf_AddUpgradeForDominion(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "StabilizerMedPacks");

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

    }

    if ((libNtve_gf_DifficultyValueInt(1, 0, 0, 0) == 1)) {
        autoC18DB74C_g = UnitGroup("Beacon_Terran", gv_p07_NEUTRAL, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        autoC18DB74C_u = UnitGroupCount(autoC18DB74C_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1045

    }

    if ((libNtve_gf_DifficultyValueInt(1, 0, 0, 0) == 1)) {
        PlayerModifyPropertyInt(gv_p02_DOMINION, c_playerPropHandicap, c_playerPropOperSetTo, 50);
        PlayerModifyPropertyInt(gv_p05_ZERG_LAB_SPECIMENS, c_playerPropHandicap, c_playerPropOperSetTo, 50);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1051

    }

    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
        libNtve_gf_SetUpgradeLevelForPlayer(gv_p02_DOMINION, "TerranInfantryWeaponsLevel1", 1);
        libNtve_gf_SetUpgradeLevelForPlayer(gv_p02_DOMINION, "TerranVehicleWeaponsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1058

    }

    if ((libNtve_gf_DifficultyValueInt(0, 0, 0, 1) == 1)) {
        libNtve_gf_SetUpgradeLevelForPlayer(gv_p02_DOMINION, "TerranInfantryArmorsLevel1", 1);
        libNtve_gf_SetUpgradeLevelForPlayer(gv_p02_DOMINION, "TerranVehicleArmorsLevel1", 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1132

    libCamp_gf_AddUnitTypeToUnitHelpPanel("Raynor", false, gv_p01_USER);
    libCamp_gf_AddUnitTypeToUnitHelpPanel("Scientist", false, gv_p01_USER);
    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
        libCamp_gf_AddUnitTypeToUnitHelpPanel("HammerSecurity", false, 1);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1136

    }

    if ((libNtve_gf_DifficultyValueInt(0, 0, 0, 1) == 1)) {
        libCamp_gf_AddUnitTypeToUnitHelpPanel("WarPig", false, 1);
        libCamp_gf_AddUnitTypeToUnitHelpPanel("SiegeBreaker", false, 1);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1427

        gv_grenadesAlreadyHave = true;
        TriggerExecute(gt_TipGrenadeQ, true, false);
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            TextTagCreate(StringExternal("Param/Value/28F7B3F3"), 22, lv_textLoc, 0.4, true, true, PlayerGroupAll());
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1440

    }
    else {
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            TextTagCreate(StringExternal("Param/Value/9BD3E383"), 22, lv_textLoc, 0.4, true, true, PlayerGroupAll());
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1455

    UnitRemove(EventUnit());
    SoundPlay(SoundLink("TUISecret", 0), PlayerGroupAll(), 100.0, 0.0);
    if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
        UnitAddChargeUsed(gv_raynor, "RaynorTossGrenade", -3.0);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:1503

        TriggerExecute(gt_DialogueLab01ExperimentalWeapon, true, false);
        TriggerExecute(gt_TipPlasmaGunQ, true, false);
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            TextTagCreate(StringExternal("Param/Value/1F273B6C"), 22, lv_textLoc, 0.4, true, true, PlayerGroupAll());
        }

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/traynor01.sc2map/MapScript.galaxy:658

    libCamp_gf_AddUnitTypeToUnitHelpPanel("VikingFighter", false, gv_p1_USER);
    libCamp_gf_AddUnitTypeToUnitHelpPanel("Raynor01", false, gv_p1_USER);
    if ((libNtve_gf_DifficultyValueInt(0, 0, 0, 1) == 1)) {
        libCamp_gf_AddUnitTypeToUnitHelpPanel("Firebat", false, gv_p1_USER);
    }

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

    else {
        TriggerQueueEnter();
        if ((gv_inCinematic == false) && (gv_gameOver == false) && ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1))) {
            libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
            libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

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


    gv_holoboardsDestroyed += 1;
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1) && (GameGetMissionTime() < 181.0) && (gv_holoboardsDestroyed >= 6)) {
        AchievementAward(gv_p1_USER, "Anniversary_TRaynor01");
        TriggerDebugOutput(1, StringExternal("Param/Value/53FE3F9F"), false);

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

        }

        if (!((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1))) {
            return false;
        }

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

    }

    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1) && (UnitGroupCount(UnitGroup(null, gv_p2_DOMINION_RED, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
        AchievementAward(gv_p1_USER, "TRaynor01_3");
    }

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

    }
    else if (auto08BE992F_val == "Beacon_Terran") {
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            UnitSetInfoText(lp_chosenUnit, StringExternal("Param/Value/6C1DC930"), StringExternal("Param/Value/E355EE50"), StringToText(""));
            UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);

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

    }
    else if (auto08BE992F_val == "PalletMinerals") {
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            UnitSetInfoText(lp_chosenUnit, StringExternal("Param/Value/29FB49B3"), StringExternal("Param/Value/A4D579C0"), StringExternal("Param/Value/B796C5DF"));
            UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);

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

    }
    else if (auto08BE992F_val == "PalletGas") {
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            UnitSetInfoText(lp_chosenUnit, StringExternal("Param/Value/A089141C"), StringExternal("Param/Value/C9C6EF31"), StringExternal("Param/Value/E20B6E76"));
            UnitSetState(lp_chosenUnit, c_unitStateTooltipable, true);