Skip to content

Commit

Permalink
enabled working of setting SimpleAIList
Browse files Browse the repository at this point in the history
added SimpleAi, SimpleDefenderAi and SimpleConstructorAI to simplified AI List, so that this change doesn't lead to any visible change with default SimpleAIList=true
  • Loading branch information
FIr3baL committed Dec 1, 2023
1 parent a4e8855 commit cc5589c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions LuaMenu/configs/gameConfig/byar/aiSimpleName.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@ local subnameMap = {
['NullAI 0.1'] = "Inactive AI",
['ScavengersAI'] = "ScavengersDefense AI",
['RaptorsAI'] = "RaptorsDefense AI",
['SimpleAI'] = "SimpleAI",
['SimpleDefenderAI'] = "SimpleDefenderAI",
['SimpleConstructorAI'] = "SimpleConstructorAI",
--['STAI'] = "STAI",
}

local function GetAiSimpleName(name)
return subnameMap[name] or name
return subnameMap[name]
end

local simpleAiOrder = {
['BARb stable'] = 01,
--['STAI'] = 02,
['STAI'] = 02,
['SimpleAI'] = 11,
['SimpleDefenderAI'] = 13,
['SimpleConstructorAI'] = 14,
Expand All @@ -26,7 +29,7 @@ local aiTooltip = {
['SimpleDefenderAI'] = "An easy AI, mostly defends and doesnt attack much",
['SimpleConstructorAI'] = "A simple, passive AI, that builds only constructing units and turrets",
['ScavengersAI'] = "This is a PvE game mode, with an increasing difficulty waves of Scavenger AI controlled units attacking the players. Only add 1 per game.",
--['STAI'] = "A medium to hard difficulty, experimental, non cheating AI.",
['STAI'] = "A medium to hard difficulty, experimental, non cheating AI.",
['NullAI 0.1'] = "A game-testing AI. Literally does nothing.",
['BARb stable'] = "The recommended excellent performance, adjustable difficulty, non-cheating AI. Add as many as you wish!",
['RaptorsAI'] = "This is a PvE game mode, where hordes of alien creatures attack the players. Only add 1 per game.",
Expand Down

0 comments on commit cc5589c

Please sign in to comment.