From d2f830cde0325dbd95b05dc3bfd121122e9717c2 Mon Sep 17 00:00:00 2001 From: veden Date: Wed, 14 Sep 2016 05:18:56 -0700 Subject: [PATCH] fixed retreat issue --- README.md | 7 ++----- info.json | 6 +++--- libs/UnitGroupUtils.lua | 2 +- make.rkt | 6 +++--- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 78a8aaa1..780e51fd 100644 --- a/README.md +++ b/README.md @@ -30,15 +30,12 @@ Base Expansion # Version History -0.0.9 - fixed ai created bases not being counted in logic +0.13.1 - fixed ai created bases not being counted in logic Optimization to offset ai created bases scanning - -0.0.8 - fixed retreat oscillations (https://forums.factorio.com/viewtopic.php?f=94&t=31445&start=10#p198750) + fixed retreat oscillations (https://forums.factorio.com/viewtopic.php?f=94&t=31445&start=10#p198750) added scaling for kamikaze attack (https://forums.factorio.com/viewtopic.php?f=94&t=31445&start=10#p199401) increased squad size max from 125 to 150, (larger waves) -0.0.7 - updated for 0.14 - 0.0.6 - some speed improvements MP is working (https://github.com/veden/Rampant/issues/1) diff --git a/info.json b/info.json index 093eb3af..a427e77e 100644 --- a/info.json +++ b/info.json @@ -1,10 +1,10 @@ { "name" : "Rampant", - "factorio_version" : "0.14", - "version" : "0.0.9", + "factorio_version" : "0.13", + "version" : "0.13.1", "title" : "Rampant AI", "author" : "Veden", "homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445", "description" : "Improves the enemies tactics by using potential fields/pheromones allowing probing of defenses, retreats, and player hunting", "dependencies" : ["base >= 0.13.17", "? bobenemies", "? Natural_Evolution_Enemies"] -} \ No newline at end of file +} diff --git a/libs/UnitGroupUtils.lua b/libs/UnitGroupUtils.lua index ea6da192..d26f8014 100644 --- a/libs/UnitGroupUtils.lua +++ b/libs/UnitGroupUtils.lua @@ -53,7 +53,7 @@ function unitGroupUtils.membersToSquad(squad, members, overwriteGroup) if member.valid and (overwriteGroup or (not overwriteGroup and (member.unit_group == nil))) then member.set_command({ type = defines.command.group, group = squad.group, - distraction = defines.distraction.by_anything }) + distraction = defines.distraction.none }) end end end diff --git a/make.rkt b/make.rkt index c1304cfb..cebb51a0 100644 --- a/make.rkt +++ b/make.rkt @@ -6,7 +6,7 @@ ;(define modFolder "C:/Users/veden/AppData/Roaming/Factorio/mods/") ;(define zipModFolder "C:/Program Files/Factorio_0.14.1/mods/") (define modFolder "/home/veden/.factorio/mods/") - (define zipModFolder "/home/veden/.factorio/mods/") + (define zipModFolder "/data/games/factorio13.20/mods/") (define configuration (call-with-input-file "info.json" (lambda (port) (string->jsexpr (port->string port))))) @@ -74,6 +74,6 @@ (copyDirectory "prototypes" modFolder))) ; (copyFiles modFolder) - ; (copyFiles zipModFolder) - (makeZip) + (copyFiles zipModFolder) +; (makeZip) )