Releases: fantasycalendar/FoundryVTT-ItemPiles
Releases · fantasycalendar/FoundryVTT-ItemPiles
2.8.!4
2.8.3
2.8.2
- Added API endpoints:
game.itempiles.API.getItemCategories()
game.itempiles.API.getCostOfItem()
game.itempiles.API.getItemQuantity()
game.itempiles.API.calculateCurrencies()
which can be used to calculate different currency strings;game.itempiles.API.calculateCurrencies("10gp", "5gp")
would result in 5GP (wow, impressive right?)game.itempiles.API.calculateCurrencies("9gp 4sp 9cp", "5sp 4cp")
would result in8GP 9SP 4CP
, which is a bit more impressivegame.itempiles.API.calculateCurrencies("9gp 4sp 9cp", "5sp 4cp", false)
would result in10GP 3CP
game.itempiles.API.calculateCurrencies("9gp", 0.5)
would result in4GP 5EP
- Deprecated
game.itempiles.API.getPaymentDataFromString()
in favor ofgame.itempiles.API.getPaymentData()
- Updated
game.itempiles.API.getPaymentData()
to also accept a number as its first argument - Added support for Custom System Builder property paths
- Added support for soft migrations to systems, which will avoid customized settings being overwritten
- Fixed DnD5e's race type item being able to be dropped
- Fixed Alien RPG's currency quantity
- Fixed Forbidden Land's currency paths
2.8.1
2.8.0
- Added "Send To Character" when right-clicking items in your inventory in D&D5e - a much faster way to send items between characters
- Added Merchant price modifier support for "group" type actors in D&D5e - adding a group to a merchant's price modifiers will apply the price modifiers to anyone belonging to that group actor (thanks to Paith on discord for the idea!)
- Added
game.itempiles.API.refreshMerchantInventory()
, which can be called to manually refresh a merchant's inventory based on its configured tables - Added
PRICE_MODIFIER_TRANSFORMER
andSYSTEM_HOOKS
togame.itempiles.API.addSystemIntegration()
- Updated Chinese and Czech localization (thank you EternalRider and Mortan on weblate!)
2.7.22
2.7.21
2.7.20
2.7.19
2.7.18
- Added optional logging to merchants
- Added hook:
item-piles-preRefreshInventory
- Called when the inventory of a merchant is refreshed by Simple Calendar, which will allow you to add additional changes to the merchant, or fully interrupt that merchant's refresh
- Updated Portuguese localization (thanks to ltsoares on weblate!)
- Updated Star Wars: Saga Edition system configuration (thanks to cpadilla on github!)
- Fixed secondary currencies would not be cached in the Item Piles currency compendium
- Fixed buying/selling things on merchants with secondary currencies
- Fixed adding currency to item piles & vaults not updating to the correct amount