Starting EatDrink.ash (version 3.2).
Consuming up to 15 food, 20 booze, and 0 spleen
Considering food from inventory Hagnk's NPCs. 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 2799 meat. Mysticality subpoint is 10.0. Nonprime stat subpoint is 2.0.
booze: At 0, consuming to 20 with 6060086 meat.
1: Mae West lev:6 gain:4.0 adv:16.0 musc:0.0 myst:0.0 mox:43.5 meat:3594 own:19 value:10319
2: Mae West lev:6 gain:4.0 adv:16.0 musc:0.0 myst:0.0 mox:43.5 meat:3594 own:19 value:10319
3: Mae West lev:6 gain:4.0 adv:16.0 musc:0.0 myst:0.0 mox:43.5 meat:3594 own:19 value:10319
4: Mae West lev:6 gain:4.0 adv:16.0 musc:0.0 myst:0.0 mox:43.5 meat:3594 own:19 value:10319
5: Mae West lev:6 gain:4.0 adv:16.0 musc:0.0 myst:0.0 mox:43.5 meat:3594 own:19 value:10319
food: At 0, consuming to 15 with 6060086 meat.
0: milk of magnesium price: 1311 value: 40674.0
1: Hell ramen lev:6 gain:6.0 adv:30.0 musc:25.5 myst:25.5 mox:25.5 meat:2000 own:2 value:13721
2: Hell ramen lev:6 gain:6.0 adv:30.0 musc:25.5 myst:25.5 mox:25.5 meat:2000 own:2 value:13721
3: whole turkey leg lev:4 gain:1.0 adv:4.5 musc:0.0 myst:0.0 mox:0.0 meat:395 own:8 value:12200
4: whole turkey leg lev:4 gain:1.0 adv:4.5 musc:0.0 myst:0.0 mox:0.0 meat:395 own:8 value:12200
5: whole turkey leg lev:4 gain:1.0 adv:4.5 musc:0.0 myst:0.0 mox:0.0 meat:395 own:8 value:12200
Finished. You had Milk of Magnesium-Ode to Booze in effect. Adventures listed above does not reflect that, but this does:
Spent -44 meat. Gained Fullness: 11. Inebriety: 20. Spleen: 0.
Adventures: 161. Muscle: 26. Moxie: 269. Mysticality: 26.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
> ash import <EatDrink.ash>;eatdrink(1,0,0,false,3000,0,0,50000,false);
Refreshing stash contents...
Stash list retrieved.
Internal checkpoint created.
Skipping favorites.
Starting EatDrink.ash (version 3.2).
Consuming up to 1 food, 0 booze, and 0 spleen
Considering food from inventory Hagnk's Coinmasters NPCs. 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. Mysticality subpoint is 0.0. Nonprime stat subpoint is 0.0.
Pass 1: booze.
Skipping booze.
Pass 2: food.
Skipping food.
Pass 3: spleen.
Skipping spleen.
Pass 4: booze.
Skipping booze.
Finished.
Spent 0 meat. Gained Fullness: 0. Inebriety: 0. Spleen: 0.
Adventures: 0. Muscle: 0. Moxie: 0. Mysticality: 0.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
******************************************
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.2).
Consuming up to 1 food, 0 booze, and 0 spleen
Considering food from inventory Hagnk's Coinmasters NPCs. 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. Mysticality subpoint is 0.0. Nonprime stat subpoint is 0.0.
Finished.
Spent 0 meat. Gained Fullness: 0. Inebriety: 0. Spleen: 0.
Adventures: 0. Muscle: 0. Moxie: 0. Mysticality: 0.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
Returned: void
void fillStomachLiverSpleen()
{
int drunknessLeft=max(0,inebriety_limit()-my_inebriety());
int fullnessLeft=max(0,fullness_limit()-my_fullness());
int spleenLeft=max(0,spleen_limit()-my_spleen_use());
if(drunknessLeft>0||fullnessLeft>0||spleenLeft>0)
{
eatdrink(fullnessLeft,drunknessLeft,spleenLeft,false,3000,0,0,50000,false);
}
}
That would be _barrelPrayer that Darzil mentioned, since you can only get it once per day. Also barrelShrineUnlocked to check that someone has the IotM to begin with.How do we programatically test to see if these are still available to us?
Is there any cost to the player to use them - any time when we wouldn't simply want to use them if our class matches and we're on the proper consumption set and trying to consume at least 10 of that group?
Yes, regarding not buying them.
Yeah, it was the barrelShrineUnlocked I was wondering about. True/false?
So, do we just make this always apply if you've got it and you're running ED, or do we bloat variables some more?
How do I do that? Basically what I'm looking for is to never buy/make boxes, and never cook stuff that requires adventures.
I would say make it automatic by default, with a variable that can turn it off.