Add Required Materials - #15145
Open
SchauweM wants to merge 4 commits into
Open
Conversation
|
New plugin |
|
This plugin requires a review from a Plugin Hub maintainer. The reviewer will request any additional changes if needed. Internal use only: Reviewer details Maintainer details |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Required Materials, which tracks the materials and skill levels you still need for Sailing and Construction builds, and can regroup your bank around them.
Repository: https://github.com/SchauweM/runelite-required-materials
have/needagainst your bank and inventory, plus the skill levels the build requires, coloured green once you meet them. Bank contents are remembered between sessions, so the counts are there before you next visit a bank.have / needlabel and a tick or cross. It reuses the bank's own item slots rather than drawing an overlay, so withdrawing behaves normally, and toggling it off restores the bank exactly as it was.Requirements are read from the OSRS Wiki rather than scraped from the game's interfaces. When you click a build, the plugin fetches that item's wiki page through RuneLite's injected OkHttpClient and parses its
{{Recipe}}template for the materials and level requirements. Only the page name is sent, results are cached per page for the session, and no user or account data leaves the client. A handful of Construction activities have no{{Recipe}}on the wiki; for those it falls back to the material list the game already prints to chat, and the levels shown in the skill guide.The plugin only reads game state and displays information. It does not automate anything, does not act on the player's behalf, and does not alter what the client sends to Jagex.