diff --git a/languages/en.json b/languages/en.json index a015d49..7c22b97 100644 --- a/languages/en.json +++ b/languages/en.json @@ -30,6 +30,10 @@ "to": "To", "edge": "Edge", "center": "Center" + }, + "walls": { + "name": "Restricted by Walls", + "hint": "If enabled, the aura will be blocked by walls (Line of Sight). GM Only." } } } diff --git a/scripts/module.js b/scripts/module.js index 1ff07a1..92d3657 100644 --- a/scripts/module.js +++ b/scripts/module.js @@ -255,6 +255,8 @@ function renderAura(aura, index) { const colorLabel = localize("settings.color.name"); const fromLabel = localize("settings.measurement.from"); const toLabel = localize("settings.measurement.to"); + const wallsLabel = localize("settings.walls.name"); + const isGM = game.user.isGM; return `
@@ -296,6 +298,13 @@ function renderAura(aura, index) { +
+ +
+ +
+

${localize("settings.walls.hint")}

+