Currencies can be used to exchange with other objects. The currency editor allows you to define your currency. A currency on its own does not do much, but by nesting them and setting exchange rates you can easily create a multi-currency set up.
The editor contains the following currency properties:
- Name: The name of the currency. The name must be unique.
- Icon: The icon representing the currency. This is used both in the editor and at runtime.
- Base Currency: The currency that the selected currency is made up of. The base currency should always be less valuable than the selected currency.
- Base Exchange Rate: The amount of base currency that equates to this currency.
- Max Amount: The max amount of currency is used by the Currency Collection to limit the amount of currency it can hold
- Overflow Currency: The Overflow Currency must be more valuable than the selected currency. This field specifies the currency that will be used as conversion when the currency overflows past its max amount in a currency collection.
- Fraction Currency: The Fraction Currency must be less valuable than the selected currency. This field specifies the currency that will be used as conversion with fractional the currency amount in the currency collection.
The relationship box shows the relations between the currencies in the family. For currencies to share a family they must have the same source currency (the root currency base). You can click on the currency icon to jump to its page easily. The relation element shows the exchange rate for each currency. It also shows which currency is the Root, Base, Overflow and Fraction.