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

fxer

Member
Wrecked Generators print out 12070.0 while Gin Mints are 11717.0 and Mint Yuleps 11627.0

What do those numbers represent? For an overdrink it DOES recommend a wrecked generator.

Other numbers when setting verbosity = 10:

Code:
 > NONTRADEABLE:Wrecked Generator = 999999999
 > HISTORICAL:lunar isotope = 209
 > COINMASTER:Wrecked Generator = 20900

 > Wrecked Generator is too fattening (5.0)- removing from consideration.
 
Last edited:

Theraze

Active member
Ah... we do expect it eventually to become too fattening, but not initially. Might be some sort of logic bug in there though... depends on if you ran that when filled up or not. That means that the initial value was 999 million (non-tradeable), which after running through the coinmaster code changed to 20.9k instead. Since your retrieval cap is 30k, that shouldn't be an issue whether in inventory or not... so...

Oh wait, right. *nods* Wrecked Generators have a value per adventure of 12070 but a cost per adventure of 4180 (20900/5), which makes their actual 'value' drop to 7890, which is not as good as Gin Mints. No logic bug, you'll just make more profit by selling isotope and using Gin Mints instead.

Edit: If you want it to ignore pricing though and use them anyways, add them as a favourite. Favourites are the "I don't care about the price... use it!" option.

Edit2: So, apparently part of the issue is that all the original AoJ items involve a single ingredient which gets upgraded. It works fine with the original check, as that uses the actual ingredients. Once it hits the requirement of a consummate baked potato instead of the cosmic potato though, it gets confused. This goes, as well, for anything else with a similar 1:1 ingredient shift. If you tell EatDrink not to upgrade single items by changing the ingredient check to >1 instead of >0, it successfully TMIM's a meatloaf and eats 3 more cold cuts. No problems. But stew, sundae, loaded baked potato... busted. Grr.
 
Last edited:

Theraze

Active member
Okay, based on the ingredient-flaw logic issue, decided that I'd rather have the stew get properly enqueued and have me not be absolutely certain why rather than having this ingredient-bug which is weird. So... we now have this:
food: At 0, consuming to 15 with 20000 meat.
1: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:5081
2: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:5081
3: consummate corn chips lev:0 gain:2.0 adv:3.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:0 value:2010
Note that the first stew has the 'normal' price, rather than this, which it would do otherwise:
food: At 0, consuming to 15 with 20000 meat.
1: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:52748
2: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:5081
3: consummate salad lev:0 gain:3.0 adv:4.5 musc:7.5 myst:25.0 mox:7.5 meat:10 own:1 value:17151
Note there that the salad ended up being used because it was larger, but had a spurious 17k value based on how nifty it would be if it were used for TMIM. I might figure out some nice way to... ha.

Figured I'd spend the time to rehaul how it does its checking for breakfast and so forth. This now gives us the following:
food: At 0, consuming to 15 with 20000 meat.
1: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:8791.333333333334
2: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:5081
3: consummate corn chips lev:0 gain:2.0 adv:3.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:0 value:2010
Proper value calculation on the initial stew including display so you can tell later.

Some other tweaks along the way... instead of the "foreach it in aggregate { aggregate[it] = 0; }" that I had been doing, just doing clear(aggregate); because I don't really care to keep a bunch of zeroed out entries. Doesn't help. Some other slight touches along the way and this version is actually .8kb smaller and runs faster. Win/win. :)

Edit: And hopefully it's obvious, but the way the attached version runs is the third quote, with proper display and choice-logic.

Edit2: Partial size-savings lost. TMIM display improved. Prior recap
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 19 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. 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 20000 meat.
1: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:8791.333333333334
2: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:5081
3: consummate corn chips lev:0 gain:2.0 adv:3.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:0 value:2010
drink: At 0, consuming to 19 with 20000 meat.
1: acceptable vodka lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
2: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
3: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
4: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
spleen: At 0, consuming to 15 with 20000 meat.
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 14. Inebriety: 12. Spleen: 0.
Adventures: 69. Muscle: 7. Moxie: 117. Mysticality: 215.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
Currently attached recap:
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 19 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. 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 20000 meat.
1: sublime stew lev:0 gain:6.0 adv:42.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:8791.333333333334
2: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:5081
3: consummate corn chips lev:0 gain:2.0 adv:3.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:0 value:2010
drink: At 0, consuming to 19 with 20000 meat.
1: acceptable vodka lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
2: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
3: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
4: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
spleen: At 0, consuming to 15 with 20000 meat.
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 14. Inebriety: 12. Spleen: 0.
Adventures: 87. Muscle: 7. Moxie: 117. Mysticality: 215.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
Note the adventure difference on both the individual item and the total. :)

