# Player Has Resources
Grammar — Player player has at least minerals|# Minerals and at least gas|# Gas
Flags —Native
|Function
Returns whether a player has at least the specified amounts of Minerals and Gas.
# Arguments
int
— Playerint
— Mineralsint
— Gas
Returns — bool
native bool AIHasRes(int player, int minerals, int gas);
# Related
Category: AI Advanced / Construction / Functions
- Get Default Build Flags
- Player Has Resources —
bool
— AIHasRes - Tech Count —
int
— AITechCount - Known Unit Count —
int
— AIKnownUnitCount - Get AI Suggested Build Loc —
point
— AIGetBuildingPlacement
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:339
return false;
}
if (!AIHasRes(player,200,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:349
// currently expanding see if we need to save minerals
if (!AIHasRes(player,400,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:376
return false;
}
if (!AIHasRes(player,300,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:386
// currently expanding see if we need to save minerals
if (!AIHasRes(player,500,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:413
return false;
}
if (!AIHasRes(player,300,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:423
// currently expanding see if we need to save minerals
if (!AIHasRes(player,500,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:445
return false;
}
if (!AIHasRes(player,300,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:455
// currently expanding see if we need to save minerals
if (!AIHasRes(player,500,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:587
return false;
}
if (!AIHasRes(player,200,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:597
// currently expanding see if we need to save minerals
if (!AIHasRes(player,400,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:729
return false;
}
if (!AIHasRes(player,300,0)) {
AIEnableStock(player);
return true;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:739
// currently expanding see if we need to save minerals
if (!AIHasRes(player,500,0)) {
AIEnableStock(player);
return true;
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:2191
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 3, c_PB_Forge, c_stockAlways );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:2187
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 3, c_PB_Forge, c_stockAlways );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:946
void ProtossHDDefaultExtraMidStock (int player) {
if (AIGetUserInt(player, c_numGroundStartLocs) > 0) {
if (AIHasRes(player,700,0)) {
AISetStockUnitNext( player, 4, c_PB_Gateway, c_stockIdle );
if (AITechCount(player, c_PB_Gateway, c_techCountInProgressOrBetter) >= 4) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:949
AISetStockUnitNext( player, 4, c_PB_Gateway, c_stockIdle );
if (AITechCount(player, c_PB_Gateway, c_techCountInProgressOrBetter) >= 4) {
if (AIHasRes(player,700,600)) {
if (AITechCount(player, c_PB_RoboticsFacility, c_techCountInProgressOrBetter) > 0) {
AISetStockUnitNext( player, 3, c_PB_RoboticsFacility, c_stockIdle );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:960
}
} else {
if (AIHasRes(player,400,200)) {
AISetStock( player, 1, c_PU_WarpPrism );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:1030
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:1097
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyHd.galaxy:2218
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 3, c_PB_Forge, c_stockAlways );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranChIn.galaxy:2669
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 2, c_TB_EngineeringBay, c_stockAlways );
AISetStockUnitNext( player, 2, c_TB_Armory, c_stockAlways );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHdVH.galaxy:2668
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 2, c_TB_EngineeringBay, c_stockAlways );
AISetStockUnitNext( player, 2, c_TB_Armory, c_stockAlways );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1032
void TerranHDDefaultExtraMidStock (int player) {
if (AIGetUserInt(player, c_numGroundStartLocs) > 0) {
if (AIHasRes(player,700,0)) {
AISetStockUnitNext( player, 3, c_TB_Barracks, c_stockIdle );
if (AITechCount(player, c_TB_Barracks, c_techCountInProgressOrBetter) >= 3) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1035
AISetStockUnitNext( player, 3, c_TB_Barracks, c_stockIdle );
if (AITechCount(player, c_TB_Barracks, c_techCountInProgressOrBetter) >= 3) {
if (AIHasRes(player,700,600)) {
if (AITechCount(player, c_TB_Factory, c_techCountInProgressOrBetter) > 0) {
AISetStockUnitNext( player, 3, c_TB_Factory, c_stockIdle );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1046
}
} else {
if (AIHasRes(player,400,200)) {
AISetStock( player, 1, c_TU_Medivac );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1093
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1174
amount = 2;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 3;
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Terran/TerranVyHd.galaxy:2701
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 2, c_TB_EngineeringBay, c_stockAlways );
AISetStockUnitNext( player, 2, c_TB_Armory, c_stockAlways );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergChIn.galaxy:1979
// Extra research buildings
if (AIHasRes(player,500,400)) {
AISetStockUnitNext( player, 3, c_ZB_EvolutionChamber, c_stockAlways );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHdVH.galaxy:1978
// Extra research buildings
if (AIHasRes(player,500,400)) {
AISetStockUnitNext( player, 3, c_ZB_EvolutionChamber, c_stockAlways );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:970
int numQueen = 0;
if (AIGetUserInt(player, c_numGroundStartLocs) > 0) {
if (AIHasRes(player,400,0)) {
numHatch = AITechCount(player, c_ZB_Hatchery_Alias, c_techCountCompleteOnly);
numQueen = AITechCount(player, c_ZU_Queen, c_techCountInProgressOrBetter);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:976
AISetStockUnitNext( player, numHatch, c_ZU_Queen, c_stockAlways );
}
else if (AIHasRes(player,1600,0)) {
numHatch = AITechCount(player, c_ZB_Hatchery_Alias, c_techCountIncompleteOnly);
if (numHatch == 0) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:984
}
} else {
if (AIHasRes(player,400,200)) {
AISetStock( player, 1, c_ZR_OverlordTransport );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:1036
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:1094
amount = 2;
if (foodUsed > 140) {
if (AIHasRes(player,2000,0)) {
amount = 4;
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:1097
amount = 4;
}
else if (AIHasRes(player,1200,0)) {
amount = 3;
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergVyHd.galaxy:2008
// Extra research buildings
if (AIHasRes(player,500,400)) {
AISetStockUnitNext( player, 3, c_ZB_EvolutionChamber, c_stockAlways );
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:2191
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 3, c_PB_Forge, c_stockAlways );
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:2187
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 3, c_PB_Forge, c_stockAlways );
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:941
void ProtossHDDefaultExtraMidStock (int player) {
if (AIGetUserInt(player, c_numGroundStartLocs) > 0) {
if (AIHasRes(player,700,0)) {
AISetStockUnitNext( player, 4, c_PB_Gateway, c_stockIdle );
if (AITechCount(player, c_PB_Gateway, c_techCountInProgressOrBetter) >= 4) {
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:944
AISetStockUnitNext( player, 4, c_PB_Gateway, c_stockIdle );
if (AITechCount(player, c_PB_Gateway, c_techCountInProgressOrBetter) >= 4) {
if (AIHasRes(player,700,600)) {
if (AITechCount(player, c_PB_RoboticsFacility, c_techCountInProgressOrBetter) > 0) {
AISetStockUnitNext( player, 3, c_PB_RoboticsFacility, c_stockIdle );
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:955
}
} else {
if (AIHasRes(player,400,200)) {
AISetStock( player, 1, c_PU_WarpPrism );
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:1025
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:1092
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyHd.galaxy:2218
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 3, c_PB_Forge, c_stockAlways );
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Terran/TerranChIn.galaxy:2664
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 2, c_TB_EngineeringBay, c_stockAlways );
AISetStockUnitNext( player, 2, c_TB_Armory, c_stockAlways );
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHdVH.galaxy:2660
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 2, c_TB_EngineeringBay, c_stockAlways );
AISetStockUnitNext( player, 2, c_TB_Armory, c_stockAlways );
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1023
void TerranHDDefaultExtraMidStock (int player) {
if (AIGetUserInt(player, c_numGroundStartLocs) > 0) {
if (AIHasRes(player,700,0)) {
AISetStockUnitNext( player, 3, c_TB_Barracks, c_stockIdle );
if (AITechCount(player, c_TB_Barracks, c_techCountInProgressOrBetter) >= 3) {
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1026
AISetStockUnitNext( player, 3, c_TB_Barracks, c_stockIdle );
if (AITechCount(player, c_TB_Barracks, c_techCountInProgressOrBetter) >= 3) {
if (AIHasRes(player,700,600)) {
if (AITechCount(player, c_TB_Factory, c_techCountInProgressOrBetter) > 0) {
AISetStockUnitNext( player, 3, c_TB_Factory, c_stockIdle );
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1037
}
} else {
if (AIHasRes(player,400,200)) {
AISetStock( player, 1, c_TU_Medivac );
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1084
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1165
amount = 2;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 3;
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Terran/TerranVyHd.galaxy:2693
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 2, c_TB_EngineeringBay, c_stockAlways );
AISetStockUnitNext( player, 2, c_TB_Armory, c_stockAlways );
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergChIn.galaxy:2044
// Extra research buildings
if (AIHasRes(player,500,400)) {
AISetStockUnitNext( player, 3, c_ZB_EvolutionChamber, c_stockAlways );
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHdVH.galaxy:2043
// Extra research buildings
if (AIHasRes(player,500,400)) {
AISetStockUnitNext( player, 3, c_ZB_EvolutionChamber, c_stockAlways );
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:988
int numQueen = 0;
if (AIGetUserInt(player, c_numGroundStartLocs) > 0) {
if (AIHasRes(player,400,0)) {
numHatch = AITechCount(player, c_ZB_Hatchery_Alias, c_techCountCompleteOnly);
numQueen = AITechCount(player, c_ZU_Queen, c_techCountInProgressOrBetter);
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:994
AISetStockUnitNext( player, numHatch, c_ZU_Queen, c_stockAlways );
}
else if (AIHasRes(player,1600,0)) {
numHatch = AITechCount(player, c_ZB_Hatchery_Alias, c_techCountIncompleteOnly);
if (numHatch == 0) {
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:1002
}
} else {
if (AIHasRes(player,400,200)) {
AISetStock( player, 1, c_ZR_OverlordTransport );
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:1054
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:1112
amount = 2;
if (foodUsed > 140) {
if (AIHasRes(player,2000,0)) {
amount = 4;
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:1115
amount = 4;
}
else if (AIHasRes(player,1200,0)) {
amount = 3;
}
mods/swarm.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergVyHd.galaxy:2074
// Extra research buildings
if (AIHasRes(player,500,400)) {
AISetStockUnitNext( player, 3, c_ZB_EvolutionChamber, c_stockAlways );
}
mods/void.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:339
return false;
}
if (!AIHasRes(player,200,0)) {
AIEnableStock(player);
return true;
mods/void.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:349
// currently expanding see if we need to save minerals
if (!AIHasRes(player,400,0)) {
AIEnableStock(player);
return true;
mods/void.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:376
return false;
}
if (!AIHasRes(player,300,0)) {
AIEnableStock(player);
return true;
mods/void.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:386
// currently expanding see if we need to save minerals
if (!AIHasRes(player,500,0)) {
AIEnableStock(player);
return true;
mods/void.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:413
return false;
}
if (!AIHasRes(player,300,0)) {
AIEnableStock(player);
return true;
mods/void.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:423
// currently expanding see if we need to save minerals
if (!AIHasRes(player,500,0)) {
AIEnableStock(player);
return true;
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:2717
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 3, c_PB_Forge, c_stockAlways );
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:2716
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 3, c_PB_Forge, c_stockAlways );
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:978
void ProtossHDDefaultExtraMidStock (int player) {
if (AIGetUserInt(player, c_numGroundStartLocs) > 0) {
if (AIHasRes(player,700,0)) {
AISetStockUnitNext( player, 4, c_PB_Gateway, c_stockIdle );
if (AITechCount(player, c_PB_Gateway, c_techCountInProgressOrBetter) >= 4) {
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:981
AISetStockUnitNext( player, 4, c_PB_Gateway, c_stockIdle );
if (AITechCount(player, c_PB_Gateway, c_techCountInProgressOrBetter) >= 4) {
if (AIHasRes(player,700,600)) {
if (AITechCount(player, c_PB_RoboticsFacility, c_techCountInProgressOrBetter) > 0) {
AISetStockUnitNext( player, 3, c_PB_RoboticsFacility, c_stockIdle );
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:992
}
} else {
if (AIHasRes(player,400,200)) {
AISetStock( player, 1, c_PU_WarpPrism );
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:1062
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:1129
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyHd.galaxy:2747
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 3, c_PB_Forge, c_stockAlways );
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Terran/TerranChIn.galaxy:2927
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 2, c_TB_EngineeringBay, c_stockAlways );
AISetStockUnitNext( player, 2, c_TB_Armory, c_stockAlways );
mods/void.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHdVH.galaxy:2929
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 2, c_TB_EngineeringBay, c_stockAlways );
AISetStockUnitNext( player, 2, c_TB_Armory, c_stockAlways );
mods/void.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1037
void TerranHDDefaultExtraMidStock (int player) {
if (AIGetUserInt(player, c_numGroundStartLocs) > 0) {
if (AIHasRes(player,700,0)) {
AISetStockUnitNext( player, 3, c_TB_Barracks, c_stockIdle );
if (AITechCount(player, c_TB_Barracks, c_techCountInProgressOrBetter) >= 3) {
mods/void.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1040
AISetStockUnitNext( player, 3, c_TB_Barracks, c_stockIdle );
if (AITechCount(player, c_TB_Barracks, c_techCountInProgressOrBetter) >= 3) {
if (AIHasRes(player,700,600)) {
if (AITechCount(player, c_TB_Factory, c_techCountInProgressOrBetter) > 0) {
AISetStockUnitNext( player, 3, c_TB_Factory, c_stockIdle );
mods/void.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1051
}
} else {
if (AIHasRes(player,400,200)) {
AISetStock( player, 1, c_TU_Medivac );
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1098
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Terran/TerranHigh.galaxy:1179
amount = 2;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 3;
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Terran/TerranVyHd.galaxy:2959
// Extra research buildings
if (AIHasRes(player,700,500)) {
AISetStockUnitNext( player, 2, c_TB_EngineeringBay, c_stockAlways );
AISetStockUnitNext( player, 2, c_TB_Armory, c_stockAlways );
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergChIn.galaxy:142
ZergBasicDefenseStock(player);
if ( (AITechCount(player, c_ZU_Drone, c_techCountQueuedOrBetter) >= 14) && AIHasRes(player,350,0) ) {
if (ZergHDFastExpand(player)) { return false; }
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergChIn.galaxy:193
ZergBasicDefenseStock(player);
if ( (AITechCount(player, c_ZU_Drone, c_techCountQueuedOrBetter) >= 14) && AIHasRes(player,350,0) ) {
if (ZergHDFastExpand(player)) { return false; }
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergChIn.galaxy:251
AISetStock( player, 5, c_ZU_Overlord );
if ( (AITechCount(player, c_ZU_Drone, c_techCountQueuedOrBetter) >= 14) && AIHasRes(player,350,0) ) {
if (ZergHDFastExpand(player)) { return false; }
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergChIn.galaxy:309
AISetStock( player, 5, c_ZU_Overlord );
if ( (AITechCount(player, c_ZU_Drone, c_techCountQueuedOrBetter) >= 18) && AIHasRes(player,350,0) ) {
if (ZergHDFastExpand(player)) { return false; }
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergChIn.galaxy:369
AISetStock( player, 14, c_ZU_Zergling );
if ( (AITechCount(player, c_ZU_Drone, c_techCountQueuedOrBetter) >= 18) && AIHasRes(player,350,0) ) {
if (ZergHDFastExpand(player)) { return false; }
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergChIn.galaxy:2363
// Extra research buildings
if (AIHasRes(player,500,400)) {
AISetStockUnitNext( player, 3, c_ZB_EvolutionChamber, c_stockAlways );
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHdVH.galaxy:142
ZergBasicDefenseStock(player);
if ( (AITechCount(player, c_ZU_Drone, c_techCountQueuedOrBetter) >= 14) && AIHasRes(player,350,0) ) {
if (ZergHDFastExpand(player)) { return false; }
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHdVH.galaxy:193
ZergBasicDefenseStock(player);
if ( (AITechCount(player, c_ZU_Drone, c_techCountQueuedOrBetter) >= 14) && AIHasRes(player,350,0) ) {
if (ZergHDFastExpand(player)) { return false; }
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHdVH.galaxy:251
AISetStock( player, 5, c_ZU_Overlord );
if ( (AITechCount(player, c_ZU_Drone, c_techCountQueuedOrBetter) >= 14) && AIHasRes(player,350,0) ) {
if (ZergHDFastExpand(player)) { return false; }
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHdVH.galaxy:309
AISetStock( player, 5, c_ZU_Overlord );
if ( (AITechCount(player, c_ZU_Drone, c_techCountQueuedOrBetter) >= 18) && AIHasRes(player,350,0) ) {
if (ZergHDFastExpand(player)) { return false; }
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHdVH.galaxy:369
AISetStock( player, 14, c_ZU_Zergling );
if ( (AITechCount(player, c_ZU_Drone, c_techCountQueuedOrBetter) >= 18) && AIHasRes(player,350,0) ) {
if (ZergHDFastExpand(player)) { return false; }
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHdVH.galaxy:2362
// Extra research buildings
if (AIHasRes(player,500,400)) {
AISetStockUnitNext( player, 3, c_ZB_EvolutionChamber, c_stockAlways );
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:998
int numQueen = 0;
if (AIGetUserInt(player, c_numGroundStartLocs) > 0) {
if (AIHasRes(player,400,0)) {
numHatch = AITechCount(player, c_ZB_Hatchery_Alias, c_techCountCompleteOnly);
numQueen = AITechCount(player, c_ZU_Queen, c_techCountInProgressOrBetter);
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:1004
AISetStockUnitNext( player, numHatch, c_ZU_Queen, c_stockAlways );
}
else if (AIHasRes(player,1600,0)) {
numHatch = AITechCount(player, c_ZB_Hatchery_Alias, c_techCountIncompleteOnly);
if (numHatch == 0) {
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:1012
}
} else {
if (AIHasRes(player,400,200)) {
AISetStock( player, 1, c_ZU_OverlordTransport );
}
mods/void.sc2mod — base.sc2data/TriggerLibs/Zerg/ZergHigh.galaxy:1064
amount = 3;
if (foodUsed > 140) {
if (AIHasRes(player,1200,0)) {
amount = 4;
}