Register

Innocenti's Loot

An Add-on Module for Foundry Virtual Tabletop

Author: Innocenti Project Source: Project URL Versions 10+ (Verified 11) Last Updated 11 months ago

A module to use for looting dead tokens. With it the token's targets or at the end of combat will have their items looting to the user's sheet or a new loot token. (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 and types) some even being damaged for sale and use.

THIS VERSION IS A NEW SCRIPT FOR OLD INNOCENTI LOOTING https://raw.githubusercontent.com/rinnocenti/innocenti-looting

youtube Video: Youtube - Innocenti Looting

Installation

You can install this module by using the following manifest URL : https://raw.githubusercontent.com/rinnocenti/innocenti-loot/master/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:

Modules is compatible with (and recomended):

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 (legacy) or in the end of combat, remove itens like classes, spells, feats, natural weapons, siege weapons, vehicle equipment and natural equipment. This module works in two ways:

Legacy:

Macro [NEW MACRO] - LOOTING

(async () => { let actions = new InnocentiLoot.Loot(); await actions.Check(); })();

target the tokens you want to loot and trigger the macro.

End Combat:

At the end of the combat, the GM will have the inventory of items from the all defeated tokens and it's up to him to check and decide how it will be distributed. (NO NEED MACROS).

Loot Currency end Coins

For this new version the itens coins e itens tables continue to work, but with the addition of also using the coins created by the DFreds Pocket Change module as well.

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.

Loot Items Rolltables.

The module adapts a new type of loot for random items. 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.

Damaged and Broken Items

The module has a system of broken and damaged items. There is a percentage chance that an item will be looted, broken or damaged. (percentages and odds are checked in the module settings) some types of items cannot be broken or damaged, they are:

Damaged Items

Damaged items have their price and attack strength reduced according to the module's settings.

Broken Items

A broken item items have their price reduced according to the module's settings. and have an exclusive setting to handle these items in the module's settings, which are:

Inventory Screen

When activating the macro or at the end of each combat, an inventory screen like this one will be displayed

1 - Send loot for a specific player

It is now possible to send all the loots collected to a specific character. The character must be previously linked to a player. this option is only relevant if used with the loot all button.

2 - Loot Name

This option is only relevant if used with the create loot button. It defines the name of the actor/token that will be created to place looted items.

3 - Targets

Displays a list of tokens that have been selected and have valid loot.

4 - Currencys

Details the total amount of coins found with the targets.

5 - Sell All items

Select all inventory items to be converted to currencies.

6 - Valor por unidade

Exibe o valor unitário do item.

7 - Sell item

Select only this inventory item to be converted to currencies.

8 - Loot All

By selecting the option, all eligible loot items will be sent to the selected character in "send loot to". A chat card will be created to display the final results.

9 - Create Loot

This option is only available if the "Loot Sheet npc5e" module is active. An actor with all eligible loot items will be created in the foundry's actors tab and a token will be made available on the map. bellow the token that activated the loot macro, or on the place of the looted tokens after combat. A chat card will be created to display the final results.

Chat Card of Results:

Future Features

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. if you want this module to have support for other systems, please contact me explaining how it should work with the system.

License

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

Supported Game Systems

  1. Dungeons & Dragons Fifth Edition

    Latest Version: Version 3.1.2 Last Updated 1 week, 1 day ago

Categories

Available Versions

  1. Version 0.2.44

    11 months ago
    Foundry Version 10+ (Verified 11) Manifest URL Read Notes