Skip to content

Conversation

@amade-w
Copy link
Contributor

@amade-w amade-w commented Sep 6, 2025

This is a new tool that will allow any selected owned item to be tasked for storage in the owner's room furniture (cabinets, boxes, etc).

It will check to see if there's a container building of the appropriate type with sufficient space in the owner's bedroom, before looking in any owned office, dining hall or tomb, in that order.
If no container is found (or lacks sufficient space), it will attempt to find a tile unoccupied by any building in said rooms in the same order, to place the item on the floor of said tile.
If neither container nor tile can be found in any owned rooms, it will check if there's a dormitory zone available and check for container buildings in it, or an unoccupied floor if no container is available.
If it still can't find a container or tile, the job destination will default to the trade depot's center tile.
Finally, a "Store owned item" job will be created and assigned to the item's owner.
The tool will also remove the item from the unit's uniform.

Players may also opt to task the item to be stored in the dorm or sent straight to the depot.
The tool also includes option to force the owner to relinquish ownership of the item.

Possible use cases:

  • Unburden units that have acquired too many trinkets.
  • Clean up scattered owned items selectively without removing ownership.

@amade-w amade-w marked this pull request as draft September 18, 2025 11:18
@amade-w amade-w marked this pull request as ready for review September 18, 2025 14:27
@ab9rf ab9rf merged commit e4cdfb4 into DFHack:master Sep 26, 2025
10 checks passed
@amade-w amade-w deleted the store-owned branch September 27, 2025 23:36
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.

2 participants