New and exciting development time: Run Functional Tree and Find Best Object For Function are now functional. To test this out, force both of the flowers to be wilted and water one, the sim will then immediately water the next! All with SimAntics!! Isn't that magical??
The only thing not implemented regarding these is the behavior of lockout count, which isn't important in gardening but I still need to investigate it.
NOTE: if your game randomly crashes after leaving it for a while, it's because the flowers occasionally check if they are on sale, which is a Sims Online Generic Call, which I have not yet implemented!