What's Changed
Code cleanup
- Add
DrawAtNextIconPositionfunction toUIElementUtils— replaces duplicated icon positioning pattern across 7 files - Add
DrawHoverTextOnCursorfunction toUIElementUtils— replaces duplicated hover text pattern across 8 files - Add
DefaultIconScaleconstant toUIElementUtils— replaces magic number8/3facross 3 files - Add
DrawTextWithShadowfunction toUIElementUtils— replaces duplicated shadow text drawing inShopHarvestPrices,LocationOfTownsfolk, andShowItemHoverInformation - Add
CreateNPCHeadIconfunction inShowItemHoverInformation— replaces duplicated NPC head icon creation for Gunther and Professor Snail
Full Changelog: v2.5.0...v2.5.1