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

Ah. Useful information that would have helped. :D

The r10 is spun to make it not try to buy mojo filters when it knows it doesn't have enough meat. :)
 
Ha. Just found it.You only allow inventory, Storage, Coinmasters, and NPCs. You don't allow the mall. As such, you can't buy twinkly (or any other kind of) wads if you don't have them yet. :) Either allow mafia to buy from the mall or put EatDrink in a wrapper that turns on mall purchasing and disables is again after.

Ah! Thank you so much, sorry to trouble you further but how do I allow mafia to use the mall? It always buys stuff when I tell it to :P
 
Ah! Thank you so much, sorry to trouble you further but how do I allow mafia to use the mall? It always buys stuff when I tell it to :P

Preferences -> Item Acquisition -> check "Buy items from the mall whenever needed"

I'd also check the three boxes above that one as well.
 
Yes... the "buy" gCLI or ash commands ignore that preference. However, acquire (or its ASH equivalent, retrieve_item) will respect what you've told it in terms of getable locations. Not a bug that mafia will ignore it in limited cases. Also not a bug that it didn't ignore it in this case. Bale pointed you towards the right direction, so hopefully that should make EatDrink WAY more awesome for you. :)
 
Ha! Haven't seen this in a while:
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.2).
Consuming up to 15 food, 0 booze, and 15 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 12500.0.
Retrieval cap is 10000. Price will be a factor if you own it already.
An adventure has the value of 1250 meat. Muscle subpoint is 10.0. Nonprime stat subpoint is 2.0.
food: At 0, consuming to 15 with 14047 meat.
1: painful penne pasta lev:3 gain:3.0 adv:8.0 musc:18.5 myst:0.0 mox:0.0 meat:280 own:1 value:3301
2: painful penne pasta lev:3 gain:3.0 adv:8.0 musc:18.5 myst:0.0 mox:0.0 meat:280 own:1 value:3301
3: painful penne pasta lev:3 gain:3.0 adv:8.0 musc:18.5 myst:0.0 mox:0.0 meat:280 own:1 value:3301
4: painful penne pasta lev:3 gain:3.0 adv:8.0 musc:18.5 myst:0.0 mox:0.0 meat:280 own:1 value:3301
5: painful penne pasta lev:3 gain:3.0 adv:8.0 musc:18.5 myst:0.0 mox:0.0 meat:280 own:1 value:3301
spleen: At 0, consuming to 15 with 13947 meat.
Finished. You had -Ode to Booze in effect. Adventures listed above does not reflect that, but this does:
Spent 100 meat. Gained Fullness: 15. Inebriety: 0. Spleen: 0.
Adventures: 38. Muscle: 96. Moxie: 0. Mysticality: 0.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
The hermit tokens are virtual items which technically don't exist, making them fall into the non-tradable check. Just put an override in on the virtual item, namely $item[worthless item], to price it at the guaranteed-token price... 50 if you already have all the starters and a permit, higher if you don't.

Was wondering why ED kept going with Boring Spaghetti on the start of Big! runs and suggesting rat kabobs and the like. Now I know. :)
 
In my current Big! run which began last Saturday, EatDrink handles food and spleen just fine but if I ask it to handle drinks it loops endlessly. At verbosity 8 here's what it shows:

