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

Ability to show "locked" slots on equipmon #63

Open
loicteixeira opened this issue Oct 24, 2024 · 0 comments
Open

Ability to show "locked" slots on equipmon #63

loicteixeira opened this issue Oct 24, 2024 · 0 comments
Labels
c: addon Category: Addon c: plugin Category: Plugin t: enhancement Type: Enhancement t: feature Type: Feature

Comments

@loicteixeira
Copy link

loicteixeira commented Oct 24, 2024

The equipmon plugins shows your currently equipped gear, and can show encumbered status (if enabled in the settings).

In a similar fashion, it would be great if it could show slots you locked via luashitacast, see mockup (and lock icon):

mockup
icon

Unlike the encumbered status though, this would not be automatic, and the user would have to pass the information to equipmon on which slot to display locked or unlocked. As a result, what is displayed and the true state of things could be out of sync, but I think it might be acceptable.

To achieve that, I imagine it would need to expose new commands, for example:

  • /equipmon mark_locked slot_name [slot_name...]
  • /equipmon mark_unlocked slot_name [slot_name...]

Users would call this command manually, or automatically in their luashitacast profiles in combination with their custom lock command (like locktp or lockweapons).

Locked slots could be saved/checked via a bitmask function, so the display implementation would be very similar to the encumbrance one.
I'm not sure if it would display in addition to the encumbrance status, or hide when the slot is encumbered. Probably the latter?

I'd be happy to give it a go and submit a PR if the idea was accepted, and the details of the expected commands were agreed on.

@loicteixeira loicteixeira added c: addon Category: Addon c: plugin Category: Plugin t: enhancement Type: Enhancement t: feature Type: Feature labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: addon Category: Addon c: plugin Category: Plugin t: enhancement Type: Enhancement t: feature Type: Feature
Projects
None yet
Development

No branches or pull requests

1 participant