efilnikufecin
Member
stat days!!! Yes!
Oh ummm another odd idea.
int my_shop_price(item it) would return the current price in my mall store for an item.
Now this isn't actually internal data. I am aware of this, but it is data that stares kolmafia right in the face when querying shop_amount. I figured it can't hurt too much to ask.
Oh ummm another odd idea.
int my_shop_price(item it) would return the current price in my mall store for an item.
Code:
void shop_take(item ItemToPull)
{
if(shop_amount(ItemToPull) > 0){cli_execute("managestore.php?action=takeall&whichitem=" + item_to_int(ItemToPull));}
}
int tempprice;
if(shop_amount($item[incredibly dense meat gem]) > 1)
{
tempprice = my_shop_price($item[incredibly dense meat gem]);
shop_take($item[incredibly dense meat gem]);
//equip the idmg then adventure
put_shop(tempprice, 0, $item[incredibly dense meat gem]);
}
Now this isn't actually internal data. I am aware of this, but it is data that stares kolmafia right in the face when querying shop_amount. I figured it can't hurt too much to ask.