Based on deca:https://github.com/kk49/deca and https://github.com/Zhouzp2115/cotw-population-mod
Turn your luck around, or better, force your luck by modifying your population files.
The goal of this script is to modify your population files so all your maps have at least one diamond of each species. If a particular animal type has a great one implemented, you will have a great one.
It's up to you to find them1.
As oftenalways, consider running this in a virtual environment.
I tested using Python 3.9.13 with VSCode on Windows 11. your mileage may vary should you try a different setup.
- install dependencies
pip install -r requirements.txt
- copy your population files into the
data
folder - in a vscode terminal, run
python .\upgrade_population.py
- copy the modified population files back into your game folder. A backup of the original files is made in the
data
folder.
This project is far from finished. It works. However, ideas are endless but time is not.