Skip to content

Commit

Permalink
[foundryvtt#3930] Move document type definitions into manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
arbron committed Aug 5, 2024
1 parent 9bfa4eb commit 8406e39
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 55 deletions.
76 changes: 76 additions & 0 deletions system.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,82 @@
"styles": [
"dnd5e.css"
],
"documentTypes": {
"Actor": {
"character": {
"htmlFields": ["details.biography.value", "details.biography.public"]
},
"npc": {
"htmlFields": ["details.biography.value", "details.biography.public"]
},
"vehicle": {
"htmlFields": ["details.biography.value", "details.biography.public"]
},
"group": {
"htmlFields": ["description.full", "description.summary"]
}
},
"Item": {
"weapon": {
"htmlFields": ["details.value", "details.chat", "unidentified.description"]
},
"equipment": {
"htmlFields": ["details.value", "details.chat", "unidentified.description"]
},
"consumable": {
"htmlFields": ["details.value", "details.chat", "unidentified.description"]
},
"tool": {
"htmlFields": ["details.value", "details.chat", "unidentified.description"]
},
"loot": {
"htmlFields": ["details.value", "details.chat", "unidentified.description"]
},
"race": {
"htmlFields": ["details.value", "details.chat"]
},
"background": {
"htmlFields": ["details.value", "details.chat"]
},
"class": {
"htmlFields": ["details.value", "details.chat"]
},
"subclass": {
"htmlFields": ["details.value", "details.chat"]
},
"spell": {
"htmlFields": ["details.value", "details.chat"]
},
"feat": {
"htmlFields": ["details.value", "details.chat"]
},
"container": {
"htmlFields": ["details.value", "details.chat", "unidentified.description"]
},
"backpack": {
"htmlFields": ["details.value", "details.chat", "unidentified.description"]
}
},
"JournalEntryPage": {
"class": {
"htmlFields": [
"details.value",
"details.additionalHitPoints",
"description.additionalTraits",
"description.additionalEquipment",
"description.subclass"
]
},
"map": {},
"rule": {
"htmlFields": ["tooltip"]
},
"spells": {},
"subclass": {
"htmlFields": ["details.value"]
}
}
},
"packs": [
{
"name": "heroes",
Expand Down
55 changes: 0 additions & 55 deletions template.json

This file was deleted.

0 comments on commit 8406e39

Please sign in to comment.