mirror of
https://github.com/veden/Rampant.git
synced 2024-12-26 20:54:12 +02:00
see changelog
This commit is contained in:
parent
b6440160ed
commit
9e19e82f4e
@ -217,10 +217,10 @@ function upgrade.attempt(natives)
|
||||
game.surfaces[natives.activeSurface].print("Rampant - Version 0.16.22")
|
||||
global.version = constants.VERSION_57
|
||||
end
|
||||
if (global.version < constants.VERSION_65) then
|
||||
if (global.version < constants.VERSION_66) then
|
||||
|
||||
game.surfaces[natives.activeSurface].print("Rampant - Version 0.16.30")
|
||||
global.version = constants.VERSION_65
|
||||
game.surfaces[natives.activeSurface].print("Rampant - Version 0.16.31")
|
||||
global.version = constants.VERSION_66
|
||||
end
|
||||
|
||||
return starting ~= global.version, natives
|
||||
|
@ -1,3 +1,10 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.16.31
|
||||
Date: 7. 19. 2018
|
||||
Bugfixes:
|
||||
- MAJOR BUG: fixed typo in inverted filter for processing player buildings and enemy nests, which eventually lead to all aliens going inactive due to invalid targets [https://mods.factorio.com/mod/Rampant/discussion/5b48e84e1495c8000be8f961]
|
||||
- For changing start and end enemy level in relation to scaling value error [https://mods.factorio.com/mod/Rampant/discussion/5b4e37227ffb42000a2dc40d]
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.16.30
|
||||
Date: 6. 7. 2018
|
||||
|
@ -219,7 +219,7 @@ local function rebuildMap()
|
||||
map.filteredEntitiesWormQuery = { area=map.area, force="enemy", type="turret" }
|
||||
map.filteredEntitiesSpawnerQueryLimited = { area=map.area2, force="enemy", type="unit-spawner" }
|
||||
map.filteredEntitiesWormQueryLimited = { area=map.area2, force="enemy", type="turret" }
|
||||
map.filteredEntitiesPlayerQuery = { area=map.area, force={"enemy", "neutral"}, inverted = "true" }
|
||||
map.filteredEntitiesPlayerQuery = { area=map.area, force={"enemy", "neutral"}, invert = true }
|
||||
map.canPlaceQuery = { name="", position={0,0} }
|
||||
map.filteredTilesQuery = { name=WATER_TILE_NAMES, area=map.area }
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"name" : "Rampant",
|
||||
"factorio_version" : "0.16",
|
||||
"version" : "0.16.30",
|
||||
"version" : "0.16.31",
|
||||
"title" : "Rampant",
|
||||
"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, reinforcements, counterattacking, breaching, raids, rallying death cry, and player hunting. Uses nonhoming blockable biter projectiles. Adds new Enemies (disabled by default). Can completely replace the vanilla AI. Difficulty setting in mod options menu.",
|
||||
"dependencies" : ["base >= 0.16.43", "? bobenemies", "? Natural_Evolution_Enemies", "? Clockwork", "? Orbital Ion Cannon"]
|
||||
"dependencies" : ["base >= 0.16.43", "? bobenemies", "? Natural_Evolution_Enemies", "? Clockwork", "? Orbital Ion Cannon", "? RampantArsenal"]
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ constants.VERSION_41 = 41
|
||||
constants.VERSION_44 = 44
|
||||
constants.VERSION_51 = 51
|
||||
constants.VERSION_57 = 57
|
||||
constants.VERSION_65 = 65
|
||||
constants.VERSION_66 = 66
|
||||
|
||||
-- misc
|
||||
|
||||
@ -347,22 +347,22 @@ local function roundToNearest(number, multiple)
|
||||
end
|
||||
|
||||
local tiers5 = {}
|
||||
local tiers10 = {}
|
||||
|
||||
local tierStart = settings.startup["rampant-tierStart"].value
|
||||
local tierEnd = settings.startup["rampant-tierEnd"].value
|
||||
|
||||
|
||||
local step5 = (tierEnd - tierStart) / 4
|
||||
for i=tierStart,tierEnd,step5 do
|
||||
tiers5[#tiers5+1] = roundToNearest(i, 1)
|
||||
local function buildTier(size, tiers)
|
||||
local step = (tierEnd - tierStart) / (size - 1)
|
||||
local i = tierStart
|
||||
for _=1,size do
|
||||
tiers[#tiers+1] = roundToNearest(i, 1)
|
||||
i = i + step
|
||||
end
|
||||
end
|
||||
|
||||
local tiers10 = {}
|
||||
|
||||
local step10 = (tierEnd - tierStart) / 9
|
||||
for i=tierStart,tierEnd,step10 do
|
||||
tiers10[#tiers10+1] = roundToNearest(i, 1)
|
||||
end
|
||||
buildTier(5, tiers5)
|
||||
buildTier(10, tiers10)
|
||||
|
||||
constants.TIER_UPGRADE_SET_5 = tiers5
|
||||
constants.TIER_UPGRADE_SET_10 = tiers10
|
||||
|
Loading…
Reference in New Issue
Block a user