Skip to content

Commit

Permalink
Major updaterino
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Nov 27, 2023
1 parent f4aa02d commit 49418fa
Show file tree
Hide file tree
Showing 175 changed files with 16,065 additions and 15,477 deletions.
19 changes: 19 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Item Piles Changelog

## Version 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 in `8GP 9SP 4CP`, which is a bit more impressive
- `game.itempiles.API.calculateCurrencies("9gp 4sp 9cp", "5sp 4cp", false)` would result in `10GP 3CP`
- `game.itempiles.API.calculateCurrencies("9gp", 0.5)` would result in `4GP 5EP`
- Deprecated `game.itempiles.API.getPaymentDataFromString()` in favor of `game.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

## Version 2.8.1

- Fixed D&D5e displaying all characters for players when giving items, instead of just the ones they have at least limited visibility of
Expand Down
168 changes: 138 additions & 30 deletions docs/api.md

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,12 @@
"DeleteWhenEmptyDefault": "Default module setting",
"DeleteWhenEmptyYes": "Yes, delete when empty",
"DeleteWhenEmptyNo": "No, don't delete when empty",
"CanStackItems": "Can Stack Items",
"CanStackItemsExplanation": "With this setting, items added to the item pile will stack with similar items. This can also be controlled per-item in their configuration. Note: This is dependent on the system as well, since some items do not have quantity so they can never be stacked.",
"CanStackItemsYes": "Yes, stack items (unless item says otherwise)",
"CanStackItemsNo": "No, stack items (unless item says otherwise)",
"CanStackItemsYesAlways": "Yes, always stack items",
"CanStackItemsNoAlways": "No, never stack items",
"OverrideCurrencies": "Override Currencies",
"OverrideCurrenciesExplanation": "Configure if this pile should be able to transfer other currencies than the default.",
"ConfigureOverrideCurrencies": "Configure Override Currencies",
Expand Down Expand Up @@ -612,6 +618,8 @@
"OpenStatusOpen": "Open",
"OpenStatusClosed": "Closed",
"OpenStatusAuto": "Automatic (Simple Calendar)",
"HideTokenWhenClosed": "Hide Token When Closed",
"HideTokenWhenClosedExplanation": "When this is enabled, the token(s) of this merchant are hidden when closed.",
"ClosedDays": "Closed Days (Simple Calendar)",
"ClosedDaysExplanation": "On the days checked, the merchant will be closed (if the merchant open status is set to automatic).",
"ClosedHolidays": "Closed Holidays (Simple Calendar)",
Expand Down Expand Up @@ -647,8 +655,6 @@
"LayoutExplanation": "This is how many columns and rows should be visible in the vault.",
"Columns": "Columns",
"Rows": "Rows",
"CanStackItems": "Can Stack Items",
"CanStackItemsExplanation": "With this enabled, items added to the vault will stack with similar items. This can also be controlled per-item in their configuration.",
"EnableExpansion": "Enable Expansion Items",
"EnableExpansionExplanation": "With this enabled, items that are configured as vault expanders will expand the vault's available space.",
"BaseExpansion": "Base Expansion",
Expand Down
Loading

0 comments on commit 49418fa

Please sign in to comment.