So I was comparing the advice from EatDrink and
http://www.houeland.com/kol/diets. I was surprised to see that they differ. This led to an investigation where I found out more about this script and the variables going into it. I found a setting that gives advice (at least today with today's prices) that beats houeland by a little bit. However, I noticed something strange.
With zlib.ash eatdrink_budget = 20000; set autoBuyPriceLimit = 20000, I get the following output:
Code:
Starting EatDrink.ash (version 3.2).
Consuming up to 15 food, 0 booze, and 0 spleen
Considering food from inventory closet Hagnk's Coinmasters NPCs the mall. Per-item budget cap is 25000.0.
Retrieval cap is 20000. Price will be a factor if you own it already.
An adventure has the value of 3000 meat. Muscle subpoint is 0.0. Nonprime stat subpoint is 0.0.
Simulating only; no purchases or food/drink/spleen consumption.
food: At 0, consuming to 15 with 450052 meat.
0: milk of magnesium price: 625 value: 44375
0: potion of the field gar price: 7992 value: 67008
1: long pork lasagna lev:10 gain:3.0 adv:19.0 musc:0.0 myst:50.5 mox:0.0 meat:4599 own:0 value:17500
2: long pork lasagna lev:10 gain:3.0 adv:19.0 musc:0.0 myst:50.5 mox:0.0 meat:4599 own:0 value:17500
3: long pork lasagna lev:10 gain:3.0 adv:19.0 musc:0.0 myst:50.5 mox:0.0 meat:4599 own:0 value:17500
4: long pork lasagna lev:10 gain:3.0 adv:19.0 musc:0.0 myst:50.5 mox:0.0 meat:4599 own:0 value:17500
5: long pork lasagna lev:10 gain:3.0 adv:19.0 musc:0.0 myst:50.5 mox:0.0 meat:4599 own:0 value:17500
choc: Checking non-filling crimbo chocolates - all 3 kinds
1: choco-Crimbot lev:0 gain:1.0 adv:5.0 musc:0.0 myst:0.0 mox:0.0 meat:7000 own:0 value:8000
2: chocolate turtle totem lev:0 gain:1.0 adv:2.0 musc:0.0 myst:0.0 mox:0.0 meat:3498 own:0 value:2502
Best find was chocolate turtle totem with a value of -498. That's no good, so not consuming and moving on.
Finished. You had -Ode to Booze in effect. Adventures listed above does not reflect that, but this does:
Spent 18396 meat with additional expenditures of 8617 meat. Gained Fullness: 15. Inebriety: 0. Spleen: 0.
Adventures: 117. Muscle: 0. Moxie: 0. Mysticality: 250.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
If I am understanding the value calculation correctly, the value of this is 117*3000 - 18396 - 8617, which ends up being 323,987.
Now if I set zlib.ash eatdrink_budget = 200000; set autoBuyPriceLimit = 200000, I get the following:
Code:
Starting EatDrink.ash (version 3.2).
Consuming up to 15 food, 0 booze, and 0 spleen
Considering food from inventory closet Hagnk's Coinmasters NPCs the mall. Per-item budget cap is 250000.0.
Retrieval cap is 200000. Price will be a factor if you own it already.
An adventure has the value of 3000 meat. Muscle subpoint is 0.0. Nonprime stat subpoint is 0.0.
Simulating only; no purchases or food/drink/spleen consumption.
food: At 0, consuming to 15 with 450052 meat.
0: milk of magnesium price: 625 value: 44375
1: tin cup of mulligan stew lev:15 gain:2.0 adv:17.0 musc:534.0 myst:534.0 mox:534.0 meat:21500 own:0 value:18488
2: tin cup of mulligan stew lev:15 gain:2.0 adv:17.0 musc:534.0 myst:534.0 mox:534.0 meat:21500 own:0 value:18488
3: tin cup of mulligan stew lev:15 gain:2.0 adv:17.0 musc:534.0 myst:534.0 mox:534.0 meat:21500 own:0 value:18488
4: tin cup of mulligan stew lev:15 gain:2.0 adv:17.0 musc:534.0 myst:534.0 mox:534.0 meat:21500 own:0 value:18488
5: tin cup of mulligan stew lev:15 gain:2.0 adv:17.0 musc:534.0 myst:534.0 mox:534.0 meat:21500 own:0 value:18488
6: tin cup of mulligan stew lev:15 gain:2.0 adv:17.0 musc:534.0 myst:534.0 mox:534.0 meat:21500 own:0 value:18488
7: tin cup of mulligan stew lev:15 gain:2.0 adv:17.0 musc:534.0 myst:534.0 mox:534.0 meat:21500 own:0 value:18488
8: snow crab lev:1 gain:1.0 adv:6.0 musc:15.0 myst:15.0 mox:15.0 meat:3395 own:9 value:14815
choc: Checking non-filling crimbo chocolates - all 3 kinds
1: choco-Crimbot lev:0 gain:1.0 adv:5.0 musc:0.0 myst:0.0 mox:0.0 meat:7000 own:0 value:8000
2: chocolate turtle totem lev:0 gain:1.0 adv:2.0 musc:0.0 myst:0.0 mox:0.0 meat:3498 own:0 value:2502
Best find was chocolate turtle totem with a value of -498. That's no good, so not consuming and moving on.
Finished. You had -Ode to Booze in effect. Adventures listed above does not reflect that, but this does:
Spent 150500 meat with additional expenditures of 625 meat. Gained Fullness: 15. Inebriety: 0. Spleen: 0.
Adventures: 147. Muscle: 3753. Moxie: 3753. Mysticality: 3753.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
Again, if I am understanding the value calculation correctly (and this is the value I would personally place on this outcome), it ends up being 147*3000 - 150500 - 625 = 289,875.
I gave EatDrink.ash more freedom with the price of individual items and it generated a worse outcome! This *seems* to be due to it miscalculating the value of Garish/lasagna.
Also, just out of curiosity, how does this handle extra-greasy slider and salad forks? I've seen houeland recommend them multiple times, along with large amounts of spleen items due to the clearing of spleen, but the order that this script does things in (strict eat->drink->spleen) does not seem amenable to taking advantage of the extra spleen.