Code:
HISTORICAL:bottle of Domesticated Turkey = 2035
HISTORICAL:bottle of gin = 124
HISTORICAL:bottle of Jorge Sinsonte = 1999
HISTORICAL:bottle of Lieutenant Freeman = 1700
HISTORICAL:bottle of Pete's Sake = 3065
HISTORICAL:bottle of rum = 100
HISTORICAL:bottle of sake = 1888
HISTORICAL:bottle of tequila = 169
HISTORICAL:bottle of vodka = 124
HISTORICAL:bottle of whiskey = 125
HISTORICAL:boxed champagne = 2090
HISTORICAL:boxed wine = 100
HISTORICAL:caipifruta = 4000
HISTORICAL:cocktail onion = 2400
HISTORICAL:coconut shell = 788
HISTORICAL:cream stout = 475
HISTORICAL:CSA scoutmaster's "water" = 500
NPC STORES:day-old beer = 25
HISTORICAL:Divine = 5600
HISTORICAL:ducha de oro = 1000
HISTORICAL:fine wine = 132
HISTORICAL:fruity girl swill = 999
HISTORICAL:fuzzbump = 995
HISTORICAL:gibson = 4895
HISTORICAL:gimlet = 5700
HISTORICAL:gin and tonic = 5077
HISTORICAL:Gordon Bennett = 5650
HISTORICAL:grog = 1649
HISTORICAL:horizontal tango = 970
HISTORICAL:ice-cold fotie = 100
HISTORICAL:ice-cold Sir Schlitz = 100
HISTORICAL:Imp Ale = 100
HISTORICAL:Mad Train wine = 100
HISTORICAL:margarita = 150
HISTORICAL:martini = 209
HISTORICAL:mimosette = 4859
HISTORICAL:Mon Tiki = 5550
HISTORICAL:monkey wrench = 180
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:natto-infused sake = 420
HISTORICAL:Ye Wizard's Shack snack voucher = 695
OTHER WAYS:natto-infused sake = 420
HISTORICAL:Neuromancer = 5700
HISTORICAL:ocean motion = 1190
NPC STORES:olive = 70
NPC STORES:overpriced "imported" beer = 100
HISTORICAL:parisian cathouse = 4300
HISTORICAL:pink pony = 1000
NPC STORES:plain old beer = 50
HISTORICAL:rabbit punch = 4338
HISTORICAL:redrum = 180
HISTORICAL:roll in the hay = 1225
HISTORICAL:salty dog = 186
HISTORICAL:screwdriver = 184
HISTORICAL:shot of grapefruit schnapps = 240
HISTORICAL:shot of orange schnapps = 240
HISTORICAL:shot of tomato schnapps = 240
HISTORICAL:skeleton = 1300
HISTORICAL:slip 'n' slide = 1000
HISTORICAL:snifter of thoroughly aged brandy = 100
HISTORICAL:strawberry daiquiri = 150
HISTORICAL:strawberry wine = 150
HISTORICAL:Supernova Champagne = 360
HISTORICAL:teqiwila = 5000
HISTORICAL:teqiwila slammer = 5399
HISTORICAL:tequila sunrise = 380
HISTORICAL:tequila sunset = 4929
HISTORICAL:tequila with training wheels = 935
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:tobiko-infused sake = 410
HISTORICAL:Ye Wizard's Shack snack voucher = 695
OTHER WAYS:tobiko-infused sake = 410
HISTORICAL:tropical swill = 999
HISTORICAL:Typical Tavern swill = 130
HISTORICAL:vodka and cranberry = 150
HISTORICAL:vodka and tonic = 4798
HISTORICAL:vodka gibson = 4988
HISTORICAL:vodka martini = 244
HISTORICAL:vodka stratocaster = 5700
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:wasabi-infused sake = 399
HISTORICAL:Ye Wizard's Shack snack voucher = 695
OTHER WAYS:wasabi-infused sake = 399
HISTORICAL:water purification pills = 100
HISTORICAL:whiskey and soda = 420
HISTORICAL:whiskey bittersweet = 4850
HISTORICAL:whiskey sour = 189
HISTORICAL:white Canadian = 1070
HISTORICAL:wine spritzer = 325
HISTORICAL:Ye Olde Meade = 1599
HISTORICAL:yellow brick road = 5800
HISTORICAL:zmobie = 4930
HISTORICAL:coconut shell = 788
HISTORICAL:cream stout = 475
HISTORICAL:CSA scoutmaster's "water" = 500
NPC STORES:day-old beer = 25
HISTORICAL:Divine = 5600
HISTORICAL:ducha de oro = 1000
HISTORICAL:fine wine = 132
HISTORICAL:fruity girl swill = 999
HISTORICAL:fuzzbump = 995
HISTORICAL:gibson = 4895
HISTORICAL:gimlet = 5700
HISTORICAL:gin and tonic = 5077
HISTORICAL:Gordon Bennett = 5650
HISTORICAL:grog = 1649
HISTORICAL:horizontal tango = 970
HISTORICAL:ice-cold fotie = 100
HISTORICAL:ice-cold Sir Schlitz = 100
HISTORICAL:Imp Ale = 100
HISTORICAL:Mad Train wine = 100
HISTORICAL:margarita = 150
HISTORICAL:martini = 209
HISTORICAL:mimosette = 4859
HISTORICAL:Mon Tiki = 5550
HISTORICAL:monkey wrench = 180
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:natto-infused sake = 420
HISTORICAL:Ye Wizard's Shack snack voucher = 695
OTHER WAYS:natto-infused sake = 420
HISTORICAL:Neuromancer = 5700
HISTORICAL:ocean motion = 1190
NPC STORES:overpriced "imported" beer = 100
HISTORICAL:parisian cathouse = 4300
HISTORICAL:pink pony = 1000
NPC STORES:plain old beer = 50
HISTORICAL:rabbit punch = 4338
HISTORICAL:redrum = 180
HISTORICAL:roll in the hay = 1225
HISTORICAL:salty dog = 186
HISTORICAL:screwdriver = 184
HISTORICAL:shot of grapefruit schnapps = 240
HISTORICAL:shot of orange schnapps = 240
HISTORICAL:shot of tomato schnapps = 240
HISTORICAL:skeleton = 1300
HISTORICAL:slip 'n' slide = 1000
HISTORICAL:snifter of thoroughly aged brandy = 100
HISTORICAL:strawberry daiquiri = 150
HISTORICAL:strawberry wine = 150
HISTORICAL:Supernova Champagne = 360
HISTORICAL:teqiwila = 5000
HISTORICAL:teqiwila slammer = 5399
HISTORICAL:tequila sunrise = 380
HISTORICAL:tequila sunset = 4929
HISTORICAL:tequila with training wheels = 935
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:tobiko-infused sake = 410
HISTORICAL:Ye Wizard's Shack snack voucher = 695
OTHER WAYS:tobiko-infused sake = 410
HISTORICAL:tropical swill = 999
HISTORICAL:Typical Tavern swill = 130
HISTORICAL:vodka and cranberry = 150
HISTORICAL:vodka and tonic = 4798
HISTORICAL:vodka gibson = 4988
HISTORICAL:vodka martini = 244
HISTORICAL:vodka stratocaster = 5700
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:wasabi-infused sake = 399
HISTORICAL:Ye Wizard's Shack snack voucher = 695
OTHER WAYS:wasabi-infused sake = 399
HISTORICAL:water purification pills = 100
HISTORICAL:whiskey and soda = 420
HISTORICAL:whiskey bittersweet = 4850
HISTORICAL:whiskey sour = 189
HISTORICAL:white Canadian = 1070
HISTORICAL:wine spritzer = 325
HISTORICAL:Ye Olde Meade = 1599
HISTORICAL:yellow brick road = 5800
HISTORICAL:zmobie = 4930
HISTORICAL:vodka martini = 244
HISTORICAL:vodka stratocaster = 5700
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:Ye Wizard's Shack snack voucher = 695
HISTORICAL:wasabi-infused sake = 399
HISTORICAL:Ye Wizard's Shack snack voucher = 695
OTHER WAYS:wasabi-infused sake = 399
HISTORICAL:water purification pills = 100
HISTORICAL:whiskey and soda = 420
HISTORICAL:whiskey bittersweet = 4850
HISTORICAL:whiskey sour = 189
HISTORICAL:white Canadian = 1070
HISTORICAL:wine spritzer = 325
HISTORICAL:Ye Olde Meade = 1599
HISTORICAL:yellow brick road = 5800
HISTORICAL:zmobie = 4930
HISTORICAL:a little sump'm sump'm = 989
HISTORICAL:backwoods screwdriver = 975
HISTORICAL:bloody beer = 120
HISTORICAL:bloody mary = 130
HISTORICAL:bottle of Calcutta Emerald = 1974
HISTORICAL:bottle of Definit = 2000
HISTORICAL:bottle of Domesticated Turkey = 2035
HISTORICAL:bottle of gin = 124
HISTORICAL:bottle of Jorge Sinsonte = 1999
HISTORICAL:bottle of Lieutenant Freeman = 1700
HISTORICAL:bottle of Pete's Sake = 3065
HISTORICAL:bottle of rum = 100
HISTORICAL:bottle of sake = 1888
HISTORICAL:bottle of tequila = 169
HISTORICAL:bottle of vodka = 124
HISTORICAL:bottle of whiskey = 125
HISTORICAL:boxed champagne = 2090
HISTORICAL:boxed wine = 100
HISTORICAL:caipifruta = 4000
HISTORICAL:coconut shell = 788
HISTORICAL:cream stout = 475
HISTORICAL:CSA scoutmaster's "water" = 500
NPC STORES:day-old beer = 25
HISTORICAL:Divine = 5600
HISTORICAL:ducha de oro = 1000
HISTORICAL:fine wine = 132
HISTORICAL:fruity girl swill = 999
HISTORICAL:fuzzbump = 995
HISTORICAL:gibson = 4895
HISTORICAL:gimlet = 5700
HISTORICAL:gin and tonic = 5077
HISTORICAL:Gordon Bennett = 5650
HISTORICAL:grog = 1649
HISTORICAL:horizontal tango = 970
HISTORICAL:ice-cold fotie = 100
HISTORICAL:ice-cold Sir Schlitz = 100
HISTORICAL:Imp Ale = 100
HISTORICAL:Mad Train wine = 100
HISTORICAL:margarita = 150
HISTORICAL:martini = 209
HISTORICAL:mimosette = 4859

I let it run for 5 minutes to ensure it wasn't going to do anything else. The above is just a snippet but it never gets past the price lookup. Any ideas?
 
Last edited:
Are you sure that it's actually looping endlessly and not just that your computer is really slow and that it hadn't finished its 4 speculative runs after the main run? It IS supposed to show the same item-prices 5 times... it's if it goes past that where something's wrong. Well, 10 times if you've included overdrinking... and you've already finished eating/spleening...
 
It's a pretty fast computer with a fast network connection. Under normal circumstances EatDrink completes eating, drinking, and spleening in about 2-3 minutes. Eating and spleening by themselves complete quickly and without issue. It's drinking, even by itself, whether simulated or not, that just seems to sit there.

I'll let it sit longer tomorrow and see what happens.
 
2-3 minutes is... long.

Just tested now in aftercore. Mine finished simulating (with overdrink) in under 6 seconds and actually running (without overdrink) in under 20. But my in-run AT had it go for a lot longer... will need to try to check if I have any other in-run ATs to time currently. I know I have another, can't remember if they already finished.
 
It may be AT specific. Hadn't thought of that. It's been at least a month since my last AT run and EatDrink has performed flawlessly through all non-AT runs in the interim. I'll get more precise timing and logs tomorrow.
 
This is on a current generation computer with 16 GB of RAM and the current version of Java 7.

