EatDrink.ash: Optimize your daily diet (and see how your old diet stacks up).

We could do whatever we want... what I was thinking was a boolean for do/don't make box servants if it will require mall access. What we could do instead would be...
Variable is named eatdrink_hardcoreBoxen. Comment/explanation line for values is just above in the source. Default is 2, which leaves things running like currently.
0) Do not make boxen if the player is in ronin or HC.
1) Always try to make boxen, continue if it fails.
2) Always try to make boxen, abort if it fails.

The ed_hcB variable modifies the current ed_gC and ed_gB variables. If they are set to 0, ed_hcB doesn't matter. If they are set above or below 0 and you have mall access, ed_hcB won't matter unless you're REALLY poor or you've disabled mall access or something else similar, since the box retrieval code only uses the methods that the player has allowed.

Sound okay?
 
On the other hand, as somebody who has actually studied Old English and understands why "ox" pluralizes into "oxen", it really annoys me to see people imagining they are being "clever" to pluralize "box" that same way, since the latter was (probably) derived from a Latin noun and was not an Old English noun of the same category as "ox". I consider it ignorance, not cleverness. And yes, I remember "Vax" being pluralized as "Vaxen", and considering, too, as an annoying affectation...

This means I am annoyed with KoL, since it does this.

Bah.

(Name your zlib variable anything you want, but if a "boxen" setting goes into KoLmafia source, I will fix it.)
 
What about storing the total amount spent/used on consumables to a daily mafia property? This could be useful in calculating total meat-per-adventure at the end of the day, by subtracting expenses from the value of what you farmed.

Also should I be worried EatDrink entirely different consumable suggestions than houeland's diet lists for the same adventure cost?
 
Just checking... you DID set budget to something higher than the fifth lowest price for the most expensive houeland item, and stepMeat IS set to -1 or something higher than the total houeland, right? Because the http://www.houeland.com/kol/diets?v...le=tuxedo&semirares=0&ismonday=no&organ=liver page looks REALLY similar to my EatDrink aftercore, with the only exception being that I'll only generally get 3 (sometimes 4) lasagnas before it hits my 20k per step limit and moves on to something else.
 
Correct, budget is at 30k, stepMeat is at -1. The main diff is at adventure value 1500 it wants to drink a bunch of Gin Mints, which are pretty spendy, vs SGEEA martini's with the tuxedo shirt. Also it wants to use a carrot juice instead of mojo+another pixie stick but that is a lesser issue. (100k meal for 271 advs). At adv value 1400 it wants to drink bottles of wine instead (40k meal for 231 advs). Tested both with room for 2 fortune cookies 'eatdrink (13,19,15,true,true)'

Just want to make sure this all sounds normal?
 
Last edited:
Oh... SGEEAs are tuxworthy. Nobody mentioned that. We'll add that. Won't put the current version in here yet, because I'm still debugging TMIM support, but... hoping it will be fixed up soon. Or I'll scrap that. One way or the other. :)

Edit: Okay. This version should pick the 'best' TMIM as well. Oddly for me, that's not the biggest item, but... consummate corn chips is apparently 6040, consummate meat loaf is 5793. Unexpected. :) Basically, if it's the first item on the food stack, and you're AoJ, and you have TMIM, add 3*size to the total adventures before deciding and triple the stat store. It's not EXACTLY right, because that makes it seem like you can use it multiple times, but... suggestions? I'd considered adding it outside the division section, but... Eh.

Anyways, after it does that, it eats that item, tosses out the TMIM value numbers, and recalculates another stack.

Edit2: Okay... this version knows that bigger is better, similar to overdrinking. It leaves the inflated (not divided by size) number for deciding on best, and cuts it back down when printing the value. The old food-calc picked 21 adventures before. The new one picked 21 adventures as well... but on this 21, it uses the consummate meatloaf rather than consummate corn chips for its TMIM. :)
 

Attachments

Last edited:
So do we need to be manually handling shrugging buffs or putting on 4th-song equipment before running EatDrink? Looks like it can silently fail to cast Ode and continue anyway

Code:
Casting The Ode to Booze 1 times...
Selected target has the maximum number of AT buffs already.
Drinking 1 bucket of wine...
 
I tried the new TMIM version of EatDrink this morning and here is what it simulated:

