mirror of
https://github.com/veden/Rampant.git
synced 2025-01-14 02:23:01 +02:00
FACTO-339: Added squad wander command after timeout
This commit is contained in:
parent
439c485354
commit
c5004f4fad
@ -2,6 +2,7 @@
|
|||||||
Version: 3.3.3
|
Version: 3.3.3
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
- Added check for invalid entity upgrade
|
- Added check for invalid entity upgrade
|
||||||
|
- Added wander command to squads if they timeout for executing a command to fix enemy units getting stuck
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.3.2
|
Version: 3.3.2
|
||||||
|
@ -307,7 +307,7 @@ local function onModSettingsChange(event)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function onConfigChanged()
|
local function onConfigChanged()
|
||||||
game.print("Rampant - Version 3.3.2")
|
game.print("Rampant - Version 3.3.3")
|
||||||
initializeLibraries(true)
|
initializeLibraries(true)
|
||||||
Upgrade.attempt()
|
Upgrade.attempt()
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name" : "Rampant",
|
"name" : "Rampant",
|
||||||
"factorio_version" : "1.1",
|
"factorio_version" : "1.1",
|
||||||
"version" : "3.3.2",
|
"version" : "3.3.3",
|
||||||
"title" : "Rampant",
|
"title" : "Rampant",
|
||||||
"author" : "Veden",
|
"author" : "Veden",
|
||||||
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
||||||
"dependencies" : ["base >= 1.1.36", "? bobenemies", "? Natural_Evolution_Enemies >= 0.17.0", "? Clockwork", "? Kux-OrbitalIonCannon", "? Orbital Ion Cannon", "? ArmouredBiters", "? Krastorio2", "? SchallAlienLoot >= 0.17.6", "! zhcnremake"]
|
"dependencies" : ["base >= 1.1.81", "? bobenemies", "? Natural_Evolution_Enemies >= 0.17.0", "? Clockwork", "? Kux-OrbitalIonCannon", "? Orbital Ion Cannon", "? ArmouredBiters", "? Krastorio2", "? SchallAlienLoot >= 0.17.6", "! zhcnremake"]
|
||||||
}
|
}
|
||||||
|
@ -758,6 +758,7 @@ function Squad.cleanSquads(tick)
|
|||||||
else
|
else
|
||||||
squad.commandTick = tick + COMMAND_TIMEOUT
|
squad.commandTick = tick + COMMAND_TIMEOUT
|
||||||
end
|
end
|
||||||
|
squad.group.set_command(Queries.wander2Command)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user