Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add missing production time help texts #3791
I wanted to create a Graphviz tree to get an overview of how long resources take to produce, when I noticed that only the production times of the food chain (and not even all) are given in the help texts. For many production buildings, the production time is missing in the help texts - or wrong (e.g. Empire Inn, helptexts says (48s on average for a meal OR a ration) or (85s for both), program is 33s and 40s).
Minimum: Fill out the remaining missing production times as defined in the building programs and fix incorrect times.
Optional: create a tool that automatically fills out the remaining production times by parsing the building programs and calculating the absolute time for all produced wares. (No differentiation between cases like rations are skipped, only meals are prepared. Absolute time assume that all wares are needed.)
Optional to the optional: create a tool that creates said Graphviz tree for me. Here's an example, although it probably won't look like this since I left out some connections for better readability.
Optional to the optional
The result is probably not pretty - it's probably a bit clustered - but it's a start.
This is my first created issue on a project that is not mine, please help me out with any formal and non formal errors I made. I would also be very glad to start working on the issue, I have already cloned the repo and looked at the files a bit. I did not start working on it yet, since there seem to be too many inconsistencies between comments and the actual programs that I can be sure what I write is correct.
Inconsistencies I noticed:
where does the 3.6 come from? This happens at a lot of other places as well, but not at all.
Whenever you see the magic number 3.6 anywhere you can be sure that it refers to the time a worker needs to walk one field far and back. I.e. it is the time the worker needs to drop one produced ware to the building's flag and go back in. This is another "hidden delay" which is not apparent in the program but needs to be added to the actual duration.
As far as I know the only other hidden delay are in