Sync with v10
This commit is contained in:
parent
7e8c7e5be7
commit
820cc10de2
@ -492,6 +492,7 @@ function registerUsageCount( registerKey ) {
|
||||
name: "Unique world key",
|
||||
scope: "world",
|
||||
config: false,
|
||||
default: "",
|
||||
type: String
|
||||
});
|
||||
|
||||
@ -501,7 +502,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)
|
||||
/* -------------------------------------------- */
|
||||
}
|
||||
|
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.",
|
||||
"description": "Traduction Française pour Warhammer v4.",
|
||||
"authors": [ {"name":"LeRatierBretonnien" }],
|
||||
"url": "https://www.uberwald.me/gitea/public/foundryvtt-wh4-lang-fr-fr",
|
||||
"flags": {},
|
||||
"version": "5.4.1",
|
||||
"minimumCoreVersion": "0.8.0",
|
||||
"compatibleCoreVersion": "9",
|
||||
"version": "6.1.0",
|
||||
"compatibility": {
|
||||
"minimum": "10",
|
||||
"verified": "9.283"
|
||||
},
|
||||
"scripts": [],
|
||||
"esmodules": [
|
||||
"babele-register.js",
|
||||
@ -123,22 +125,22 @@
|
||||
"private": false
|
||||
}
|
||||
],
|
||||
"system": [
|
||||
"wfrp4e"
|
||||
],
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "wfrp4e",
|
||||
"type": "system"
|
||||
},
|
||||
{
|
||||
"name": "babele",
|
||||
"relationships": {
|
||||
"systems": [{
|
||||
"id": "wfrp4e",
|
||||
"type": "system",
|
||||
"compatibility": {
|
||||
"verified": "6.1.1"
|
||||
}
|
||||
}],
|
||||
"requires": [{
|
||||
"id": "babele",
|
||||
"type": "module"
|
||||
}
|
||||
],
|
||||
}]
|
||||
},
|
||||
"socket": false,
|
||||
"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,
|
||||
"coreTranslation": false,
|
||||
"library": false
|
||||
|
@ -44,7 +44,8 @@ Talents: Briber, Criminal, Dealmaker,
|
||||
Etiquette (Criminals, Doktor, Guilder)
|
||||
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";
|
||||
@ -321,7 +322,7 @@ export default async function statParserFR(statString, type = "npc") {
|
||||
}
|
||||
catch { }
|
||||
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"
|
||||
}
|
||||
if (itemFound)
|
||||
|
Loading…
Reference in New Issue
Block a user