Skip to content

Add overlay to queue lever pull jobs from linked building view#5725

Open
pajawojciech wants to merge 7 commits intoDFHack:developfrom
pajawojciech:levers
Open

Add overlay to queue lever pull jobs from linked building view#5725
pajawojciech wants to merge 7 commits intoDFHack:developfrom
pajawojciech:levers

Conversation

@pajawojciech
Copy link
Contributor

@pajawojciech pajawojciech commented Feb 26, 2026

How it works

  • New overlay display button next to lever in 'Show linked buildings' tab.
  • Button show lever status indicator: slash or backslash, representing current position of lever.
  • Button adds / removes pull lever jobs
  • Works fine even with more than one linked levers.
obraz

Click button

After click text changes to "Pulling" with yellow color, and job is queued. Now you can click again if you change your mind - it removes queued job.
obraz

obraz

Job assigned

When job is assigned text changes color to green:
obraz
obraz

Pulled

After pull text, color and indicator changes
obraz

When Unlink is enabled button moves to the left

obraz

What I tried

Instead of pull text i tried to set Open / opening / close / closing labels. For standard bridges it works fine, but for example retracting bridges or cages should have reversed operation naming, so I use 'Pull' text and lever position indicator

Issue

#3938

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.

1 participant