From c04d47a99d376f621a4186f88733682cf4e2dd1e Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sun, 29 Sep 2024 23:12:34 +0200 Subject: [PATCH] Fix some effects not working since warhammer library usage --- module.json | 4 ++-- modules/addon-register.js | 5 ++++- .../aides-de-jeu-fr/{000778.log => 000810.log} | 0 packs/aides-de-jeu-fr/CURRENT | 2 +- packs/aides-de-jeu-fr/LOG | 14 +++++++------- packs/aides-de-jeu-fr/LOG.old | 14 +++++++------- .../{MANIFEST-000776 => MANIFEST-000808} | Bin 226 -> 226 bytes .../{000780.log => 000812.log} | 0 packs/antidotes-and-remedes/CURRENT | 2 +- packs/antidotes-and-remedes/LOG | 14 +++++++------- packs/antidotes-and-remedes/LOG.old | 14 +++++++------- .../{MANIFEST-000778 => MANIFEST-000810} | Bin 178 -> 178 bytes packs/apothicarium/{000778.log => 000810.log} | 0 packs/apothicarium/CURRENT | 2 +- packs/apothicarium/LOG | 14 +++++++------- packs/apothicarium/LOG.old | 14 +++++++------- .../{MANIFEST-000776 => MANIFEST-000808} | Bin 226 -> 226 bytes packs/dons-de-rhya/{000778.log => 000810.log} | 0 packs/dons-de-rhya/CURRENT | 2 +- packs/dons-de-rhya/LOG | 14 +++++++------- packs/dons-de-rhya/LOG.old | 14 +++++++------- .../{MANIFEST-000776 => MANIFEST-000808} | Bin 226 -> 226 bytes .../plats-dauberges/{000778.log => 000810.log} | 0 packs/plats-dauberges/CURRENT | 2 +- packs/plats-dauberges/LOG | 14 +++++++------- packs/plats-dauberges/LOG.old | 14 +++++++------- .../{MANIFEST-000776 => MANIFEST-000808} | Bin 229 -> 229 bytes .../{000421.log => 000453.log} | 0 packs/tables-des-traductions/CURRENT | 2 +- packs/tables-des-traductions/LOG | 16 ++++++++-------- packs/tables-des-traductions/LOG.old | 16 ++++++++-------- .../{MANIFEST-000419 => MANIFEST-000451} | Bin 226 -> 226 bytes 32 files changed, 98 insertions(+), 95 deletions(-) rename packs/aides-de-jeu-fr/{000778.log => 000810.log} (100%) rename packs/aides-de-jeu-fr/{MANIFEST-000776 => MANIFEST-000808} (84%) rename packs/antidotes-and-remedes/{000780.log => 000812.log} (100%) rename packs/antidotes-and-remedes/{MANIFEST-000778 => MANIFEST-000810} (71%) rename packs/apothicarium/{000778.log => 000810.log} (100%) rename packs/apothicarium/{MANIFEST-000776 => MANIFEST-000808} (84%) rename packs/dons-de-rhya/{000778.log => 000810.log} (100%) rename packs/dons-de-rhya/{MANIFEST-000776 => MANIFEST-000808} (84%) rename packs/plats-dauberges/{000778.log => 000810.log} (100%) rename packs/plats-dauberges/{MANIFEST-000776 => MANIFEST-000808} (83%) rename packs/tables-des-traductions/{000421.log => 000453.log} (100%) rename packs/tables-des-traductions/{MANIFEST-000419 => MANIFEST-000451} (84%) diff --git a/module.json b/module.json index 48ff706..76c8b09 100644 --- a/module.json +++ b/module.json @@ -120,7 +120,7 @@ "download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-8.0.3.zip", "id": "wh4-fr-translation", "compatibility": { - "minimum": "12", + "minimum": "11", "verified": "12" }, "relationships": { @@ -139,4 +139,4 @@ } ] } -} +} \ No newline at end of file diff --git a/modules/addon-register.js b/modules/addon-register.js index d58c63b..d4e7638 100644 --- a/modules/addon-register.js +++ b/modules/addon-register.js @@ -381,7 +381,10 @@ Hooks.on('ready', () => { } ChatMessage.create(chatData); } - + + // Patch function for effects + game.wfrp4e.utility.findKey = warhammer.utility.findKey + /** New modifiers */ game.wfrp4e.config.difficultyModifiers = { "veasy": 60, diff --git a/packs/aides-de-jeu-fr/000778.log b/packs/aides-de-jeu-fr/000810.log similarity index 100% rename from packs/aides-de-jeu-fr/000778.log rename to packs/aides-de-jeu-fr/000810.log diff --git a/packs/aides-de-jeu-fr/CURRENT b/packs/aides-de-jeu-fr/CURRENT index 3092c2d..44bf688 100644 --- a/packs/aides-de-jeu-fr/CURRENT +++ b/packs/aides-de-jeu-fr/CURRENT @@ -1 +1 @@ -MANIFEST-000776 +MANIFEST-000808 diff --git a/packs/aides-de-jeu-fr/LOG b/packs/aides-de-jeu-fr/LOG index 4506f83..d6ec88c 100644 --- a/packs/aides-de-jeu-fr/LOG +++ b/packs/aides-de-jeu-fr/LOG @@ -1,7 +1,7 @@ -2024/09/07-17:35:53.339910 7f80f2a006c0 Recovering log #774 -2024/09/07-17:35:53.351094 7f80f2a006c0 Delete type=3 #772 -2024/09/07-17:35:53.351249 7f80f2a006c0 Delete type=0 #774 -2024/09/07-17:41:21.597568 7f80f10006c0 Level-0 table #779: started -2024/09/07-17:41:21.597606 7f80f10006c0 Level-0 table #779: 0 bytes OK -2024/09/07-17:41:21.603972 7f80f10006c0 Delete type=0 #777 -2024/09/07-17:41:21.611875 7f80f10006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal.pages!suuYN87Al1ZZWtQQ.jhgNnhWhrkOpKs1B' @ 0 : 0; will stop at (end) +2024/09/29-22:08:39.237800 7f4c702006c0 Recovering log #806 +2024/09/29-22:08:39.248612 7f4c702006c0 Delete type=3 #804 +2024/09/29-22:08:39.248720 7f4c702006c0 Delete type=0 #806 +2024/09/29-23:11:56.529338 7f4c6ee006c0 Level-0 table #811: started +2024/09/29-23:11:56.529377 7f4c6ee006c0 Level-0 table #811: 0 bytes OK +2024/09/29-23:11:56.535590 7f4c6ee006c0 Delete type=0 #809 +2024/09/29-23:11:56.550222 7f4c6ee006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal.pages!suuYN87Al1ZZWtQQ.jhgNnhWhrkOpKs1B' @ 0 : 0; will stop at (end) diff --git a/packs/aides-de-jeu-fr/LOG.old b/packs/aides-de-jeu-fr/LOG.old index 41e912a..6a551f0 100644 --- a/packs/aides-de-jeu-fr/LOG.old +++ b/packs/aides-de-jeu-fr/LOG.old @@ -1,7 +1,7 @@ -2024/07/13-10:41:36.913478 7fc8820006c0 Recovering log #770 -2024/07/13-10:41:36.924385 7fc8820006c0 Delete type=3 #768 -2024/07/13-10:41:36.924475 7fc8820006c0 Delete type=0 #770 -2024/07/13-10:42:24.874947 7fc87de006c0 Level-0 table #775: started -2024/07/13-10:42:24.874996 7fc87de006c0 Level-0 table #775: 0 bytes OK -2024/07/13-10:42:24.881904 7fc87de006c0 Delete type=0 #773 -2024/07/13-10:42:24.882157 7fc87de006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal.pages!suuYN87Al1ZZWtQQ.jhgNnhWhrkOpKs1B' @ 0 : 0; will stop at (end) +2024/09/29-22:01:56.574398 7f4c702006c0 Recovering log #802 +2024/09/29-22:01:56.585216 7f4c702006c0 Delete type=3 #800 +2024/09/29-22:01:56.585305 7f4c702006c0 Delete type=0 #802 +2024/09/29-22:05:58.606044 7f4c6ee006c0 Level-0 table #807: started +2024/09/29-22:05:58.606114 7f4c6ee006c0 Level-0 table #807: 0 bytes OK +2024/09/29-22:05:58.612766 7f4c6ee006c0 Delete type=0 #805 +2024/09/29-22:05:58.613018 7f4c6ee006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal.pages!suuYN87Al1ZZWtQQ.jhgNnhWhrkOpKs1B' @ 0 : 0; will stop at (end) diff --git a/packs/aides-de-jeu-fr/MANIFEST-000776 b/packs/aides-de-jeu-fr/MANIFEST-000808 similarity index 84% rename from packs/aides-de-jeu-fr/MANIFEST-000776 rename to packs/aides-de-jeu-fr/MANIFEST-000808 index ee05d35aaf392942b9cb8dcb7ded2d9e06c91a52..7d3509b85163b723374a8a836662a2e9e5197b45 100644 GIT binary patch delta 41 scmaFF_=s`B0i~K=o(wJqMy8c)oD9sX*jR)-SPsqx39JGMtN{uD0P|uAeEpGw`CGb_0n7@1bHaWXKkVPo0P^yZpUQ=6KdQJH7@4}+I2o9G*jV;6DZQwY0g3d0MEXD?04vlBXaE2J diff --git a/packs/apothicarium/000778.log b/packs/apothicarium/000810.log similarity index 100% rename from packs/apothicarium/000778.log rename to packs/apothicarium/000810.log diff --git a/packs/apothicarium/CURRENT b/packs/apothicarium/CURRENT index 3092c2d..44bf688 100644 --- a/packs/apothicarium/CURRENT +++ b/packs/apothicarium/CURRENT @@ -1 +1 @@ -MANIFEST-000776 +MANIFEST-000808 diff --git a/packs/apothicarium/LOG b/packs/apothicarium/LOG index 4f4e5d1..7a94924 100644 --- a/packs/apothicarium/LOG +++ b/packs/apothicarium/LOG @@ -1,7 +1,7 @@ -2024/09/07-17:35:53.389079 7f80f20006c0 Recovering log #774 -2024/09/07-17:35:53.400221 7f80f20006c0 Delete type=3 #772 -2024/09/07-17:35:53.400312 7f80f20006c0 Delete type=0 #774 -2024/09/07-17:41:21.612001 7f80f10006c0 Level-0 table #779: started -2024/09/07-17:41:21.612049 7f80f10006c0 Level-0 table #779: 0 bytes OK -2024/09/07-17:41:21.618574 7f80f10006c0 Delete type=0 #777 -2024/09/07-17:41:21.639322 7f80f10006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal.pages!cZtNgayIw2QFhC9u.ts265H1XkisLgdow' @ 0 : 0; will stop at (end) +2024/09/29-22:08:39.280194 7f4c716006c0 Recovering log #806 +2024/09/29-22:08:39.291283 7f4c716006c0 Delete type=3 #804 +2024/09/29-22:08:39.291434 7f4c716006c0 Delete type=0 #806 +2024/09/29-23:11:56.550429 7f4c6ee006c0 Level-0 table #811: started +2024/09/29-23:11:56.550507 7f4c6ee006c0 Level-0 table #811: 0 bytes OK +2024/09/29-23:11:56.557134 7f4c6ee006c0 Delete type=0 #809 +2024/09/29-23:11:56.585874 7f4c6ee006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal.pages!cZtNgayIw2QFhC9u.ts265H1XkisLgdow' @ 0 : 0; will stop at (end) diff --git a/packs/apothicarium/LOG.old b/packs/apothicarium/LOG.old index 743a646..cf9eed5 100644 --- a/packs/apothicarium/LOG.old +++ b/packs/apothicarium/LOG.old @@ -1,7 +1,7 @@ -2024/07/13-10:41:36.961368 7fc8816006c0 Recovering log #770 -2024/07/13-10:41:36.972209 7fc8816006c0 Delete type=3 #768 -2024/07/13-10:41:36.972302 7fc8816006c0 Delete type=0 #770 -2024/07/13-10:42:24.897709 7fc87de006c0 Level-0 table #775: started -2024/07/13-10:42:24.897763 7fc87de006c0 Level-0 table #775: 0 bytes OK -2024/07/13-10:42:24.905156 7fc87de006c0 Delete type=0 #773 -2024/07/13-10:42:24.905434 7fc87de006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal.pages!cZtNgayIw2QFhC9u.ts265H1XkisLgdow' @ 0 : 0; will stop at (end) +2024/09/29-22:01:56.617392 7f4c6f8006c0 Recovering log #802 +2024/09/29-22:01:56.628263 7f4c6f8006c0 Delete type=3 #800 +2024/09/29-22:01:56.628408 7f4c6f8006c0 Delete type=0 #802 +2024/09/29-22:05:58.630815 7f4c6ee006c0 Level-0 table #807: started +2024/09/29-22:05:58.630923 7f4c6ee006c0 Level-0 table #807: 0 bytes OK +2024/09/29-22:05:58.637228 7f4c6ee006c0 Delete type=0 #805 +2024/09/29-22:05:58.637456 7f4c6ee006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal.pages!cZtNgayIw2QFhC9u.ts265H1XkisLgdow' @ 0 : 0; will stop at (end) diff --git a/packs/apothicarium/MANIFEST-000776 b/packs/apothicarium/MANIFEST-000808 similarity index 84% rename from packs/apothicarium/MANIFEST-000776 rename to packs/apothicarium/MANIFEST-000808 index 1d5914fc5e75401be604f3bd29213169dea0d43c..9fc873c155b07b8220f91b0901ac8d80117d53ca 100644 GIT binary patch delta 41 scmaFF_=s`B0VShdT^(NL6sdgnhe|wj7%%pI2o8%v9VlXzP^(NL6vE4vZ~w+j7*(uoD9reY%EupO}G6D2Z?lnM0!9X01Flh#{d8T diff --git a/packs/tables-des-traductions/000421.log b/packs/tables-des-traductions/000453.log similarity index 100% rename from packs/tables-des-traductions/000421.log rename to packs/tables-des-traductions/000453.log diff --git a/packs/tables-des-traductions/CURRENT b/packs/tables-des-traductions/CURRENT index 45344b6..7bab257 100644 --- a/packs/tables-des-traductions/CURRENT +++ b/packs/tables-des-traductions/CURRENT @@ -1 +1 @@ -MANIFEST-000419 +MANIFEST-000451 diff --git a/packs/tables-des-traductions/LOG b/packs/tables-des-traductions/LOG index f85234a..8902082 100644 --- a/packs/tables-des-traductions/LOG +++ b/packs/tables-des-traductions/LOG @@ -1,8 +1,8 @@ -2024/09/07-17:35:53.374420 7f80f2a006c0 Recovering log #417 -2024/09/07-17:35:53.384865 7f80f2a006c0 Delete type=3 #415 -2024/09/07-17:35:53.384993 7f80f2a006c0 Delete type=0 #417 -2024/09/07-17:41:21.618745 7f80f10006c0 Level-0 table #422: started -2024/09/07-17:41:21.618787 7f80f10006c0 Level-0 table #422: 0 bytes OK -2024/09/07-17:41:21.625664 7f80f10006c0 Delete type=0 #420 -2024/09/07-17:41:21.639346 7f80f10006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end) -2024/09/07-17:41:21.639401 7f80f10006c0 Manual compaction at level-1 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end) +2024/09/29-22:08:39.266800 7f4c702006c0 Recovering log #449 +2024/09/29-22:08:39.276824 7f4c702006c0 Delete type=3 #447 +2024/09/29-22:08:39.276921 7f4c702006c0 Delete type=0 #449 +2024/09/29-23:11:56.578491 7f4c6ee006c0 Level-0 table #454: started +2024/09/29-23:11:56.578547 7f4c6ee006c0 Level-0 table #454: 0 bytes OK +2024/09/29-23:11:56.585671 7f4c6ee006c0 Delete type=0 #452 +2024/09/29-23:11:56.585940 7f4c6ee006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end) +2024/09/29-23:11:56.597791 7f4c6ee006c0 Manual compaction at level-1 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end) diff --git a/packs/tables-des-traductions/LOG.old b/packs/tables-des-traductions/LOG.old index c9b1b90..e4670ad 100644 --- a/packs/tables-des-traductions/LOG.old +++ b/packs/tables-des-traductions/LOG.old @@ -1,8 +1,8 @@ -2024/07/13-10:41:36.946044 7fc8820006c0 Recovering log #413 -2024/07/13-10:41:36.956775 7fc8820006c0 Delete type=3 #411 -2024/07/13-10:41:36.956919 7fc8820006c0 Delete type=0 #413 -2024/07/13-10:42:24.882375 7fc87de006c0 Level-0 table #418: started -2024/07/13-10:42:24.882443 7fc87de006c0 Level-0 table #418: 0 bytes OK -2024/07/13-10:42:24.888900 7fc87de006c0 Delete type=0 #416 -2024/07/13-10:42:24.905386 7fc87de006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end) -2024/07/13-10:42:24.905451 7fc87de006c0 Manual compaction at level-1 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end) +2024/09/29-22:01:56.603536 7f4c716006c0 Recovering log #445 +2024/09/29-22:01:56.614137 7f4c716006c0 Delete type=3 #443 +2024/09/29-22:01:56.614242 7f4c716006c0 Delete type=0 #445 +2024/09/29-22:05:58.622997 7f4c6ee006c0 Level-0 table #450: started +2024/09/29-22:05:58.623050 7f4c6ee006c0 Level-0 table #450: 0 bytes OK +2024/09/29-22:05:58.629304 7f4c6ee006c0 Delete type=0 #448 +2024/09/29-22:05:58.629550 7f4c6ee006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end) +2024/09/29-22:05:58.629597 7f4c6ee006c0 Manual compaction at level-1 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end) diff --git a/packs/tables-des-traductions/MANIFEST-000419 b/packs/tables-des-traductions/MANIFEST-000451 similarity index 84% rename from packs/tables-des-traductions/MANIFEST-000419 rename to packs/tables-des-traductions/MANIFEST-000451 index 0373c14fd9664586f131706f612c5ada32de4995..a798421309228e466a9ec8e7c2fe8f97bcd07ebf 100644 GIT binary patch delta 41 scmaFF_=s`B0i_W4J2hMkj7&$EIT@IbGP9^G-|BY-BybcYa2zNA02WCLO#lD@ delta 41 scmaFF_=s`B0i_jtvxK=A7@3wZb22b5WoA*a*8gD(5?BfnSPm2b003AC-2eap