diff --git a/modules/heritiers-actor-sheet.js b/modules/heritiers-actor-sheet.js index a0d2d2e..01dab45 100644 --- a/modules/heritiers-actor-sheet.js +++ b/modules/heritiers-actor-sheet.js @@ -64,6 +64,7 @@ export class HeritiersActorSheet extends ActorSheet { options: this.options, owner: this.document.isOwner, editScore: this.options.editScore, + config: game.system.lesheritiers.config, isGM: game.user.isGM, isPNJ: (this.actor.type == "pnj") } diff --git a/modules/heritiers-config.js b/modules/heritiers-config.js index 1df094d..d4120bb 100644 --- a/modules/heritiers-config.js +++ b/modules/heritiers-config.js @@ -50,6 +50,10 @@ export const HERITIERS_CONFIG = { "passif": "Passif", "metamorphose": "Métamorphose" }, + statutMasque: { + "masque": "Masqué", + "demasque":"Démasqué" + }, niveauPouvoir: { "normal": "Normal", "profond": "Profond", diff --git a/styles/simple.css b/styles/simple.css index 354cd0a..96be629 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -79,7 +79,7 @@ font-size: 0.8rem; } .fvtt-les-heritiers .sheet-header select option { - background-color: rgb(68, 25, 25); + /*background-color: rgb(68, 25, 25);*/ } .fvtt-les-heritiers .sheet-header input, .fvtt-les-heritiers .sheet-header select { color: rgb(41, 38, 38); @@ -438,7 +438,7 @@ table {border: 1px solid #7a7971;} background-repeat: repeat; } -.window-app.sheet .window-content .sheet-header input[type="text"], .window-app.sheet .window-content .sheet-header input[type="number"], .window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] { +.window-app.sheet .window-content .sheet-header input[type="text"], .window-app.sheet .window-content .sheet-header select, .window-app.sheet .window-content .sheet-header input[type="number"], .window-app.sheet .window-content .sheet-header input[type="password"], .window-app.sheet .window-content .sheet-header input[type="date"], .window-app.sheet .window-content .sheet-header input[type="time"] { /*color: rgba(36, 37, 37, 0.75);*/ /*background: rgba(255, 255, 255, 0.05);*/ /*border: 2px saddlebrown;*/ diff --git a/system.json b/system.json index 43995cc..daf18d4 100644 --- a/system.json +++ b/system.json @@ -1,7 +1,7 @@ { "id": "fvtt-les-heritiers", "description": "Les Héritiers pour FoundryVTT", - "version": "10.0.29", + "version": "10.0.31", "authors": [ { "name": "Uberwald/LeRatierBretonnien", @@ -19,7 +19,7 @@ "gridUnits": "m", "license": "LICENSE.txt", "manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json", - "download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.29.zip", + "download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-10.0.31.zip", "languages": [ { "lang": "fr", diff --git a/template.json b/template.json index b42a651..9580e67 100644 --- a/template.json +++ b/template.json @@ -115,6 +115,7 @@ "max": 1 } }, + "statutmasque": "masque", "rang": { "tricherie": { "label": "Tricherie", diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 6034603..c4939c6 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -41,14 +41,23 @@ - - +
+    + + +    @@ -143,6 +152,7 @@ + @@ -152,18 +162,21 @@
  • + +
  • +
  • -
  • +