From 428b82e3883930aa4170e9ac3320bec0ac6f2083 Mon Sep 17 00:00:00 2001 From: WinterMyst <22961076-wintermyst@users.noreply.gitlab.com> Date: Thu, 26 Sep 2024 10:33:53 +0000 Subject: [PATCH] 1.1.3 --- module/sheets/actor-sheet.mjs | 4 +-- readme.md | 4 ++- system.json | 2 +- template.json | 68 +++++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+), 4 deletions(-) create mode 100644 template.json diff --git a/module/sheets/actor-sheet.mjs b/module/sheets/actor-sheet.mjs index 021f9d9..87e7f42 100644 --- a/module/sheets/actor-sheet.mjs +++ b/module/sheets/actor-sheet.mjs @@ -8,7 +8,7 @@ export class KidsOnBroomsActorSheet extends ActorSheet { static get defaultOptions() { return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["kids-on-brooms", "sheet", "actor"], + classes: ["kidsonbrooms", "sheet", "actor"], width: 800, height: 800, tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "features" }] @@ -19,7 +19,7 @@ export class KidsOnBroomsActorSheet extends ActorSheet { get template() { 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`; } /* -------------------------------------------- */ diff --git a/readme.md b/readme.md index 8291a1a..62948f4 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,5 @@ The Kids On Brooms System Implemented in FoundryVTT -To get support create a issue on this Repository \ No newline at end of file +To get support create a issue on this Repository or join my discord: + +https://discord.gg/4sTXjxs5Yv \ No newline at end of file diff --git a/system.json b/system.json index 533218a..984c56b 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "kidsonbrooms", "title": "Kids on Brooms System", "description": "The Kids on Brooms system for FoundryVTT!", - "version": "1.1.2", + "version": "1.1.3", "compatibility": { "minimum": 12, "verified": 12.331 diff --git a/template.json b/template.json new file mode 100644 index 0000000..10376e7 --- /dev/null +++ b/template.json @@ -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"] + } + } +}