Edit3: All size-savings lost and then a bit. However:
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 19 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. 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 20000 meat.
1: sublime stew lev:0 gain:6.0 adv:42.0 musc:0.0 myst:135.0 mox:75.0 meat:10 own:1 value:8791.333333333334
2: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:5081
3: consummate corn chips lev:0 gain:2.0 adv:3.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:0 value:2010
drink: At 0, consuming to 19 with 20000 meat.
1: acceptable vodka lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
2: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
3: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
4: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
spleen: At 0, consuming to 15 with 20000 meat.
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 14. Inebriety: 12. Spleen: 0.
Adventures: 87. Muscle: 7. Moxie: 167. Mysticality: 305.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
boosted stats on TMIM are displayed now too. :) Think this makes TMIM handling complete now.

Edit4: Quick comparison.
Simulating:
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 19 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. 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 20000 meat.
1: sublime stew lev:0 gain:6.0 adv:42.0 musc:0.0 myst:135.0 mox:75.0 meat:10 own:1 value:8791.333333333334
2: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:5081
3: consummate corn chips lev:0 gain:2.0 adv:3.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:0 value:2010
drink: At 0, consuming to 19 with 20000 meat.
1: acceptable vodka lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
2: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
3: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
4: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
5: mediocre lager lev:0 gain:2.0 adv:2.0 musc:0.0 myst:15.0 mox:7.5 meat:10 own:13 value:1327
6: mediocre lager lev:0 gain:2.0 adv:2.0 musc:0.0 myst:15.0 mox:7.5 meat:10 own:13 value:1327
7: mediocre lager lev:0 gain:2.0 adv:2.0 musc:0.0 myst:15.0 mox:7.5 meat:10 own:13 value:1327
spleen: At 0, consuming to 15 with 20000 meat.
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 14. Inebriety: 18. Spleen: 0.
Adventures: 93. Muscle: 7. Moxie: 188. Mysticality: 350.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
Real:
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 19 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. Mysticality subpoint is 10.0. Nonprime stat subpoint is 2.0.
food: At 0, consuming to 15 with 20000 meat.
1: sublime stew lev:0 gain:6.0 adv:42.0 musc:0.0 myst:135.0 mox:75.0 meat:10 own:1 value:8791.333333333334
2: sublime stew lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1 value:5081
3: consummate corn chips lev:0 gain:2.0 adv:3.0 musc:7.5 myst:25.0 mox:7.5 meat:10 own:0 value:2010
drink: At 0, consuming to 19 with 20000 meat.
1: acceptable vodka lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
2: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
3: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
4: adequate rum lev:0 gain:3.0 adv:4.5 musc:0.0 myst:25.0 mox:15.0 meat:10 own:0 value:1965
5: mediocre lager lev:0 gain:2.0 adv:2.0 musc:0.0 myst:15.0 mox:7.5 meat:10 own:13 value:1327
6: mediocre lager lev:0 gain:2.0 adv:2.0 musc:0.0 myst:15.0 mox:7.5 meat:10 own:13 value:1327
7: mediocre lager lev:0 gain:2.0 adv:2.0 musc:0.0 myst:15.0 mox:7.5 meat:10 own:13 value:1327
spleen: At 0, consuming to 15 with 20000 meat.
Finished.
Spent 0 meat. Gained Fullness: 14. Inebriety: 18. Spleen: 0.
Adventures: 92. Muscle: 6. Moxie: 197. Mysticality: 339.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
 

Attachments

  • EatDrink.ash
    106 KB · Views: 44
Last edited:

Theraze

Active member
Not a problem. Believe we have things currently sorted... anyone else have any current bugs, realizing that the Gin Mint and Wrecked Generator selection is not a bug but behaving as designed due to current mall prices? :)
 

Winterbay

Active member
A question: I have the skills to make both sublime stew and ultimate breakfast sandwiches and, unless I'm mistaken, two sandwiches and 1 sauerkraut leads to more adventures (71, or ~90 with the bonus from the breakfast skill) than what EatDrink suggested (70):

Code:
1: [B]sublime stew[/B] lev:0 gain:6.0 adv:42.0 musc:0.0 myst:135.0      mox:75.0 meat:10 own:1 value:8791.333333333334
2: [B]sublime stew[/B]      lev:0 gain:6.0 adv:24.0 musc:0.0 myst:45.0 mox:25.0 meat:10 own:1      value:5081
3: [B]consummate toast[/B] lev:0 gain:2.0 adv:3.0 musc:15.0      myst:25.0 mox:0.0 meat:10 own:1 value:2010
4: [B]consummate sauerkraut[/B]      lev:0 gain:1.0 adv:1.0 musc:0.0 myst:25.0 mox:15.0 meat:10 own:1 value:1520

What setting have I set that makes this happen?
 

Theraze

Active member
Possible that ED isn't seeing you as able to make the UBS, based on that it failed to pick it even though it's more filling. If TMIM comes into things, bigger will almost always automatically equal better.

So... not sure why it failed to say your UBS was possible. The lazy solution is changing accuratemake to false, but if you want to run a lot of the same basic things I suggested to Magus above... specifically checking availability of UBS, that would be good. Or at some point in the next month or so I'll finally fail to mess myself up and end up with epic foods. :)
 

Winterbay

Active member
IT removed something called "ultimate breakfast" in the loopings as too fattening, which I felt odd since every other item had its full name printed...

Edit: Also, I normally eat through the manager since in Jarlsberg the options are pretty limited and thus not much of a problem to optimise manually. I just decided to run a speculation to see what it would suggest :)
 

Theraze

Active member
Weird. I'll hopefully get to check on that soonish, but... without either a bunch of you-trying or the eventual me-eating, it's unlikely to just fix. :(

But yeah, sometimes I just eat 2 sublime stews and then it does a cold cut for the last 3 fullness instead of a corn chip. Why? No clue. :)
 

Magus_Prime

Well-known member
Something I noticed today with EatDrink is that it seems to become confused, for lack of a better word, if I run food and drink at the same time. In simulation it comes up with the correct results but when not simulating it goes off the rails.

For food it simulated, created, and allowed me to consume two Omega Sundaes and a Consummate Sauerkraut.
For drink it simulated 3 Bologna Lambics and a mediocre lager. When it came time to create the drink after creating the food it claimed that it couldn't create the Bologna Lambics and created some Vodka Dogs and a Nachojito.
I got the same results for simulated food and drink when run together or separately.

If I ran food in non-simulation mode then ran drink in non-simulation mode EatDrink could create the Bologna Lambics.

Any thoughts?
 

Theraze

Active member
If it ever claims that it can't create something, check inventory, refresh inventory, check inventory again. I was having issues with mafia double-discounting ingredients a while ago, but could never track it down reliably enough to make a coherent bug report. If you figure out something that causes it and can be replicated for the developers, great. :)
 

fxer

Member
Watching EatDrink handle my spleen today, I was curious why it made the choices it did. It made a carrot juice for some reason, which it did not use. Then it used 4 coffee pixie sticks, 2 mojo filters and a spooky wad. Why would it spend 3k on a mojo filter + 500meat for a wad to gain a single adventure, at an adventure value of 2000?

Code:
Use 1 carrot nose
You acquire an item: carrot juice
> <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3000 own:0 value:3000

use 1 coffee pixie stick
You gain 9 Adventures
> 1: <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3000 own:0 value:3000
> <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3000 own:0 value:3000

use 1 coffee pixie stick
You gain 9 Adventures
> 2: <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3000 own:0 value:3000

use 1 mojo filter
> M1: <b>mojo filter</b> price: 3000

use 1 mojo filter
> M2: <b>mojo filter</b> price: 3000
> spleen: At 6, consuming to 15 with 21400728 meat.

use 1 coffee pixie stick
You gain 6 Adventures
> 1: <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3010 own:0 value:2997
> <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3010 own:0 value:2997

use 1 coffee pixie stick
You gain 10 Adventures
> 2: <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3010 own:0 value:2997
> <b>spooky wad</b> lev:6 gain:1.0 adv:1.0 musc:9.0 myst:27.0 mox:18.0 meat:445 own:4304 value:1807

use 1 spooky wad
You gain 1 Adventure
You gain 9 Strongness
You gain 28 Magicalness
You gain 18 Sarcasm
 

fxer

Member
Hmm well the output in the session logs is pretty ugly....
Code:
> ******************************************
> Now, to recap...
> ******************************************
> Starting EatDrink.ash (version 3.1.9).<br>Consuming up to 12 food, 19 booze, and 15 spleen<br>Considering food from inventory closet Hagnk's Coinmasters NPCs the mall. Per-item budget cap is 62500.0.<br>Retrieval cap is 30000. Price will be a factor if you own it already.<br>An adventure has the value of <b>2000 meat</b>. Moxie subpoint is 5.0. Nonprime stat subpoint is 1.0.<br>food: At 0, consuming to 12 with 21465274 meat.<br>0: <b>potion of the field gar</b> price: 9000 value: 31000.0<br>1: <b>fishy fish lasagna</b> lev:10 gain:3.0 adv:19.0 musc:0.0 myst:0.0 mox:50.5 meat:5099 own:0 value:11135<br>2: <b>fishy fish lasagna</b> lev:10 gain:3.0 adv:19.0 musc:0.0 myst:0.0 mox:50.5 meat:5099 own:0 value:11135<br>3: <b>fishy fish lasagna</b> lev:10 gain:3.0 adv:19.0 musc:0.0 myst:0.0 mox:50.5 meat:5099 own:0 value:11135<br>4: <b>fishy fish lasagna</b> lev:10 gain:3.0 adv:19.0 musc:0.0 myst:0.0 mox:50.5 meat:5099 own:0 value:11135<br>drink: At 0, consuming to 19 with 21435958 meat.<br>drink: At 0, consuming to 19 with 21434008 meat.<br>0: <b>Ode to Booze</b> price: 0 value: 38000<br>1: <b>Sangria de Menthe</b> lev:2 gain:2.0 adv:11.5 musc:15.0 myst:37.5 mox:15.0 meat:6800 own:0 value:8227<br>2: <b>Sangria de Menthe</b> lev:2 gain:2.0 adv:11.5 musc:15.0 myst:37.5 mox:15.0 meat:6800 own:0 value:8227<br>3: <b>Sangria de Menthe</b> lev:2 gain:2.0 adv:11.5 musc:15.0 myst:37.5 mox:15.0 meat:6800 own:0 value:8227<br>4: <b>Sangria de Menthe</b> lev:2 gain:2.0 adv:11.5 musc:15.0 myst:37.5 mox:15.0 meat:6800 own:0 value:8227<br>5: <b>Sangria de Menthe</b> lev:2 gain:2.0 adv:11.5 musc:15.0 myst:37.5 mox:15.0 meat:6800 own:0 value:8227<br>6: <b>Sangria de Menthe</b> lev:2 gain:2.0 adv:11.5 musc:15.0 myst:37.5 mox:15.0 meat:6800 own:0 value:8227<br>7: <b>Sangria de Menthe</b> lev:2 gain:2.0 adv:11.5 musc:15.0 myst:37.5 mox:15.0 meat:6800 own:0 value:8227<br>8: <b>Sangria de Menthe</b> lev:2 gain:2.0 adv:11.5 musc:15.0 myst:37.5 mox:15.0 meat:6800 own:0 value:8227<br>9: <b>Sangria de Menthe</b> lev:2 gain:2.0 adv:11.5 musc:15.0 myst:37.5 mox:15.0 meat:6800 own:0 value:8227<br>10: <b>Go-Wassail</b> lev:1 gain:1.0 adv:5.5 musc:5.5 myst:5.5 mox:5.5 meat:3845 own:260 value:7232<br>spleen: At 0, consuming to 15 with 21424758 meat.<br>1: <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3000 own:0 value:3000<br>2: <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3000 own:0 value:3000<br>M1: <b>mojo filter</b> price: 3000<br>M2: <b>mojo filter</b> price: 3000<br>spleen: At 6, consuming to 15 with 21400728 meat.<br>1: <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3010 own:0 value:2997<br>2: <b>coffee pixie stick</b> lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3010 own:0 value:2997<br>3: <b>spooky wad</b> lev:6 gain:1.0 adv:1.0 musc:9.0 myst:27.0 mox:18.0 meat:445 own:4304 value:1807<br>choc: Checking non-filling crimbo chocolates - all 3 kinds<br>1: <b>chocolate stolen accordion</b> lev:0 gain:1.0 adv:3.0 musc:0.0 myst:0.0 mox:0.0 meat:4490 own:0 value:1510<br>Best find was chocolate stolen accordion with a value of -490. That's no good, so not consuming and moving on.<br>Finished. You had  Milk of Magnesium-Ode to Booze in effect. Adventures listed above does not reflect that, but this does:<br>Spent 63046 meat. Gained Fullness: 12. Inebriety: 19. Spleen: 15.Adventures: 250. Muscle: 157. Moxie: 385. Mysticality: 412.<br>Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).<br>
 

Theraze

Active member
Yeah... that doesn't even mention the carrot juice. The important part with that was probably in the gCLI when it actually happened... probably that the price for carrot noses had changed between the historical and actual, and it was only able to make one for the price requested, which removed carrot juice from the choice list. But that would have been in the gCLI above output, not the summary. Since the final summary is just what was actually attempted, not what was considered or originally attempted.
 

fxer

Member
Code:
******************************************
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.1.9).
Consuming up to 12 food, 19 booze, and 15 spleen
Considering food from inventory closet Hagnk's Coinmasters NPCs the mall. Per-item budget cap is 62500.0.
Retrieval cap is 30000. Price will be a factor if you own it already.
An adventure has the value of 2000 meat. Moxie subpoint is 5.0. Nonprime stat subpoint is 1.0.
food: At 0, consuming to 12 with 46311614 meat.
0: potion of the field gar price: 9000 value: 31000.0
1: fishy fish lasagna lev:10 gain:3.0 adv:19.0 musc:0.0 myst:0.0 mox:50.5 meat:5087 own:0 value:11139
2: fishy fish lasagna lev:10 gain:3.0 adv:19.0 musc:0.0 myst:0.0 mox:50.5 meat:5087 own:0 value:11139
3: fishy fish lasagna lev:10 gain:3.0 adv:19.0 musc:0.0 myst:0.0 mox:50.5 meat:5087 own:0 value:11139
4: fishy fish lasagna lev:10 gain:3.0 adv:19.0 musc:0.0 myst:0.0 mox:50.5 meat:5087 own:0 value:11139
drink: At 0, consuming to 19 with 46282283 meat.
0: Ode to Booze price: 0 value: 38000
1: Wrecked Generator lev:5 gain:5.0 adv:30.0 musc:25.0 myst:25.0 mox:25.0 meat:18500 own:101 value:8370
2: Wrecked Generator lev:5 gain:5.0 adv:30.0 musc:25.0 myst:25.0 mox:25.0 meat:18500 own:101 value:8370
3: Wrecked Generator lev:5 gain:5.0 adv:30.0 musc:25.0 myst:25.0 mox:25.0 meat:18500 own:101 value:8370
4: Feliz Navidad lev:2 gain:2.0 adv:11.5 musc:15.0 myst:15.0 mox:37.5 meat:6900 own:160 value:8267
5: Feliz Navidad lev:2 gain:2.0 adv:11.5 musc:15.0 myst:15.0 mox:37.5 meat:6900 own:160 value:8267
spleen: At 0, consuming to 15 with 46282283 meat.
1: coffee pixie stick lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3000 own:0 value:3000
2: coffee pixie stick lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3000 own:0 value:3000
M1: mojo filter price: 3000
M2: mojo filter price: 3000
spleen: At 6, consuming to 15 with 46258283 meat.
1: coffee pixie stick lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3000 own:0 value:3000
2: coffee pixie stick lev:4 gain:4.0 adv:7.5 musc:0.0 myst:0.0 mox:0.0 meat:3000 own:0 value:3000
3: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:332 own:8456 value:1794
choc: Checking non-filling crimbo chocolates - all 3 kinds
1: chocolate stolen accordion lev:0 gain:1.0 adv:3.0 musc:0.0 myst:0.0 mox:0.0 meat:4700 own:0 value:1300
Best find was chocolate stolen accordion with a value of -700. That's no good, so not consuming and moving on.
Finished. You had Milk of Magnesium-Ode to Booze in effect. Adventures listed above does not reflect that, but this does:
Spent 52031 meat. Gained Fullness: 12. Inebriety: 19. Spleen: 15.
Adventures: 256. Muscle: 99. Moxie: 419. Mysticality: 119.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).

Here's another capture of EatDrink using a mojo filter + twinkly wad, aka spending about 3.4k to gain 1 adv with an adv value of 2k. Any idea why it makes that choice?
 

Theraze

Active member
Well, the (first) mojo filter gave you a total of 4 CPS at 7.5 adventures each for a total of 30 adventures rather than 3 CPS and 3 Twinkly Wads for 25.5 adventures. 4.5*2k is 9k 'profit' based on your VoA.

As to the second mojo filter? No clue there. :) And... looking at the system, here's our reasoning:
Code:
  //Assume your last consumable is representative of what you'd get. 
  //"value" already is normalized to represent the value from 1 adventure.
So since you have a profit of 3k per space, it expects that to continue.
 

Theraze

Active member
Ha.
******************************************
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.1.9).
Consuming up to 15 food, 19 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. 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 2674 meat.
1: Omega Sundae lev:0 gain:7.0 adv:56.0 musc:75.0 myst:165.0 mox:75.0 meat:10 own:1 value:10039.57142857143
2: Omega Sundae lev:0 gain:7.0 adv:35.0 musc:25.0 myst:55.0 mox:25.0 meat:10 own:1 value:6341
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:1520
drink: At 0, consuming to 19 with 2674 meat.
1: Bologna Lambic lev:0 gain:3.0 adv:9.0 musc:0.0 myst:35.0 mox:25.0 meat:10 own:0 value:3880
2: Nachojito lev:0 gain:3.0 adv:9.0 musc:0.0 myst:0.0 mox:35.0 meat:10 own:0 value:3770
3: Nachojito lev:0 gain:3.0 adv:9.0 musc:0.0 myst:0.0 mox:35.0 meat:10 own:0 value:3770
4: Nachojito lev:0 gain:3.0 adv:9.0 musc:0.0 myst:0.0 mox:35.0 meat:10 own:0 value:3770
5: Le Roi lev:0 gain:3.0 adv:9.0 musc:0.0 myst:0.0 mox:35.0 meat:10 own:0 value:3770
6: Chunky Mary lev:0 gain:4.0 adv:12.0 musc:0.0 myst:0.0 mox:35.0 meat:10 own:1 value:3765
spleen: At 0, consuming to 15 with 2674 meat.
Finished.
Spent 0 meat with additional expenditures of 0 meat. Gained Fullness: 15. Inebriety: 19. Spleen: 0.
Adventures: 149. Muscle: 100. Moxie: 315. Mysticality: 280.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
Turns out the problem was in how many times we told EatDrink it could loop through additional ingredients... we'd set 3 before, since there were no items that used ingredients of ingredients of ingredients on purpose before. I think we had a few that used an ingredient, but... not recursive. Until AoJ, where we have an ingredient (upgraded)^5 for the EPIC items. Changed the default loopcount to 5, but anyone already using EatDrink will need to change their loopcount manually in their vars file.
 

Attachments

  • EatDrink.ash
    106 KB · Views: 43

Razorsoup

Member
Does this script consider Unconscious Collective Dream Jars? It doesn't seem to. If not how can I get it to consider using the ones in my inventory instead of buying something else?
 

Theraze

Active member
I go through 3 UCDJs every 2 or 3 days, depending on market fluctuations. If you have your VoA set to where that is the best item for use, it will. If it's set to where that's the most profitable item, it'll use it. Or set it as a favourite if you want it to use it even if it's a dumb idea. :)
 
Top