Merge pull request #79 from Foundryborne/#77/Migrate-Template-To-SystemJSON

Migrate document types to module.json and remove template.json
FIX: #79
This commit is contained in:
joaquinpereyra98 2025-05-29 22:40:22 -03:00 committed by GitHub
commit c94051744a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 29 additions and 46 deletions

View file

@ -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/",

View file

@ -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": {}
}
}