Code:
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 14 booze, and 0 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 30000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Mysticality subpoint is 10.0. Nonprime stat subpoint is 2.0.
Simulating only; no purchases or food/drink/spleen consumption.
food: At 0, consuming to 15 with 47304 meat.
1: sublime deluxe hot dog lev:0 gain:6.0 adv:24.0 musc:15.0 myst:45.0 mox:15.0 meat:10 own:1 value:10542.166666666666
food: At 6, consuming to 15 with 47304 meat.
1: sublime nachos lev:0 gain:6.0 adv:24.0 musc:15.0 myst:45.0 mox:15.0 meat:10 own:1 value:6083
2: consummate toast lev:0 gain:2.0 adv:3.0 musc:15.0 myst:25.0 mox:0.0 meat:10 own:1 value:2385
3: consummate sauerkraut lev:0 gain:1.0 adv:1.0 musc:0.0 myst:25.0 mox:15.0 meat:10 own:1 value:1770
drink: At 0, consuming to 14 with 47304 meat.
1: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
2: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
3: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
4: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 15. Inebriety: 12. Spleen: 0.
Adventures: 88. Muscle: 45. Moxie: 145. Mysticality: 280.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).

Note the gain of 88 adventures.

Compared with choosing, to my eye, the best mix of food and drink created and consumed from within the item manager:

1 Loaded Baked Potato - 57 adventures (the TMIM effect)
1 Loaded Baked Potato - 35 adventures
3 Chunky Marys - 13, 12, 13 adventures
1 Mediocre Lager - 2 adventures

Total from food - 92 adventures
Total from drink - 40 adventures
Total adventure gain - 132 adventures

Thoughts?
 
I don't see any cream being used by your simulation... did you actually have any sitting in your inventory? Remember that with AoJ, you need to manually cast and get your ingredients first, such as creating and using the cosmic six-pack.

Additionally, one of the sad things about how ED works with AoJ is that because you use up your ingredients as you go, items are only available if they're still available. Sounds stupid, but what I mean is, food-pass gets all the ingredients. Drunk-pass only get stuff that's leftover. Sometimes you end up with better totals by running your booze first and then cleaning up with the starch.

In your case though, I'm guessing you never cast the cream. Possibly others as well.
 
All summons had been cast prior to running EatDrink, including Cream. I'll try it again after rollover and I'll include before and after ingredient counts.

The creation and consumption of food and drink through the item manager took place immediately after running EatDrink and no summons or turns took place to change the available ingredients.

Does EatDrink supply any additional information if I bump up the zlib verbosity?
 
Yes... set vprint to 8 or higher and your brain will be spammed out. Set it to something slightly lower and you'll get less overwhelmed. But if you want more info than makes sense, verbosity 8. :)

Also, what I do when I'm testing individual items...
ashq import <eatdrink.ash> update_from_mafia("food"); update_using_mafia("food"); foreach it in grub if (grub[it].it == $item[loaded baked potato]) print_html(value(grub[it], false, false));

Oddly, loaded baked potato isn't reading as a AoJ food item.
> ashq import <eatdrink.ash> update_from_mafia("food"); update_using_mafia("food"); foreach it in grub if (grub[it].it == $item[loaded baked potato]) print_html(value(grub[it], false, false));

> ashq import <eatdrink.ash> update_from_mafia("food"); update_using_mafia("food"); foreach it in grub if (grub[it].it == $item[consummate meatloaf]) print_html(value(grub[it], false, false));

1931.0
and... here's the full food listing for right now...
> ashq import <eatdrink.ash> update_from_mafia("food"); update_using_mafia("food"); foreach it in grub print_html(grub[it].it+": "+value(grub[it], false, false));

consummate hard-boiled egg: 1968.0
consummate fried egg: 1968.0
consummate egg salad: 1968.0
consummate bagel: 1945.0
consummate sliced bread: 1968.0
consummate hot dog bun: 1968.0
consummate brownie: 1968.0
consummate toast: 2015.0
consummate soup: 1945.0
consummate corn chips: 2015.0
consummate salad: 1968.0
consummate salsa: 2015.0
consummate sauerkraut: 1530.0
consummate cheese slice: 2015.0
consummate melted cheese: 1945.0
consummate bacon: 1968.0
consummate meatloaf: 1931.0
consummate steak: 1945.0
consummate cold cuts: 1968.0
consummate frankfurter: 1968.0
consummate french fries: 1968.0
consummate baked potato: 1945.0
consummate ice cream: 1968.0
consummate whipped cream: 2015.0
consummate sour cream: 1530.0
consummate strawberries: 1968.0
consummate sorbet: 1968.0
immaculate grilled cheese: 2595.0
immaculate ice cream sandwich: 2595.0
immaculate hot dog: 2595.0
immaculate egg salad sandwich: 2595.0
perfect sandwich: 3852.0
perfect chef salad: 3852.0
perfect breakfast: 3850.0
sublime deluxe hot dog: 5085.0
sublime stew: 5083.0
sublime nachos: 5085.0
and there's no loaded baked potato in there. Oh. Because it doesn't have its quality set. At all... quality is blank. Which means you need to use a MINIMUM_QUALITY of -1. Like this shows:
> ashq import <eatdrink.ash> MINIMUM_QUALITY=-1; update_from_mafia("food"); update_using_mafia("food"); foreach it in grub print_html(grub[it].it+": "+value(grub[it], false, false));

