Compare commits

...

17 Commits

Author SHA1 Message Date
941fd93cb1 Fix Lore of Heavens 2024-11-10 22:13:54 +01:00
4c25ded406 Fix missing bracket in rnhd table name 2024-11-10 22:12:24 +01:00
d019c8fe22 Integrate various fixed from Pallando 2024-11-10 22:08:15 +01:00
e3247a5a92 Merge pull request 'Add missing witchcraft spells and common folder names' (#106) from pallando/foundryvtt-wh4-lang-fr-fr:missing into v10
Reviewed-on: #106
2024-11-10 22:02:16 +01:00
42295f71cb Merge pull request 'Additions' (#107) from pallando/foundryvtt-wh4-lang-fr-fr:additions into v10
Reviewed-on: #107
2024-11-10 22:02:07 +01:00
e7722dd222 Add translation converters for Imperial Zoo items 2024-11-10 14:32:30 +01:00
513e41b8f2 Convert disease incubation/duration for Lustria and OWB2 2024-11-10 14:26:37 +01:00
46b47a5b24 Add converter for disease incubation/duration units 2024-11-10 14:25:36 +01:00
e1e52ca2be Add translation converters for Old World Bundle 2 items 2024-11-10 13:41:04 +01:00
a7c848a30d Remove useless necromancy folder from wom items 2024-11-10 13:29:02 +01:00
f0248692cc Add translation converters for Archives vol. 3 items 2024-11-10 13:20:15 +01:00
682b62c2e0 Add translation converters for Lustria items 2024-11-10 13:15:12 +01:00
3978fab79a Add translation converters for Salzenmund items 2024-11-10 13:11:32 +01:00
64be1078e1 Fix babele-register.js for subskills when core is not first compendium checked 2024-11-10 13:00:39 +01:00
925c2721a9 Add folder names from translated compendiums to SoC, WoM and UiA 2024-11-10 12:55:26 +01:00
97d9d5d8fa Add missing witchcraft spells to core items 2024-11-10 12:50:37 +01:00
77cc368a7e Fix old script library 2024-10-25 11:14:29 +02:00
71 changed files with 680 additions and 146 deletions

View File

@ -0,0 +1,91 @@
{
"label": "Items (Archives Vol. III)",
"folders": {
"Armour": "Armures",
"Careers": "Carrières",
"Skills": "Compétences",
"Spells": "Sorts"
},
"mapping": {
"description": "system.description.value",
"trappings": "system.trappings",
"class": {
"path": "system.class.value",
"converter": "generic_localization"
},
"skills": {
"path": "system.skills",
"converter": "career_skills"
},
"careergroup": {
"path": "system.careergroup.value",
"converter": "career_careergroup"
},
"talents": {
"path": "system.talents",
"converter": "career_talents"
},
"pduration": {
"path": "system.duration.value",
"converter": "spells_duration_range_target_damage"
},
"prange": {
"path": "system.range.value",
"converter": "spells_duration_range_target_damage"
},
"ptarget": {
"path": "system.target.value",
"converter": "spells_duration_range_target_damage"
},
"pdamage": {
"path": "system.damage.value",
"converter": "spells_duration_range_target_damage"
},
"test": {
"path": "system.test",
"converter": "role_skills"
},
"tests": "system.tests.value",
"maxcost": {
"path": "system.cost.max",
"converter": "spells_duration_range_target_damage"
},
"sduration": {
"path": "system.duration.value",
"converter": "spells_duration_range_target_damage"
},
"srange": {
"path": "system.range.value",
"converter": "spells_duration_range_target_damage"
},
"starget": {
"path": "system.target.value",
"converter": "spells_duration_range_target_damage"
},
"sdamage": {
"path": "system.damage.value",
"converter": "spells_duration_range_target_damage"
},
"penalty": "system.penalty.value",
"location": {
"path": "system.location.value",
"converter": "generic_localization"
},
"durationValue": "system.duration.value",
"durationUnit": "system.duration.unit",
"contraction": "system.contraction.value",
"incubationValue": "system.incubation.value",
"incubationUnit": "system.incubation.unit",
"symptoms": "system.symptoms.value",
"permanent": "system.permanent.value",
"special": "system.special.value",
"qualities": {
"path": "system.qualities.value",
"converter": "trapping_qualities_flaws"
},
"flaws": {
"path": "system.flaws.value",
"converter": "trapping_qualities_flaws"
}
}
}

View File

@ -1525,7 +1525,7 @@
},
{
"description": "<p style=\"text-align: justify:\">Votre main est méchamment coupée, ce qui rend votre prise glissante. Recevez 1 État @Condition[Hémorragique]. Tant que vous êtes sous leffet de cet État, effectuez un Test de <strong>Dextérité Accessible (+20)</strong> avant deffectuer une action qui nécessite que vous teniez quoi que ce soit dans cette main ; sur un échec, lobjet vous glisse de la main.</p>",
"id": "Bleeding hand",
"id": "Bleeding Hand",
"name": "Main ensanglantée"
},
{
@ -2825,7 +2825,7 @@
},
{
"description": "<p>Vous êtes entraîné à vous placer très près dun adversaire. Vous ne subissez aucune pénalité pour vous battre contre un adversaire avec une arme plus longue que la vôtre. De plus, si vous utilisez les règles optionnelles de Combat au contact (voir page 297), gagnez un bonus de +10 pour toucher votre adversaire.</p>",
"id": "Infighter",
"id": "InFighter",
"name": "Combattant au contact",
"tests": "Corps à corps quand vous combattez au contact ou que vous allez au contact"
},
@ -3798,6 +3798,11 @@
"id": "Bolt (Shadow)",
"name": "Carreau (Ombres)"
},
{
"description": "<p>Vous concentrez la magie en un carreau destructeur. <em>Carreau</em> est un <em>Projectile magique</em> avec Dégât +4.</p>",
"id": "Bolt (Witchcraft)",
"name": "Carreau (Sorcellerie)"
},
{
"description": "<p>Vous effectuez immédiatement une attaque de Souffle, comme si vous aviez dépensé 2 Avantages pour activer le Trait de créature @Compendium[wfrp4e-core.items.uqGxFOEqeurwkAO3]{Souffle}. Souffle est un <em>Projectile magique</em> dont les Dégâts sont égaux à votre Bonus d'Endurance. Le MJ détermine quel type d'attaque de Souffle correspond le mieux à votre Talent Magie des Arcanes.</p>",
"id": "Breath",
@ -3918,6 +3923,11 @@
"id": "Bridge (Shadow)",
"name": "Pont (Ombres)"
},
{
"description": "<p>Vous créez un pont d'énergie magique, d'une longueur et d'une largeur maximales en mètres égales à votre Bonus de Force Mentale. Pour chaque +2 DR, vous pouvez augmenter la longueur ou la largeur d'un nombre de mètres égal à votre Bonus de Force Mentale.</p>",
"id": "Bridge (Witchcraft)",
"name": "Pont (Sorcellerie)"
},
{
"description": "<p>La magie qui afflue dans vos pieds s'assure que les matières organiques sur lesquelles vous marchez ne soient pas endommagées : les brindilles ne cassent pas, l'herbe revient à sa position d'origine, et même les fleurs délicates ne sont pas abîmées. Ceux qui cherchent à utiliser la Compétence @Compendium[wfrp4e-core.items.rt2rGSwFDCDHPh0A] pour vous suivre à travers un terrain rural subissent une pénalité de -30 à leurs Tests.</p>",
"id": "Careful Step",
@ -4323,6 +4333,11 @@
"id": "Dome (Shadow)",
"name": "Dôme (Ombres)"
},
{
"description": "<p>Vous créez un dôme d'énergie magique au-dessus des têtes, bloquant les attaques de l'extérieur. Quiconque se trouve dans la Zone d'Effet gagne le Trait de créature @Compendium[wfrp4e-core.items.Bvd2aZ0gQUXHfCTh]{Protection(+6)} contre les Attaques magiques ou à distances provenant de l'extérieur du dôme. Les personnes à l'intérieur peuvent attaquer des cibles situées à l'extérieur du dôme normalement, et le dôme ne gêne pas le déplacement",
"id": "Dome (Witchcraft)",
"name": "Dôme (Sorcellerie)"
},
{
"description": "<p>Vous tissez un masque et une cape d'<em>Ulgu</em> autour de votre silhouette, adoptant l'apparence d'une autre créature humanoïde avec laquelle vous êtes familier (comme déterminé par le MJ). Votre apparence trompe quiconque ne possède pas le Talent <em>@Compendium[wfrp4e-core.items.OEjUvJKi0xmBwbS2]</em>, bien que certains puissent le remarquer si vos manières sont incorrectes. Ceux possédant ce Talent doivent réussir un Test de <strong>Perception Complexe (-10)</strong> pour remarquer que vous camouflez votre silhouette. Cela ne leur permet pas de voir à travers le Sort. Pour ce faire, ils doivent le dissiper.</p>",
"id": "Doppelganger",
@ -4783,6 +4798,11 @@
"id": "Magic Shield (Shadow)",
"name": "Bouclier magique (Ombres)"
},
{
"description": "<p>Vous vous entourez d'une bande de magie protectrice. Tant que le Sort est actif, ajoutez +(Bonus de Force Mentale) DR quand vous tentez de dissiper un Sort.</p>",
"id": "Magic Shield (Witchcraft)",
"name": "Bouclier magique (Sorcellerie)"
},
{
"description": "<p>Vous focalisez les relents de <em>Dhar</em>, provoquant une brève déchirure dans la réalité. Un Démon Mineur apparaît immédiatement par cette déchirure (référez-vous à la page 335 pour y trouver deux exemples : @Compendium[wfrp4e-core.bestiary.KZkuwdOYmE3nwB2n] et @Compendium[wfrp4e-core.bestiary.8gG2Wim6wAlJWRax]. Un Démon Mineur apparaît immédiatement par cette déchirure. Effectuez un Test Opposé de <strong>Focalisation (Dhar)/Force Mentale</strong> avec le démon. Sur un succès, ce dernier répondra favorablement à un ordre que vous lui donnerez, littéralement, avant de disparaître (en partant du principe qu'il puisse accomplir ce que vous lui avez demandé avant la fin du Sort). Sur un échec, le démon attaque sur le champ.</p>",
"id": "Manifest Lesser Daemon",
@ -5068,6 +5088,11 @@
"id": "Push (Shadow)",
"name": "Poussée (Ombres)"
},
{
"description": "<p>Toutes les créatures situées à une distance en mètres égale à votre Bonus de Force Mentale sont repoussées d'un nombre de mètres égal à votre Bonus de Force Mentale et gagnent l'État <em>@Condition[A Terre]{À Terre}</em>.Si cela les amène à entrer en contact avec un mur ou un autre grand obstacle, elles subissent un nombre de Dégâts égal à la distance parcourue en mètres. Pour chaque +2 DR, vous pouvez repousser les créatures d'un nombre de mètres supplémentaires égal à votre Bonus de Force Mentale.</p>",
"id": "Push (Witchcraft)",
"name": "Poussée (Sorcellerie)"
},
{
"description": "<p>Vous focalisez un important flux de <em>Dhar</em> directement vers le sol, faisant se rassembler et sortir de vieux os. DR+1 Squelettes sortiront ainsi du sol dans la zone d'effet que vous aurez choisie avant la fin du round. Il subissent tous l'État <em>@Condition[A Terre]{À Terre}</em>. Ces morts-vivants sont sous votre contrôle et sont capables d'exécuter les ordres simples que vous leur donnerez. Si vous êtes tué où que vous subissez l'État <em>@Condition[Inconscient]</em>, le Sort s'achève et les morts-vivants s'écroulent. Pour chaque DR+2 que vous obtenez, vous pouvez invoquer DR Squelettes supplémentaires.</p>",
"id": "Raise Dead",
@ -9358,11 +9383,11 @@
"Food and Drink": "Nourriture et Boissons",
"Herbs and Draughts": "Herbes et Décoctions",
"Injuries": "Blessures",
"Lore of Bests": "Domaine des Bêtes",
"Lore of Beasts": "Domaine des Bêtes",
"Lore of Daemonology": "Démonologie",
"Lore of Death": "Domaine de la mort",
"Lore of Death": "Domaine de la Mort",
"Lore of Fire": "Domaine du Feu",
"Lore of Heaven": "Domaine des Cieux",
"Lore of Heavens": "Domaine des Cieux",
"Lore of Hedgecraft": "Magie des Haies",
"Lore of Life": "Domaine de la Vie",
"Lore of Light": "Domaine de la Lumière",

View File

@ -0,0 +1,94 @@
{
"label": "Items (Lustria)",
"folders": {
"Careers": "Carrières",
"Spells": "Sorts",
"Trappings": "Possessions",
"Weapons": "Armes"
},
"mapping": {
"description": "system.description.value",
"trappings": "system.trappings",
"class": {
"path": "system.class.value",
"converter": "generic_localization"
},
"skills": {
"path": "system.skills",
"converter": "career_skills"
},
"modType": "system.modType.value",
"careergroup": {
"path": "system.careergroup.value",
"converter": "career_careergroup"
},
"talents": {
"path": "system.talents",
"converter": "career_talents"
},
"pduration": {
"path": "system.duration.value",
"converter": "spells_duration_range_target_damage"
},
"prange": {
"path": "system.range.value",
"converter": "spells_duration_range_target_damage"
},
"ptarget": {
"path": "system.target.value",
"converter": "spells_duration_range_target_damage"
},
"pdamage": {
"path": "system.damage.value",
"converter": "spells_duration_range_target_damage"
},
"test": {
"path": "system.test",
"converter": "role_skills"
},
"tests": "system.tests.value",
"sduration": {
"path": "system.duration.value",
"converter": "spells_duration_range_target_damage"
},
"srange": {
"path": "system.range.value",
"converter": "spells_duration_range_target_damage"
},
"starget": {
"path": "system.target.value",
"converter": "spells_duration_range_target_damage"
},
"sdamage": {
"path": "system.damage.value",
"converter": "spells_duration_range_target_damage"
},
"penalty": "system.penalty.value",
"location": {
"path": "system.location.value",
"converter": "generic_localization"
},
"durationValue": "system.duration.value",
"durationUnit": {
"path": "system.duration.unit",
"converter": "disease_duration_unit"
},
"contraction": "system.contraction.value",
"incubationValue": "system.incubation.value",
"incubationUnit": {
"path": "system.incubation.unit",
"converter": "disease_duration_unit"
},
"symptoms": "system.symptoms.value",
"permanent": "system.permanent.value",
"special": "system.special.value",
"qualities": {
"path": "system.qualities.value",
"converter": "trapping_qualities_flaws"
},
"flaws": {
"path": "system.flaws.value",
"converter": "trapping_qualities_flaws"
}
}
}

View File

@ -0,0 +1,103 @@
{
"label": "Items (Old World Bundle II)",
"folders": {
"Lore of the Beasts": "Domaine des Bêtes",
"Lore of Death": "Domaine de la Mort",
"Lore of Fire": "Domaine du Feu",
"Lore of Heavens": "Domaine des Cieux",
"Lore of Hedgecraft": "Magie des Haies",
"Lore of Life": "Domaine de la Vie",
"Lore of Light": "Domaine de la Lumière",
"Lore of Metal": "Domaine du Métal",
"Lore of Shadows": "Domaine des Ombres",
"Lore of Witchcraft": "Sorcellerie"
},
"mapping": {
"description": "system.description.value",
"trappings": "system.trappings",
"class": {
"path": "system.class.value",
"converter": "generic_localization"
},
"skills": {
"path": "system.skills",
"converter": "career_skills"
},
"careergroup": {
"path": "system.careergroup.value",
"converter": "career_careergroup"
},
"talents": {
"path": "system.talents",
"converter": "career_talents"
},
"pduration": {
"path": "system.duration.value",
"converter": "spells_duration_range_target_damage"
},
"prange": {
"path": "system.range.value",
"converter": "spells_duration_range_target_damage"
},
"ptarget": {
"path": "system.target.value",
"converter": "spells_duration_range_target_damage"
},
"pdamage": {
"path": "system.damage.value",
"converter": "spells_duration_range_target_damage"
},
"test": {
"path": "system.test",
"converter": "role_skills"
},
"tests": "system.tests.value",
"maxcost": {
"path": "system.cost.max",
"converter": "spells_duration_range_target_damage"
},
"sduration": {
"path": "system.duration.value",
"converter": "spells_duration_range_target_damage"
},
"srange": {
"path": "system.range.value",
"converter": "spells_duration_range_target_damage"
},
"starget": {
"path": "system.target.value",
"converter": "spells_duration_range_target_damage"
},
"sdamage": {
"path": "system.damage.value",
"converter": "spells_duration_range_target_damage"
},
"penalty": "system.penalty.value",
"location": {
"path": "system.location.value",
"converter": "generic_localization"
},
"durationValue": "system.duration.value",
"durationUnit": {
"path": "system.duration.unit",
"converter": "disease_duration_unit"
},
"contraction": "system.contraction.value",
"incubationValue": "system.incubation.value",
"incubationUnit": {
"path": "system.incubation.unit",
"converter": "disease_duration_unit"
},
"symptoms": "system.symptoms.value",
"permanent": "system.permanent.value",
"special": "system.special.value",
"qualities": {
"path": "system.qualities.value",
"converter": "trapping_qualities_flaws"
},
"flaws": {
"path": "system.flaws.value",
"converter": "trapping_qualities_flaws"
}
}
}

View File

@ -1,19 +1,19 @@
{
"label": "Tables (Nuits agitées et dures journées)",
"label": "Tables (Nuits agitées et dures journées)",
"mapping": {
"results": {
"path": "results",
"converter": "resultConverter"
}
},
"entries": [
{
"id": "Career - Gnome",
"name": "Carrières - Gnome"
},
{
"id": "Eye Colour - Gnome",
"name": "Couleur des Yeux - Gnome",
"entries": [
{
"id": "Career - Gnome",
"name": "Carrières - Gnome"
},
{
"id": "Eye Colour - Gnome",
"name": "Couleur des Yeux - Gnome",
"results": {
"2-2": "Bleu clair",
"3-3": "Bleu",
@ -26,10 +26,10 @@
"19-19": "Marron foncé",
"20-20": "Violet"
}
},
{
"id": "Hair Colour - Gnome",
"name": "Couleur des Cheveux - Gnome",
},
{
"id": "Hair Colour - Gnome",
"name": "Couleur des Cheveux - Gnome",
"results": {
"2-2": "Noir",
"3-3": "Marron Foncé",
@ -42,10 +42,10 @@
"19-19": "Blond cendré",
"20-20": "Blanc"
}
},
{
"id": "Species (Rough Nights & Hard Days)",
"name": "Espèces (Nuits Agitées & Dures Journées",
},
{
"id": "Species (Rough Nights & Hard Days)",
"name": "Espèces (Nuits Agitées & Dures Journées)",
"results": {
"1-89": "Humain",
"90-93":"Halfling",
@ -53,7 +53,7 @@
"98-98": "Gnome",
"99-99": "Haut Elfe",
"100-100": "Elfe Sylvain"
}
}
}
]
}
]
}

View File

@ -0,0 +1,89 @@
{
"label": "Items (Salzenmund)",
"mapping": {
"effects": {
"converter": "process_effects",
"path": "effects"
},
"careergroup": {
"converter": "career_careergroup",
"path": "system.careergroup.value"
},
"class": {
"converter": "generic_localization",
"path": "system.class.value"
},
"contraction": "system.contraction.value",
"description": "system.description.value",
"durationUnit": "system.duration.unit",
"durationValue": "system.duration.value",
"flaws": {
"converter": "trapping_qualities_flaws",
"path": "system.flaws.value"
},
"incubationUnit": "system.incubation.unit",
"incubationValue": "system.incubation.value",
"location": {
"converter": "generic_localization",
"path": "system.location.value"
},
"modifier": {
"converter": "mutations_modifier",
"path": "system.modifier.value"
},
"mutationType": {
"converter": "generic_localization",
"path": "system.mutationType.value"
},
"pdamage": {
"converter": "spells_duration_range_target_damage",
"path": "system.damage.value"
},
"pduration": {
"converter": "spells_duration_range_target_damage",
"path": "system.duration.value"
},
"penalty": "system.penalty.value",
"permanent": "system.permanent.value",
"prange": {
"converter": "spells_duration_range_target_damage",
"path": "system.range.value"
},
"ptarget": {
"converter": "spells_duration_range_target_damage",
"path": "system.target.value"
},
"qualities": {
"converter": "trapping_qualities_flaws",
"path": "system.qualities.value"
},
"sdamage": {
"converter": "spells_duration_range_target_damage",
"path": "system.damage.value"
},
"sduration": {
"converter": "spells_duration_range_target_damage",
"path": "system.duration.value"
},
"skills": {
"converter": "career_skills",
"path": "system.skills"
},
"special": "system.special.value",
"srange": {
"converter": "spells_duration_range_target_damage",
"path": "system.range.value"
},
"starget": {
"converter": "spells_duration_range_target_damage",
"path": "system.target.value"
},
"symptoms": "system.symptoms.value",
"talents": {
"converter": "career_talents",
"path": "system.talents"
},
"tests": "system.tests.value",
"trappings": "system.trappings"
}
}

View File

@ -1,5 +1,15 @@
{
"label": "Items (Sea of Claws)",
"folders": {
"Ammunition": "Munitions",
"Careers": "Carrières",
"Criticals": "Critiques",
"Diseases": "Maladies",
"Skills": "Compétences",
"Spells": "Sorts",
"Trappings": "Possessions",
"Weapons": "Armes"
},
"mapping": {
"description": "system.description.value",
"trappings": "system.trappings",
@ -11,6 +21,7 @@
"path": "system.skills",
"converter": "career_skills"
},
"modType": "system.modType.value",
"careergroup": {
"path": "system.careergroup.value",
"converter": "career_careergroup"
@ -78,4 +89,4 @@
"converter": "trapping_qualities_flaws"
}
}
}
}

View File

@ -1,5 +1,15 @@
{
"label": "Items (Up In Arms)",
"folders": {
"Ammunition": "Munitions",
"Careers": "Carrières",
"Criticals": "Critiques",
"Prayers": "Prières",
"Skills": "Compétences",
"Spells": "Sorts",
"Trappings": "Possessions",
"Weapons": "Armes"
},
"mapping": {
"skills": {
"path": "system.skills",

View File

@ -1,5 +1,22 @@
{
"label": "Items (Winds of Magic)",
"folders": {
"Ammunition": "Munitions",
"Armour": "Armures",
"Careers": "Carrières",
"Lore of Beasts": "Domaine des Bêtes",
"Lore of Death": "Domaine de la Mort",
"Lore of Fire": "Domaine du Feu",
"Lore of Heavens": "Domaine des Cieux",
"Lore of Life": "Domaine de la Vie",
"Lore of Light": "Domaine de la Lumière",
"Lore of Metal": "Domaine du Métal",
"Lore of Shadow": "Domaine des Ombres",
"Skills": "Compétences",
"Spells": "Sorts",
"Trappings": "Possessions",
"Weapons": "Armes"
},
"mapping": {
"description": "system.description.value",
"trappings": "system.trappings",

View File

@ -0,0 +1,95 @@
{
"label": "Items (Imperial Zoo)",
"folders": {
"Ammunition": "Munitions",
"Careers": "Carrières",
"Prayers": "Prières",
"Trappings": "Possessions",
"Weapons": "Armes"
},
"mapping": {
"description": "system.description.value",
"trappings": "system.trappings",
"class": {
"path": "system.class.value",
"converter": "generic_localization"
},
"skills": {
"path": "system.skills",
"converter": "career_skills"
},
"modType": "system.modType.value",
"careergroup": {
"path": "system.careergroup.value",
"converter": "career_careergroup"
},
"talents": {
"path": "system.talents",
"converter": "career_talents"
},
"pduration": {
"path": "system.duration.value",
"converter": "spells_duration_range_target_damage"
},
"prange": {
"path": "system.range.value",
"converter": "spells_duration_range_target_damage"
},
"ptarget": {
"path": "system.target.value",
"converter": "spells_duration_range_target_damage"
},
"pdamage": {
"path": "system.damage.value",
"converter": "spells_duration_range_target_damage"
},
"test": {
"path": "system.test",
"converter": "role_skills"
},
"tests": "system.tests.value",
"sduration": {
"path": "system.duration.value",
"converter": "spells_duration_range_target_damage"
},
"srange": {
"path": "system.range.value",
"converter": "spells_duration_range_target_damage"
},
"starget": {
"path": "system.target.value",
"converter": "spells_duration_range_target_damage"
},
"sdamage": {
"path": "system.damage.value",
"converter": "spells_duration_range_target_damage"
},
"penalty": "system.penalty.value",
"location": {
"path": "system.location.value",
"converter": "generic_localization"
},
"durationValue": "system.duration.value",
"durationUnit": {
"path": "system.duration.unit",
"converter": "disease_duration_unit"
},
"contraction": "system.contraction.value",
"incubationValue": "system.incubation.value",
"incubationUnit": {
"path": "system.incubation.unit",
"converter": "disease_duration_unit"
},
"symptoms": "system.symptoms.value",
"permanent": "system.permanent.value",
"special": "system.special.value",
"qualities": {
"path": "system.qualities.value",
"converter": "trapping_qualities_flaws"
},
"flaws": {
"path": "system.flaws.value",
"converter": "trapping_qualities_flaws"
}
}
}

View File

@ -8,7 +8,7 @@
}
],
"url": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr",
"version": "8.2.1",
"version": "8.2.3",
"esmodules": [
"modules/babele-register.js",
"modules/addon-register.js",
@ -117,10 +117,10 @@
}
],
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/raw/v10/module.json",
"download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-8.2.1.zip",
"download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-8.2.3.zip",
"id": "wh4-fr-translation",
"compatibility": {
"minimum": "12",
"minimum": "11",
"verified": "12"
},
"relationships": {

View File

@ -257,8 +257,12 @@ Hooks.once('init', () => {
s1 = res[1].trim() + " ( )";
translItem = game.babele.translate(compData.metadata.id, { name: s1, type: "skill" }, true)
translw = translItem?.name || undefined
let res2 = re.exec(translw);
transl = res2[1] + "(" + subword + ")";
if(translw) {
let res2 = re.exec(translw);
transl = res2[1] + "(" + subword + ")";
} else {
transl = res[1] + " (" + subword + ")";
}
}
}
}
@ -658,6 +662,10 @@ Hooks.once('init', () => {
// Auto-translate duration
"spells_duration_range_target_damage": (value) => {
return WFRP4FrTranslation.processSpellContent(value);
},
// Auto-translate disease duration units
"disease_duration_unit": (unit) => {
return game.i18n.localize(unit).capitalize();
}
});
}

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
MANIFEST-000856
MANIFEST-000885

View File

@ -1,7 +1,7 @@
2024/10/18-18:13:47.044529 7f84f82006c0 Recovering log #854
2024/10/18-18:13:47.054801 7f84f82006c0 Delete type=3 #852
2024/10/18-18:13:47.054895 7f84f82006c0 Delete type=0 #854
2024/10/18-18:21:20.233601 7f84f64006c0 Level-0 table #859: started
2024/10/18-18:21:20.233644 7f84f64006c0 Level-0 table #859: 0 bytes OK
2024/10/18-18:21:20.240532 7f84f64006c0 Delete type=0 #857
2024/10/18-18:21:20.255441 7f84f64006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal.pages!suuYN87Al1ZZWtQQ.jhgNnhWhrkOpKs1B' @ 0 : 0; will stop at (end)
2024/11/10-21:59:37.190271 7f26da0006c0 Recovering log #883
2024/11/10-21:59:37.200556 7f26da0006c0 Delete type=3 #881
2024/11/10-21:59:37.200692 7f26da0006c0 Delete type=0 #883
2024/11/10-22:07:57.811358 7f26d3e006c0 Level-0 table #888: started
2024/11/10-22:07:57.811389 7f26d3e006c0 Level-0 table #888: 0 bytes OK
2024/11/10-22:07:57.818109 7f26d3e006c0 Delete type=0 #886
2024/11/10-22:07:57.840218 7f26d3e006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal.pages!suuYN87Al1ZZWtQQ.jhgNnhWhrkOpKs1B' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2024/10/13-10:15:10.833255 7f4ae56006c0 Recovering log #850
2024/10/13-10:15:10.843913 7f4ae56006c0 Delete type=3 #848
2024/10/13-10:15:10.844060 7f4ae56006c0 Delete type=0 #850
2024/10/13-10:17:29.386405 7f4ae28006c0 Level-0 table #855: started
2024/10/13-10:17:29.386456 7f4ae28006c0 Level-0 table #855: 0 bytes OK
2024/10/13-10:17:29.392764 7f4ae28006c0 Delete type=0 #853
2024/10/13-10:17:29.392939 7f4ae28006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal.pages!suuYN87Al1ZZWtQQ.jhgNnhWhrkOpKs1B' @ 0 : 0; will stop at (end)
2024/11/02-20:31:20.318371 7fd41ce006c0 Recovering log #879
2024/11/02-20:31:20.328946 7fd41ce006c0 Delete type=3 #877
2024/11/02-20:31:20.329049 7fd41ce006c0 Delete type=0 #879
2024/11/02-20:46:37.809812 7fd415a006c0 Level-0 table #884: started
2024/11/02-20:46:37.809834 7fd415a006c0 Level-0 table #884: 0 bytes OK
2024/11/02-20:46:37.816862 7fd415a006c0 Delete type=0 #882
2024/11/02-20:46:37.831057 7fd415a006c0 Manual compaction at level-0 from '!journal!3IgmiprzLB6Lwenc' @ 72057594037927935 : 1 .. '!journal.pages!suuYN87Al1ZZWtQQ.jhgNnhWhrkOpKs1B' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000858
MANIFEST-000887

View File

@ -1,7 +1,7 @@
2024/10/18-18:13:47.059680 7f84f8c006c0 Recovering log #856
2024/10/18-18:13:47.069621 7f84f8c006c0 Delete type=3 #854
2024/10/18-18:13:47.069738 7f84f8c006c0 Delete type=0 #856
2024/10/18-18:21:20.247704 7f84f64006c0 Level-0 table #861: started
2024/10/18-18:21:20.247743 7f84f64006c0 Level-0 table #861: 0 bytes OK
2024/10/18-18:21:20.255126 7f84f64006c0 Delete type=0 #859
2024/10/18-18:21:20.255506 7f84f64006c0 Manual compaction at level-0 from '!folders!3uquYH73ttCdoH0I' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)
2024/11/10-21:59:37.205268 7f26db4006c0 Recovering log #885
2024/11/10-21:59:37.215166 7f26db4006c0 Delete type=3 #883
2024/11/10-21:59:37.215219 7f26db4006c0 Delete type=0 #885
2024/11/10-22:07:57.818257 7f26d3e006c0 Level-0 table #890: started
2024/11/10-22:07:57.818290 7f26d3e006c0 Level-0 table #890: 0 bytes OK
2024/11/10-22:07:57.825454 7f26d3e006c0 Delete type=0 #888
2024/11/10-22:07:57.840246 7f26d3e006c0 Manual compaction at level-0 from '!folders!3uquYH73ttCdoH0I' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2024/10/13-10:15:10.848652 7f4ae4c006c0 Recovering log #852
2024/10/13-10:15:10.859932 7f4ae4c006c0 Delete type=3 #850
2024/10/13-10:15:10.860057 7f4ae4c006c0 Delete type=0 #852
2024/10/13-10:17:29.394222 7f4ae28006c0 Level-0 table #857: started
2024/10/13-10:17:29.394285 7f4ae28006c0 Level-0 table #857: 0 bytes OK
2024/10/13-10:17:29.400389 7f4ae28006c0 Delete type=0 #855
2024/10/13-10:17:29.400639 7f4ae28006c0 Manual compaction at level-0 from '!folders!3uquYH73ttCdoH0I' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)
2024/11/02-20:31:20.333337 7fd416a006c0 Recovering log #881
2024/11/02-20:31:20.344094 7fd416a006c0 Delete type=3 #879
2024/11/02-20:31:20.344188 7fd416a006c0 Delete type=0 #881
2024/11/02-20:46:37.816966 7fd415a006c0 Level-0 table #886: started
2024/11/02-20:46:37.816994 7fd415a006c0 Level-0 table #886: 0 bytes OK
2024/11/02-20:46:37.823114 7fd415a006c0 Delete type=0 #884
2024/11/02-20:46:37.831072 7fd415a006c0 Manual compaction at level-0 from '!folders!3uquYH73ttCdoH0I' @ 72057594037927935 : 1 .. '!items!ylFhk7mGZOnAJTUT' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000856
MANIFEST-000885

View File

@ -1,7 +1,7 @@
2024/10/18-18:13:47.092813 7f84f8c006c0 Recovering log #854
2024/10/18-18:13:47.103058 7f84f8c006c0 Delete type=3 #852
2024/10/18-18:13:47.103152 7f84f8c006c0 Delete type=0 #854
2024/10/18-18:21:20.255597 7f84f64006c0 Level-0 table #859: started
2024/10/18-18:21:20.255672 7f84f64006c0 Level-0 table #859: 0 bytes OK
2024/10/18-18:21:20.263027 7f84f64006c0 Delete type=0 #857
2024/10/18-18:21:20.291487 7f84f64006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal.pages!cZtNgayIw2QFhC9u.ts265H1XkisLgdow' @ 0 : 0; will stop at (end)
2024/11/10-21:59:37.234866 7f26d96006c0 Recovering log #883
2024/11/10-21:59:37.244543 7f26d96006c0 Delete type=3 #881
2024/11/10-21:59:37.244603 7f26d96006c0 Delete type=0 #883
2024/11/10-22:07:57.833130 7f26d3e006c0 Level-0 table #888: started
2024/11/10-22:07:57.833158 7f26d3e006c0 Level-0 table #888: 0 bytes OK
2024/11/10-22:07:57.839946 7f26d3e006c0 Delete type=0 #886
2024/11/10-22:07:57.840275 7f26d3e006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal.pages!cZtNgayIw2QFhC9u.ts265H1XkisLgdow' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2024/10/13-10:15:10.881019 7f4ae38006c0 Recovering log #850
2024/10/13-10:15:10.891271 7f4ae38006c0 Delete type=3 #848
2024/10/13-10:15:10.891371 7f4ae38006c0 Delete type=0 #850
2024/10/13-10:17:29.409477 7f4ae28006c0 Level-0 table #855: started
2024/10/13-10:17:29.409555 7f4ae28006c0 Level-0 table #855: 0 bytes OK
2024/10/13-10:17:29.416471 7f4ae28006c0 Delete type=0 #853
2024/10/13-10:17:29.416760 7f4ae28006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal.pages!cZtNgayIw2QFhC9u.ts265H1XkisLgdow' @ 0 : 0; will stop at (end)
2024/11/02-20:31:20.363291 7fd4174006c0 Recovering log #879
2024/11/02-20:31:20.373516 7fd4174006c0 Delete type=3 #877
2024/11/02-20:31:20.373613 7fd4174006c0 Delete type=0 #879
2024/11/02-20:46:37.831166 7fd415a006c0 Level-0 table #884: started
2024/11/02-20:46:37.831219 7fd415a006c0 Level-0 table #884: 0 bytes OK
2024/11/02-20:46:37.837655 7fd415a006c0 Delete type=0 #882
2024/11/02-20:46:37.874151 7fd415a006c0 Manual compaction at level-0 from '!journal!cZtNgayIw2QFhC9u' @ 72057594037927935 : 1 .. '!journal.pages!cZtNgayIw2QFhC9u.ts265H1XkisLgdow' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

