diff --git a/icons/creatures/dong.webp b/icons/creatures/dong.webp new file mode 100644 index 00000000..9e4f32e0 Binary files /dev/null and b/icons/creatures/dong.webp differ diff --git a/icons/creatures/libelle.webp b/icons/creatures/libelle.webp new file mode 100644 index 00000000..bddfcc23 Binary files /dev/null and b/icons/creatures/libelle.webp differ diff --git a/icons/creatures/vaseux.webp b/icons/creatures/vaseux.webp new file mode 100644 index 00000000..be6e4c38 Binary files /dev/null and b/icons/creatures/vaseux.webp differ diff --git a/module/rdd-main.js b/module/rdd-main.js index 59bc08db..4508e1b6 100644 --- a/module/rdd-main.js +++ b/module/rdd-main.js @@ -146,9 +146,9 @@ Hooks.once("ready", function() { let calendrier = new RdDCalendrier(); let templatePath = "systems/foundryvtt-reve-de-dragon/templates/calendar-template.html"; let templateData = {}; - renderTemplate(templatePath, templateData).then(html => { + /* DISABLEDrenderTemplate(templatePath, templateData).then(html => { calendrier.render(true); - } ); + } ); */ }); /* -------------------------------------------- */ diff --git a/module/rdd-utility.js b/module/rdd-utility.js index 58536106..067c1e39 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -613,7 +613,7 @@ export class RdDUtility { static processChatCommand( commands, content, msg ) { // Setup new message's visibility let rollMode = game.settings.get("core", "rollMode"); - if (["gmroll", "blindroll"].includes(rollMode)) msg["whisper"] = ChatMessage.getWhisperIDs("GM"); + if (["gmroll", "blindroll"].includes(rollMode)) msg["whisper"] = ChatMessage.getWhisperRecipients("GM"); if (rollMode === "blindroll") msg["blind"] = true; msg["type"] = 0; @@ -623,7 +623,7 @@ export class RdDUtility { if (command === "/table") { if ( commands[1] ) { let tableName = commands[1].toLowerCase(); - table2func[tableName](); + table2func[tableName].func(); } else { this.displayHelpTable( msg ); } diff --git a/module/tmr-utility.js b/module/tmr-utility.js index 430759e0..0fe73995 100644 --- a/module/tmr-utility.js +++ b/module/tmr-utility.js @@ -422,7 +422,7 @@ export class TMRUtility { let max = scoreDef.substr(3,2); if ( roll >= min && roll <= max) { let force = new Roll(renc.data.force).roll().total; - ChatMessage.create({ content: "Vous rencontrez un " + renc.name + " d'une force de " + force + " Points de Rêve" }); + ChatMessage.create({ content: "Rencontre en " + caseName + "(jet : " + roll + "%)
Vous rencontrez un " + renc.name + " d'une force de " + force + " Points de Rêve" }); return false; } } diff --git a/styles/simple.css b/styles/simple.css index 72a7db35..d3d5a789 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -222,6 +222,22 @@ height: 100%; } +.editor { + margin: 0; + overflow: hidden; + min-height: calc(100% - 225px) !important; + height: calc(100% - 225px) !important; + max-height: calc(100% - 225px) !important; +} +.editor-content { + padding: 5px; + margin: 0; + overflow: auto; + height: 100% !important; + min-height: 100% !important; + max-height: 100% !important; +} + .foundryvtt-reve-de-dragon .tox .tox-editor-container { background: #fff; } diff --git a/system.json b/system.json index a4f11348..a2a9afb9 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "0.9.15", + "version": "0.9.16", "minimumCoreVersion": "0.6.0", "compatibleCoreVersion": "0.6.6", "templateVersion": 37, diff --git a/templates/actor-creature-sheet.html b/templates/actor-creature-sheet.html index bdf0397d..0be19661 100644 --- a/templates/actor-creature-sheet.html +++ b/templates/actor-creature-sheet.html @@ -2,7 +2,7 @@ {{!-- Sheet Header --}}
- +

@@ -176,8 +176,8 @@
{{!-- Biography Tab --}} -
-
+
+
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 8911f152..6460553e 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -443,7 +443,7 @@
{{!-- Biography Tab --}} -
+
    @@ -465,7 +465,9 @@
- {{editor content="data.biographie" target="data.biographie" button=true owner=owner editable=editable}} +
+ {{editor content=data.biographie target="data.biographie" button=true owner=owner editable=editable}} +