consummate hard-boiled egg: 1968.0
consummate fried egg: 1968.0
consummate egg salad: 1968.0
consummate bagel: 1945.0
consummate sliced bread: 1968.0
consummate hot dog bun: 1968.0
consummate brownie: 1968.0
consummate toast: 2015.0
consummate soup: 1945.0
consummate corn chips: 2015.0
consummate salad: 1968.0
consummate salsa: 2015.0
consummate sauerkraut: 1530.0
consummate cheese slice: 2015.0
consummate melted cheese: 1945.0
consummate bacon: 1968.0
consummate meatloaf: 1931.0
consummate steak: 1945.0
consummate cold cuts: 1968.0
consummate frankfurter: 1968.0
consummate french fries: 1968.0
consummate baked potato: 1945.0
consummate ice cream: 1968.0
consummate whipped cream: 2015.0
consummate sour cream: 1530.0
consummate strawberries: 1968.0
consummate sorbet: 1968.0
immaculate grilled cheese: 2595.0
immaculate ice cream sandwich: 2595.0
immaculate hot dog: 2595.0
immaculate egg salad sandwich: 2595.0
perfect sandwich: 3852.0
perfect chef salad: 3852.0
perfect breakfast: 3850.0
sublime deluxe hot dog: 5085.0
sublime stew: 5083.0
sublime nachos: 5085.0
Ultimate Breakfast Sandwich: 6338.0
Loaded Baked Potato: 6338.0
Omega Sundae: 6342.0
but that's just because nobody has submitted the right quality levels for the awesome food yet. Once that happens, it'll be there. Or just manually set your quality requirement to -1.
 
Thanks to lost, the data files are now fixed.
> ashq import <eatdrink.ash> update_from_mafia("food"); update_using_mafia("food"); foreach it in grub print_html(grub[it].it+": "+value(grub[it], false, false));

consummate hard-boiled egg: 1968.0
consummate fried egg: 1968.0
consummate egg salad: 1968.0
consummate bagel: 1945.0
consummate sliced bread: 1968.0
consummate hot dog bun: 1968.0
consummate brownie: 1968.0
consummate toast: 2015.0
consummate soup: 1945.0
consummate corn chips: 2015.0
consummate salad: 1968.0
consummate salsa: 2015.0
consummate sauerkraut: 1530.0
consummate cheese slice: 2015.0
consummate melted cheese: 1945.0
consummate bacon: 1968.0
consummate meatloaf: 1931.0
consummate steak: 1945.0
consummate cold cuts: 1968.0
consummate frankfurter: 1968.0
consummate french fries: 1968.0
consummate baked potato: 1945.0
consummate ice cream: 1968.0
consummate whipped cream: 2015.0
consummate sour cream: 1530.0
consummate strawberries: 1968.0
consummate sorbet: 1968.0
immaculate grilled cheese: 2595.0
immaculate ice cream sandwich: 2595.0
immaculate hot dog: 2595.0
immaculate egg salad sandwich: 2595.0
perfect sandwich: 3852.0
perfect chef salad: 3852.0
perfect breakfast: 3850.0
sublime deluxe hot dog: 5085.0
sublime stew: 5083.0
sublime nachos: 5085.0
Ultimate Breakfast Sandwich: 6338.0
Loaded Baked Potato: 6338.0
Omega Sundae: 6342.0
Your LBP should now show up happily. :) You can see that it properly filtered out the lousy sauerkraut, but kept the EPIC food. :D
 
Things are better but still not working as expected. I tried setting zlib verbosity = 8 but got so much output it overflowed the gCLI buffer. Setting verbosity to 5 got me this:

