Own is supposed to show the amount you have left after it's all done...
That was a very counter-intuitive way for dj_d to name a field, wasn't it?
Own is supposed to show the amount you have left after it's all done...
At drunkenness of 19. Overdrinking with 10000 meat.
Getting 1 sangria del diablo in 3 seconds
Countdown: 3 seconds...
Countdown: 2 seconds...
Countdown: 1 second...
Waiting completed.
autoBuyPriceLimit => 1000.0
Verifying ingredients for sangria del diablo (1)...
Verifying ingredients for skewered cherry (1)...
Searching for "cherry"...
Search complete.
Stopped purchasing cherry @ 1,095.
Using cached search results for cherry...
Stopped purchasing cherry @ 1,095.
You need 1 more cherry to continue.
autoBuyPriceLimit => 20000
Something went wrong with getting sangria del diablo for 2290. Recalculating.
Easiest thing to do there is raise your price flexibility... it will never go higher than your autoBuyPriceLimit regardless of what you set for flexibility, so if you want it to double its range, set flexibility to 200 and it shouldn't fail on badly malled items.
boolean get_on_budget(int totalquantity, item it, int maxprice)
int temp = buy(quantity, it, budget);
verbose ("That doesn't appear to be enough meat, but maybe it's cheap (or maybe you've got some in the closet). Either way, let's try.");
boolean retrieve_return_value = retrieve_item(quantity, it);
else if (it == $item[sangria del diablo])
{
get_on_budget(2, $item[cherry],
mall_price($item[cherry]) * PRICE_FLEXIBILITY);
get_on_budget(1, $item[boxed wine],
mall_price($item[boxed wine]) * PRICE_FLEXIBILITY);
special = create(1, it);
}
It does use the buy limit now.
?get_on_budget(2, $item[cherry],
mall_price($item[cherry]) * PRICE_FLEXIBILITY);
You probably need to update mafia from http://builds.kolmafia.us/ .Also, when I run the script, I get some error messages:
The string "awesome" is not a float; returning 0.0 (EatDrink.ash, line 303)
The string "good" is not a float; returning 0.0 (EatDrink.ash, line 303)
(etc. many lines of the same error message
That greatly simplifies the actual retrieval, since we shouldn't need to do the extra hermit-collection anymore.> ash retrieve_item(1, $item[jaba pepper])
Verifying ingredients for jabañero pepper (1)...
Purchasing chewing gum on a string (1 @ 50)...
You acquire an item: chewing gum on a string
You spent 50 Meat
Purchases complete.
Using 1 chewing gum on a string...
You acquire an item: worthless trinket
Finished using 1 chewing gum on a string.
Purchasing jabañero pepper (1 @ 1 worthless item)...
Visiting the Hermit...
You acquire an item: jabañero pepper
Hermit successfully looted!
Successfully created jabañero pepper (1)
Returned: true
I had 1 pepper from the prior quote. It properly bought 2 chewing gums, used them, and then took the 3 to the hermit... I'll need to test this later on a pre-hacked hermit, but otherwise it looks good. We'll need special handling for awareness of available items for the hermit, but shouldn't need special coinmaster retrieval anything anymore...food: At 6, consuming to 15 with 10000 meat.
Getting 3 painful penne pasta in 0 seconds
autoBuyPriceLimit => 1000.0
Verifying ingredients for painful penne pasta (3)...
Verifying ingredients for jabañero pepper (2)...
Purchasing chewing gum on a string (2 @ 50)...
You acquire chewing gum on a string (2)
You spent 100 Meat
Purchases complete.
Using 2 chewing gum on a string...
You acquire an item: worthless gewgaw
You acquire an item: worthless trinket
Finished using 2 chewing gum on a string.
Purchasing jabañero pepper (2 @ 1 worthless item)...
Visiting the Hermit...
You acquire jabañero pepper (2)
Hermit successfully looted!
Successfully created jabañero pepper (2)
Creating painful penne pasta (3)...
You acquire painful penne pasta (3)
Successfully created painful penne pasta (3)
> call scripts\EatDrink.ash
Refreshing stash contents...
Stash list retrieved.
Internal checkpoint created.
Skipping favorites.
Starting EatDrink.ash (version 3.1.4).
Consuming up to 15 food, 19 booze, and 15 spleen and then finishing off with the stiffest drink we can find.
Considering food from inventory Hagnk's Coinmasters NPCs the mall. Per-item budget cap is 25000.0.
Price will be a factor if you own it already. Hagnk's pulls (if enabled) will cost 3000 meat each.
An adventure has the value of 1000 meat. Mysticality subpoint is 10.0. Nonprime stat subpoint is 0.0.
Pass 1: food.
Skipping food.
Pass 2: drink.
Skipping drink.
Pass 3: spleen.
Skipping spleen.
Pass 4: drink.
At drunkenness of 19. Overdrinking with 10000 meat.
Getting 1 sangria del diablo in 3 seconds
Countdown: 3 seconds...
Countdown: 2 seconds...
Countdown: 1 second...
Waiting completed.
autoBuyPriceLimit => 1000.0
Verifying ingredients for sangria del diablo (1)...
Searching for "sangria"...
Search complete.
Stopped purchasing sangria @ 1,100.
Using cached search results for sangria...
Stopped purchasing sangria @ 1,100.
You need 1 more sangria to continue.
autoBuyPriceLimit => 20000
Something went wrong with getting sangria del diablo for 2240. Recalculating.
choc: Checking non-filling crimbo chocolates - all 3 kinds
Best find was chocolate pasta spoon with a value of -750. That's no good, so not consuming and moving on.
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.1.4).
Consuming up to 15 food, 19 booze, and 15 spleen and then finishing off with the stiffest drink we can find.
Considering food from inventory Hagnk's Coinmasters NPCs the mall. Per-item budget cap is 25000.0.
Price will be a factor if you own it already. Hagnk's pulls (if enabled) will cost 3000 meat each.
An adventure has the value of 1000 meat. Mysticality subpoint is 10.0. Nonprime stat subpoint is 0.0.
At drunkenness of 19. Overdrinking with 10000 meat.
choc: Checking non-filling crimbo chocolates - all 3 kinds
Best find was chocolate pasta spoon with a value of -750. That's no good, so not consuming and moving on.
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).
set_property("autoBuyPriceLimit", max((initialvalue >= 1000 ? 1000 : 0), min(initialvalue * PRICE_FLEXIBILITY, floor(mall_price(it) * PRICE_FLEXIBILITY))));
set_property("autoBuyPriceLimit", max(1000, min(20000 * 1.25, floor(1100 * 1.25))));