-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create recommended-equipment #6012
Conversation
Added Recommended Equipment plugin
New plugin |
plugin-hub/package/package/src/main/java/net/runelite/pluginhub/packager/Plugin.java Line 400 in d40f8d4
|
oh fun.....lol why EIGHT for tabs :lul: |
that's the default size of tabs in github's ui |
alright, i converted the file to spaces so hopefully that works. but i dont have permissions for @t8or's fork at the moment to update the hash, but he can do it in the morning. t8or/runelite-recommended-equipment@a41ed77 |
Fixed Gradle format error
Added LICENSE
You should absolutely not be mutating event objects, that would negatively impact every other plugin which would be listening for it. |
Hey nfc, I'm the dev on this project. The code in the
The reflection specifically is copy/pasted from the RuneLiteLAF to get the colors from the colorscheme into the style file. As for what
Yep, that's totally my bad. Speaking of shutdown, should we be removing the sprite override as well? (if possible) |
|
Hey Rayini, Can you explain why we should be doing what bank tags does instead of quests helper? Can you point us in the direction to set visual design properties on the objects instead of using a LAF? We couldn't find an easy way to adjust objects that repeat many many times; hence creating the LAF. |
More specifically, rounded buttons. Can easily make a rounded border, but the background would still be a rect. flatlaf has the capability to do full rounded buttons. Maybe some manual I think you can set a client prop on a button to get the rounded button visual, it was just way easier to combine all styles into a stylesheet. I can look into what it would take to do everything in code. I do wonder why swapping in a new LAF is not good though. Isn't that how apps switch themes? |
the laf is global, you are not allowed to set it |
and really, you should not be using rounded buttons because nothing else in the client uses rounded buttons; your plugin integrates into the client, not the other way around. |
Swing doesn't support multiple styles in a single application, you should inherit the styles provided by the LAF so it looks like the rest of the application. |
Appreciate the direction Abex! |
I'm not a developer/maintainer of this particular repo/application, nor do I have any say in the approval of this PR. I'm just a software engineer who follows chatter on repos and PRs I find interesting (like RL and this plugin in particular). Another way to word this is that you want your plugin's panel to feel like it's part of the core RL app (even though we all know it isn't). And if you stray too far from the core with your own LAF it can feel jarring to the end user and feel like it's own app inside of RL (instead of a core app/plugin, like mentioned before). That is all, back to lurking. Good luck with your plugin, I'm looking forward to seeing it on the hub! |
PR feedback
Alrighty, removed the custom LAF and removed that event mutation 👍🏻 |
It's been a little while. Just wanted to check in and see if there is anything else to fix before merging into the plug-in hub. Thank you! |
Core is adding bank tag layouts and will be exposing an API to register your own layouts, recommend looking at that. |
@raiyni do you know when that API will be available? I'm anxious to get this plugin released as I know it will be a great QoL update for all the new equipment and combat changes that just came out. |
It's already on master, so next release. |
Just so I can make sure I understand, this PR won't be merged until the plugin is changed to use the API that will be out soon? |
Does this new API let us create sections and dividers like we have in this plugin? I looked through the commit you linked @YvesW but I'm not seeing anything that would let us do that, the sections especially are important. |
That is not currently supported. |
With the announcement of Bank Tags in the new official client, is that using the same API as the one above? I hope that this plugin can be integrated before the great plugin migration. |
Added Recommended Equipment plugin. This awesome plugin takes your OSRS gameplay to the next level by seamlessly integrating equipment recommendations from the wiki, via the approved wiki scraper, directly into your RuneLite client and then filtering your bank, similar to Quest Helper.
It helps you gear up quickly for bossing and mini-games by using wiki data without ever leaving RuneLite.