Program Code
From Supremacy Wiki
Source is at https://bitbucket.org/mstrobel/supremacy/
Program Code Language: C#
some code
| where | Folder | File | Function | empty | Description | Custom1 | Custom2 |
|---|---|---|---|---|---|---|---|
| S-Core | Universe | Colony.cs | GetProductionOutput(ProductionCategory category) |
see last line, too !
float moraleMod = _morale.CurrentValue / (0.5f * MoraleHelper.MaxValue);
baseOutput = (int)(moraleMod * baseOutput);
float moraleMod = _morale.CurrentValue / (0.5f * MoraleHelper.MaxValue);
baseOutput = (int)(moraleMod * baseOutput);
|