diff --git a/Upgrade.lua b/Upgrade.lua index 1d4a9e5..8b2a7d3 100755 --- a/Upgrade.lua +++ b/Upgrade.lua @@ -140,6 +140,9 @@ function upgrade.attempt(natives, setNewSurface, gameSurfaces) else gameSurfs = gameSurfaces end + end + if (global.version < 108) then + global.version = 108 for _,player in pairs(game.connected_players) do if player and player.valid and not settings.get_player_settings(player)["rampant-suppress-surface-change-warnings"].value then @@ -162,7 +165,7 @@ function upgrade.attempt(natives, setNewSurface, gameSurfaces) end if not setNewSurface then - game.get_surface(natives.activeSurface).print("Rampant - Version 0.18.7") + game.get_surface(natives.activeSurface).print("Rampant - Version 0.18.8") end end diff --git a/changelog.txt b/changelog.txt index 9ef34ed..82fcdcd 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,11 @@ +--------------------------------------------------------------------------------------------------- +Version: 0.18.8 +Date: 3. 4 2020 + Improvements: + - Rampant now has a mechanism to drain pollution around spawners as before they were filling up and stopped absorbing pollution. + Bugfixes: + - Spawner pollution proxies being counted against enemy force spawner evolution + --------------------------------------------------------------------------------------------------- Version: 0.18.7 Date: 3. 4 2020 diff --git a/control.lua b/control.lua index ff20a86..855f37c 100755 --- a/control.lua +++ b/control.lua @@ -366,7 +366,8 @@ local function rebuildMap() map.placeSpawnerProxyQuery = { name="spawner-proxy-rampant", - position=map.position3 + position=map.position3, + force="neutral" } map.upgradeEntityQuery = { @@ -1070,7 +1071,6 @@ script.on_nth_tick(INTERVAL_BUILDERS, game.get_surface(natives.activeSurface)) end) - script.on_nth_tick(INTERVAL_RESQUAD, function () regroupSquads(natives) diff --git a/info.json b/info.json index 7c725ac..324b1ce 100755 --- a/info.json +++ b/info.json @@ -1,7 +1,7 @@ { "name" : "Rampant", "factorio_version" : "0.18", - "version" : "0.18.7", + "version" : "0.18.8", "title" : "Rampant", "author" : "Veden", "homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",