I am looking to buy hi meins at the mall, and I am not particularly preferential as to the flavor. As such I wish to buy the 3 cheapest I can possibly buy. The problem, however, is that when I check my mall prices mafia does not look to see if after purchasing one of an item if it is still the cheapest.
as an example, I noticed to day that there is somebody selling hi meins for 288 a piece, but has limited you to 1/day. I would like to purchase 3 different types of said hi meins, but mafia checks prices and buys one of them for cheap and defaults to buying the other two and a far more expensive price while there are cheaper eats to be had.
I'm sure the reasoning mafia doesn't auto update mall prices is to prevent mallbots from buying up all the cheap stuff, but is there any way to force mafia to update mall prices on things?
what I'm using now
I realize that this is not good code for what I want, but because I can't get those updated prices, this is how it runs for now.
as an example, I noticed to day that there is somebody selling hi meins for 288 a piece, but has limited you to 1/day. I would like to purchase 3 different types of said hi meins, but mafia checks prices and buys one of them for cheap and defaults to buying the other two and a far more expensive price while there are cheaper eats to be had.
I'm sure the reasoning mafia doesn't auto update mall prices is to prevent mallbots from buying up all the cheap stuff, but is there any way to force mafia to update mall prices on things?
what I'm using now
Code:
foreach i in $items[sleazy hi mein, hot hi mein, spooky hi mein, stinky hi mein, cold hi mein]{
if (mall_price(i) < cheap_hi_mein){
cheap_hi_mein = min(cheap_hi_mein, mall_price(i));
cheap_hi_mein_name = i;
}
}
buy(3-hi_meins, cheap_hi_mein_name);
I realize that this is not good code for what I want, but because I can't get those updated prices, this is how it runs for now.