Skip to content

Feature: location scouting#205

Open
Et0san wants to merge 2 commits intoManualForArchipelago:mainfrom
Et0san:feature/location-scouting
Open

Feature: location scouting#205
Et0san wants to merge 2 commits intoManualForArchipelago:mainfrom
Et0san:feature/location-scouting

Conversation

@Et0san
Copy link

@Et0san Et0san commented Feb 18, 2026

Adds a scout button to locations set as scoutable: true in locations.json, that sends a hinted LocationScout.
I'm a newbie to Kivy, so I kept the edits as light as I could, but this could take a revamp of the location display structure to show better, with a fancy icon instead of the "Scout" text, both buttons in a proper BoxLayout so that we don't need placeholders in a 2 cols GridLayout and so that non-scoutable locations take the same space as scoutable (400px vs 350+50px, or 370+30 if we manage the fancy icon).

@nicopop
Copy link
Contributor

nicopop commented Feb 19, 2026

ill probably still take a look at the code and make a review but I requested both other devs since they know a lot more than me about kivy

Copy link
Contributor

@silasary silasary left a comment

Choose a reason for hiding this comment

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

Gave this a quick spin, haven't done a full code review yet.

But two immediate things I noticed that should be changed:

  • You need to bump the client version number in __init__.py. This is something I really need to document better 😅

  • I don't like that the Scout button is still visible and unchanged once you've scouted a location.
    I can a few possible solutions:

    • Replace "Scout" with "Scouted"
    • Remove button entirely
    • Replace button with Label saying "contains Player1's Item"

My preference is the third one - applied to all hints (not just scouts) - but it is the most work of the three.

@Et0san
Copy link
Author

Et0san commented Feb 23, 2026

Gave this a quick spin, haven't done a full code review yet.

But two immediate things I noticed that should be changed:

  • You need to bump the client version number in __init__.py. This is something I really need to document better 😅

  • I don't like that the Scout button is still visible and unchanged once you've scouted a location.
    I can a few possible solutions:

    • Replace "Scout" with "Scouted"
    • Remove button entirely
    • Replace button with Label saying "contains Player1's Item"

My preference is the third one - applied to all hints (not just scouts) - but it is the most work of the three.

That I agree with.
I think I put it in a comment, or maybe I removed it, but for some reason I'm having trouble updating the UI in the callback? I tried two out of those three options. It seems to work perfectly with the check buttons but not with the scouts. Entirely removing the button breaks the layout, replacing with a spacer (or changing with a "Scouted" label) doesn't update the UI (does kivy needs call to an equivalent of repaint()?); and I think putting the hint directly there isn't that good since we have a tab for it, and it seems that it would take too much space there.
That's why I said I was willing to let someone experienced with kivy take my work and fix the button staying there.

@silasary
Copy link
Contributor

This might just because I'm used to having the manual client full screen on my second monitor, but we definitely have room for it.
image

That said, yeah, I can look into making it work if you're not able to wrangle Kivy 😄

@silasary silasary self-assigned this Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants