Plans (on how to fix the issue)

Updated 10 months ago

Price issue

So, when item is bought on day with discounts, and then it is delivered on day without discounts - it will count as it was bought on this day, and the price will be set according to the current price, not the price when it was bought

Fix idea

When user buys item - remember it's name and price in array. When item is spawned - check it in array and get the price for it. Remove it from array after that.

To consider

For compatibility, even if item wasn't in array - we still set value for it according to current store prices.

Also, if item was delivered, but player didn't get it from the delivery, I should clean up my array of items (or something like that)