Skip to content
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

Bazaar Lookup/Misc Options #792

Merged
merged 14 commits into from
Jul 29, 2024

Conversation

VeritasDL
Copy link
Contributor

BZ Lookup "backported" to Master
Added a Debug Options to the Misc config tab
which has the added options to always have debug bounding box's enable and a option to Refresh ToolTip Prices

@LifeIsAParadox LifeIsAParadox added the reviews needed This PR needs reviews label Jun 21, 2024
@LifeIsAParadox LifeIsAParadox added merge conflicts This PR has merge conflicts that need solving. and removed reviews needed This PR needs reviews labels Jun 24, 2024
@kevinthegreat1
Copy link
Collaborator

Uh...

Screenshot 2024-06-24 at 16 17 31

least horrendous merge conflict be like

@VeritasDL
Copy link
Contributor Author

Uh...

Screenshot 2024-06-24 at 16 17 31 least horrendous merge conflict be like

The merge conflicts were even worse when it was a part of bleeding edge lol 😭


public abstract class BazaarHelper extends ContainerSolver {
public BazaarHelper() {
super("Your Bazaar Orders");
Copy link
Contributor

Choose a reason for hiding this comment

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

Fun fact. this changes on Co-ops

Co-op Bazaar Orders

@kevinthegreat1
Copy link
Collaborator

This is ready to be rebased. Please let me know if you need any help.

@VeritasDL
Copy link
Contributor Author

This is ready to be rebased. Please let me know if you need any help.

yes please :(

@LifeIsAParadox LifeIsAParadox added reviews needed This PR needs reviews and removed merge conflicts This PR has merge conflicts that need solving. labels Jul 27, 2024
@VeritasDL
Copy link
Contributor Author

i think i got it idk

Copy link
Collaborator

@kevinthegreat1 kevinthegreat1 left a comment

Choose a reason for hiding this comment

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

Looks pretty good.

Comment on lines 313 to 321
"skyblocker.config.helpers.bazaar.bazaarLookup": "Bazaar Lookup",
"skyblocker.config.helpers.bazaar.bazaarLookup.enableBazaarLookup": "Enable Bazaar Lookup",
"skyblocker.config.helpers.bazaar.bazaarLookup.enableBazaarLookup.@Tooltip": "Searches the Bazaar for the current hovered item with the F3 key.",
"skyblocker.config.helpers.bazaar.bazaarLookup.failedBazaarLookup": "Failed to find item in the Bazaar",
"skyblocker.config.helpers.bazaar.bazaarRefresh.BazaarRefresh": "Bazaar Refresh",
"skyblocker.config.helpers.bazaar.bazaarRefresh.enableBazaarRefresh": "Enable Bazaar Refresh",
"skyblocker.config.helpers.bazaar.bazaarRefresh.enableBazaarRefresh.@Tooltip": "Refresh the Bazaar prices with the Z key.",
"skyblocker.config.helpers.bazaar.bazaarRefresh.yesBazaarRefresh": "Bazaar Refreshed",
"skyblocker.config.helpers.bazaar.bazaarRefresh.noBazaarRefresh": "Bazaar Refresh Failed",
Copy link
Collaborator

Choose a reason for hiding this comment

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

These translation keys should match the config and unused keys should be removed. I have fixed this but please remember next time.

Comment on lines 43 to 59
public static KeyBinding BazaarLookup;
public static KeyBinding BazaarRefresh;
public static String itemName;
public static void init() {
BazaarLookup = KeyBindingHelper.registerKeyBinding(new KeyBinding(
"key.bazaarLookup",
InputUtil.Type.KEYSYM,
GLFW.GLFW_KEY_F3,
"key.categories.skyblocker"
));
BazaarRefresh = KeyBindingHelper.registerKeyBinding(new KeyBinding(
"key.bazaarRefresh",
InputUtil.Type.KEYSYM,
GLFW.GLFW_KEY_Z,
"key.categories.skyblocker"
));
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Fields should go in front of constructors, and constructors should go in front of static methods. I have fixed this too.

@kevinthegreat1 kevinthegreat1 added this to the 1.22 milestone Jul 29, 2024
@kevinthegreat1 kevinthegreat1 added the new feature This issue or PR is a new feature label Jul 29, 2024
Copy link
Collaborator

@kevinthegreat1 kevinthegreat1 left a comment

Choose a reason for hiding this comment

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

Should work fully after #867 is merged.

@LifeIsAParadox LifeIsAParadox added merge me please Pull requests that are ready to merge and removed reviews needed This PR needs reviews labels Jul 29, 2024
@kevinthegreat1 kevinthegreat1 merged commit 9625ea4 into SkyblockerMod:master Jul 29, 2024
1 check passed
@LifeIsAParadox LifeIsAParadox removed the merge me please Pull requests that are ready to merge label Jul 29, 2024
Copy link
Contributor Author

Choose a reason for hiding this comment

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

why comment out =[

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature This issue or PR is a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants