power system research in tech tree overlap another upgrade #70
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implemented and pushed in
eaeb6bf.Root cause:
SkillTreeView.node_screen_pos()places every node purely from(skill_depth(id), x)-power_systemsandsquadronshared both values, so they rendered on the identical pixel with no visual way to tell them apart. Movedsquadron/armadafromx: 0.50tox: 0.82inGameState.SKILL_TREE.Added a structural regression test to
tests/test_skill_tree.gdthat walks the wholeSKILL_TREEtable and fails if any two nodes ever share(depth, x)again, so this class of bug can't silently come back as the tree grows.Tests:
tests/test_skill_tree.gd(bash tests/run_tests.sh skill_tree).