Working code/config

This commit is contained in:
sladecraven 2021-03-15 09:22:27 +01:00
parent 48b169565e
commit 5a6b40a674
10 changed files with 33 additions and 447 deletions

View File

@ -1,12 +1,6 @@
{
"label": "SWADE Bestiaire",
"entries": [
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": "",
"items": []
},
{
"id": "Alligator/Crocodile",
"name": "Alligator/Crocodile",

View File

@ -1,51 +1,9 @@
{
"label": "SWADE Atouts",
"mapping": {
"description": "data.description"
},
"entries": [
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "Ace",
"name": "Ace",

View File

@ -1,226 +1,14 @@
{
"label": "SWADE Équipement",
"mapping": {
"description": "data.description"
},
"entries": [
{
"id": "\"Bug\" (Micro Transmitter)",
"name": "\"Bug\" (Micro Transmitter)",
"description": "<div class=\"swade-core\">\n<p>12 hours of continuous use.</p>\n</div>"
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "120mm Tank Gun (AP Rounds)",
"name": "120mm Tank Gun (AP Rounds)",

View File

@ -1,11 +1,9 @@
{
"label": "SWADE Handicaps",
"mapping": {
"description": "data.description"
},
"entries": [
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "All Thumbs",
"name": "All Thumbs",

View File

@ -1,11 +1,9 @@
{
"label": "SWADE Pouvoirs",
"mapping": {
"description": "data.description"
},
"entries": [
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "Arcane Protection",
"name": "Arcane Protection",

View File

@ -1,121 +1,6 @@
{
"label": "SWADE Règles",
"entries": [
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "Action Cards (Initiative)",
"name": "Action Cards (Initiative)",

View File

@ -1,11 +1,9 @@
{
"label": "SWADE Compétences",
"mapping": {
"description_full": "data.description"
},
"entries": [
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": ""
},
{
"id": "Academics",
"name":"Éducation",

View File

@ -1,56 +1,6 @@
{
"label": "SWADE Véhicules",
"entries": [
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"items": []
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"items": []
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"items": []
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"items": []
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"items": []
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"items": []
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"items": []
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"items": []
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"items": []
},
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"items": []
},
{
"id": "AH-64 Apache",
"name": "AH-64 Apache",

View File

@ -27,6 +27,9 @@
"scripts": [],
"styles": ["swade-fr.css"],
"packs": [],
"esmodules": [
"modules/swade-fr-init.js"
],
"languages": [
{

View File

@ -0,0 +1,14 @@
/************************************************************************************/
Hooks.once('init', () => {
if(typeof Babele !== 'undefined') {
console.log("BABELE LOADED !!!");
Babele.get().register({
module: 'swade-fr',
lang: 'fr',
dir: 'compendiums'
});
}
});