diff --git a/changelog.md b/changelog.md index 342626b..5f0b11d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# 2.0.0 + +SWADE v2 (Fvtt v10) + fix sur pilotage + # 0.21.0.0 # 0.21.1.0 diff --git a/module.json b/module.json index 23f8f51..14ae7c5 100644 --- a/module.json +++ b/module.json @@ -1,43 +1,44 @@ { - "name": "swade-fr", "title": "SWADE - Traduction française", - "description": "Ajoute le français (FRANCE) au système SWADE.

Une traduction Babele des compendiums est inclue mais optionnelle. (Encore en test, à utiliser à vos risques et périls !)

*** Join the official Discord server: Official Discord

*** Rejoignez la communauté Francophone: Discord francophone

", - "author": "BoboursToutCool, Gronyon, Kyane, LeRatierBretonnien, Sasmira, U~man,X.O. de Vorcen", + "description": "Ajoute le français (FRANCE) au système SWADE.

*** Join the official Discord server: Official Discord

*** Rejoignez la communauté Francophone: Discord francophone

", "authors": [ { "name": "BoboursToutCool", - "discord": "BoboursToutCool#9787" + "discord": "BoboursToutCool#9787", + "flags": {} }, { "name": "Cyril - Gronyon- Ronseaux", - "discord": "Gronyon#0843" + "discord": "Gronyon#0843", + "flags": {} }, { "name": "Kyane von Schnitzel", - "discord": "Kyane von Schnitzel#8654" + "discord": "Kyane von Schnitzel#8654", + "flags": {} }, { "name": "LeRatierBretonnien", - "discord": "LeRatierBretonnien#2065" + "discord": "LeRatierBretonnien#2065", + "flags": {} }, { "name": "Sasmira", - "discord": "Sasmira#4566" + "discord": "Sasmira#4566", + "flags": {} }, { "name": "U~man", - "discord": "U~man#2374" + "discord": "U~man#2374", + "flags": {} }, { - "name": "X.O. de Vorcen" + "name": "X.O. de Vorcen", + "flags": {} } ], "url": "https://www.uberwald.me/gitea/public//foundryvtt-swade-fr", - "flags": {}, - "version": "1.2.3", - "minimumCoreVersion": "0.7.9", - "compatibleCoreVersion": "9", - "scripts": [], + "version": "2.0.0", "esmodules": [ "modules/swade-fr-init.js" ], @@ -48,26 +49,28 @@ { "lang": "fr", "name": "French (FRANCE)", - "path": "fr.json" + "path": "fr.json", + "flags": {} } ], - "packs": [], - "system": [], - "dependencies": [ - { - "name": "swade", - "type": "system" - }, - { - "name": "dice-so-nice", - "type": "module", - "manifest": "https://gitlab.com/riccisi/foundryvtt-dice-so-nice/-/raw/master/module/module.json" - } - ], - "socket": false, "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-swade-fr/raw/branch/master/module.json", - "download": "https://www.uberwald.me/gitea/public/foundryvtt-swade-fr/archive/foundryvtt-swade-fr-1.2.3.zip", - "protected": false, - "coreTranslation": false, - "library": false + "download": "https://www.uberwald.me/gitea/public/foundryvtt-swade-fr/archive/foundryvtt-swade-fr-2.0.0.zip", + "id": "swade-fr", + "relationships": { + "requires": [ + ], + "systems": [ + { + "id": "swade", + "type": "system", + "compatibility": {} + } + ] + }, + "minimumCoreVersion": "0.8.0", + "compatibleCoreVersion": "9", + "compatibility": { + "minimum": "0.8.0", + "verified": "10.285" + } } \ No newline at end of file diff --git a/modules/swade-fr-init.js b/modules/swade-fr-init.js index f7fd4ec..3e2820c 100644 --- a/modules/swade-fr-init.js +++ b/modules/swade-fr-init.js @@ -12,3 +12,12 @@ Hooks.once('init', () => { } }); + +/************************************************************************************/ +Hooks.once('ready', () => { + CONFIG.SWADE.vehicles.opSkills = { + maxHandlingPenalty: -4, + opSkills: ['', 'Navigation', 'Conduite', 'Pilotage', 'Équitation'], + } + +})