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", "label": "SWADE Bestiaire",
"entries": [ "entries": [
{
"id": "#[CF_tempEntity]",
"name": "#[CF_tempEntity]",
"description": "",
"items": []
},
{ {
"id": "Alligator/Crocodile", "id": "Alligator/Crocodile",
"name": "Alligator/Crocodile", "name": "Alligator/Crocodile",

View File

@ -1,51 +1,9 @@
{ {
"label": "SWADE Atouts", "label": "SWADE Atouts",
"mapping": {
"description": "data.description"
},
"entries": [ "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", "id": "Ace",
"name": "Ace", "name": "Ace",

View File

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

View File

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

View File

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

View File

@ -1,121 +1,6 @@
{ {
"label": "SWADE Règles", "label": "SWADE Règles",
"entries": [ "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)", "id": "Action Cards (Initiative)",
"name": "Action Cards (Initiative)", "name": "Action Cards (Initiative)",

View File

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

View File

@ -1,56 +1,6 @@
{ {
"label": "SWADE Véhicules", "label": "SWADE Véhicules",
"entries": [ "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", "id": "AH-64 Apache",
"name": "AH-64 Apache", "name": "AH-64 Apache",

View File

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

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'
});
}
});