According to Speedtest.net my current data connect has:

Ping time of 81ms
Download bandwidth of 16.15 Mbps
Upload bandwidth of 12.18 Mbps

Here are my EatDrink variable settings:

Code:
zlib eatdrink_accordionGet = true
zlib eatdrink_accurateMake = true
zlib eatdrink_ate_choco = Boozember 5:0
zlib eatdrink_ate_fancy = Boozember 5:0
zlib eatdrink_ate_vitac = Boozember 5:0
zlib eatdrink_autosellWhileRonin = false
zlib eatdrink_avoid_astral_energy_drink = true
zlib eatdrink_avoid_astral_hot_dog = true
zlib eatdrink_avoid_astral_pilsner = true
zlib eatdrink_avoid_booze-soaked_cherry = true
zlib eatdrink_avoid_giant_marshmallow = true
zlib eatdrink_avoid_gin-soaked_blotter_paper = true
zlib eatdrink_avoid_sponge_cake = true
zlib eatdrink_avoid_wet_stew = true
zlib eatdrink_budget = 50000
zlib eatdrink_considerCostWhenOwned = true
zlib eatdrink_costOfPull = 3000
zlib eatdrink_fav_pr0n_chow_mein = true
zlib eatdrink_fav_rockin'_wagon = true
zlib eatdrink_fav_twinkly_wad = true
zlib eatdrink_favUse = false
zlib eatdrink_getBartender = 30000
zlib eatdrink_getChef = 5000
zlib eatdrink_gloriousLunch = true
zlib eatdrink_hardcoreServants = 0
zlib eatdrink_loopCount = 3
zlib eatdrink_make = true
zlib eatdrink_maxAge = 2.0
zlib eatdrink_minimumAverage = 1.0
zlib eatdrink_minimumQuality = 0
zlib eatdrink_noNoodles = false
zlib eatdrink_ode = true
zlib eatdrink_pause = 0
zlib eatdrink_piePriority = true
zlib eatdrink_priceFlexibility = 1.5
zlib eatdrink_priceOfNontradeables = 999999999
zlib eatdrink_priceOfQuestItems = 10
zlib eatdrink_priceOfUnknowns = 999999999
zlib eatdrink_shrug = true
zlib eatdrink_simConsume = true
zlib eatdrink_simLevel = 0
zlib eatdrink_simRonin = false
zlib eatdrink_stepMeat = -1
zlib eatdrink_suppressNoMilk = true
zlib eatdrink_suppressOverdrink = true
zlib eatdrink_valueOfNonPrimeStat = 2
zlib eatdrink_valueOfPrimeStat = 10

Here are some timing runs:

Initial simulation run of EatDrink for Eat took 1:34. A second simulation run of Eat took 1:07.

Code:
Checking for updates (running EatDrink ver. 3.2)...
Running EatDrink version: 3.2 (current)
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.2).
Consuming up to 15 food, 0 booze, and 0 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 10000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Moxie 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 48589 meat.
Searching for "potion of the field gar"...
Search complete.
Searching for "lime"...
Search complete.
Searching for "pie crust"...
Search complete.
Searching for "yellow gummi ingot"...
Search complete.
Searching for "milk of magnesium"...
Search complete.
simulating retrieval of one bag of QWOP.
simulating retrieval of one Hell ramen.
simulating retrieval of one Hell ramen.
simulating retrieval of one skeleton quiche.
0: milk of magnesium price: 809 value: 21691
1: bag of QWOP lev:6 gain:1.0 adv:5.0 musc:0.0 myst:0.0 mox:0.0 meat:1025 own:0 value:6475
2: Hell ramen lev:6 gain:6.0 adv:25.5 musc:25.5 myst:25.5 mox:25.5 meat:2500 own:1 value:6017
3: Hell ramen lev:6 gain:6.0 adv:25.5 musc:25.5 myst:25.5 mox:25.5 meat:2500 own:1 value:6017
4: skeleton quiche lev:3 gain:2.0 adv:11.0 musc:10.0 myst:10.0 mox:10.0 meat:5990 own:1 value:5325
Pass 2: drink.
Skipping drink.
Pass 3: spleen.
Skipping spleen.
Pass 4: drink.
Skipping drink.
Finished.
Spent 0 meat with additional expenditures of 809 meat. Gained Fullness: 15. Inebriety: 0. Spleen: 0.
Adventures: 82. Muscle: 60. Moxie: 60. Mysticality: 60.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
******************************************
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.2).
Consuming up to 15 food, 0 booze, and 0 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 10000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Moxie 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 48589 meat.
0: milk of magnesium price: 809 value: 21691
1: bag of QWOP lev:6 gain:1.0 adv:5.0 musc:0.0 myst:0.0 mox:0.0 meat:1025 own:0 value:6475
2: Hell ramen lev:6 gain:6.0 adv:25.5 musc:25.5 myst:25.5 mox:25.5 meat:2500 own:1 value:6017
3: Hell ramen lev:6 gain:6.0 adv:25.5 musc:25.5 myst:25.5 mox:25.5 meat:2500 own:1 value:6017
4: skeleton quiche lev:3 gain:2.0 adv:11.0 musc:10.0 myst:10.0 mox:10.0 meat:5990 own:1 value:5325
Finished.
Spent 0 meat with additional expenditures of 809 meat. Gained Fullness: 15. Inebriety: 0. Spleen: 0.
Adventures: 82. Muscle: 60. Moxie: 60. Mysticality: 60.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).

Just spleen took less than a second after the initial run listed above.

