Skip to content

Add George Pet sell price tooltip#2239

Open
WilliamTTran wants to merge 1 commit intoSkyblockerMod:masterfrom
WilliamTTran:george-sell-price
Open

Add George Pet sell price tooltip#2239
WilliamTTran wants to merge 1 commit intoSkyblockerMod:masterfrom
WilliamTTran:george-sell-price

Conversation

@WilliamTTran
Copy link
Contributor

@WilliamTTran WilliamTTran commented Mar 16, 2026

#2228

Adds a tooltip line showing the George NPC sell price for pet items because I've seen people selling a legendary megalodon on AH for 2.4 million

Changes:

  • Added tool tip line at priority 2 to match player's expected location of NPC sell price
  • Added GeorgePriceTooltip adder that strips the LVL_1_ prefix from pet API IDs to match the George price key format
  • Added enableGeorgePrice config toggle under Item Tooltip settings (default on)

Testing:

  • Hovered various pets across all rarities and verified correct prices displayed
  • Verified non-pet items show no George price line
  • Verified tooltip respects the config toggle
image image image

code/documentation assisted by claude

@LifeIsAParadox LifeIsAParadox added the reviews needed This PR needs reviews label Mar 16, 2026
@AzureAaron AzureAaron added the new feature This issue or PR is a new feature label Mar 16, 2026
@AzureAaron AzureAaron linked an issue Mar 16, 2026 that may be closed by this pull request
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file can be reverted

*
* <p>The method early-returns without adding a line if:
* <ul>
* <li>the item is not a pet (Skyblock API ID does not start with {@code LVL_1_})</li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the text in parenthesis since it is no longer accurate

* {@link TooltipInfoType#GEORGE}. Keys in that dataset follow the format
* {@code RARITY_PETNAME} (e.g. {@code EPIC_SQUID}, {@code LEGENDARY_WOLF}).
*
* <p>Pet item stacks expose their Skyblock API ID via {@code getSkyblockApiId()} in the format
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This paragraph can also be removed for the same reason

Copy link
Contributor

@Alex33856 Alex33856 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(clicked wrong button earlier 💀)

@LifeIsAParadox LifeIsAParadox added changes requested This PR need changes and removed reviews needed This PR needs reviews labels Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changes requested This PR need changes new feature This issue or PR is a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NPC Sell Price for pets to George

4 participants