mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-21 16:13:54 +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,
|
||||
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: {
|
||||
|
|
Loading…
Reference in a new issue