If you are interested in creating customized crop calendars for each of your savegames, please try out version 1.0.0.7 of RealLifeNumbers.
RealLifeNumbers is a collection of independent scripts. You can comment out the ones you don't want to use in the modDesc.xml file.
The cropGrowth script just asks you to specify the seed month and the harvest month for each crop in an xml file. The script will then adjust the growth transitions accordingly.
The script has been tested on a few scenarios. But the number of scenarios is almost infinite, so let me know if you come across something that doesn't work.
Warning. The script may alter the harvest month of your crops. Crops that are already seeded in your game may not reach the harvest state in the correct harvest month. This is a transitional challenge. Crops seeded after activation of the script will progess as intended.
Here is a view of the xml file with a winter and a spring crop cycle for oat and two sequential cycles for potato.
Code: Select all
<fruit name="oat">
<cycle1 seedMonth="9" harvestMonth="6" firstDormantMonth="11" lastDormantMonth="1" />
<cycle2 seedMonth="4" harvestMonth="8" firstDormantMonth="0" lastDormantMonth="0" />
<options autoGenerate="true" needsRolling="true" growthRequiresLime="true" consumesLime="true"/>
</fruit>
<fruit name="potato">
<cycle1 seedMonth="3" harvestMonth="6" firstDormantMonth="0" lastDormantMonth="0" />
<cycle2 seedMonth="7" harvestMonth="10" firstDormantMonth="0" lastDormantMonth="0" />
<options autoGenerate="true" needsRolling="false" growthRequiresLime="true" consumesLime="true"/>
</fruit>
You can use one cycle for fall seeding and another for spring seeding. You can have two parallel cycles with different spring seeding months, or you can have two sequential cycles, one in early spring and one starting mid summer (like for potato in the table above).
Here is a growth transition table as it is printed to the log file. The numbers in the table are growth states.
Code: Select all
= Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
WHEAT cycle- 1 2 2 3 4 5 7 8 9 9 1 2 2
WHEAT cycle- 2 9 9 9 1 2 3 7 8 9 9 9 9
BARLEY cycle- 1 2 2 3 4 5 6 7 8 8 1 2 2
BARLEY cycle- 2 8 8 8 1 2 3 6 7 8 8 8 8
CANOLA cycle- 1 2 2 3 4 5 6 8 9 10 1 2 2
CANOLA cycle- 2 10 10 1 2 3 4 5 8 9 10 10 10
OAT cycle- 1 2 2 2 3 4 5 6 6 1 2 2 2
OAT cycle- 2 6 6 6 1 2 3 4 5 6 6 6 6
MAIZE cycle- 1 8 8 8 1 2 3 4 5 6 7 8 8
MAIZE cycle- 2 8 8 8 8 1 2 3 4 5 6 7 8
SUNFLOWER cycle- 1 9 9 9 1 2 3 4 5 6 7 8 9
SUNFLOWER cycle- 2 9 9 9 1 2 3 4 5 6 7 8 9
SOYBEAN cycle- 1 8 8 8 1 2 3 4 5 6 7 8 8
SOYBEAN cycle- 2 8 8 8 8 1 2 3 4 5 6 7 8
POTATO cycle- 1 7 7 1 2 5 6 7 7 7 7 7 7
POTATO cycle- 2 7 7 7 7 7 7 1 2 5 6 7 7
SUGARBEET cycle- 1 9 9 1 2 2 3 4 5 6 7 8 9
SUGARBEET cycle- 2 9 9 1 2 2 3 4 5 6 7 8 9
SUGARCANE cycle- 1 9 9 9 9 9 1 2 7 8 9 9 9
SUGARCANE cycle- 2 9 9 9 9 9 1 2 7 8 9 9 9
COTTON cycle- 1 10 10 10 10 10 1 2 8 9 10 10 10
COTTON cycle- 2 10 10 10 10 10 1 2 8 9 10 10 10
SORGHUM cycle- 1 6 6 6 1 2 3 4 5 6 6 6 6
SORGHUM cycle- 2 6 6 6 6 1 2 3 4 5 6 6 6
The mod is available as a direct download from www.modhoster.com.
The mod is not written for multiuser game and has not been tested in multiuser mode.
Edit don_apple: topic moved from "General Discussion" to "Guides & Tipps".