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

Theraze

Active member
Exactly. The problem is that we don't necessarily WANT to buy on a budget if creating is cheaper, or if we have it in our storage, or if we have it in our closet, or... What we do know is that if the price for the item is X, and we have allowed a flexibility of 1.25*X, don't spend more than that to get our item incase we're using historical values and it's spiked up wildly for some reason. Whether we buy, create, or pull... we don't want to exceed the budgetted amount.

There is (now) a speculative acquire, but that's a CLI command, and I don't think we have ASH functions to use for that yet. I'm not even sure what it should return... we'd probably need a 3 value retrieve_item where the third value is a string to tell it which part we'd like it to return... method, meat spent, total retrieved (since new acquire can give us 3 when we only asked for 1), adventures used, etc. Should that be a FReq? Maybe. It depends on if retrieve_item will actually retrieve an item when it's possible in a different way.

Edit: This always amuses me, but this one was so much of a difference, it really helps to show why I wanted to code speculative stacks. :)
drink: At 0, consuming to 19 with 0 meat.
Since 71.0 is more than 55.0 we are using a speculative stack of 900.
Getting 4 Neuromancer in 0 seconds
 
Last edited:

Theraze

Active member
Well, new official release of mafia, so... here's my latest version. Changelog time!

Implemented since last mentioned:
1158: Removed SC pulls from the consideration, since retrieve_item won't ever get them, which was causing items to get incorrectly rejected.
1180: Fistcore meat is precious. Don't spend meat by default.
1182: Using the total price of the item in getitem instead of recalculating. This means it's slightly more likely to fail when using historical prices, but also means that TPS and KLP will actually work.
1202: Tweaked get_accordion retrieval - wanted it to not abort when item retrieval fails, but to continue and try to give us the best accordion value instead, which should allow for using a stolen accordion when it's all you have and you can't upgrade to RnR Legend (but have ED set to try)
1202: Doubled milk/ode values - Removed another spot where ode and milk were doubling up the value on items, which lowers item values a bit, but the 'value' comes from the milk/ode, not the item itself, so this should reduce weirdness and best item changes between milk/ode on/off

To be done - Definitely:
1069: Coinmaster (besides hermit) handling - Need decision on token mall price, item mall price, or lowest of the two - will probably use retrieve_item on tokens but will need custom override for hermit due to available_amount not calculating how many we can get with gum
1128: Use vprint instead of verbose and verbose2 - Need to decide on what gets displayed at which levels
1200: Work around mafia's new retrieve_item code - mafia recalculates the 'cheapest' way to get something as spending more money and getting more, which sometimes makes ED fail because it's spending more initially, but there might not be a good way to avoid this - Best solution would be more parameters for a speculative RI that tells us how much meat it's spending to save us meat, which we'll probably use for updating the effective price as well

Other posts of interest:
1116: EatDrinkO for people who want post 1 EatDrink functionality in daily mafia
 

Attachments

  • EatDrink.ash
    94 KB · Views: 67

fronobulax

Developer
Staff member
I'll edit the intro post with 1202 once I've tested it. Thanks.

Edit: Done. The fork has ended.
 
Last edited:

palpitations

New member
I seem to have gotten 3.1.5 into an infinite loop while screwing around with some settings (set valueOfAdventure = 10000 is plenty to make it happen, I think - unless I'm missing a setting I had toyed with previously). Once it gets down to Prismatic Wads and mojo filters, it just keeps repeating. Looks like mojo filters aren't being limited to 3, maybe?

Code:
Starting EatDrink.ash (version 3.1.5).
Consuming up to 0 food, 0 booze, and 15 spleen
Considering food from inventory 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 10000 meat. Moxie subpoint is 10.0. Nonprime stat subpoint is 2.0.
Simulating only; no purchases or food/drink/spleen consumption.
//snip
6: spooky wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:27.0 mox:18.0 meat:389 own:0 value:9863
Pass 3: spleen.
spleen: At 12, consuming to 15 with 433 meat.
simulating retrieval of one prismatic wad.
Waiting to consume...
prismatic wad lev:7 gain:3.0 adv:6.0 musc:55.0 myst:55.0 mox:55.0 meat:5325 own:0 value:18481
Countdown: 3 seconds...
Countdown: 2 seconds...
Countdown: 1 second...
Waiting completed.
1: prismatic wad lev:7 gain:3.0 adv:6.0 musc:55.0 myst:55.0 mox:55.0 meat:5325 own:0 value:18481
Spleen value is 18481; mojo filter to get it costs 3900
X: 3 mojo filters price: 11700 (total)
Pass 3: spleen.
spleen: At 12, consuming to 15 with 4675 meat.
simulating retrieval of one prismatic wad.
Waiting to consume...
prismatic wad lev:7 gain:3.0 adv:6.0 musc:55.0 myst:55.0 mox:55.0 meat:5325 own:-1 value:18481
Countdown: 3 seconds...
Countdown: 2 seconds...
Countdown: 1 second...
Waiting completed.
1: prismatic wad lev:7 gain:3.0 adv:6.0 musc:55.0 myst:55.0 mox:55.0 meat:5325 own:-1 value:18481
Spleen value is 18481; mojo filter to get it costs 3900
X: 3 mojo filters price: 11700 (total)
Pass 3: spleen.
spleen: At 12, consuming to 15 with 4675 meat.
simulating retrieval of one prismatic wad.
//etc. etc.
 

Theraze

Active member
Try this... Put the "finished with mojo filters" bit into the "should I check mojo filters?" section. Hopefully that should handle it, but I've only ever had it want to use mojo filters a few times, so I don't run into this often, personally... :)

If it fixes the problem, fronobulax can spin 3.1.6 or wait until someone finally answers the questions needed for me to code those 3 definite features. :)
 

Attachments

  • EatDrink.ash
    94 KB · Views: 55

palpitations

New member
If it fixes the problem, fronobulax can spin 3.1.6 or wait until someone finally answers the questions needed for me to code those 3 definite features. :)

That seems to have fixed it, though honestly I haven't tried to screw with things to make it happen again. Here's what I can say: With the same settings I had previously, that caused the infinite loop, I no longer have any problems.

Thanks for the quick response and fix, Theraze. I wish the vendors/programmers I dealt with at work were as responsive as you :)
 
Last edited:

Ballatoio

New member
Hello everybody,
I'm not sure if this is the right place to post that, but I've looked in the forums and I didn't find a place that looked more suitable. Anyway.

Latest version of EatDrink.ash consumed 10 filthy lucres in the process of eating 5 bowl of Bounty-Os and 5 Oreille Divisee. It had never done this before, and now I'm back 10 days in my olfaction acquisition :( Anyway, why all of sudden is EatDrink buying stuff from the BHH? I suppose there should be a variable telling it to avoid doing it, but I couldn't find any.
 

lostcalpolydude

Developer
Staff member
Did you recently check "Buy items with tokens at coinmasters whenever needed"? That's just a random guess at something that seems related.
 

Theraze

Active member
Yeah... most likely you told it to automatically acquire items from coinmasters. Eventually we're going to have some sort of thing in place to value those... but nobody's said yet whether we want token or item, high value or low value. So... if you set it to acquire items, mafia will trust that you mean it.
 

Donavin69

Member
is there a way to put a 'price override' in? (I would like to hard code the price of an item, so that it will consider the price based on that rather than what it currently is in the mall)

Specifically Twinkly Wads, since these occasionally get put in the mall for min-price, it screws up the value of them....(I would hold on to them and sell them at 'trader times') But, I don't want to explicitly deny the use of them, there are times that they are better than other things (like if you only have 1 spleen available)
 

Theraze

Active member
If you don't want to auto-consume them, just put them into the avoid set. If you end up with spleen remaining, you can just manually throw in a use request...

Alternatively, can make your alias run at a minimum average of 1.1 first, which eliminates twinkly wads. Then run normally after, see what you can find.
 

Banana Lord

Member
ED didn't completely fill my liver today: "Consuming up to 14 food, 19 booze, and 15 spleen". Ended up at 18 drunkenness. Running v3.1.5 from the first post. I've seen this once or twice before with older versions. Ran it a second time and it functioned as expected.

