Skip to content

stockpiles: add overlay for hauling stop conditions - #5950

Open
Alistair-Afton wants to merge 1 commit into
DFHack:developfrom
Alistair-Afton:stockpile-hauling-overlay
Open

Alistair-Afton wants to merge 1 commit into
DFHack:developfrom
Alistair-Afton:stockpile-hauling-overlay

Conversation

@Alistair-Afton

Copy link
Copy Markdown
Contributor

Summary

  • Adds a stockpiles.hauling overlay widget that attaches to the minecart hauling stop conditions panel (dwarfmode/HaulingStopConditions)
  • Offers the same import/export hotkeys (Ctrl+I / Ctrl+E) as the stockpile overlay, backed by the existing stockpiles_route_import/stockpiles_route_export backend via route_id/stop_id options
  • Refactors do_import/do_export to take a lazily-evaluated target so stockpile and route-stop callers share the dialog code

Test plan

  • Widget registers and is enabled (overlay list/overlay position stockpiles.hauling)
  • Renders on the hauling stop conditions panel (verified in-game screenshot)
  • Ctrl+I opens the import ListBox while the panel is open
  • export_settings/import_settings round-trip verified against a real route stop (route 8, stop 1) producing a .dfstock file
  • CI

Closes #5774

The stockpiles overlay now also attaches to the minecart hauling stop
conditions panel, offering the same import/export hotkeys backed by the
existing route_id/stop_id import/export paths.

Closes DFHack#5774
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.

Idea: stockpiles.overlay compatibility with minecart hauling routes

1 participant