Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds speed-related module calculation into the module autofill. The main motivation is that previously bio/alien modules did not work with autofill because they only provide speed stats and have no effect on productivity or energy. This PR uses the cost of buildings as a way to model the benefit of using speed-related modules. From my testing, it works well with pY and vanilla. In vanilla, a speed module is preferred only when the payback time is less then an hour. After that, the Efficiency Modules are preferred, which is similar to the behavior before this PR. <img width="1510" alt="Screenshot 2024-09-12 at 7 28 25 PM" src="https://github.com/user-attachments/assets/50c7ac53-9321-425f-9f45-9c94b22818e8"> <img width="1263" alt="Screenshot 2024-09-12 at 7 25 10 PM" src="https://github.com/user-attachments/assets/e124f5ef-6ada-4367-8bff-b5d8a27d487f" >
- Loading branch information