[#41] [#50] Fix manifest issues. Fix TYPES deprecation warning. Bump v11 compatibility.

This commit is contained in:
Kim Mantas 2023-05-16 12:44:09 +01:00
parent 7bea16df17
commit 73addd7866
No known key found for this signature in database
GPG key ID: 3A4E57DAE36AC3C4
3 changed files with 7 additions and 6 deletions

2
.gitignore vendored
View file

@ -5,3 +5,5 @@
# Node Modules
node_modules/
package-lock.json
worldbuilding.lock

View file

@ -523,7 +523,7 @@ export class EntitySheetHelper {
// Identify the template Actor types
const collection = game.collections.get(this.documentName);
const templates = collection.filter(a => a.getFlag("worldbuilding", "isTemplate"));
const defaultType = this.metadata.types[0];
const defaultType = this.TYPES[0];
const types = {
[defaultType]: game.i18n.localize("SIMPLE.NoTemplate")
}

View file

@ -1,8 +1,8 @@
{
"id": "worldbuilding",
"version": "0.7.2",
"version": "0.8.0",
"title": "Simple World-Building",
"url": "https://gitlab.com/foundrynet/worldbuilding/",
"url": "https://github.com/foundryvtt/worldbuilding/",
"description": "A minimalist game system which provides configurable Actor and Item templates to support free-form system agnostic game-play.",
"license": "LICENSE.txt",
"authors": [
@ -23,13 +23,12 @@
],
"compatibility": {
"minimum": "10",
"verified": "10.288",
"maximum": "10"
"verified": "11"
},
"gridDistance": 5,
"gridUnits": "ft",
"primaryTokenAttribute": "health",
"secondaryTokenAttribute": "power",
"manifest": "https://raw.githubusercontent.com/foundryvtt/worldbuilding/master/system.json",
"download": "https://github.com/foundryvtt/worldbuilding/archive/refs/tags/release-072.zip"
"download": "https://github.com/foundryvtt/worldbuilding/archive/refs/tags/release-080.zip"
}