Closed kristianserrano closed 1 year ago
Found this in the Item Piles wiki.
CURRENCIES The currencies used in this system.
game.itempiles.API.CURRENCIES ⇒ Array<{primary: boolean, name: string, data: Object, img: string, abbreviation: string, exchange: number}>
Seems pretty straight forward. The biggest challenge, which isn't much of one at all, is providing an Item for each of the denominations. IIRC, SFC creates the items already, so using that same data model could make that easy.
I assume pulling the currencies would be pretty easy as well.
I just started playing with the interaction between this and Item Piles. I noticed that Item Piles has its own currency configuration settings, including denominations and exchanges. I think it could be a really good convenience feature if SWADE Fantasy Currencies could push and pull settings between it and Item Piles, and push it during initialization in a new World.