Skip to content

Reduce code duplication in rig code - #5413

Draft
out-of-phaze wants to merge 3 commits into
NebulaSS13:devfrom
out-of-phaze:codequality/rig-dupe
Draft

Reduce code duplication in rig code#5413
out-of-phaze wants to merge 3 commits into
NebulaSS13:devfrom
out-of-phaze:codequality/rig-dupe

Conversation

@out-of-phaze

@out-of-phaze out-of-phaze commented Aug 13, 2026

Copy link
Copy Markdown
Member

Description of changes

moves a bunch of repeated checks into a reusable helper
also the visor verbs are now gated behind having a visor. and the switch mode verb is gated behind having modes to switch to.

  • tested

Why and what will this PR improve

better code quality + removes the visor verbs when they don't apply.

Authorship

Me

Changelog

🆑
tweak: The Toggle Visor and Switch Vision Mode verbs now only show up on rigs with applicable visors installed.
/:cl:

@out-of-phaze out-of-phaze added the work in progress This PR is under development and shouldn't be merged. label Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

work in progress This PR is under development and shouldn't be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants