Update traduction

This commit is contained in:
2020-09-04 08:53:00 +02:00
parent 401e507559
commit ffd187a832
4 changed files with 19 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
import WFRP4E from "/systems/wfrp4e/modules/system/config-wfrp4e.js"
import WFRP_Tables from "/systems/wfrp4e/modules/system/tables-wfrp4e.js";
/************************************************************************************/
const _patch_eis = () => {
if ( WFRP4E && WFRP4E.symptoms && WFRP4E.symptoms["delirium"] == undefined ) {
@@ -29,6 +30,7 @@ const _patch_eis = () => {
}
}
/************************************************************************************/
const _fix_post_module_loading = () => {
@@ -406,7 +408,9 @@ Hooks.on("chatMessage", (html, content, msg) => {
/************************************************************************************/
/* Additionnal hooks ready */
Hooks.once('ready', () => {
_patch_initiative();
if (game.user.isGM)
ChatMessage.create( { title: "Patch en progression", content: "Les modules WFRP4E sont <strong>en cours de patch pour traduction</strong>... Merci <strong>d'attendre le message de fin</strong> (dans environ 20 secondes)", whisper: ChatMessage.getWhisperRecipients("GM") } );