forked from public/swade-fr-content
Update armes + espèces
This commit is contained in:
@ -12,6 +12,33 @@ Hooks.once('init', () => {
|
||||
});
|
||||
|
||||
Babele.get().registerConverters({
|
||||
"gear_skill": (skill) => {
|
||||
if (skill) {
|
||||
if (skill == 'Fighting') return 'Combat';
|
||||
if (skill == 'Shooting') return 'Tir';
|
||||
console.log("UNKOWN SKILL", skill);
|
||||
}
|
||||
return skill;
|
||||
},
|
||||
"gear_range": (range) => {
|
||||
if (range) {
|
||||
if (range== 'Cone Template') return 'Gabarit de cone';
|
||||
}
|
||||
return range;
|
||||
},
|
||||
"gear_ammo": (ammo) => {
|
||||
if (ammo) {
|
||||
if (ammo== 'Arrows/Bolts') return 'Flèches/Carreaux';
|
||||
if (ammo== 'Canister Shot (Cannon)') return 'Cartouches (Canon)';
|
||||
if (ammo== 'Shrapnel Shot (Cannon)') return 'Shrapnel (Canon)';
|
||||
if (ammo== 'Solid Shot (Cannon)') return 'Solide (Canon)';
|
||||
if (ammo== 'Bullets, Medium') return 'Balles, Moyenne';
|
||||
if (ammo== 'Shotgun Shells') return 'Cartouche de Shotgun';
|
||||
if (ammo== 'Laser Battery, Pistol') return 'Batterie pour laser, Pistolet';
|
||||
if (ammo== 'Laser Battery, Rifle / SMG') return 'Batterie pour laser, Fusil';
|
||||
}
|
||||
return ammo;
|
||||
},
|
||||
"powers_duration": (duration) => {
|
||||
if ( duration == 'One hour') return '1 heure';
|
||||
if ( duration == 'Instant (slot); 5 (speed)') return 'Instantanée (apathie), 5 (vitesse)';
|
||||
|
Reference in New Issue
Block a user