Code:
> call scripts\EatDrink.ash

Refreshing stash contents...
Stash list retrieved.
Internal checkpoint created.
Skipping favorites.
You're in ronin, so no shopping for you.
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 14 booze, and 0 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 30000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Mysticality subpoint is 10.0. Nonprime stat subpoint is 2.0.
Simulating only; no purchases or food/drink/spleen consumption.
Pass 1: food.
food: At 0, consuming to 15 with 53025 meat.
simulating retrieval of one Omega Sundae.
1: Omega Sundae lev:0 gain:7.0 adv:35.0 musc:25.0 myst:55.0 mox:25.0 meat:10 own:1 value:12039.57142857143
Pass 1: food.
food: At 7, consuming to 15 with 53025 meat.
No food available that's good enough. Found 0 items first. Moving on.
Pass 2: drink.
drink: At 0, consuming to 14 with 53025 meat.
simulating retrieval of one Bologna Lambic.
simulating retrieval of one Bologna Lambic.
simulating retrieval of one Bologna Lambic.
simulating retrieval of one Bologna Lambic.
simulating retrieval of one mediocre lager.
1: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
2: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
3: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
4: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
5: mediocre lager lev:0 gain:2.0 adv:2.0 musc:0.0 myst:15.0 mox:7.5 meat:10 own:5 value:1577
Pass 3: spleen.
Skipping spleen.
Pass 4: drink.
Skipping drink.
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 7. Inebriety: 14. Spleen: 0.
Adventures: 73. Muscle: 25. Moxie: 132. Mysticality: 210.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
******************************************
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 14 booze, and 0 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 30000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Mysticality subpoint is 10.0. Nonprime stat subpoint is 2.0.
Simulating only; no purchases or food/drink/spleen consumption.
food: At 0, consuming to 15 with 53025 meat.
1: Omega Sundae lev:0 gain:7.0 adv:35.0 musc:25.0 myst:55.0 mox:25.0 meat:10 own:1 value:12039.57142857143
food: At 7, consuming to 15 with 53025 meat.
drink: At 0, consuming to 14 with 53025 meat.
1: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
2: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
3: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
4: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
5: mediocre lager lev:0 gain:2.0 adv:2.0 musc:0.0 myst:15.0 mox:7.5 meat:10 own:5 value:1577
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 7. Inebriety: 14. Spleen: 0.
Adventures: 73. Muscle: 25. Moxie: 132. Mysticality: 210.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).

Starting items are:

26 cosmic eggs
27 cosmic doughs
16 cosmic vegetables
26 cosmic cheeses
19 cosmic potted meat products
5 cosmic potatoes
23 cosmic creams
29 cosmic fruits
11 mediocre lagers

Item manager show things correctly but it seems EatDrink isn't recognizing the existence of a Loaded Baked Potato or Ultimate Breakfast Sandwich as food nor the Chunky Mary as booze.
 
Okay... try this and see what you get?
ashq import <eatdrink.ash> update_from_mafia("food"); update_using_mafia("food"); foreach it in grub if (grub[it].it == $item[loaded baked potato]) print_html(availability(grub[it]).have);
That should tell you how many loaded baked potatos EatDrink believes it can make (or believes it currently has) with your current status. Also, do validate with the value check above that the LBP has a value. What's really weird is that it skipped further food for you... when I either simulate or actually run, it would have happily thrown in corn chips or SOMEthing into the empty space.
 
Running EatDrink today with r11953 yielded the same results as yesterday.

Code:
ashq import <eatdrink.ash> update_from_mafia("food"); update_using_mafia("food"); foreach it in grub if (grub[it].it == $item[loaded baked potato]) print_html(availability(grub[it]).have);

Returned 1.

Code:
ashq import <eatdrink.ash> update_from_mafia("drink"); update_using_mafia("drink"); foreach it in grub if (grub[it].it == $item[chunky mary]) print_html(availability(grub[it]).have);

Returned 1.

The KoLMafia Item Manager "knows" that it can make multiple loaded baked potatoes, omega sundaes, or chunky marys. EatDrink doesn't seem to realize this.

I tried making all the precursor ingredients for both the loaded baked potato and chunky mary and then ran EatDrink again.

Code:
> call scripts\EatDrink.ash

