Skytils / SkytilsMod

Skytils is a Hypixel Skyblock mod! Be careful, malicious copies are distributed across GitHub. Confirm on discord.gg/skytils (807302538558308352)
https://hypixel.net/threads/3856202/
GNU Affero General Public License v3.0
1.07k stars 421 forks source link

Feature/container sell value #185

Closed FluxCapacitor2 closed 2 years ago

FluxCapacitor2 commented 2 years ago

I added an overlay that renders when a chest, ender chest page, backpack, or minion is open and shows the container's 20 most valuable items along with the combined value of all items in the container. It can be moved and scaled just like a regular GuiElement, but it is rendered after the container background is drawn to prevent the text from being dimmed (similar to the ChestProfit element). When the overlay is rendered over a minion GUI, minion upgrades and fuels aren't included in the value.

Here's an example of this overlay being used while inside a minion GUI: image

Example of the truncation: image

Sychic commented 2 years ago

Enchants would definitely make more sense as the enchant rather than just Enchanted Book

FluxCapacitor2 commented 2 years ago

Fixed, enchants now look like this: image Enchanted books with only one enchant use the first line of their lore to determine which string to display, and if a book has multiple enchants, it is still labeled as "Enchanted Book"