loathers / autoscend

An ascension script for KoLMafia
Other
45 stars 70 forks source link

Failing to eat and drink to fullness when Crimbo Town vanishes #654

Closed magus-prime closed 3 years ago

magus-prime commented 3 years ago

Now that Crimbo Town has disappeared autoscend isn't even considering non-Crimbo shop food. Would you consider coding fallback consumables when the the script fails to acquire the desired quantity of consumables? To my mind it would be a good idea, as a general case: if the "best" consumable isn't acquirable, for some reason, pick the next one in line.

[INFO] - Post Adventure done, beep. Updating inventory... [INFO] - auto_autoConsumeOne: Planning to execute drink cranberry margarita for 15.0 base adv (3 inebriety) [BUY] [INFO] - ConsumeAction(it=cranberry margarita,cafeId=0,size=3,adventures=15.0,desirability=15.0,organ=2,howToGet=103) [INFO] - autoPrepConsume: Buying a cranberry margarita Purchasing cranberry margarita (1 @ 285)... Desired purchase quantity not reached (wanted 1, got 0) Updating inventory... [INFO] - auto_autoConsumeOne: Planning to execute eat stuffed red and green pepper for 15.5 base adv (3 fullness) [BUY] [INFO] - ConsumeAction(it=stuffed red and green pepper,cafeId=0,size=3,adventures=15.5,desirability=15.5,organ=1,howToGet=103) [INFO] - autoPrepConsume: Buying a stuffed red and green pepper Purchasing stuffed red and green pepper (1 @ 285)... Desired purchase quantity not reached (wanted 1, got 0) [INFO] - Turn(394): Starting with 3 left and 15 pulls left at Level: 12 [INFO] - Still flyering: 3324 [INFO] - Encounter: -25.0 Exp Bonus: 17.900320512820514 [INFO] - Meat Drop: 60.0 Item Drop: 213.6312656631513 [INFO] - HP: 790/879, MP: 96/497, Meat: 2862 [INFO] - Tummy: 3/15 Liver: 7/14 Spleen: 9/15 [INFO] - ML: 50 control: 10 [INFO] - Delay between adventures... beep boop...

darkaxz commented 3 years ago

New mafia update knows crimbo town is gone so that should fix that hopefully. I asked on discord and they said it's intentional for the script to let you manually eat if the food it tries to eat fails.

magus-prime commented 3 years ago

If it's working as designed then it works for me. Thanks for the feedback.