View File

@ -1 +1 @@
MANIFEST-000856
MANIFEST-000885

View File

@ -1,7 +1,7 @@
2024/10/18-18:13:47.028103 7f84f8c006c0 Recovering log #854
2024/10/18-18:13:47.039373 7f84f8c006c0 Delete type=3 #852
2024/10/18-18:13:47.039514 7f84f8c006c0 Delete type=0 #854
2024/10/18-18:21:20.226682 7f84f64006c0 Level-0 table #859: started
2024/10/18-18:21:20.226742 7f84f64006c0 Level-0 table #859: 0 bytes OK
2024/10/18-18:21:20.233411 7f84f64006c0 Delete type=0 #857
2024/10/18-18:21:20.255407 7f84f64006c0 Manual compaction at level-0 from '!journal!50u8VAjdmovyr0hx' @ 72057594037927935 : 1 .. '!journal.pages!yzw9I0r3hCK7PJnz.sPNCYj2nR3Cp3jHd' @ 0 : 0; will stop at (end)
2024/11/10-21:59:37.174613 7f26d96006c0 Recovering log #883
2024/11/10-21:59:37.185991 7f26d96006c0 Delete type=3 #881
2024/11/10-21:59:37.186075 7f26d96006c0 Delete type=0 #883
2024/11/10-22:07:57.796832 7f26d3e006c0 Level-0 table #888: started
2024/11/10-22:07:57.796866 7f26d3e006c0 Level-0 table #888: 0 bytes OK
2024/11/10-22:07:57.803409 7f26d3e006c0 Delete type=0 #886
2024/11/10-22:07:57.811212 7f26d3e006c0 Manual compaction at level-0 from '!journal!50u8VAjdmovyr0hx' @ 72057594037927935 : 1 .. '!journal.pages!yzw9I0r3hCK7PJnz.sPNCYj2nR3Cp3jHd' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2024/10/13-10:15:10.817002 7f4ae38006c0 Recovering log #850
2024/10/13-10:15:10.828770 7f4ae38006c0 Delete type=3 #848
2024/10/13-10:15:10.828963 7f4ae38006c0 Delete type=0 #850
2024/10/13-10:17:29.378580 7f4ae28006c0 Level-0 table #855: started
2024/10/13-10:17:29.378612 7f4ae28006c0 Level-0 table #855: 0 bytes OK
2024/10/13-10:17:29.384956 7f4ae28006c0 Delete type=0 #853
2024/10/13-10:17:29.385130 7f4ae28006c0 Manual compaction at level-0 from '!journal!50u8VAjdmovyr0hx' @ 72057594037927935 : 1 .. '!journal.pages!yzw9I0r3hCK7PJnz.sPNCYj2nR3Cp3jHd' @ 0 : 0; will stop at (end)
2024/11/02-20:31:20.302645 7fd4174006c0 Recovering log #879
2024/11/02-20:31:20.313335 7fd4174006c0 Delete type=3 #877
2024/11/02-20:31:20.313399 7fd4174006c0 Delete type=0 #879
2024/11/02-20:46:37.802619 7fd415a006c0 Level-0 table #884: started
2024/11/02-20:46:37.802645 7fd415a006c0 Level-0 table #884: 0 bytes OK
2024/11/02-20:46:37.809669 7fd415a006c0 Delete type=0 #882
2024/11/02-20:46:37.831037 7fd415a006c0 Manual compaction at level-0 from '!journal!50u8VAjdmovyr0hx' @ 72057594037927935 : 1 .. '!journal.pages!yzw9I0r3hCK7PJnz.sPNCYj2nR3Cp3jHd' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

View File

View File

@ -1 +1 @@
MANIFEST-000856
MANIFEST-000885

View File

@ -1,7 +1,7 @@
2024/10/18-18:13:47.009196 7f84f82006c0 Recovering log #854
2024/10/18-18:13:47.019931 7f84f82006c0 Delete type=3 #852
2024/10/18-18:13:47.020097 7f84f82006c0 Delete type=0 #854
2024/10/18-18:21:20.240695 7f84f64006c0 Level-0 table #859: started
2024/10/18-18:21:20.240733 7f84f64006c0 Level-0 table #859: 0 bytes OK
2024/10/18-18:21:20.247510 7f84f64006c0 Delete type=0 #857
2024/10/18-18:21:20.255477 7f84f64006c0 Manual compaction at level-0 from '!tables!4l60Lxv8cpsyy2Cg' @ 72057594037927935 : 1 .. '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 0 : 0; will stop at (end)
2024/11/10-21:59:37.159352 7f26daa006c0 Recovering log #883
2024/11/10-21:59:37.169462 7f26daa006c0 Delete type=3 #881
2024/11/10-21:59:37.169528 7f26daa006c0 Delete type=0 #883
2024/11/10-22:07:57.788973 7f26d3e006c0 Level-0 table #888: started
2024/11/10-22:07:57.789013 7f26d3e006c0 Level-0 table #888: 0 bytes OK
2024/11/10-22:07:57.796657 7f26d3e006c0 Delete type=0 #886
2024/11/10-22:07:57.811195 7f26d3e006c0 Manual compaction at level-0 from '!tables!4l60Lxv8cpsyy2Cg' @ 72057594037927935 : 1 .. '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2024/10/13-10:15:10.801247 7f4ae42006c0 Recovering log #850
2024/10/13-10:15:10.812259 7f4ae42006c0 Delete type=3 #848
2024/10/13-10:15:10.812486 7f4ae42006c0 Delete type=0 #850
2024/10/13-10:17:29.369815 7f4ae28006c0 Level-0 table #855: started
2024/10/13-10:17:29.369929 7f4ae28006c0 Level-0 table #855: 0 bytes OK
2024/10/13-10:17:29.377441 7f4ae28006c0 Delete type=0 #853
2024/10/13-10:17:29.377632 7f4ae28006c0 Manual compaction at level-0 from '!tables!4l60Lxv8cpsyy2Cg' @ 72057594037927935 : 1 .. '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 0 : 0; will stop at (end)
2024/11/02-20:31:20.287630 7fd417e006c0 Recovering log #879
2024/11/02-20:31:20.298114 7fd417e006c0 Delete type=3 #877
2024/11/02-20:31:20.298277 7fd417e006c0 Delete type=0 #879
2024/11/02-20:46:37.823249 7fd415a006c0 Level-0 table #884: started
2024/11/02-20:46:37.823283 7fd415a006c0 Level-0 table #884: 0 bytes OK
2024/11/02-20:46:37.830851 7fd415a006c0 Delete type=0 #882
2024/11/02-20:46:37.831087 7fd415a006c0 Manual compaction at level-0 from '!tables!4l60Lxv8cpsyy2Cg' @ 72057594037927935 : 1 .. '!tables.results!tfaYKDZqu7kgZvRG.yvbwKursaixh2dby' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

View File

View File

@ -1 +1 @@
MANIFEST-000499
MANIFEST-000528

View File

@ -1,8 +1,7 @@
2024/10/18-18:13:47.076254 7f84f82006c0 Recovering log #497
2024/10/18-18:13:47.087782 7f84f82006c0 Delete type=3 #495
2024/10/18-18:13:47.087917 7f84f82006c0 Delete type=0 #497
2024/10/18-18:21:20.283730 7f84f64006c0 Level-0 table #502: started
2024/10/18-18:21:20.283779 7f84f64006c0 Level-0 table #502: 0 bytes OK
2024/10/18-18:21:20.291168 7f84f64006c0 Delete type=0 #500
2024/10/18-18:21:20.377603 7f84f64006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end)
2024/10/18-18:21:20.395543 7f84f64006c0 Manual compaction at level-1 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end)
2024/11/10-21:59:37.220425 7f26daa006c0 Recovering log #526
2024/11/10-21:59:37.230906 7f26daa006c0 Delete type=3 #524
2024/11/10-21:59:37.230956 7f26daa006c0 Delete type=0 #526
2024/11/10-22:07:57.825683 7f26d3e006c0 Level-0 table #531: started
2024/11/10-22:07:57.825727 7f26d3e006c0 Level-0 table #531: 0 bytes OK
2024/11/10-22:07:57.832981 7f26d3e006c0 Delete type=0 #529
2024/11/10-22:07:57.840262 7f26d3e006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,7 @@
2024/10/13-10:15:10.864885 7f4ae42006c0 Recovering log #493
2024/10/13-10:15:10.876950 7f4ae42006c0 Delete type=3 #491
2024/10/13-10:15:10.877043 7f4ae42006c0 Delete type=0 #493
2024/10/13-10:17:29.401759 7f4ae28006c0 Level-0 table #498: started
2024/10/13-10:17:29.401816 7f4ae28006c0 Level-0 table #498: 0 bytes OK
2024/10/13-10:17:29.407953 7f4ae28006c0 Delete type=0 #496
2024/10/13-10:17:29.408135 7f4ae28006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end)
2024/10/13-10:17:29.408173 7f4ae28006c0 Manual compaction at level-1 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end)
2024/11/02-20:31:20.349636 7fd417e006c0 Recovering log #522
2024/11/02-20:31:20.359716 7fd417e006c0 Delete type=3 #520
2024/11/02-20:31:20.359790 7fd417e006c0 Delete type=0 #522
2024/11/02-20:46:37.837724 7fd415a006c0 Level-0 table #527: started
2024/11/02-20:46:37.837743 7fd415a006c0 Level-0 table #527: 0 bytes OK
2024/11/02-20:46:37.844202 7fd415a006c0 Delete type=0 #525
2024/11/02-20:46:37.874166 7fd415a006c0 Manual compaction at level-0 from '!journal!056ILNNrLiPq3Gi3' @ 72057594037927935 : 1 .. '!journal.pages!yfZxl4I7XAuUF6r3.apXmOlZRmGT4GreB' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@ -1,4 +1,4 @@
let spells = await game.wfrp4e.utility.findAll("spell", "Loading Spells")
let spells = await warhammer.utility.findAllItems("spell", "Loading Spells")
let text = (await game.wfrp4e.tables.rollTable("random-caster", {hideDSN: true})).result

