Implements Phase 2 foundational components: - VagabondActor document class with item management, resource tracking, damage/healing, rest mechanics, and combat helpers - VagabondItem document class with chat card generation and item usage - Comprehensive dice rolling module (d20 checks, skill/attack/save rolls, damage with crit doubling, countdown dice, morale checks) - Quench tests for all dice rolling functions Fixes Foundry VTT v13 compatibility issues: - Add documentTypes to system.json declaring valid Actor/Item types - Fix StringField validation errors by using nullable/null pattern instead of blank string choices for optional fields - Update actor tests to use embedded documents for slot calculations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
180 lines
3.9 KiB
JSON
180 lines
3.9 KiB
JSON
{
|
|
"id": "vagabond",
|
|
"title": "Vagabond RPG",
|
|
"description": "A Foundry VTT system implementation for Vagabond RPG - Pulp Fantasy Roleplaying",
|
|
"version": "0.1.0",
|
|
"compatibility": {
|
|
"minimum": "13",
|
|
"verified": "13",
|
|
"maximum": "13"
|
|
},
|
|
"authors": [
|
|
{
|
|
"name": "Cal Corum",
|
|
"email": "cal.corum@gmail.com"
|
|
}
|
|
],
|
|
"esmodules": ["module/vagabond.mjs"],
|
|
"styles": ["styles/vagabond.css"],
|
|
"languages": [
|
|
{
|
|
"lang": "en",
|
|
"name": "English",
|
|
"path": "lang/en.json"
|
|
}
|
|
],
|
|
"packs": [
|
|
{
|
|
"name": "ancestries",
|
|
"label": "Ancestries",
|
|
"path": "packs/ancestries",
|
|
"type": "Item",
|
|
"ownership": {
|
|
"PLAYER": "OBSERVER",
|
|
"ASSISTANT": "OWNER"
|
|
}
|
|
},
|
|
{
|
|
"name": "classes",
|
|
"label": "Classes",
|
|
"path": "packs/classes",
|
|
"type": "Item",
|
|
"ownership": {
|
|
"PLAYER": "OBSERVER",
|
|
"ASSISTANT": "OWNER"
|
|
}
|
|
},
|
|
{
|
|
"name": "spells",
|
|
"label": "Spells",
|
|
"path": "packs/spells",
|
|
"type": "Item",
|
|
"ownership": {
|
|
"PLAYER": "OBSERVER",
|
|
"ASSISTANT": "OWNER"
|
|
}
|
|
},
|
|
{
|
|
"name": "perks",
|
|
"label": "Perks",
|
|
"path": "packs/perks",
|
|
"type": "Item",
|
|
"ownership": {
|
|
"PLAYER": "OBSERVER",
|
|
"ASSISTANT": "OWNER"
|
|
}
|
|
},
|
|
{
|
|
"name": "weapons",
|
|
"label": "Weapons",
|
|
"path": "packs/weapons",
|
|
"type": "Item",
|
|
"ownership": {
|
|
"PLAYER": "OBSERVER",
|
|
"ASSISTANT": "OWNER"
|
|
}
|
|
},
|
|
{
|
|
"name": "armor",
|
|
"label": "Armor",
|
|
"path": "packs/armor",
|
|
"type": "Item",
|
|
"ownership": {
|
|
"PLAYER": "OBSERVER",
|
|
"ASSISTANT": "OWNER"
|
|
}
|
|
},
|
|
{
|
|
"name": "equipment",
|
|
"label": "Equipment",
|
|
"path": "packs/equipment",
|
|
"type": "Item",
|
|
"ownership": {
|
|
"PLAYER": "OBSERVER",
|
|
"ASSISTANT": "OWNER"
|
|
}
|
|
},
|
|
{
|
|
"name": "bestiary",
|
|
"label": "Bestiary",
|
|
"path": "packs/bestiary",
|
|
"type": "Actor",
|
|
"ownership": {
|
|
"PLAYER": "NONE",
|
|
"ASSISTANT": "OWNER"
|
|
}
|
|
}
|
|
],
|
|
"packFolders": [
|
|
{
|
|
"name": "Vagabond RPG",
|
|
"sorting": "a",
|
|
"packs": [
|
|
"ancestries",
|
|
"classes",
|
|
"spells",
|
|
"perks",
|
|
"weapons",
|
|
"armor",
|
|
"equipment",
|
|
"bestiary"
|
|
]
|
|
}
|
|
],
|
|
"documentTypes": {
|
|
"Actor": {
|
|
"character": {
|
|
"htmlFields": [
|
|
"biography.appearance",
|
|
"biography.background",
|
|
"biography.personality",
|
|
"biography.notes"
|
|
]
|
|
},
|
|
"npc": {
|
|
"htmlFields": ["abilities.description", "loot", "gmNotes"]
|
|
}
|
|
},
|
|
"Item": {
|
|
"ancestry": {
|
|
"htmlFields": ["description"]
|
|
},
|
|
"class": {
|
|
"htmlFields": ["description"]
|
|
},
|
|
"spell": {
|
|
"htmlFields": ["description"]
|
|
},
|
|
"perk": {
|
|
"htmlFields": ["description"]
|
|
},
|
|
"weapon": {
|
|
"htmlFields": ["description", "relic.abilityDescription", "relic.lore"]
|
|
},
|
|
"armor": {
|
|
"htmlFields": ["description", "relic.abilityDescription", "relic.lore"]
|
|
},
|
|
"equipment": {
|
|
"htmlFields": ["description"]
|
|
},
|
|
"feature": {
|
|
"htmlFields": ["description"]
|
|
}
|
|
}
|
|
},
|
|
"socket": false,
|
|
"url": "https://github.com/calcorum/vagabond-rpg-foundryvtt",
|
|
"manifest": "https://github.com/calcorum/vagabond-rpg-foundryvtt/releases/latest/download/system.json",
|
|
"download": "https://github.com/calcorum/vagabond-rpg-foundryvtt/releases/latest/download/vagabond.zip",
|
|
"license": "LICENSE",
|
|
"readme": "README.md",
|
|
"bugs": "https://github.com/calcorum/vagabond-rpg-foundryvtt/issues",
|
|
"changelog": "CHANGELOG.md",
|
|
"primaryTokenAttribute": "resources.hp",
|
|
"secondaryTokenAttribute": "resources.mana",
|
|
"grid": {
|
|
"distance": 5,
|
|
"units": "ft"
|
|
}
|
|
}
|