Toggle lights

Flips the Mossfoot Great Hall scene's darkness between 0 (fully lit) and 1 (full dark). It reaches the scene by its pinned patch._id (mossfootHall0001), so it works whether or not the scene is on the canvas. The macro reads game.scenes, so build the vault's grafts file into the world first.

Macro body
const scene = game.scenes.get("mossfootHall0001");
if (!scene) return ui.notifications.error("Mossfoot Great Hall scene not found.");
const newDarkness = scene.environment.darknessLevel >= 0.5 ? 0 : 1;
await scene.update({ "environment.darknessLevel": newDarkness });
ui.notifications.info(`Mossfoot Great Hall ${newDarkness === 0 ? "lit" : "dimmed"}.`);

Darkness only. Overlay tiles that swap with the darkness level are a separate pattern.

Created · Updated