Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Feb 10, 2022
1 parent 8546118 commit c6d666f
Show file tree
Hide file tree
Showing 16 changed files with 200 additions and 182 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ This module leverages the [Advanced Macros](https://github.com/League-of-Foundry

## Natively Supported Systems

Item Piles is designed to work in all systems, but may require some setup for it to fully function. Please refer to the module settings to configure that.

- [Dungeons & Dragons 5e](https://foundryvtt.com/packages/dnd5e)
- [Pathfinder 1e](https://foundryvtt.com/packages/pf1)
- [Dungeon Slayers 4](https://foundryvtt.com/packages/ds4)
Expand Down Expand Up @@ -211,4 +213,4 @@ This package is under an [MIT](LICENSE) and the [Foundry Virtual Tabletop Limite
- STB#9841 for the German localization
- Brother Sharp#6921 for the Japanese localization
- Forgotten Adventures for their amazing chest sprites (not included in the module)
- Caeora for their great maps and tokens (not included in this module)
- Caeora for their great maps and tokens (not included in this module)
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Item Piles Changelog

## Version 1.4.1
- Fixed opening more than one item pile inventory would result in an error
- Fixed not being able to add currencies to item piles
- Fixed bug causing `Add Currency (GM mode)` to throw an error when using tokens as the trader
- Minor fixes and adjustments to the Item Pile Inventory UI
- Renamed `openItemPileInventory` to `renderItemPileInterface` which will become deprecated in 1.5.0
- Removed stray `Debugger`, whoops

## Version 1.4.0 - Trading Edition!
- Added user-to-user trading!
- Multiple ways to initiate a trade:
Expand Down
6 changes: 3 additions & 3 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<dt><a href="#deleteItemPile">deleteItemPile(target)</a> ⇒ <code>Promise</code></dt>
<dd><p>Deletes a pile, calling the relevant hooks.</p>
</dd>
<dt><a href="#openItemPileInventory">openItemPileInventory(target, userIds, {inspectingTarget, useDefaultCharacter})</a> ⇒ <code>Promise</code></dt>
<dt><a href="#renderItemPileInterface">renderItemPileInterface(target, userIds, {inspectingTarget, useDefaultCharacter})</a> ⇒ <code>Promise</code></dt>
<dd><p>Remotely opens an item pile&#39;s inventory, if you have permission to edit the item pile. Passing a user ID, or a list of user IDs, will cause those users to open the item pile.</p>
</dd>
<dt><a href="#isValidItemPile">isValidItemPile(document)</a> ⇒ <code>boolean</code></dt>
Expand Down Expand Up @@ -373,9 +373,9 @@ Deletes a pile, calling the relevant hooks.
| --- | --- |
| target | <code>Token/TokenDocument</code> |

<a name="openItemPileInventory"></a>
<a name="renderItemPileInterface"></a>

## ItemPiles.API.openItemPileInventory(target, userIds, {inspectingTarget, useDefaultCharacter}) ⇒ <code>Promise</code>
## ItemPiles.API.renderItemPileInterface(target, userIds, {inspectingTarget, useDefaultCharacter}) ⇒ <code>Promise</code>
Remotely opens an item pile's inventory, if you have permission to edit the item pile. Passing a user ID, or a list of user IDs, will cause those users to open the item pile.


Expand Down
Loading

0 comments on commit c6d666f

Please sign in to comment.