Code:
Checking for updates (running EatDrink ver. 3.1.5)...
_version_eatdrink => 3.1.5
You have a current version of EatDrink.
Refreshing stash contents...
Stash list retrieved.
Internal checkpoint created.
Skipping favorites.
Starting EatDrink.ash (version 3.1.5).
Consuming up to 14 food, 19 booze, and 15 spleen
Considering food from inventory closet Hagnk's NPCs the mall. Per-item budget cap is 125000.0.
Retrieval cap is 20000. Price will be a factor if you own it already.
An adventure has the value of 1100 meat. Muscle subpoint is 5.0. Nonprime stat subpoint is 1.0.
Pass 1: food.
food: At 1, consuming to 14 with 5000 meat.
Getting 3 spooky lo mein in 0 seconds
autoBuyPriceLimit => 1462.0
Searching for "secret blend of herbs and spices"...
Search complete.
Searching for "herbs"...
Search complete.
Searching for "spices"...
Search complete.
Searching for "spooky stir-fry"...
Search complete.
Searching for "spooky mushroom"...
Search complete.
Searching for "spooky lo mein"...
Search complete.
Searching for "dry noodles"...
Search complete.
Verifying ingredients for spooky lo mein (3)...
Verifying ingredients for spooky stir-fry (3)...
Using cached search results for spooky mushroom...
Purchasing spooky mushroom (3 @ 160)...
You acquire spooky mushroom (3)
Purchases complete.
Verifying ingredients for secret blend of herbs and spices (3)...
Using cached search results for herbs...
Purchasing herbs (3 @ 64)...
You acquire herbs (3)
You spent 192 Meat
Purchases complete.
Using cached search results for spices...
Purchasing spices (3 @ 170)...
You acquire spices (3)
Purchases complete.
Creating secret blend of herbs and spices (3)...
You acquire secret blend of herbs and spices (3)
Successfully created secret blend of herbs and spices (3)
Creating spooky stir-fry (3)...
You acquire spooky stir-fry (3)
Successfully created spooky stir-fry (3)
Creating spooky lo mein (3)...
You acquire spooky lo mein (3)
Successfully created spooky lo mein (3)
autoBuyPriceLimit => 20000
Getting 1 Genalen™ Bottle in 0 seconds
autoBuyPriceLimit => 1000.0
Searching for "Genalen™ Bottle"...
Search complete.
Purchasing Genalen™ Bottle (1 @ 170)...
You acquire an item: Genalen™ Bottle
Purchases complete.
autoBuyPriceLimit => 20000
Searching for "milk of magnesium"...
Search complete.
Getting 1 milk of magnesium in 0 seconds
autoBuyPriceLimit => 1361.0
Using cached search results for milk of magnesium...
Purchasing milk of magnesium (1 @ 1,089)...
You acquire an item: milk of magnesium
Purchases complete.
autoBuyPriceLimit => 20000
Using 1 milk of magnesium...
You acquire an effect: Got Milk (duration: 10 Adventures)
Finished using 1 milk of magnesium.
0: milk of magnesium price: 1089 value: 9911.0
Getting 1 milk of magnesium in 0 seconds
autoBuyPriceLimit => 1361.0
Using cached search results for milk of magnesium...
Purchasing milk of magnesium (1 @ 1,089)...
You acquire an item: milk of magnesium
Purchases complete.
autoBuyPriceLimit => 20000
Using 1 milk of magnesium...
You acquire an effect: Got Milk (duration: 10 Adventures)
Finished using 1 milk of magnesium.
0: milk of magnesium price: 1089 value: 2211.0
Eating 1 spooky lo mein...
You gain 23 Adventures
You gain 34 Sarcasm
You lose some of an effect: Got Milk
Finished eating 1 spooky lo mein.
1: spooky lo mein lev:6 gain:4.0 adv:18.0 musc:0.0 myst:0.0 mox:33.5 meat:1170 own:0 value:4665
Eating 1 spooky lo mein...
You gain 19 Adventures
You gain 30 Roguishness
You lose some of an effect: Got Milk
Finished eating 1 spooky lo mein.
2: spooky lo mein lev:6 gain:4.0 adv:18.0 musc:0.0 myst:0.0 mox:33.5 meat:1170 own:0 value:4665
Eating 1 spooky lo mein...
You gain 22 Adventures
You gain 31 Cheek
You lose some of an effect: Got Milk
Finished eating 1 spooky lo mein.
3: spooky lo mein lev:6 gain:4.0 adv:18.0 musc:0.0 myst:0.0 mox:33.5 meat:1170 own:0 value:4665
Eating 1 Genalen™ Bottle...
You gain 4 Adventures
You gain 21 Beefiness
You gain 25 Wizardliness
You acquire an item: useless powder
You lose some of an effect: Got Milk
Finished eating 1 Genalen™ Bottle.
4: Genalen™ Bottle lev:10 gain:1.0 adv:3.0 musc:22.5 myst:22.5 mox:0.0 meat:170 own:0 value:3265
Pass 2: drink.
drink: At 0, consuming to 19 with 1320 meat.
No drink available that's good enough. Found 6 items first. Moving on.
Getting 3 rockin' wagon in 0 seconds
autoBuyPriceLimit => 1850.0
Searching for "bottle of vodka"...
Search complete.
Searching for "fermenting powder"...
Search complete.
Searching for "bowl of rye sprouts"...
Search complete.
Searching for "vodka martini"...
Search complete.
Searching for "olive"...
Search complete.
Searching for "rockin' wagon"...
Search complete.
Searching for "magical ice cubes"...
Search complete.
Using cached search results for rockin' wagon...
Purchasing rockin' wagon (3 @ 1,480)...
You acquire rockin' wagon (3)
Purchases complete.
autoBuyPriceLimit => 20000
Getting 1 cup of primitive beer in 0 seconds
autoBuyPriceLimit => 1000.0
Searching for "cup of primitive beer"...
Search complete.
Purchasing cup of primitive beer (1 @ 415)...
You acquire an item: cup of primitive beer
Purchases complete.
autoBuyPriceLimit => 20000
Getting 1 a little sump'm sump'm in 0 seconds
autoBuyPriceLimit => 1292.0
Searching for "juniper berries"...
Search complete.
Searching for "bottle of gin"...
Search complete.
Searching for "martini"...
Search complete.
Searching for "a little sump'm sump'm"...
Search complete.
Searching for "little paper umbrella"...
Search complete.
Verifying ingredients for a little sump'm sump'm (1)...
Using cached search results for martini...
Purchasing martini (1 @ 130)...
You acquire an item: martini
Purchases complete.
Creating a little sump'm sump'm (1)...
You acquire an item: a little sump'm sump'm
Successfully created a little sump'm sump'm (1)
autoBuyPriceLimit => 20000
Internal checkpoint created.
Putting on tuxedo shirt...
Equipment changed.
Drinking 1 rockin' wagon...
You gain 12 Adventures
You gain 36 Sarcasm
You gain 4 Drunkenness
Finished drinking 1 rockin' wagon.
Putting on General Sage's Lonely Diamonds Club Jacket...
Equipment changed.
1: rockin' wagon lev:4 gain:4.0 adv:12.0 musc:0.0 myst:0.0 mox:35.0 meat:1480 own:0 value:3488
Internal checkpoint created.
Putting on tuxedo shirt...
Equipment changed.
Drinking 1 rockin' wagon...
You gain 11 Adventures
You gain 35 Smarm
You gain 4 Drunkenness
Finished drinking 1 rockin' wagon.
Putting on General Sage's Lonely Diamonds Club Jacket...
Equipment changed.
2: rockin' wagon lev:4 gain:4.0 adv:12.0 musc:0.0 myst:0.0 mox:35.0 meat:1480 own:0 value:3488
Internal checkpoint created.
Putting on tuxedo shirt...
Equipment changed.
Drinking 1 rockin' wagon...
You gain 13 Adventures
You gain 36 Chutzpah
You gain 4 Drunkenness
Finished drinking 1 rockin' wagon.
Putting on General Sage's Lonely Diamonds Club Jacket...
Equipment changed.
3: rockin' wagon lev:4 gain:4.0 adv:12.0 musc:0.0 myst:0.0 mox:35.0 meat:1480 own:0 value:3488
Drinking 1 cup of primitive beer...
You gain 4 Adventures
You gain 68 Beefiness
You gain 13 Muscularity Points
You lose 15 hit points
You gain 1 Drunkenness
Finished drinking 1 cup of primitive beer.
4: cup of primitive beer lev:12 gain:1.0 adv:3.0 musc:57.5 myst:0.0 mox:0.0 meat:414 own:0 value:3173
Drinking 1 a little sump'm sump'm...
You gain 10 Adventures
You gain 25 Wizardliness
You gain 9 Roguishness
You gain 4 Drunkenness
Finished drinking 1 a little sump'm sump'm.
5: a little sump'm sump'm lev:4 gain:4.0 adv:12.0 musc:0.0 myst:26.0 mox:9.0 meat:1034 own:1 value:3050
Drinking 1 pumpkin beer...
You gain 7 Adventures
You gain 27 Strongness
You gain 10 Enchantedness
You gain 19 Cheek
You gain a Moxie point!
You gain 3 Muscularity Points
You gain 1 Drunkenness
Finished drinking 1 pumpkin beer.
6: pumpkin beer lev:2 gain:1.0 adv:5.5 musc:7.5 myst:7.5 mox:12.5 meat:3700 own:3 value:2407
Pass 3: spleen.
spleen: At 0, consuming to 15 with 146 meat.
Getting 1 gooey paste in 0 seconds
autoBuyPriceLimit => 3500.0
Searching for "gooey paste"...
Search complete.
Purchasing gooey paste (1 @ 3,000)...
You acquire an item: gooey paste
Purchases complete.
autoBuyPriceLimit => 20000
Using 1 gooey paste...
You gain 8 Adventures
You gain 28 Muscleboundness
You gain 18 Wizardliness
You gain 22 Roguishness
Finished using 1 gooey paste.
1: gooey paste lev:4 gain:4.0 adv:7.5 musc:20.0 myst:20.0 mox:20.0 meat:2800 own:0 value:1397
Using 1 twinkly wad...
You gain 1 Adventure
You gain 14 Strengthliness
You gain 8 Magicalness
You gain 8 Sarcasm
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
2: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Using 1 twinkly wad...
You gain 1 Adventure
You gain 13 Strongness
You gain 10 Wizardliness
You gain 10 Cheek
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
3: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Spleen value is 983; mojo filter to get it costs 3690
Using 1 twinkly wad...
You gain 1 Adventure
You gain 13 Fortitude
You gain 9 Wizardliness
You gain 8 Roguishness
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
4: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Using 1 twinkly wad...
You gain 1 Adventure
You gain 11 Muscleboundness
You gain 9 Enchantedness
You gain 10 Roguishness
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
5: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Using 1 twinkly wad...
You gain 1 Adventure
You gain 11 Fortitude
You gain 8 Mysteriousness
You gain 8 Chutzpah
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
6: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Using 1 twinkly wad...
You gain 1 Adventure
You gain 11 Strengthliness
You gain 9 Wizardliness
You gain 10 Sarcasm
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
7: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Using 1 twinkly wad...
You gain 1 Adventure
You gain 14 Fortitude
You gain 8 Magicalness
You gain 8 Sarcasm
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
8: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Using 1 twinkly wad...
You gain 1 Adventure
You gain 11 Strongness
You gain 8 Enchantedness
You gain 10 Roguishness
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
9: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Using 1 twinkly wad...
You gain 1 Adventure
You gain 10 Strengthliness
You gain 10 Mysteriousness
You gain 9 Sarcasm
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
10: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Using 1 twinkly wad...
You gain 1 Adventure
You gain 11 Muscleboundness
You gain 9 Enchantedness
You gain 10 Sarcasm
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
11: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Using 1 twinkly wad...
You gain 1 Adventure
You gain 10 Muscleboundness
You gain 10 Magicalness
You gain 9 Roguishness
You acquire an effect: Aspect of the Twinklefairy (duration: 10 Adventures)
Finished using 1 twinkly wad.
12: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
Pass 3: spleen.
Skipping spleen.
Pass 4: drink.
Skipping drink.
choc: Checking non-filling crimbo chocolates - all 3 kinds
Best find was chocolate turtle totem with a value of -299. That's no good, so not consuming and moving on.
Finished. You had Milk of Magnesium in effect. Adventures listed above does not reflect that, but this does:
Spent 11515 meat. Gained Fullness: 13. Inebriety: 18. Spleen: 15.
Adventures: 144. Muscle: 273. Moxie: 352. Mysticality: 176.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
******************************************
Now, to recap...
******************************************
Starting EatDrink.ash (version 3.1.5).
Consuming up to 14 food, 19 booze, and 15 spleen
Considering food from inventory closet Hagnk's NPCs the mall. Per-item budget cap is 125000.0.
Retrieval cap is 20000. Price will be a factor if you own it already.
An adventure has the value of 1100 meat. Muscle subpoint is 5.0. Nonprime stat subpoint is 1.0.
food: At 1, consuming to 14 with 5000 meat.
0: milk of magnesium price: 1089 value: 9911.0
0: milk of magnesium price: 1089 value: 2211.0
1: spooky lo mein lev:6 gain:4.0 adv:18.0 musc:0.0 myst:0.0 mox:33.5 meat:1170 own:0 value:4665
2: spooky lo mein lev:6 gain:4.0 adv:18.0 musc:0.0 myst:0.0 mox:33.5 meat:1170 own:0 value:4665
3: spooky lo mein lev:6 gain:4.0 adv:18.0 musc:0.0 myst:0.0 mox:33.5 meat:1170 own:0 value:4665
4: Genalen™ Bottle lev:10 gain:1.0 adv:3.0 musc:22.5 myst:22.5 mox:0.0 meat:170 own:0 value:3265
drink: At 0, consuming to 19 with 1320 meat.
1: rockin' wagon lev:4 gain:4.0 adv:12.0 musc:0.0 myst:0.0 mox:35.0 meat:1480 own:0 value:3488
2: rockin' wagon lev:4 gain:4.0 adv:12.0 musc:0.0 myst:0.0 mox:35.0 meat:1480 own:0 value:3488
3: rockin' wagon lev:4 gain:4.0 adv:12.0 musc:0.0 myst:0.0 mox:35.0 meat:1480 own:0 value:3488
4: cup of primitive beer lev:12 gain:1.0 adv:3.0 musc:57.5 myst:0.0 mox:0.0 meat:414 own:0 value:3173
5: a little sump'm sump'm lev:4 gain:4.0 adv:12.0 musc:0.0 myst:26.0 mox:9.0 meat:1034 own:1 value:3050
6: pumpkin beer lev:2 gain:1.0 adv:5.5 musc:7.5 myst:7.5 mox:12.5 meat:3700 own:3 value:2407
spleen: At 0, consuming to 15 with 146 meat.
1: gooey paste lev:4 gain:4.0 adv:7.5 musc:20.0 myst:20.0 mox:20.0 meat:2800 own:0 value:1397
2: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
3: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
4: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
5: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
6: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
7: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
8: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
9: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
10: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
11: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
12: twinkly wad lev:6 gain:1.0 adv:1.0 musc:9.0 myst:9.0 mox:9.0 meat:180 own:564 value:983
choc: Checking non-filling crimbo chocolates - all 3 kinds
Best find was chocolate turtle totem with a value of -299. That's no good, so not consuming and moving on.
Finished. You had Milk of Magnesium in effect. Adventures listed above does not reflect that, but this does:
Spent 11515 meat. Gained Fullness: 13. Inebriety: 18. Spleen: 15.
Adventures: 144. Muscle: 273. Moxie: 352. Mysticality: 176.
Eating, drinking, and spleening complete. Commence merrymaking (at your own discretion).
 

