Closed mrstarbuck007 closed 4 months ago
According to the system template.json, there's a whole lot more types you might want to add: https://github.com/Muttley/foundryvtt-shadowdark/blob/develop/system/template.json#L145C1-L166C12
According to the system template.json, there's a whole lot more types you might want to add: https://github.com/Muttley/foundryvtt-shadowdark/blob/develop/system/template.json#L145C1-L166C12
Thanks! For some reason I couldn't find where those were defined.
Based on discussions I've seen in the Foundry discord server on this system, it has three currencies, and system.cost
is an object with the three currencies? Item Piles expects to be a single absolute number, as it cannot calculate an object's value.
The system implementation of D&D5e handled this with a custom handler:
https://github.com/fantasycalendar/FoundryVTT-ItemPiles/blob/master/src/systems/dnd5e.js#L48
Added support for the Shadowdark system.