Add converter for crew roles
This commit is contained in:
parent
1f1d871e53
commit
3f0dcc1ea2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user