Tools glow when empowered

This commit is contained in:
thepaperpilot 2023-04-23 23:47:00 -05:00
parent ce425f4c4b
commit 5dcba9fe3a

View file

@ -728,6 +728,14 @@ export const main = createLayer("main", function (this: BaseLayer) {
}
: null,
outlineColor: "var(--bought)",
classes: node => ({
"affected-node":
empowerer.value != null &&
isPowered(empowerer.value) &&
(empowerer.value.state as unknown as EmpowererState).tools.includes(
node.state as Passives
)
}),
draggable: true
},
dowsing: {