mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2025-02-16 09:41:40 +00:00
Tools glow when empowered
This commit is contained in:
parent
ce425f4c4b
commit
5dcba9fe3a
1 changed files with 8 additions and 0 deletions
|
@ -728,6 +728,14 @@ export const main = createLayer("main", function (this: BaseLayer) {
|
||||||
}
|
}
|
||||||
: null,
|
: null,
|
||||||
outlineColor: "var(--bought)",
|
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
|
draggable: true
|
||||||
},
|
},
|
||||||
dowsing: {
|
dowsing: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue