In HC/Ronin, calculations should be based on the cheapest renewable restores, not dropped restore items, since acquiring such an item also requires farming or pulling from storage, which increases the cost by an indeterminable amount. Calculation of renewable restores is probably mostly the same as what's already in SS.
But once acquiring an item does not require farming/pulling (i.e. you have mall access), mall price is completely relevant, since the cost of replacing those items is no more than mall price -- whether your script is set to buy those items from the mall or not.
So probably the best option for can_interact() is to set it to the restore value that the script actually gets when it runs, calculated based on mall price. For example, if someone with mall access had turned off buying items, and the script chose to use a restore item from inventory rather than buying a more efficient restore item, the restore cost value would still be based on the mall price for the item used.