Migrate to v10

This commit is contained in:
sladecraven 2022-10-09 21:54:52 +02:00
parent ac439ded13
commit 7781b1bfbb
13 changed files with 380 additions and 71 deletions

View File

@ -1,9 +1,9 @@
{
"label": "Deadlands - Atouts",
"mapping": {
"description_full": "data.description",
"description_full": "system.description",
"requirements": {
"path": "data.requirements.value",
"path": "system.requirements.value",
"converter": "edge_requirements"
}
},

View File

@ -1,7 +1,7 @@
{
"label": "Deadlands - Handicaps",
"mapping": {
"description_full": "data.description"
"description_full": "system.description"
},
"entries": [
{

View File

@ -1,18 +1,18 @@
{
"label": "Deadlands - Pouvoirs",
"mapping": {
"description_full": "data.description",
"trapping": "data.trapping",
"description_full": "system.description",
"trapping": "system.trapping",
"duration": {
"path": "data.duration",
"path": "system.duration",
"converter": "powers_duration"
},
"range": {
"path": "data.range",
"path": "system.range",
"converter": "powers_range"
},
"rank": {
"path": "data.rank",
"path": "system.rank",
"converter": "powers_rank"
}
},

View File

@ -1,9 +1,9 @@
{
"label": "SWADE Atouts",
"mapping": {
"description_full": "data.description",
"description_full": "system.description",
"requirements": {
"path": "data.requirements.value",
"path": "system.requirements.value",
"converter": "edge_requirements"
}
},

View File

@ -1,17 +1,17 @@
{
"label": "SWADE Équipement",
"mapping": {
"description": "data.description",
"description": "system.description",
"skill": {
"path": "data.actions.skill",
"path": "system.actions.skill",
"converter": "gear_skill"
},
"range": {
"path": "data.range",
"path": "system.range",
"converter": "gear_range"
},
"ammo": {
"path": "data.ammo",
"path": "system.ammo",
"converter": "gear_ammo"
}
},

View File

@ -1,7 +1,7 @@
{
"label": "SWADE Handicaps",
"mapping": {
"description_full": "data.description"
"description_full": "system.description"
},
"entries": [
{

View File

@ -1,18 +1,18 @@
{
"label": "SWADE Pouvoirs",
"mapping": {
"description_full": "data.description",
"trapping": "data.trapping",
"description_full": "system.description",
"trapping": "system.trapping",
"duration": {
"path": "data.duration",
"path": "system.duration",
"converter": "powers_duration"
},
"range": {
"path": "data.range",
"path": "system.range",
"converter": "powers_range"
},
"rank": {
"path": "data.rank",
"path": "system.rank",
"converter": "powers_rank"
}
},

View File

@ -1,7 +1,7 @@
{
"label": "SWADE Espèces",
"mapping": {
"description_full": "data.description"
"description_full": "system.description"
},
"entries": [
{

View File

@ -1,7 +1,7 @@
{
"label": "SWADE Compétences",
"mapping": {
"description_full": "data.description"
"description_full": "system.description"
},
"entries": [
{

View File

@ -1,7 +1,7 @@
{
"label": "SWADE Special Abilities",
"mapping": {
"description_full": "data.description"
"description_full": "system.description"
},
"entries": [
{

View File

@ -0,0 +1,297 @@
{
"label": "SWADE Tables",
"mapping": {
"results": "results"
},
"entries": [
{
"id": "Battle Effects",
"name": "Battle Effects",
"description": "<div class=\"swade-core\">See <b>@Compendium[swade-core-rules.swade-rules.Mass Battles]{Mass Battles}</b> for when to use this table.</div>"
},
{
"id": "Creative Combat",
"name": "Creative Combat",
"description": "<div class=\"swade-core\">Creative Combat enhances a pulp-style game with additional benefits for those who Test with a raise. See <b>@Compendium[swade-core-rules.swade-rules.Creative Combat]{Creative Combat}</b> on when to use these rules.</div>"
},
{
"id": "Dynamic Backlash",
"name": "Dynamic Backlash",
"description": "<div class=\"swade-core\">Normally, a Critical Failure on an arcane skill results in Fatigue. If the GM feels it should have a higher price, use this table instead. See <b>@Compendium[swade-core-rules.swade-rules.Dynamic Backlash]{Dynamic Backlash}</b></div>"
},
{
"id": "Fear Table",
"name": "Table de Terreur",
"description": "<div class=\"swade-core\">\nChanger la formule de la table pour appliquer le modificateur, par exemple \"d20+2\". Ou pour faciliter les jets, utiliser la @Compendium[swade-core-rules.swade-macros.Fear Table]{Macro de Terreur} pour saisir un moificateur. Si vous utilisez la macro, ne tenez pas compte de ce message. Plus d'information sur la table de Terreur Compendium[swade-core-rules.swade-rules.Fear]{ici}</div>",
"results": [
{
"_id": "YMbOpGMNMSWQKGeI",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Poussée dadrénaline: </b>le personnage réagit agressivement. Il agit comme sil avait un joker pour cette action.</div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
1,
3
],
"drawn": false,
"collection": null,
"resultId": null,
"rangeL": 1,
"rangeH": 3
},
{
"_id": "gU5WrSHvlyMBvPhb",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Distrait: </b>le personnage est @Compendium[swade-core-rules.swade-rules.Distracted and Vulnerable]{Distrait} jusquà la fin de son prochain tour. </div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
4,
6
],
"drawn": false,
"collection": null,
"resultId": null,
"rangeL": 4,
"rangeH": 6
},
{
"_id": "FYPVfaBXpn1EcVIp",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Vulnérable: </b>le personnage est @Compendium[swade-core-rules.swade-rules.Distracted and Vulnerable]{Vulnérable} jusquà la fin de son prochain tour. </div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
7,
9
],
"drawn": false,
"collection": null,
"resultId": null,
"rangeL": 7,
"rangeH": 9
},
{
"_id": "m0xCxQx5JbhEAqHU",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Secoué: </b>Le personnage est @Compendium[swade-core-rules.swade-rules.Damage Effects]{Secoué}.</div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
10,
12
],
"drawn": false,
"collection": null,
"resultId": null,
"rangeL": 10,
"rangeH": 12
},
{
"_id": "hUeYZXg4qGJxWbP2",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>La marque de la peur : </b>: le personnage est The hero is @Compendium[swade-core-rules.swade-rules.Stunned]{Sonné} et souffre dune altération physique purement cosmétique — une mèche de cheveux blancs, les yeux clignant constamment ou autre manifestation physique mineure. </div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
13,
13
],
"drawn": false,
"collection": null,
"resultId": null,
"rangeL": 13,
"rangeH": 13
},
{
"_id": "FjvSf97xvpgx45GQ",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Frightened: </b> le personnage subit le Handicap @Compendium[swade-core-rules.swade-hindrances.Hesitant]{Hésitant} pour le reste de la rencontre. Il devient Paniqué sil est déjà Hésitant.</div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
14,
15
],
"drawn": false,
"collection": null,
"resultId": null,
"rangeL": 14,
"rangeH": 15
},
{
"_id": "lIkLrw4XHoD3G3rJ",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Paniqué: </b>le personnage senfuit immédiatement du danger de son Allure complète et du dé de course. Il est Secoué..</div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
16,
17
],
"drawn": false,
"collection": null,
"resultId": null,
"rangeL": 16,
"rangeH": 17
},
{
"_id": "KVbHLom3qI2Vcxeu",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Phobie Mineure: </b> le personnage gagne un Handicap Phobie mineure lié au trauma.</div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
18,
19
],
"drawn": false,
"collection": null,
"resultId": null,
"rangeL": 18,
"rangeH": 19
},
{
"_id": "DNTKezLly0bjwzmk",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Phobie Majeure: </b> le personnage gagne un Handicap Phobie majeure lié au trauma.</div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
20,
21
],
"drawn": false,
"collection": null,
"resultId": null,
"rangeL": 20,
"rangeH": 21
},
{
"_id": "n4fdRgziSWDJdFrn",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Crise cardiaque: </b>le personnage est submergé par la terreur. Son cœur palpite. Il doit faire immédiatement un jet de Vigueur à -2. En cas de Succès, il est Sonné. En cas d'Échec, il est Incapacité et décède en 2d6 rounds. En ce cas, un jet de Soins à -4 peut lui sauver la vie, il demeure alors Incapacité et est traité normalement par la suite.</div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
22,
9999
],
"drawn": false,
"collection": null,
"resultId": null,
"rangeL": 22,
"rangeH": 9999
}
]
},
{
"id": "Injury Table",
"name": "Table des Sequelles",
"description": "<div class=\"swade-core\">Si <b>@Compendium[swade-core-rules.swade-rules.Damage Effects]{Incapacité}</b> et que le je de Vigueur est un échec, lancez sur cette tabele.</div>",
"results": [
{
"_id": "iXgW3OkyxXMDbdaM",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Entrejambe:</b> si la blessure est permanente, inutile de penser à la perpétuation de lespèce sans une chirurgie miraculeuse ou une puissante magie.</div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
2,
2
],
"drawn": false,
"rangeL": 2,
"rangeH": 2
},
{
"_id": "kRX0m97hCMUbTsUn",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Bras:</b> le bras touché est inutilisable (tirez au sort le bras touché si lattaque nétait pas ciblée).</div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
3,
4
],
"drawn": false,
"rangeL": 3,
"rangeH": 4
},
{
"_id": "MeHrpROUTcrwTCur",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><p><b>Tripes: </b>votre héros sest pris un coup dans le tronc. Tirez 1d6 : [[1d6]]: </p> <p>12\t<b>Fracture:</b> @Compendium[swade-core-rules.swade-rules.Traits]{Agilité} réduite d'1 dé (mini d4).</p> <p>34\t<b>Contusion:</b> @Compendium[swade-core-rules.swade-rules.Traits]{Vigueur} réduite d'1 dé (minimum d4).</p> <p>56\t<b>Déchiture:</b> @Compendium[swade-core-rules.swade-rules.Traits]{Force} réduite d'1 dé (minimum d4).</p></div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
5,
9
],
"drawn": false,
"rangeL": 5,
"rangeH": 9
},
{
"_id": "Z0RJ9sRyUMzBQtxb",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><b>Jambes:</b> Gagnez @Compendium[swade-core-rules.swade-hindrances.Slow]{Lent} @Compendium[swade-core-rules.swade-rules.Hindrances]{Handicap} (Mineur), ou Majeur si déja Lent./div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
10,
11
],
"drawn": false,
"rangeL": 10,
"rangeH": 11
},
{
"_id": "9qO70vrlPWNw81cy",
"flags": {},
"type": 0,
"text": "<div class=\"swade-core\"><p><b>Tête:</b> une grave blessure à la tête. Lancez [[1d6]]: </p> <p>13 \t<b>Balafre:</b> le héros reçoit le Handicap Moche (Majeur) @Compendium[swade-core-rules.swade-rules.Hindrances]{Handicap}.</p> <p>45\t<b>Borgne:</b> le héros reçoit le Handicap Borgne (ou Aveugle sil était déjà Borgne).</p> <p>6 <b>Cerveau touché:</b> lIntellect est réduit dun cran (minimum d4).</p></div>",
"img": "icons/svg/d20-black.svg",
"weight": 1,
"range": [
12,
12
],
"drawn": false,
"rangeL": 12,
"rangeH": 12
}
]
},
{
"id": "Out of Control",
"name": "Out of Control",
"description": "<div class=\"swade-core\">Damage caused by an Out of Control roll doesnt trigger another Out of Control roll, but a Wound triggers a Critical Hit as usual. See @Compendium[swade-core-rules.swade-rules.Chases and Vehicles]{Maneuvering Skills} to learn more</div>"
},
{
"id": "Reaction Table",
"name": "Reaction Table",
"description": "<div class=\"swade-core\">The GM can use the table below to roll or choose a character or group's initial attitude. See @Compendium[swade-core-rules.swade-skills.Persuasion]{Persuasion} on how to use this table. </div>"
},
{
"id": "Vehicle Critical Hits",
"name": "Vehicle Critical Hits",
"description": "<div class=\"swade-core\">See @Compendium[swade-core-rules.swade-rules.Chases and Vehicles]{Chases and Vehicles}</div>"
}
]
}

View File

@ -1,55 +1,59 @@
{
"name": "swade-fr-content",
"title": "SWADE Content en Français - *NON-OFFICIEL*",
"description": "Traduction française du système SWADE <p>*** Join the official Discord server: <a href=\"https://discord.gg/foundryvtt\"> Official Discord</a></p><p>*** Rejoignez la communauté Francophone: <a href=\"https://discord.gg/pPSDNJk\">Francophone Discord</a></p>",
"author": "Team Swade, La Fonderie",
"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": "Lazarius",
"discord": "Lazarius#0965"
"discord": "Lazarius#0965",
"flags": {}
},
{
"name": "LeRatierBretonnien",
"discord": "LeRatierBretonnien#2065"
"discord": "LeRatierBretonnien#2065",
"flags": {}
},
{
"name": "Sasmira",
"discord": "Sasmira#4566"
"discord": "Sasmira#4566",
"flags": {}
},
{
"name": "Sharilaa",
"discord": "sharilaa#8389"
"discord": "sharilaa#8389",
"flags": {}
},
{
"name": "U~man",
"discord": "U~man#2374"
"discord": "U~man#2374",
"flags": {}
},
{
"name":"Space Calamar",
"discord": "space Calamar#7444"
"name": "Space Calamar",
"discord": "space Calamar#7444",
"flags": {}
},
{
"name": "X.O. de Vorcen"
"name": "X.O. de Vorcen",
"flags": {}
}
],
"url": "https://gitlab.com/sasmira/swade-fr",
"flags": {},
"version": "0.23.2.0",
"minimumCoreVersion": "0.7.9",
"compatibleCoreVersion": "9",
"scripts": [],
"version": "2.0.0",
"esmodules": [
"modules/swade-fr-init.js"
],
@ -60,35 +64,43 @@
{
"lang": "fr",
"name": "French (FRANCE)",
"path": "fr.json"
"path": "fr.json",
"flags": {}
}
],
"packs": [],
"system": [],
"dependencies": [
{
"name": "babele",
"type": "module",
"manifest": "https://gitlab.com/riccisi/foundryvtt-babele/raw/master/module/module.json"
},
{
"name": "swade",
"type": "system"
},
{
"name": "swade-fr",
"type": "module"
},
{
"name": "dice-so-nice",
"type": "module",
"manifest": "https://gitlab.com/riccisi/foundryvtt-dice-so-nice/-/raw/master/module/module.json"
}
],
"socket": false,
"manifest": "https://gitlab.com/sasmira/swade-fr-content/-/raw/master/module/module.json",
"download": "https://gitlab.com/sasmira/swade-fr-content/-/jobs/artifacts/v0.23.2.0/raw/swade-fr-content.zip?job=build",
"protected": false,
"coreTranslation": false,
"library": false
"id": "swade-fr-content",
"relationships": {
"requires": [
{
"id": "babele",
"type": "module",
"manifest": "https://gitlab.com/riccisi/foundryvtt-babele/raw/master/module/module.json",
"compatibility": {}
},
{
"id": "swade-fr",
"type": "module",
"compatibility": {}
},
{
"id": "dice-so-nice",
"type": "module",
"manifest": "https://gitlab.com/riccisi/foundryvtt-dice-so-nice/-/raw/master/module/module.json",
"compatibility": {}
}
],
"systems": [
{
"id": "swade",
"type": "system",
"compatibility": {}
}
]
},
"compatibility": {
"minimum": "9",
"verified": "10.287"
}
}

View File

@ -208,7 +208,7 @@ function registerUsageCount( registerKey ) {
game.settings.set(registerKey, "world-key", worldKey )
}
// Simple API counter
let regURL = `https://www.uberwald.me/fvtt_appcount/count.php?name="${registerKey}"&worldKey="${worldKey}"&version="${game.release.generation}.${game.release.build}"&system="${game.system.id}"&systemversion="${game.system.data.version}"`
let regURL = `https://www.uberwald.me/fvtt_appcount/count.php?name="${registerKey}"&worldKey="${worldKey}"&version="${game.release.generation}.${game.release.build}"&system="${game.system.id}"&systemversion="${game.system.version}"`
$.ajax(regURL)
/* -------------------------------------------- */
}