Ok im sure this is simple and i'll feel really dumb when someone shows me but my brain is not working right now
I have a variable For currency, and a variable for an item cost, also every time this item is bought its price goes up by a variable which is a multiplier.
Example: Cost of an object is 6 and the multiplier (.5) is floor(cost + (cost*Multiplier). The first item bought is then 6 and the second one is then 9.
Now the part im having trouble with - I want to be able to buy multiple of that item at once. Lets say you can choose to buy 1, 10, 100 or max. Max would be based on their total coins how many they could buy of said object.
Thanks for any help