Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: