Crowther
Active member
The Florist is a buff, right?
I've no illusions this script is any good, but it's a start and I expect someone else to post a much better script soon enough. So, no version numbers and no SVN archive. It's finally good enough to save me time and it's not bad on server hits, so it's time to share.
INSTALL: Download and save into your scripts. Edit the top part for the flowers you want to plant. Add an unconditional trigger in your mood(s) calling it. That's it.
You'll want to have it called in every mood. I've been using it with BumCheek's ascend script and that only took a one line change to his awesome script. This margin is too small for that line.
Because there's no clean way to be sure where you last adventured when calling this scripts, it stores your location in the prevAdventure property (violating all sorts of naming conventions). Next time it's called, hopefully you've actually adventured there (by KoL's definition) and if a flower need to be planted, the script double checks with the Florist your previous adventure location, then plants flowers if it can. (I clearly suck at documentation, but this part is the messiest)
I detect and report all the problems I could think of. Flower spots already filled with the wrong flowers. Flowers unavailable, because they'd already been planted that day. And more. There's no flexibility about which flower is in which slot. The script will complain over and over if the flowers at a location are planted in the wrong order by someone else, even if it's exactly the right set of flowers.
Feel free to discuss flower planting strategy too. The ones I put in there are mostly what I planted manually in BIG! with one or two more added. I make no claim to them being right for anyone, not even me. I'm not sure it's going to be easy (or possible) to find a set of plantings that covers a significant percent of people.
Take my script, please!
EDIT: I forgot. Thanks to everyone who worked so hard to put all the support functions into mafia. Seriously, that's the hardest part, for sure. This script is just some glue.
I've no illusions this script is any good, but it's a start and I expect someone else to post a much better script soon enough. So, no version numbers and no SVN archive. It's finally good enough to save me time and it's not bad on server hits, so it's time to share.
INSTALL: Download and save into your scripts. Edit the top part for the flowers you want to plant. Add an unconditional trigger in your mood(s) calling it. That's it.
You'll want to have it called in every mood. I've been using it with BumCheek's ascend script and that only took a one line change to his awesome script. This margin is too small for that line.
Because there's no clean way to be sure where you last adventured when calling this scripts, it stores your location in the prevAdventure property (violating all sorts of naming conventions). Next time it's called, hopefully you've actually adventured there (by KoL's definition) and if a flower need to be planted, the script double checks with the Florist your previous adventure location, then plants flowers if it can. (I clearly suck at documentation, but this part is the messiest)
I detect and report all the problems I could think of. Flower spots already filled with the wrong flowers. Flowers unavailable, because they'd already been planted that day. And more. There's no flexibility about which flower is in which slot. The script will complain over and over if the flowers at a location are planted in the wrong order by someone else, even if it's exactly the right set of flowers.
Feel free to discuss flower planting strategy too. The ones I put in there are mostly what I planted manually in BIG! with one or two more added. I make no claim to them being right for anyone, not even me. I'm not sure it's going to be easy (or possible) to find a set of plantings that covers a significant percent of people.
Take my script, please!
EDIT: I forgot. Thanks to everyone who worked so hard to put all the support functions into mafia. Seriously, that's the hardest part, for sure. This script is just some glue.
Attachments
Last edited: