Skip to content

fix/stuck-written-materials: new tool to free written materials stuck in jobs - #1614

Open
Alistair-Afton wants to merge 1 commit into
DFHack:masterfrom
Alistair-Afton:stuck-written-materials
Open

Alistair-Afton wants to merge 1 commit into
DFHack:masterfrom
Alistair-Afton:stuck-written-materials

Conversation

@Alistair-Afton

@Alistair-Afton Alistair-Afton commented Sep 15, 2026

Copy link
Copy Markdown

Summary

New fix/stuck-written-materials tool that releases codices, quires, and scrolls stuck in writing jobs (DFHack/dfhack#3572).

Registered as a repeating bugfix in gui/control-panel (runs daily). Docs, changelog entry, and in-engine tests included.

Testing

  • test/fix/stuck-written-materials.lua passes in-game
  • Live fortress verification of stuck-material release
  • ci/lint.py clean

… in jobs

Codices, quires, and scrolls can be left with the in_job flag set
after visitors join the fort or squads return from missions, making
them unusable. Check each written item against the live job list,
taking container chains into account, and clear the flag and stale
job and activity references when no job actually claims the item.

Scheduled daily by the control panel alongside the other bug fixes.

fixes DFHack/dfhack#3572
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