Antipasta wrote:The most awesome addition would be a calculation where you could give it a budget, and it would spit out the optimal diet for you, allocating your spending on food vs. booze vs. spleen... farmers would love that. I would love it, and I'm no farmer!
The brackets are cool, but too wide to really optimize.
(btw, handful of nuts and berries, which was my favorite food as a myst class, is a lot cheaper than 7175 meat per serving.)
That's nuts + a munchies pill - without it they're never optimal for adventures ;)
And that's what the list does - the diets are actually optimal(*) at any point within the brackets. You can get more adventures with some other choices, but doing so is never profitable.
(*) Given that there are no bugs, the prices used to calculate them are precisely correct, and that you have no organ of steel. In practice they're reasonably correct since slight price differences normally only modify which adventure-equivalent item to use, and extrapolating to include organs works reasonably well.
Onto some explanation of why they're optimal under these assumptions:
There are a ton of possible diets, measured as the maximum number of turns you could get with X meat. Among these, only some are reasonable. E.g. considering only food you can get:
Code: Select all
42.5 adventures from 5x cursed sea biscuit = 500 meat
50 adventures from 6x savoy truffle + 1x crimbo pie = 1600 meat
56.67 adventures from milk + 5x cursed sea biscuit = 1825 meat
The list says that 5 biscuits is optimal from 11.8 - 93.5, and milk + biscuits from 93.5 to 120 (incidentally this is true for both food-only and as part of a complete diet, since there are no interactions between food groups until you hit pickle juice).
Now let's say you have 1700 meat to spend on food, what should you get?
Let's say you spend it on the truffles and pie, since that's the best diet you can afford. Then you get 50 adventures, and lose 1600 meat. This is pretty good as long as you value turns at more than 32 meat each.
Let's say you make exactly 32 meat per turn. Then it's
42.5 * 32 - 500 = 860 you gain meat with biscuits
50 * 32 - 1600 = 0 nothing for truffles + pie
56.67 * 32 - 1825 = -11,66 you lose meat with milk
So you should be using biscuits if that's your meat/turn.
Now let's look at 93.53 meat per turn:
42.5 * 93.53 - 500 = 3475
50 * 93.53 - 1600 = 3076
56.67 * 93.53 - 1825 = 3475
Truffles has not caught up with biscuits yet, while biscuits + milk already has. At higher meat/adv than this, biscuits + milk will continue to get better faster than truffles + pie.
Now if you desperately need just 50 turns, then truffles + pie would be cheaper than biscuits + milk (well not really because the RNG would screw you anyway ;)), but normally that doesn't matter very much. (I generated the full list though if there's any interest, it's 1851 lines for no organ of steel.)