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

Auto Layout Improvements #101

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

MosheBenZacharia
Copy link

@MosheBenZacharia MosheBenZacharia commented Oct 12, 2024

Adds new functionality:

  1. Previously when additional items (new items or variations / fuzzy matches) were being added, they would fill in the first empty space in a layout. Most noticeably when using Inventory Setups with Presets layout this would cause items like potions to pollute the equipment area. There is now a new config option to add variations after the last item.

Before:

before

After:

after
  1. In addition, there is currently no way to delete/override an existing layout without changing the name of the setup or deleting it from the config. This PR revamps the 'auto layout button' to include new options:
  • Set zigzag
  • Set zigzag (fresh)
  • Set presets
  • Set presets (fresh)
  • Reset

The 'fresh' options will perform a more invasive auto-layout that will discard the existing layout. The 'reset' option will clear any layout data.

  1. Lastly, canonicalizes items in inventory, to prevent noted item placeholders from appearing in the bank.

Closes #75

@MosheBenZacharia MosheBenZacharia marked this pull request as ready for review October 14, 2024 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Delete layout for inventory setups
1 participant