Many players report that KoLMafia will buy grains of sand to make a new etched hourglass when attempting to use one as part of breakfast. The most common cause of this seems to be when the hourglass is left in Hangk's. KoLMafia will attempt to pull it, but if it doesn't register a success then it seems that it falls back to creating a new one. This can also occur if Hangk's is emptied but KoLMafia inventory gets desynchronized from KOL's. Perhaps there are other cases as well (closet?).
Right now inside of the BreakfastManager's
Right now inside of the BreakfastManager's
useToys
function, it attempts to pull items from storage and then creates a UseItemRequest
. Later, it looks like the UseItemRequest
attempts to call InventoryManager's retriveItem
function. Maybe it is worth a special case to skip the creation of etched hourglasses in retrieveItem
?autoBuyPriceLimit
also does not prevent this. Individually, grains of sand tend to cost much less than a typical player's price limits are set to. In aggregate, however, they will far exceed it. Perhaps functions calling the retrieveItem
command should consider the total cost to create an item and check that against the autoBuyPriceLimit
? Right now it looks like it only checks the cost of multiples of the end products.
Last edited: