diff --git a/languages/en.json b/languages/en.json index 53b61803..c852bb00 100644 --- a/languages/en.json +++ b/languages/en.json @@ -773,6 +773,18 @@ "Title": "Actor class type", "Hint": "This setting defines the type of actor that will be used for the default item pile actor that is created on first item drop. In the case of D&D5e, this is \"character\", as it does not have a dedicated loot actor type." }, + "ItemLootClass": { + "Title": "Item Loot class type", + "Hint": "The item class type is the type of item that will be used for the default loot item." + }, + "ItemWeaponClass": { + "Title": "Item Weapon class type", + "Hint": "The item class type is the type of item that will be used for the default weapon item." + }, + "ItemEquipmentClass": { + "Title": "Item Equipment class type", + "Hint": "The item class type is the type of item that will be used for the default equipment item." + }, "Quantity": { "Title": "Item quantity attribute", "Hint": "Here you can configure what the attribute path is for each item's quantity. For example, in D&D5e system, each item's quantity is stored in the item's \"item.system.quantity\" attribute, so you'd put \"system.quantity\" in this setting." diff --git a/src/API/api.js b/src/API/api.js index 5ed8ed2e..3a1d469b 100644 --- a/src/API/api.js +++ b/src/API/api.js @@ -1088,6 +1088,12 @@ class API { * @return {boolean} */ static isItemPileAuctioneer(target, data = false) { + if(!game.modules.get("item_piles_auctioneer")?.active) { + let word = "install and activate"; + if (game.modules.get('item_piles_auctioneer')) word = "activate"; + Helpers.custom_warning(`This api method from Item Piles requires the 'item_piles_auctioneer' module. Please ${word} it.`, true); + return false; + } return PileUtilities.isItemPileAuctioneer(target, data); } diff --git a/src/systems/a5e.js b/src/systems/a5e.js index 79a375b1..aece50c9 100644 --- a/src/systems/a5e.js +++ b/src/systems/a5e.js @@ -7,6 +7,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "object", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/alienrpg.js b/src/systems/alienrpg.js index b169196d..0fd58185 100644 --- a/src/systems/alienrpg.js +++ b/src/systems/alienrpg.js @@ -27,6 +27,16 @@ export default { }, "ITEM_SIMILARITIES": ["name", "type"], "ACTOR_CLASS_TYPE": "character", + + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + "ITEM_QUANTITY_ATTRIBUTE": "system.attributes.quantity.value", "ITEM_PRICE_ATTRIBUTE": "system.attributes.cost.value" } diff --git a/src/systems/blade-runner.js b/src/systems/blade-runner.js index 9e1ca7cc..21709d6b 100644 --- a/src/systems/blade-runner.js +++ b/src/systems/blade-runner.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "loot", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.qty", diff --git a/src/systems/cyberpunk-red-core.js b/src/systems/cyberpunk-red-core.js index cf08ab04..15ccc5f1 100644 --- a/src/systems/cyberpunk-red-core.js +++ b/src/systems/cyberpunk-red-core.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "gear", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.amount", diff --git a/src/systems/cyphersystem.js b/src/systems/cyphersystem.js index a183d00b..a4870daa 100644 --- a/src/systems/cyphersystem.js +++ b/src/systems/cyphersystem.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "pc", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.basic.quantity", diff --git a/src/systems/d35e.js b/src/systems/d35e.js index 91a5590b..585fc5e3 100644 --- a/src/systems/d35e.js +++ b/src/systems/d35e.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "npc", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "equipment", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/dark-heresy.js b/src/systems/dark-heresy.js index 470d139c..821dd13a 100644 --- a/src/systems/dark-heresy.js +++ b/src/systems/dark-heresy.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "acolyte", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/dcc.js b/src/systems/dcc.js index 67746fe2..a178b602 100644 --- a/src/systems/dcc.js +++ b/src/systems/dcc.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "Player", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/demonlord.js b/src/systems/demonlord.js index 203d92af..fc84df47 100644 --- a/src/systems/demonlord.js +++ b/src/systems/demonlord.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "creature", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/dnd4e.js b/src/systems/dnd4e.js index 8b36a174..d4f9b08d 100644 --- a/src/systems/dnd4e.js +++ b/src/systems/dnd4e.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "Player Character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/dnd5e-2.0.3.js b/src/systems/dnd5e-2.0.3.js index 3b1bf2b6..5044f841 100644 --- a/src/systems/dnd5e-2.0.3.js +++ b/src/systems/dnd5e-2.0.3.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "loot", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "weapon", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "equipment", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/dnd5e-2.4.1.js b/src/systems/dnd5e-2.4.1.js index 70b75837..656b5ffd 100644 --- a/src/systems/dnd5e-2.4.1.js +++ b/src/systems/dnd5e-2.4.1.js @@ -8,6 +8,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "loot", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "weapon", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "equipment", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/ds4.js b/src/systems/ds4.js index 13e0ced7..176ad20f 100644 --- a/src/systems/ds4.js +++ b/src/systems/ds4.js @@ -7,6 +7,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/fallout.js b/src/systems/fallout.js index 70bcadf0..be5984ad 100644 --- a/src/systems/fallout.js +++ b/src/systems/fallout.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/forbidden-lands.js b/src/systems/forbidden-lands.js index 493d0080..868fead6 100644 --- a/src/systems/forbidden-lands.js +++ b/src/systems/forbidden-lands.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/icrpg.js b/src/systems/icrpg.js index 2776883f..1c69e106 100644 --- a/src/systems/icrpg.js +++ b/src/systems/icrpg.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/icrpgme.js b/src/systems/icrpgme.js index f893faba..870a66be 100644 --- a/src/systems/icrpgme.js +++ b/src/systems/icrpgme.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/kamigakari.js b/src/systems/kamigakari.js index 19a83638..074f4d49 100644 --- a/src/systems/kamigakari.js +++ b/src/systems/kamigakari.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/knave.js b/src/systems/knave.js index a3f9521f..b4db85d6 100644 --- a/src/systems/knave.js +++ b/src/systems/knave.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/naheulbeuk.js b/src/systems/naheulbeuk.js index 11294f16..a256dfbb 100644 --- a/src/systems/naheulbeuk.js +++ b/src/systems/naheulbeuk.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/ose.js b/src/systems/ose.js index 01038e36..85d650a4 100644 --- a/src/systems/ose.js +++ b/src/systems/ose.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity.value", diff --git a/src/systems/pf1.js b/src/systems/pf1.js index d3f00216..58fff33c 100644 --- a/src/systems/pf1.js +++ b/src/systems/pf1.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "npc", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "equipment", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/pf2e.js b/src/systems/pf2e.js index 24415272..df713bf2 100644 --- a/src/systems/pf2e.js +++ b/src/systems/pf2e.js @@ -8,6 +8,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "loot", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "equipment", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/pirateborg.js b/src/systems/pirateborg.js index 1f796be8..df071b02 100644 --- a/src/systems/pirateborg.js +++ b/src/systems/pirateborg.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "container", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/ptu.js b/src/systems/ptu.js index a2121f73..1de36906 100644 --- a/src/systems/ptu.js +++ b/src/systems/ptu.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/sfrpg.js b/src/systems/sfrpg.js index c10ab9c6..0aba57e5 100644 --- a/src/systems/sfrpg.js +++ b/src/systems/sfrpg.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "npc2", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/shadowdark.js b/src/systems/shadowdark.js index 2d6b5ca8..565576ad 100644 --- a/src/systems/shadowdark.js +++ b/src/systems/shadowdark.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "Player", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/splittermond.js b/src/systems/splittermond.js index cbbde216..5071de7d 100644 --- a/src/systems/splittermond.js +++ b/src/systems/splittermond.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "npc", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/starwarsffg.js b/src/systems/starwarsffg.js index 7ad3820a..2bcaba0b 100644 --- a/src/systems/starwarsffg.js +++ b/src/systems/starwarsffg.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity.value", diff --git a/src/systems/sw5e-2.0.3.2.3.8.js b/src/systems/sw5e-2.0.3.2.3.8.js index e171af1e..875c08c7 100644 --- a/src/systems/sw5e-2.0.3.2.3.8.js +++ b/src/systems/sw5e-2.0.3.2.3.8.js @@ -3,6 +3,15 @@ export default { ACTOR_CLASS_TYPE: "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "loot", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "weapon", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "equipment", + ITEM_QUANTITY_ATTRIBUTE: "system.quantity", ITEM_PRICE_ATTRIBUTE: "system.price", diff --git a/src/systems/sw5e.js b/src/systems/sw5e.js index eac1cd1d..11c86288 100644 --- a/src/systems/sw5e.js +++ b/src/systems/sw5e.js @@ -3,6 +3,15 @@ export default { ACTOR_CLASS_TYPE: "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "loot", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "weapon", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "equipment", + ITEM_QUANTITY_ATTRIBUTE: "system.quantity", ITEM_PRICE_ATTRIBUTE: "system.price.value", diff --git a/src/systems/swade.js b/src/systems/swade.js index 0b57790c..c0cb89f2 100644 --- a/src/systems/swade.js +++ b/src/systems/swade.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "npc", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/swse.js b/src/systems/swse.js index ac78de1c..8a9b85fa 100644 --- a/src/systems/swse.js +++ b/src/systems/swse.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/symbaroum.js b/src/systems/symbaroum.js index 805840b3..10911fc1 100644 --- a/src/systems/symbaroum.js +++ b/src/systems/symbaroum.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "monster", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.number", diff --git a/src/systems/t2k4e.js b/src/systems/t2k4e.js index d18a9719..3df7099e 100644 --- a/src/systems/t2k4e.js +++ b/src/systems/t2k4e.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.qty", diff --git a/src/systems/tormenta20.js b/src/systems/tormenta20.js index abc942a3..d39efca6 100644 --- a/src/systems/tormenta20.js +++ b/src/systems/tormenta20.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.qtd", diff --git a/src/systems/wfrp4e.js b/src/systems/wfrp4e.js index 38784fb1..1f2b1a17 100644 --- a/src/systems/wfrp4e.js +++ b/src/systems/wfrp4e.js @@ -7,6 +7,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "cargo", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity.value", diff --git a/src/systems/wwn.js b/src/systems/wwn.js index 90948c47..da603720 100644 --- a/src/systems/wwn.js +++ b/src/systems/wwn.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "character", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity", diff --git a/src/systems/yzecoriolis.js b/src/systems/yzecoriolis.js index 7544ac72..98a4f5d3 100644 --- a/src/systems/yzecoriolis.js +++ b/src/systems/yzecoriolis.js @@ -5,6 +5,15 @@ export default { // The actor class type is the type of actor that will be used for the default item pile actor that is created on first item drop. "ACTOR_CLASS_TYPE": "npc", + // The item class type is the type of item that will be used for the default loot item + "ITEM_CLASS_LOOT_TYPE": "", + + // The item class type is the type of item that will be used for the default weapon item + "ITEM_CLASS_WEAPON_TYPE": "", + + // The item class type is the type of item that will be used for the default equipment item + "ITEM_CLASS_EQUIPMENT_TYPE": "", + // The item quantity attribute is the path to the attribute on items that denote how many of that item that exists "ITEM_QUANTITY_ATTRIBUTE": "system.quantity",