mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-18 17:53:29 +00:00
eliminate worker growth
This commit is contained in:
@@ -646,7 +646,7 @@ export class DefaultConfig implements Config {
|
|||||||
// smaller countries recieve a boost to pop growth to speed up early game
|
// smaller countries recieve a boost to pop growth to speed up early game
|
||||||
const baseAdditionRate = 10;
|
const baseAdditionRate = 10;
|
||||||
const basePopGrowthRate = 1400 / max + 1 / 175;
|
const basePopGrowthRate = 1400 / max + 1 / 175;
|
||||||
const reproductionPop = player.troops() + 1.15 * player.workers();
|
const reproductionPop = player.troops() + player.workers();
|
||||||
let toAdd = baseAdditionRate + basePopGrowthRate * reproductionPop;
|
let toAdd = baseAdditionRate + basePopGrowthRate * reproductionPop;
|
||||||
const totalPop = player.totalPopulation();
|
const totalPop = player.totalPopulation();
|
||||||
const ratio = Math.max(1 - totalPop / max, 0);
|
const ratio = Math.max(1 - totalPop / max, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user