I'll run with #884 today.
Spiffy
Can't you edit your posts to delete attachments? If not let me know and I can delete interim version.
Did so, was just trying to tell myself what to do next, and note that it had happened, so that if people with way too much time on their hands were reading through and wondering what happened to the attachments that the posts say should be there, they'd get some input.
If I have used mall_price to determine my course of action, I am content to let the function acquire actually obtain the item because it is smarter than I am when it comes to make/buy decisions in KoL. I realize that ED does get fiddly about Hagnk's pulls and so on but if ED gets to the point where it expects to either make or buy the item then I have no problems if it is somehow suboptimal to defer the decision to acquire.
I agree a speculative version of acquire that actually reported what it would do to obtain the item would be extremely useful. I'm not prepared to write it yet and I'm not sure it can be easily done in ash.
Yeah... I'm using the same order for getting ingredients that the normal acquisition uses, save that I made the order as follows:
1) Own already (Inventory)
2) Closet
3) NPC Stores
4) Mall
5) Create
Normal order is:
1) Own (Inventory)
2) Closet
3) Make (except digital KLP, should probably skip star KLP as well)
4) Storage
5) NPCs
6) Mall
Basically, I put creating ingredients to make ingredients from step 3 to the end of the list... It saves a few server hits and so on, but it does mean you'll end up with more ingredients in the end. I'd be sort of tempted to move it above the mall, at least... if it's available from NPCs, that's probably cheap... but making it yourself may be even cheaper.
It all goes to the whole question of what's how expensive. Buying grapes and fermenting powder from the mall will cost you 170, buying fine wine will cost 132. Even if you have the stores fully available, it'll cost 140 to buy the items and craft it yourself... As such, it's cheaper to just buy it rather then craft it. How much do we care about making it save meat? Do we just care about making it get good stuff, or do we want it to scrimp and save as well?
Edit: The direct problem with using 'acquire' is that we're using EatDrink's preferences for getting items, not the normal mafia preferences. As such, to make mafia preferences work, we'd need to override the mafia settings and fix them when done...