Refreshing stash contents...
Stash list retrieved.
Internal checkpoint created.
Skipping favorites.
You're in ronin, so no shopping for you.
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 14 booze, and 0 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 30000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Mysticality subpoint is 10.0. Nonprime stat subpoint is 2.0.
Simulating only; no purchases or food/drink/spleen consumption.
Pass 1: food.
food: At 0, consuming to 15 with 4933 meat.
simulating retrieval of one Omega Sundae.
1: Omega Sundae lev:0 gain:7.0 adv:35.0 musc:25.0 myst:55.0 mox:25.0 meat:10 own:1 value:12039.57142857143
Pass 1: food.
food: At 7, consuming to 15 with 4933 meat.
Since 12.0 is more than 11.5 we are using a speculative stack of 1168.
simulating retrieval of one consummate melted cheese.
simulating retrieval of one consummate melted cheese.
1: consummate melted cheese lev:0 gain:4.0 adv:6.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:1 value:1819
2: consummate melted cheese lev:0 gain:4.0 adv:6.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:1 value:2317
Pass 2: drink.
drink: At 0, consuming to 14 with 4933 meat.
simulating retrieval of one Bologna Lambic.
simulating retrieval of one Bologna Lambic.
simulating retrieval of one Bologna Lambic.
simulating retrieval of one Bologna Lambic.
simulating retrieval of one mediocre lager.
1: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
2: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
3: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
4: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
5: mediocre lager lev:0 gain:2.0 adv:2.0 musc:0.0 myst:15.0 mox:7.5 meat:10 own:11 value:1577
Pass 3: spleen.
Skipping spleen.
Pass 4: drink.
Skipping drink.
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 15. Inebriety: 14. Spleen: 0.
Adventures: 85. Muscle: 39. Moxie: 146. Mysticality: 260.
On step 1 your best value was recalculated as 1168.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
******************************************
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 14 booze, and 0 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 30000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Mysticality subpoint is 10.0. Nonprime stat subpoint is 2.0.
Simulating only; no purchases or food/drink/spleen consumption.
food: At 0, consuming to 15 with 4933 meat.
1: Omega Sundae lev:0 gain:7.0 adv:35.0 musc:25.0 myst:55.0 mox:25.0 meat:10 own:1 value:12039.57142857143
food: At 7, consuming to 15 with 4933 meat.
1: consummate melted cheese lev:0 gain:4.0 adv:6.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:1 value:1819
2: consummate melted cheese lev:0 gain:4.0 adv:6.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:1 value:2317
drink: At 0, consuming to 14 with 4933 meat.
1: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
2: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
3: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
4: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:1 value:4630
5: mediocre lager lev:0 gain:2.0 adv:2.0 musc:0.0 myst:15.0 mox:7.5 meat:10 own:11 value:1577
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 15. Inebriety: 14. Spleen: 0.
Adventures: 85. Muscle: 39. Moxie: 146. Mysticality: 260.
On step 1 your best value was recalculated as 1168.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).

Thoughts?
 
I've had mafia seem to get the inventory out of sync a few times in the last week as I'm going through my AoJ consumptions, but of course I can't make it happen on demand. Guessing that some recipe (or some crafting session) is double-subtracting ingredients, but without figuring out specifics, I'm not going to make a vague blurby bug report.

As to why it picks the OS over the LBP, if you have the same basic settings for stats and adventures as I do, the LBP is 'worth' 4 less meat, making the OS the better choice. LBP at 6338, OS is 6342; OS is higher, so if both are available, pick it. No clue on the drink... wait, nope. Same thing there.
> ashq import <eatdrink.ash> update_from_mafia("drink"); update_using_mafia("drink"); foreach it in grub if (grub[it].it == $item[bologna lamb]) print_html(value(grub[it], false, false));

3883.0

> ashq import <eatdrink.ash> update_from_mafia("drink"); update_using_mafia("drink"); foreach it in grub if (grub[it].it == $item[chunky mary]) print_html(value(grub[it], false, false));

3767.0
CM is 3767, BL is 3883. Based on what I've said is important, the BL is the better choice.
 
Before I go any further I want to say thank you for your continued work on this script. I've found it an enormous help in many runs.

I concede the point on why EatDrink is choosing to make an one food or drink over another. I'm still puzzled as to why it's so out of sync with what Item Manager "knows" it's possible to make.

Why is it stopping at 7 fullness unless I make a melted cheese manually? Why not try to fill the remaining 8 fullness with something better than melted cheese.

Would you be willing to incorporate a level of debugging code that's less verbose than what a verbosity = 8 gives us?
 
Back
Top