Convert items from Sea of Claws and translate skills for vehicle roles #104

Merged
uberwald merged 7 commits from :soc into v10 2024-10-11 20:09:51 +02:00
Showing only changes of commit 3f0dcc1ea2 - Show all commits

View File

@ -270,6 +270,11 @@ Hooks.once('init', () => {
} }
return skills_list return skills_list
}, },
"role_skills": (skills) => {
let skills_list = skills.split(',');
let skillsFR = game.babele.converters.career_skills(skills_list);
return skillsFR.join(', ')
},
"process_effects": (effectsData, translations, data, tc, tc_translations) => { "process_effects": (effectsData, translations, data, tc, tc_translations) => {
//console.log("Effects :", effectsData, translations, data, tc, tc_translations) //console.log("Effects :", effectsData, translations, data, tc, tc_translations)
for (let e of effectsData) { for (let e of effectsData) {