Description:
Tweak some settings Make upkeep more expensive, planting/clearing cheaper, and large corporate contracts take up more land.
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r294:b024346e385e -

@@ -124,7 +124,7
124 124 }
125 125
126 126 foreach (var (entity, status) in ReadEntities<AreaComponent>().SelectWhereF((e) => (e, GetComponent<ContractStatusComponent>(e)),
127 (e) => (e.Item2.status != ContractStatus.Expired))
127 (e) => ((e.Item2.status != ContractStatus.Broken) && (e.Item2.status != ContractStatus.Expired)))
128 128 )
129 129 {
130 130 var entitySquares = GetComponent<AreaComponent>(entity).squares;
@@ -143,7 +143,7
143 143
144 144 int max_squares = (organization_type, message.min_squares) switch {
145 145 (OrganizationType.Family, null) => random_generator.Next(50, 100),
146 (OrganizationType.LargeCorporation, null) => random_generator.Next(75, 125),
146 (OrganizationType.LargeCorporation, null) => random_generator.Next(90, 200),
147 147 (OrganizationType.Cooperative, null) => random_generator.Next(50, 75),
148 148 (_, null) => random_generator.Next(DEFAULT_MIN_SQUARES, DEFAULT_SQUARES),
149 149 _ => (message.max_squares == 0) ? DEFAULT_SQUARES : message.max_squares
@@ -53,8 +53,8
53 53 private const float NEIGHBOR_NEW_TREE_CHANCE = 0.995f;
54 54 private const float NEIGHBOR_CROWDS_TREE_CHANCE = 0.995f;
55 55
56 public const int TREE_PLANT_COST = 750;
57 public const int TREE_CLEAR_COST = 500;
56 public const int TREE_PLANT_COST = 500;
57 public const int TREE_CLEAR_COST = 250;
58 58
59 59 public const int MAX_TREES_TO_PLANT = 25;
60 60 public const int MAX_TREES_TO_CLEAR = 25;
@@ -296,7 +296,7
296 296 trees = this.map.tree_count,
297 297 subsidy = 1000,
298 298 contracts = this.contracts,
299 upkeep = this.map.tree_count * 1,
299 upkeep = (int)(this.map.tree_count * 1.5),
300 300 tree_planting = this.tree_planting * Simulation.TREE_PLANT_COST,
301 301 tree_clearing = this.tree_clearing * Simulation.TREE_CLEAR_COST
302 302 };
You need to be logged in to leave comments. Login now