1
0
mirror of https://github.com/veden/Rampant.git synced 2025-01-14 02:23:01 +02:00

FACTO-204: Increased minimum evolution for adaptation and increased

death threshold
This commit is contained in:
Aaron Veden 2022-07-09 20:52:44 -07:00
parent 8858651e95
commit 7b30b816c4
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
3 changed files with 10 additions and 8 deletions

View File

@ -629,7 +629,7 @@ function upgrade.attempt(universe)
local minDiffuse = game.map_settings.pollution.min_to_diffuse
universe.pollutionDiffuseMinimum = minDiffuse * 0.75
game.print("Rampant - Version 3.1.3")
game.print("Rampant - Version 3.2.0")
end
return (starting ~= global.version) and global.version

View File

@ -1,7 +1,7 @@
{
"name" : "Rampant",
"factorio_version" : "1.1",
"version" : "3.1.3",
"version" : "3.2.0",
"title" : "Rampant",
"author" : "Veden",
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",

View File

@ -177,16 +177,18 @@ local function processBase(universe, base, tick)
end
if universe.NEW_ENEMIES then
local deathThreshold
local deathThreshold = 0
local evolutionLevel = universe.evolutionLevel
if (evolutionLevel < 0.5) then
deathThreshold = 4500
if (evolutionLevel < 0.2) then
base.deathEvents = 0
elseif (evolutionLevel < 0.5) then
deathThreshold = 17000
elseif (evolutionLevel < 0.7) then
deathThreshold = 7500
deathThreshold = 34000
elseif (evolutionLevel < 0.9) then
deathThreshold = 11000
deathThreshold = 60000
else
deathThreshold = 16000
deathThreshold = 100000
end
deathThreshold = universe.adaptationModifier * deathThreshold