Code:
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.2).
Consuming up to 0 food, 0 booze, and 15 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 10000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Moxie subpoint is 10.0. Nonprime stat subpoint is 2.0.
Simulating only; no purchases or food/drink/spleen consumption.
Pass 1: food.
Skipping food.
Pass 2: drink.
Skipping drink.
Pass 3: spleen.
spleen: At 0, consuming to 15 with 48589 meat.
No spleen available that's good enough. Found 3 items first. Moving on.
simulating retrieval of one Unconscious Collective Dream Jar.
simulating retrieval of one Unconscious Collective Dream Jar.
simulating retrieval of one Unconscious Collective Dream Jar.
1: Unconscious Collective Dream Jar lev:1 gain:4.0 adv:7.5 musc:25.0 myst:25.0 mox:25.0 meat:3350 own:0 value:2062
2: Unconscious Collective Dream Jar lev:1 gain:4.0 adv:7.5 musc:25.0 myst:25.0 mox:25.0 meat:3350 own:0 value:2062
Spleen value is 2062; mojo filter to get it costs 2700
3: Unconscious Collective Dream Jar lev:1 gain:4.0 adv:7.5 musc:25.0 myst:25.0 mox:25.0 meat:3350 own:0 value:2062
Pass 4: drink.
Skipping drink.
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 0. Inebriety: 0. Spleen: 12.
Adventures: 22. Muscle: 75. Moxie: 75. Mysticality: 75.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
******************************************
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.2).
Consuming up to 0 food, 0 booze, and 15 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 10000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Moxie subpoint is 10.0. Nonprime stat subpoint is 2.0.
Simulating only; no purchases or food/drink/spleen consumption.
spleen: At 0, consuming to 15 with 48589 meat.
1: Unconscious Collective Dream Jar lev:1 gain:4.0 adv:7.5 musc:25.0 myst:25.0 mox:25.0 meat:3350 own:0 value:2062
2: Unconscious Collective Dream Jar lev:1 gain:4.0 adv:7.5 musc:25.0 myst:25.0 mox:25.0 meat:3350 own:0 value:2062
3: Unconscious Collective Dream Jar lev:1 gain:4.0 adv:7.5 musc:25.0 myst:25.0 mox:25.0 meat:3350 own:0 value:2062
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 0. Inebriety: 0. Spleen: 12.
Adventures: 22. Muscle: 75. Moxie: 75. Mysticality: 75.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).

Drink simulation took 3:47 without overdrinking. A second simulation took 3:38:

Code:
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.2).
Consuming up to 0 food, 19 booze, and 0 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 10000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Moxie subpoint is 10.0. Nonprime stat subpoint is 2.0.
Simulating only; no purchases or food/drink/spleen consumption.
Pass 1: food.
Skipping food.
Pass 2: drink.
drink: At 0, consuming to 19 with 48589 meat.
simulating retrieval of one crystal skeleton vodka.
simulating retrieval of one CSA cheerfulness ration.
simulating retrieval of one tangarita.
simulating retrieval of one Supernova Champagne.
simulating retrieval of one CSA scoutmaster's "water".
simulating retrieval of one CSA scoutmaster's "water".
simulating retrieval of one cream stout.
simulating retrieval of one fine wine.
0: Ode to Booze price: 0 value: 28500
1: crystal skeleton vodka lev:3 gain:3.0 adv:16.0 musc:25.0 myst:25.0 mox:25.0 meat:7600 own:0 value:5583
2: CSA cheerfulness ration lev:6 gain:1.0 adv:4.0 musc:45.0 myst:45.0 mox:45.0 meat:1300 own:0 value:5330
3: tangarita lev:6 gain:4.0 adv:16.0 musc:0.0 myst:18.0 mox:26.0 meat:5500 own:0 value:4699
4: Supernova Champagne lev:8 gain:3.0 adv:9.0 musc:10.0 myst:10.0 mox:10.0 meat:360 own:0 value:4426
5: CSA scoutmaster's "water" lev:3 gain:3.0 adv:9.0 musc:25.0 myst:25.0 mox:25.0 meat:599 own:0 value:4417
6: CSA scoutmaster's "water" lev:3 gain:3.0 adv:9.0 musc:25.0 myst:25.0 mox:25.0 meat:599 own:0 value:4417
7: cream stout lev:3 gain:1.0 adv:2.5 musc:9.0 myst:9.0 mox:9.0 meat:199 own:0 value:3677
8: fine wine lev:1 gain:1.0 adv:2.0 musc:0.0 myst:0.0 mox:4.0 meat:132 own:1 value:2908
Pass 3: spleen.
Skipping spleen.
Pass 4: drink.
Skipping drink.
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 0. Inebriety: 19. Spleen: 0.
Adventures: 86. Muscle: 139. Moxie: 169. Mysticality: 157.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
******************************************
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.2).
Consuming up to 0 food, 19 booze, and 0 spleen
Considering food from inventory Coinmasters NPCs. Per-item budget cap is 75000.0.
Retrieval cap is 10000. Price will be a factor if you own it already.
An adventure has the value of 1500 meat. Moxie subpoint is 10.0. Nonprime stat subpoint is 2.0.
Simulating only; no purchases or food/drink/spleen consumption.
drink: At 0, consuming to 19 with 48589 meat.
0: Ode to Booze price: 0 value: 28500
1: crystal skeleton vodka lev:3 gain:3.0 adv:16.0 musc:25.0 myst:25.0 mox:25.0 meat:7600 own:0 value:5583
2: CSA cheerfulness ration lev:6 gain:1.0 adv:4.0 musc:45.0 myst:45.0 mox:45.0 meat:1300 own:0 value:5330
3: tangarita lev:6 gain:4.0 adv:16.0 musc:0.0 myst:18.0 mox:26.0 meat:5500 own:0 value:4699
4: Supernova Champagne lev:8 gain:3.0 adv:9.0 musc:10.0 myst:10.0 mox:10.0 meat:360 own:0 value:4426
5: CSA scoutmaster's "water" lev:3 gain:3.0 adv:9.0 musc:25.0 myst:25.0 mox:25.0 meat:599 own:0 value:4417
6: CSA scoutmaster's "water" lev:3 gain:3.0 adv:9.0 musc:25.0 myst:25.0 mox:25.0 meat:599 own:0 value:4417
7: cream stout lev:3 gain:1.0 adv:2.5 musc:9.0 myst:9.0 mox:9.0 meat:199 own:0 value:3677
8: fine wine lev:1 gain:1.0 adv:2.0 musc:0.0 myst:0.0 mox:4.0 meat:132 own:1 value:2908
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 0. Inebriety: 19. Spleen: 0.
Adventures: 86. Muscle: 139. Moxie: 169. Mysticality: 157.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).

