From cc1291153c9c81bad2bc4acc8f6fdb0eda889ca8 Mon Sep 17 00:00:00 2001 From: Evan Date: Wed, 12 Feb 2025 12:42:30 -0800 Subject: [PATCH] make max pop 100 million on creative so it fits in the UI panel --- src/core/configuration/DefaultConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/configuration/DefaultConfig.ts b/src/core/configuration/DefaultConfig.ts index 5ea97ff8f..2c21ee40a 100644 --- a/src/core/configuration/DefaultConfig.ts +++ b/src/core/configuration/DefaultConfig.ts @@ -371,7 +371,7 @@ export class DefaultConfig implements Config { maxPopulation(player: Player | PlayerView): number { let maxPop = player.type() == PlayerType.Human && this.creativeMode() - ? 999_999_999_999 + ? 1_000_000_000 : 2 * (Math.pow(player.numTilesOwned(), 0.6) * 1000 + 50000) + player.units(UnitType.City).length * this.cityPopulationIncrease();