Community Forum

Mod to turn hay into straw

Forum Overview >> Farming Simulator 22

CategoryFarming Simulator 22
Created16.10.2022 02:29

Lena Cody (trenidor) 16.10.2022 02:29
I'm trying to make a mod that turns hay into straw after a number of months but I don't understand the documentation to know which functions I should be using. Could someone point me to the right functions?

The mod will work like this:
When a bale is created (grass or hay) it is given a countdown integer.

Every month (or part of the month) the countdown timer is reduced by 1 (or part of 1).

If at the start of the day, the countdown is 0, the bale turns into a straw bale.

Any help would be appreciated.

EDIT: This is no longer neede,d I think I figured out a way to do what I'm trying to do.

Note: Log in to post. Create a new account here.