Files
fvtt-oath-hammer/system.json
LeRatierBretonnier b3fd7e1aa1 feat: add Settlement actor type with Overview/Buildings/Inventory tabs
- New TypeDataModel: archetype, territory, renown, currency (gp/sp/cp),
  garrison, underSiege, isCapital, founded, taxNotes, description, notes
- 3-tab ApplicationV2 sheet with drag & drop for building/weapon/armor/equipment
- Currency steppers (+/−), building constructed toggle, qty controls
- LESS-based CSS (settlement-sheet.less) + base.less updated for shared styles
- Full i18n keys in lang/en.json (8 settlement archetypes)
- system.json: registered settlement actor type

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-20 17:01:38 +01:00

134 lines
2.3 KiB
JSON

{
"id": "fvtt-oath-hammer",
"title": "Oath Hammer RPG",
"description": "Oath Hammer RPG System for FoundryVTT",
"version": "13.0.0",
"compatibility": {
"minimum": "13",
"verified": "13"
},
"esmodules": [
"oath-hammer.mjs"
],
"styles": [
"css/fvtt-oath-hammer.css"
],
"languages": [
{
"lang": "en",
"name": "English",
"path": "lang/en.json"
}
],
"documentTypes": {
"Actor": {
"character": {
"htmlFields": [
"description",
"background",
"notes",
"lineage.traits"
]
},
"npc": {
"htmlFields": [
"description",
"background",
"notes"
]
},
"settlement": {
"htmlFields": [
"description",
"notes"
]
}
},
"Item": {
"weapon": {
"htmlFields": [
"description",
"magicEffect"
]
},
"armor": {
"htmlFields": [
"description",
"magicEffect"
]
},
"ammunition": {
"htmlFields": [
"description"
]
},
"equipment": {
"htmlFields": [
"description"
]
},
"spell": {
"htmlFields": [
"effect"
]
},
"miracle": {
"htmlFields": [
"effect"
]
},
"magic-item": {
"htmlFields": [
"effect"
]
},
"trait": {
"htmlFields": [
"description"
]
},
"oath": {
"htmlFields": [
"tenet",
"boon",
"bane"
]
},
"class": {
"htmlFields": [
"description",
"features"
]
},
"building": {
"htmlFields": [
"description",
"notes"
]
}
}
},
"grid": {
"distance": 5,
"units": "ft"
},
"initiative": "@attributes.fate.rank",
"primaryTokenAttribute": "grit",
"socket": true,
"background": "systems/fvtt-oath-hammer/assets/images/cover_art.webp",
"flags": {
"hotReload": {
"extensions": [
"css",
"hbs",
"json"
],
"paths": [
"css/",
"lang/",
"assets/",
"templates/"
]
}
}
}