Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jopeek/fvtt-loot-sheet-npc-5e
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 12.400.0.0
Choose a base ref
...
head repository: jopeek/fvtt-loot-sheet-npc-5e
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: lootsheet-simple
Choose a head ref

Commits on Aug 26, 2024

  1. Update module.json

    jopeek authored Aug 26, 2024
    Copy the full SHA
    4d6b045 View commit details

Commits on Sep 4, 2024

  1. attempt to resolve #423

    jopeek committed Sep 4, 2024
    Copy the full SHA
    8ddde21 View commit details

Commits on Sep 16, 2024

  1. 12.400.3

    jopeek committed Sep 16, 2024
    Copy the full SHA
    591c78d View commit details

Commits on Sep 24, 2024

  1. wip

    jopeek committed Sep 24, 2024
    Copy the full SHA
    564b6bc View commit details

Commits on Sep 25, 2024

  1. wip

    jopeek committed Sep 25, 2024
    Copy the full SHA
    dbe6442 View commit details
  2. Setup all done

    Need to re-implement the loot/buy functionality
    jopeek committed Sep 25, 2024
    Copy the full SHA
    cb55fc9 View commit details
  3. Fully functional

    Known issue that search and sort don't work for non-owners. That seems to be standard behaviour of the source NPC sheet...
    jopeek committed Sep 25, 2024
    Copy the full SHA
    f6ec3cc View commit details
  4. Update lootsheet-simple.css

    jopeek committed Sep 25, 2024
    Copy the full SHA
    8cb5dd2 View commit details
  5. Update module.json

    jopeek committed Sep 25, 2024
    Copy the full SHA
    ce42c3f View commit details

Commits on Sep 26, 2024

  1. Merge pull request #426 from jopeek/v2

    V2
    jopeek authored Sep 26, 2024
    Copy the full SHA
    ba5d318 View commit details
  2. screenshots for readme

    jopeek committed Sep 26, 2024
    Copy the full SHA
    6b78fbc View commit details
  3. Update README.md

    jopeek authored Sep 26, 2024
    Copy the full SHA
    cc8d3ae View commit details
  4. Update README.md

    jopeek authored Sep 26, 2024
    Copy the full SHA
    5afbd33 View commit details
  5. Update README.md

    jopeek authored Sep 26, 2024
    Copy the full SHA
    0ed973d View commit details
  6. Update README.md

    jopeek authored Sep 26, 2024
    Copy the full SHA
    00ee5b0 View commit details
  7. work on .5

    jopeek committed Sep 26, 2024
    Copy the full SHA
    4a1a8ee View commit details
  8. Update lootsheet-simple.js

    jopeek committed Sep 26, 2024
    Copy the full SHA
    e24290e View commit details

Commits on Sep 27, 2024

  1. .6

    * fix for moving entire qty stack
    * enabled +/- qty adjustment outside of edit mode as that is the norm
    jopeek committed Sep 27, 2024
    Copy the full SHA
    0023dff View commit details
  2. .7

    * Attempt to recursively copy container contents
    jopeek committed Sep 27, 2024
    Copy the full SHA
    fedd50b View commit details

Commits on Nov 29, 2024

  1. 12.400.8

    fix minor bug with checking if buyer has enough funds
    jopeek committed Nov 29, 2024
    Copy the full SHA
    20102ec View commit details

Commits on Jan 19, 2025

  1. Copy the full SHA
    75b7536 View commit details
  2. fix plus minus item quantity permissions

    Wrap them in if root owner tags
    costonb committed Jan 19, 2025
    Copy the full SHA
    f24da23 View commit details
  3. Add in ability to split coins

    Moved distributeCoins to static method in helper so both code paths went through the same code
    Made adjustments to the distributeCoins method so it works properly
    Added button to split coins
    Added owner check for the manage currency button
    costonb committed Jan 19, 2025
    Copy the full SHA
    de0f6de View commit details

Commits on Jan 20, 2025

  1. Merge pull request #431 from costonb/item-merge

    merge stacks on loot/buy item
    jopeek authored Jan 20, 2025
    Copy the full SHA
    20162d8 View commit details
  2. Merge pull request #432 from costonb/item-quantity-permissions

    fix plus minus item quantity permissions
    jopeek authored Jan 20, 2025
    Copy the full SHA
    3176599 View commit details
  3. Copy the full SHA
    589fbcf View commit details
  4. Merge pull request #433 from costonb/split-currency

    Add ability to split coins
    jopeek authored Jan 20, 2025
    Copy the full SHA
    49c86cd View commit details
  5. Use TABS static variable

    Simplify module to override the TABS static variable rather than adjusting html directly in activateListensers method
    costonb committed Jan 20, 2025
    Copy the full SHA
    78dfd07 View commit details

Commits on Jan 27, 2025

  1. Merge pull request #435 from costonb/simplify-tabs

    Use TABS static variable
    jopeek authored Jan 27, 2025
    Copy the full SHA
    e7cb82d View commit details
  2. Update module.json

    jopeek committed Jan 27, 2025
    Copy the full SHA
    220a0a3 View commit details
  3. Merge pull request #434 from jopeek/bc-prs

    Bc prs
    jopeek authored Jan 27, 2025
    Copy the full SHA
    4400f9b View commit details
20 changes: 20 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"trailingComma": "all",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 100,
"useTabs": false,
"bracketSpacing": true,
"endOfLine": "lf",
"arrowParens": "always",
"overrides": [
{
"files": "**/*.hbs",
"options": {
"parser": "angular"
}
}
]
}

51 changes: 7 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
@@ -8,55 +8,18 @@ A loot sheet allows players with the right permissions to loot items from it, wh

### History

The latest version is based on the dnd5e 3.0 NPC sheet and thus requires at least version 3.0.0 of that system.

This version was forked from Hooking's module which ended compatibility with Foundry VTT version 0.3.9 (https://gitlab.com/hooking/foundry-vtt---loot-sheet-npc). This fork should be updated by me to keep it current with Foundry VTT.

I will only maintain a DND5e compatible version of this mod, but I encourage forks for other systems as well as accept pull requests and contributions for this one. I'm very busy and appreciate all current and future contributors!

### Features

Allows for easy assembly of items and coins to be distributed to players.

More features detailed below.

##### Permissions
Permissions can be set in the sheet for each player and range from no access (cannot open sheet) to observer (view sheet and contents and utilize loot or buy buttons) to owner (view sheet and add/remove items and configure sheet).

![demo_permissions](https://thumbs.gfycat.com/CaringWildKoi-size_restricted.gif)

##### Shopkeeper Sheet
Can be used to create an inventory of a shopkeeper to allow players to peruse their inventory. Prices are listed next to each item.

![demo_inventory](https://raw.githubusercontent.com/jopeek/fvtt-loot-sheet-npc-5e/master/images/demo_inventory.jpg)

##### Price Modifier
Prices can be adjusted by percentage for all owned items.

![price_modifier](https://thumbs.gfycat.com/WelloffFortunateInganue-size_restricted.gif)

A Biography tab is also available.

![demo_biography](https://raw.githubusercontent.com/jopeek/fvtt-loot-sheet-npc-5e/master/images/demo_biography.jpg)

##### Coin Distribution
Any coins in the sheet can easily be split evenly across all players with owner access. The math and distribution is done for you via a single click if you're the GM.

![demo_splitcoins](https://thumbs.gfycat.com/ElementaryDependentGalapagosdove-size_restricted.gif)

##### Create Spell Scrolls
Dragging of spells into the sheet will automatically turn them into scrolls.

![demo_scrolls](https://thumbs.gfycat.com/LividAccurateFluke-size_restricted.gif)

### Compatibility:
- Tested with FVTT v0.7.9 and the DND5E system only.

### Installation Instructions

To install a module, follow these instructions:
##### Screenshots

1. Start FVTT and browse to the Game Modules tab in the Configuration and Setup menu
2. Select the Install Module button and enter the following URL: https://raw.githubusercontent.com/jopeek/fvtt-loot-sheet-npc-5e/master/module.json
3. Click Install and wait for installation to complete
![Screenshot](https://raw.githubusercontent.com/jopeek/fvtt-loot-sheet-npc-5e/refs/heads/lootsheet-simple/images/Screenshot%202024-09-25%20190208.png)
![Screenshot](https://github.com/jopeek/fvtt-loot-sheet-npc-5e/blob/lootsheet-simple/images/Screenshot%202024-09-25%20190214.png?raw=true)
![Screenshot](https://github.com/jopeek/fvtt-loot-sheet-npc-5e/blob/lootsheet-simple/images/Screenshot%202024-09-25%20190222.png?raw=true)
![Screenshot](https://github.com/jopeek/fvtt-loot-sheet-npc-5e/blob/lootsheet-simple/images/Screenshot%202024-09-25%20190232.png?raw=true)

### Feedback

Loading