i cant make sense of the math equasion for the time it takes to fully mature.`
m_FullMaturityTime += Math.RandomInt(-60,180);
float divided = /*(float) ((60 * 5) + Math.RandomInt(0, 60 * 1)) / fertility;*/ m_FullMaturityTime;`
as far as i understand it, here it only gets a number added on top of the time that needs to be calculated or taken from somewhere else, but i cant find where the values are taken from.
the rest of the script doesnt have a calculation anywhere. and i dont see a new line in the configs of the plants that would indicate such a value.
i already asked other scripters and modders, but noone has an idea or clue eighter
Description
Description
Details
Details
- Severity
- None
- Resolution
- Open
- Reproducibility
- N/A
- Operating System
- Windows 7
- Category
- General
Event Timeline
Comment Actions
m_FullMaturityTime += Math.RandomInt(-60,180);
float divided = /*(float) ((60 * 5) + Math.RandomInt(0, 60 * 1)) / fertility;*/ m_FullMaturityTime;
Comment Actions
Hello Streatman.
The values are taken from cultivation.c, specifically:
class Plant_Potato : PlantBase { void Plant_Potato() { m_FullMaturityTime = 2850; } };
This is supposed to be set up for each plant differently.
Regards,
Geez