My question is - I do not want to show that I have a "possible" amount for all of the different coinages. Just 2-3 types of coins out of 5, but I want to make sure all of them are included, in case I decide to make the rarest coin available to my funds. My character in my VN is going to be doing shopping, eventually, and There's six different coin currencies. But the character will probably not get the 'rarer' currencies. So, I was wondering if there was an alternate way to maybe calculate a certain set?
For example: My character will probably deal with Copper Coins, Gold/Silver, and an occasional Steel. In this universe, steel is more rarer/valued than gold. I want to make sure the character is actually 'getting' their change if they pay with a higher valued coin, but this method just feels like I'm just re-arranging the coin values into the different values.
Code: Select all
$ cp_funds = 1000
$ renpy.say(None, "I have {0} Platinum, {1} Steel, {2} Iron, {3} Silver, {4} Gold, and {5} Copper Pieces.".format(cp_funds / 500, cp_funds / 100, cp_funds / 10, cp_funds / 5, cp_funds / 0.4, cp_funds))
$ cp_funds +=500
$ renpy.say(None, "I have {0} Silver pieces.".format(cp_funds / 5))
$ renpy.say(None, "I have {0} Steel, or {1} Copper pieces.".format(cp_funds / 100, cp_funds))
If you have questions, just ask I'll try to clarify things if I can.