minhnhatx wrote: ↑Sun Dec 12, 2021 7:28 am
Thank you! Please test this. It's supposed to change soil growth speed, quality, and health for all plots in center field. We're close to getting a super soil script.
I should have a chance to test it later tonight I hope. As for making an absurdly supersoil code, I'll share in case it helps, this original switch code.
40010000 00000000 2DDA22A0
300E0000 00000012
04110000 00000000 7FDFF7FF
04110000 00000004 FFFFFDFF
04110000 00000008 FFFFFFFF
04110000 0000000C FFFFFFFF
78010000 00000010
310E0000
Without getting in-depth about it, the line *my* codes all mess with is the address its setting to "7FDFF7FF". The next three lines are the same address, but 4 bytes later, 8 bytes later, C bytes later, respectively, inserting those values. So hypothetically we could plug all those values in for some absolutely *ridiculous* soil growth.
I haven't done this 'cause my goal was just to simulate a well-drugged well-cared-for farm, not a crazy crack cocaine impossible super farm, heh. Also since those lines alter the field level itself I'm not sure how to go about reverting it later if someone saves, so I don't dare to screw with it before I understand why certain values translate/do certain things...
Edit: Tested it, working great, thank you very much! Could you split the functions out individually by chance? I've decided that having infinite max growth for free was uh... exceptionally broken; what's more it sped up the farming so much that I was harvesting *too fast* and having to replant and hoe and everything every day to keep the farm busy and left no time for other things in the game-day... think i'd rather only have the crazy speed when I'm intentionally growing things fast. Also, you have the health set to 200 instead of the max of 255. It doesn't matter so long as it's not going down tbh, but out of personal curiosity was that intentional because it was interacting with some other stat too, or just a personal choice? The whole thing works so *weirdly* I can't help but wonder...
Related, bottom left field is x98 for the first offset instead of x90, everything else the exact same. This actually gives me a good chunk of hope that a similar script for every field will be trivial once we progress far enough to have all the farms.
I'm in the same boat as you that I haven't gotten very far because all my game time is being spent messing with stuff though so the other fields are gonna have to wait, heh.