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

Add: Four alternative town cargo generation methods #6965

Open
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@nielsmh
Contributor

nielsmh commented Nov 8, 2018

EarthlingKira identifies and proposes three patches to solve the issue of town buildings producing cargo amounts quadratic on their size in this thread: https://www.tt-forums.net/viewtopic.php?f=33&t=82463

This patch adds those three alternatives, along with a fourth alternative which should produce something closer to a normal distribution of generated cargo amounts, width of the distribution linear on the house size.

Running simulations of the algorithms typically produces results similar to this:
image

nielsmh added some commits Nov 7, 2018

Add: Four alternative town cargo generation methods
EarthlingKira identifies and proposes three patches to solve the issue of town buildings producing cargo amounts
quadratic on their size in this thread: <https://www.tt-forums.net/viewtopic.php?f=33&t=82463>

This patch adds those three alternatives, along with a fourth alternative which should produce something closer
to a normal distribution of generated cargo amounts, width of the distribution linear on the house size.
@nielsmh

This comment has been minimized.

Contributor

nielsmh commented Nov 8, 2018

Some preliminary playtesting is positive, but lots of people probably need to play lots of games with these new algorithms to test their worth.

In the meantime, here's a simulation in Python that shows how the various algorithms perform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment