From 039df5c10afd9f253465981c78958bf356df7b9f Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Fri, 17 May 2024 09:19:48 +0200 Subject: [PATCH] Add all systems effects scripts + translations --- .../{000690.log => 000699.log} | 0 packs/aides-de-jeu-fr/CURRENT | 2 +- packs/aides-de-jeu-fr/LOG | 10 +++++--- packs/aides-de-jeu-fr/LOG.old | 14 +++++------ .../{MANIFEST-000689 => MANIFEST-000697} | Bin 163 -> 180 bytes .../{000692.log => 000701.log} | 0 packs/antidotes-and-remedes/CURRENT | 2 +- packs/antidotes-and-remedes/LOG | 10 +++++--- packs/antidotes-and-remedes/LOG.old | 14 +++++------ .../{MANIFEST-000691 => MANIFEST-000699} | Bin 160 -> 178 bytes packs/apothicarium/{000690.log => 000699.log} | 0 packs/apothicarium/CURRENT | 2 +- packs/apothicarium/LOG | 10 +++++--- packs/apothicarium/LOG.old | 14 +++++------ .../{MANIFEST-000689 => MANIFEST-000697} | Bin 163 -> 180 bytes packs/dons-de-rhya/{000690.log => 000699.log} | 0 packs/dons-de-rhya/CURRENT | 2 +- packs/dons-de-rhya/LOG | 10 +++++--- packs/dons-de-rhya/LOG.old | 14 +++++------ .../{MANIFEST-000689 => MANIFEST-000697} | Bin 163 -> 180 bytes .../{000690.log => 000699.log} | 0 packs/plats-dauberges/CURRENT | 2 +- packs/plats-dauberges/LOG | 10 +++++--- packs/plats-dauberges/LOG.old | 14 +++++------ .../{MANIFEST-000689 => MANIFEST-000697} | Bin 211 -> 229 bytes .../{000333.log => 000342.log} | 0 packs/tables-des-traductions/CURRENT | 2 +- packs/tables-des-traductions/LOG | 11 ++++++--- packs/tables-des-traductions/LOG.old | 16 ++++++------- packs/tables-des-traductions/MANIFEST-000332 | Bin 126 -> 0 bytes packs/tables-des-traductions/MANIFEST-000340 | Bin 0 -> 143 bytes scripts/HJ2X4ZtXei0BXbxf.js | 2 +- scripts/HMC6hPND9DWLFfZE.js | 6 ++--- scripts/HmImVzvw6ecBy99l.js | 2 +- scripts/HoNTnPphrJISSQr1.js | 2 +- scripts/HrOBAXsEX073ReKl.js | 2 +- scripts/I1J2m5uud84N50Lk.js | 2 +- scripts/I9QAPKbaXwMMMBT4.js | 2 +- scripts/IAGla7HJlYN0wa4H.js | 2 +- scripts/IPPDvZdE8kn3H9z7.js | 2 +- scripts/IR5URcjnCuWBFMoN.js | 4 ++-- scripts/IslMfFgpgQq2brpu.js | 2 +- scripts/IupskvzvoGyD2H5o.js | 10 ++++---- scripts/J0IWUhxada2ONowP.js | 2 +- scripts/JQruHprM5R5vZ9DA.js | 4 ++-- scripts/JeThJbOf6Xmbtgo1.js | 2 +- scripts/Jjq3oPYbI26zjxME.js | 4 ++-- scripts/Jk7OHqx06oCUVAzb.js | 2 +- scripts/JmZQRvdWjm9ykYfn.js | 2 +- scripts/Jnp5c09sPzDD61EK.js | 2 +- scripts/KGK9vL1Yl0qmCeCN.js | 22 +++++++++--------- scripts/KICZPwLvbUSxbDrE.js | 4 ++-- scripts/KIoVBinAZK8sMOqD.js | 2 +- scripts/KPQfupKuaf4LCv4R.js | 2 +- scripts/KQzbrpb0T5a7it4k.js | 2 +- scripts/KkjkYAGI9Em1NgiQ.js | 4 ++-- scripts/KmngDrPD72xn22kZ.js | 4 ++-- scripts/LQEWSN5KnHHATPsf.js | 2 +- scripts/LyAK0dVDS5L09yq2.js | 2 +- scripts/M0XhKnWjG14pk3iH.js | 2 +- scripts/M5bh0heeafA2fQQ8.js | 2 +- scripts/MDLttXplnNthncGr.js | 2 +- scripts/MfxWXZwaZUjGSBqw.js | 2 +- scripts/MfxzwJz2o9ho2hOM.js | 2 +- scripts/MgMMoC4Umpg7fmNI.js | 8 +++---- scripts/Mhb67xufvA9uWO21.js | 2 +- scripts/Mir4FMHQRdVqazAF.js | 4 ++-- scripts/Msygc7oQQPB5fw0b.js | 4 ++-- scripts/MwUzyAgd0yPnmZCH.js | 2 +- scripts/N2MeOlf0GjPiRcSb.js | 2 +- scripts/N8hA6ysHCTlLd8Kj.js | 8 +++---- scripts/NDvNGATDM2xPFJK0.js | 2 +- scripts/NdquQqyuOkGCj8Uo.js | 2 +- scripts/NkqtQaLEGYst0PUO.js | 2 +- scripts/OEy2lxvic37dRBEt.js | 4 ++-- scripts/OeKeQAAcJhdI4Qky.js | 2 +- scripts/OgSI0Z6SHjYuqKIz.js | 2 +- scripts/hR1qD2kpFHF8JT8h.js | 2 +- scripts/hmk8zV1LTElHUI8A.js | 4 ++-- scripts/hnsmzvcuiUYB065I.js | 2 +- scripts/hpwJRAhCsXTp9bd9.js | 22 +++++++++--------- scripts/i5AN97A7IOeygEFA.js | 4 ++-- scripts/iM6JLF8jDXMViReZ.js | 2 +- scripts/iMu8BZ7eHMAbPEO1.js | 2 +- scripts/iNAQJa5HyaEckknX.js | 2 +- scripts/id9ZdkERMZnZTWXt.js | 2 +- scripts/imKVsCy8rya2gkwO.js | 2 +- scripts/inPxRSx0CDj1nwAm.js | 2 +- scripts/iuSoKntfJ4eAPafQ.js | 6 ++--- scripts/j98hvy6r9G2Vjmid.js | 8 +++---- scripts/jFwema0iwzBphxie.js | 2 +- scripts/jGDk7avWFSnyFoql.js | 2 +- scripts/jHgxpe6TJDlP3oTn.js | 4 ++-- scripts/jObJanFoev4N6ZRv.js | 2 +- scripts/jW87rmQLtROdVEhW.js | 2 +- scripts/jdS2u1tQPYeO55WI.js | 8 +++---- scripts/jsgLEVYvMieyYT6L.js | 2 +- scripts/kYiDBPRKIokFkr4Z.js | 2 +- scripts/kiJ6AiaYVUjt6aV6.js | 2 +- scripts/kvaN100w0nBUlLbj.js | 2 +- scripts/lII4KMRblqwFBlsV.js | 16 ++++++------- scripts/lOzkngzye4RmvALp.js | 2 +- scripts/lU4s3UTtBkU38djI.js | 2 +- scripts/laptAldsT0Fm1rDt.js | 4 ++-- scripts/lhemR8EP5tGNKout.js | 6 ++--- scripts/lvjcddwRiN9iGruy.js | 14 +++++------ scripts/mRvLsSVxNyt8LVZb.js | 2 +- scripts/mTnmPcjWmvScIBWY.js | 2 +- scripts/mr8qm5Bg6k1idZ6Q.js | 2 +- scripts/n5RJqJL9fdRIxkuN.js | 4 ++-- scripts/nD2QVg3DrPK3foMf.js | 2 +- scripts/nGTxNWBUBgTr87wU.js | 2 +- scripts/naF5EWr1CBkYRZTK.js | 8 +++---- scripts/njPP9wDAsdh4WHIj.js | 2 +- scripts/nkbTnaeBpthyhw4J.js | 2 +- scripts/nkdKBJ8ItqWiRAWL.js | 8 +++---- scripts/o88xuUConwt0vFLw.js | 2 +- scripts/oDNfCNyt5KaUYmg2.js | 4 ++-- scripts/obIXhQXKFyyQoNNV.js | 2 +- 119 files changed, 255 insertions(+), 232 deletions(-) rename packs/aides-de-jeu-fr/{000690.log => 000699.log} (100%) rename packs/aides-de-jeu-fr/{MANIFEST-000689 => MANIFEST-000697} (71%) rename packs/antidotes-and-remedes/{000692.log => 000701.log} (100%) rename packs/antidotes-and-remedes/{MANIFEST-000691 => MANIFEST-000699} (71%) rename packs/apothicarium/{000690.log => 000699.log} (100%) rename packs/apothicarium/{MANIFEST-000689 => MANIFEST-000697} (71%) rename packs/dons-de-rhya/{000690.log => 000699.log} (100%) rename packs/dons-de-rhya/{MANIFEST-000689 => MANIFEST-000697} (71%) rename packs/plats-dauberges/{000690.log => 000699.log} (100%) rename packs/plats-dauberges/{MANIFEST-000689 => MANIFEST-000697} (83%) rename packs/tables-des-traductions/{000333.log => 000342.log} (100%) delete mode 100644 packs/tables-des-traductions/MANIFEST-000332 create mode 100644 packs/tables-des-traductions/MANIFEST-000340 diff --git a/packs/aides-de-jeu-fr/000690.log b/packs/aides-de-jeu-fr/000699.log similarity index 100% rename from packs/aides-de-jeu-fr/000690.log rename to packs/aides-de-jeu-fr/000699.log diff --git a/packs/aides-de-jeu-fr/CURRENT b/packs/aides-de-jeu-fr/CURRENT index 9aeeae0..0b27d8d 100644 --- a/packs/aides-de-jeu-fr/CURRENT +++ b/packs/aides-de-jeu-fr/CURRENT @@ -1 +1 @@ -MANIFEST-000689 +MANIFEST-000697 diff --git a/packs/aides-de-jeu-fr/LOG b/packs/aides-de-jeu-fr/LOG index 340abc9..57d3b71 100644 --- a/packs/aides-de-jeu-fr/LOG +++ b/packs/aides-de-jeu-fr/LOG @@ -1,3 +1,7 @@ -2024/05/17-00:32:51.990246 7fe5356006c0 Recovering log #687 -2024/05/17-00:32:52.000905 7fe5356006c0 Delete type=3 #685 -2024/05/17-00:32:52.001011 7fe5356006c0 Delete type=0 #687 +2024/05/17-09:18:35.938297 7fe534c006c0 Recovering log #695 +2024/05/17-09:18:35.991443 7fe534c006c0 Delete type=3 #693 +2024/05/17-09:18:35.991560 7fe534c006c0 Delete type=0 #695 +2024/05/17-09:19:36.697860 7fe52e2006c0 Level-0 table #700: started +2024/05/17-09:19:36.697941 7fe52e2006c0 Level-0 table #700: 0 bytes OK +2024/05/17-09:19:36.704693 7fe52e2006c0 Delete type=0 #698 +2024/05/17-09:19:36.718677 7fe52e2006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal!suuYN87Al1ZZWtQQ' @ 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 d58fe06..281dc62 100644 --- a/packs/aides-de-jeu-fr/LOG.old +++ b/packs/aides-de-jeu-fr/LOG.old @@ -1,7 +1,7 @@ -2024/05/16-23:31:09.265904 7fe5356006c0 Recovering log #683 -2024/05/16-23:31:09.275748 7fe5356006c0 Delete type=3 #681 -2024/05/16-23:31:09.275914 7fe5356006c0 Delete type=0 #683 -2024/05/16-23:31:47.713351 7fe52e2006c0 Level-0 table #688: started -2024/05/16-23:31:47.713384 7fe52e2006c0 Level-0 table #688: 0 bytes OK -2024/05/16-23:31:47.720374 7fe52e2006c0 Delete type=0 #686 -2024/05/16-23:31:47.740138 7fe52e2006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal!suuYN87Al1ZZWtQQ' @ 0 : 0; will stop at (end) +2024/05/17-08:21:24.883877 7fe5360006c0 Recovering log #691 +2024/05/17-08:21:24.937952 7fe5360006c0 Delete type=3 #689 +2024/05/17-08:21:24.938049 7fe5360006c0 Delete type=0 #691 +2024/05/17-09:04:58.970123 7fe52e2006c0 Level-0 table #696: started +2024/05/17-09:04:58.970194 7fe52e2006c0 Level-0 table #696: 0 bytes OK +2024/05/17-09:04:58.976736 7fe52e2006c0 Delete type=0 #694 +2024/05/17-09:04:58.984265 7fe52e2006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal!suuYN87Al1ZZWtQQ' @ 0 : 0; will stop at (end) diff --git a/packs/aides-de-jeu-fr/MANIFEST-000689 b/packs/aides-de-jeu-fr/MANIFEST-000697 similarity index 71% rename from packs/aides-de-jeu-fr/MANIFEST-000689 rename to packs/aides-de-jeu-fr/MANIFEST-000697 index c285d4b9eea2b9a5bae0224a77a82865d92b7720..8f608bdf79337008f955382574e1425f8d726409 100644 GIT binary patch delta 41 scmZ3?xP@`TBqgoKSC?@yFf#38pGt9q;(z{0N^(NL6x}8%u~4;7@2mlaxyUQW@UNBxF>UN21sN#NMtWa1OO+)3>E+Y delta 25 hcmaFLc$sm+L7}U=oUU;*Ffwgo(4LDii%nJrA2v( zIf@3RW}ZHNenmc+0folynZ}Ha3}ApzQJEH1kz?X%9^qIT>Sk7C%*X>#@zKlsIu`>Y O(^)1?2Ig~2EIa@{9wd(d diff --git a/packs/tables-des-traductions/MANIFEST-000340 b/packs/tables-des-traductions/MANIFEST-000340 new file mode 100644 index 0000000000000000000000000000000000000000..8cf45ce9f8771f0c6b6ca0f9b4b0609f7bf01416 GIT binary patch literal 143 zcmWGJz2r<910$nUPHI_dPD+xVQ)NkNd1i5{bAE0?Vo_pAei1tp>(4LDii%nJrA2v( zIf@3RW}ZHNenmc+0folynZ}Ha3}ApzQJEH1kz?X%9^qIT>Sk7C%*X>#(XhVg8y5p3 a(^V!;2Igx_EIeoGB)mZa*FXX{fC2#8#3*3^ literal 0 HcmV?d00001 diff --git a/scripts/HJ2X4ZtXei0BXbxf.js b/scripts/HJ2X4ZtXei0BXbxf.js index 9042978..fb8e987 100644 --- a/scripts/HJ2X4ZtXei0BXbxf.js +++ b/scripts/HJ2X4ZtXei0BXbxf.js @@ -1,5 +1,5 @@ let choices = await Promise.all([game.wfrp4e.utility.findItemId("PzimjNx9Ojq4g6mV"), game.wfrp4e.utility.findItemId("rOPmyLWa37e7s9v6")]) - let items = await game.wfrp4e.apps.ItemDialog.create(choices, 1, "Choose a Skill") + let items = await game.wfrp4e.apps.ItemDialog.create(choices, 1, "Choisir une compétence") items = items.map(i => i.toObject()) items.forEach(i => i.system.advances.value = 20) diff --git a/scripts/HMC6hPND9DWLFfZE.js b/scripts/HMC6hPND9DWLFfZE.js index b975613..61a0bb8 100644 --- a/scripts/HMC6hPND9DWLFfZE.js +++ b/scripts/HMC6hPND9DWLFfZE.js @@ -12,16 +12,16 @@ let index = game.packs return i }) -let choice = await ItemDialog.create(index, 1, "Choose a Lore") +let choice = await ItemDialog.create(index, 1, "Choisir un Savoir") let text; if (!choice[0]) { let custom = await Dialog.wait({ - title : "Enter Lore", + title : "Saisir le savoir", content : "", buttons : { confirm : { - label : game.i18n.localize("Confirm"), + label : game.i18n.localize("Confirmer"), callback : (dlg) => { return dlg.find("input")[0].value } diff --git a/scripts/HmImVzvw6ecBy99l.js b/scripts/HmImVzvw6ecBy99l.js index 1731116..efbb97e 100644 --- a/scripts/HmImVzvw6ecBy99l.js +++ b/scripts/HmImVzvw6ecBy99l.js @@ -1,5 +1,5 @@ if (args.opposedTest.result.hitloc.value == "body" && args.totalWoundLoss > 0) { args.actor.addCondition("bleeding", 2) - this.script.scriptNotification("Added Bleeding") + this.script.scriptNotification("Ajout Hémorragique") } \ No newline at end of file diff --git a/scripts/HoNTnPphrJISSQr1.js b/scripts/HoNTnPphrJISSQr1.js index ae73e8e..16e1ae6 100644 --- a/scripts/HoNTnPphrJISSQr1.js +++ b/scripts/HoNTnPphrJISSQr1.js @@ -1 +1 @@ -ChatMessage.create({content : "Speak and be known to me", speaker : ChatMessage.getSpeaker({token: this.actor.getActiveTokens()[0]?.document, actor: this.actor})}, {chatBubble : true}) \ No newline at end of file +ChatMessage.create({content : "Parle et fais toi connaître", speaker : ChatMessage.getSpeaker({token: this.actor.getActiveTokens()[0]?.document, actor: this.actor})}, {chatBubble : true}) \ No newline at end of file diff --git a/scripts/HrOBAXsEX073ReKl.js b/scripts/HrOBAXsEX073ReKl.js index de65a28..04bf5c0 100644 --- a/scripts/HrOBAXsEX073ReKl.js +++ b/scripts/HrOBAXsEX073ReKl.js @@ -1,4 +1,4 @@ -let skill = `Entertain (Singing)` +let skill = `Divertissement (Chant)` let currentCareer = this.actor.system.currentCareer; let existingSkill = this.actor.itemTypes.skill.find(i => i.name == skill); diff --git a/scripts/I1J2m5uud84N50Lk.js b/scripts/I1J2m5uud84N50Lk.js index 5f22ef9..d395232 100644 --- a/scripts/I1J2m5uud84N50Lk.js +++ b/scripts/I1J2m5uud84N50Lk.js @@ -1,6 +1,6 @@ if (["cast", "channelling", "pray"].includes(args.type)) { args.abort = true; - this.script.scriptNotification("Cannot cast Spells or use Prayers"); + this.script.scriptNotification("Impossible d'incanter un Sort ou d'utiliser un Prière"); } else return true; \ No newline at end of file diff --git a/scripts/I9QAPKbaXwMMMBT4.js b/scripts/I9QAPKbaXwMMMBT4.js index 99b5ec4..9e6f662 100644 --- a/scripts/I9QAPKbaXwMMMBT4.js +++ b/scripts/I9QAPKbaXwMMMBT4.js @@ -8,7 +8,7 @@ if(test.failed) if(secondTest.failed) { this.effect.updateSource({name : "Taste of Death"}) - await this.actor.addCondition("fatigued"); + await this.actor.addCondition("fatigued"); } else { diff --git a/scripts/IAGla7HJlYN0wa4H.js b/scripts/IAGla7HJlYN0wa4H.js index 5840592..0a26102 100644 --- a/scripts/IAGla7HJlYN0wa4H.js +++ b/scripts/IAGla7HJlYN0wa4H.js @@ -3,6 +3,6 @@ if (args.test.characteristicKey == "wp") if (args.test.failed) { this.actor.addSystemEffect("convulsions") - this.script.scriptMessage(`Willpower Test failed, ${this.actor.prototypeToken.name} gains @Symptom[Convulsions] for [[1d10]] hours`) + this.script.scriptMessage(`Test de Force Mentale échoué, ${this.actor.prototypeToken.name} subit des @Symptom[Convulsions] pour [[1d10]] heures`) } } \ No newline at end of file diff --git a/scripts/IPPDvZdE8kn3H9z7.js b/scripts/IPPDvZdE8kn3H9z7.js index a78deea..624ce26 100644 --- a/scripts/IPPDvZdE8kn3H9z7.js +++ b/scripts/IPPDvZdE8kn3H9z7.js @@ -1,4 +1,4 @@ -let test = await this.actor.setupSkill("Dodge", {skipTargets: true, appendTitle : ` - ${this.effect.name}`}); +let test = await this.actor.setupSkill("Esquive", {skipTargets: true, appendTitle : ` - ${this.effect.name}`}); await test.roll(); if (test.failed) diff --git a/scripts/IR5URcjnCuWBFMoN.js b/scripts/IR5URcjnCuWBFMoN.js index 69ed22a..27b41b0 100644 --- a/scripts/IR5URcjnCuWBFMoN.js +++ b/scripts/IR5URcjnCuWBFMoN.js @@ -5,8 +5,8 @@ let test = await this.actor.setupSkill(game.i18n.localize("NAME.Endurance"), {fi await test.roll() if (test.failed) { - this.script.scriptMessage(`

${this.actor.prototypeToken.name} notices nothing amiss save that they become tired a little earlier than usual. At this point it is still possible to save the victim via a powerful antidote or magical means.

-

Once they fall asleep however, it is almost impossible. At this point the victim must make a Hard (-20) Endurance Test. If they fail, they never awaken.

`, + this.script.scriptMessage(`

${this.actor.prototypeToken.name} Jo ne remarque rien d'anormal si ce n'est qu'ils se fatiguent un peu plus tôt que d'habitude. À ce stade, il est encore possible de sauver la victime via un antidote puissant ou des moyens magiques.

+

Cependant, une fois qu’ils s’endorment, c’est presque impossible. À ce stade, la victime doit effectuer un test d'Endurance difficile (-20). S'il échoue, il ne se réveille jamais.

`, { whisper: ChatMessage.getWhisperRecipients("GM"), blind: true diff --git a/scripts/IslMfFgpgQq2brpu.js b/scripts/IslMfFgpgQq2brpu.js index 02c913e..4621a38 100644 --- a/scripts/IslMfFgpgQq2brpu.js +++ b/scripts/IslMfFgpgQq2brpu.js @@ -1,5 +1,5 @@ if (this.actor.hasCondition("broken")) { this.actor.removeCondition("broken") - this.script.scriptNotification(`Cannot have Broken`); + this.script.scriptNotification(`Impossible de supprimer l'état Brisé`); } \ No newline at end of file diff --git a/scripts/IupskvzvoGyD2H5o.js b/scripts/IupskvzvoGyD2H5o.js index 87c4934..3aca25c 100644 --- a/scripts/IupskvzvoGyD2H5o.js +++ b/scripts/IupskvzvoGyD2H5o.js @@ -3,21 +3,21 @@ if (this.actor.type != "character") return; } -let god = await ValueDialog.create("Enter a Deity", "Blessed") +let god = await ValueDialog.create("Saisir une Déité", "Béni") if (god) { - let prayers = await game.wfrp4e.utility.findAll("prayer", "Loading Prayers") + let prayers = await game.wfrp4e.utility.findAll("prayer", "Chargement des Prières") let blessings = prayers.filter(p => p.system.god.value.split(",").map(i => i.trim().toLowerCase()).includes(god.toLowerCase()) && p.system.type.value == "blessing") if (blessings.length) { - this.script.scriptNotification("Adding " + blessings.map(i => i.name).join(", ")) + this.script.scriptNotification("Ajout de " + blessings.map(i => i.name).join(", ")) await this.actor.createEmbeddedDocuments("Item", blessings, {fromEffect : this.effect.id}) } else { - this.script.scriptNotification(`Could not find any Blessings associated with ${god}.`) + this.script.scriptNotification(`Impossible de trouver des Bénédictions associées avec ${god}.`) } - this.item.updateSource({name : this.item.name.replace("Any", god)}) + this.item.updateSource({name : this.item.name.replace("Savoir divin", god)}) await this.actor.update({"system.details.god.value": god}) } \ No newline at end of file diff --git a/scripts/J0IWUhxada2ONowP.js b/scripts/J0IWUhxada2ONowP.js index aec5a9d..29356a0 100644 --- a/scripts/J0IWUhxada2ONowP.js +++ b/scripts/J0IWUhxada2ONowP.js @@ -1 +1 @@ - return args.skill?.name == "Entertain (Sing)" || args.skill?.name == "Entertain (Singing)" || (args.skill?.name.includes("Language") && (args.skill?.name.includes("Magick") || args.skill?.name.includes("Elthárin") || args.skill?.name.includes("Cathayan"))) \ No newline at end of file + return args.skill?.name == "Divertissement (Chant)" || args.skill?.name == "Divertissement (Chanter)" || (args.skill?.name.includes("Langue") && (args.skill?.name.includes("Magick") || args.skill?.name.includes("Elthárin") || args.skill?.name.includes("Cathayan"))) \ No newline at end of file diff --git a/scripts/JQruHprM5R5vZ9DA.js b/scripts/JQruHprM5R5vZ9DA.js index ae80286..7506452 100644 --- a/scripts/JQruHprM5R5vZ9DA.js +++ b/scripts/JQruHprM5R5vZ9DA.js @@ -3,8 +3,8 @@ if (caster) { let healed= caster.system.characteristics.wp.bonus + caster.system.characteristics.int.bonus await this.actor.modifyWounds(healed); - this.script.scriptMessage(`${this.actor.prototypeToken.name} regains ${healed} Wounds`) + this.script.scriptMessage(`${this.actor.prototypeToken.name} guéri ${healed} Blessures`) } - let test = await this.actor.setupSkill(game.i18n.localize("NAME.Endurance"), {fields : {difficulty : "vhard"}, context : {success : "1 Corruption point that was gained within the last hour is removed.", failure: "Nothing happens"}}) + let test = await this.actor.setupSkill(game.i18n.localize("NAME.Endurance"), {fields : {difficulty : "vhard"}, context : {success : "1 Point de Corruption gagné durant la dernière heure doit être supprimé.", failure: "Rien ne se passe"}}) await test.roll(); \ No newline at end of file diff --git a/scripts/JeThJbOf6Xmbtgo1.js b/scripts/JeThJbOf6Xmbtgo1.js index 8125581..8147600 100644 --- a/scripts/JeThJbOf6Xmbtgo1.js +++ b/scripts/JeThJbOf6Xmbtgo1.js @@ -1,6 +1,6 @@ this.script.scriptMessage(await this.actor.applyBasicDamage(8 + parseInt(this.effect.sourceTest.result.SL), {suppressMsg : true})) -let test = await this.actor.setupSkill("Athletics", {skipTargets: true, appendTitle : ` - ${this.effect.name}`}) +let test = await this.actor.setupSkill("Athlétisme", {skipTargets: true, appendTitle : ` - ${this.effect.name}`}) await test.roll(); if (test.failed) { diff --git a/scripts/Jjq3oPYbI26zjxME.js b/scripts/Jjq3oPYbI26zjxME.js index dcf1d23..c980ba0 100644 --- a/scripts/Jjq3oPYbI26zjxME.js +++ b/scripts/Jjq3oPYbI26zjxME.js @@ -6,7 +6,7 @@ if (location) if (dropped.length) { - this.script.scriptNotification(`Dropped ${dropped.map(i => i.name).join(", ")}!`) + this.script.scriptNotification(`Lache ${dropped.map(i => i.name).join(", ")}!`) for(let weapon of dropped) { await weapon.system.toggleEquip(); @@ -16,6 +16,6 @@ if (location) let roll = await new Roll("1d10").roll() -roll.toMessage(this.script.getChatData({flavor : `${this.effect.name} (Duration)`})); +roll.toMessage(this.script.getChatData({flavor : `${this.effect.name} (Durée)`})); this.effect.updateSource({"duration.rounds" : roll.total}) \ No newline at end of file diff --git a/scripts/Jk7OHqx06oCUVAzb.js b/scripts/Jk7OHqx06oCUVAzb.js index 44fed7e..addba15 100644 --- a/scripts/Jk7OHqx06oCUVAzb.js +++ b/scripts/Jk7OHqx06oCUVAzb.js @@ -1 +1 @@ -return !["Language (Magick)", "Channelling (Hysh)"].includes(args.skill?.name) \ No newline at end of file +return !["Langue (Magick)", "Focalisation (Hysh)"].includes(args.skill?.name) \ No newline at end of file diff --git a/scripts/JmZQRvdWjm9ykYfn.js b/scripts/JmZQRvdWjm9ykYfn.js index 90d6edc..55372ed 100644 --- a/scripts/JmZQRvdWjm9ykYfn.js +++ b/scripts/JmZQRvdWjm9ykYfn.js @@ -1,5 +1,5 @@ if (this.actor.hasCondition("surprised")) { this.actor.removeCondition("surprised") - this.script.scriptMessage(`Cannot be Surprised`); + this.script.scriptMessage(`Ne peut être surpris`); } \ No newline at end of file diff --git a/scripts/Jnp5c09sPzDD61EK.js b/scripts/Jnp5c09sPzDD61EK.js index e9e5662..f535a69 100644 --- a/scripts/Jnp5c09sPzDD61EK.js +++ b/scripts/Jnp5c09sPzDD61EK.js @@ -1,3 +1,3 @@ -this.script.scriptNotification(`${args.actor.prototypeToken.name} must pass an Average (+20) Willpower Test to attack this target!`) +this.script.scriptNotification(`${args.actor.prototypeToken.name} doit réussir un Test Accessible (+20) de Force Mentale pour attaquer cette cible!`) return true; // No need to show this in the dialog \ No newline at end of file diff --git a/scripts/KGK9vL1Yl0qmCeCN.js b/scripts/KGK9vL1Yl0qmCeCN.js index 78b37da..d6ac347 100644 --- a/scripts/KGK9vL1Yl0qmCeCN.js +++ b/scripts/KGK9vL1Yl0qmCeCN.js @@ -1,19 +1,19 @@ let specification = this.item.system.specification.value; let choice = []; -if (!specification || specification == "Trained Skills") +if (!specification || specification == "Compétences entraînées") { choice = await ItemDialog.create(ItemDialog.objectToArray({ - broken: "Broken", - drive: "Drive", - entertain: "Entertain", - fetch: "Fetch", - guard: "Guard", - home: "Home", - magic: "Magic", - mount: "Mount", - war: "War" - }, this.effect.img), "unlimited", "Choose Training"); + broken: "Dompté", + drive: "Trait", + entertain: "Divertir", + fetch: "Rapporter", + guard: "Garder", + home: "Revenir à la maison", + magic: "Magie", + mount: "Monture", + war: "Guerre" + }, this.effect.img), "unlimited", "Choisissez un Dressage"); } else { diff --git a/scripts/KICZPwLvbUSxbDrE.js b/scripts/KICZPwLvbUSxbDrE.js index 30a0d6f..e693a87 100644 --- a/scripts/KICZPwLvbUSxbDrE.js +++ b/scripts/KICZPwLvbUSxbDrE.js @@ -1,7 +1,7 @@ let table = game.wfrp4e.tables.findTable("mutatemental"); if (!table) { - ui.notifications.error("Cannot find table with key: mutatemental") + ui.notifications.error("Impossible de trouver la table des Mutations Mentales") } let result = (await table.roll()).results[0]; let uuid = `Compendium.${result.documentCollection}.${result.documentId}` @@ -14,5 +14,5 @@ if (item) } else { - ui.notifications.error("Item could not be found: " + uuid) + ui.notifications.error("Impossible de trouver l'item: " + uuid) } \ No newline at end of file diff --git a/scripts/KIoVBinAZK8sMOqD.js b/scripts/KIoVBinAZK8sMOqD.js index 072c254..7c082bd 100644 --- a/scripts/KIoVBinAZK8sMOqD.js +++ b/scripts/KIoVBinAZK8sMOqD.js @@ -5,7 +5,7 @@ { fromUuid("Compendium.wfrp4e-core.items.kKccDTGzWzSXCBOb").then(disease => { this.actor.createEmbeddedDocuments("Item", [disease.toObject()]) - this.script.scriptNotification("Gained " + disease.name) + this.script.scriptNotification("Gain de " + disease.name) }) } \ No newline at end of file diff --git a/scripts/KPQfupKuaf4LCv4R.js b/scripts/KPQfupKuaf4LCv4R.js index 9dcc016..611bcef 100644 --- a/scripts/KPQfupKuaf4LCv4R.js +++ b/scripts/KPQfupKuaf4LCv4R.js @@ -1,2 +1,2 @@ -const talents = await Promise.all(["Schemer", "Second Sight"].map(game.wfrp4e.utility.findTalent)) +const talents = await Promise.all(["Intrigant", "Seconde Vue"].map(game.wfrp4e.utility.findTalent)) this.actor.createEmbeddedDocuments("Item", talents, {fromEffect : this.effect.id}) \ No newline at end of file diff --git a/scripts/KQzbrpb0T5a7it4k.js b/scripts/KQzbrpb0T5a7it4k.js index 1620dd8..d07b192 100644 --- a/scripts/KQzbrpb0T5a7it4k.js +++ b/scripts/KQzbrpb0T5a7it4k.js @@ -1,4 +1,4 @@ let item = await fromUuid("Compendium.wfrp4e-core.items.Item.vMYEkrWj0ip6ZOdv"); let data = item.toObject(); -data.name += ` (Disease)`; +data.name += ` (Maladie)`; this.actor.createEmbeddedDocuments("Item", [data], {fromEffect: this.effect.id}) \ No newline at end of file diff --git a/scripts/KkjkYAGI9Em1NgiQ.js b/scripts/KkjkYAGI9Em1NgiQ.js index 1790282..8ae39d2 100644 --- a/scripts/KkjkYAGI9Em1NgiQ.js +++ b/scripts/KkjkYAGI9Em1NgiQ.js @@ -10,10 +10,10 @@ if (this.item.system.quantity.value) } else { - this.script.scriptNotification("Heal Test failed!", "error") + this.script.scriptNotification("Test de Guérison échoué!", "error") } } else { - this.script.scriptNotification("None left!", "error") + this.script.scriptNotification("Quantité insuffisante!", "error") } \ No newline at end of file diff --git a/scripts/KmngDrPD72xn22kZ.js b/scripts/KmngDrPD72xn22kZ.js index 331fdca..2365538 100644 --- a/scripts/KmngDrPD72xn22kZ.js +++ b/scripts/KmngDrPD72xn22kZ.js @@ -1,11 +1,11 @@ if (this.actor.Species.toLowerCase() != "skaven") { - this.actor.setupCharacteristic("t", {skipTargets: true, appendTitle : ` - Used ${this.effect.name}`, fields: { difficulty: "difficult" } }).then(async test => { + this.actor.setupCharacteristic("t", {skipTargets: true, appendTitle : ` - Utilise ${this.effect.name}`, fields: { difficulty: "difficult" } }).then(async test => { await test.roll() if (test.failed) { let toughnessLost = Math.ceil(CONFIG.Dice.randomUniform() * 10) this.actor.update({ "system.characteristics.t.initial": this.actor.characteristics.t.initial - toughnessLost }) - this.script.scriptMessage(`${this.actor.prototypeToken.name} lost ${toughnessLost} Toughness`) + this.script.scriptMessage(`${this.actor.prototypeToken.name} perd ${toughnessLost} points d'Endurance`) } }) } \ No newline at end of file diff --git a/scripts/LQEWSN5KnHHATPsf.js b/scripts/LQEWSN5KnHHATPsf.js index bd8c028..c6e73b1 100644 --- a/scripts/LQEWSN5KnHHATPsf.js +++ b/scripts/LQEWSN5KnHHATPsf.js @@ -1,4 +1,4 @@ if (args.totalWoundLoss > 0) { - this.script.scriptMessage(`${args.actor.name} must pass an Easy (+40) Endurance Test or gain a @UUID[Compendium.wfrp4e-core.items.kKccDTGzWzSXCBOb]{Festering Wound}`, {whisper: ChatMessage.getWhisperRecipients("GM")}) + this.script.scriptMessage(`${args.actor.name} doit réussir un Test Facile (+40) d'Endurance ou subir une @UUID[Compendium.wfrp4e-core.items.kKccDTGzWzSXCBOb]{Blessure Purulente}`, {whisper: ChatMessage.getWhisperRecipients("GM")}) } \ No newline at end of file diff --git a/scripts/LyAK0dVDS5L09yq2.js b/scripts/LyAK0dVDS5L09yq2.js index e8b817a..7f19beb 100644 --- a/scripts/LyAK0dVDS5L09yq2.js +++ b/scripts/LyAK0dVDS5L09yq2.js @@ -5,5 +5,5 @@ if (caster) let bonus = caster.system.characteristics.wp.bonus this.actor.modifyWounds(bonus) - this.script.scriptMessage(`${this.actor.prototypeToken.name} regains ${bonus} Wounds`) + this.script.scriptMessage(`${this.actor.prototypeToken.name} récupère ${bonus} Blessures`) } \ No newline at end of file diff --git a/scripts/M0XhKnWjG14pk3iH.js b/scripts/M0XhKnWjG14pk3iH.js index 1431d31..202036f 100644 --- a/scripts/M0XhKnWjG14pk3iH.js +++ b/scripts/M0XhKnWjG14pk3iH.js @@ -1 +1 @@ -return !args.skill?.name.includes("Channelling") && args.type != "channelling" && args.skill?.name != game.i18n.localize("NAME.Charm") && !args.skill?.name.includes("Language (Magick)") && args.type != "cast" \ No newline at end of file +return !args.skill?.name.includes("Focalisation") && args.type != "channelling" && args.skill?.name != game.i18n.localize("NAME.Charm") && !args.skill?.name.includes("Langue (Magick)") && args.type != "cast" \ No newline at end of file diff --git a/scripts/M5bh0heeafA2fQQ8.js b/scripts/M5bh0heeafA2fQQ8.js index 3583c70..bcd4d8e 100644 --- a/scripts/M5bh0heeafA2fQQ8.js +++ b/scripts/M5bh0heeafA2fQQ8.js @@ -2,7 +2,7 @@ if (args.test.spell?.getFlag("wfrp4e", "boonOfTzeentch")) { if (args.test.result.minormis || args.test.result.majormis || args.test.result.catastrophicmis) { - this.script.scriptMessage(`${this.effect.name} quits your mind in disgust and erases itself from your grimoire!`) + this.script.scriptMessage(`${this.effect.name} s'efface de votre esprit et s'efface de votre grimoire !`) this.effect.sourceItem.delete(); } } \ No newline at end of file diff --git a/scripts/MDLttXplnNthncGr.js b/scripts/MDLttXplnNthncGr.js index b7a08ee..950f0b7 100644 --- a/scripts/MDLttXplnNthncGr.js +++ b/scripts/MDLttXplnNthncGr.js @@ -1 +1 @@ -return args.type == "cast" && ["death", "necromancy", "life", "light", "heavens"].includes(args.spell?.system.lore.value) \ No newline at end of file +return args.type == "cast" && ["mort", "nécromancie", "vie", "lumière", "cieux"].includes(args.spell?.system.lore.value) \ No newline at end of file diff --git a/scripts/MfxWXZwaZUjGSBqw.js b/scripts/MfxWXZwaZUjGSBqw.js index 4e012c4..c4ce0c6 100644 --- a/scripts/MfxWXZwaZUjGSBqw.js +++ b/scripts/MfxWXZwaZUjGSBqw.js @@ -1,5 +1,5 @@ if (this.actor.hasCondition("ablaze")) { - this.script.scriptNotification("Immune to Ablaze") + this.script.scriptNotification("Immunisé à En Flammes") await this.actor.hasCondition("ablaze")?.delete() } \ No newline at end of file diff --git a/scripts/MfxzwJz2o9ho2hOM.js b/scripts/MfxzwJz2o9ho2hOM.js index 664e6ec..48b706b 100644 --- a/scripts/MfxzwJz2o9ho2hOM.js +++ b/scripts/MfxzwJz2o9ho2hOM.js @@ -1 +1 @@ -return args.skill?.name == "Lore (Apothecary)" \ No newline at end of file +return args.skill?.name == "Savoir (Apothicaire)" \ No newline at end of file diff --git a/scripts/MgMMoC4Umpg7fmNI.js b/scripts/MgMMoC4Umpg7fmNI.js index ef41566..f431174 100644 --- a/scripts/MgMMoC4Umpg7fmNI.js +++ b/scripts/MgMMoC4Umpg7fmNI.js @@ -2,9 +2,9 @@ if (args.equipped) { this.actor.createEmbeddedDocuments("ActiveEffect", [this.item.effects.contents[1]?.convertToApplied()]) - this.script.scriptMessage(`${this.actor.name} dons the ${this.item.name}.
- They cannot cast Spells or pray for Blessings and Miracles.
- If they wear the mask for more than an hour or benefit from any of its effects, they are exposed to @Corruption[moderate]{Moderate Corruption}. + this.script.scriptMessage(`${this.actor.name} porte ${this.item.name}.
+ Il ne peut plus lancer de Sorts ni effectuer de Prières ni Miracles.
+ S'il porte le masque pendant plus d'1 heure ou bénéficie de l'un de ses effets, il est exposé à un @Corruption[moderate]{Corruption Modérée}. `, {whisper: ChatMessage.getWhisperRecipients("GM")}) } @@ -14,7 +14,7 @@ else if (!args.equipped) { await this.item.effects.contents[0].delete(); await this.item.update({name : this.item.name += " (Used)"}) - this.script.scriptMessage(`${this.item.name} on ${this.actor.name} has been taken off and loses its properties. However, the effects last for [[1d10+4]] days, after which they should be manually removed.`, + this.script.scriptMessage(`${this.item.name} sur ${this.actor.name} a été enlevé et à perdu ses propriétés. Cependant, les effets perdurent pendant [[1d10+4]] jours, après quoi ils devront être supprimés manuellement.`, {whisper: ChatMessage.getWhisperRecipients("GM")} ) diff --git a/scripts/Mhb67xufvA9uWO21.js b/scripts/Mhb67xufvA9uWO21.js index 05b8bc7..9f01412 100644 --- a/scripts/Mhb67xufvA9uWO21.js +++ b/scripts/Mhb67xufvA9uWO21.js @@ -4,5 +4,5 @@ let attackerSize = game.wfrp4e.config.actorSizeNums[args.attacker.details.size.v if (attackerSize > actorSize) { args.actor.addCondition("prone") - this.script.scriptMessage(`Tail Attack: ${args.actor.prototypeToken.name} is now Prone`) + this.script.scriptMessage(`Attaque Caudale: ${args.actor.prototypeToken.name} est désormais A Terre`) } \ No newline at end of file diff --git a/scripts/Mir4FMHQRdVqazAF.js b/scripts/Mir4FMHQRdVqazAF.js index 7ad1e1f..8be83d5 100644 --- a/scripts/Mir4FMHQRdVqazAF.js +++ b/scripts/Mir4FMHQRdVqazAF.js @@ -3,11 +3,11 @@ let attackerSize = game.wfrp4e.config.actorSizeNums[args.attacker.details.size.v if (attackerSize > actorSize) { - let msg = `Tongue Attack: ${args.actor.prototypeToken.name} is now @Condition[Entangled]`; + let msg = `Attaque de Langue préhensile: ${args.actor.prototypeToken.name} est désormais @Condition[Empêtré]`; await args.actor.addCondition("entangled"); if (actorSize <= 2) { - msg += `and @Condition[Engaged]` + msg += `et @Condition[Engagé]` } this.script.scriptMessage(msg, {speaker : {alias: args.attacker.prototypeToken.name}}) } \ No newline at end of file diff --git a/scripts/Msygc7oQQPB5fw0b.js b/scripts/Msygc7oQQPB5fw0b.js index 2a7c502..fe0d31b 100644 --- a/scripts/Msygc7oQQPB5fw0b.js +++ b/scripts/Msygc7oQQPB5fw0b.js @@ -4,11 +4,11 @@ if (test.failed && (test.result.roll % 11 == 0 || test.result.roll == 100)) let points = await new Roll("1d10").roll(); game.dice3d?.showForRoll(points) this.actor.update({"system.status.corruption.value" : this.actor.system.status.corruption.value + points.total}) - this.script.scriptMessage(`Gains ${points.total} Corruption`) + this.script.scriptMessage(`Reçoit ${points.total} Point de Corruption`) } else { let points = this.effect.sourceTest.result.overcast.usage.other.current; this.actor.update({"system.status.corruption.value" : this.actor.system.status.corruption.value - points}) - this.script.scriptMessage(`Loses ${points} Corruption`) + this.script.scriptMessage(`Perd ${points} Point de Corruption`) } \ No newline at end of file diff --git a/scripts/MwUzyAgd0yPnmZCH.js b/scripts/MwUzyAgd0yPnmZCH.js index aef44fc..81a644d 100644 --- a/scripts/MwUzyAgd0yPnmZCH.js +++ b/scripts/MwUzyAgd0yPnmZCH.js @@ -1,4 +1,4 @@ let item = await fromUuid("Compendium.wfrp4e-core.items.klCJX0mNpXYH5AIx") let data = item.toObject(); -data.name = data.name.replace("Target", "Strangers"); +data.name = data.name.replace("Cible", "Strangers"); this.actor.createEmbeddedDocuments("Item", [data], {fromEffect : this.effect.id}); \ No newline at end of file diff --git a/scripts/N2MeOlf0GjPiRcSb.js b/scripts/N2MeOlf0GjPiRcSb.js index 8b92869..037e94a 100644 --- a/scripts/N2MeOlf0GjPiRcSb.js +++ b/scripts/N2MeOlf0GjPiRcSb.js @@ -1,2 +1,2 @@ -let test = await this.actor.setupCharacteristic("dex", {context : {failure : "Drops the item"}}) +let test = await this.actor.setupCharacteristic("dex", {context : {failure : "Lâche l'objet"}}) await test.roll(); \ No newline at end of file diff --git a/scripts/N8hA6ysHCTlLd8Kj.js b/scripts/N8hA6ysHCTlLd8Kj.js index 1d8cf17..01b3cf2 100644 --- a/scripts/N8hA6ysHCTlLd8Kj.js +++ b/scripts/N8hA6ysHCTlLd8Kj.js @@ -10,10 +10,10 @@ let characteristics = { "wp" : 15, "fel" : 0 } -let skills = ["Channelling", "Cool", "Dodge", "Entertain (Storytelling)", "Intuition", "Language (Magick)", "Lore (Magic)", "Perception"] +let skills = ["Focalisation", "Calme", "Esquive", "Divertissement (Narration)", "Intuition", "Langue (Magick)", "Savoir (Magie)", "Perception"] let skillAdvancements = [5, 15, 10, 10, 15, 10, 10, 20] -let talents = ["Arcane Magic", "Petty Magic", "Second Sight"] -let trappings = ["Hand Weapon", "Quarterstaff", "Ritual Dress incorporating many ingredients and fetishes"] +let talents = ["Magie des Arcanes", "Magie Mineure", "Seconde Vue"] +let trappings = ["Arme simple", "(2M) Bâton de combat", "Robe de rituel incorporant des ingrédients et des fétiches"] let items = []; let updateObj = this.actor.toObject(); @@ -48,7 +48,7 @@ for (let talent of talents) } else { - ui.notifications.warn(`Could not find ${talent}`, {permanent : true}) + ui.notifications.warn(`Impossible de trouver ${talent}`, {permanent : true}) } } diff --git a/scripts/NDvNGATDM2xPFJK0.js b/scripts/NDvNGATDM2xPFJK0.js index 58c8edd..a24d236 100644 --- a/scripts/NDvNGATDM2xPFJK0.js +++ b/scripts/NDvNGATDM2xPFJK0.js @@ -7,7 +7,7 @@ tongue = tongue.toObject(); let roll = await new Roll("1d10").roll(); -roll.toMessage(this.script.getChatData({flavor : "Teeth Lost"})) +roll.toMessage(this.script.getChatData({flavor : "Dents perdues"})) teeth.system.location.value = `${roll.total} ${teeth.system.location.value}` brokenbone.system.location.value = "Jaw" diff --git a/scripts/NdquQqyuOkGCj8Uo.js b/scripts/NdquQqyuOkGCj8Uo.js index 3e25112..795693e 100644 --- a/scripts/NdquQqyuOkGCj8Uo.js +++ b/scripts/NdquQqyuOkGCj8Uo.js @@ -4,5 +4,5 @@ let acutesense = await fromUuid("Compendium.wfrp4e-core.items.Item.9h82z72XGo9tf fear = fear.toObject(); fear.system.specification.value = 1; acutesense = acutesense.toObject(); -acutesense.name += " (Smell)"; +acutesense.name += " (Odorat)"; this.actor.createEmbeddedDocuments("Item", [darkvision, fear, acutesense], {fromEffect : this.effect.id}) \ No newline at end of file diff --git a/scripts/NkqtQaLEGYst0PUO.js b/scripts/NkqtQaLEGYst0PUO.js index a5fa1cd..3bda5c8 100644 --- a/scripts/NkqtQaLEGYst0PUO.js +++ b/scripts/NkqtQaLEGYst0PUO.js @@ -1,4 +1,4 @@ -if (this.actor.has("Magic Resistance", "talent")) +if (this.actor.has("Résistance à la Magie", "talent")) return let item = await fromUuid("Compendium.wfrp4e-core.items.Item.eowbsW6oHGSNJmxV") diff --git a/scripts/OEy2lxvic37dRBEt.js b/scripts/OEy2lxvic37dRBEt.js index 583f063..a36b75c 100644 --- a/scripts/OEy2lxvic37dRBEt.js +++ b/scripts/OEy2lxvic37dRBEt.js @@ -9,7 +9,7 @@ let filters = [ } ] -let petty = await game.wfrp4e.apps.ItemDialog.createFromFilters(filters, 3, "Choose 3 Petty Spells") +let petty = await game.wfrp4e.apps.ItemDialog.createFromFilters(filters, 3, "Choisir 3 sorts de Magie Mineure") filters = [ @@ -23,7 +23,7 @@ filters = [ } ] -let arcane = await game.wfrp4e.apps.ItemDialog.createFromFilters(filters, 3, "Choose 3 Arcane Spells") +let arcane = await game.wfrp4e.apps.ItemDialog.createFromFilters(filters, 3, "Choisir 3 sorts d'Arcane") let items = petty.concat(arcane).map(i => i.toObject()) diff --git a/scripts/OeKeQAAcJhdI4Qky.js b/scripts/OeKeQAAcJhdI4Qky.js index df7e559..92f01ea 100644 --- a/scripts/OeKeQAAcJhdI4Qky.js +++ b/scripts/OeKeQAAcJhdI4Qky.js @@ -1,5 +1,5 @@ if (this.actor.hasCondition("stunned") || this.actor.hasCondition("unconscious")) { - this.script.scriptNotification("Disabled!"); + this.script.scriptNotification("Désactivé!"); await this.effect.update({"disabled" : true}) } \ No newline at end of file diff --git a/scripts/OgSI0Z6SHjYuqKIz.js b/scripts/OgSI0Z6SHjYuqKIz.js index af30fee..b1cf84f 100644 --- a/scripts/OgSI0Z6SHjYuqKIz.js +++ b/scripts/OgSI0Z6SHjYuqKIz.js @@ -9,7 +9,7 @@ if (this.item.system.protects[args.opposedTest.result.hitloc.value]) await test.roll(); if (test.failed) { - this.script.scriptMessage(`${this.actor.name} must break from combat and flee until they pass a Challenging (+0) Willpower Test`); + this.script.scriptMessage(`${this.actor.name} doit cesser le combat et fuir à moins de réussir un jet Intermédiaire (+0) de Force Mentale`); this.item.setFlag("wfrp4e", "failedCool", true); } }) diff --git a/scripts/hR1qD2kpFHF8JT8h.js b/scripts/hR1qD2kpFHF8JT8h.js index 1ee0b50..88e6c07 100644 --- a/scripts/hR1qD2kpFHF8JT8h.js +++ b/scripts/hR1qD2kpFHF8JT8h.js @@ -1 +1 @@ -return args.skill?.name == "Language (Magick)" \ No newline at end of file +return args.skill?.name == "Langue (Magick)" \ No newline at end of file diff --git a/scripts/hmk8zV1LTElHUI8A.js b/scripts/hmk8zV1LTElHUI8A.js index 00780d6..f08d4c7 100644 --- a/scripts/hmk8zV1LTElHUI8A.js +++ b/scripts/hmk8zV1LTElHUI8A.js @@ -1,7 +1,7 @@ -let msg = `${this.actor.prototypeToken.name} loses 1 Wound.
` +let msg = `${this.actor.prototypeToken.name} perd 1 Blessure.
` if (this.actor.status.wounds.value <= 1) { - msg += `${this.actor.prototypeToken.name} goes unconscious.
` + msg += `${this.actor.prototypeToken.name} tombe Inconscient.
` await this.actor.addCondition("unconscious") } this.script.scriptMessage(msg) diff --git a/scripts/hnsmzvcuiUYB065I.js b/scripts/hnsmzvcuiUYB065I.js index e0d3818..2ee0284 100644 --- a/scripts/hnsmzvcuiUYB065I.js +++ b/scripts/hnsmzvcuiUYB065I.js @@ -1 +1 @@ -this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {appendTitle: ` - ${this.effect.name}`, context: { failure : "May not flee Combat"}}).then(test => test.roll()) \ No newline at end of file +this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {appendTitle: ` - ${this.effect.name}`, context: { failure : "Ne peut fuir les combats"}}).then(test => test.roll()) \ No newline at end of file diff --git a/scripts/hpwJRAhCsXTp9bd9.js b/scripts/hpwJRAhCsXTp9bd9.js index 5a39770..ac8a134 100644 --- a/scripts/hpwJRAhCsXTp9bd9.js +++ b/scripts/hpwJRAhCsXTp9bd9.js @@ -1,7 +1,7 @@ let choice1 = [ { type : "skill", - name : "Melee (Basic)", + name : "Corps à corps (Base)", diff : { system : { advances : { @@ -14,7 +14,7 @@ let choice1 = [ let choice2 = [ { type : "skill", - name : "Melee (Polearm)", + name : "Corps à corps (Armes d'hast)", diff : { system : { advances : { @@ -28,7 +28,7 @@ let choice2 = [ let choice3 = [ { type : "skill", - name : "Melee (Two-Handed)", + name : "Corps à corps (A deux mains)", diff : { system : { advances : { @@ -43,29 +43,29 @@ let choice = await Dialog.wait({ title : "Choice", content : `

- Select your choice + Faites un choix

    -
  1. Melee (Basic)
  2. -
  3. Melee (Polearm)
  4. -
  5. Melee (Two-Handed)
  6. +
  7. Corps à corps (Base)
  8. +
  9. Corps à corps (Armes d'hast)
  10. +
  11. Corps à corps (A deux mains)
`, buttons : { 1 : { - label : "Basic", + label : "Base", callback : () => { return choice1 } }, 2 : { - label : "Polearm", + label : "Armes d'hast", callback : () => { return choice2 } }, 3 : { - label : "Two-Handed", + label : "A deux mains", callback : () => { return choice3 } @@ -97,7 +97,7 @@ for (let c of choice) items.push(mergeObject(item, (c.diff || {}))) } else - ui.notifications.warn(`Could not find ${talent}`, {permanent : true}) + ui.notifications.warn(`Impossible de trouver ${talent}`, {permanent : true}) } } diff --git a/scripts/i5AN97A7IOeygEFA.js b/scripts/i5AN97A7IOeygEFA.js index e128fbe..e94c9dc 100644 --- a/scripts/i5AN97A7IOeygEFA.js +++ b/scripts/i5AN97A7IOeygEFA.js @@ -1,7 +1,7 @@ if (args.applyAP && args.modifiers.ap.metal) { args.modifiers.ap.ignored += args.modifiers.ap.metal - args.modifiers.other.push({value : args.modifiers.ap.metal, label : this.effect.name, details : "Add Metal AP to Damage" }) - args.modifiers.ap.details.push("" + this.effect.name + ": Ignore Metal (" + args.modifiers.ap.metal + ")"); + args.modifiers.other.push({value : args.modifiers.ap.metal, label : this.effect.name, details : "Ajout les PA Métalliques aux Dommages" }) + args.modifiers.ap.details.push("" + this.effect.name + ": Ignore le métal (" + args.modifiers.ap.metal + ")"); args.modifiers.ap.metal = 0 } \ No newline at end of file diff --git a/scripts/iM6JLF8jDXMViReZ.js b/scripts/iM6JLF8jDXMViReZ.js index 34e9ba4..5bd9ae9 100644 --- a/scripts/iM6JLF8jDXMViReZ.js +++ b/scripts/iM6JLF8jDXMViReZ.js @@ -1 +1 @@ -return !["Pick Lock", "Sleight of Hand", "Channelling (Ulgu)"].includes(args.skill?.name) \ No newline at end of file +return !["Crochetage", "Escamotage", "Focalisation (Ulgu)"].includes(args.skill?.name) \ No newline at end of file diff --git a/scripts/iMu8BZ7eHMAbPEO1.js b/scripts/iMu8BZ7eHMAbPEO1.js index 46b2e56..73904f4 100644 --- a/scripts/iMu8BZ7eHMAbPEO1.js +++ b/scripts/iMu8BZ7eHMAbPEO1.js @@ -1,5 +1,5 @@ let healed = args.totalWoundLoss -this.script.scriptMessage(`this.actor.prototypeToken.name healed ${healed} Wounds`); +this.script.scriptMessage(`this.actor.prototypeToken.name Guérison de ${healed} Blessures`); this.actor.modifyWounds(healed) \ No newline at end of file diff --git a/scripts/iNAQJa5HyaEckknX.js b/scripts/iNAQJa5HyaEckknX.js index 517797d..34aa1cd 100644 --- a/scripts/iNAQJa5HyaEckknX.js +++ b/scripts/iNAQJa5HyaEckknX.js @@ -10,7 +10,7 @@ if (opposedResult?.winner == "attacker") if (spells.length) { let chosen = spells[Math.floor(CONFIG.Dice.randomUniform() * spells.length)] - this.script.scriptMessage(`Loses access to ${chosen.name}`) + this.script.scriptMessage(`Ne se rappelle plus du sort ${chosen.name}`) chosen.update({name : chosen.name += " (LOST)"}) } } diff --git a/scripts/id9ZdkERMZnZTWXt.js b/scripts/id9ZdkERMZnZTWXt.js index 633bb00..9e2f8af 100644 --- a/scripts/id9ZdkERMZnZTWXt.js +++ b/scripts/id9ZdkERMZnZTWXt.js @@ -1,6 +1,6 @@ if (args.extendedTest?.getFlag("wfrp4e", "fear")) { - this.script.scriptNotification("Immune to Fear"); + this.script.scriptNotification("Immunisé à la Peur"); args.extendedTest.delete(); args.abort = true; } diff --git a/scripts/imKVsCy8rya2gkwO.js b/scripts/imKVsCy8rya2gkwO.js index cfdc4ba..5e2f22d 100644 --- a/scripts/imKVsCy8rya2gkwO.js +++ b/scripts/imKVsCy8rya2gkwO.js @@ -11,7 +11,7 @@ await this.actor.removeSystemEffect("stinkingdrunk1") await this.actor.addCondition("fatigued") const duration = 10 - parseInt(this.actor.system.characteristics.t.bonus) this.effect.updateSource({"duration.rounds" : duration}); -this.script.scriptMessage(`

${this.actor.prototypeToken.name} has lost all alcohol related penalties and gains the Fatigued Condition for ${duration} hours.

`, +this.script.scriptMessage(`

${this.actor.prototypeToken.name} ne souffre des pénalités dues à l'alcool et reçoit 1 état Fatigué pour ${duration} heures.

`, { whisper: ChatMessage.getWhisperRecipients("GM"), blind: true diff --git a/scripts/inPxRSx0CDj1nwAm.js b/scripts/inPxRSx0CDj1nwAm.js index 6fda683..62b3885 100644 --- a/scripts/inPxRSx0CDj1nwAm.js +++ b/scripts/inPxRSx0CDj1nwAm.js @@ -1,4 +1,4 @@ -if (args.test.result.fumble && !this.actor.itemTypes.talent.find(i => i.name == "Arcane Magic (Fire)")) +if (args.test.result.fumble && !this.actor.itemTypes.talent.find(i => i.name == "Magie des Arcanes (Feu)")) { this.actor.addCondition("ablaze"); } \ No newline at end of file diff --git a/scripts/iuSoKntfJ4eAPafQ.js b/scripts/iuSoKntfJ4eAPafQ.js index 6f1b6d7..9398d0b 100644 --- a/scripts/iuSoKntfJ4eAPafQ.js +++ b/scripts/iuSoKntfJ4eAPafQ.js @@ -1,7 +1,7 @@ -let spells = await game.wfrp4e.utility.findAll("spell", "Loading Spells"); -spells = spells.filter(s => ["fire", "heavens", "beasts", "shadow", "light", "life", "death", "metal"].includes(s.system.lore.value)).sort((a, b) => a.system.lore.value > b.system.lore.value ? 1 : -1) +let spells = await game.wfrp4e.utility.findAll("spell", "Chargement des sorts"); +spells = spells.filter(s => ["feu", "cieux", "bêtes", "ombres", "lumière", "vie", "mort", "métal"].includes(s.system.lore.value)).sort((a, b) => a.system.lore.value > b.system.lore.value ? 1 : -1) -let choice = await ItemDialog.create(spells, 1, "Choose Spell"); +let choice = await ItemDialog.create(spells, 1, "Choisir un sort"); if (choice[0]) { this.actor.createEmbeddedDocuments("Item", choice, {fromEffect: this.effect.id}) diff --git a/scripts/j98hvy6r9G2Vjmid.js b/scripts/j98hvy6r9G2Vjmid.js index e02fdd6..458e65b 100644 --- a/scripts/j98hvy6r9G2Vjmid.js +++ b/scripts/j98hvy6r9G2Vjmid.js @@ -1,12 +1,12 @@ if (args.totalWoundLoss > 0) { args.opposedTest.result.other.push( - `@Corruption[minor]{Minor Exposure to Corruption}` + `@Corruption[minor]{Exposition Mineure à la Corruption}` ) this.script.scriptMessage( `${this.effect.name}: - @Corruption[minor]{Minor Exposure to Corruption}
- ${args.actor.prototypeToken.name} must take an - Average (+20%) Corruption (Minor) Test`, + @Corruption[minor]{Exposition Mineure à la Corruption}
+ ${args.actor.prototypeToken.name} doit réaliser un Test + Accessible (+20%) de Corruption (Mineur)`, {whisper: ChatMessage.getWhisperRecipients("GM")}) } \ No newline at end of file diff --git a/scripts/jFwema0iwzBphxie.js b/scripts/jFwema0iwzBphxie.js index adb34c2..b145f1b 100644 --- a/scripts/jFwema0iwzBphxie.js +++ b/scripts/jFwema0iwzBphxie.js @@ -6,4 +6,4 @@ args.attacker.update({"system.status.wounds.value" : args.attacker.system.status args.actor.addCondition("fatigued") args.attacker.hasCondition("fatigued")?.delete(); -this.script.scriptMessage(`${args.attacker.prototypeToken.name} gains ${woundsGained} Wounds`); \ No newline at end of file +this.script.scriptMessage(`${args.attacker.prototypeToken.name} guéri de ${woundsGained} Blessures`); \ No newline at end of file diff --git a/scripts/jGDk7avWFSnyFoql.js b/scripts/jGDk7avWFSnyFoql.js index a76c522..1509a3a 100644 --- a/scripts/jGDk7avWFSnyFoql.js +++ b/scripts/jGDk7avWFSnyFoql.js @@ -5,5 +5,5 @@ if (broken && !broken.getFlag("wfrp4e", "blasted-mind") && !this.actor.has(item. { await broken.delete(); this.actor.createEmbeddedDocuments("Item", [item], {fromEffect: this.effect.id}) - this.script.scriptNotification(`Removed ${broken.name}, added ${item.name} (${Math.ceil(CONFIG.Dice.randomUniform() * 10)} Rounds)`) + this.script.scriptNotification(`Suppression de ${broken.name}, ajout de ${item.name} (${Math.ceil(CONFIG.Dice.randomUniform() * 10)} Rounds)`) } \ No newline at end of file diff --git a/scripts/jHgxpe6TJDlP3oTn.js b/scripts/jHgxpe6TJDlP3oTn.js index 0a1b29a..6355691 100644 --- a/scripts/jHgxpe6TJDlP3oTn.js +++ b/scripts/jHgxpe6TJDlP3oTn.js @@ -1,7 +1,7 @@ -let spells = await game.wfrp4e.utility.findAll("spell", "Loading Spells"); +let spells = await game.wfrp4e.utility.findAll("spell", "Chargement des sorts"); spells = spells.filter(s => ["slaanesh"].includes(s.system.lore.value)) -let choice = await ItemDialog.create(spells, 1, "Choose Spell"); +let choice = await ItemDialog.create(spells, 1, "Choisir un sort"); if (choice[0]) { this.item.updateSource({name : this.item.name + ` (${choice[0].name})`}) diff --git a/scripts/jObJanFoev4N6ZRv.js b/scripts/jObJanFoev4N6ZRv.js index 4580414..5697901 100644 --- a/scripts/jObJanFoev4N6ZRv.js +++ b/scripts/jObJanFoev4N6ZRv.js @@ -1,2 +1,2 @@ if (!args.opposedTest.attackerTest.item?.system?.isMagical) - args.abort = `${this.effect.name}: Ignored` \ No newline at end of file + args.abort = `${this.effect.name}: Ignoré` \ No newline at end of file diff --git a/scripts/jW87rmQLtROdVEhW.js b/scripts/jW87rmQLtROdVEhW.js index 6c5e3ca..18331f3 100644 --- a/scripts/jW87rmQLtROdVEhW.js +++ b/scripts/jW87rmQLtROdVEhW.js @@ -1,5 +1,5 @@ if (["orc", "ork", "goblin", "hobgoblin", "snotling", "greenskin"].includes(args.opposedTest.defender.details.species.value.toLowerCase())) { args.addImpact = true - args.opposedTest.result.other.push("Rune of Goblin Bane: Impact Added") + args.opposedTest.result.other.push("Rune de Banissement de Gobelin: Ajout d'Impact") } \ No newline at end of file diff --git a/scripts/jdS2u1tQPYeO55WI.js b/scripts/jdS2u1tQPYeO55WI.js index a274d28..95a5dfd 100644 --- a/scripts/jdS2u1tQPYeO55WI.js +++ b/scripts/jdS2u1tQPYeO55WI.js @@ -8,7 +8,7 @@ if (type == "cold") if (type == "corrosion") { - let damageItems = await Dialog.confirm({title : this.item.name, content : `

Damage all Items carried?

`}) + let damageItems = await Dialog.confirm({title : this.item.name, content : `

Endommager tout les objets portés?

`}) if (damageItems) { let msg = `` @@ -25,17 +25,17 @@ if (type == "corrosion") { await item.system.damageItem(1); } - msg += `

${item.name} damage by 1

` + msg += `

${item.name} endommagé de 1

` } for(let item of armour) { await item.system.damageItem(1); - msg += `

${item.name} damage by 1

` + msg += `

${item.name} endommagé de 1

` } for(let item of trappings) { await item.system.damageItem(1); - msg += `

${item.name} damage by 1

` + msg += `

${item.name} endommagé de 1

` } if (msg) { diff --git a/scripts/jsgLEVYvMieyYT6L.js b/scripts/jsgLEVYvMieyYT6L.js index bfcf625..061e859 100644 --- a/scripts/jsgLEVYvMieyYT6L.js +++ b/scripts/jsgLEVYvMieyYT6L.js @@ -14,5 +14,5 @@ if (tokenImg) } else { - this.script.scriptNotification("No Token Image path configured. The image path should be set in the first line of this script.", "error"); + this.script.scriptNotification("Aucune image de Token configurée. Le chemin du token doit être configuré dans la première ligne de ce script.", "error"); } \ No newline at end of file diff --git a/scripts/kYiDBPRKIokFkr4Z.js b/scripts/kYiDBPRKIokFkr4Z.js index 10222a8..58d9e24 100644 --- a/scripts/kYiDBPRKIokFkr4Z.js +++ b/scripts/kYiDBPRKIokFkr4Z.js @@ -1,4 +1,4 @@ -if (args.item.type == "skill" && args.item.name == "Ranged (Bow)") +if (args.item.type == "skill" && args.item.name == "Projectiles (Arc)") { args.item.system.modifier.value += 20; } \ No newline at end of file diff --git a/scripts/kiJ6AiaYVUjt6aV6.js b/scripts/kiJ6AiaYVUjt6aV6.js index 2998e2c..138718e 100644 --- a/scripts/kiJ6AiaYVUjt6aV6.js +++ b/scripts/kiJ6AiaYVUjt6aV6.js @@ -2,6 +2,6 @@ teeth = await fromUuid("Compendium.wfrp4e-core.items.fBcZhOBn8IpoVqQ1") teeth = teeth.toObject(); let roll = await new Roll("1d10").roll(); -roll.toMessage(this.script.getChatData({flavor : "Teeth Lost"})) +roll.toMessage(this.script.getChatData({flavor : "Dents perdues"})) teeth.system.location.value = `${roll.total} ${teeth.system.location.value}` this.actor.createEmbeddedDocuments("Item", [teeth]) \ No newline at end of file diff --git a/scripts/kvaN100w0nBUlLbj.js b/scripts/kvaN100w0nBUlLbj.js index cc524fa..127678c 100644 --- a/scripts/kvaN100w0nBUlLbj.js +++ b/scripts/kvaN100w0nBUlLbj.js @@ -1,6 +1,6 @@ let poisoned = this.actor.hasCondition("poisoned") if (poisoned) { - this.script.scriptMessage("Immune to Poisoned") + this.script.scriptMessage("Immunisé aux Poisons") poisoned.delete() } \ No newline at end of file diff --git a/scripts/lII4KMRblqwFBlsV.js b/scripts/lII4KMRblqwFBlsV.js index 49bd3a7..a29d242 100644 --- a/scripts/lII4KMRblqwFBlsV.js +++ b/scripts/lII4KMRblqwFBlsV.js @@ -10,13 +10,13 @@ let characteristics = { "wp" : 10, "fel" : 15 } -let skills = ["Channelling", "Charm", "Perform (Dancing)"] +let skills = ["Focalisation", "Charme", "Représentation (Danser)"] let skillAdvancements = [0, 6, 3] -let talents = ["Attractive", "Distract", "Mimic"] -let traits = ["Distracting", "Flight (6)", "Spellcaster (Petty)"] +let talents = ["Attirant", "Distraire", "Imitation"] +let traits = ["Perturbant", "Vol (6)", "Lanceur de Sorts (Magie Mineure)"] let trappings = [] let items = []; -let spells = ["Marsh Lights", "Sleep"]; +let spells = ["Feux follets", "Sommeil"]; let updateObj = this.actor.toObject(); @@ -50,7 +50,7 @@ for (let talent of talents) } else { - ui.notifications.warn(`Could not find ${talent}`, {permanent : true}) + ui.notifications.warn(`Impossible de trouver ${talent}`, {permanent : true}) } } @@ -68,13 +68,13 @@ for (let trait of traits) } catch { } if (!traitItem) { - ui.notifications.warn(`Could not find ${trait}`, {permanent : true}) + ui.notifications.warn(`Impossible de trouver ${trait}`, {permanent : true}) } traitItem = traitItem.toObject() if (Number.isNumeric(traitVal)) { - traitItem.system.specification.value = traitName.includes('Weapon','Horns','Tail','Tentacles','Bite') ? traitVal - parseInt(characteristicValues[3]/10) : traitVal; + traitItem.system.specification.value = traitName.includes('Arme','Cornes','Queue','Tentacules','Morsure') ? traitVal - parseInt(characteristicValues[3]/10) : traitVal; traitItem.name = (traitItem.name + ` ${traitSpec ? "("+ traitSpec + ")" : ""}`).trim() } else @@ -112,7 +112,7 @@ for (let spell of spells) } else { - ui.notifications.warn(`Could not find ${spell}`, {permanent : true}) + ui.notifications.warn(`Impossible de trouver ${spell}`, {permanent : true}) } } diff --git a/scripts/lOzkngzye4RmvALp.js b/scripts/lOzkngzye4RmvALp.js index 4f261d3..49921a6 100644 --- a/scripts/lOzkngzye4RmvALp.js +++ b/scripts/lOzkngzye4RmvALp.js @@ -1,3 +1,3 @@ let item = await fromUuid("Compendium.wfrp4e-core.items.DrNUTPeodEgpWTnT") this.actor.createEmbeddedDocuments("Item", [item], {fromEffect : this.effect.id}); -this.script.scriptNotification("Added " + item.name) \ No newline at end of file +this.script.scriptNotification("Ajout de " + item.name) \ No newline at end of file diff --git a/scripts/lU4s3UTtBkU38djI.js b/scripts/lU4s3UTtBkU38djI.js index ba1cf91..a489fb0 100644 --- a/scripts/lU4s3UTtBkU38djI.js +++ b/scripts/lU4s3UTtBkU38djI.js @@ -1,4 +1,4 @@ this.actor.addCondition("entangled") -let msg = `${this.actor.prototypeToken.name} loses 1 Wound and gains 1 Entangled Condition.` +let msg = `${this.actor.prototypeToken.name} perd 1 Blessure et reçoit l'état Empêtré.` this.script.scriptMessage(msg) this.actor.modifyWounds(-1) \ No newline at end of file diff --git a/scripts/laptAldsT0Fm1rDt.js b/scripts/laptAldsT0Fm1rDt.js index 861ea5e..0bce9f6 100644 --- a/scripts/laptAldsT0Fm1rDt.js +++ b/scripts/laptAldsT0Fm1rDt.js @@ -1,6 +1,6 @@ -let blunt = await Dialog.confirm({label : "test", content :`

Apply blunt damage reduction? (-3)

`}) +let blunt = await Dialog.confirm({label : "test", content :`

Appliquer la réduction des Dégats contondants? (-3)

`}) if (blunt) { - args.modifiers.other.push({label : this.effect.name, details : "Blunt Damage Reduction", value : -3}) + args.modifiers.other.push({label : this.effect.name, details : "Réduction des dégats contondants", value : -3}) } \ No newline at end of file diff --git a/scripts/lhemR8EP5tGNKout.js b/scripts/lhemR8EP5tGNKout.js index a9d9356..cb1f420 100644 --- a/scripts/lhemR8EP5tGNKout.js +++ b/scripts/lhemR8EP5tGNKout.js @@ -1,11 +1,11 @@ -let test = await this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {fields: {difficulty : "average"}, skipTargets: true, appendTitle : ` - ${this.effect.name}`, context : {failure : "Suffer Creeping Irrationality"}}) +let test = await this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {fields: {difficulty : "average"}, skipTargets: true, appendTitle : ` - ${this.effect.name}`, context : {failure : "Souffre d'Irrationnalité Effrayante"}}) await test.roll(); if (test.failed) { - msg = `

@UUID[${this.effect.sourceItem.uuid}]{Creeping Irratitonality} Roll: ${Math.ceil(CONFIG.Dice.randomUniform() * 10)}

` + msg = `

@UUID[${this.effect.sourceItem.uuid}]{Irrationnalité Effrayante} Lancez: ${Math.ceil(CONFIG.Dice.randomUniform() * 10)}

` if (test.result.roll % 11 == 0 || test.result.roll == 100) { - msg += `

${this.actor.prototypeToken.name} also gained 1 Corruption Point. If mutating, this results in a @Table[mutatemental]{Mental Corruption}

` + msg += `

${this.actor.prototypeToken.name} reçoit également 1 Point de Corruption. Si il subit une mutation, il doit la déterminer sur la table des @Table[mutatemental]{Mutations Mentales}.

` let newCorruption = Number(this.actor.status.corruption.value) + 1 this.actor.update({"system.status.corruption.value" : newCorruption}) } diff --git a/scripts/lvjcddwRiN9iGruy.js b/scripts/lvjcddwRiN9iGruy.js index 1f4ca7b..7dc0a07 100644 --- a/scripts/lvjcddwRiN9iGruy.js +++ b/scripts/lvjcddwRiN9iGruy.js @@ -15,13 +15,13 @@ if (test.failed) let inline = `@ROLL` let msg = - `

${this.actor.prototypeToken.name} ages by ${inline.replace("@ROLL", ageAdded).replace("@TT", "2d10")} and loses

-

${inline.replace("@ROLL", ws).replace("@TT", "1d10")} Weapon Skill

-

${inline.replace("@ROLL", bs).replace("@TT", "1d10")} Ballistic Skill

-

${inline.replace("@ROLL", s).replace("@TT", "1d10")} Strength

-

${inline.replace("@ROLL", t).replace("@TT", "1d10")} Toughness

-

${inline.replace("@ROLL", ag).replace("@TT", "1d10")} Agility

-

${inline.replace("@ROLL", dex).replace("@TT", "1d10")} Dexterity

+ `

${this.actor.prototypeToken.name} vieilli de ${inline.replace("@ROLL", ageAdded).replace("@TT", "2d10")} et perd

+

${inline.replace("@ROLL", ws).replace("@TT", "1d10")} Capacité de Combat

+

${inline.replace("@ROLL", bs).replace("@TT", "1d10")} Capacité de Tir

+

${inline.replace("@ROLL", s).replace("@TT", "1d10")} Force

+

${inline.replace("@ROLL", t).replace("@TT", "1d10")} Endurance

+

${inline.replace("@ROLL", ag).replace("@TT", "1d10")} Agilité

+

${inline.replace("@ROLL", dex).replace("@TT", "1d10")} Dexterité

` this.script.scriptMessage(msg); diff --git a/scripts/mRvLsSVxNyt8LVZb.js b/scripts/mRvLsSVxNyt8LVZb.js index f68402d..130b10c 100644 --- a/scripts/mRvLsSVxNyt8LVZb.js +++ b/scripts/mRvLsSVxNyt8LVZb.js @@ -1,4 +1,4 @@ let item = await fromUuid("Compendium.wfrp4e-core.items.GRRN3XAKIpEVCY7z") let data = item.toObject(); -data.name += " (To Be Determined)" +data.name += " (A déterminer)" this.actor.createEmbeddedDocuments("Item", [data], {fromEffect : this.effect.id}) \ No newline at end of file diff --git a/scripts/mTnmPcjWmvScIBWY.js b/scripts/mTnmPcjWmvScIBWY.js index 14c7aaf..79cf5c7 100644 --- a/scripts/mTnmPcjWmvScIBWY.js +++ b/scripts/mTnmPcjWmvScIBWY.js @@ -1 +1 @@ -return args.skill?.name.includes("Channelling") || args.type == "channelling" \ No newline at end of file +return args.skill?.name.includes("Focalisation") || args.type == "channelling" \ No newline at end of file diff --git a/scripts/mr8qm5Bg6k1idZ6Q.js b/scripts/mr8qm5Bg6k1idZ6Q.js index c28b926..aedbb90 100644 --- a/scripts/mr8qm5Bg6k1idZ6Q.js +++ b/scripts/mr8qm5Bg6k1idZ6Q.js @@ -1 +1 @@ -return args.item?.name == "Play (Lute)" \ No newline at end of file +return args.item?.name == "Musicien (Luth)" \ No newline at end of file diff --git a/scripts/n5RJqJL9fdRIxkuN.js b/scripts/n5RJqJL9fdRIxkuN.js index 5fa0e06..8d0d11c 100644 --- a/scripts/n5RJqJL9fdRIxkuN.js +++ b/scripts/n5RJqJL9fdRIxkuN.js @@ -1,11 +1,11 @@ if (this.actor.system.status.advantage.value > 0) { await this.actor.modifyAdvantage(-1); - this.script.scriptNotification("Advantage Subtracted") + this.script.scriptNotification("Avantage soustrait") } else { - return this.script.scriptNotification("Not enough Advantage!", "error") + return this.script.scriptNotification("Pas assez d'Avantages!", "error") } let test = await this.actor.setupTrait(this.item) diff --git a/scripts/nD2QVg3DrPK3foMf.js b/scripts/nD2QVg3DrPK3foMf.js index 0101c82..7c32726 100644 --- a/scripts/nD2QVg3DrPK3foMf.js +++ b/scripts/nD2QVg3DrPK3foMf.js @@ -1,4 +1,4 @@ -args.actor.setupSkill("Dodge", { fields: { difficulty: "average" } }).then(async test => { +args.actor.setupSkill("Esquive", { fields: { difficulty: "average" } }).then(async test => { await test.roll(); if (test.failed) { await args.actor.addCondition("bleeding") diff --git a/scripts/nGTxNWBUBgTr87wU.js b/scripts/nGTxNWBUBgTr87wU.js index c078cd8..9c8d755 100644 --- a/scripts/nGTxNWBUBgTr87wU.js +++ b/scripts/nGTxNWBUBgTr87wU.js @@ -1,5 +1,5 @@ if (args.opposedTest.result.differenceSL >= 0 && args.opposedTest.result.differenceSL <= 2 && args.opposedTest.result.winner == "attacker") { - this.script.scriptMessage(`Becomes lodged in the armour or flesh of the opponent. See @UUID[${this.item.uuid}]{${this.item.name}}.`, speaker : {alias : this.item.name}, {blind: true, whisper : ChatMessage.getWhisperRecipients("GM")}) + this.script.scriptMessage(`Becomes lodged in the armour or flesh of the opponent. See @UUID[${this.item.uuid}]{${this.item.name}}.`, {alias : this.item.name}, {blind: true, whisper : ChatMessage.getWhisperRecipients("GM")}) } \ No newline at end of file diff --git a/scripts/naF5EWr1CBkYRZTK.js b/scripts/naF5EWr1CBkYRZTK.js index ecdafaa..7ea6e02 100644 --- a/scripts/naF5EWr1CBkYRZTK.js +++ b/scripts/naF5EWr1CBkYRZTK.js @@ -2,16 +2,16 @@ if (args.opposedTest?.attackerTest?.item?.system?.isRanged) { let choice = await Dialog.wait({ title: this.effect.name, - content: `

Abort damage with ${this.effect.name}?`, + content: `

Eviter les dégâts avec ${this.effect.name}?`, buttons: { yes: { - label: "Yes", + label: "Oui", callback: () => { return true; } }, no: { - label: "No", + label: "Non", callback: () => { return false; } @@ -21,6 +21,6 @@ if (args.opposedTest?.attackerTest?.item?.system?.isRanged) if (choice) { - args.abort = `${this.effect.name}: Damage cancelled` + args.abort = `${this.effect.name}: Dégâts annulés` } } \ No newline at end of file diff --git a/scripts/njPP9wDAsdh4WHIj.js b/scripts/njPP9wDAsdh4WHIj.js index be455e6..6fb1cd6 100644 --- a/scripts/njPP9wDAsdh4WHIj.js +++ b/scripts/njPP9wDAsdh4WHIj.js @@ -1,4 +1,4 @@ if (args.totalWoundLoss > 0 && ["trait", "weapon"].includes(args.opposedTest.attackerTest.item?.type)) { - this.script.scriptMessage(`Infected: ${args.actor.name} must pass an Easy (+40) Endurance Test or gain a @UUID[Compendium.wfrp4e-core.items.kKccDTGzWzSXCBOb]{Festering Wound}`, {whisper: ChatMessage.getWhisperRecipients("GM")}) + this.script.scriptMessage(`Infctée: ${args.actor.name} doit réussir un Test Facile (+40) de Résistance ou subir une @UUID[Compendium.wfrp4e-core.items.kKccDTGzWzSXCBOb]{Blessure Purulente}`, {whisper: ChatMessage.getWhisperRecipients("GM")}) } \ No newline at end of file diff --git a/scripts/nkbTnaeBpthyhw4J.js b/scripts/nkbTnaeBpthyhw4J.js index da73508..cf0a3c9 100644 --- a/scripts/nkbTnaeBpthyhw4J.js +++ b/scripts/nkbTnaeBpthyhw4J.js @@ -3,4 +3,4 @@ let current = this.actor.status.fortune.value this.actor.update({"system.status.fortune.value" : fortunePoints + current}) -this.script.scriptMessage(`${this.actor.prototypeToken.name} fortune points increased from ${current} to ${fortunePoints + current}`) \ No newline at end of file +this.script.scriptMessage(`${this.actor.prototypeToken.name} voit ses Points de Chance augmenter de ${current} à ${fortunePoints + current}`) \ No newline at end of file diff --git a/scripts/nkdKBJ8ItqWiRAWL.js b/scripts/nkdKBJ8ItqWiRAWL.js index da8ed4c..379d7c2 100644 --- a/scripts/nkdKBJ8ItqWiRAWL.js +++ b/scripts/nkdKBJ8ItqWiRAWL.js @@ -2,10 +2,8 @@ if (args.equipped) { this.actor.createEmbeddedDocuments("ActiveEffect", [this.item.effects.contents[1]?.convertToApplied()]) - this.script.scriptMessage(`${this.actor.name} dons the ${this.item.name}.
- They gain +50 to Swim Tests and can breathe underwater.
- If they wear the mask for more than an hour or benefit from any of its effects, they are exposed to @Corruption[moderate]{Moderate Corruption}. - `, + this.script.scriptMessage(`${this.actor.name} porte ${this.item.name}.
+ Il bénéficie de +50 aux Tests de Natation et peut respirer sous l'eau.
Si il porte le masque pendant plus d'une heure ou bénéficie de l'un de ses effets, il est exposé à une @Corruption[moderate]{Corruption Modérée}.`, {whisper: ChatMessage.getWhisperRecipients("GM")}) } @@ -14,7 +12,7 @@ else if (!args.equipped) { await this.item.effects.contents[0].delete(); await this.item.update({name : this.item.name += " (Used)"}) - this.script.scriptMessage(`${this.item.name} on ${this.actor.name} has been taken off and loses its properties. However, the effects last for [[1d10+4]] days, after which they should be manually removed.`, + this.script.scriptMessage(`${this.item.name} porté par ${this.actor.name} a été enlevé et a perdu ses propriétés. Cependant, ses effets perdurent pendant [[1d10+4]] jours, après quoi il faudra les supprimer manuellement.`, {whisper: ChatMessage.getWhisperRecipients("GM")} ) diff --git a/scripts/o88xuUConwt0vFLw.js b/scripts/o88xuUConwt0vFLw.js index ae9e06f..0eb9a59 100644 --- a/scripts/o88xuUConwt0vFLw.js +++ b/scripts/o88xuUConwt0vFLw.js @@ -2,4 +2,4 @@ let points = this.effect.sourceTest.result.overcast.usage.other.current; this.actor.update({"system.status.fortune.value" : this.actor.system.status.fortune.value + points}); -this.script.scriptMessage(`Gained ${points} Fortune Points`) \ No newline at end of file +this.script.scriptMessage(`Gagne ${points} Points de Chance`) \ No newline at end of file diff --git a/scripts/oDNfCNyt5KaUYmg2.js b/scripts/oDNfCNyt5KaUYmg2.js index 7efcdf8..a622328 100644 --- a/scripts/oDNfCNyt5KaUYmg2.js +++ b/scripts/oDNfCNyt5KaUYmg2.js @@ -1,10 +1,10 @@ if(args.opposedTest.result.winner == "defender") { let roll = Math.ceil(CONFIG.Dice.randomUniform() * 10) - let msg = `Rolled ${roll}.` + let msg = `Résultat ${roll}.` if (roll >= 7) { - msg = `Attack hits with an SL of ${roll - 6}.` + msg = `L'attaque touche avec un DR de ${roll - 6}.` } this.script.scriptMessage(msg, {blind: true, whisper : ChatMessage.getWhisperRecipients("GM")}) } \ No newline at end of file diff --git a/scripts/obIXhQXKFyyQoNNV.js b/scripts/obIXhQXKFyyQoNNV.js index 2df4ad3..a580ad1 100644 --- a/scripts/obIXhQXKFyyQoNNV.js +++ b/scripts/obIXhQXKFyyQoNNV.js @@ -2,6 +2,6 @@ this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {appendTitle: ` - ${this. await test.roll() if (test.failed) { this.actor.modifyWounds(-1); - this.script.scriptMessage("Takes 1 Damage") + this.script.scriptMessage("Subit 1 Dégat") } }) \ No newline at end of file