Skip to content
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

GEO growth.xml functions/parameter explanation #628

Open
ExocetC3i opened this issue Oct 6, 2017 · 1 comment
Open

GEO growth.xml functions/parameter explanation #628

ExocetC3i opened this issue Oct 6, 2017 · 1 comment
Assignees
Labels

Comments

@ExocetC3i
Copy link

ExocetC3i commented Oct 6, 2017

Hoping I can get some clarification from those in the know on an explanation for the meaning and use of the functions/parameters in the growth.xml file for developing a GEO mod. Having looked through a few of the GEO mods to see how growth.xml is set up, I can see that within each of the growth transitions for each fruit there are seven available parameters. Below is my best understanding of how they work, and the potential values they take in the default growth file. However, I'm having a hard time wrapping my head around how they all work together and if I understand the use of the parameters correcly.

  • normalGrowthState="{1,...,7}": If 1 then fruit can be sown, values of 2-7 set the typical schedule of growth for the fruit. Can a fruit grow to a state that exceeds the specified normalGrowthState value? Also,
  • normalGrowthMaxState="{1,...,6, MAX_STATE}": Sets the maximum acheivable growth stage during the GT, i.e. prevent fruit from growing too fast to hit designated harvest periods
  • setGrowthState="{1,2,4}": If 1 then set field to state defined by desiredGrowthState. 2 only seems to be used for grass in Spring1-Spring2 GT. State 4 used in default growth.xml in Autumn3-Winter1 to CUT or WHITHER any crops that remain on the field.
  • desiredGrowthState="{CUT, WITHERED}": Used in conjunction with setGrowthState="1" to set a field to CUT or WITHERED state (i.e. if trying to sow a field outside of planting season or kill any remaining crops after final harvest GT)
  • Last three are all related to an extra growth function which seems to be used to speed up growth during the summer period following germination.
    • extraGrowthFactor="{2}": speeds up growth of a fruit during a GT by the indicated number of stages, i.e., a fruit at stage 3 will advance to stage 5 after this GT (2 stages) rather than just 1 to 4.
    • extraGrowthMinState="{2,3}": minimum growth state a fruit must be in to have the `extraGrowthFactor' applied.
    • extraGrowthMaxState="{4,5}": maximum growth state a fruit can be in to have `extraGrowthFactor' applied. Check against overly advancing a fruit's growth?

While I realize a full tutorial on building a GEO mod is likely one of many, many projects to be completed in Seasons, any explanations, corrections, or elaborations on the growth.xml parameters here would be of great help to the community.

Thanks as always to the RealismusModding team for their hard work on a game-changing mod.

@joskuijpers
Copy link
Member

See #659

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants