Open Malaras opened 1 year ago
I have not done in depth testing, but from a short look at the code, FieldLease uses the farmland.price attribute to calculate the lease price. Since I adjust that attribute, whenever the price changes, FieldLease should work with those updated prices just fine.
I did not find a github for them, if you have any additional info, feel free to correct me.
I'm also not sure, because every leased field becomes an owned field on next load of the savegame. Something is interfering,.
Edit:
There is no "isLeased" written to the farmland.xml at all.
I assume that FS22_FieldLease.zip\gui\InGameMenuFieldLease.lua
function InGameMenuFieldLease:farmlandManagerSaveToXmlFile(xmlFilename)
should do that job.
But could you make compatible with this mod. Going to ask same of them if they have github.
https://farming-simulator.com/mod.php?lang=en&country=us&mod_id=235184&title=fs2022