# HG changeset patch # User Alys Brooks # Date 2021-06-06 09:05:57 # Node ID b024346e385e4660c458a1fe9412abd2e66409b4 # Parent e8792e669968af2808519cccc7e2689c8fa61e48 Tweak some settings Make upkeep more expensive, planting/clearing cheaper, and large corporate contracts take up more land. diff --git a/isometric-park-fna/Engines/Spawners/ContractSpawner.cs b/isometric-park-fna/Engines/Spawners/ContractSpawner.cs --- a/isometric-park-fna/Engines/Spawners/ContractSpawner.cs +++ b/isometric-park-fna/Engines/Spawners/ContractSpawner.cs @@ -124,7 +124,7 @@ } foreach (var (entity, status) in ReadEntities().SelectWhereF((e) => (e, GetComponent(e)), - (e) => (e.Item2.status != ContractStatus.Expired)) + (e) => ((e.Item2.status != ContractStatus.Broken) && (e.Item2.status != ContractStatus.Expired))) ) { var entitySquares = GetComponent(entity).squares; @@ -143,7 +143,7 @@ int max_squares = (organization_type, message.min_squares) switch { (OrganizationType.Family, null) => random_generator.Next(50, 100), - (OrganizationType.LargeCorporation, null) => random_generator.Next(75, 125), + (OrganizationType.LargeCorporation, null) => random_generator.Next(90, 200), (OrganizationType.Cooperative, null) => random_generator.Next(50, 75), (_, null) => random_generator.Next(DEFAULT_MIN_SQUARES, DEFAULT_SQUARES), _ => (message.max_squares == 0) ? DEFAULT_SQUARES : message.max_squares diff --git a/isometric-park-fna/Simulation.cs b/isometric-park-fna/Simulation.cs --- a/isometric-park-fna/Simulation.cs +++ b/isometric-park-fna/Simulation.cs @@ -53,8 +53,8 @@ private const float NEIGHBOR_NEW_TREE_CHANCE = 0.995f; private const float NEIGHBOR_CROWDS_TREE_CHANCE = 0.995f; - public const int TREE_PLANT_COST = 750; - public const int TREE_CLEAR_COST = 500; + public const int TREE_PLANT_COST = 500; + public const int TREE_CLEAR_COST = 250; public const int MAX_TREES_TO_PLANT = 25; public const int MAX_TREES_TO_CLEAR = 25; @@ -296,7 +296,7 @@ trees = this.map.tree_count, subsidy = 1000, contracts = this.contracts, - upkeep = this.map.tree_count * 1, + upkeep = (int)(this.map.tree_count * 1.5), tree_planting = this.tree_planting * Simulation.TREE_PLANT_COST, tree_clearing = this.tree_clearing * Simulation.TREE_CLEAR_COST };