Skip to content

Commit

Permalink
AI-Update V3
Browse files Browse the repository at this point in the history
Changelog:

------------------------------------------------------------------------------------

AIAddBuilderTable.lua

function AddGlobalBuilderGroup()
-Opt: Added a warning message in case a global buildergroup is missing

------------------------------------------------------------------------------------

AIBehaviors.lua

function CommanderThreadImproved()
-Fix: changed the handling from ACU platoons to prevent disbanding the armypool

Wow! I searched almost a year for this bug, where factories are canceling their buildorders with no reason...
Caused by adding the ACU to the armypool and then disbanding this platoon :D

------------------------------------------------------------------------------------

AIDefenseBuilders.lua
AIEconomicBuilders.lua
SorianDefenseBuilders.lua
SorianEconomicBuilders.lua
SorianStrategyPlatoonBuilders.lua

-Fix: deleted duplicated args in buildconditions.
Changed from :
{ MIBC, 'FactionIndex', {3, 3}},
to
{ MIBC, 'FactionIndex', {3}},
You only need a single argument to identify a faction.

------------------------------------------------------------------------------------

aibuildstructures.lua

function AIExecuteBuildStructure()
-Fix: In case the Ai can't find a place to build near the base, it's now
also searching neer the engineer position.
-Fix: In case we have a modded platoon template, the AI is not able to find a build place for it.
So if we have an unknown template we now use `T1LandFactory` as dummy to find a build place.

------------------------------------------------------------------------------------

aiutilities.lua

function AIGetSortedMassWithEnemy()
-removed: this function was not used. (also not in vanilla)

function EngineerTryReclaimCaptureArea()
-Fix: AI got stuck if an resource point was occupied by map objects like rocks etc.
Added a check for reclaimable objects and reclaim them before building massextractors etc.

------------------------------------------------------------------------------------

aibrain.lua

function DeadBaseMonitor()
-Fix: removed unnecessary if-then statement.

------------------------------------------------------------------------------------

MiscBuildConditions.lua

-Fix: updated function FactionIndex to manage 5 factions instead of 3
-Opt: removed all unused buildconditions.
Removed function: IsAIBrainLayerPref()
Removed function: MissionNumber()
Removed function: MissionNumberGreaterOrEqual()
Removed function: MissionNumberLessOrEqual()
Removed function: CheckScenarioInfoVarTable()
Removed function: CheckScenarioInfoVarTableFalse()
Removed function: DifficultyEqual()
Removed function: DifficultyLessOrEqual()
Removed function: MarkerChainExists()
Removed function: CheckAvailableGates()
Removed function: ArmyWantsTransports()
Removed function: CDRRunningAway()

------------------------------------------------------------------------------------

platoon.lua

function GetUnitsAroundPoint()
-Fix: renamed this function to GetPlatoonUnitsAroundPoint.
So this is not so confusing because we have an c-engine command with he same name.

function ReclaimStructuresAI()
-Fix: function accepts now categories as string and userdata.

function RepairAI()
-Opt: changed function call manager:GetLocationRadius() to manager.Radius

function EconAssistBody()
-Fix: Update assist logic to make sure we don't have more then 20 assistees building the same object.

function UnitUpgradeAI()
-Fix: Changed error text to warningtext in case we can't upgrade to a supportfactory
  • Loading branch information
Uveso authored and PhilipJFryFAF committed Dec 3, 2018
1 parent 8984dc3 commit ca70c23
Show file tree
Hide file tree
Showing 12 changed files with 347 additions and 546 deletions.
2 changes: 2 additions & 0 deletions lua/AI/AIAddBuilderTable.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ end
function AddGlobalBuilderGroup(aiBrain, locationType, builderGroupName)
if BuilderGroups[builderGroupName] then
AddBuilderTable(aiBrain, locationType, BuilderGroups[builderGroupName], builderGroupName)
else
WARN('['..string.gsub(debug.getinfo(1).source, ".*\\(.*.lua)", "%1")..', line:'..debug.getinfo(1).currentline..'] *AddGlobalBuilderGroup ERROR: BuilderGroup ' .. repr(builderGroupName) .. ' does not exist!' )
end
end

Expand Down
25 changes: 16 additions & 9 deletions lua/AI/AIBehaviors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -324,14 +324,12 @@ function CommanderThread(cdr, platoon)
end

function CommanderThreadImproved(cdr, platoon)
SetCDRHome(cdr, platoon)

-- Added to ensure we know the start locations (thanks to Sorian).
local aiBrain = cdr:GetAIBrain()
aiBrain:BuildScoutLocations()
-- Added to ensure we know the start locations (thanks to Sorian).
SetCDRHome(cdr, platoon)

while not cdr.Dead do
WaitTicks(1)
-- Overcharge
if not cdr.Dead then CDROverCharge(aiBrain, cdr) end
WaitTicks(1)
Expand All @@ -345,20 +343,29 @@ function CommanderThreadImproved(cdr, platoon)
and not cdr:IsUnitState("Building") and not cdr:IsUnitState("Guarding")
and not cdr:IsUnitState("Attacking") and not cdr:IsUnitState("Repairing")
and not cdr:IsUnitState("Upgrading") and not cdr:IsUnitState("Enhancing") then
-- if we have nothing to build...
if not cdr.EngineerBuildQueue or table.getn(cdr.EngineerBuildQueue) == 0 then
local pool = aiBrain:GetPlatoonUniquelyNamed('ArmyPool')
aiBrain:AssignUnitsToPlatoon(pool, {cdr}, 'Unassigned', 'None')
-- check if the we have still a platton assigned to the CDR
if cdr.PlatoonHandle then
cdr.PlatoonHandle:PlatoonDisband()
local platoonUnits = cdr.PlatoonHandle:GetPlatoonUnits() or 1
-- only disband the platton if we have 1 unit, plan and buildername. (NEVER disband the armypool platoon!!!)
if table.getn(platoonUnits) == 1 and cdr.PlatoonHandle.PlanName and cdr.PlatoonHandle.BuilderName then
--SPEW('ACU PlatoonHandle found. Plan: '..cdr.PlatoonHandle.PlanName..' - Builder '..cdr.PlatoonHandle.BuilderName..'. Disbanding CDR platoon!')
cdr.PlatoonHandle:PlatoonDisband()
end
end
WaitSeconds(5)
-- get the global armypool platoon
local pool = aiBrain:GetPlatoonUniquelyNamed('ArmyPool')
-- assing the CDR to the armypool
aiBrain:AssignUnitsToPlatoon(pool, {cdr}, 'Unassigned', 'None')
-- if we have a BuildQueue then continue building
elseif cdr.EngineerBuildQueue and table.getn(cdr.EngineerBuildQueue) ~= 0 then
if not cdr.NotBuildingThread then
cdr.NotBuildingThread = cdr:ForkThread(platoon.WatchForNotBuilding)
end
end
end
WaitSeconds(3)
WaitTicks(1)
end
end

Expand Down
8 changes: 4 additions & 4 deletions lua/AI/AIBuilders/AIDefenseBuilders.lua
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ BuilderGroup {
InstanceCount = 5,
BuilderConditions = {
{ EBC, 'GreaterThanEconIncome', { 5, 150}},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
{ IBC, 'BrainNotLowPowerMode', {} },
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.8, 1.2 }},
},
Expand All @@ -939,7 +939,7 @@ BuilderGroup {
InstanceCount = 5,
BuilderConditions = {
{ EBC, 'GreaterThanEconIncome', { 5, 200}},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
{ IBC, 'BrainNotLowPowerMode', {} },
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.8, 1.2 }},
},
Expand All @@ -953,7 +953,7 @@ BuilderGroup {
BuilderConditions = {
{ UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, categories.ENERGYPRODUCTION * categories.TECH3 } }, #DUNCAN - Added
{ EBC, 'GreaterThanEconIncome', { 5, 300}},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
{ IBC, 'BrainNotLowPowerMode', {} },
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.8, 1.2 }},
},
Expand All @@ -967,7 +967,7 @@ BuilderGroup {
BuilderConditions = {
{ UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, categories.ENERGYPRODUCTION * categories.TECH3 } }, #DUNCAN - Added
{ EBC, 'GreaterThanEconIncome', { 5, 400}},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
{ IBC, 'BrainNotLowPowerMode', {} },
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.8, 1.2 }},
},
Expand Down
48 changes: 24 additions & 24 deletions lua/AI/AIBuilders/AIEconomicBuilders.lua
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ BuilderGroup { #DUNCAN - added group
{ UCBC, 'HaveLessThanUnitsWithCategory', { 1, 'FACTORY TECH2, FACTORY TECH3' } },
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ UCBC, 'CmdrHasUpgrade', { 'HeavyAntiMatterCannon', false }},
{ MIBC, 'FactionIndex', {1, 1}},
{ MIBC, 'FactionIndex', {1}},
{ MIBC, 'RandomNumber', {0, 6, 1, 10}},
},
BuilderType = 'Any',
Expand All @@ -775,7 +775,7 @@ BuilderGroup { #DUNCAN - added group
{ UCBC, 'HaveLessThanUnitsWithCategory', { 1, 'FACTORY TECH2, FACTORY TECH3' } },
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ UCBC, 'CmdrHasUpgrade', { 'CrysalisBeam', false }},
{ MIBC, 'FactionIndex', {2, 2}},
{ MIBC, 'FactionIndex', {2}},
{ MIBC, 'RandomNumber', {0, 6, 1, 10}},
},
BuilderType = 'Any',
Expand All @@ -797,7 +797,7 @@ BuilderGroup { #DUNCAN - added group
{ UCBC, 'HaveLessThanUnitsWithCategory', { 1, 'FACTORY TECH2, FACTORY TECH3' } },
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ UCBC, 'CmdrHasUpgrade', { 'CoolingUpgrade', false }},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
{ MIBC, 'RandomNumber', {0, 6, 1, 10}},
},
BuilderType = 'Any',
Expand All @@ -819,7 +819,7 @@ BuilderGroup { #DUNCAN - added group
{ UCBC, 'HaveLessThanUnitsWithCategory', { 1, 'FACTORY TECH2, FACTORY TECH3' } },
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ UCBC, 'CmdrHasUpgrade', { 'RateOfFire', false }},
{ MIBC, 'FactionIndex', {4, 4}},
{ MIBC, 'FactionIndex', {4}},
{ MIBC, 'RandomNumber', {0, 6, 1, 10}},
},
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
Expand All @@ -845,7 +845,7 @@ BuilderGroup {
#{ EBC, 'GreaterThanEconStorageRatio', { 0.6, 0.6}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.4 }},
{ UCBC, 'CmdrHasUpgrade', { 'AdvancedEngineering', false }},
{ MIBC, 'FactionIndex', {1, 1}},
{ MIBC, 'FactionIndex', {1}},
},
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
BuilderType = 'Any',
Expand All @@ -865,7 +865,7 @@ BuilderGroup {
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.4 }},
{ UCBC, 'CmdrHasUpgrade', { 'AdvancedEngineering', false }},
{ UCBC, 'CmdrHasUpgrade', { 'CrysalisBeam', true }},
{ MIBC, 'FactionIndex', {2, 2}},
{ MIBC, 'FactionIndex', {2}},
},
BuilderType = 'Any',
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
Expand All @@ -885,7 +885,7 @@ BuilderGroup {
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.4 }},
{ UCBC, 'CmdrHasUpgrade', { 'AdvancedEngineering', false }},
{ UCBC, 'CmdrHasUpgrade', { 'CrysalisBeam', false }},
{ MIBC, 'FactionIndex', {2, 2}},
{ MIBC, 'FactionIndex', {2}},
},
BuilderType = 'Any',
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
Expand All @@ -906,7 +906,7 @@ BuilderGroup {
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.4 }},
{ UCBC, 'CmdrHasUpgrade', { 'AdvancedEngineering', false }},
{ UCBC, 'CmdrHasUpgrade', { 'CoolingUpgrade', true}},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
},
BuilderType = 'Any',
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
Expand All @@ -926,7 +926,7 @@ BuilderGroup {
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.4 }},
{ UCBC, 'CmdrHasUpgrade', { 'AdvancedEngineering', false }},
{ UCBC, 'CmdrHasUpgrade', { 'CoolingUpgrade', false }},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
},
BuilderType = 'Any',
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
Expand All @@ -946,7 +946,7 @@ BuilderGroup {
#{ EBC, 'GreaterThanEconStorageRatio', { 0.25, 0.25}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.4 }},
{ UCBC, 'CmdrHasUpgrade', { 'AdvancedEngineering', false }},
{ MIBC, 'FactionIndex', {4, 4}},
{ MIBC, 'FactionIndex', {4}},
},
BuilderType = 'Any',
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
Expand All @@ -973,7 +973,7 @@ BuilderGroup {
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.4 }},
{ UCBC, 'CmdrHasUpgrade', { 'Shield', false }},
{ UCBC, 'CmdrHasUpgrade', { 'RightPod', true }},
{ MIBC, 'FactionIndex', {1, 1}},
{ MIBC, 'FactionIndex', {1}},
},
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
BuilderType = 'Any',
Expand All @@ -993,7 +993,7 @@ BuilderGroup {
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.4 }},
{ UCBC, 'CmdrHasUpgrade', { 'Shield', false }},
{ UCBC, 'CmdrHasUpgrade', { 'RightPod', false }},
{ MIBC, 'FactionIndex', {1, 1}},
{ MIBC, 'FactionIndex', {1}},
},
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
BuilderType = 'Any',
Expand All @@ -1013,7 +1013,7 @@ BuilderGroup {
#{ EBC, 'GreaterThanEconStorageRatio', { 0.6, 0.6}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.4 }},
{ UCBC, 'CmdrHasUpgrade', { 'Shield', false }},
{ MIBC, 'FactionIndex', {2, 2}},
{ MIBC, 'FactionIndex', {2}},
},
BuilderType = 'Any',
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
Expand All @@ -1034,7 +1034,7 @@ BuilderGroup {
#{ EBC, 'GreaterThanEconStorageRatio', { 0.6, 0.6}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.4 }},
{ UCBC, 'CmdrHasUpgrade', { 'CloakingGenerator', false }},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
},
BuilderType = 'Any',
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
Expand All @@ -1055,7 +1055,7 @@ BuilderGroup {
#{ EBC, 'GreaterThanEconStorageRatio', { 0.25, 0.25}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ UCBC, 'CmdrHasUpgrade', { 'AdvancedRegenAura', false }},
{ MIBC, 'FactionIndex', {4, 4}},
{ MIBC, 'FactionIndex', {4}},
},
BuilderType = 'Any',
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
Expand All @@ -1076,7 +1076,7 @@ BuilderGroup {
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ UCBC, 'CmdrHasUpgrade', { 'AdvancedRegenAura', false }},
{ UCBC, 'CmdrHasUpgrade', { 'RateOfFire', true }},
{ MIBC, 'FactionIndex', {4, 4}},
{ MIBC, 'FactionIndex', {4}},
},
BuilderType = 'Any',
PlatoonAddFunctions = { {SAI, 'BuildOnce'}, },
Expand All @@ -1099,7 +1099,7 @@ BuilderGroup {
{ UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, 'ENERGYPRODUCTION TECH2, ENERGYPRODUCTION TECH3' }},
{ EBC, 'GreaterThanEconStorageRatio', { 0.6, 0.6}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ MIBC, 'FactionIndex', {1, 1}},
{ MIBC, 'FactionIndex', {1}},
},
Priority = 0,
BuilderType = 'Any',
Expand All @@ -1117,7 +1117,7 @@ BuilderGroup {
{ UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, 'ENERGYPRODUCTION TECH2, ENERGYPRODUCTION TECH3'}},
{ EBC, 'GreaterThanEconStorageRatio', { 0.6, 0.6}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ MIBC, 'FactionIndex', {1, 1}},
{ MIBC, 'FactionIndex', {1}},
},
Priority = 0,
BuilderType = 'Any',
Expand All @@ -1137,7 +1137,7 @@ BuilderGroup {
{ UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, 'ENERGYPRODUCTION TECH2, ENERGYPRODUCTION TECH3'}},
{ EBC, 'GreaterThanEconStorageRatio', { 0.6, 0.6}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ MIBC, 'FactionIndex', {2, 2}},
{ MIBC, 'FactionIndex', {2}},
},
Priority = 0,
BuilderType = 'Any',
Expand All @@ -1155,7 +1155,7 @@ BuilderGroup {
{ UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, 'ENERGYPRODUCTION TECH2, ENERGYPRODUCTION TECH3'}},
{ EBC, 'GreaterThanEconStorageRatio', { 0.6, 0.6}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ MIBC, 'FactionIndex', {2, 2}},
{ MIBC, 'FactionIndex', {2}},
},
Priority = 0,
BuilderType = 'Any',
Expand All @@ -1175,7 +1175,7 @@ BuilderGroup {
{ UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, 'ENERGYPRODUCTION TECH2, ENERGYPRODUCTION TECH3'}},
{ EBC, 'GreaterThanEconStorageRatio', { 0.6, 0.6}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
},
Priority = 0,
BuilderType = 'Any',
Expand All @@ -1193,7 +1193,7 @@ BuilderGroup {
{ UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, 'ENERGYPRODUCTION TECH2, ENERGYPRODUCTION TECH3'}},
{ EBC, 'GreaterThanEconStorageRatio', { 0.6, 0.6}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
},
Priority = 0,
BuilderType = 'Any',
Expand All @@ -1213,7 +1213,7 @@ BuilderGroup {
{ UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, 'ENERGYPRODUCTION TECH2, ENERGYPRODUCTION TECH3'}},
{ EBC, 'GreaterThanEconStorageRatio', { 0.25, 0.25}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ MIBC, 'FactionIndex', {4, 4}},
{ MIBC, 'FactionIndex', {4}},
},
Priority = 0,
BuilderType = 'Any',
Expand All @@ -1231,7 +1231,7 @@ BuilderGroup {
{ UCBC, 'HaveGreaterThanUnitsWithCategory', { 0, 'ENERGYPRODUCTION TECH3'}},
{ EBC, 'GreaterThanEconStorageRatio', { 0.5, 0.5}},
{ EBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ MIBC, 'FactionIndex', {4, 4}},
{ MIBC, 'FactionIndex', {4}},
},
Priority = 0,
BuilderType = 'Any',
Expand Down
8 changes: 4 additions & 4 deletions lua/AI/AIBuilders/SorianDefenseBuilders.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,7 @@ BuilderGroup {
InstanceCount = 5,
BuilderConditions = {
{ SIBC, 'GreaterThanEconIncome', { 5, 150}},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
{ IBC, 'BrainNotLowPowerMode', {} },
{ SIBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ SIBC, 'HaveGreaterThanUnitsWithCategory', { 0, categories.ENERGYPRODUCTION * categories.TECH2 } },
Expand All @@ -1740,7 +1740,7 @@ BuilderGroup {
InstanceCount = 5,
BuilderConditions = {
{ SIBC, 'GreaterThanEconIncome', { 5, 200}},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
{ IBC, 'BrainNotLowPowerMode', {} },
{ SIBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ SIBC, 'HaveGreaterThanUnitsWithCategory', { 0, categories.ENERGYPRODUCTION * categories.TECH2 } },
Expand All @@ -1754,7 +1754,7 @@ BuilderGroup {
InstanceCount = 5,
BuilderConditions = {
{ SIBC, 'GreaterThanEconIncome', { 5, 300}},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
{ IBC, 'BrainNotLowPowerMode', {} },
{ SIBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ SIBC, 'HaveGreaterThanUnitsWithCategory', { 0, categories.ENERGYPRODUCTION * categories.TECH3 } },
Expand All @@ -1768,7 +1768,7 @@ BuilderGroup {
InstanceCount = 5,
BuilderConditions = {
{ SIBC, 'GreaterThanEconIncome', { 5, 400}},
{ MIBC, 'FactionIndex', {3, 3}},
{ MIBC, 'FactionIndex', {3}},
{ IBC, 'BrainNotLowPowerMode', {} },
{ SIBC, 'GreaterThanEconEfficiencyOverTime', { 0.9, 1.2 }},
{ SIBC, 'HaveGreaterThanUnitsWithCategory', { 0, categories.ENERGYPRODUCTION * categories.TECH3 } },
Expand Down
Loading

0 comments on commit ca70c23

Please sign in to comment.