Add converter for crew roles

This commit is contained in:
Pallando 2024-10-06 17:23:16 +02:00
parent 1f1d871e53
commit 3f0dcc1ea2

View File

@ -270,6 +270,11 @@ Hooks.once('init', () => {
}
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) => {
//console.log("Effects :", effectsData, translations, data, tc, tc_translations)
for (let e of effectsData) {