View File

@ -7,7 +7,7 @@ let god = await ValueDialog.create("Enter a Deity", "Blessed")
if (god)
{
let prayers = await game.wfrp4e.utility.findAll("prayer", "Loading Prayers")
let prayers = await warhammer.utility.findAllItems("prayer", "Loading Prayers")
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)
{

View File

@ -1,4 +1,4 @@
let mutations = await game.wfrp4e.utility.findAll("mutation", "Loading Mutations")
let mutations = await warhammer.utility.findAllItems("mutation", "Loading Mutations")
let roll = Math.floor(CONFIG.Dice.randomUniform() * mutations.length);
this.actor.createEmbeddedDocuments("Item", [mutations[roll]]);
this.script.scriptNotification(`Added ${mutations[roll].name}`)

View File

@ -1,4 +1,4 @@
let spells = await game.wfrp4e.utility.findAll("spell", "Loading Spells")
let spells = await warhammer.utility.findAllItems("spell", "Loading Spells")
let lore = (await game.wfrp4e.tables.rollTable("random-caster", {hideDSN: true})).text
this.script.scriptNotification(lore)

View File

@ -1,4 +1,4 @@
let spells = await game.wfrp4e.utility.findAll("spell", "Loading Spells", true);
let spells = await warhammer.utility.findAllItems("spell", "Loading Spells", true);
let choice = await ItemDialog.create(spells, 1);

View File

@ -1,4 +1,4 @@
let careers = await game.wfrp4e.utility.findAll("career", "", true);
let careers = await warhammer.utility.findAllItems("career", "", true);
careers.forEach(c => {
if (!c.id)
{

View File

@ -1,4 +1,4 @@
let spells = await game.wfrp4e.utility.findAll("spell", "Loading Spells");
let spells = await warhammer.utility.findAllItems("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 choice = await ItemDialog.create(spells, 1, "Choose Spell");

View File

@ -1,4 +1,4 @@
let spells = await game.wfrp4e.utility.findAll("spell", "Loading Spells");
let spells = await warhammer.utility.findAllItems("spell", "Loading Spells");
spells = spells.filter(s => ["slaanesh"].includes(s.system.lore.value))
let choice = await ItemDialog.create(spells, 1, "Choose Spell");

View File

@ -1,7 +0,0 @@
[Dolphin]
SortOrder=1
SortRole=modificationtime
Timestamp=2024,10,8,20,1,53.617
Version=4
ViewMode=1
VisibleRoles=Details_text,Details_size,Details_modificationtime,Details_creationtime,CustomizedDetails

View File

@ -1,4 +1,4 @@
let spells = await game.wfrp4e.utility.findAll("spell", "Chargement des sorts")
let spells = await warhammer.utility.findAllItems("spell", "Chargement des sorts")
let text = (await game.wfrp4e.tables.rollTable("random-caster", {hideDSN: true})).result

View File

@ -1,4 +1,4 @@
let mutations = await game.wfrp4e.utility.findAll("mutation", "Chargement des mutations")
let mutations = await warhammer.utility.findAllItems("mutation", "Chargement des mutations")
let roll = Math.floor(CONFIG.Dice.randomUniform() * mutations.length);
this.actor.createEmbeddedDocuments("Item", [mutations[roll]]);
this.script.scriptNotification(`Ajout ${mutations[roll].name}`)

View File

@ -1,4 +1,4 @@
let spells = await game.wfrp4e.utility.findAll("spell", "Chargement des sorts")
let spells = await warhammer.utility.findAllItems("spell", "Chargement des sorts")
let lore = (await game.wfrp4e.tables.rollTable("random-caster", {hideDSN: true})).text
this.script.scriptNotification(lore)

View File

@ -1,4 +1,4 @@
let spells = await game.wfrp4e.utility.findAll("spell", "Chargement des sorts", true);
let spells = await warhammer.utility.findAllItems("spell", "Chargement des sorts", true);
let choice = await ItemDialog.create(spells, 1);

View File

@ -1,4 +1,4 @@
let careers = await game.wfrp4e.utility.findAll("career", "", true);
let careers = await warhammer.utility.findAllItems("career", "", true);
careers.forEach(c => {
if (!c.id)
{

View File

@ -1,4 +1,4 @@
let spells = await game.wfrp4e.utility.findAll("spell", "Chargement des sorts");
let spells = await warhammer.utility.findAllItems("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, "Choisir un sort");

View File

@ -1,4 +1,4 @@
let spells = await game.wfrp4e.utility.findAll("spell", "Chargement des sorts");
let spells = await warhammer.utility.findAllItems("spell", "Chargement des sorts");
spells = spells.filter(s => ["slaanesh"].includes(s.system.lore.value))
let choice = await ItemDialog.create(spells, 1, "Choisir un sort");