1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

corrected wander spelling

This commit is contained in:
Aaron Veden 2021-11-28 16:35:31 -08:00
parent eb6aa6b97a
commit 4c75a4cb26
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
3 changed files with 6 additions and 5 deletions

View File

@ -277,7 +277,7 @@ local function addCommandSet(queriesAndCommands)
ignore_planner = true
}
queriesAndCommands.wonderCommand = {
queriesAndCommands.wanderCommand = {
type = DEFINES_COMMAND_WANDER,
wander_in_group = false,
radius = TRIPLE_CHUNK_SIZE*2,

View File

@ -34,6 +34,7 @@ Date: 23. 11. 2021
- Fixed squad cleanup would periodically skip a squad when cleaning up dead unit groups
- Fixed enemy destroying a player structure only processing half of the chunks it should have been
- Fixed unit groups spawned by factorio in noctural mode during the day would give points to the AI (Thanks Deathlymad)
- Corrected spelling of wonder command to wander command
Framework:
- Fixed Rampant in-memory map visualization tool for debugging
- Added debug mod settings for showing enemy structures being upgraded in place

View File

@ -160,7 +160,7 @@ local function settleMove(map, squad)
scoreFunction)
if (attackChunk == -1) then
cmd = universe.wonderCommand
cmd = universe.wanderCommand
group.set_command(cmd)
return
elseif (attackDirection ~= 0) then
@ -185,7 +185,7 @@ local function settleMove(map, squad)
addDeathGenerator(map, attackChunk, FIVE_DEATH_PHEROMONE_GENERATOR_AMOUNT)
end
else
cmd = universe.wonderCommand
cmd = universe.wanderCommand
group.set_command(cmd)
return
end
@ -255,7 +255,7 @@ local function attackMove(map, squad)
attackScorer)
local cmd
if (attackChunk == -1) then
cmd = universe.wonderCommand
cmd = universe.wanderCommand
group.set_command(cmd)
return
elseif (nextAttackChunk ~= -1) then
@ -269,7 +269,7 @@ local function attackMove(map, squad)
end
if not position then
cmd = universe.wonderCommand
cmd = universe.wanderCommand
group.set_command(cmd)
return
else