Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Economy balance tweaks #1809

Merged
merged 4 commits into from
Nov 30, 2024
Merged

Economy balance tweaks #1809

merged 4 commits into from
Nov 30, 2024

Conversation

ineveraskedforthis
Copy link
Contributor

  • Less greedy artisans
  • Need weights are set to 1 to encourage consumption of actual goods instead of coal
  • Cull trade routes more aggressively to avoid 1 Jan freeze
  • Tweak some numbers

@@ -1028,6 +1028,7 @@ void rebalance_needs_weights(sys::state& state, dcon::market_id n) {
}
auto& w = state.world.market_get_life_needs_weights(n, c);
w = ideal_weighting * state.defines.alice_need_drift_speed + w * (1.0f - state.defines.alice_need_drift_speed);
w = 1.f;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to write this? It seems to completely discard the previous calculation. If you want to keep the old calculation around, I suggest commenting it out so that the linter won't complain

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the plan was to discard it. Will comment out old calculation.

@schombert schombert merged commit 683c1b4 into schombert:main Nov 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants