From a78351e6135d061755c8ca40660b6819fdffd4fb Mon Sep 17 00:00:00 2001 From: sladecraven Date: Wed, 12 Jan 2022 19:57:36 +0100 Subject: [PATCH] Sync --- modules/pegasus-item.js | 2 ++ system.json | 14 ++++++++++++-- template.json | 2 ++ templates/actor-sheet.html | 1 + templates/item-effect-sheet.html | 15 ++++++++++++++- 5 files changed, 31 insertions(+), 3 deletions(-) diff --git a/modules/pegasus-item.js b/modules/pegasus-item.js index cdd8042..06906ce 100644 --- a/modules/pegasus-item.js +++ b/modules/pegasus-item.js @@ -8,6 +8,8 @@ export const defaultItemImg = { weapon: "systems/fvtt-pegasus-rpg/images/icons/icon_weapon.webp", equipment: "systems/fvtt-pegasus-rpg/images/icons/icon_equipment.webp", effect: "systems/fvtt-pegasus-rpg/images/icons/icon_effect.webp", + race: "systems/fvtt-pegasus-rpg/images/icons/icon_race.webp", + power: "systems/fvtt-pegasus-rpg/images/icons/icon_power.webp", } /** diff --git a/system.json b/system.json index 76dca2d..6f7f8e9 100644 --- a/system.json +++ b/system.json @@ -92,6 +92,16 @@ "tags": [ "perk" ] + }, + { + "entity": "Item", + "label": "Effects", + "name": "effect", + "path": "./packs/effect.db", + "system": "fvtt-pegasus-rpg", + "tags": [ + "effect" + ] } ], "primaryTokenAttribute": "endurance.endurance", @@ -100,9 +110,9 @@ "styles": [ "styles/simple.css" ], - "templateVersion": 52, + "templateVersion": 54, "title": "Pegasus RPG", "url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg", - "version": "0.0.52", + "version": "0.0.54", "background" : "./images/ui/pegasus_welcome_page.webp" } \ No newline at end of file diff --git a/template.json b/template.json index 348c09d..519af9a 100644 --- a/template.json +++ b/template.json @@ -179,6 +179,7 @@ "type": "", "genre": "", "effectlevel": 0, + "reducedicevalue": false, "stataffected": "", "specaffected": [], "statdice": false, @@ -187,6 +188,7 @@ "hindrance" : false, "resistedby": "", "recoveryroll": false, + "recoveryrollstat": "", "recoveryrollspec": [], "description": "" }, diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 67734b3..8592010 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -233,6 +233,7 @@ {{upperFirst effect.data.type}} {{upperFirst effect.data.genre}} Lvl:{{effect.data.effectlevel}} + {{upper effect.data.stataffected}}
diff --git a/templates/item-effect-sheet.html b/templates/item-effect-sheet.html index 4fbdbd1..906d518 100644 --- a/templates/item-effect-sheet.html +++ b/templates/item-effect-sheet.html @@ -35,6 +35,10 @@ +
  • + +
  • +
    • @@ -98,7 +102,15 @@
    • - + + {{#if data.recoveryroll}} +
    • + +
      • @@ -116,6 +128,7 @@ {{/each}}
    • + {{/if}} {{/if}}