Skip to content

Commit

Permalink
feat: disable pollution in cost calculations
Browse files Browse the repository at this point in the history
Most Pyanodons' users play without pollution. If they do play with pollution, then they likely use other apps to figure out which recipe to use.

Closes #111
  • Loading branch information
shpaass committed May 8, 2024
1 parent 3e8e02e commit 77bcdc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Yafc.Model/Analysis/CostAnalysis.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static CostAnalysis Get(bool atCurrentMilestones) {
private const float CostPerProductPerSize = 0.2f;
private const float CostPerItem = 0.02f;
private const float CostPerFluid = 0.0005f;
private const float CostPerPollution = 0.01f;
private const float CostPerPollution = 0;
private const float CostLowerLimit = -10f;
private const float CostLimitWhenGeneratesOnMap = 1e4f;
private const float MiningPenalty = 1f; // Penalty for any mining
Expand Down

0 comments on commit 77bcdc3

Please sign in to comment.