Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeless Jewel implementation #4527

Merged
merged 39 commits into from Jul 11, 2022
Merged

Timeless Jewel implementation #4527

merged 39 commits into from Jul 11, 2022

Conversation

LocalIdentity
Copy link
Contributor

Adds support for Timeless Jewels via a look up table
Also adds support for searching for timeless jewels based on desired stats

Nostrademous and others added 30 commits July 4, 2022 14:34
#12)

* Remove all remaining editedNode logic
* Initial pass on timeless jewel search UI
* Update TreeTab.lua
* Implement timeless jewel search function
@LocalIdentity LocalIdentity added the enhancement New feature, calculation, or mod label Jul 6, 2022
Wires77 and others added 4 commits July 9, 2022 15:03
…#4536)

* Inflate/Deflate LUTs

* Fixed integer Glorious Vanity notables

* move stuff to helper function and add support for "g" format mods

* Fixed loading of compressed GV timeless jewel

* Add generated .zip files

* defer table creation of specific nodes until that node is read

* cleanup

* Code cleanup

* Implement logic to load from binary file by default, and to decompress and create it from .zip if it doesn't exist

Co-authored-by: Regisle <Regisle.godform@gmail.com>
* Inflate/Deflate LUTs

* Further timeless jewel search improvements

.. including a passive tree view for socket locations and visual feedback when timeless jewels are added to the build.

* Hide socketViewer if hovering over jewelType dropdown

* Update TreeTab.lua

* Add conqueror selection dropdown menu

* Update TreeTab.lua

* Add node weights to timeless jewel search

* Fixed integer Glorious Vanity notables

* Add "required" node weight option, improve formatting

* Add small mod searching (Glorious Vanity)

* move stuff to helper function and add support for "g" format mods

* Swap weight slider and search dropdown positions

* Fixed loading of compressed GV timeless jewel

* Add generated .zip files

* Fix Glorious Vanity small node processing

* Update TreeTab.lua

* Improve search result output formatting

* Automatically determine nearby socket keystones

* Exit loop earlier to avoid wasting time

* Update TreeTab.lua

* Update TreeTab.lua

* defer table creation of specific nodes until that node is read

* cleanup

* Add detailed node breakdown to tooltips

* Code cleanup

* Update node breakdown to display actual stats

* Make most timeless search UI settings persistent

* Fix bug where node tooltip results were culled

* Erase desired node input on jewel type change

* Remove unused Might/Legacy of the Vaal code

* Make "required" nodes actually required

* Update TreeTab.lua

* optimise search function and show total weight in first column

* Code clean up

* Remove unused variables

* Update TreeTab.lua

* Fix Glorious Vanity node filtering

* Standardize search result number formatting

.. and hide search result tooltips when hovering over node selection dropdown.

* Add secondary node weight slider for GV

* Update TreeTab.lua

* Default to 0 for missing nodeWeights instead of 0.1

* Revert last commit + enable second nodeSlider for non-GV jewels

* Update TimelessJewelListControl.lua

* Fix broken node weights with a fairly big rewrite

* Swap nodeWeight/nodeWeight2 back...

* Fix timeless jewel node filtering typo

* Implement logic to load from binary file by default, and to decompress and create it from .zip if it doesn't exist

Co-authored-by: Wires77 <Wires77@users.noreply.github.com>
Co-authored-by: Regisle <Regisle.godform@gmail.com>
* Fix broken might/legacy of the vaal + misc cleanup

* Update to new noTooltip draw behavior

* Update edit box when slider values change

.. and prevent duplicate nodes from being added to edit box.

* Remove search result total weight column

* Fix dynamic slider update bug

* Sanitize user input and fix a few errors

* Wipe all search input on reset

* Fix another missed variable sync

* Rebuild searchListTbl from timelessData.searchList

* Save timeless jewel search config to build XML

* Update TreeTab.lua

* Fixed swapped weight values, minor refactors

* Fix search list result updating

* Fix statMod2 nil error on small nodes

* Properly handle replace and add types, finally

* Minor consistency edit

* Remove dynamic slider width code

* Set modFlag to prompt build saving on several ..

.. different events, including:
- timelessData.searchList change (node weight sliders)
- updateSearchList called
- conqueror change
- jewel socket change
- desired node change (direct and via dropdown list)

* Remove lingering duplicate variable from old implementation

* Save socketFilter state to build XML

* Change tooltip colour for tree node names

Co-authored-by: Wires77 <Wires77@users.noreply.github.com>
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
@LocalIdentity LocalIdentity merged commit dc8bff7 into dev Jul 11, 2022
@LocalIdentity LocalIdentity deleted the add_Timeless-Jewel-Support branch July 11, 2022 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, calculation, or mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants