Latest version | 0.3.1 |
---|---|
Minimum Core | 0.8.0 |
Compatible Core | 0.8.6 |
File size | 0 B |
Last updated | 2 years ago |
Created | 3 years ago |
Authors |
|
Languages |
English French (France) Português (Brasil) |
Systems |
Dnd5e |
Project source | Project URL |
Report bugs | Bug tracker URL |
Read-me | Readme URL |
Changelog | Changelog URL |
A simple module to use for looting dead NPCs tokens. With it the token's targets will have their items moved to the user's sheet. (with the exception of some like natural weapons, feats and spells). Some items have a chance of not being in good use and will not be sent to the sheet (configurable percentage).
You can install this module by using the following manifest URL : https://raw.githubusercontent.com/rinnocenti/innocenti-looting/main/module.json
This module was created to work in a world with other support modules so you don't have to increase your workload.
The module is system dependent:
And the Modules:
Create a macro with permission for all your players with the following content:
Macro [NEW MACRO] - LOOTING
(async () => { let actions = new InnocentiLoot.Loot(); await actions.Check(); })();
the module basically works looking for a items in the token inventory of npc with hp 0, can be looted using the target with a macro, unless they are: classes, spells, feats, natural weapons, siege weapons, vehicle equipment and natural equipment.
From version 0.2 the module adapts a new type of loot for currencys.
a loot type item that has the end of its name, in brackets, the abbreviation of the currencies in force will be considered coins of the same type. for example:
A valid abbreviation must be in lower case and in parentheses at the end of the item name. Alternatively you can make the item also generate a random quantity (eg. 3d6) of the item using the item's "source" field.
For the quantity, the module will initially consider if the item's source field has a valid roll, otherwise it will consider the item's quantity field.
In the example above this item will generate 3d6 gold coins for the player who loot it.
From version 0.2 the module adapts a new type of loot for random items. This type of item does not consider the module settings for the percentages of looting items, all items drawn will be added. a random table loot is recognized by the name that must begin with 'Table:' followed by the name of the rollable table to be drawn, eg:
'Table: My Random Tresures'
will draw new items from the "My Random Tresures" rollable table add them to the loot list.
The table should only contain items and/or other item tables. Items can be in the items folder in your world or in any item compendium.
Items also have a percentage (configurable in module settings) chance of not being in good use and not being moved (and deleted) to the character sheet.
If you like this module and would like to help or found a bug or request new features call me on discord @Innocenti#1455 or create a issue here.
This Foundry VTT module, writen by Innocenti, is licensed under a Creative Commons Attribution 4.0 International License.
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: innocenti-looting or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.