Sync with v10
This commit is contained in:
parent
7e8c7e5be7
commit
820cc10de2
@ -492,6 +492,7 @@ function registerUsageCount( registerKey ) {
|
|||||||
name: "Unique world key",
|
name: "Unique world key",
|
||||||
scope: "world",
|
scope: "world",
|
||||||
config: false,
|
config: false,
|
||||||
|
default: "",
|
||||||
type: String
|
type: String
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -501,7 +502,7 @@ function registerUsageCount( registerKey ) {
|
|||||||
game.settings.set(registerKey, "world-key", worldKey )
|
game.settings.set(registerKey, "world-key", worldKey )
|
||||||
}
|
}
|
||||||
// Simple API counter
|
// 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)
|
$.ajax(regURL)
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
}
|
}
|
||||||
|
36
module.json
36
module.json
@ -1,13 +1,15 @@
|
|||||||
{
|
{
|
||||||
"name": "WH4-fr-translation",
|
"id": "WH4-fr-translation",
|
||||||
"title": "WFRP4e - Core Module en français.",
|
"title": "WFRP4e - Core Module en français.",
|
||||||
"description": "Traduction Française pour Warhammer v4.",
|
"description": "Traduction Française pour Warhammer v4.",
|
||||||
"authors": [ {"name":"LeRatierBretonnien" }],
|
"authors": [ {"name":"LeRatierBretonnien" }],
|
||||||
"url": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr",
|
"url": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr",
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"version": "5.4.1",
|
"version": "6.1.0",
|
||||||
"minimumCoreVersion": "0.8.0",
|
"compatibility": {
|
||||||
"compatibleCoreVersion": "9",
|
"minimum": "10",
|
||||||
|
"verified": "9.283"
|
||||||
|
},
|
||||||
"scripts": [],
|
"scripts": [],
|
||||||
"esmodules": [
|
"esmodules": [
|
||||||
"babele-register.js",
|
"babele-register.js",
|
||||||
@ -123,22 +125,22 @@
|
|||||||
"private": false
|
"private": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"system": [
|
"relationships": {
|
||||||
"wfrp4e"
|
"systems": [{
|
||||||
],
|
"id": "wfrp4e",
|
||||||
"dependencies": [
|
"type": "system",
|
||||||
{
|
"compatibility": {
|
||||||
"name": "wfrp4e",
|
"verified": "6.1.1"
|
||||||
"type": "system"
|
}
|
||||||
},
|
}],
|
||||||
{
|
"requires": [{
|
||||||
"name": "babele",
|
"id": "babele",
|
||||||
"type": "module"
|
"type": "module"
|
||||||
}
|
}]
|
||||||
],
|
},
|
||||||
"socket": false,
|
"socket": false,
|
||||||
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/raw/v4/module.json",
|
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/raw/v4/module.json",
|
||||||
"download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-5.4.1.zip",
|
"download": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr/archive/foundryvtt-wh4-lang-fr-6.1.0.zip",
|
||||||
"protected": false,
|
"protected": false,
|
||||||
"coreTranslation": false,
|
"coreTranslation": false,
|
||||||
"library": false
|
"library": false
|
||||||
|
@ -44,7 +44,8 @@ Talents: Briber, Criminal, Dealmaker,
|
|||||||
Etiquette (Criminals, Doktor, Guilder)
|
Etiquette (Criminals, Doktor, Guilder)
|
||||||
Trappings: Dagger, Hand Weapon (Sword)
|
Trappings: Dagger, Hand Weapon (Sword)
|
||||||
`
|
`
|
||||||
import ItemWfrp4e from "/systems/wfrp4e/modules/item/item-wfrp4e.js"
|
//import ItemWfrp4e from "/systems/wfrp4e/modules/item/item-wfrp4e.js"
|
||||||
|
//import ItemWfrp4e from "/systems/wfrp4e/wfrp4e.js"
|
||||||
|
|
||||||
/************************************************************************************/
|
/************************************************************************************/
|
||||||
import "./xregexp-all.js";
|
import "./xregexp-all.js";
|
||||||
@ -321,7 +322,7 @@ export default async function statParserFR(statString, type = "npc") {
|
|||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
if (!itemFound && name) {
|
if (!itemFound && name) {
|
||||||
itemFound = new ItemWfrp4e({ img: "systems/wfrp4e/icons/blank.png", name: name, type: "trapping", data: game.system.model.Item.trapping })
|
itemFound = new game.entities.ItemWfrp4e({ img: "systems/wfrp4e/icons/blank.png", name: name, type: "trapping", data: game.system.model.Item.trapping })
|
||||||
itemFound.data.data.trappingType.value = "misc"
|
itemFound.data.data.trappingType.value = "misc"
|
||||||
}
|
}
|
||||||
if (itemFound)
|
if (itemFound)
|
||||||
|
Loading…
Reference in New Issue
Block a user