# Set Stock
Grammar — Set stock for player player to make count units of type unitType
Flags —Native
|Action
Set stock for a player to make units of the specified unit type.
# Arguments
int
— Playerint
— Countstring
<gamelink::Unit> — Unit Type
Returns — void
native void AISetStock(
int player,
int count,
string aliasType,
);
# Related
Category: AI Advanced / Construction / Actions
- Build —
void
— AIBuild - Train —
void
— AITrain - Research —
void
— AIResearch - Make Always —
void
— AIMakeAlways - Make Once —
void
— AIMakeOnce - Clear Build Queue —
void
— AIClearBuildQueue - Clear Train Queue —
void
— AIClearTrainQueue - Clear Research Queue —
void
— AIClearResearchQueue - Clear Stock —
void
— AIClearStock - Enable Stock —
void
— AIEnableStock - Set StockEx —
void
— AISetStockEx - Set Stock —
void
— AISetStock - Set StockOpt —
void
— AISetStockOpt - Set StockUnitNext —
void
— AISetStockUnitNext - Set StockTown —
bool
— AISetStockTown - Set StockExpand —
bool
— AISetStockExpand - Set StockAlias —
void
— AISetStockAlias - Set StockFree —
void
— AISetStockFree - Default Economy —
void
— AIDefaultEconomy - Default Expansion —
void
— AIDefaultExpansion
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/AI.galaxy:577
count = count - AITechCount(player, aliasType, c_techCountQueuedOrBetter);
if (count > 0) {
AISetStock(player, count + AITechCount(player, makeType, c_techCountQueuedOrBetter), makeType);
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/AI.galaxy:583
void AISetStockFree (int player, int count, string makeType, string prereq) {
if (AITechCount(player, prereq, c_techCountCompleteOnly) > 0) {
AISetStock( player, count, makeType );
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:249
make = max;
}
AISetStock(player, make, what);
}
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:430
AISetStockFarms( player, c_TB_SupplyDepot, c_stockNormalFarms);
AIAddEmergencyDefenseStock(player, 8, c_TU_Marine, false);
AISetStock( player, 1, c_TB_Refinery );
AIAddEmergencyDefenseStock(player, 4, c_TU_Viking, true);
AIAddEmergencyDefenseStock(player, 4, c_TU_Hellion, true);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:446
AISetStockFarms( player, c_ZU_Overlord_Alias, c_stockNormalFarms);
AISetStock( player, 1, c_ZU_Queen );
AIAddEmergencyDefenseStock(player, 6, c_ZU_Hydralisk, true);
AIAddEmergencyDefenseStock(player, 12, c_ZU_Zergling, false);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:449
AIAddEmergencyDefenseStock(player, 6, c_ZU_Hydralisk, true);
AIAddEmergencyDefenseStock(player, 12, c_ZU_Zergling, false);
AISetStock( player, 1, c_ZB_Extractor );
AIAddEmergencyDefenseStock(player, 6, c_ZU_Roach, true);
AIAddEmergencyDefenseStock(player, 6, c_ZU_Mutalisk, true);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:466
AIAddEmergencyDefenseStock(player, 6, c_PU_Stalker, false);
if (AIPlayerDifficulty(player) >= c_skirHard) {
AISetStock( player, 1, c_PU_MothershipCore );
}
AIAddEmergencyDefenseStock(player, 4, c_PU_Zealot, false);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeAI.galaxy:469
}
AIAddEmergencyDefenseStock(player, 4, c_PU_Zealot, false);
AISetStock( player, 1, c_PB_Assimilator );
AIAddEmergencyDefenseStock(player, 4, c_PU_VoidRay, true);
AIAddEmergencyDefenseStock(player, 4, c_PU_Immortal, true);
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeHighAI.galaxy:112
countMinDesired = countTotal;
}
AISetStock(player, countMinDesired, what);
AISetStockUnitNext( player, countTotal, what, when );
return;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:59
if (count > 0) {
AISetStock(player, count, AIGetUserString(player, index));
}
index = index + 1;
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:417
if (tier >= c_ldPhaseMid) {
if (PlayerBeaconIsSet(player, c_beaconDetect)) {
AISetStock( player, 1, c_TU_Raven );
}
}
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:503
}
AISetStock( player, 2, c_TB_Refinery );
AISetStock( player, 1, c_TB_Barracks );
AISetStock( player, 1, c_TB_BarracksTechLab );
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:504
AISetStock( player, 2, c_TB_Refinery );
AISetStock( player, 1, c_TB_Barracks );
AISetStock( player, 1, c_TB_BarracksTechLab );
AISetStock( player, 1, c_TB_EngineeringBay );
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:505
AISetStock( player, 2, c_TB_Refinery );
AISetStock( player, 1, c_TB_Barracks );
AISetStock( player, 1, c_TB_BarracksTechLab );
AISetStock( player, 1, c_TB_EngineeringBay );
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:506
AISetStock( player, 1, c_TB_Barracks );
AISetStock( player, 1, c_TB_BarracksTechLab );
AISetStock( player, 1, c_TB_EngineeringBay );
if (tier >= c_ldPhaseMid) {
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:510
if (tier >= c_ldPhaseMid) {
TerranAtEachTown(player, tier);
AISetStock( player, 1, c_TB_Factory );
AISetStock( player, 1, c_TB_FactoryTechLab );
AISetStock( player, 1, c_TB_SensorTower );
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:511
TerranAtEachTown(player, tier);
AISetStock( player, 1, c_TB_Factory );
AISetStock( player, 1, c_TB_FactoryTechLab );
AISetStock( player, 1, c_TB_SensorTower );
AISetStock( player, 1, c_TB_Armory );
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:512
AISetStock( player, 1, c_TB_Factory );
AISetStock( player, 1, c_TB_FactoryTechLab );
AISetStock( player, 1, c_TB_SensorTower );
AISetStock( player, 1, c_TB_Armory );
AISetStock( player, 1, c_TB_Starport );
mods/core.sc2mod — base.sc2data/TriggerLibs/MeleeLowAI.galaxy:513
AISetStock( player, 1, c_TB_FactoryTechLab );
AISetStock( player, 1, c_TB_SensorTower );
AISetStock( player, 1, c_TB_Armory );
AISetStock( player, 1, c_TB_Starport );
AISetStock( player, 1, c_TB_StarportTechLab );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:122
AIClearStock(player);
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:123
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 12, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:124
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 12, c_PU_Probe );
AISetStock( player, 1, c_PB_Gateway );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:125
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 12, c_PU_Probe );
AISetStock( player, 1, c_PB_Gateway );
AISetStock( player, 14, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:126
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 12, c_PU_Probe );
AISetStock( player, 1, c_PB_Gateway );
AISetStock( player, 14, c_PU_Probe );
AISetStock( player, 1, c_PB_Assimilator );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:127
AISetStock( player, 12, c_PU_Probe );
AISetStock( player, 1, c_PB_Gateway );
AISetStock( player, 14, c_PU_Probe );
AISetStock( player, 1, c_PB_Assimilator );
AISetStock( player, 16, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:128
AISetStock( player, 1, c_PB_Gateway );
AISetStock( player, 14, c_PU_Probe );
AISetStock( player, 1, c_PB_Assimilator );
AISetStock( player, 16, c_PU_Probe );
AISetStock( player, 2, c_PB_Pylon );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:129
AISetStock( player, 14, c_PU_Probe );
AISetStock( player, 1, c_PB_Assimilator );
AISetStock( player, 16, c_PU_Probe );
AISetStock( player, 2, c_PB_Pylon );
AISetStock( player, 17, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:130
AISetStock( player, 1, c_PB_Assimilator );
AISetStock( player, 16, c_PU_Probe );
AISetStock( player, 2, c_PB_Pylon );
AISetStock( player, 17, c_PU_Probe );
AISetStock( player, 1, c_PB_CyberneticsCore );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossChIn.galaxy:131
AISetStock( player, 16, c_PU_Probe );
AISetStock( player, 2, c_PB_Pylon );
AISetStock( player, 17, c_PU_Probe );
AISetStock( player, 1, c_PB_CyberneticsCore );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:21
if (AITechCount(player, c_PB_CyberneticsCore, c_techCountCompleteOnly) > 0) {
AISetStock( player, 1, c_PR_WarpGateResearch );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:29
if (phase >= c_ldPhaseLate) {
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
AISetStock( player, 1, c_PR_ObserverSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:30
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:31
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:32
AISetStock( player, 1, c_PR_GroundArmor1 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
if (phase >= c_ldPhaseFinal) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:36
if (phase >= c_ldPhaseFinal) {
AISetStock( player, 1, c_PR_GroundWeapons2 );
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_AirWeapons1 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:37
AISetStock( player, 1, c_PR_GroundWeapons2 );
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_AirWeapons1 );
AISetStock( player, 1, c_PR_AirArmor1 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:38
AISetStock( player, 1, c_PR_GroundWeapons2 );
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_AirWeapons1 );
AISetStock( player, 1, c_PR_AirArmor1 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:39
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_AirWeapons1 );
AISetStock( player, 1, c_PR_AirArmor1 );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossEasy.galaxy:53
if (phase >= c_ldPhaseLate) {
AISetStock( player, 1, c_PR_AirWeapons1 );
AISetStock( player, 1, c_PR_AirArmor1 );
AISetStock( player, 1, c_PR_ObserverSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:21
if (AITechCount(player, c_PB_CyberneticsCore, c_techCountCompleteOnly) > 0) {
AISetStock( player, 1, c_PR_WarpGateResearch );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:26
if (phase >= c_ldPhaseMid) {
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
if (AITechCount(player, c_PU_Zealot, c_techCountInProgressOrBetter) >= 8) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:27
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
if (AITechCount(player, c_PU_Zealot, c_techCountInProgressOrBetter) >= 8) {
AISetStock( player, 1, c_PR_ZealotCharge );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:29
AISetStock( player, 1, c_PR_GroundArmor1 );
if (AITechCount(player, c_PU_Zealot, c_techCountInProgressOrBetter) >= 8) {
AISetStock( player, 1, c_PR_ZealotCharge );
}
if (AITechCount(player, c_PU_Stalker, c_techCountInProgressOrBetter) >= 6) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:32
}
if (AITechCount(player, c_PU_Stalker, c_techCountInProgressOrBetter) >= 6) {
AISetStock( player, 1, c_PR_StalkerBlink );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:37
if (phase >= c_ldPhaseLate) {
AISetStock( player, 1, c_PR_GroundWeapons2 );
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_Shields2 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:38
AISetStock( player, 1, c_PR_GroundWeapons2 );
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_Shields2 );
AISetStock( player, 1, c_PR_ObserverSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:39
AISetStock( player, 1, c_PR_GroundWeapons2 );
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_Shields2 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:40
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_Shields2 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
AISetStock( player, 1, c_PR_AirWeapons1 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHard.galaxy:41
AISetStock( player, 1, c_PR_Shields2 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
AISetStock( player, 1, c_PR_AirWeapons1 );
AISetStock( player, 1, c_PR_AirArmor1 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:122
AIClearStock(player);
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:123
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 12, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:124
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 12, c_PU_Probe );
AISetStock( player, 1, c_PB_Gateway );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:125
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 12, c_PU_Probe );
AISetStock( player, 1, c_PB_Gateway );
AISetStock( player, 14, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:126
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 12, c_PU_Probe );
AISetStock( player, 1, c_PB_Gateway );
AISetStock( player, 14, c_PU_Probe );
AISetStock( player, 1, c_PB_Assimilator );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:127
AISetStock( player, 12, c_PU_Probe );
AISetStock( player, 1, c_PB_Gateway );
AISetStock( player, 14, c_PU_Probe );
AISetStock( player, 1, c_PB_Assimilator );
AISetStock( player, 16, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:128
AISetStock( player, 1, c_PB_Gateway );
AISetStock( player, 14, c_PU_Probe );
AISetStock( player, 1, c_PB_Assimilator );
AISetStock( player, 16, c_PU_Probe );
AISetStock( player, 2, c_PB_Pylon );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:129
AISetStock( player, 14, c_PU_Probe );
AISetStock( player, 1, c_PB_Assimilator );
AISetStock( player, 16, c_PU_Probe );
AISetStock( player, 2, c_PB_Pylon );
AISetStock( player, 17, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:130
AISetStock( player, 1, c_PB_Assimilator );
AISetStock( player, 16, c_PU_Probe );
AISetStock( player, 2, c_PB_Pylon );
AISetStock( player, 17, c_PU_Probe );
AISetStock( player, 1, c_PB_CyberneticsCore );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHdVH.galaxy:131
AISetStock( player, 16, c_PU_Probe );
AISetStock( player, 2, c_PB_Pylon );
AISetStock( player, 17, c_PU_Probe );
AISetStock( player, 1, c_PB_CyberneticsCore );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:840
void ProtossHDRecoveryStart (int player) {
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 1, c_PU_Probe );
AISetStockFarms( player, c_PB_Pylon, c_stockNeededFarms);
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:841
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 1, c_PU_Probe );
AISetStockFarms( player, c_PB_Pylon, c_stockNeededFarms);
AISetStock( player, 10, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:843
AISetStock( player, 1, c_PU_Probe );
AISetStockFarms( player, c_PB_Pylon, c_stockNeededFarms);
AISetStock( player, 10, c_PU_Probe );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:852
void ProtossHDVitalUpgrades (int player) {
if (AITechCount(player, c_PU_Colossus, c_techCountCompleteOnly) >= 2) {
AISetStock( player, 1, c_PR_ColossusRange );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:856
if (AITechCount(player, c_PU_HighTemplar, c_techCountCompleteOnly) >= 2) {
AISetStock( player, 1, c_PR_HighTemplarPsiStorm );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:863
}
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
AISetStockUnitNext( player, 2, c_PB_Forge, c_stockAlways );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:864
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
AISetStockUnitNext( player, 2, c_PB_Forge, c_stockAlways );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:891
if (AITechCount(player, c_PU_Zealot, c_techCountCompleteOnly) >= 8) {
AISetStock( player, 1, c_PR_ZealotCharge );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:895
if (AITechCount(player, c_PU_Stalker, c_techCountCompleteOnly) >= 8) {
AISetStock( player, 1, c_PR_StalkerBlink );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossHigh.galaxy:921
// Liberty-Only, Automatic in Swarm
if (AITechCount(player, c_PU_Sentry, c_techCountCompleteOnly) >= 5) {
AISetStock( player, 1, c_PR_SentryHallucination );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:21
if (AITechCount(player, c_PB_CyberneticsCore, c_techCountCompleteOnly) > 0) {
AISetStock( player, 1, c_PR_WarpGateResearch );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:26
if (phase >= c_ldPhaseMid) {
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
if (AITechCount(player, c_PU_Zealot, c_techCountInProgressOrBetter) >= 8) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:27
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
if (AITechCount(player, c_PU_Zealot, c_techCountInProgressOrBetter) >= 8) {
AISetStock( player, 1, c_PR_ZealotCharge );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:29
AISetStock( player, 1, c_PR_GroundArmor1 );
if (AITechCount(player, c_PU_Zealot, c_techCountInProgressOrBetter) >= 8) {
AISetStock( player, 1, c_PR_ZealotCharge );
}
if (AITechCount(player, c_PU_Stalker, c_techCountInProgressOrBetter) >= 6) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:32
}
if (AITechCount(player, c_PU_Stalker, c_techCountInProgressOrBetter) >= 6) {
AISetStock( player, 1, c_PR_StalkerBlink );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:37
if (phase >= c_ldPhaseLate) {
AISetStock( player, 1, c_PR_GroundWeapons2 );
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_Shields2 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:38
AISetStock( player, 1, c_PR_GroundWeapons2 );
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_Shields2 );
AISetStock( player, 1, c_PR_ObserverSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:39
AISetStock( player, 1, c_PR_GroundWeapons2 );
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_Shields2 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:40
AISetStock( player, 1, c_PR_GroundArmor2 );
AISetStock( player, 1, c_PR_Shields2 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
AISetStock( player, 1, c_PR_AirWeapons1 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMdHd.galaxy:41
AISetStock( player, 1, c_PR_Shields2 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
AISetStock( player, 1, c_PR_AirWeapons1 );
AISetStock( player, 1, c_PR_AirArmor1 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:21
if (AITechCount(player, c_PB_CyberneticsCore, c_techCountCompleteOnly) > 0) {
AISetStock( player, 1, c_PR_WarpGateResearch );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:29
if (phase >= c_ldPhaseLate) {
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
AISetStock( player, 1, c_PR_ObserverSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:30
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:31
AISetStock( player, 1, c_PR_GroundWeapons1 );
AISetStock( player, 1, c_PR_GroundArmor1 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:32
AISetStock( player, 1, c_PR_GroundArmor1 );
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
if (phase >= c_ldPhaseFinal) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:37
if (AITechCount(player, c_PU_Zealot, c_techCountInProgressOrBetter) >= 6) {
AISetStock( player, 1, c_PR_ZealotCharge );
}
if (AITechCount(player, c_PU_Stalker, c_techCountInProgressOrBetter) >= 6) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:40
}
if (AITechCount(player, c_PU_Stalker, c_techCountInProgressOrBetter) >= 6) {
AISetStock( player, 1, c_PR_StalkerBlink );
}
AISetStock( player, 1, c_PR_GroundWeapons3 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:42
AISetStock( player, 1, c_PR_StalkerBlink );
}
AISetStock( player, 1, c_PR_GroundWeapons3 );
AISetStock( player, 1, c_PR_GroundArmor3 );
AISetStock( player, 1, c_PR_Shields3 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:43
}
AISetStock( player, 1, c_PR_GroundWeapons3 );
AISetStock( player, 1, c_PR_GroundArmor3 );
AISetStock( player, 1, c_PR_Shields3 );
AISetStock( player, 1, c_PR_AirWeapons2 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossMedi.galaxy:44
AISetStock( player, 1, c_PR_GroundWeapons3 );
AISetStock( player, 1, c_PR_GroundArmor3 );
AISetStock( player, 1, c_PR_Shields3 );
AISetStock( player, 1, c_PR_AirWeapons2 );
AISetStock( player, 1, c_PR_AirArmor2 );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:21
if (AITechCount(player, c_PB_CyberneticsCore, c_techCountCompleteOnly) > 0) {
AISetStock( player, 1, c_PR_WarpGateResearch );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:29
if (phase >= c_ldPhaseLate) {
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:30
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
if (phase >= c_ldPhaseFinal) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:47
if (phase >= c_ldPhaseLate) {
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:48
AISetStock( player, 1, c_PR_ObserverSpeed );
AISetStock( player, 1, c_PR_WarpPrismSpeed );
if (phase >= c_ldPhaseFinal) {
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:52
if (phase >= c_ldPhaseFinal) {
AISetStock( player, 1, c_PR_WarpGateResearch );
}
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:136
if (buildType == e_buildType_Rush) {
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:137
if (buildType == e_buildType_Rush) {
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 13, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:138
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 13, c_PU_Probe );
AISetStock( player, 1, c_PB_Gateway );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyEy.galaxy:139
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );
AISetStock( player, 13, c_PU_Probe );
AISetStock( player, 1, c_PB_Gateway );
AISetStock( player, 14, c_PU_Probe );
mods/liberty.sc2mod — base.sc2data/TriggerLibs/Protoss/ProtossVyHd.galaxy:155
AIClearStock(player);
AISetStock( player, 1, c_PB_Nexus );
AISetStock( player, 9, c_PU_Probe );
AISetStock( player, 1, c_PB_Pylon );