Skip to content

Conversation

@theBGuy
Copy link
Contributor

@theBGuy theBGuy commented Jan 31, 2026

This pull request updates the logic for determining item quality in the buildV1ItemInfo function to better handle items with the color orange and to correctly classify certain special items. The most important changes are:

Quality Mapping Adjustments:

  • Changed the mapping for sdk.colors.Orange from sdk.items.quality.Normal to sdk.items.quality.Crafted in the codeToQuality object.

Special Case Handling:

  • Added logic to reclassify items as Normal quality if their description includes "Rune", "Essence", or "Token", even if their color would otherwise indicate Crafted quality.

- Change Orange color mapping from Normal to Crafted and add an exception: when an item resolves to Crafted but its description includes "Rune", "Essence", or "Token", treat it as Normal.
@theBGuy theBGuy self-assigned this Jan 31, 2026
@theBGuy theBGuy added the patch label Jan 31, 2026
@netlify
Copy link

netlify bot commented Jan 31, 2026

Deploy Preview for limedrop ready!

Name Link
🔨 Latest commit fa48dce
🔍 Latest deploy log https://app.netlify.com/projects/limedrop/deploys/697d544b2a18370008d7546a
😎 Deploy Preview https://deploy-preview-7--limedrop.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 78
Accessibility: 90
Best Practices: 92
SEO: 91
PWA: 60
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants