From 543269ffa372a4ca23fa364fa97b372a7ae99c36 Mon Sep 17 00:00:00 2001 From: Andrew Beard Date: Mon, 3 Jun 2024 16:10:45 -0400 Subject: [PATCH 1/2] Define both gridDistance and grid.distance to maintain backwards compatibility with v11 and remove warnings from v12 --- system/system.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/system/system.json b/system/system.json index 4164a88d..1a5865ae 100644 --- a/system/system.json +++ b/system/system.json @@ -298,10 +298,14 @@ ] } ], + "grid": { + "distance": 5, + "units": "ft" + }, + "gridDistance": 5, + "gridUnits": "ft", "socket": true, - "gridDistance": 5, "initiative": "@initiativeFormula + @initiativeBonus", "primaryTokenAttribute": "attributes.hp", - "gridUnits": "ft", "background": "systems/shadowdark/assets/artwork/GM_Screen_Final_Drawing_Elongated.webp" } From 127fd7a3266010b50cd65281f29b5051542fb736 Mon Sep 17 00:00:00 2001 From: Andrew Beard Date: Mon, 3 Jun 2024 16:14:37 -0400 Subject: [PATCH 2/2] Use tabs for indentation instead of spaces --- system/system.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/system/system.json b/system/system.json index 1a5865ae..eae390f4 100644 --- a/system/system.json +++ b/system/system.json @@ -298,12 +298,12 @@ ] } ], - "grid": { - "distance": 5, - "units": "ft" - }, - "gridDistance": 5, - "gridUnits": "ft", + "grid": { + "distance": 5, + "units": "ft" + }, + "gridDistance": 5, + "gridUnits": "ft", "socket": true, "initiative": "@initiativeFormula + @initiativeBonus", "primaryTokenAttribute": "attributes.hp",