1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-24 17:31:50 +00:00

Fixed autoUpgrade and tree node layering

This commit is contained in:
Harley White 2021-05-17 21:17:09 -04:00
parent 75ca45ac19
commit 1894cb9666
3 changed files with 2 additions and 7 deletions

View file

@ -1,7 +1,5 @@
# The Modding Tree changelog:
- Bars will visually update more quickly.
# v2.5.7 - 5/15/21
- Added a particle system! Not only can it be used for visual effects, but particles can interact with the mouse. They could be used to create golden cookies or collectables, for example.
- Added marked feature to buyables, clickables, and challenges. By default, stars multi-completion challenges when maxed.

View file

@ -379,8 +379,8 @@ function gameLoop(diff) {
let layer = OTHER_LAYERS[row][item]
if (tmp[layer].autoPrestige && tmp[layer].canReset) doReset(layer);
if (layers[layer].automate) layers[layer].automate();
player[layer].best = player[layer].best.max(player[layer].points)
if (layers[layer].autoUpgrade) autobuyUpgrades(layer)
player[layer].best = player[layer].best.max(player[layer].points)
if (tmp[layer].autoUpgrade) autobuyUpgrades(layer)
}
}

View file

@ -121,20 +121,17 @@ h1, h2, h3, b, input {
.resetNotify {
box-shadow: var(--hqProperty2a), 0 0 8px #ffffff;
z-index: 3
}
.treeNode.can:hover {
transform: scale(1.15, 1.15);
box-shadow: var(--hqProperty2a), 0 0 20px var(--points);
z-index: 4
}
.notify {
transform: scale(1.05, 1.05);
border-color: rgba(0, 0, 0, 0.125);
box-shadow: var(--hqProperty2a), 0 0 20px #ff0000;
z-index: 3
}
.bought {