ScalarVector1 / DragonLens

Modern, customizable, and community-driven debugging and cheat mod for TModLoader
24 stars 14 forks source link

[Suggestion] Item Spawner Sorting Buttons + Filter Inclusion Toggle #85

Open Setnour6 opened 1 year ago

Setnour6 commented 1 year ago

Suggestion 1: Sorting Buttons

This proposal allows for extra buttons on the item spawner UI that allow for sorting in ascending or descending order depending on the type of button for the selected type of filter.

Here's what it currently looks like: image

What I want is for sorting buttons to appear, such as a damage sorting button, and allow for ascending or descending order when it is right-clicked.

You could put it here: image

You could also make a new UI area to put it here: image

The sorting buttons:

You could right-click on the sorting buttons to change sorting mode from ascending to descending, or disable the sorting to simply make the weapons show by ID or in alphabetical order again. You could also make the sorting happen alphabetically if you want to.

Suggestion 2: Filter Inclusion Button

This proposal allows for a toggle to be checked to allow filters to include all content together (i.e. pickaxe, axe, and hammer selected at once in order to display all the items with all three tool powers).

Currently, you can only select the filters to exclude everything except for what the items match the filters. For instance, if you select "accessory" and the "melee" damage filter, you will only get the Shield of Cthulhu as it matches both filters. When the filter inclusion toggle is enabled, clicking on "accessory" and "melee" damage filter will show all accessories AND melee weapons.

As a probably-opposite-of-this-suggestion option, you can right-click on the filters to have all items affected to be fully excluded. An example of this would be to click on the ranged damage filter and then right-click on the ammo filter to exclude ammo from being shown (left-clicking would only show ammo and ranged damage, unless ranged damage filter is off)