Theraze

Active member
Or if you don't care about the budget, set STEP_MEAT to -1 and it'll use your whole meat as per consideration.
 

mrfatso

New member
Weird, ever since a few days ago, ED has been acting kinda strangely, it stop filling up my drunk and spleen counter and it just eat that's all.

Was there some new changes in mafia that i wasnt aware of?
 

Theraze

Active member
Not that I'm aware of... have you changed any of the zlib variables for EatDrink, such as the average or quality ones?
 

mrfatso

New member
Last i recall, all i did was download zlib.ash and eatdrink.ash and toss them into my script folder without doing anything. (mostly cos i am a lazy bugger and i am just too lazy to do any editing of mine own ;] )

Anyway, i tried redownloading and replacing the most recent copies of zlib and eatdrink right after posting that post, in the foolish hope that maybe it was something that i did to caused it. So, far, still unable to drink or eat spleen items.

Might this have anything to do with me in beecore though? Cos i remember after switching to beecore, spleen not working but well, it didnt bothered me since i was still able to eat and drink and make merry :)
 
Last edited:

slyz

Developer
Perhaps taking a look at the configuration would help.

Running with a higher verbosity and copying the gCLI output here would be also helpful.
 

Theraze

Active member
Yeah... remember in beecore it won't grab anything with 'b' anywhere in its name, so that eliminates a bunch of the standard consumption options, including every beer there is.

But the bottom line for eliminating items early would be the items minimumAverage (1.0), minimumQuality(0), budget(20000), and stepMeat(5000). Any item that's worth less than 20000 meat, that has a minimum average adventures of 1, that has a quality (on non-spleeners) of at least crappy, and that won't go over our micro-budget of 5000 meat spent to acquire it (in that category) is considered.

Personally, I turn my mQ to 1, so that items need to be worth more than 1 mA, but if I'm having problems with finding food (like when I'm in my current fistcore run and doing the hippy 0 war), I run ED with mQ 0 again and fill right back up...

But yeah, since there's no good reason for it to fail, the gCLI output helps. Specifically, the part from "Now, to recap..." on.
 
Top