vcon is a library that can be used to implement a diet planner.
Based on your valueOfAdventure, it will look at all items that give adventures in exchange for liver/stomach/spleen and calculates the most cost effective consumable/per size for each organ. A diet planner could use that information and determine how to fill your various organs.
vcon also provides
calculate_diet( consumables_by_size candidates, int capacity )
, given a list of candidates for a single organ and the size you want to fill.
- it does not know about organ cleansers (hobopolis/batfellow items, mojo filters).
- it does not know about items that grant adventures without filling organs. (chocolates, blue mana + Ancestral Recall)
- it does not take items that provide Meat or Item buffs into account, since it does not know if you are Meat or Item farming - or neither.
I wrote it because VMF needed something better for planning a diet than the hard-coded consumables I started with.
And I was not willing to trust a 3rd-party script to do it for me.
eat_drink was the first published diet planner, I believe. I have never even looked at it.
VMF has a bespoke diet planner in it that uses vcon's
calculate_diet
. It has a function
fill(ORGAN)
which has a few hard-coded things in it: if you have jumping horseradishes - which you can generate 5 per day with free adventures and have a good meat buff - it considers them. (It also considers Dinsey food cones - if you have FunFunds and are farming Barf - for the Meat buff. I have just put that under a config property, since I now think I might be better off using my FunFunds for day passes - especially for characters who have to use day passes to go there.)
VMF's
eat_up
,
drink_up
and
spleen_up
functions cast Ode, use milk of magnesium, use Mayoflex, if appropriate, use (some of) your spleen for Sweet Synthesize and spacing out Calculate the Universe, if needed, and so on.
I am considering extracting VMF's diet planner + consumer into a stand-alone script - at least down to
fill
and
consume
, which use drink(), eat_food(), and chew() - which I can configure and tune as desired and use for different purposes.
For example, I am currently involved in a big spading project with the Beach Comb - whose turns generate no Meat. What IS my ValueOfAdventure for this project?
For you, I think I would recommend soolar's CONSUME - although I have never used that, either. It does all the things you asked about, and seems to be well supported and popular. And it is a stand-alone diet planner - and CONSUMER - unlike vmf's which is currently built-in to VMF.