module

Innocenti Looting

Endorsements
2
Installs
0.5404%
Comments
0
Latest version0.3.1
Minimum Core0.8.0
Compatible Core0.8.6
File size0 B
Last updated2 years ago
Created3 years ago
Authors
  • Innocenti
    • renato.innocenti@gmail.com
    • @Innocenti#1455
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).

Installation

You can install this module by using the following manifest URL : https://raw.githubusercontent.com/rinnocenti/innocenti-looting/main/module.json

Dependencies

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:

  • System Dnd5 (v. 1.0 or greater) - Maybe work in another system.. (need tests)

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(); })();

How to Use

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.

Loot Currency end Coins

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:

  • "Silver (sp)" will convert your quantity into silver coins.
  • "Golden (gp)" will convert your quantity into golden coins.
  • "Bubble (sp)" will convert your quantity into silver coins.

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.

Loot Items Rolltables.

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.

Module Settings

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.

Future Features

  • Support for Module Better Tables
  • Pickpocket in lives npcs

Support

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.

License

This Foundry VTT module, writen by Innocenti, is licensed under a Creative Commons Attribution 4.0 International License.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x