diff --git a/module/actor-sheet.js b/module/actor-sheet.js index 7ad9afff..2da66c0c 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -116,7 +116,8 @@ export class RdDActorSheet extends ActorSheet { data.data.ombres = this._checkNull(data.itemsByType['ombre']); data.data.tetes = this._checkNull(data.itemsByType['tete']); data.data.competenceByCategory = data.competenceByCategory; - + data.data.isGM = game.user.isGM; + return data; } diff --git a/system.json b/system.json index c3448ed6..7e3bfe4b 100644 --- a/system.json +++ b/system.json @@ -2,10 +2,10 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "0.9.17", + "version": "0.9.20", "minimumCoreVersion": "0.6.0", "compatibleCoreVersion": "0.6.6", - "templateVersion": 37, + "templateVersion": 38, "author": "LeRatierBretonnien", "esmodules": [ "module/rdd-main.js", "module/hook-renderChatLog.js" ], "styles": ["styles/simple.css"], diff --git a/template.json b/template.json index 5179f58d..c5bfd107 100644 --- a/template.json +++ b/template.json @@ -7,6 +7,7 @@ }, "background": { "biographie": "Histoire personnelle...", + "notes": "Notes", "yeux": "", "cheveux": "", "poids": "", diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 41474122..39ec687d 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -43,7 +43,6 @@ Blessures/Compteurs Haut-Rêve Equipement - Queues, Souffles et Têtes Description @@ -275,62 +274,110 @@ {{!-- Compteurs/Blessures Tab --}}