I was going to post a mirror dump of a drink simulation at verbosity 8 but it's 211 MB in size.

Any thoughts on how to decrease the EatDrink run times I'm seeing?
 
Last edited:
Raise eatdrink_minimumQuality to something reasonable. There's no reason to consider every crappy item in the game.
 
Thanks for the pointer. Can you shed any light on how values in KoL (Crappy - Epic) map to the the numeric values expected by EatDrink? Is it a simple range of 0 - 4?
 
Code:
int get_quality(item checking)
{
  int level = -1;
  switch (checking.quality)
  {
    case "crappy":
      level = 0;
      break;
    case "decent":
      level = 1;
      break;
    case "good":
      level = 2;
      break;
    case "awesome":
      level = 3;
      break;
    case "epic":
      level = 4;
      break;
  }
  return level;
}

The script uses that to switch on the setting so it appears that yes, 0-4.
 
Yep... I personally suggest running at quality 1 at least, and possibly bumping that higher. If you're in aftercore, running at quality 2 or 3 will speed it up a bunch and just give you the items you wanted anyways... since there aren't too many people who REALLY want mugcakes or rat kabobs in aftercore.
 
I've been running EatDrink with eatdrink_minimumQuality set to 2 for the last few days and it's a huge decrease in runtime. Thank you!
 
Suggestion: Run with mQ 1 instead, for aftercore at least. Else, like me, you may end up overdrinking with Ye Olde Meade for 20 adventures (15+5 for ode) rather than getting the bucket of wine for 28 adventures (18+10 for ode) which will probably leave you sad. Just changed all my characters back to mQ1 because I don't want to forget that again. :)
 
Since I have clip art, I always drink a bucket manually when I'm done for the day.

Is there any other reason to consider poor items? Otherwise I'm happier with speed...that's the whole point of using kolmafia and scripts is to minimize how much time I need to mess around with crap and enjoy the game more. ;)
 
If you're running this in aftercore, not really. Especially if you aren't limiting total meat spending. In run, it means you'll get good stuff instead of possibly stopping with empty bits which might be filled by garbage like fortune cookies.

Comes down to choice. It's why I have 'mq' aliases where I can force a different minimum quality for comparisons. :)
 
Could someone point to the setting that makes it consider the items in your inventory as if they were the same price as the lowest in the mall? It seems that no matter what, it always wants to use the items in my inventory. It used open sauces for so long that I just autosold them to see and it started using other drinks... but only the ones that were already made in my inventory/could be made from my inventory. I remember seeing some settings before that seemed like it would influence that before but I can't seem to find them anymore. Thanks in advance for the help!

Edit:This is more of a general question, but when it says the "value" of an item when it is about to use it, is higher or lower better? As in, is it trying to shoot below or above my valueOfAdventure?
 
Last edited:
Back
Top