Theraze
Active member
Some parts of it are using mall_price(item) directly, others use effective_price(grub). I'll maybe add an effective_price(item) that just does a mini-version of the effective_price processing, using historical_price if possible. We still want to use mall_price for any actual purchase, as this means our buy-price gets updated as cheapest changes. I'll tweak this up and upload a new less-chatty version after I get to test it.
The part that takes longer is parsing for creatable_amount. We need to know how much is still creatable considering how much we're already using. That should speed up some as well once we get a new effective_price function, but yes... it'll still be a bit slower. We may be able to speed it up some if creatable_amount properly uses mafia preferences to decide if mall ingredients are allowed... but the actual considering if it's still possible after will be later.
The part that takes longer is parsing for creatable_amount. We need to know how much is still creatable considering how much we're already using. That should speed up some as well once we get a new effective_price function, but yes... it'll still be a bit slower. We may be able to speed it up some if creatable_amount properly uses mafia preferences to decide if mall ingredients are allowed... but the actual considering if it's still possible after will be later.