Skip to content

Hide Junk#5612

Open
Pepe20129 wants to merge 3 commits intoHarbourMasters:developfrom
Pepe20129:hide_junk
Open

Hide Junk#5612
Pepe20129 wants to merge 3 commits intoHarbourMasters:developfrom
Pepe20129:hide_junk

Conversation

@Pepe20129
Copy link
Contributor

@Pepe20129 Pepe20129 commented Jun 25, 2025

Add an option to hide known junk in the check tracker

Build Artifacts

return;
}

if (!showHidden && hideJunk && (status == RCSHOW_SEEN || status == RCSHOW_IDENTIFIED || status == RCSHOW_SCUMMED) &&
Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest leaving seen out of these evaluations, since what you see isn't always what you would get. Identified, at least, should be what a person actually will get, so that would be safe to hide.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Are ice traps considered junk? If not, this is fine imo as there's no way for a junk item to turn into a non-junk item or vice versa. If so, I should fix that.

Copy link
Contributor

Choose a reason for hiding this comment

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

All ice traps originally show as major items, since they can only pretend to be major items. The only time this can be circumvented is when their names give them away, which is why identified existed as a state in the first place (primarily for shops/merchants).

Copy link
Contributor

Choose a reason for hiding this comment

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

However, I don't know if you can automatically hide ice traps even once identified and still be within the "tracker gives no information the player wouldn't know" paradigm...

Copy link
Contributor

Choose a reason for hiding this comment

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

I think the fix here is to not auto hide ice traps, otherwise autoskip on shop junk would be nice

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, now that I think about it, ice traps really are the only thing that need to be exempted (I had to work around ice traps elsewhere in code, I think specifically in the shop interactions with the tracker). Pretty sure they count as junk in code. Otherwise, seen should be enough for junk.

@Malkierian
Copy link
Contributor

After added thought, perhaps this should be an autoskip option instead? Or does hiding them change the area check totals?

@Pepe20129
Copy link
Contributor Author

I'm not sure, the code is pretty complex and, due to that, I just took the first path that worked.

@Malkierian
Copy link
Contributor

Oh, you know what, does hiding Seen or Identified affect the counts? If not, then this doesn't have to.

@Malkierian
Copy link
Contributor

Would you resolve the merge conflicts so I can get a fresh build?

@Pepe20129
Copy link
Contributor Author

Fixed the merge conflicts.

@Pepper0ni
Copy link
Contributor

Just tested this and it seems to be non-functional

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.

4 participants