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:
parent
8858651e95
commit
7b30b816c4
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user