This commit is contained in:
WinterMyst 2024-09-26 10:33:53 +00:00
parent 46ecf27fa5
commit 428b82e388
4 changed files with 74 additions and 4 deletions

View File

@ -8,7 +8,7 @@ export class KidsOnBroomsActorSheet extends ActorSheet {
static get defaultOptions() static get defaultOptions()
{ {
return foundry.utils.mergeObject(super.defaultOptions, { return foundry.utils.mergeObject(super.defaultOptions, {
classes: ["kids-on-brooms", "sheet", "actor"], classes: ["kidsonbrooms", "sheet", "actor"],
width: 800, width: 800,
height: 800, height: 800,
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "features" }] tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "features" }]
@ -19,7 +19,7 @@ export class KidsOnBroomsActorSheet extends ActorSheet {
get template() get template()
{ {
console.log("template", this.actor) console.log("template", this.actor)
return `systems/kids-on-brooms/templates/actor/actor-${this.actor.type}-sheet.html`; return `systems/kidsonbrooms/templates/actor/actor-${this.actor.type}-sheet.html`;
} }
/* -------------------------------------------- */ /* -------------------------------------------- */

View File

@ -1,3 +1,5 @@
The Kids On Brooms System Implemented in FoundryVTT The Kids On Brooms System Implemented in FoundryVTT
To get support create a issue on this Repository To get support create a issue on this Repository or join my discord:
https://discord.gg/4sTXjxs5Yv

View File

@ -2,7 +2,7 @@
"id": "kidsonbrooms", "id": "kidsonbrooms",
"title": "Kids on Brooms System", "title": "Kids on Brooms System",
"description": "The Kids on Brooms system for FoundryVTT!", "description": "The Kids on Brooms system for FoundryVTT!",
"version": "1.1.2", "version": "1.1.3",
"compatibility": { "compatibility": {
"minimum": 12, "minimum": 12,
"verified": 12.331 "verified": 12.331

68
template.json Normal file
View File

@ -0,0 +1,68 @@
{
"Actor": {
"types": ["character", "npc"],
"templates": {
"base": {
"stats": {
"fight": {
"value": "d4",
"stat": 0,
"magic": 0
},
"flight": {
"value": "d4",
"stat": 0,
"magic": 0
},
"brains": {
"value": "d4",
"stat": 0,
"magic": 0
},
"brawn": {
"value": "d4",
"stat": 0,
"magic": 0
},
"charm": {
"value": "d4",
"stat": 0,
"magic": 0
},
"grit": {
"value": "d4",
"stat": 0,
"magic": 0
}
},
"description": ""
}
},
"character": {
"templates": ["base"],
"trope": "",
"age": "",
"pronouns": "",
"fear": "",
"motivation": "",
"grade":"",
"broom": {
"name": "",
"look": "",
"mechanicalbenifit": ""
},
"wand": {
"wood": "",
"core": ""
},
"animalfamiliar":"",
"schoolbag": "",
"adversityTokens": 0,
"tropequestions": "",
"strengths": ""
},
"npc": {
"templates": ["base"]
}
}
}