Skip to content

Commit

Permalink
Make Base Training Fee configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
severedsolo committed May 23, 2020
1 parent 802b08d commit a5da848
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
26 changes: 3 additions & 23 deletions .idea/.idea.Bureaucracy/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Bureaucracy/SettingsClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ private void OnLoad(string path)
double.TryParse(cn.GetValue("RetirementExtensionFactor"), out RetirementExtensionFactor);
int.TryParse(cn.GetValue("MinimumTerm"), out MinimumTerm);
int.TryParse(cn.GetValue("MaximumTerm"), out MaximumTerm);
int.TryParse(cn.GetValue("BaseTrainingFee"), out BaseTrainingFee);
}
if (RefreshBudget())
{
Expand Down Expand Up @@ -193,6 +194,7 @@ private void OnSave(string path)
cn.SetValue("RetirementExtensionFactor", RetirementExtensionFactor, true);
cn.SetValue("MinimumTerm", MinimumTerm, true);
cn.SetValue("MaximumTerm", MaximumTerm, true);
cn.SetValue("BaseTrainingFee", BaseTrainingFee, true);
cn.SetValue("TimeBetweenBudgetsDays", TimeBetweenBudgets, true);
cn.SetValue("RepToFundsMultiplier", BudgetMultiplier, true);
cn.SetValue("ScienceToFundsMultiplier", ScienceMultiplier, true);
Expand Down

0 comments on commit a5da848

Please sign in to comment.