From 4231944b28b92961971a1c1065e28de2944f4a27 Mon Sep 17 00:00:00 2001 From: Joaquin Pereyra Date: Thu, 29 May 2025 18:20:06 -0300 Subject: [PATCH] REFACTOR: remove template.json and migrate document types to module.json --- system.json | 29 +++++++++++++++++++++++++++++ template.json | 46 ---------------------------------------------- 2 files changed, 29 insertions(+), 46 deletions(-) delete mode 100644 template.json diff --git a/system.json b/system.json index 2450788a..dd875adb 100644 --- a/system.json +++ b/system.json @@ -435,6 +435,35 @@ "distance": 5, "units": "feet" }, + "documentTypes": { + "Actor": { + "pc": {}, + "npc": {}, + "adversary": {}, + "environment": {} + }, + "Item": { + "ancestry": {}, + "community": {}, + "class": {}, + "subclass": {}, + "feature": {}, + "domainCard": {}, + "miscellaneous": {}, + "consumable": {}, + "weapon": {}, + "armor": {} + }, + "Combat": { + "combat": {} + }, + "ChatMessage": { + "dualityRoll": {}, + "adversaryRoll": {}, + "damageRoll": {}, + "abilityUse": {} + } + }, "primaryTokenAttribute": "resources.health", "secondaryTokenAttribute": "resources.stress", "url": "https://your/hosted/system/repo/", diff --git a/template.json b/template.json deleted file mode 100644 index 7e6c3c67..00000000 --- a/template.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "Actor": { - "types": ["pc", "npc", "adversary", "environment"], - "pc": {}, - "npc": {}, - "adversary": {}, - "environment": {} - }, - "Item": { - "types": [ - "ancestry", - "community", - "class", - "subclass", - "feature", - "domainCard", - "miscellaneous", - "consumable", - "weapon", - "armor", - "test" - ], - "ancestry": {}, - "community": {}, - "class": {}, - "subclass": {}, - "feature": {}, - "domainCard": {}, - "miscellaneous": {}, - "consumable": {}, - "weapon": {}, - "armor": {}, - "test": {} - }, - "Combat": { - "types": ["combat"], - "combat": {} - }, - "ChatMessage": { - "types": ["dualityRoll", "adversaryRoll", "damageRoll", "abilityUse"], - "dualityRoll": {}, - "adversaryRoll": {}, - "damageRoll": {}, - "abilityUse": {} - } -}