forked from public/foundryvtt-wh4-lang-fr-fr
Compare commits
4 Commits
f0248692cc
...
additions
| Author | SHA1 | Date | |
|---|---|---|---|
| e7722dd222 | |||
| 513e41b8f2 | |||
| 46b47a5b24 | |||
| e1e52ca2be |
@@ -69,10 +69,16 @@
|
||||
"converter": "generic_localization"
|
||||
},
|
||||
"durationValue": "system.duration.value",
|
||||
"durationUnit": "system.duration.unit",
|
||||
"durationUnit": {
|
||||
"path": "system.duration.unit",
|
||||
"converter": "disease_duration_unit"
|
||||
},
|
||||
"contraction": "system.contraction.value",
|
||||
"incubationValue": "system.incubation.value",
|
||||
"incubationUnit": "system.incubation.unit",
|
||||
"incubationUnit": {
|
||||
"path": "system.incubation.unit",
|
||||
"converter": "disease_duration_unit"
|
||||
},
|
||||
"symptoms": "system.symptoms.value",
|
||||
"permanent": "system.permanent.value",
|
||||
"special": "system.special.value",
|
||||
|
||||
103
compendium/wfrp4e-owb2.items.json
Normal file
103
compendium/wfrp4e-owb2.items.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
95
compendium/wfrp4e-zoo.items.json
Normal file
95
compendium/wfrp4e-zoo.items.json
Normal 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -662,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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user